diff --git a/README.md b/README.md index 3cd44b0..4135274 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 2.0.0 -- Package version: 1.4.0 +- Package version: 1.5.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://cryptoapis.io](https://cryptoapis.io) @@ -23,7 +23,7 @@ go get golang.org/x/net/context Put the package under your project folder and add the following in import: ```golang -import sw "./cryptoapis" +import cryptoapis "github.com/Crypto-APIs/Crypto_APIs_2.0_SDK_Golang" ``` To use a proxy, set the environment variable `HTTP_PROXY`: @@ -41,7 +41,7 @@ Default configuration comes with `Servers` field that contains server objects as For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. ```golang -ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1) +ctx := context.WithValue(context.Background(), cryptoapis.ContextServerIndex, 1) ``` ### Templated Server URL @@ -49,7 +49,7 @@ ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1) Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. ```golang -ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{ +ctx := context.WithValue(context.Background(), cryptoapis.ContextServerVariables, map[string]string{ "basePath": "v2", }) ``` @@ -63,10 +63,10 @@ An operation is uniquely identified by `"{classname}Service.{nickname}"` string. Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. ``` -ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{ +ctx := context.WithValue(context.Background(), cryptoapis.ContextOperationServerIndices, map[string]int{ "{classname}Service.{nickname}": 2, }) -ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{ +ctx = context.WithValue(context.Background(), cryptoapis.ContextOperationServerVariables, map[string]map[string]string{ "{classname}Service.{nickname}": { "port": "8443", }, @@ -107,15 +107,25 @@ Class | Method | HTTP request | Description *ExchangeRatesApi* | [**GetExchangeRateByAssetSymbols**](docs/ExchangeRatesApi.md#getexchangeratebyassetsymbols) | **Get** /market-data/exchange-rates/by-symbols/{fromAssetSymbol}/{toAssetSymbol} | Get Exchange Rate By Asset Symbols *ExchangeRatesApi* | [**GetExchangeRateByAssetsIDs**](docs/ExchangeRatesApi.md#getexchangeratebyassetsids) | **Get** /market-data/exchange-rates/by-asset-ids/{fromAssetId}/{toAssetId} | Get Exchange Rate By Assets IDs *FeaturesApi* | [**BroadcastLocallySignedTransaction**](docs/FeaturesApi.md#broadcastlocallysignedtransaction) | **Post** /blockchain-tools/{blockchain}/{network}/transactions/broadcast | Broadcast Locally Signed Transaction +*FeaturesApi* | [**DecodeRawTransactionHex**](docs/FeaturesApi.md#decoderawtransactionhex) | **Post** /blockchain-tools/{blockchain}/{network}/decode-raw-transaction | Decode Raw Transaction Hex +*FeaturesApi* | [**DecodeXAddress**](docs/FeaturesApi.md#decodexaddress) | **Get** /blockchain-tools/{blockchain}/{network}/decode-x-address/{xAddress} | Decode X-Address +*FeaturesApi* | [**DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses**](docs/FeaturesApi.md#derivehdwalletxpubypubzpubchangeorreceivingaddresses) | **Get** /blockchain-tools/{blockchain}/{network}/hd/{extendedPublicKey}/addresses/derive-address | Derive HD Wallet (xPub, yPub, zPub) Change Or Receiving Addresses +*FeaturesApi* | [**EncodeXAddress**](docs/FeaturesApi.md#encodexaddress) | **Get** /blockchain-tools/{blockchain}/{network}/encode-x-address/{classicAddress}/{addressTag} | Encode X-Address +*FeaturesApi* | [**EstimateGasLimit**](docs/FeaturesApi.md#estimategaslimit) | **Post** /blockchain-tools/{blockchain}/{network}/gas-limit | Estimate Gas Limit +*FeaturesApi* | [**EstimateTokenGasLimit**](docs/FeaturesApi.md#estimatetokengaslimit) | **Post** /blockchain-tools/{blockchain}/{network}/gas-limit/contract | Estimate Token Gas Limit *FeaturesApi* | [**GetEIP1559FeeRecommendations**](docs/FeaturesApi.md#geteip1559feerecommendations) | **Get** /blockchain-tools/{blockchain}/{network}/fees/eip1559 | Get EIP 1559 Fee Recommendations *FeaturesApi* | [**ValidateAddress**](docs/FeaturesApi.md#validateaddress) | **Post** /blockchain-tools/{blockchain}/{network}/addresses/validate | Validate Address *GeneratingApi* | [**GenerateDepositAddress**](docs/GeneratingApi.md#generatedepositaddress) | **Post** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses | Generate Deposit Address +*HDWalletsApi* | [**GetHDWalletXPubYPubZPubAssets**](docs/HDWalletsApi.md#gethdwalletxpubypubzpubassets) | **Get** /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/assets | Get HD Wallet (xPub, yPub, zPub) Assets *HDWalletsApi* | [**GetHDWalletXPubYPubZPubDetails**](docs/HDWalletsApi.md#gethdwalletxpubypubzpubdetails) | **Get** /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/details | Get HD Wallet (xPub, yPub, zPub) Details *HDWalletsApi* | [**ListHDWalletXPubYPubZPubTransactions**](docs/HDWalletsApi.md#listhdwalletxpubypubzpubtransactions) | **Get** /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/transactions | List HD Wallet (xPub, yPub, zPub) Transactions +*HDWalletsApi* | [**ListHDWalletXPubYPubZPubUTXOs**](docs/HDWalletsApi.md#listhdwalletxpubypubzpubutxos) | **Get** /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/utxos | List HD Wallet (xPub, yPub, zPub) UTXOs *HDWalletsApi* | [**SyncHDWalletXPubYPubZPub**](docs/HDWalletsApi.md#synchdwalletxpubypubzpub) | **Post** /blockchain-data/{blockchain}/{network}/hd/sync | Sync HD Wallet (xPub, yPub, zPub) *InformativeApi* | [**GetTransactionRequestDetails**](docs/InformativeApi.md#gettransactionrequestdetails) | **Get** /wallet-as-a-service/transactionRequests/{transactionRequestId} | Get Transaction Request Details *InformativeApi* | [**GetWalletAssetDetails**](docs/InformativeApi.md#getwalletassetdetails) | **Get** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network} | Get Wallet Asset Details *InformativeApi* | [**GetWalletTransactionDetailsByTransactionID**](docs/InformativeApi.md#getwallettransactiondetailsbytransactionid) | **Get** /wallet-as-a-service/wallets/{blockchain}/{network}/transactions/{transactionId} | Get Wallet Transaction Details By Transaction ID +*InformativeApi* | [**ListAllAssetsByWalletID**](docs/InformativeApi.md#listallassetsbywalletid) | **Get** /wallet-as-a-service/wallets/{walletId}/assets | List All Assets By Wallet ID +*InformativeApi* | [**ListAllAssetsFromAllWallets**](docs/InformativeApi.md#listallassetsfromallwallets) | **Get** /wallet-as-a-service/wallets/all-assets | List All Assets From All Wallets *InformativeApi* | [**ListDepositAddresses**](docs/InformativeApi.md#listdepositaddresses) | **Get** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses | List Deposit Addresses *InformativeApi* | [**ListSupportedTokens**](docs/InformativeApi.md#listsupportedtokens) | **Get** /wallet-as-a-service/info/{blockchain}/{network}/supported-tokens | List Supported Tokens *InformativeApi* | [**ListWalletTransactions**](docs/InformativeApi.md#listwallettransactions) | **Get** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transactions | List Wallet Transactions @@ -124,6 +134,7 @@ Class | Method | HTTP request | Description *InternalApi* | [**ListInternalTransactionsByAddress**](docs/InternalApi.md#listinternaltransactionsbyaddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/internal | List Internal Transactions By Address *ManageSubscriptionsApi* | [**ActivateBlockchainEventSubscription**](docs/ManageSubscriptionsApi.md#activateblockchaineventsubscription) | **Post** /blockchain-events/subscriptions/{referenceId}/activate | Activate Blockchain Event Subscription *ManageSubscriptionsApi* | [**DeleteBlockchainEventSubscription**](docs/ManageSubscriptionsApi.md#deleteblockchaineventsubscription) | **Delete** /blockchain-events/{blockchain}/{network}/subscriptions/{referenceId} | Delete Blockchain Event Subscription +*ManageSubscriptionsApi* | [**GetBlockchainEventSubscriptionDetailsByReferenceID**](docs/ManageSubscriptionsApi.md#getblockchaineventsubscriptiondetailsbyreferenceid) | **Get** /blockchain-events/subscriptions/{referenceId} | Get Blockchain Event Subscription Details By Reference ID *ManageSubscriptionsApi* | [**ListBlockchainEventsSubscriptions**](docs/ManageSubscriptionsApi.md#listblockchaineventssubscriptions) | **Get** /blockchain-events/{blockchain}/{network}/subscriptions | List Blockchain Events Subscriptions *MetadataApi* | [**ListSupportedAssets**](docs/MetadataApi.md#listsupportedassets) | **Get** /market-data/assets/supported | List Supported Assets *OmniLayerApi* | [**GetOmniTransactionDetailsByTransactionIDTxid**](docs/OmniLayerApi.md#getomnitransactiondetailsbytransactionidtxid) | **Get** /blockchain-data/{blockchain}/{network}/omni/transactions/{transactionId} | Get Omni Transaction Details By Transaction ID (Txid) @@ -138,29 +149,37 @@ Class | Method | HTTP request | Description *TokensApi* | [**ListConfirmedTokensTransfersByAddress**](docs/TokensApi.md#listconfirmedtokenstransfersbyaddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers | List Confirmed Tokens Transfers By Address *TokensApi* | [**ListTokensByAddress**](docs/TokensApi.md#listtokensbyaddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens | List Tokens By Address *TokensApi* | [**ListTokensTransfersByTransactionHash**](docs/TokensApi.md#listtokenstransfersbytransactionhash) | **Get** /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers | List Tokens Transfers By Transaction Hash +*TokensApi* | [**ListUnconfirmedTokensTransfersByAddress**](docs/TokensApi.md#listunconfirmedtokenstransfersbyaddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-unconfirmed | List Unconfirmed Tokens Transfers By Address *TransactionsApi* | [**CreateCoinsTransactionFromAddressForWholeAmount**](docs/TransactionsApi.md#createcoinstransactionfromaddressforwholeamount) | **Post** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{address}/all-transaction-requests | Create Coins Transaction From Address For Whole Amount *TransactionsApi* | [**CreateCoinsTransactionRequestFromAddress**](docs/TransactionsApi.md#createcoinstransactionrequestfromaddress) | **Post** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{address}/transaction-requests | Create Coins Transaction Request from Address *TransactionsApi* | [**CreateCoinsTransactionRequestFromWallet**](docs/TransactionsApi.md#createcoinstransactionrequestfromwallet) | **Post** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transaction-requests | Create Coins Transaction Request from Wallet *TransactionsApi* | [**CreateFungibleTokensTransactionRequestFromAddress**](docs/TransactionsApi.md#createfungibletokenstransactionrequestfromaddress) | **Post** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{senderAddress}/token-transaction-requests | Create Fungible Tokens Transaction Request from Address -*UTXOBasedApi* | [**ListUnspentTransactionOutputsByAddress**](docs/UTXOBasedApi.md#listunspenttransactionoutputsbyaddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/unspent | List Unspent Transaction Outputs By Address +*UnifiedEndpointsApi* | [**EstimateTransactionSmartFee**](docs/UnifiedEndpointsApi.md#estimatetransactionsmartfee) | **Get** /blockchain-data/{blockchain}/{network}/estimate-transaction-smart-fee | Estimate Transaction Smart Fee *UnifiedEndpointsApi* | [**GetAddressDetails**](docs/UnifiedEndpointsApi.md#getaddressdetails) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address} | Get Address Details *UnifiedEndpointsApi* | [**GetBlockDetailsByBlockHash**](docs/UnifiedEndpointsApi.md#getblockdetailsbyblockhash) | **Get** /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash} | Get Block Details By Block Hash *UnifiedEndpointsApi* | [**GetBlockDetailsByBlockHeight**](docs/UnifiedEndpointsApi.md#getblockdetailsbyblockheight) | **Get** /blockchain-data/{blockchain}/{network}/blocks/height/{height} | Get Block Details By Block Height *UnifiedEndpointsApi* | [**GetFeeRecommendations**](docs/UnifiedEndpointsApi.md#getfeerecommendations) | **Get** /blockchain-data/{blockchain}/{network}/mempool/fees | Get Fee Recommendations *UnifiedEndpointsApi* | [**GetLastMinedBlock**](docs/UnifiedEndpointsApi.md#getlastminedblock) | **Get** /blockchain-data/{blockchain}/{network}/blocks/last | Get Last Mined Block +*UnifiedEndpointsApi* | [**GetNextAvailableNonce**](docs/UnifiedEndpointsApi.md#getnextavailablenonce) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/next-available-nonce | Get Next Available Nonce +*UnifiedEndpointsApi* | [**GetRawTransactionData**](docs/UnifiedEndpointsApi.md#getrawtransactiondata) | **Get** /blockchain-data/{blockchain}/{network}/transactions/{transactionId}/raw-data | Get Raw Transaction Data *UnifiedEndpointsApi* | [**GetTransactionDetailsByTransactionID**](docs/UnifiedEndpointsApi.md#gettransactiondetailsbytransactionid) | **Get** /blockchain-data/{blockchain}/{network}/transactions/{transactionId} | Get Transaction Details By Transaction ID *UnifiedEndpointsApi* | [**ListAllUnconfirmedTransactions**](docs/UnifiedEndpointsApi.md#listallunconfirmedtransactions) | **Get** /blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed | List All Unconfirmed Transactions +*UnifiedEndpointsApi* | [**ListConfirmedTokensTransfersByAddressAndTimeRange**](docs/UnifiedEndpointsApi.md#listconfirmedtokenstransfersbyaddressandtimerange) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-by-time-range | List Confirmed Tokens Transfers By Address And Time Range *UnifiedEndpointsApi* | [**ListConfirmedTransactionsByAddress**](docs/UnifiedEndpointsApi.md#listconfirmedtransactionsbyaddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions | List Confirmed Transactions By Address +*UnifiedEndpointsApi* | [**ListConfirmedTransactionsByAddressAndTimeRange**](docs/UnifiedEndpointsApi.md#listconfirmedtransactionsbyaddressandtimerange) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions-by-time-range | List Confirmed Transactions By Address And Time Range +*UnifiedEndpointsApi* | [**ListInternalTransactionsByAddressAndTimeRange**](docs/UnifiedEndpointsApi.md#listinternaltransactionsbyaddressandtimerange) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/internal-by-time-range | List Internal Transactions By Address And Time Range *UnifiedEndpointsApi* | [**ListLatestMinedBlocks**](docs/UnifiedEndpointsApi.md#listlatestminedblocks) | **Get** /blockchain-data/{blockchain}/{network}/blocks/last/{count} | List Latest Mined Blocks *UnifiedEndpointsApi* | [**ListTransactionsByBlockHash**](docs/UnifiedEndpointsApi.md#listtransactionsbyblockhash) | **Get** /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash}/transactions | List Transactions by Block Hash *UnifiedEndpointsApi* | [**ListTransactionsByBlockHeight**](docs/UnifiedEndpointsApi.md#listtransactionsbyblockheight) | **Get** /blockchain-data/{blockchain}/{network}/blocks/height/{height}/transactions | List Transactions by Block Height *UnifiedEndpointsApi* | [**ListUnconfirmedTransactionsByAddress**](docs/UnifiedEndpointsApi.md#listunconfirmedtransactionsbyaddress) | **Get** /blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed/{address} | List Unconfirmed Transactions by Address +*UnifiedEndpointsApi* | [**ListUnspentTransactionOutputsByAddress**](docs/UnifiedEndpointsApi.md#listunspenttransactionoutputsbyaddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/unspent-outputs | List Unspent Transaction Outputs By Address *XRPRippleApi* | [**GetLatestMinedXRPRippleBlock**](docs/XRPRippleApi.md#getlatestminedxrprippleblock) | **Get** /blockchain-data/xrp-specific/{network}/blocks/last | Get Latest Mined XRP (Ripple) Block *XRPRippleApi* | [**GetXRPRippleAddressDetails**](docs/XRPRippleApi.md#getxrprippleaddressdetails) | **Get** /blockchain-data/xrp-specific/{network}/addresses/{address} | Get XRP (Ripple) Address Details *XRPRippleApi* | [**GetXRPRippleBlockDetailsByBlockHash**](docs/XRPRippleApi.md#getxrprippleblockdetailsbyblockhash) | **Get** /blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash} | Get XRP (Ripple) Block Details By Block Hash *XRPRippleApi* | [**GetXRPRippleBlockDetailsByBlockHeight**](docs/XRPRippleApi.md#getxrprippleblockdetailsbyblockheight) | **Get** /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight} | Get XRP (Ripple) Block Details By Block Height *XRPRippleApi* | [**GetXRPRippleTransactionDetailsByTransactionID**](docs/XRPRippleApi.md#getxrprippletransactiondetailsbytransactionid) | **Get** /blockchain-data/xrp-specific/{network}/transactions/{transactionHash} | Get XRP (Ripple) Transaction Details By Transaction ID *XRPRippleApi* | [**ListXRPRippleTransactionsByAddress**](docs/XRPRippleApi.md#listxrprippletransactionsbyaddress) | **Get** /blockchain-data/xrp-specific/{network}/addresses/{address}/transactions | List XRP (Ripple) Transactions by Address +*XRPRippleApi* | [**ListXRPRippleTransactionsByAddressAndTimeRange**](docs/XRPRippleApi.md#listxrprippletransactionsbyaddressandtimerange) | **Get** /blockchain-data/xrp-specific/{network}/addresses/{address}/transactions-by-time-range | List XRP (Ripple) Transactions By Address And Time Range *XRPRippleApi* | [**ListXRPRippleTransactionsByBlockHash**](docs/XRPRippleApi.md#listxrprippletransactionsbyblockhash) | **Get** /blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash}/transactions | List XRP (Ripple) Transactions By Block Hash *XRPRippleApi* | [**ListXRPRippleTransactionsByBlockHeight**](docs/XRPRippleApi.md#listxrprippletransactionsbyblockheight) | **Get** /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight}/transactions | List XRP (Ripple) Transactions By Block Height *ZilliqaApi* | [**GetLatestMinedZilliqaBlock**](docs/ZilliqaApi.md#getlatestminedzilliqablock) | **Get** /blockchain-data/zilliqa-specific/{network}/blocks/last | Get Latest Mined Zilliqa Block @@ -351,6 +370,54 @@ Class | Method | HTTP request | Description - [CreateFungibleTokensTransactionRequestFromAddressRIS](docs/CreateFungibleTokensTransactionRequestFromAddressRIS.md) - [CreateFungibleTokensTransactionRequestFromAddressRISE](docs/CreateFungibleTokensTransactionRequestFromAddressRISE.md) - [CreateFungibleTokensTransactionRequestFromAddressRISenders](docs/CreateFungibleTokensTransactionRequestFromAddressRISenders.md) + - [DecodeRawTransactionHexE400](docs/DecodeRawTransactionHexE400.md) + - [DecodeRawTransactionHexE401](docs/DecodeRawTransactionHexE401.md) + - [DecodeRawTransactionHexE403](docs/DecodeRawTransactionHexE403.md) + - [DecodeRawTransactionHexR](docs/DecodeRawTransactionHexR.md) + - [DecodeRawTransactionHexRB](docs/DecodeRawTransactionHexRB.md) + - [DecodeRawTransactionHexRBData](docs/DecodeRawTransactionHexRBData.md) + - [DecodeRawTransactionHexRBDataItem](docs/DecodeRawTransactionHexRBDataItem.md) + - [DecodeRawTransactionHexRData](docs/DecodeRawTransactionHexRData.md) + - [DecodeRawTransactionHexRI](docs/DecodeRawTransactionHexRI.md) + - [DecodeRawTransactionHexRIS](docs/DecodeRawTransactionHexRIS.md) + - [DecodeRawTransactionHexRISB](docs/DecodeRawTransactionHexRISB.md) + - [DecodeRawTransactionHexRISB2](docs/DecodeRawTransactionHexRISB2.md) + - [DecodeRawTransactionHexRISB22](docs/DecodeRawTransactionHexRISB22.md) + - [DecodeRawTransactionHexRISB2ScriptPubKey](docs/DecodeRawTransactionHexRISB2ScriptPubKey.md) + - [DecodeRawTransactionHexRISB2Vin](docs/DecodeRawTransactionHexRISB2Vin.md) + - [DecodeRawTransactionHexRISB2Vout](docs/DecodeRawTransactionHexRISB2Vout.md) + - [DecodeRawTransactionHexRISBScriptPubKey](docs/DecodeRawTransactionHexRISBScriptPubKey.md) + - [DecodeRawTransactionHexRISBScriptSig](docs/DecodeRawTransactionHexRISBScriptSig.md) + - [DecodeRawTransactionHexRISBVin](docs/DecodeRawTransactionHexRISBVin.md) + - [DecodeRawTransactionHexRISBVout](docs/DecodeRawTransactionHexRISBVout.md) + - [DecodeRawTransactionHexRISD](docs/DecodeRawTransactionHexRISD.md) + - [DecodeRawTransactionHexRISD2](docs/DecodeRawTransactionHexRISD2.md) + - [DecodeRawTransactionHexRISD2ScriptPubKey](docs/DecodeRawTransactionHexRISD2ScriptPubKey.md) + - [DecodeRawTransactionHexRISD2ScriptSig](docs/DecodeRawTransactionHexRISD2ScriptSig.md) + - [DecodeRawTransactionHexRISD2Vin](docs/DecodeRawTransactionHexRISD2Vin.md) + - [DecodeRawTransactionHexRISD2Vout](docs/DecodeRawTransactionHexRISD2Vout.md) + - [DecodeRawTransactionHexRISDScriptPubKey](docs/DecodeRawTransactionHexRISDScriptPubKey.md) + - [DecodeRawTransactionHexRISDScriptSig](docs/DecodeRawTransactionHexRISDScriptSig.md) + - [DecodeRawTransactionHexRISDVin](docs/DecodeRawTransactionHexRISDVin.md) + - [DecodeRawTransactionHexRISDVout](docs/DecodeRawTransactionHexRISDVout.md) + - [DecodeRawTransactionHexRISE](docs/DecodeRawTransactionHexRISE.md) + - [DecodeRawTransactionHexRISE2](docs/DecodeRawTransactionHexRISE2.md) + - [DecodeRawTransactionHexRISL](docs/DecodeRawTransactionHexRISL.md) + - [DecodeRawTransactionHexRISLScriptPubKey](docs/DecodeRawTransactionHexRISLScriptPubKey.md) + - [DecodeRawTransactionHexRISLScriptSig](docs/DecodeRawTransactionHexRISLScriptSig.md) + - [DecodeRawTransactionHexRISLVin](docs/DecodeRawTransactionHexRISLVin.md) + - [DecodeRawTransactionHexRISLVout](docs/DecodeRawTransactionHexRISLVout.md) + - [DecodeRawTransactionHexRISZ](docs/DecodeRawTransactionHexRISZ.md) + - [DecodeRawTransactionHexRISZScriptPubKey](docs/DecodeRawTransactionHexRISZScriptPubKey.md) + - [DecodeRawTransactionHexRISZScriptSig](docs/DecodeRawTransactionHexRISZScriptSig.md) + - [DecodeRawTransactionHexRISZVin](docs/DecodeRawTransactionHexRISZVin.md) + - [DecodeRawTransactionHexRISZVout](docs/DecodeRawTransactionHexRISZVout.md) + - [DecodeXAddressE400](docs/DecodeXAddressE400.md) + - [DecodeXAddressE401](docs/DecodeXAddressE401.md) + - [DecodeXAddressE403](docs/DecodeXAddressE403.md) + - [DecodeXAddressR](docs/DecodeXAddressR.md) + - [DecodeXAddressRData](docs/DecodeXAddressRData.md) + - [DecodeXAddressRI](docs/DecodeXAddressRI.md) - [DeleteAutomaticCoinsForwardingE400](docs/DeleteAutomaticCoinsForwardingE400.md) - [DeleteAutomaticCoinsForwardingE401](docs/DeleteAutomaticCoinsForwardingE401.md) - [DeleteAutomaticCoinsForwardingE403](docs/DeleteAutomaticCoinsForwardingE403.md) @@ -372,8 +439,45 @@ Class | Method | HTTP request | Description - [DeleteBlockchainEventSubscriptionR](docs/DeleteBlockchainEventSubscriptionR.md) - [DeleteBlockchainEventSubscriptionRData](docs/DeleteBlockchainEventSubscriptionRData.md) - [DeleteBlockchainEventSubscriptionRI](docs/DeleteBlockchainEventSubscriptionRI.md) + - [DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400](docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400.md) + - [DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401](docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401.md) + - [DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403](docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403.md) + - [DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR](docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR.md) + - [DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData](docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData.md) + - [DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI](docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI.md) + - [DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses](docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses.md) + - [EncodeXAddressE400](docs/EncodeXAddressE400.md) + - [EncodeXAddressE401](docs/EncodeXAddressE401.md) + - [EncodeXAddressE403](docs/EncodeXAddressE403.md) + - [EncodeXAddressR](docs/EncodeXAddressR.md) + - [EncodeXAddressRData](docs/EncodeXAddressRData.md) + - [EncodeXAddressRI](docs/EncodeXAddressRI.md) - [EndpointNotAllowedForApiKey](docs/EndpointNotAllowedForApiKey.md) - [EndpointNotAllowedForPlan](docs/EndpointNotAllowedForPlan.md) + - [EstimateGasLimitE400](docs/EstimateGasLimitE400.md) + - [EstimateGasLimitE401](docs/EstimateGasLimitE401.md) + - [EstimateGasLimitE403](docs/EstimateGasLimitE403.md) + - [EstimateGasLimitR](docs/EstimateGasLimitR.md) + - [EstimateGasLimitRB](docs/EstimateGasLimitRB.md) + - [EstimateGasLimitRBData](docs/EstimateGasLimitRBData.md) + - [EstimateGasLimitRBDataItem](docs/EstimateGasLimitRBDataItem.md) + - [EstimateGasLimitRData](docs/EstimateGasLimitRData.md) + - [EstimateGasLimitRI](docs/EstimateGasLimitRI.md) + - [EstimateTokenGasLimitE400](docs/EstimateTokenGasLimitE400.md) + - [EstimateTokenGasLimitE401](docs/EstimateTokenGasLimitE401.md) + - [EstimateTokenGasLimitE403](docs/EstimateTokenGasLimitE403.md) + - [EstimateTokenGasLimitR](docs/EstimateTokenGasLimitR.md) + - [EstimateTokenGasLimitRB](docs/EstimateTokenGasLimitRB.md) + - [EstimateTokenGasLimitRBData](docs/EstimateTokenGasLimitRBData.md) + - [EstimateTokenGasLimitRBDataItem](docs/EstimateTokenGasLimitRBDataItem.md) + - [EstimateTokenGasLimitRData](docs/EstimateTokenGasLimitRData.md) + - [EstimateTokenGasLimitRI](docs/EstimateTokenGasLimitRI.md) + - [EstimateTransactionSmartFeeE400](docs/EstimateTransactionSmartFeeE400.md) + - [EstimateTransactionSmartFeeE401](docs/EstimateTransactionSmartFeeE401.md) + - [EstimateTransactionSmartFeeE403](docs/EstimateTransactionSmartFeeE403.md) + - [EstimateTransactionSmartFeeR](docs/EstimateTransactionSmartFeeR.md) + - [EstimateTransactionSmartFeeRData](docs/EstimateTransactionSmartFeeRData.md) + - [EstimateTransactionSmartFeeRI](docs/EstimateTransactionSmartFeeRI.md) - [FeatureMainnetsNotAllowedForPlan](docs/FeatureMainnetsNotAllowedForPlan.md) - [GenerateDepositAddressE400](docs/GenerateDepositAddressE400.md) - [GenerateDepositAddressE401](docs/GenerateDepositAddressE401.md) @@ -487,6 +591,12 @@ Class | Method | HTTP request | Description - [GetBlockDetailsByBlockHeightRIBSEC](docs/GetBlockDetailsByBlockHeightRIBSEC.md) - [GetBlockDetailsByBlockHeightRIBSL](docs/GetBlockDetailsByBlockHeightRIBSL.md) - [GetBlockDetailsByBlockHeightRIBSZ](docs/GetBlockDetailsByBlockHeightRIBSZ.md) + - [GetBlockchainEventSubscriptionDetailsByReferenceIDE400](docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE400.md) + - [GetBlockchainEventSubscriptionDetailsByReferenceIDE401](docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE401.md) + - [GetBlockchainEventSubscriptionDetailsByReferenceIDE403](docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE403.md) + - [GetBlockchainEventSubscriptionDetailsByReferenceIDR](docs/GetBlockchainEventSubscriptionDetailsByReferenceIDR.md) + - [GetBlockchainEventSubscriptionDetailsByReferenceIDRData](docs/GetBlockchainEventSubscriptionDetailsByReferenceIDRData.md) + - [GetBlockchainEventSubscriptionDetailsByReferenceIDRI](docs/GetBlockchainEventSubscriptionDetailsByReferenceIDRI.md) - [GetEIP1559FeeRecommendationsE400](docs/GetEIP1559FeeRecommendationsE400.md) - [GetEIP1559FeeRecommendationsE401](docs/GetEIP1559FeeRecommendationsE401.md) - [GetEIP1559FeeRecommendationsE403](docs/GetEIP1559FeeRecommendationsE403.md) @@ -523,6 +633,16 @@ Class | Method | HTTP request | Description - [GetFeeRecommendationsR](docs/GetFeeRecommendationsR.md) - [GetFeeRecommendationsRData](docs/GetFeeRecommendationsRData.md) - [GetFeeRecommendationsRI](docs/GetFeeRecommendationsRI.md) + - [GetHDWalletXPubYPubZPubAssetsE400](docs/GetHDWalletXPubYPubZPubAssetsE400.md) + - [GetHDWalletXPubYPubZPubAssetsE401](docs/GetHDWalletXPubYPubZPubAssetsE401.md) + - [GetHDWalletXPubYPubZPubAssetsE403](docs/GetHDWalletXPubYPubZPubAssetsE403.md) + - [GetHDWalletXPubYPubZPubAssetsE422](docs/GetHDWalletXPubYPubZPubAssetsE422.md) + - [GetHDWalletXPubYPubZPubAssetsR](docs/GetHDWalletXPubYPubZPubAssetsR.md) + - [GetHDWalletXPubYPubZPubAssetsRData](docs/GetHDWalletXPubYPubZPubAssetsRData.md) + - [GetHDWalletXPubYPubZPubAssetsRI](docs/GetHDWalletXPubYPubZPubAssetsRI.md) + - [GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance](docs/GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance.md) + - [GetHDWalletXPubYPubZPubAssetsRIFungibleTokens](docs/GetHDWalletXPubYPubZPubAssetsRIFungibleTokens.md) + - [GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens](docs/GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens.md) - [GetHDWalletXPubYPubZPubDetailsE400](docs/GetHDWalletXPubYPubZPubDetailsE400.md) - [GetHDWalletXPubYPubZPubDetailsE401](docs/GetHDWalletXPubYPubZPubDetailsE401.md) - [GetHDWalletXPubYPubZPubDetailsE403](docs/GetHDWalletXPubYPubZPubDetailsE403.md) @@ -566,6 +686,12 @@ Class | Method | HTTP request | Description - [GetLatestMinedZilliqaBlockR](docs/GetLatestMinedZilliqaBlockR.md) - [GetLatestMinedZilliqaBlockRData](docs/GetLatestMinedZilliqaBlockRData.md) - [GetLatestMinedZilliqaBlockRI](docs/GetLatestMinedZilliqaBlockRI.md) + - [GetNextAvailableNonceE400](docs/GetNextAvailableNonceE400.md) + - [GetNextAvailableNonceE401](docs/GetNextAvailableNonceE401.md) + - [GetNextAvailableNonceE403](docs/GetNextAvailableNonceE403.md) + - [GetNextAvailableNonceR](docs/GetNextAvailableNonceR.md) + - [GetNextAvailableNonceRData](docs/GetNextAvailableNonceRData.md) + - [GetNextAvailableNonceRI](docs/GetNextAvailableNonceRI.md) - [GetOmniTransactionDetailsByTransactionIDTxidE400](docs/GetOmniTransactionDetailsByTransactionIDTxidE400.md) - [GetOmniTransactionDetailsByTransactionIDTxidE401](docs/GetOmniTransactionDetailsByTransactionIDTxidE401.md) - [GetOmniTransactionDetailsByTransactionIDTxidE403](docs/GetOmniTransactionDetailsByTransactionIDTxidE403.md) @@ -573,6 +699,12 @@ Class | Method | HTTP request | Description - [GetOmniTransactionDetailsByTransactionIDTxidRData](docs/GetOmniTransactionDetailsByTransactionIDTxidRData.md) - [GetOmniTransactionDetailsByTransactionIDTxidRI](docs/GetOmniTransactionDetailsByTransactionIDTxidRI.md) - [GetOmniTransactionDetailsByTransactionIDTxidRISenders](docs/GetOmniTransactionDetailsByTransactionIDTxidRISenders.md) + - [GetRawTransactionDataE400](docs/GetRawTransactionDataE400.md) + - [GetRawTransactionDataE401](docs/GetRawTransactionDataE401.md) + - [GetRawTransactionDataE403](docs/GetRawTransactionDataE403.md) + - [GetRawTransactionDataR](docs/GetRawTransactionDataR.md) + - [GetRawTransactionDataRData](docs/GetRawTransactionDataRData.md) + - [GetRawTransactionDataRI](docs/GetRawTransactionDataRI.md) - [GetTokenDetailsByContractAddressE400](docs/GetTokenDetailsByContractAddressE400.md) - [GetTokenDetailsByContractAddressE401](docs/GetTokenDetailsByContractAddressE401.md) - [GetTokenDetailsByContractAddressE403](docs/GetTokenDetailsByContractAddressE403.md) @@ -780,7 +912,18 @@ Class | Method | HTTP request | Description - [InlineResponse400](docs/InlineResponse400.md) - [InlineResponse4001](docs/InlineResponse4001.md) - [InlineResponse40010](docs/InlineResponse40010.md) + - [InlineResponse400100](docs/InlineResponse400100.md) + - [InlineResponse400101](docs/InlineResponse400101.md) + - [InlineResponse400102](docs/InlineResponse400102.md) + - [InlineResponse400103](docs/InlineResponse400103.md) + - [InlineResponse400104](docs/InlineResponse400104.md) + - [InlineResponse400105](docs/InlineResponse400105.md) + - [InlineResponse400106](docs/InlineResponse400106.md) + - [InlineResponse400107](docs/InlineResponse400107.md) + - [InlineResponse400108](docs/InlineResponse400108.md) + - [InlineResponse400109](docs/InlineResponse400109.md) - [InlineResponse40011](docs/InlineResponse40011.md) + - [InlineResponse400110](docs/InlineResponse400110.md) - [InlineResponse40012](docs/InlineResponse40012.md) - [InlineResponse40013](docs/InlineResponse40013.md) - [InlineResponse40014](docs/InlineResponse40014.md) @@ -869,10 +1012,29 @@ Class | Method | HTTP request | Description - [InlineResponse4009](docs/InlineResponse4009.md) - [InlineResponse40090](docs/InlineResponse40090.md) - [InlineResponse40091](docs/InlineResponse40091.md) + - [InlineResponse40092](docs/InlineResponse40092.md) + - [InlineResponse40093](docs/InlineResponse40093.md) + - [InlineResponse40094](docs/InlineResponse40094.md) + - [InlineResponse40095](docs/InlineResponse40095.md) + - [InlineResponse40096](docs/InlineResponse40096.md) + - [InlineResponse40097](docs/InlineResponse40097.md) + - [InlineResponse40098](docs/InlineResponse40098.md) + - [InlineResponse40099](docs/InlineResponse40099.md) - [InlineResponse401](docs/InlineResponse401.md) - [InlineResponse4011](docs/InlineResponse4011.md) - [InlineResponse40110](docs/InlineResponse40110.md) + - [InlineResponse401100](docs/InlineResponse401100.md) + - [InlineResponse401101](docs/InlineResponse401101.md) + - [InlineResponse401102](docs/InlineResponse401102.md) + - [InlineResponse401103](docs/InlineResponse401103.md) + - [InlineResponse401104](docs/InlineResponse401104.md) + - [InlineResponse401105](docs/InlineResponse401105.md) + - [InlineResponse401106](docs/InlineResponse401106.md) + - [InlineResponse401107](docs/InlineResponse401107.md) + - [InlineResponse401108](docs/InlineResponse401108.md) + - [InlineResponse401109](docs/InlineResponse401109.md) - [InlineResponse40111](docs/InlineResponse40111.md) + - [InlineResponse401110](docs/InlineResponse401110.md) - [InlineResponse40112](docs/InlineResponse40112.md) - [InlineResponse40113](docs/InlineResponse40113.md) - [InlineResponse40114](docs/InlineResponse40114.md) @@ -961,11 +1123,30 @@ Class | Method | HTTP request | Description - [InlineResponse4019](docs/InlineResponse4019.md) - [InlineResponse40190](docs/InlineResponse40190.md) - [InlineResponse40191](docs/InlineResponse40191.md) + - [InlineResponse40192](docs/InlineResponse40192.md) + - [InlineResponse40193](docs/InlineResponse40193.md) + - [InlineResponse40194](docs/InlineResponse40194.md) + - [InlineResponse40195](docs/InlineResponse40195.md) + - [InlineResponse40196](docs/InlineResponse40196.md) + - [InlineResponse40197](docs/InlineResponse40197.md) + - [InlineResponse40198](docs/InlineResponse40198.md) + - [InlineResponse40199](docs/InlineResponse40199.md) - [InlineResponse402](docs/InlineResponse402.md) - [InlineResponse403](docs/InlineResponse403.md) - [InlineResponse4031](docs/InlineResponse4031.md) - [InlineResponse40310](docs/InlineResponse40310.md) + - [InlineResponse403100](docs/InlineResponse403100.md) + - [InlineResponse403101](docs/InlineResponse403101.md) + - [InlineResponse403102](docs/InlineResponse403102.md) + - [InlineResponse403103](docs/InlineResponse403103.md) + - [InlineResponse403104](docs/InlineResponse403104.md) + - [InlineResponse403105](docs/InlineResponse403105.md) + - [InlineResponse403106](docs/InlineResponse403106.md) + - [InlineResponse403107](docs/InlineResponse403107.md) + - [InlineResponse403108](docs/InlineResponse403108.md) + - [InlineResponse403109](docs/InlineResponse403109.md) - [InlineResponse40311](docs/InlineResponse40311.md) + - [InlineResponse403110](docs/InlineResponse403110.md) - [InlineResponse40312](docs/InlineResponse40312.md) - [InlineResponse40313](docs/InlineResponse40313.md) - [InlineResponse40314](docs/InlineResponse40314.md) @@ -1054,6 +1235,14 @@ Class | Method | HTTP request | Description - [InlineResponse4039](docs/InlineResponse4039.md) - [InlineResponse40390](docs/InlineResponse40390.md) - [InlineResponse40391](docs/InlineResponse40391.md) + - [InlineResponse40392](docs/InlineResponse40392.md) + - [InlineResponse40393](docs/InlineResponse40393.md) + - [InlineResponse40394](docs/InlineResponse40394.md) + - [InlineResponse40395](docs/InlineResponse40395.md) + - [InlineResponse40396](docs/InlineResponse40396.md) + - [InlineResponse40397](docs/InlineResponse40397.md) + - [InlineResponse40398](docs/InlineResponse40398.md) + - [InlineResponse40399](docs/InlineResponse40399.md) - [InlineResponse404](docs/InlineResponse404.md) - [InlineResponse4041](docs/InlineResponse4041.md) - [InlineResponse4042](docs/InlineResponse4042.md) @@ -1084,8 +1273,11 @@ Class | Method | HTTP request | Description - [InlineResponse4223](docs/InlineResponse4223.md) - [InlineResponse4224](docs/InlineResponse4224.md) - [InlineResponse4225](docs/InlineResponse4225.md) + - [InlineResponse4226](docs/InlineResponse4226.md) + - [InlineResponse4227](docs/InlineResponse4227.md) - [InlineResponse429](docs/InlineResponse429.md) - [InlineResponse500](docs/InlineResponse500.md) + - [InlineResponse501](docs/InlineResponse501.md) - [InsufficientCredits](docs/InsufficientCredits.md) - [InvalidApiKey](docs/InvalidApiKey.md) - [InvalidBlockchain](docs/InvalidBlockchain.md) @@ -1093,8 +1285,24 @@ Class | Method | HTTP request | Description - [InvalidNetwork](docs/InvalidNetwork.md) - [InvalidPagination](docs/InvalidPagination.md) - [InvalidRequestBodyStructure](docs/InvalidRequestBodyStructure.md) + - [InvalidTransactionHex](docs/InvalidTransactionHex.md) - [InvalidXpub](docs/InvalidXpub.md) - [LimitGreaterThanAllowed](docs/LimitGreaterThanAllowed.md) + - [ListAllAssetsByWalletIDE400](docs/ListAllAssetsByWalletIDE400.md) + - [ListAllAssetsByWalletIDE401](docs/ListAllAssetsByWalletIDE401.md) + - [ListAllAssetsByWalletIDE403](docs/ListAllAssetsByWalletIDE403.md) + - [ListAllAssetsByWalletIDR](docs/ListAllAssetsByWalletIDR.md) + - [ListAllAssetsByWalletIDRData](docs/ListAllAssetsByWalletIDRData.md) + - [ListAllAssetsByWalletIDRI](docs/ListAllAssetsByWalletIDRI.md) + - [ListAllAssetsFromAllWalletsE400](docs/ListAllAssetsFromAllWalletsE400.md) + - [ListAllAssetsFromAllWalletsE401](docs/ListAllAssetsFromAllWalletsE401.md) + - [ListAllAssetsFromAllWalletsE403](docs/ListAllAssetsFromAllWalletsE403.md) + - [ListAllAssetsFromAllWalletsR](docs/ListAllAssetsFromAllWalletsR.md) + - [ListAllAssetsFromAllWalletsRData](docs/ListAllAssetsFromAllWalletsRData.md) + - [ListAllAssetsFromAllWalletsRI](docs/ListAllAssetsFromAllWalletsRI.md) + - [ListAllAssetsFromAllWalletsRICoins](docs/ListAllAssetsFromAllWalletsRICoins.md) + - [ListAllAssetsFromAllWalletsRIFungibleTokens](docs/ListAllAssetsFromAllWalletsRIFungibleTokens.md) + - [ListAllAssetsFromAllWalletsRINonFungibleTokens](docs/ListAllAssetsFromAllWalletsRINonFungibleTokens.md) - [ListAllUnconfirmedTransactionsE400](docs/ListAllUnconfirmedTransactionsE400.md) - [ListAllUnconfirmedTransactionsE401](docs/ListAllUnconfirmedTransactionsE401.md) - [ListAllUnconfirmedTransactionsE403](docs/ListAllUnconfirmedTransactionsE403.md) @@ -1138,18 +1346,41 @@ Class | Method | HTTP request | Description - [ListBlockchainEventsSubscriptionsR](docs/ListBlockchainEventsSubscriptionsR.md) - [ListBlockchainEventsSubscriptionsRData](docs/ListBlockchainEventsSubscriptionsRData.md) - [ListBlockchainEventsSubscriptionsRI](docs/ListBlockchainEventsSubscriptionsRI.md) + - [ListBlockchainEventsSubscriptionsRIDeactivationReasons](docs/ListBlockchainEventsSubscriptionsRIDeactivationReasons.md) - [ListCoinsForwardingAutomationsE400](docs/ListCoinsForwardingAutomationsE400.md) - [ListCoinsForwardingAutomationsE401](docs/ListCoinsForwardingAutomationsE401.md) - [ListCoinsForwardingAutomationsE403](docs/ListCoinsForwardingAutomationsE403.md) - [ListCoinsForwardingAutomationsR](docs/ListCoinsForwardingAutomationsR.md) - [ListCoinsForwardingAutomationsRData](docs/ListCoinsForwardingAutomationsRData.md) - [ListCoinsForwardingAutomationsRI](docs/ListCoinsForwardingAutomationsRI.md) + - [ListConfirmedTokensTransfersByAddressAndTimeRangeE400](docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE400.md) + - [ListConfirmedTokensTransfersByAddressAndTimeRangeE401](docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE401.md) + - [ListConfirmedTokensTransfersByAddressAndTimeRangeE403](docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE403.md) + - [ListConfirmedTokensTransfersByAddressAndTimeRangeR](docs/ListConfirmedTokensTransfersByAddressAndTimeRangeR.md) + - [ListConfirmedTokensTransfersByAddressAndTimeRangeRData](docs/ListConfirmedTokensTransfersByAddressAndTimeRangeRData.md) + - [ListConfirmedTokensTransfersByAddressAndTimeRangeRI](docs/ListConfirmedTokensTransfersByAddressAndTimeRangeRI.md) - [ListConfirmedTokensTransfersByAddressE400](docs/ListConfirmedTokensTransfersByAddressE400.md) - [ListConfirmedTokensTransfersByAddressE401](docs/ListConfirmedTokensTransfersByAddressE401.md) - [ListConfirmedTokensTransfersByAddressE403](docs/ListConfirmedTokensTransfersByAddressE403.md) - [ListConfirmedTokensTransfersByAddressR](docs/ListConfirmedTokensTransfersByAddressR.md) - [ListConfirmedTokensTransfersByAddressRData](docs/ListConfirmedTokensTransfersByAddressRData.md) - [ListConfirmedTokensTransfersByAddressRI](docs/ListConfirmedTokensTransfersByAddressRI.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeE400](docs/ListConfirmedTransactionsByAddressAndTimeRangeE400.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeE401](docs/ListConfirmedTransactionsByAddressAndTimeRangeE401.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeE403](docs/ListConfirmedTransactionsByAddressAndTimeRangeE403.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeR](docs/ListConfirmedTransactionsByAddressAndTimeRangeR.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRData](docs/ListConfirmedTransactionsByAddressAndTimeRangeRData.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRI](docs/ListConfirmedTransactionsByAddressAndTimeRangeRI.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBS](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBS.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSB](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSB.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSD](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSE](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSE.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSL](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSL.md) + - [ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ](docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ.md) - [ListConfirmedTransactionsByAddressE400](docs/ListConfirmedTransactionsByAddressE400.md) - [ListConfirmedTransactionsByAddressE401](docs/ListConfirmedTransactionsByAddressE401.md) - [ListConfirmedTransactionsByAddressE403](docs/ListConfirmedTransactionsByAddressE403.md) @@ -1203,12 +1434,25 @@ Class | Method | HTTP request | Description - [ListHDWalletXPubYPubZPubTransactionsRIFee](docs/ListHDWalletXPubYPubZPubTransactionsRIFee.md) - [ListHDWalletXPubYPubZPubTransactionsRIRecipients](docs/ListHDWalletXPubYPubZPubTransactionsRIRecipients.md) - [ListHDWalletXPubYPubZPubTransactionsRISenders](docs/ListHDWalletXPubYPubZPubTransactionsRISenders.md) + - [ListHDWalletXPubYPubZPubUTXOsE400](docs/ListHDWalletXPubYPubZPubUTXOsE400.md) + - [ListHDWalletXPubYPubZPubUTXOsE401](docs/ListHDWalletXPubYPubZPubUTXOsE401.md) + - [ListHDWalletXPubYPubZPubUTXOsE403](docs/ListHDWalletXPubYPubZPubUTXOsE403.md) + - [ListHDWalletXPubYPubZPubUTXOsE422](docs/ListHDWalletXPubYPubZPubUTXOsE422.md) + - [ListHDWalletXPubYPubZPubUTXOsR](docs/ListHDWalletXPubYPubZPubUTXOsR.md) + - [ListHDWalletXPubYPubZPubUTXOsRData](docs/ListHDWalletXPubYPubZPubUTXOsRData.md) + - [ListHDWalletXPubYPubZPubUTXOsRI](docs/ListHDWalletXPubYPubZPubUTXOsRI.md) - [ListInternalTransactionDetailsByTransactionHashE400](docs/ListInternalTransactionDetailsByTransactionHashE400.md) - [ListInternalTransactionDetailsByTransactionHashE401](docs/ListInternalTransactionDetailsByTransactionHashE401.md) - [ListInternalTransactionDetailsByTransactionHashE403](docs/ListInternalTransactionDetailsByTransactionHashE403.md) - [ListInternalTransactionDetailsByTransactionHashR](docs/ListInternalTransactionDetailsByTransactionHashR.md) - [ListInternalTransactionDetailsByTransactionHashRData](docs/ListInternalTransactionDetailsByTransactionHashRData.md) - [ListInternalTransactionDetailsByTransactionHashRI](docs/ListInternalTransactionDetailsByTransactionHashRI.md) + - [ListInternalTransactionsByAddressAndTimeRangeE400](docs/ListInternalTransactionsByAddressAndTimeRangeE400.md) + - [ListInternalTransactionsByAddressAndTimeRangeE401](docs/ListInternalTransactionsByAddressAndTimeRangeE401.md) + - [ListInternalTransactionsByAddressAndTimeRangeE403](docs/ListInternalTransactionsByAddressAndTimeRangeE403.md) + - [ListInternalTransactionsByAddressAndTimeRangeR](docs/ListInternalTransactionsByAddressAndTimeRangeR.md) + - [ListInternalTransactionsByAddressAndTimeRangeRData](docs/ListInternalTransactionsByAddressAndTimeRangeRData.md) + - [ListInternalTransactionsByAddressAndTimeRangeRI](docs/ListInternalTransactionsByAddressAndTimeRangeRI.md) - [ListInternalTransactionsByAddressE400](docs/ListInternalTransactionsByAddressE400.md) - [ListInternalTransactionsByAddressE401](docs/ListInternalTransactionsByAddressE401.md) - [ListInternalTransactionsByAddressE403](docs/ListInternalTransactionsByAddressE403.md) @@ -1298,6 +1542,7 @@ Class | Method | HTTP request | Description - [ListTokensTransfersByTransactionHashR](docs/ListTokensTransfersByTransactionHashR.md) - [ListTokensTransfersByTransactionHashRData](docs/ListTokensTransfersByTransactionHashRData.md) - [ListTokensTransfersByTransactionHashRI](docs/ListTokensTransfersByTransactionHashRI.md) + - [ListTokensTransfersByTransactionHashRITransactionFee](docs/ListTokensTransfersByTransactionHashRITransactionFee.md) - [ListTransactionsByBlockHashE400](docs/ListTransactionsByBlockHashE400.md) - [ListTransactionsByBlockHashE401](docs/ListTransactionsByBlockHashE401.md) - [ListTransactionsByBlockHashE403](docs/ListTransactionsByBlockHashE403.md) @@ -1389,6 +1634,12 @@ Class | Method | HTTP request | Description - [ListUnconfirmedOmniTransactionsByPropertyIDR](docs/ListUnconfirmedOmniTransactionsByPropertyIDR.md) - [ListUnconfirmedOmniTransactionsByPropertyIDRData](docs/ListUnconfirmedOmniTransactionsByPropertyIDRData.md) - [ListUnconfirmedOmniTransactionsByPropertyIDRI](docs/ListUnconfirmedOmniTransactionsByPropertyIDRI.md) + - [ListUnconfirmedTokensTransfersByAddressE400](docs/ListUnconfirmedTokensTransfersByAddressE400.md) + - [ListUnconfirmedTokensTransfersByAddressE401](docs/ListUnconfirmedTokensTransfersByAddressE401.md) + - [ListUnconfirmedTokensTransfersByAddressE403](docs/ListUnconfirmedTokensTransfersByAddressE403.md) + - [ListUnconfirmedTokensTransfersByAddressR](docs/ListUnconfirmedTokensTransfersByAddressR.md) + - [ListUnconfirmedTokensTransfersByAddressRData](docs/ListUnconfirmedTokensTransfersByAddressRData.md) + - [ListUnconfirmedTokensTransfersByAddressRI](docs/ListUnconfirmedTokensTransfersByAddressRI.md) - [ListUnconfirmedTransactionsByAddressE400](docs/ListUnconfirmedTransactionsByAddressE400.md) - [ListUnconfirmedTransactionsByAddressE401](docs/ListUnconfirmedTransactionsByAddressE401.md) - [ListUnconfirmedTransactionsByAddressE403](docs/ListUnconfirmedTransactionsByAddressE403.md) @@ -1429,12 +1680,6 @@ Class | Method | HTTP request | Description - [ListUnspentTransactionOutputsByAddressR](docs/ListUnspentTransactionOutputsByAddressR.md) - [ListUnspentTransactionOutputsByAddressRData](docs/ListUnspentTransactionOutputsByAddressRData.md) - [ListUnspentTransactionOutputsByAddressRI](docs/ListUnspentTransactionOutputsByAddressRI.md) - - [ListUnspentTransactionOutputsByAddressRIBlockchainSpecific](docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecific.md) - - [ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit](docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit.md) - - [ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend](docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend.md) - - [ListUnspentTransactionOutputsByAddressRIFee](docs/ListUnspentTransactionOutputsByAddressRIFee.md) - - [ListUnspentTransactionOutputsByAddressRISenders](docs/ListUnspentTransactionOutputsByAddressRISenders.md) - - [ListUnspentTransactionOutputsByAddressRIVin](docs/ListUnspentTransactionOutputsByAddressRIVin.md) - [ListWalletTransactionsE400](docs/ListWalletTransactionsE400.md) - [ListWalletTransactionsE401](docs/ListWalletTransactionsE401.md) - [ListWalletTransactionsE403](docs/ListWalletTransactionsE403.md) @@ -1448,6 +1693,12 @@ Class | Method | HTTP request | Description - [ListWalletTransactionsRIRecipients](docs/ListWalletTransactionsRIRecipients.md) - [ListWalletTransactionsRISenders](docs/ListWalletTransactionsRISenders.md) - [ListWalletTransactionsRIValue](docs/ListWalletTransactionsRIValue.md) + - [ListXRPRippleTransactionsByAddressAndTimeRangeE400](docs/ListXRPRippleTransactionsByAddressAndTimeRangeE400.md) + - [ListXRPRippleTransactionsByAddressAndTimeRangeE401](docs/ListXRPRippleTransactionsByAddressAndTimeRangeE401.md) + - [ListXRPRippleTransactionsByAddressAndTimeRangeE403](docs/ListXRPRippleTransactionsByAddressAndTimeRangeE403.md) + - [ListXRPRippleTransactionsByAddressAndTimeRangeR](docs/ListXRPRippleTransactionsByAddressAndTimeRangeR.md) + - [ListXRPRippleTransactionsByAddressAndTimeRangeRData](docs/ListXRPRippleTransactionsByAddressAndTimeRangeRData.md) + - [ListXRPRippleTransactionsByAddressAndTimeRangeRI](docs/ListXRPRippleTransactionsByAddressAndTimeRangeRI.md) - [ListXRPRippleTransactionsByAddressE400](docs/ListXRPRippleTransactionsByAddressE400.md) - [ListXRPRippleTransactionsByAddressE401](docs/ListXRPRippleTransactionsByAddressE401.md) - [ListXRPRippleTransactionsByAddressE403](docs/ListXRPRippleTransactionsByAddressE403.md) @@ -1646,6 +1897,7 @@ Class | Method | HTTP request | Description - [TransactionRequestRejectionData](docs/TransactionRequestRejectionData.md) - [TransactionRequestRejectionDataItem](docs/TransactionRequestRejectionDataItem.md) - [UnexpectedServerError](docs/UnexpectedServerError.md) + - [Unimplemented](docs/Unimplemented.md) - [UnsupportedMediaType](docs/UnsupportedMediaType.md) - [UriNotFound](docs/UriNotFound.md) - [ValidateAddressE400](docs/ValidateAddressE400.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index b5884b7..0b1081c 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -4,12 +4,12 @@ info: email: developers@cryptoapis.io name: Crypto APIs Team url: https://cryptoapis.io - description: Crypto APIs 2.0 is a complex and innovative infrastructure layer that - radically simplifies the development of any Blockchain and Crypto related applications. - Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum - enthusiasts and crypto experts with the development of their blockchain applications. - Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens - and coins forwardings, callback functionalities, and much more. + description: "Crypto APIs 2.0 is a complex and innovative infrastructure layer that\ + \ radically simplifies the development of any Blockchain and Crypto related applications.\ + \ Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum\ + \ enthusiasts and crypto experts with the development of their blockchain applications.\ + \ Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens\ + \ and coins forwardings, callback functionalities, and much more." license: name: MIT url: http://www.opensource.org/licenses/mit-license.php @@ -71,7 +71,7 @@ tags: \ we have prepared various SDKs to help you get quickly started.\r\n\r\nYou can\ \ pick one of our current SDK’s [here](https://developers.cryptoapis.io/sdkslibraries).\r\ \n\r\n\r\n## Create an account\r\nTo get started with Crypto APIs 2.0 services\ - \ the first thing you need to do is create your account at https://dashboard.cryptoapis.io/login.\ + \ the first thing you need to do is create your account at https://my.cryptoapis.io/login.\ \ By creating an account you get access to a personalized Crypto APIs 2.0 Dashboard,\ \ where you can monitor and control your API keys, requests, credits, tokens,\ \ exchange accounts, and more. \r\n\r\nYou can create your Crypto APIs 2.0 account\ @@ -82,7 +82,7 @@ tags: \ API use.{/note}\r\n\r\n{note}Users can also invite Team members by adding their\ \ email addresses. Email addresses that already exist as users type \"Owner\"\ \ cannot be invited as Team members.{/note}\r\n\r\n\r\n## The Dashboard\r\nOnce\ - \ you create an account, you get access to a personalized Crypto APIs 2.0 [Dashboard](https://dashboard.cryptoapis.io/).\ + \ you create an account, you get access to a personalized Crypto APIs 2.0 [Dashboard](https://my.cryptoapis.io/).\ \ Through the dashboard is where you can choose and subscribe to a Crypto APIs\ \ 2.0 blockchain product - Blockchain Data, Blockchain Events, Blockchain Tools,\ \ Blockchain Automations, or Crypto Market Data APIs.\r\n\r\nFrom the Dashboard\ @@ -96,7 +96,7 @@ tags: \ 2.0 product, you must create an API key, in order for your requests to be authenticated.\r\ \n\r\nAn API key is a code unique to the user who generated it. It is used to\ \ identify the call to the specific API and track the access to it and its usage.\ - \ You can generate your API key from within the Crypto APIs 2.0 [dashboard](https://dashboard.cryptoapis.io/account/api-keys)\ + \ You can generate your API key from within the Crypto APIs 2.0 [dashboard](https://my.cryptoapis.io/api-keys)\ \ by clicking on the “Create new API key” button. You can generate more than one\ \ API key and use a single API key more than once. \r\n\r\nFor more information\ \ on Authenticating requests, please see [“Authentication”](https://developers.cryptoapis.io/technical-documentation/general-information/authentication)\ @@ -106,36 +106,36 @@ tags: \ method with Crypto APIs 2.0 products. By using an API key you authenticate access\ \ to the specific API. Without authentication access to the API is denied. \r\n\ \r\nYou can generate and manage API keys from within the Crypto APIs 2.0 Dashboard\ - \ [here](https://dashboard.cryptoapis.io/account/api-keys). By clicking on “Create\ - \ new API key” you can enter a name and the system will generate a unique for\ - \ your user key for API authentication. Multiple keys can be generated. Old API\ - \ keys, that you no longer want to use, can be disabled from the same location.\r\ - \n\r\n## Use API key\r\n\r\nAPI keys are required for the authentication of the\ - \ calling program to the API. All Crypto APIs 2.0 keys use the same base URL \"\ - https://rest.cryptoapis.io\". They can be used in test environments such as: Development,\ - \ QA, and main Production environments.\r\n\r\nWe do not recommend using the same\ - \ API key for more than one environment. We do recommend to use a single key for\ - \ one specific environment - Testing, Production, etc. The API key is sensitive\ - \ private information that we strongly advise to have and keep restricted access\ - \ to it.\r\n\r\nContent-Type: application/json\r\nX-API-Key: my-api-key\r\n\r\n\ - {warning}It's important to secure your API Key against public access. The custom\ - \ header option is strongly recommended for a production environment.{/warning}\r\ - \n\r\n\r\n## API Credential Usage - Credits\r\n\r\nMost plans include a daily\ - \ limit or “hard stop” to the number of data calls that can be made and the results\ - \ provided by Crypto APIs 2.0. This limit is directly tied to your API Key usage\ - \ and number of credits purchased. Your daily credits will be reloaded at 0:00\ - \ AM UTC.\r\n\r\n{warning}It's important to understand that we will set your list\ - \ results to equal 100 by default. You can manually adjust these before making\ - \ a particular list call.{/warning}\r\n\r\nThe daily credit limit is tracked based\ - \ on API data calls and results provided with your key. Each credit is accounted\ - \ for and incremented 1:1, with the exception of:\r\n\r\n1. Error responses are\ - \ not included in this monthly limit;\r\n2. Paginated Endpoints: List based endpoints.\ - \ Credit allocation per API credentials is done for every 50 data results returned,\ - \ always rounded-up.\r\n3. Bundled/Batched API calls: Credit allocation per API\ - \ credentials is done for every 50 data results returned, always rounded-up.\r\ - \n\r\nThis is directly related to the API call Rate Limiting which is applied\ - \ to all Crypto APIs 2.0. For more information on API limiting and other ways\ - \ we limit data from our API, please see [“Data Flow Limiting”](https://developers.cryptoapis.io/technical-documentation/general-information/data-flow-limiting)\ + \ [here](https://my.cryptoapis.io/api-keys). By clicking on “Create new API key”\ + \ you can enter a name and the system will generate a unique for your user key\ + \ for API authentication. Multiple keys can be generated. Old API keys, that you\ + \ no longer want to use, can be disabled from the same location.\r\n\r\n## Use\ + \ API key\r\n\r\nAPI keys are required for the authentication of the calling program\ + \ to the API. All Crypto APIs 2.0 keys use the same base URL \"https://rest.cryptoapis.io\"\ + . They can be used in test environments such as: Development, QA, and main Production\ + \ environments.\r\n\r\nWe do not recommend using the same API key for more than\ + \ one environment. We do recommend to use a single key for one specific environment\ + \ - Testing, Production, etc. The API key is sensitive private information that\ + \ we strongly advise to have and keep restricted access to it.\r\n\r\nContent-Type:\ + \ application/json\r\nX-API-Key: my-api-key\r\n\r\n{warning}It's important to\ + \ secure your API Key against public access. The custom header option is strongly\ + \ recommended for a production environment.{/warning}\r\n\r\n\r\n## API Credential\ + \ Usage - Credits\r\n\r\nMost plans include a daily limit or “hard stop” to the\ + \ number of data calls that can be made and the results provided by Crypto APIs\ + \ 2.0. This limit is directly tied to your API Key usage and number of credits\ + \ purchased. Your daily credits will be reloaded at 0:00 AM UTC.\r\n\r\n{warning}It's\ + \ important to understand that we will set your list results to equal 100 by default.\ + \ You can manually adjust these before making a particular list call.{/warning}\r\ + \n\r\nThe daily credit limit is tracked based on API data calls and results provided\ + \ with your key. Each credit is accounted for and incremented 1:1, with the exception\ + \ of:\r\n\r\n1. Error responses are not included in this monthly limit;\r\n2.\ + \ Paginated Endpoints: List based endpoints. Credit allocation per API credentials\ + \ is done for every 50 data results returned, always rounded-up.\r\n3. Bundled/Batched\ + \ API calls: Credit allocation per API credentials is done for every 50 data results\ + \ returned, always rounded-up.\r\n\r\nThis is directly related to the API call\ + \ Rate Limiting which is applied to all Crypto APIs 2.0. For more information\ + \ on API limiting and other ways we limit data from our API, please see [“Data\ + \ Flow Limiting”](https://developers.cryptoapis.io/technical-documentation/general-information/data-flow-limiting)\ \ section." name: Authentication - description: "## Supported Protocols and Networks\r\n\r\n| Blockchain protocol |\ @@ -391,77 +391,86 @@ tags: \ daily credits it provides. Your daily credits are accounted for 24 hours from\ \ the initial call made to our API-Gateway.\r\n\r\nDaily credits allow you to\ \ actually make an API call. This is the limit of calls you can make for 24 hours.\ - \ One credit doesn’t necessarily mean one request though. If you request a list\ - \ of data, we count each 50 results (the pagination limit) as one credit.\r\n\r\ - \n### Enabled features\r\n\r\nAnother way we limit data flow are the features\ - \ each subscription tier holds. Crypto APIs 2.0 offers a variety of blockchain-related\ - \ API products where each higher subscription tier provides more and better features\ - \ for your preferences in retrieving blockchain and cryptocurrency data. \r\n\r\ - \nTo see our prefixed subscription and pricing list with products, please see\ - \ our [website](https://cryptoapis.io/pricing). If you feel like you can work\ - \ better with a custom plan, simply contact [our team](https://cryptoapis.io/contacts)\ - \ and we’ll discuss the possibilities we can offer you.\r\n\r\n### Pagination\r\ - \n\r\n#### Using Pagination\r\n\r\nWhen making calls to the Crypto APIs 2.0, a\ - \ large number of results can be expected in the response. Blockchains consist\ - \ of hundreds of thousands of data blocks at the least, containing hashed information\ - \ on transactions which can add up to hundreds and more pages of information when\ - \ called. To ensure the normal flow and structure of the results of the API response\ - \ and optimize our efficiency, we paginate our results. Paginated results are\ - \ returned usually to a GET request. \r\n\r\n\r\n_**Example:**_\r\n\r\n```\r\n\ - {\r\n \"apiVersion\": \"2.0\",\r\n \"requestId\": \"xxxxxxxxxxxx\",\r\n\ - \ \"data\": {\r\n \"limit\": 0,\r\n \"offset\": 50,\r\n \ - \ \"total\": 2,\r\n \"items\": [\r\n {\r\n //item\ - \ 1\r\n },\r\n {\r\n //item 2\r\n \ - \ }\r\n ]\r\n }\r\n}\r\n\r\n```\r\n\r\nTo avoid requests that may\ - \ potentially crash the system or result in an error, we have set up a default\ - \ limit on results with the value `offset`: 50. This means that regardless of\ - \ the total number of items in the response, by default only 50 can be displayed\ - \ at a time. This number cannot be modified to be more or less than 50.\r\n\r\n\ - To see how many items in total your request can return in general, see the value\ - \ `total`. Depending on that number (if it is higher than the default `offset`:\ - \ 50) and your preferences, you can send another request to fetch the next segment\ - \ of the results again displayed within the default 50 items per page limit.\r\ - \n\r\n\r\n#### How do I know whether a certain endpoint uses pagination?\r\n\r\ - \nThe process of pagination requires a request that would return a response of\ - \ multiple items, or a list. When information is listed then It requires sorting\ - \ and limiting of display. \r\n\r\nEndpoints that request information on a specific\ - \ item - address, transaction, block, etc., will return a single count of the\ - \ requested item, along with its respected details, which are the goal of the\ - \ request. \r\n\r\n_**Example:**_\r\n\r\nThis is a response example for a request\ - \ to GET address details. The value `item` being in the singular form, due to\ - \ the request fetching information on one item, indicates there is no pagination\ - \ for the specific endpoint.\r\n\r\n```\r\n{\r\n \"apiVersion\": \"2.0\",\r\ - \n \"requestId\": \"xxxxxxxxxxxx\",\r\n \"address\": \"xxxxxxxxxxxx\",\r\ - \n \"data\": {\r\n \"limit\": 0,\r\n \"offset\": 50,\r\n \ - \ \"total\": 1,\r\n \"item\": [\r\n {\r\n //address\ - \ details\r\n }\r\n ]\r\n }\r\n}\r\n\r\n```\r\n\r\n_**Example:**_\r\ - \n\r\nThe following is a different response example for a request to GET a list\ - \ of addresses by a certain attribute. The value `items` is in the plural form,\ - \ which indicates that the response includes more than one count of the requested\ - \ information, which makes it a list. Ergo, this specific endpoint uses pagination.\r\ - \n\r\n```\r\n{\r\n \"apiVersion\": \"2.0\",\r\n \"requestId\": \"xxxxxxxxxxxx\"\ - ,\r\n \"data\": {\r\n \"limit\": 0,\r\n \"offset\": 50,\r\n \ - \ \"total\": 1000,\r\n \"items\": [\r\n {\r\n \ - \ //address 1\r\n },\r\n {\r\n //address\ - \ 2\r\n },\r\n\t{\r\n\t …\r\n\t}\r\n ]\r\n }\r\n}\r\n\r\n\ - ```\r\n\r\n#### How do I see the next page of the response?\r\n\r\nCrypto APIs\ - \ 2.0 obtains information from the blockchain database, therefore a new request\ - \ has to be made in order to see further items from the response. The next response\ - \ will still be limited to the default pagination value `offset`: 50, but you\ - \ can get the next page by modifying the `limit` value.\r\n\r\n`limit` indicates\ - \ from which item in the list should the response start displaying results. The\ - \ first paginated response of a request will by default start count from 0, i.e.\ - \ `limit`: 0. By modifying this value you can retrieve the next segment of the\ - \ results again displayed within the default 50 items per page limit.\r\n\r\n\ - _**Example:**_\r\n\r\n```\r\n{\r\n \"apiVersion\": \"2.0\",\r\n \"requestId\"\ - : \"xxxxxxxxxxxx\",\r\n \"data\": {\r\n \"limit\": 51,\r\n \"\ - offset\": 50,\r\n \"total\": 1000,\r\n \"items\": [\r\n \ - \ {\r\n //address 51\r\n },\r\n {\r\n \ - \ //address 52\r\n },\r\n\t{\r\n\t …\r\n\t}\r\n ]\r\ - \n }\r\n}\r\n\r\n```\r\n\r\nTo retrieve every segment of the response, in order\ - \ to view all possible results, you have to each time make a new request with\ - \ a modified `limit`. The default `offset` value cannot be modified to be more\ - \ or less than 50." + \ One credit doesn’t necessarily mean one request though. You can see the amount\ + \ of credits charged for every single endpoint by navigating to our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/overview),\ + \ opening the endpoint in question and scrolling to the bottom of the page.\r\n\ + \r\nThere are two charge types: \"Request\" and \"List\", where the latter is\ + \ only for endpoints that can list multiple results and have pagination applied.\r\ + \n\r\n1. The \"Request\" type charges a specific amount of credits per a single\ + \ request. For different endpoints this could be a different amount, but most\ + \ often it is 1 credit per 1 request. \r\n2. The \"List\" type charges a certain\ + \ amount of credits per a specific count of results. Depending on the specific\ + \ List endpoint this could vary, e.g. a more complex List endpoint could charge\ + \ \"2 credits per every 5 results\".\r\n\r\n\r\n### Enabled features\r\n\r\nAnother\ + \ way we limit data flow are the features each subscription tier holds. Crypto\ + \ APIs 2.0 offers a variety of blockchain-related API products where each higher\ + \ subscription tier provides more and better features for your preferences in\ + \ retrieving blockchain and cryptocurrency data. \r\n\r\nTo see our prefixed subscription\ + \ and pricing list with products, please see our [website](https://cryptoapis.io/pricing).\ + \ If you feel like you can work better with a custom plan, simply contact [our\ + \ team](https://cryptoapis.io/contacts) and we’ll discuss the possibilities we\ + \ can offer you.\r\n\r\n### Pagination\r\n\r\n#### Using Pagination\r\n\r\nWhen\ + \ making calls to the Crypto APIs 2.0, a large number of results can be expected\ + \ in the response. Blockchains consist of hundreds of thousands of data blocks\ + \ at the least, containing hashed information on transactions which can add up\ + \ to hundreds and more pages of information when called. To ensure the normal\ + \ flow and structure of the results of the API response and optimize our efficiency,\ + \ we paginate our results. Paginated results are returned usually to a GET request.\ + \ \r\n\r\n\r\n_**Example:**_\r\n\r\n```\r\n{\r\n \"apiVersion\": \"2.0\",\r\ + \n \"requestId\": \"xxxxxxxxxxxx\",\r\n \"data\": {\r\n \"offset\"\ + : 0,\r\n \"limit\": 50,\r\n \"total\": 2,\r\n \"items\":\ + \ [\r\n {\r\n //item 1\r\n },\r\n \ + \ {\r\n //item 2\r\n }\r\n ]\r\n }\r\n}\r\n\ + \r\n```\r\n\r\nTo avoid requests that may potentially crash the system or result\ + \ in an error, we have set up a default limit on results with the value `limit`:\ + \ 50. This means that regardless of the value of the property `total` in the response,\ + \ by default only 50 can be displayed at a time. The default value of the `limit`\ + \ property is set to \"50\", but can vary or be modified depending on the specific\ + \ List endpoint.\r\n\r\nTo see how many items in total your request can return\ + \ in general, see the value `total`. Depending on that number (if it is higher\ + \ than the default `offset`: 50) and your preferences, you can send another request\ + \ to fetch the next segment of the results again displayed within the default\ + \ 50 items per page limit.\r\n\r\n\r\n#### How do I know whether a certain endpoint\ + \ uses pagination?\r\n\r\nThe process of pagination requires a request that would\ + \ return a response of multiple items, or a list. When information is listed then\ + \ It requires sorting and limiting of display. \r\n\r\nEndpoints that request\ + \ information on a specific item - address, transaction, block, etc., will return\ + \ a single count of the requested item, along with its respected details, which\ + \ are the goal of the request. \r\n\r\n_**Example:**_\r\n\r\nThis is a response\ + \ example for a request to GET address details. The value `item` being in the\ + \ singular form, due to the request fetching information on one item, indicates\ + \ there is no pagination for the specific endpoint.\r\n\r\n```\r\n{\r\n \"\ + apiVersion\": \"2.0\",\r\n \"requestId\": \"xxxxxxxxxxxx\",\r\n \"address\"\ + : \"xxxxxxxxxxxx\",\r\n \"data\": {\r\n \"limit\": 0,\r\n \"\ + offset\": 50,\r\n \"total\": 1,\r\n \"item\": [\r\n {\r\ + \n //address details\r\n }\r\n ]\r\n }\r\n}\r\ + \n\r\n```\r\n\r\n_**Example:**_\r\n\r\nThe following is a different response example\ + \ for a request to GET a list of addresses by a certain attribute. The value `items`\ + \ is in the plural form, which indicates that the response includes more than\ + \ one count of the requested information, which makes it a list. Ergo, this specific\ + \ endpoint uses pagination.\r\n\r\n```\r\n{\r\n \"apiVersion\": \"2.0\",\r\n\ + \ \"requestId\": \"xxxxxxxxxxxx\",\r\n \"data\": {\r\n \"limit\"\ + : 0,\r\n \"offset\": 50,\r\n \"total\": 1000,\r\n \"items\"\ + : [\r\n {\r\n //address 1\r\n },\r\n \ + \ {\r\n //address 2\r\n },\r\n\t{\r\n\t …\r\n\t}\r\ + \n ]\r\n }\r\n}\r\n\r\n```\r\n\r\n#### How do I see the next page of\ + \ the response?\r\n\r\nCrypto APIs 2.0 obtains information from the blockchain\ + \ database, therefore a new request has to be made in order to see further items\ + \ from the response. The next response will still be limited to the default pagination\ + \ value `offset`: 50, but you can get the next page by modifying the `limit` value.\r\ + \n\r\n`limit` indicates from which item in the list should the response start\ + \ displaying results. The first paginated response of a request will by default\ + \ start count from 0, i.e. `limit`: 0. By modifying this value you can retrieve\ + \ the next segment of the results again displayed within the default 50 items\ + \ per page limit.\r\n\r\n_**Example:**_\r\n\r\n```\r\n{\r\n \"apiVersion\"\ + : \"2.0\",\r\n \"requestId\": \"xxxxxxxxxxxx\",\r\n \"data\": {\r\n \ + \ \"limit\": 51,\r\n \"offset\": 50,\r\n \"total\": 1000,\r\n\ + \ \"items\": [\r\n {\r\n //address 51\r\n \ + \ },\r\n {\r\n //address 52\r\n },\r\n\ + \t{\r\n\t …\r\n\t}\r\n ]\r\n }\r\n}\r\n\r\n```\r\n\r\nTo retrieve every\ + \ segment of the response, in order to view all possible results, you have to\ + \ each time make a new request with a modified `limit`. The default `offset` value\ + \ cannot be modified to be more or less than 50." name: Data Flow Limiting - description: "## Introduction\r\n\r\nThis article will present and describe principles,\ \ standards and conventions we apply to our APIs and processes. The following\ @@ -495,7 +504,7 @@ tags: \ APIs 2.0 include:\r\n\r\n- requests are sent through HTTPS only to the domain\ \ **rest.cryptoapis.io**;\r\n- headers must by default incorporate the JSON content\ \ type **application/json**;\r\n- all custom for Crypto APIs 2.0 attributes are\ - \ indicated in the beginning with an `x-`, e.g. `x-signature`;\r\n- request public\ + \ indicated in the beginning with an `x-`, e.g. `x-attribute`;\r\n- request public\ \ attributes must be all camelCase, e.g. `\"apiVersion\": 2`, `\"attributeName\"\ : \"attributeValue\"`;\r\n- we enable CORS (Cross-Origin Resource Sharing), for\ \ which the API responds with an `Access-Control-Allow-Origin:` header. **Nevertheless**,\ @@ -505,7 +514,7 @@ tags: \ can be added to the Crypto APIs 2.0 URI, e.g. `?randomKey=randomUnspecifiedValue`,\ \ as that will result in a 400 error;\r\n- all requests to the Crypto APIs 2.0\ \ **must** be authenticated with an API key. Clients can generate API keys through\ - \ their dedicated [Dashboards](https://dashboard.cryptoapis.io) only after product\ + \ their dedicated [Dashboards](https://my.cryptoapis.io/api-keys) only after product\ \ subscription. Multiple API keys can be generated for a single user. To see more\ \ information on Authentication, please see the respective [article](https://developers.cryptoapis.io/technical-documentation/general-information/authentication);\r\ \n- API keys must be kept secure and private by the users who own them. API keys\ @@ -623,7 +632,7 @@ tags: \ **will not** send callbacks to unverified domains, websites or URLs.{/note}\r\ \n\r\nLet’s see the main steps the customer needs to take in order to set up their\ \ Callback URL:\r\n\r\n1. First and foremost, the user must verify a domain they\ - \ have access to in general. This is done in their [Crypto APIs 2.0 Dashboard](https://dashboard.cryptoapis.io/).\ + \ have access to in general. This is done in their [Crypto APIs 2.0 Dashboard](https://my.cryptoapis.io/).\ \ The customer has to upload a unique code, provided to them by the Crypto APIs\ \ 2.0 Dashboard, to the frontend of their website.\r\n\r\n2. Afterwards, the customer\ \ can click to Verify in the Dashboard. AT that point Crypto APIs 2.0 will make\ @@ -785,24 +794,24 @@ tags: \ to verify the information they receive is in actuality really coming from Crypto\ \ APIs 2.0 and not a scam.\r\n\r\nThe `x-signature` is provided in the header\ \ of the callback and represents a unique hash derived from all the information\ - \ included in the callback about the event and the customer’s `callbackSecretKey`.\r\ - \n\r\nFor the purpose HMAC_SHA256 is used. It stands for Hash-based message authentication\ - \ code and along with its cryptographic hash function SHA256 it represents higher\ - \ security than any other authentication code.\r\n\r\nThe cryptographic strength\ - \ of the HMAC depends upon the size of the `callbackSecretKey` that has been used.\ - \ The most common attack against HMACs is brute force to uncover that secret key.\ - \ HMACs are substantially less affected by collisions than their underlying hashing\ - \ algorithms alone.\r\n\r\nWhen the customer receives the callback request from\ - \ Crypto APIs 2.0, they can first check the `x-signature` before processing the\ - \ request. By using their `callbackSecretKey`, which only they would know, together\ - \ with the information from the callback they can generate a hash and compare\ - \ it to the `x-signature` hash that the Crypto APIs 2.0 server has returned. They\ - \ **must** match which only then would authenticate Crypto APIs 2.0 as the true\ - \ sender. \r\n\r\nAfter authentication of the callback, the customer can then\ - \ proceed to processing it. If the authentication with the `x-signature` fails,\ - \ then the customer **must** ignore it as someone else is sending it.\r\n\r\n\ - _**Example:**_\r\n\r\nHMAC_SHA256 (`callbackSecretKey`, `The quick brown fox jumps\ - \ over the lazy dog`) = f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbg2d1a3cd8\r\ + \ included in the callback about the event (which must be JSON encoded) and the\ + \ customer’s `callbackSecretKey`.\r\n\r\nFor the purpose HMAC_SHA256 is used.\ + \ It stands for Hash-based message authentication code and along with its cryptographic\ + \ hash function SHA256 it represents higher security than any other authentication\ + \ code.\r\n\r\nThe cryptographic strength of the HMAC depends upon the size of\ + \ the `callbackSecretKey` that has been used. The most common attack against HMACs\ + \ is brute force to uncover that secret key. HMACs are substantially less affected\ + \ by collisions than their underlying hashing algorithms alone.\r\n\r\nWhen the\ + \ customer receives the callback request from Crypto APIs 2.0, they can first\ + \ check the `x-signature` before processing the request. By using their `callbackSecretKey`,\ + \ which only they would know, together with the information from the callback\ + \ they can generate a hash and compare it to the `x-signature` hash that the Crypto\ + \ APIs 2.0 server has returned. They **must** match which only then would authenticate\ + \ Crypto APIs 2.0 as the true sender. \r\n\r\nAfter authentication of the callback,\ + \ the customer can then proceed to processing it. If the authentication with the\ + \ `x-signature` fails, then the customer **must** ignore it as someone else is\ + \ sending it.\r\n\r\n_**Example:**_\r\n\r\nHMAC_SHA256 (`callbackSecretKey`, `The\ + \ quick brown fox jumps over the lazy dog`) = f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbg2d1a3cd8\r\ \n\r\n`callbackSecretKey` - Represents an optional string the customer can send\ \ into their request when they create the callback subscription.\r\n`The quick\ \ brown fox jumps over the lazy dog` - Represents everything we post in the body\ @@ -835,12 +844,12 @@ tags: \ \r\n\r\nUnified endpoints have the same data on the main level and varying attributes\ \ depedning on the selected Blockchain, e.g. Bitcoin, Etehreum, Litecoin, etc." name: Unified Endpoints -- description: A hierarchical deterministic (HD) wallet is a digital wallet commonly - used to store the digital keys for holders of cryptocurrencies, e.g. Bitcoin, - Ethereum, etc. Anyone with a copy of both the public and password-like private - key can control the cryptocurrency in their account. Through our HD Wallet endpoints - customers can sync HD wallets, obtain HD wallet details, list HD wallet transactions, - and more. +- description: "A hierarchical deterministic (HD) wallet is a digital wallet commonly\ + \ used to store the digital keys for holders of cryptocurrencies, e.g. Bitcoin,\ + \ Ethereum, etc. Anyone with a copy of both the public and password-like private\ + \ key can control the cryptocurrency in their account. This also refers to xPub,\ + \ yPub and zPub. Through our HD Wallet endpoints customers can sync HD wallets,\ + \ obtain HD wallet details, list HD wallet transactions, and more." name: HD Wallets - description: "You can use Automatic coins forwarding to automatically forward **coins**\ \ to your main address. These endpoints apply **only to coins, not tokens**.\r\ @@ -883,27 +892,27 @@ tags: \ verified.\r\n\r\nTo see more information on Callbacks and how they operate,\ \ please see our dedicated [documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks)." name: Manage Subscriptions -- description: Crypto APIs 2.0 useful features and tools for blockchain and crypto - operations. Users can utilize these endpoints to validate addresses, broadcast - transactions and more. +- description: "Crypto APIs 2.0 useful features and tools for blockchain and crypto\ + \ operations. Users can utilize these endpoints to validate addresses, broadcast\ + \ transactions and more." name: Features -- description: We support ERC-20, ERC-721 standards on Ethereum and Omni Layer on - Bitcoin. You can see the full list on [our website](https://cryptoapis.io/). +- description: "We support ERC-20, ERC-721 standards on Ethereum and Omni Layer on\ + \ Bitcoin. You can see the full list on [our website](https://cryptoapis.io/)." name: Tokens -- description: This section represents only endpoints related to XRP (Ripple) blockchain - protocol, relating to obtaining information on transactions, addresses and blocks. +- description: "This section represents only endpoints related to XRP (Ripple) blockchain\ + \ protocol, relating to obtaining information on transactions, addresses and blocks." name: XRP (Ripple) - description: This section represents only endpoints related to Omni Layer exchanges. name: Omni Layer -- description: Through these endpoints customers can obtain detailed information about - assets supported by Crypto APIs, bot crypto and fiat. This is part of the Market - Data product. +- description: "Through these endpoints customers can obtain detailed information\ + \ about assets supported by Crypto APIs, bot crypto and fiat. This is part of\ + \ the Market Data product." name: Assets - description: Use these endpoints to obtain information about cryptocurrency and blockchain exchange rates. This is part of the Market Data product. name: Exchange Rates -- description: Here customers can list meta information about supported assets, both - crypto and fiat. This is part of the Market Data product. +- description: "Here customers can list meta information about supported assets, both\ + \ crypto and fiat. This is part of the Market Data product." name: Metadata - description: Here customers can check information about internal transactions. name: Internal @@ -916,39 +925,37 @@ tags: - description: This category displays Wallet-as-a-Service endpoints which can be used to obtain information for the Wallet such as list deposit addresses. name: Informative -- description: This category displays endpoints that can provide users with data directly - from the Zilliqa blockchain. This can include obtaining transaction details per - block hash, block height, transaction ID, address. Get data on latest mined block - and address details. +- description: "This category displays endpoints that can provide users with data\ + \ directly from the Zilliqa blockchain. This can include obtaining transaction\ + \ details per block hash, block height, transaction ID, address. Get data on latest\ + \ mined block and address details." name: Zilliqa -- description: UTXO based endpoints - name: UTXO Based -- description: Endpoints in this category tag create a shortcut to obtain information - from Blockchain data by going through Blockchain Events and the specific Events - Subscription they take part in. The system makes a check in customers' Callbacks - for the details. If the provided attribute is correct and the customer is in fact - related to the data, further information is obtained from Blockchain data. +- description: "Endpoints in this category tag create a shortcut to obtain information\ + \ from Blockchain data by going through Blockchain Events and the specific Events\ + \ Subscription they take part in. The system makes a check in customers' Callbacks\ + \ for the details. If the provided attribute is correct and the customer is in\ + \ fact related to the data, further information is obtained from Blockchain data." name: Callback Data paths: /blockchain-data/{blockchain}/{network}/addresses/{address}: get: - description: Through this endpoint the customer can receive basic information - about a given address based on confirmed/synced blocks only. In the case where - there are any incoming or outgoing **unconfirmed** transactions for the specific - address, they **will not** be counted or calculated here. Applies only for - coins. + description: "Through this endpoint the customer can receive basic information\ + \ about a given address based on confirmed/synced blocks only. In the case\ + \ where there are any incoming or outgoing **unconfirmed** transactions for\ + \ the specific address, they **will not** be counted or calculated here. Applies\ + \ only for coins." operationId: Get Address Details parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -962,20 +969,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -984,16 +991,16 @@ paths: example: testnet type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 type: string style: simple @@ -1001,11 +1008,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -1058,24 +1067,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Address Details tags: - Unified Endpoints @@ -1084,57 +1093,57 @@ paths: x-is-list: false /blockchain-data/{blockchain}/{network}/omni/addresses/{address}: get: - description: Through this endpoint the customer can receive basic information - about a given Omni address based on confirmed/synced blocks only. In the case - where there are any incoming or outgoing **unconfirmed** transactions for - the specific address, they **will not** be counted or calculated here. + description: "Through this endpoint the customer can receive basic information\ + \ about a given Omni address based on confirmed/synced blocks only. In the\ + \ case where there are any incoming or outgoing **unconfirmed** transactions\ + \ for the specific address, they **will not** be counted or calculated here." operationId: List Omni Tokens By Address parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin example: bitcoin type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo type: string style: simple @@ -1142,11 +1151,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -1199,24 +1210,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Omni Tokens By Address tags: - Omni Layer @@ -1233,36 +1244,36 @@ paths: \ unified." operationId: Get XRP (Ripple) Address Details parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z type: string style: simple @@ -1270,11 +1281,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -1327,24 +1340,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get XRP (Ripple) Address Details tags: - XRP (Ripple) @@ -1357,20 +1370,20 @@ paths: details from the Zilliqa blockchain. operationId: Get Zilliqa Address Details parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet example: mainnet @@ -1391,11 +1404,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -1448,24 +1463,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Zilliqa Address Details tags: - Zilliqa @@ -1481,16 +1496,16 @@ paths: and it's `hash`. operationId: Get Transaction Details By Transaction ID parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -1504,20 +1519,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -1526,18 +1541,18 @@ paths: example: testnet type: string style: simple - - description: Represents the unique identifier of a transaction, i.e. it could - be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. + - description: "Represents the unique identifier of a transaction, i.e. it could\ + \ be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 explode: false in: path name: transactionId required: true schema: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 type: string style: simple @@ -1545,11 +1560,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -1609,24 +1626,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Transaction Details By Transaction ID tags: - Unified Endpoints @@ -1635,56 +1652,56 @@ paths: x-is-list: false /blockchain-data/{blockchain}/{network}/omni/addresses/{address}/transactions: get: - description: This endpoint will list Omni transactions by an attribute `address`. - The transactions listed will detail additional information such as hash, height, - time of creation in Unix timestamp, etc. + description: "This endpoint will list Omni transactions by an attribute `address`.\ + \ The transactions listed will detail additional information such as hash,\ + \ height, time of creation in Unix timestamp, etc." operationId: List Omni Transactions By Address parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin example: bitcoin type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo type: string style: simple @@ -1692,11 +1709,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -1713,18 +1732,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -1777,24 +1796,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Omni Transactions By Address tags: - Omni Layer @@ -1808,40 +1827,40 @@ paths: \ a different blockchain than Bitcoin and Ethereum, it isn't unified." operationId: Get XRP (Ripple) Transaction Details By Transaction ID parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. + - description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." example: 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d explode: false in: path name: transactionHash required: true schema: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." example: 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d type: string style: simple @@ -1849,11 +1868,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -1912,24 +1933,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get XRP (Ripple) Transaction Details By Transaction ID tags: - XRP (Ripple) @@ -1943,16 +1964,16 @@ paths: \ data from the same type will apply pagination on the results.{/note}" operationId: List Deposit Addresses parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -1961,25 +1982,26 @@ paths: - dash - ethereum - ethereum-classic + - xrp - zcash - binance-smart-chain example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -2003,11 +2025,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -2066,24 +2090,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Deposit Addresses tags: - Informative @@ -2095,16 +2119,16 @@ paths: Addresses into their Wallet. operationId: Generate Deposit Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -2113,25 +2137,26 @@ paths: - dash - ethereum - ethereum-classic + - xrp - zcash - binance-smart-chain example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -2155,11 +2180,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: @@ -2223,24 +2250,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Generate Deposit Address tags: - Generating @@ -2253,20 +2280,20 @@ paths: on the Zilliqa blockchain by providing a Transaction ID parameter. operationId: Get Zilliqa Transaction Details by Transaction ID parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet example: mainnet @@ -2287,11 +2314,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -2351,24 +2380,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Zilliqa Transaction Details by Transaction ID tags: - Zilliqa @@ -2377,21 +2406,21 @@ paths: x-is-list: false /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions: get: - description: This endpoint will list transactions by an attribute `address`. - The transactions listed will detail additional information such as hash, height, - time of creation in Unix timestamp, etc. + description: "This endpoint will list transactions by an attribute `address`.\ + \ The transactions listed will detail additional information such as hash,\ + \ height, time of creation in Unix timestamp, etc." operationId: List Confirmed Transactions By Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -2405,20 +2434,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -2427,16 +2456,16 @@ paths: example: testnet type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 type: string style: simple @@ -2444,11 +2473,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -2463,20 +2494,22 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 type: integer style: form responses: @@ -2529,24 +2562,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Confirmed Transactions By Address tags: - Unified Endpoints @@ -2561,36 +2594,36 @@ paths: \ blockchain than Bitcoin and Ethereum, it isn't unified." operationId: List XRP (Ripple) Transactions by Address parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z type: string style: simple @@ -2598,11 +2631,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -2617,20 +2652,22 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 type: integer style: form - example: payment @@ -2712,24 +2749,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List XRP (Ripple) Transactions by Address tags: - XRP (Ripple) @@ -2745,51 +2782,51 @@ paths: \ they can be added to a block." operationId: List Unconfirmed Omni Transactions By Address parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin example: bitcoin type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo type: string style: simple @@ -2797,11 +2834,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -2818,18 +2857,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -2882,24 +2921,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Unconfirmed Omni Transactions By Address tags: - Omni Layer @@ -2992,16 +3031,16 @@ paths: \ like Ethereum.{/warning}" operationId: Create Coins Transaction Request from Wallet parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -3012,10 +3051,10 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path @@ -3023,10 +3062,10 @@ paths: required: true schema: default: testnet - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -3050,11 +3089,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: @@ -3112,24 +3153,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Create Coins Transaction Request from Wallet tags: - Transactions @@ -3142,20 +3183,20 @@ paths: blockchain by the address parameter. operationId: List Zilliqa Transactions by Address parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet example: mainnet @@ -3176,11 +3217,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -3197,18 +3240,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -3261,24 +3304,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Zilliqa Transactions by Address tags: - Zilliqa @@ -3291,16 +3334,16 @@ paths: that are **unconfirmed**. operationId: List Unconfirmed Transactions by Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -3314,20 +3357,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -3336,16 +3379,16 @@ paths: example: testnet type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: 2NDt6eztswLiVgVYaGUhkTPmugUGovVypAe explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." example: 2NDt6eztswLiVgVYaGUhkTPmugUGovVypAe type: string style: simple @@ -3353,11 +3396,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -3372,20 +3417,22 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 type: integer style: form responses: @@ -3438,46 +3485,259 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Unconfirmed Transactions by Address tags: - Unified Endpoints x-cost: 1 x-charge-count: 1 x-is-list: true + /blockchain-data/xrp-specific/{network}/addresses/{address}/transactions-by-time-range: + get: + description: Тhis endpoint lists XRP transactions by the attribute `address` + and the query parameters `fromTimestamp` and `toTimestamp` which gives customers + the opportunity to filter the results by a specified time period. + operationId: List XRP (Ripple) Transactions By Address And Time Range + parameters: + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + example: testnet + type: string + style: simple + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + explode: false + in: path + name: address + required: true + schema: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + - description: Defines the specific time/date from which the results will start + being listed. + example: 1616347862 + explode: true + in: query + name: fromTimestamp + required: true + schema: + description: Defines the specific time/date from which the results will + start being listed. + example: 1616347862 + type: integer + style: form + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + format: int64 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 + type: integer + style: form + - description: Defines the specific time/date to which the results will be listed. + example: 1616347870 + explode: true + in: query + name: toTimestamp + required: true + schema: + description: Defines the specific time/date to which the results will be + listed. + example: 1616347870 + type: integer + style: form + - description: Defines the transaction type. + example: payment + explode: true + in: query + name: transactionType + required: false + schema: + description: Defines the transaction type. + enum: + - account-set + - account-delete + - check-cancel + - check-cash + - check-create + - deposit-preauth + - escrow-cancel + - escrow-create + - escrow-finish + - offer-cancel + - offer-create + - payment + - payment-channel-claim + - payment-channel-create + - payment-channel-fund + - set-regular-key + - signer-list-set + - ticket-create + - trust-set + example: payment + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressAndTimeRangeR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_16' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_16' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_16' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List XRP (Ripple) Transactions By Address And Time Range + tags: + - XRP (Ripple) + x-cost: 5 + x-charge-count: 1 + x-is-list: true /blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed: get: description: Through this endpoint customers can list all **unconfirmed** transactions for a specified blockchain and network. operationId: List All Unconfirmed Transactions parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -3491,20 +3751,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -3517,11 +3777,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -3536,10 +3798,11 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 explode: true in: query @@ -3547,9 +3810,10 @@ paths: required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 + format: int64 type: integer style: form responses: @@ -3563,13 +3827,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_16' + $ref: '#/components/schemas/inline_response_400_17' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_16' + $ref: '#/components/schemas/inline_response_401_17' description: "401" "402": content: @@ -3582,7 +3846,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_16' + $ref: '#/components/schemas/inline_response_403_17' description: "403" "409": content: @@ -3602,24 +3866,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List All Unconfirmed Transactions tags: - Unified Endpoints @@ -3628,21 +3892,21 @@ paths: x-is-list: true /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash}/transactions: get: - description: This endpoint will list transactions by an attribute `transactionHash`. - The transactions listed will detail additional information such as addresses, - height, time of creation in Unix timestamp, etc. + description: "This endpoint will list transactions by an attribute `transactionHash`.\ + \ The transactions listed will detail additional information such as addresses,\ + \ height, time of creation in Unix timestamp, etc." operationId: List Transactions by Block Hash parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -3656,20 +3920,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - testnet - mainnet @@ -3678,18 +3942,18 @@ paths: example: testnet type: string style: simple - - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. + - description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 00000000000000127080d8bcf84f4ad830a71ea0aadce3632579b6b2f26cd94b explode: false in: path name: blockHash required: true schema: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 00000000000000127080d8bcf84f4ad830a71ea0aadce3632579b6b2f26cd94b type: string style: simple @@ -3697,11 +3961,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -3716,20 +3982,22 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 type: integer style: form responses: @@ -3743,13 +4011,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_17' + $ref: '#/components/schemas/inline_response_400_18' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_17' + $ref: '#/components/schemas/inline_response_401_18' description: "401" "402": content: @@ -3762,7 +4030,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_17' + $ref: '#/components/schemas/inline_response_403_18' description: "403" "409": content: @@ -3782,24 +4050,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Transactions by Block Hash tags: - Unified Endpoints @@ -3814,38 +4082,38 @@ paths: \ a different blockchain than Bitcoin and Ethereum, it isn't unified." operationId: List XRP (Ripple) Transactions By Block Hash parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. + - description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 14754656235f865a74eba27791fd41a47bdfe07fe811ff6d78f53db32e129e39 explode: false in: path name: blockHash required: true schema: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 14754656235f865a74eba27791fd41a47bdfe07fe811ff6d78f53db32e129e39 type: string style: simple @@ -3853,11 +4121,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -3872,20 +4142,22 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 type: integer style: form responses: @@ -3899,13 +4171,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_18' + $ref: '#/components/schemas/inline_response_400_19' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_18' + $ref: '#/components/schemas/inline_response_401_19' description: "401" "402": content: @@ -3918,7 +4190,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_18' + $ref: '#/components/schemas/inline_response_403_19' description: "403" "409": content: @@ -3938,24 +4210,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List XRP (Ripple) Transactions By Block Hash tags: - XRP (Ripple) @@ -3971,53 +4243,53 @@ paths: \ so that they can be added to a block." operationId: Get Unconfirmed Omni Transaction By Transaction ID (Txid) parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin example: bitcoin type: string style: simple - - description: Represents the unique identifier of a transaction, i.e. it could - be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. + - description: "Represents the unique identifier of a transaction, i.e. it could\ + \ be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." example: 92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08 explode: false in: path name: transactionId required: true schema: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." example: 92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08 type: string style: simple @@ -4025,11 +4297,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -4043,13 +4317,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_19' + $ref: '#/components/schemas/inline_response_400_20' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_19' + $ref: '#/components/schemas/inline_response_401_20' description: "401" "402": content: @@ -4062,7 +4336,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_19' + $ref: '#/components/schemas/inline_response_403_20' description: "403" "404": content: @@ -4089,24 +4363,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Unconfirmed Omni Transaction By Transaction ID (Txid) tags: - Omni Layer @@ -4195,48 +4469,51 @@ paths: request from one address to another. operationId: Create Coins Transaction Request from Address parameters: - - description: Defines the specific source address for the transaction. + - description: Defines the specific source address for the transaction. For + XRP we also support the X-address format. example: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 explode: false in: path name: address required: true schema: - description: Defines the specific source address for the transaction. + description: Defines the specific source address for the transaction. For + XRP we also support the X-address format. example: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - ethereum - ethereum-classic - binance-smart-chain + - xrp example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - ropsten @@ -4262,11 +4539,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: @@ -4285,13 +4564,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_20' + $ref: '#/components/schemas/inline_response_400_21' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_20' + $ref: '#/components/schemas/inline_response_401_21' description: "401" "402": content: @@ -4304,7 +4583,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_20' + $ref: '#/components/schemas/inline_response_403_21' description: "403" "409": content: @@ -4324,24 +4603,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Create Coins Transaction Request from Address tags: - Transactions @@ -4354,37 +4633,37 @@ paths: blockchain by the block hash parameter. operationId: List Zilliqa Transactions By Block Hash parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet example: mainnet type: string style: simple - - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. + - description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 0x3160ca05ac12f60023de6b6987596eccbf084629f1a92b59534c5c021bf27041 explode: false in: path name: blockHash required: true schema: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 0x3160ca05ac12f60023de6b6987596eccbf084629f1a92b59534c5c021bf27041 type: string style: simple @@ -4392,11 +4671,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -4413,18 +4694,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -4438,13 +4719,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_21' + $ref: '#/components/schemas/inline_response_400_22' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_21' + $ref: '#/components/schemas/inline_response_401_22' description: "401" "402": content: @@ -4457,7 +4738,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_21' + $ref: '#/components/schemas/inline_response_403_22' description: "403" "409": content: @@ -4477,24 +4758,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Zilliqa Transactions By Block Hash tags: - Zilliqa @@ -4507,20 +4788,20 @@ paths: blockchain by the block height parameter. operationId: List Zilliqa Transactions By Block Height parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet example: mainnet @@ -4545,11 +4826,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -4566,18 +4849,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -4591,13 +4874,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_22' + $ref: '#/components/schemas/inline_response_400_23' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_22' + $ref: '#/components/schemas/inline_response_401_23' description: "401" "402": content: @@ -4610,7 +4893,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_22' + $ref: '#/components/schemas/inline_response_403_23' description: "403" "409": content: @@ -4630,24 +4913,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Zilliqa Transactions By Block Height tags: - Zilliqa @@ -4662,20 +4945,20 @@ paths: \ a different blockchain than Bitcoin and Ethereum, it isn't unified." operationId: List XRP (Ripple) Transactions By Block Height parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -4689,17 +4972,20 @@ paths: required: true schema: example: 15971358 + format: int64 type: integer style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -4714,20 +5000,22 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 type: integer style: form responses: @@ -4741,13 +5029,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_23' + $ref: '#/components/schemas/inline_response_400_24' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_23' + $ref: '#/components/schemas/inline_response_401_24' description: "401" "402": content: @@ -4760,7 +5048,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_23' + $ref: '#/components/schemas/inline_response_403_24' description: "403" "409": content: @@ -4780,24 +5068,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List XRP (Ripple) Transactions By Block Height tags: - XRP (Ripple) @@ -4806,21 +5094,21 @@ paths: x-is-list: true /blockchain-data/{blockchain}/{network}/blocks/height/{height}/transactions: get: - description: This endpoint will list transactions by an attribute `blockHeight`. - The transactions listed will detail additional information such as hash, addresses, - time of creation in Unix timestamp, etc. + description: "This endpoint will list transactions by an attribute `blockHeight`.\ + \ The transactions listed will detail additional information such as hash,\ + \ addresses, time of creation in Unix timestamp, etc." operationId: List Transactions by Block Height parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - ethereum @@ -4834,20 +5122,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -4869,17 +5157,20 @@ paths: this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block". example: 673852 + format: int64 type: integer style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -4894,20 +5185,22 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 type: integer style: form responses: @@ -4921,13 +5214,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_24' + $ref: '#/components/schemas/inline_response_400_25' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_24' + $ref: '#/components/schemas/inline_response_401_25' description: "401" "402": content: @@ -4940,7 +5233,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_24' + $ref: '#/components/schemas/inline_response_403_25' description: "403" "404": content: @@ -4966,24 +5259,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Transactions by Block Height tags: - Unified Endpoints @@ -5068,9 +5361,9 @@ paths: description: A Webhook request expects a response with status code 200 (OK) or it will retry the request. x-callback-request: true - description: Through this endpoint customers can create a new transaction from - address for **coins** specifically, which will transfer over the entire available - amount. + description: "Through this endpoint customers can create a new transaction from\ + \ address for **coins** specifically, which will transfer over the entire\ + \ available amount." operationId: Create Coins Transaction From Address For Whole Amount parameters: - description: Defines the source address. @@ -5084,16 +5377,16 @@ paths: example: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - ethereum - ethereum-classic @@ -5101,20 +5394,20 @@ paths: example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - ropsten @@ -5140,11 +5433,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: @@ -5163,13 +5458,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_25' + $ref: '#/components/schemas/inline_response_400_26' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_25' + $ref: '#/components/schemas/inline_response_401_26' description: "401" "402": content: @@ -5182,7 +5477,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_25' + $ref: '#/components/schemas/inline_response_403_26' description: "403" "409": content: @@ -5202,24 +5497,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Create Coins Transaction From Address For Whole Amount tags: - Transactions @@ -5236,16 +5531,16 @@ paths: \ etc." operationId: Get Block Details By Block Height parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - ethereum @@ -5259,20 +5554,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -5300,11 +5595,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -5318,13 +5615,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_26' + $ref: '#/components/schemas/inline_response_400_27' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_26' + $ref: '#/components/schemas/inline_response_401_27' description: "401" "402": content: @@ -5337,7 +5634,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_26' + $ref: '#/components/schemas/inline_response_403_27' description: "403" "404": content: @@ -5363,24 +5660,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Block Details By Block Height tags: - Unified Endpoints @@ -5397,20 +5694,20 @@ paths: \ unified." operationId: Get XRP (Ripple) Block Details By Block Height parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", are test networks." enum: - mainnet - testnet @@ -5436,11 +5733,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -5454,13 +5753,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_27' + $ref: '#/components/schemas/inline_response_400_28' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_27' + $ref: '#/components/schemas/inline_response_401_28' description: "401" "402": content: @@ -5473,7 +5772,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_27' + $ref: '#/components/schemas/inline_response_403_28' description: "403" "404": content: @@ -5499,24 +5798,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get XRP (Ripple) Block Details By Block Height tags: - XRP (Ripple) @@ -5532,36 +5831,36 @@ paths: \ they can be added to a block." operationId: List Unconfirmed Omni Transactions By Property ID parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin example: bitcoin @@ -5582,11 +5881,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -5603,18 +5904,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -5628,13 +5929,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_28' + $ref: '#/components/schemas/inline_response_400_29' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_28' + $ref: '#/components/schemas/inline_response_401_29' description: "401" "402": content: @@ -5647,7 +5948,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_28' + $ref: '#/components/schemas/inline_response_403_29' description: "403" "409": content: @@ -5667,24 +5968,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Unconfirmed Omni Transactions By Property ID tags: - Omni Layer @@ -5697,20 +5998,20 @@ paths: Zilliqa blockchain by providing the block Height parameter. operationId: Get Zilliqa Block Details By Block Height parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet example: mainnet @@ -5735,11 +6036,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -5753,13 +6056,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_29' + $ref: '#/components/schemas/inline_response_400_30' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_29' + $ref: '#/components/schemas/inline_response_401_30' description: "401" "402": content: @@ -5772,7 +6075,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_29' + $ref: '#/components/schemas/inline_response_403_30' description: "403" "404": content: @@ -5798,24 +6101,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Zilliqa Block Details By Block Height tags: - Zilliqa @@ -5831,16 +6134,16 @@ paths: \ data is information such as version, nonce, size, bits, merkleroot, etc." operationId: Get Block Details By Block Hash parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - ethereum @@ -5854,20 +6157,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -5876,18 +6179,18 @@ paths: example: testnet type: string style: simple - - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. + - description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c explode: false in: path name: blockHash required: true schema: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c type: string style: simple @@ -5895,11 +6198,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -5913,13 +6218,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_30' + $ref: '#/components/schemas/inline_response_400_31' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_30' + $ref: '#/components/schemas/inline_response_401_31' description: "401" "402": content: @@ -5932,7 +6237,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_30' + $ref: '#/components/schemas/inline_response_403_31' description: "403" "404": content: @@ -5958,24 +6263,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Block Details By Block Hash tags: - Unified Endpoints @@ -5992,38 +6297,38 @@ paths: \ it isn't unified." operationId: Get XRP (Ripple) Block Details By Block Hash parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. + - description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 explode: false in: path name: blockHash required: true schema: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 type: string style: simple @@ -6031,11 +6336,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -6049,13 +6356,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_31' + $ref: '#/components/schemas/inline_response_400_32' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_31' + $ref: '#/components/schemas/inline_response_401_32' description: "401" "402": content: @@ -6068,7 +6375,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_31' + $ref: '#/components/schemas/inline_response_403_32' description: "403" "404": content: @@ -6094,24 +6401,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get XRP (Ripple) Block Details By Block Hash tags: - XRP (Ripple) @@ -6120,58 +6427,59 @@ paths: x-is-list: false /blockchain-data/{blockchain}/{network}/omni/transactions/{transactionId}: get: - description: Through this endpoint customers can obtain details about an Omni - transaction by the transaction's unique identifier. The transaction can return - information such as hash, height, time of creation in Unix timestamp, etc. + description: "Through this endpoint customers can obtain details about an Omni\ + \ transaction by the transaction's unique identifier. The transaction can\ + \ return information such as hash, height, time of creation in Unix timestamp,\ + \ etc." operationId: Get Omni Transaction Details By Transaction ID (Txid) parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin example: bitcoin type: string style: simple - - description: Represents the unique identifier of a transaction, i.e. it could - be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. + - description: "Represents the unique identifier of a transaction, i.e. it could\ + \ be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." example: d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb explode: false in: path name: transactionId required: true schema: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." example: d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb type: string style: simple @@ -6179,11 +6487,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -6197,13 +6507,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_32' + $ref: '#/components/schemas/inline_response_400_33' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_32' + $ref: '#/components/schemas/inline_response_401_33' description: "401" "402": content: @@ -6216,7 +6526,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_32' + $ref: '#/components/schemas/inline_response_403_33' description: "403" "404": content: @@ -6243,24 +6553,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Omni Transaction Details By Transaction ID (Txid) tags: - Omni Layer @@ -6273,37 +6583,37 @@ paths: Zilliqa blockchain by providing the block Hash parameter. operationId: Get Zilliqa Block Details By Block Hash parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet example: mainnet type: string style: simple - - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. + - description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 explode: false in: path name: blockHash required: true schema: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 type: string style: simple @@ -6311,11 +6621,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -6329,13 +6641,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_33' + $ref: '#/components/schemas/inline_response_400_34' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_33' + $ref: '#/components/schemas/inline_response_401_34' description: "401" "402": content: @@ -6348,7 +6660,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_33' + $ref: '#/components/schemas/inline_response_403_34' description: "403" "404": content: @@ -6374,24 +6686,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Zilliqa Block Details By Block Hash tags: - Zilliqa @@ -6404,16 +6716,16 @@ paths: tokens at once. operationId: List Supported Tokens parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - ethereum - ethereum-classic @@ -6421,20 +6733,20 @@ paths: example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -6447,11 +6759,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -6468,18 +6782,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -6493,13 +6807,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_34' + $ref: '#/components/schemas/inline_response_400_35' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_34' + $ref: '#/components/schemas/inline_response_401_35' description: "401" "402": content: @@ -6512,7 +6826,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_34' + $ref: '#/components/schemas/inline_response_403_35' description: "403" "409": content: @@ -6532,24 +6846,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Supported Tokens tags: - Informative @@ -6558,20 +6872,20 @@ paths: x-is-list: true /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}: get: - description: Through this endpoint customers can obtain details about a specific - Wallet/Vault. + description: "Through this endpoint customers can obtain details on all assets\ + \ (coins, fungible tokens, non-fungible tokens) for the entire Wallet." operationId: Get Wallet Asset Details parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -6580,25 +6894,26 @@ paths: - dash - ethereum - ethereum-classic + - xrp - zcash - binance-smart-chain example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -6622,11 +6937,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -6640,13 +6957,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_35' + $ref: '#/components/schemas/inline_response_400_36' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_35' + $ref: '#/components/schemas/inline_response_401_36' description: "401" "402": content: @@ -6659,7 +6976,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_35' + $ref: '#/components/schemas/inline_response_403_36' description: "403" "404": content: @@ -6685,24 +7002,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Wallet Asset Details tags: - Informative @@ -6797,8 +7114,8 @@ paths: \ event does not or cannot occur, or will take long time to occur.{/warning}" operationId: Create Fungible Tokens Transaction Request from Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path @@ -6806,8 +7123,8 @@ paths: required: true schema: default: ethereum - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - ethereum - ethereum-classic @@ -6815,10 +7132,10 @@ paths: example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path @@ -6826,10 +7143,10 @@ paths: required: true schema: default: mainnet - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - ropsten @@ -6864,11 +7181,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: @@ -6887,13 +7206,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_36' + $ref: '#/components/schemas/inline_response_400_37' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_36' + $ref: '#/components/schemas/inline_response_401_37' description: "401" "402": content: @@ -6906,7 +7225,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_36' + $ref: '#/components/schemas/inline_response_403_37' description: "403" "409": content: @@ -6926,241 +7245,48 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Create Fungible Tokens Transaction Request from Address tags: - Transactions x-cost: 5 x-charge-count: 1 x-is-list: false - /blockchain-data/{blockchain}/{network}/blocks/last: - get: - description: "Through this endpoint customers can fetch the last mined block\ - \ in a specific blockchain network, along with its details. These could include\ - \ the hash of the specific, the previous and the next block, its transactions\ - \ count, its height, etc. \r\n\r\nBlockchain specific data is information\ - \ such as version, nonce, size, bits, merkleroot, etc." - operationId: Get Last Mined Block - parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin - explode: false - in: path - name: blockchain - required: true - schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - enum: - - bitcoin - - ethereum - - ethereum-classic - - bitcoin-cash - - litecoin - - dogecoin - - dash - - binance-smart-chain - - zcash - example: bitcoin - type: string - style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet - explode: false - in: path - name: network - required: true - schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - enum: - - mainnet - - testnet - - ropsten - - mordor - example: testnet - type: string - style: simple - - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - explode: true - in: query - name: context - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetLastMinedBlockR' - description: The request has been successful. - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_400_37' - description: "400" - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_401_37' - description: "401" - "402": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_402' - description: You have insufficient credits. Please upgrade your plan from - your Dashboard or contact our team via email. - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_403_37' - description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_2' - description: The specified block has not been found on the specific blockchain. - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. - "415": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_415' - description: The selected Media Type is unavailable. The Content-Type header - should be 'application/json'. - "422": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' - "429": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. - "500": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Last Mined Block - tags: - - Unified Endpoints - x-cost: 5 - x-charge-count: 1 - x-is-list: false - /blockchain-data/{blockchain}/{network}/omni/blocks/height/{blockHeight}/transactions: + /wallet-as-a-service/wallets/all-assets: get: - description: This endpoint will list Omni transactions by an attribute `blockHeight`. - The transactions listed will detail additional information such as hash, addresses, - time of creation in Unix timestamp, etc. - operationId: List Omni Transactions By Block Height + description: "Through this endpoint customers can obtain information about available\ + \ assets in all of their wallets, regardless of the blockchain protocol or\ + \ network." + operationId: List All Assets From All Wallets parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet - explode: false - in: path - name: network - required: true - schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - enum: - - mainnet - - testnet - example: testnet - type: string - style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin - explode: false - in: path - name: blockchain - required: true - schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - enum: - - bitcoin - example: bitcoin - type: string - style: simple - - description: Represents the number of blocks in the blockchain preceding this - specific block. Block numbers have no gaps. A blockchain usually starts - with block 0 called the "Genesis block". - example: "1941222" - explode: false - in: path - name: blockHeight - required: true - schema: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: "1941222" - type: string - style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -7177,18 +7303,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -7196,7 +7322,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightR' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsR' description: The request has been successful. "400": content: @@ -7241,68 +7367,59 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Omni Transactions By Block Height + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List All Assets From All Wallets tags: - - Omni Layer - x-cost: 1 + - Informative + x-cost: 5 x-charge-count: 1 x-is-list: true - /blockchain-data/xrp-specific/{network}/blocks/last: + /wallet-as-a-service/wallets/{walletId}/assets: get: - description: "Through this endpoint customers can fetch the last mined XRP block\ - \ in the blockchain, along with its details. These could include the hash\ - \ of the specific, the previous and the next block, its transactions count,\ - \ its height, etc. \r\n\r\nSince XRP is a different blockchain than Bitcoin\ - \ and Ethereum, it isn't unified." - operationId: Get Latest Mined XRP (Ripple) Block + description: "Through this endpoint customers can obtain information about available\ + \ assets in one of their wallets, regardless of the blockchain protocol or\ + \ network, by providing walletId." + operationId: List All Assets By Wallet ID parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: Defines the unique ID of the Wallet. + example: 60c9d9921c38030006675ff6 explode: false in: path - name: network + name: walletId required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - enum: - - mainnet - - testnet - example: testnet + description: Defines the unique ID of the Wallet. + example: 60c9d9921c38030006675ff6 type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -7310,7 +7427,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockR' + $ref: '#/components/schemas/ListAllAssetsByWalletIDR' description: The request has been successful. "400": content: @@ -7337,6 +7454,447 @@ paths: schema: $ref: '#/components/schemas/inline_response_403_39' description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List All Assets By Wallet ID + tags: + - Informative + x-cost: 5 + x-charge-count: 1 + x-is-list: true + /blockchain-data/{blockchain}/{network}/blocks/last: + get: + description: "Through this endpoint customers can fetch the last mined block\ + \ in a specific blockchain network, along with its details. These could include\ + \ the hash of the specific, the previous and the next block, its transactions\ + \ count, its height, etc. \r\n\r\nBlockchain specific data is information\ + \ such as version, nonce, size, bits, merkleroot, etc." + operationId: Get Last Mined Block + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - ethereum + - ethereum-classic + - bitcoin-cash + - litecoin + - dogecoin + - dash + - binance-smart-chain + - zcash + example: bitcoin + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + - mordor + example: testnet + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetLastMinedBlockR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_40' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_40' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_40' + description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_2' + description: The specified block has not been found on the specific blockchain. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Last Mined Block + tags: + - Unified Endpoints + x-cost: 5 + x-charge-count: 1 + x-is-list: false + /blockchain-data/{blockchain}/{network}/omni/blocks/height/{blockHeight}/transactions: + get: + description: "This endpoint will list Omni transactions by an attribute `blockHeight`.\ + \ The transactions listed will detail additional information such as hash,\ + \ addresses, time of creation in Unix timestamp, etc." + operationId: List Omni Transactions By Block Height + parameters: + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + example: testnet + type: string + style: simple + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + example: bitcoin + type: string + style: simple + - description: Represents the number of blocks in the blockchain preceding this + specific block. Block numbers have no gaps. A blockchain usually starts + with block 0 called the "Genesis block". + example: "1941222" + explode: false + in: path + name: blockHeight + required: true + schema: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: "1941222" + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_41' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_41' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_41' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Omni Transactions By Block Height + tags: + - Omni Layer + x-cost: 1 + x-charge-count: 1 + x-is-list: true + /blockchain-data/xrp-specific/{network}/blocks/last: + get: + description: "Through this endpoint customers can fetch the last mined XRP block\ + \ in the blockchain, along with its details. These could include the hash\ + \ of the specific, the previous and the next block, its transactions count,\ + \ its height, etc. \r\n\r\nSince XRP is a different blockchain than Bitcoin\ + \ and Ethereum, it isn't unified." + operationId: Get Latest Mined XRP (Ripple) Block + parameters: + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + example: testnet + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_42' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_42' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_42' + description: "403" "404": content: application/json: @@ -7361,24 +7919,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Latest Mined XRP (Ripple) Block tags: - XRP (Ripple) @@ -7387,25 +7945,25 @@ paths: x-is-list: false /blockchain-data/zilliqa-specific/{network}/blocks/last: get: - description: Through this endpoint users can obtain information on the latest - block that has been mined on the Zilliqa blockchain. Data could include the - current and previous block hashes, transaction count, and more. + description: "Through this endpoint users can obtain information on the latest\ + \ block that has been mined on the Zilliqa blockchain. Data could include\ + \ the current and previous block hashes, transaction count, and more." operationId: Get Latest Mined Zilliqa Block parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet example: mainnet @@ -7415,11 +7973,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -7433,13 +7993,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_40' + $ref: '#/components/schemas/inline_response_400_43' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_40' + $ref: '#/components/schemas/inline_response_401_43' description: "401" "402": content: @@ -7452,7 +8012,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_40' + $ref: '#/components/schemas/inline_response_403_43' description: "403" "404": content: @@ -7478,24 +8038,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Latest Mined Zilliqa Block tags: - Zilliqa @@ -7525,11 +8085,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -7543,13 +8105,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_41' + $ref: '#/components/schemas/inline_response_400_44' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_41' + $ref: '#/components/schemas/inline_response_401_44' description: "401" "402": content: @@ -7562,7 +8124,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_41' + $ref: '#/components/schemas/inline_response_403_44' description: "403" "409": content: @@ -7582,24 +8144,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Transaction Request Details tags: - Informative @@ -7612,20 +8174,20 @@ paths: latest blocks that were mined. operationId: List Latest Mined Blocks parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks" example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks" enum: - testnet - mordor @@ -7634,16 +8196,16 @@ paths: example: ropsten type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -7674,11 +8236,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -7692,13 +8256,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_42' + $ref: '#/components/schemas/inline_response_400_45' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_42' + $ref: '#/components/schemas/inline_response_401_45' description: "401" "402": content: @@ -7711,7 +8275,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_42' + $ref: '#/components/schemas/inline_response_403_45' description: "403" "404": content: @@ -7737,24 +8301,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Latest Mined Blocks tags: - Unified Endpoints @@ -7763,50 +8327,56 @@ paths: x-is-list: true /blockchain-data/{blockchain}/{network}/hd/sync: post: - description: HD wallets usually have a lot of addresses and transactions, getting - the data on demand is a heavy operation. That's why we have created this feature, - to be able to get HD wallet details or transactions this HD wallet must be - synced first. In addition to the initial sync we keep updating the synced - HD wallets all the time. - operationId: Sync HD Wallet (xPub, yPub, zPub) + description: "HD wallets usually have a lot of addresses and transactions, getting\ + \ the data on demand is a heavy operation. That's why we have created this\ + \ feature, to be able to get HD wallet details or transactions this HD wallet\ + \ must be synced first. In addition to the initial sync we keep updating the\ + \ synced HD wallets all the time." + operationId: "Sync HD Wallet (xPub, yPub, zPub)" parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash - litecoin - dogecoin - dash + - ethereum - zcash + - ethereum-classic + - binance-smart-chain + - xrp example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet + - ropsten + - mordor example: testnet type: string style: simple @@ -7814,11 +8384,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: @@ -7837,13 +8409,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_43' + $ref: '#/components/schemas/inline_response_400_46' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_43' + $ref: '#/components/schemas/inline_response_401_46' description: "401" "402": content: @@ -7856,7 +8428,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_43' + $ref: '#/components/schemas/inline_response_403_46' description: "403" "409": content: @@ -7882,18 +8454,18 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Sync HD Wallet (xPub, yPub, zPub) + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: "Sync HD Wallet (xPub, yPub, zPub)" tags: - HD Wallets x-cost: 100 @@ -7901,58 +8473,58 @@ paths: x-is-list: false /blockchain-data/{blockchain}/{network}/omni/blocks/hash/{blockHash}/transactions: get: - description: This endpoint will list Omni transactions by an attribute `transactionHash`. - The transactions listed will detail additional information such as addresses, - height, time of creation in Unix timestamp, etc. + description: "This endpoint will list Omni transactions by an attribute `transactionHash`.\ + \ The transactions listed will detail additional information such as addresses,\ + \ height, time of creation in Unix timestamp, etc." operationId: List Omni Transactions By Block Hash parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet example: testnet type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin example: bitcoin type: string style: simple - - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. + - description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 000000000000001f50c9d33d122562daa7fc9582df0b415e626216c37d015818 explode: false in: path name: blockHash required: true schema: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." example: 000000000000001f50c9d33d122562daa7fc9582df0b415e626216c37d015818 type: string style: simple @@ -7960,11 +8532,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -7981,18 +8555,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -8006,13 +8580,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_44' + $ref: '#/components/schemas/inline_response_400_47' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_44' + $ref: '#/components/schemas/inline_response_401_47' description: "401" "402": content: @@ -8025,7 +8599,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_44' + $ref: '#/components/schemas/inline_response_403_47' description: "403" "409": content: @@ -8045,24 +8619,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Omni Transactions By Block Hash tags: - Omni Layer @@ -8071,21 +8645,21 @@ paths: x-is-list: true /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transactions: get: - description: Through this endpoint customers can list Transactions from and - to their Wallet. The data returned will include `transactionId`, `direction` - of the transaction - incoming or outgoing, `amount` and more. + description: "Through this endpoint customers can list Transactions from and\ + \ to their Wallet. The data returned will include `transactionId`, `direction`\ + \ of the transaction - incoming or outgoing, `amount` and more." operationId: List Wallet Transactions parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -8094,25 +8668,26 @@ paths: - dash - ethereum - ethereum-classic + - xrp - zcash - binance-smart-chain example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -8136,11 +8711,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -8157,8 +8734,8 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 explode: true in: query @@ -8166,8 +8743,8 @@ paths: required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer style: form @@ -8182,13 +8759,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_45' + $ref: '#/components/schemas/inline_response_400_48' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_45' + $ref: '#/components/schemas/inline_response_401_48' description: "401" "402": content: @@ -8201,7 +8778,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_45' + $ref: '#/components/schemas/inline_response_403_48' description: "403" "404": content: @@ -8227,24 +8804,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Wallet Transactions tags: - Informative @@ -8258,16 +8835,16 @@ paths: a transaction that has been made from their own wallet. operationId: Get Wallet Transaction Details By Transaction ID parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - ethereum @@ -8281,20 +8858,20 @@ paths: example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -8303,18 +8880,18 @@ paths: example: testnet type: string style: simple - - description: Represents the unique identifier of a transaction, i.e. it could - be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. + - description: "Represents the unique identifier of a transaction, i.e. it could\ + \ be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." example: 3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80 explode: false in: path name: transactionId required: true schema: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." example: 3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80 type: string style: simple @@ -8322,11 +8899,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -8340,13 +8919,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_46' + $ref: '#/components/schemas/inline_response_400_49' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_46' + $ref: '#/components/schemas/inline_response_401_49' description: "401" "402": content: @@ -8359,7 +8938,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_46' + $ref: '#/components/schemas/inline_response_403_49' description: "403" "404": content: @@ -8385,55 +8964,230 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Wallet Transaction Details By Transaction ID tags: - Informative x-cost: 1 x-charge-count: 1 x-is-list: false + /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/assets: + get: + description: "This endpoint will return details on assets we support for a specified\ + \ from the customer extended public key (xPub). These could be cryptocurrencies,\ + \ fungible or non-fungible (NFT) tokens. Each asset has a unique identifier\ + \ - assetId, and a unique symbol in the form of a string, e.g. \"USDT\"." + operationId: "Get HD Wallet (xPub, yPub, zPub) Assets" + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - ethereum + - zcash + - ethereum-classic + - binance-smart-chain + - xrp + example: ethereum + type: string + style: simple + - description: Defines the account extended publicly known key which is used + to derive all child public keys. + example: xpub68SyZPMPpZUy9QB2fk2J28b5Rwd6jeWKind3K8oziZuVcL7wWZiXZNCPKuh42ejSpTLYngQ9Gbzj9a1Ap2QQmoFs2sMSbUvkEr8D3GW7MrR + explode: false + in: path + name: extendedPublicKey + required: true + schema: + description: Defines the account extended publicly known key which is used + to derive all child public keys. + example: xpub68SyZPMPpZUy9QB2fk2J28b5Rwd6jeWKind3K8oziZuVcL7wWZiXZNCPKuh42ejSpTLYngQ9Gbzj9a1Ap2QQmoFs2sMSbUvkEr8D3GW7MrR + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + - mordor + example: ropsten + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + - description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." + example: account + explode: true + in: query + name: derivation + required: false + schema: + description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." + enum: + - account + - bip32 + example: account + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_50' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_50' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_50' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422_2' + description: "422" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: "Get HD Wallet (xPub, yPub, zPub) Assets" + tags: + - HD Wallets + x-cost: 25 + x-charge-count: 1 + x-is-list: false /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/details: get: - description: HD wallet details is useful endpoint to get the most important - data about HD wallet without the need to do a lot of calculations, once the - HD Wallet is synced using Sync endpoint we keep it up to date and we calculate - these details in advance. - operationId: Get HD Wallet (xPub, yPub, zPub) Details + description: "HD wallet details is useful endpoint to get the most important\ + \ data about HD wallet without the need to do a lot of calculations, once\ + \ the HD Wallet is synced using Sync endpoint we keep it up to date and we\ + \ calculate these details in advance." + operationId: "Get HD Wallet (xPub, yPub, zPub) Details" parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash - litecoin - dogecoin - dash + - ethereum - zcash + - ethereum-classic + - binance-smart-chain + - xrp example: bitcoin type: string style: simple @@ -8450,23 +9204,25 @@ paths: example: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet + - ropsten + - mordor example: testnet type: string style: simple @@ -8474,24 +9230,26 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - - description: The way how the HD walled derives, for example when the type - is ACCOUNT, it derives change and receive addresses while when the type - is BIP32 it derives directly. + - description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." explode: true in: query name: derivation required: false schema: - description: The way how the HD walled derives, for example when the type - is ACCOUNT, it derives change and receive addresses while when the type - is BIP32 it derives directly. + description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." enum: - account - bip32 @@ -8508,13 +9266,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_47' + $ref: '#/components/schemas/inline_response_400_51' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_47' + $ref: '#/components/schemas/inline_response_401_51' description: "401" "402": content: @@ -8527,7 +9285,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_47' + $ref: '#/components/schemas/inline_response_403_51' description: "403" "409": content: @@ -8546,25 +9304,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_422_2' + $ref: '#/components/schemas/inline_response_422_3' description: "422" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get HD Wallet (xPub, yPub, zPub) Details + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: "Get HD Wallet (xPub, yPub, zPub) Details" tags: - HD Wallets x-cost: 100 @@ -8579,16 +9337,16 @@ paths: \ call." operationId: List Internal Transaction Details by Transaction Hash parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - ethereum - binance-smart-chain @@ -8596,20 +9354,20 @@ paths: example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -8635,11 +9393,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -8656,8 +9416,8 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 explode: true in: query @@ -8665,8 +9425,8 @@ paths: required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer style: form @@ -8681,13 +9441,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_48' + $ref: '#/components/schemas/inline_response_400_52' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_48' + $ref: '#/components/schemas/inline_response_401_52' description: "401" "402": content: @@ -8700,7 +9460,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_48' + $ref: '#/components/schemas/inline_response_403_52' description: "403" "409": content: @@ -8720,24 +9480,24 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: List Internal Transaction Details by Transaction Hash tags: - internal @@ -8747,7 +9507,7 @@ paths: /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/transactions: get: description: This endpoint will list HD Wallet transactions. - operationId: List HD Wallet (xPub, yPub, zPub) Transactions + operationId: "List HD Wallet (xPub, yPub, zPub) Transactions" parameters: - description: Represents the specific blockchain. example: bitcoin @@ -8763,7 +9523,11 @@ paths: - litecoin - dogecoin - dash + - ethereum - zcash + - ethereum-classic + - binance-smart-chain + - xrp example: bitcoin type: string style: simple @@ -8778,23 +9542,25 @@ paths: example: tpubD9GMECjiZHCaF9NHSMAeMbQMXnM7CviEJZsYBuztVwsUjPHWjxewWAUXWV2UExaAtoEvQGXDBmVWo6ZHGtj6TsH6Pop7D9DskQwGHA1gu1w type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet + - ropsten + - mordor example: testnet type: string style: simple @@ -8802,24 +9568,26 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - - description: The way how the HD walled derives, for example when the type - is ACCOUNT, it derives change and receive addresses while when the type - is BIP32 it derives directly. + - description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." explode: true in: query name: derivation required: false schema: - description: The way how the HD walled derives, for example when the type - is ACCOUNT, it derives change and receive addresses while when the type - is BIP32 it derives directly. + description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." enum: - account - bip32 @@ -8839,18 +9607,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -8864,13 +9632,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_49' + $ref: '#/components/schemas/inline_response_400_53' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_49' + $ref: '#/components/schemas/inline_response_401_53' description: "401" "402": content: @@ -8883,7 +9651,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_49' + $ref: '#/components/schemas/inline_response_403_53' description: "403" "409": content: @@ -8902,25 +9670,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_422_3' + $ref: '#/components/schemas/inline_response_422_4' description: "422" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List HD Wallet (xPub, yPub, zPub) Transactions + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: "List HD Wallet (xPub, yPub, zPub) Transactions" tags: - HD Wallets x-cost: 1 @@ -8935,16 +9703,16 @@ paths: \ by an EOA or a subsequent contract call." operationId: Get Internal Transaction by Transaction Hash and Operation Id parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - ethereum - binance-smart-chain @@ -8952,20 +9720,20 @@ paths: example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: mainnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -9004,11 +9772,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -9022,13 +9792,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_50' + $ref: '#/components/schemas/inline_response_400_54' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_50' + $ref: '#/components/schemas/inline_response_401_54' description: "401" "402": content: @@ -9041,7 +9811,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_50' + $ref: '#/components/schemas/inline_response_403_54' description: "403" "404": content: @@ -9068,95 +9838,118 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Internal Transaction by Transaction Hash and Operation Id tags: - internal x-cost: 1 x-charge-count: 1 x-is-list: false - /blockchain-data/{blockchain}/{network}/addresses/{address}/internal: + /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/utxos: get: - description: Through this endpoint customers can list internal transactions - by the `address` attribute. - operationId: List Internal Transactions By Address + description: Through this endpoint you can list HD wallet's UTXOs (Unspent Transaction + Outputs) by providing extended public key of an already synced HD wallet. + operationId: "List HD Wallet (xPub, yPub, zPub) UTXOs" parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: ethereum + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - ethereum - - ethereum-classic - - binance-smart-chain - example: ethereum + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - zcash + example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: ropsten + - description: Defines the account extended publicly known key which is used + to derive all child public keys. + example: tpubDDCs6jf3Tg8VTts6EBCNpibVanPQpSkmYRLAXVvuhcuC6ZcbYtEizqERj8D4TBukuvjNSjtjEbKYdtFuRG5WuisrirZG9m5L8wUvf4bHhgQ explode: false in: path - name: network + name: extendedPublicKey required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - enum: - - mainnet - - ropsten - - mordor - - testnet - example: ropsten + description: Defines the account extended publicly known key which is used + to derive all child public keys. + example: tpubDDCs6jf3Tg8VTts6EBCNpibVanPQpSkmYRLAXVvuhcuC6ZcbYtEizqERj8D4TBukuvjNSjtjEbKYdtFuRG5WuisrirZG9m5L8wUvf4bHhgQ type: string style: simple - - description: String identifier of the address document represented in CryptoAPIs - example: 0xc8fe2ceac93ad50e496b497357ae5385192dd28d + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet explode: false in: path - name: address + name: network required: true schema: - description: String identifier of the address document represented in CryptoAPIs - example: 0xc8fe2ceac93ad50e496b497357ae5385192dd28d + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + example: testnet type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString + type: string + style: form + - description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." + example: account + explode: true + in: query + name: derivation + required: false + schema: + description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." + enum: + - account + - bip32 + example: account type: string style: form - description: Defines how many items should be returned in the response per @@ -9173,8 +9966,8 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 explode: true in: query @@ -9182,8 +9975,8 @@ paths: required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer style: form @@ -9192,19 +9985,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListInternalTransactionsByAddressR' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubUTXOsR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_51' + $ref: '#/components/schemas/inline_response_400_55' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_51' + $ref: '#/components/schemas/inline_response_401_55' description: "401" "402": content: @@ -9217,7 +10010,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_51' + $ref: '#/components/schemas/inline_response_403_55' description: "403" "409": content: @@ -9236,99 +10029,97 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + $ref: '#/components/schemas/inline_response_422_5' + description: "422" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Internal Transactions By Address + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: "List HD Wallet (xPub, yPub, zPub) UTXOs" tags: - - internal + - HD Wallets x-cost: 5 x-charge-count: 1 x-is-list: true - /blockchain-data/{blockchain}/{network}/addresses/{address}/unspent: + /blockchain-data/{blockchain}/{network}/addresses/{address}/internal: get: - description: Through this endpoint customers can list their transactions' unspent - outputs by `address`. - operationId: List Unspent Transaction Outputs By Address + description: Through this endpoint customers can list internal transactions + by the `address` attribute. + operationId: List Internal Transactions By Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - bitcoin - - litecoin - - bitcoin-cash - - dogecoin - - dash - - zcash - example: bitcoin + - ethereum + - ethereum-classic + - binance-smart-chain + example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - - testnet - mainnet - example: testnet + - ropsten + - mordor + - testnet + example: ropsten type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. - example: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + - description: String identifier of the address document represented in CryptoAPIs + example: 0xc8fe2ceac93ad50e496b497357ae5385192dd28d explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. - example: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + description: String identifier of the address document represented in CryptoAPIs + example: 0xc8fe2ceac93ad50e496b497357ae5385192dd28d type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -9345,8 +10136,8 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 explode: true in: query @@ -9354,8 +10145,8 @@ paths: required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer style: form @@ -9364,19 +10155,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressR' + $ref: '#/components/schemas/ListInternalTransactionsByAddressR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_52' + $ref: '#/components/schemas/inline_response_400_56' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_52' + $ref: '#/components/schemas/inline_response_401_56' description: "401" "402": content: @@ -9389,7 +10180,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_52' + $ref: '#/components/schemas/inline_response_403_56' description: "403" "409": content: @@ -9409,49 +10200,49 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Unspent Transaction Outputs By Address + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Internal Transactions By Address tags: - - UTXO Based + - internal x-cost: 5 x-charge-count: 1 x-is-list: true /blockchain-data/{blockchain}/{network}/mempool/fees: get: - description: Through this endpoint customers can obtain fee recommendations. - Our fees recommendations are based on Mempool data which makes them much more - accurate than fees based on already mined blocks. Calculations are done in - real time live. Using this endpoint customers can get gas price for Ethereum, - fee per byte for Bitcoin, etc. + description: "Through this endpoint customers can obtain fee recommendations.\ + \ Our fees recommendations are based on Mempool data which makes them much\ + \ more accurate than fees based on already mined blocks. Calculations are\ + \ done in real time live. Using this endpoint customers can get gas price\ + \ for Ethereum, fee per byte for Bitcoin, etc." operationId: Get Fee Recommendations parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - ethereum @@ -9462,23 +10253,24 @@ paths: - litecoin - binance-smart-chain - zcash + - xrp example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -9491,11 +10283,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -9509,13 +10303,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_53' + $ref: '#/components/schemas/inline_response_400_57' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_53' + $ref: '#/components/schemas/inline_response_401_57' description: "401" "402": content: @@ -9528,7 +10322,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_53' + $ref: '#/components/schemas/inline_response_403_57' description: "403" "404": content: @@ -9554,49 +10348,46 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." summary: Get Fee Recommendations tags: - Unified Endpoints x-cost: 5 x-charge-count: 1 x-is-list: false - /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers: + /blockchain-data/{blockchain}/{network}/addresses/{address}/next-available-nonce: get: - description: "Through this endpoint customers can obtain a list with token transfers\ - \ by the `transactionHash` attribute. Token transfers may include information\ - \ such as addresses of the sender and recipient, token name, token symbol,\ - \ etc.\r\n\r\n{note}This refers only to transfers done for **tokens** not\ - \ coins.{/note}" - operationId: List Tokens Transfers By Transaction Hash + description: "Through this endpoint customers can get information about the\ + \ next available nonce by providing the specific blockchain, network and address." + operationId: Get Next Available Nonce parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Ethereum Classic, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Ethereum Classic, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - ethereum - ethereum-classic @@ -9604,52 +10395,198 @@ paths: example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - - mainnet - ropsten + - mainnet - mordor - testnet example: ropsten type: string style: simple - - description: Represents the hash of the transaction, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. - example: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x626b046b0ce356f248b215b01b459f8b8d59e1a4 explode: false in: path - name: transactionHash + name: address required: true schema: - description: Represents the hash of the transaction, which is its unique - identifier. It represents a cryptographic digital fingerprint made by - hashing the block header twice through the SHA256 algorithm. - example: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x626b046b0ce356f248b215b01b459f8b8d59e1a4 + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetNextAvailableNonceR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_58' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_58' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_58' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Next Available Nonce + tags: + - Unified Endpoints + x-cost: 5 + x-charge-count: 1 + x-is-list: false + /blockchain-data/{blockchain}/{network}/addresses/{address}/unspent-outputs: + get: + description: Through this endpoint customers can list their transactions' unspent + outputs by `address`. + operationId: List Unspent Transaction Outputs By Address + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - bitcoin-cash + - litecoin + - dash + - dogecoin + - zcash + example: bitcoin + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - testnet + - mainnet + example: testnet + type: string + style: simple + - description: Represents the address that has unspend funds per which the result + is returned. + example: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + explode: false + in: path + name: address + required: true + schema: + description: Represents the address that has unspend funds per which the + result is returned. + example: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -9666,18 +10603,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -9685,19 +10622,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListTokensTransfersByTransactionHashR' + $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_54' + $ref: '#/components/schemas/inline_response_400_59' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_54' + $ref: '#/components/schemas/inline_response_401_59' description: "401" "402": content: @@ -9710,7 +10647,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_54' + $ref: '#/components/schemas/inline_response_403_59' description: "403" "409": content: @@ -9730,49 +10667,49 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Tokens Transfers By Transaction Hash + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Unspent Transaction Outputs By Address tags: - - Tokens - x-cost: 1 + - Unified Endpoints + x-cost: 5 x-charge-count: 1 x-is-list: true - /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers: + /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers: get: - description: "Through this endpoint customers can obtain a list with **confirmed**\ - \ token transfers by the `address` attribute. Token transfers may include\ - \ information such as addresses of the sender and recipient, token name, token\ - \ symbol, etc.\r\n\r\n{note}This refers only to transfers done for **confirmed\ - \ tokens** not coins.{/note}" - operationId: List Confirmed Tokens Transfers By Address + description: "Through this endpoint customers can obtain a list with token transfers\ + \ by the `transactionHash` attribute. Token transfers may include information\ + \ such as addresses of the sender and recipient, token name, token symbol,\ + \ etc.\r\n\r\n{note}This refers only to transfers done for **tokens** not\ + \ coins.{/note}" + operationId: List Tokens Transfers By Transaction Hash parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Ethereum Classic, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Ethereum Classic, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." enum: - ethereum - ethereum-classic @@ -9780,20 +10717,20 @@ paths: example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - ropsten @@ -9802,28 +10739,32 @@ paths: example: ropsten type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. - example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + - description: "Represents the hash of the transaction, which is its unique\ + \ identifier. It represents a cryptographic digital fingerprint made by\ + \ hashing the block header twice through the SHA256 algorithm." + example: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 explode: false in: path - name: address + name: transactionHash required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. - example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + description: "Represents the hash of the transaction, which is its unique\ + \ identifier. It represents a cryptographic digital fingerprint made by\ + \ hashing the block header twice through the SHA256 algorithm." + example: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -9840,8 +10781,8 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 explode: true in: query @@ -9849,8 +10790,8 @@ paths: required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer style: form @@ -9859,19 +10800,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressR' + $ref: '#/components/schemas/ListTokensTransfersByTransactionHashR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_55' + $ref: '#/components/schemas/inline_response_400_60' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_55' + $ref: '#/components/schemas/inline_response_401_60' description: "401" "402": content: @@ -9884,7 +10825,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_55' + $ref: '#/components/schemas/inline_response_403_60' description: "403" "409": content: @@ -9904,98 +10845,107 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Confirmed Tokens Transfers By Address + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Tokens Transfers By Transaction Hash tags: - Tokens x-cost: 1 x-charge-count: 1 x-is-list: true - /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens: + /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions-by-time-range: get: - description: Through this endpoint customers can obtain token data by providing - an attribute - `address`. The information that can be returned can include - the contract address, the token symbol, type and balance. - operationId: List Tokens By Address + description: This endpoint will list confirmed transactions by the attribute + `address` and the query parameters `fromTimestamp` and `toTimestamp` which + gives customers the opportunity to filter the results by a specified time + period. + operationId: List Confirmed Transactions By Address And Time Range parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Ethereum Classic, etc. - example: ethereum + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Ethereum Classic, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - ethereum + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash - ethereum-classic + - ethereum - binance-smart-chain - example: ethereum + - zcash + example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: ropsten + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - - ropsten - - mordor - testnet - example: ropsten + - mordor + - ropsten + example: testnet type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. - example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 explode: false in: path name: address required: true schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. - example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -10010,20 +10960,47 @@ paths: description: Defines how many items should be returned in the response per page basis. example: 50 + format: int64 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + format: int64 + type: integer + style: form + - description: Defines the specific time/date from which the results will start + being listed. + example: 1236238648 + explode: true + in: query + name: fromTimestamp + required: true + schema: + description: Defines the specific time/date from which the results will + start being listed. + example: 1236238648 + type: integer + style: form + - description: Defines the specific time/date to which the results will be listed. + example: 1644417868 + explode: true + in: query + name: toTimestamp + required: true + schema: + description: Defines the specific time/date to which the results will be + listed. + example: 1644417868 type: integer style: form responses: @@ -10031,19 +11008,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListTokensByAddressR' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_56' + $ref: '#/components/schemas/inline_response_400_61' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_56' + $ref: '#/components/schemas/inline_response_401_61' description: "401" "402": content: @@ -10056,7 +11033,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_56' + $ref: '#/components/schemas/inline_response_403_61' description: "403" "409": content: @@ -10076,49 +11053,49 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Tokens By Address + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Confirmed Transactions By Address And Time Range tags: - - Tokens - x-cost: 1 + - Unified Endpoints + x-cost: 5 x-charge-count: 1 x-is-list: true - /blockchain-data/{blockchain}/{network}/addresses/{contractAddress}/contract: + /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-by-time-range: get: - description: "Though this endpoint customers can obtain information about token\ - \ details. This can be done by providing the `contact address` parameter.\r\ - \n\r\n{note}This address is **not** the same as the smart contract creator\ - \ address.{/note}" - operationId: Get Token Details by Contract Address + description: "Through this endpoint customers can obtain a list with **confirmed**\ + \ token transfers by the `address` attribute and the query parameters `fromTimestamp`\ + \ and `toTimestamp` which gives customers the opportunity to filter the results\ + \ by a specified time period.\r\n\r\n{note}This refers only to transfers done\ + \ for **confirmed tokens** not coins.{/note}" + operationId: List Confirmed Tokens Transfers By Address And Time Range parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - default: ethereum - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." enum: - ethereum - ethereum-classic @@ -10126,20 +11103,20 @@ paths: example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - ropsten @@ -10148,46 +11125,103 @@ paths: example: ropsten type: string style: simple - - description: Defines the specific address of the contract. - example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 explode: false in: path - name: contractAddress + name: address required: true schema: - description: Defines the specific address of the contract. - example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + - description: Defines the specific time/date from which the results will start + being listed. + example: 1236238648 + explode: true + in: query + name: fromTimestamp + required: true + schema: + description: Defines the specific time/date from which the results will + start being listed. + example: 1236238648 + type: integer + style: form + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + style: form + - description: Defines the specific time/date to which the results will be listed. + example: 1644417868 + explode: true + in: query + name: toTimestamp + required: true + schema: + description: Defines the specific time/date to which the results will be + listed. + example: 1644417868 + type: integer + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetTokenDetailsByContractAddressR' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressAndTimeRangeR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_57' + $ref: '#/components/schemas/inline_response_400_62' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_57' + $ref: '#/components/schemas/inline_response_401_62' description: "401" "402": content: @@ -10200,7 +11234,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_57' + $ref: '#/components/schemas/inline_response_403_62' description: "403" "409": content: @@ -10220,154 +11254,172 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Token Details by Contract Address + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Confirmed Tokens Transfers By Address And Time Range tags: - - Tokens - x-cost: 10 + - Unified Endpoints + x-cost: 5 x-charge-count: 1 - x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-unconfirmed: - post: - callbacks: - ADDRESS_COINS_TRANSACTION_UNCONFIRMED: - '{$request.BODY#/callbackUrl': - post: - operationId: aDDRESS_COINS_TRANSACTION_UNCONFIRMED_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddressCoinsTransactionUnconfirmed' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when there are new unconfirmed\ - \ coins transactions for the user. By creating this subscription the user\ - \ will be notified by Crypto APIs 2.0 when that event occurs. The information\ - \ is returned per specified address.\r\n\r\nUnconfirmed coins transactions\ - \ remain in the mempool (memory pool) until they are confirmed by miners and\ - \ added to the next block. Sometimes spikes in transaction activity can cause\ - \ delays in confirmations.\r\n\r\n{note}For UTXO-based protocols like Bitcoin\ - \ a transaction could have multiple inputs and outputs which means the address\ - \ could in as both sender and recipient. [Here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-data-returned-for-utxo-based-transactions)\ - \ is how we inform you on that.{/note}\r\n\r\n{warning}We cannot guarantee\ - \ at 100% that webhooks for unconfirmed transactions will always be received.\ - \ Some may **not get received** due to the possibility of some nodes not being\ - \ updated with that information. This can occur in networks with low activity\ - \ and/or not many nodes, e.g. Testnet networks and rarely Mainnets.{/warning}\r\ - \n\r\n{note}To have an operational callback subscription, you need to first\ - \ verify a domain for the Callback URL. Please see more information on Callbacks\ - \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{note}It is also **important to note** that just because pending unconfirmed\ - \ transactions are in the mempool, **doesn't necessarily** mean they will\ - \ get confirmed.{/note}\r\n\r\n{warning}Crypto APIs will notify the user **only\ - \ when** the event occurs. There are cases when the specific event doesn't\ - \ happen at all, or takes a long time to do so. A callback notification **will\ - \ not** be sent if the event does not or cannot occur, or will take long time\ - \ to occur.{/warning}" - operationId: New unconfirmed coins transactions + x-is-list: true + /blockchain-data/{blockchain}/{network}/addresses/{address}/internal-by-time-range: + get: + description: Through this endpoint customers can list internal transactions + by the `address` attribute and the query parameters `fromTimestamp` and `toTimestamp` which + gives customers the opportunity to filter the results by a specified time + period. + operationId: List Internal Transactions By Address And Time Range parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - bitcoin - - bitcoin-cash - - litecoin - - dogecoin - - dash - ethereum - ethereum-classic - binance-smart-chain - - zcash - example: bitcoin + example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - - testnet - ropsten - mordor - example: testnet + - testnet + example: ropsten + type: string + style: simple + - description: String identifier of the address document represented in CryptoAPIs + example: 0xc8fe2ceac93ad50e496b497357ae5385192dd28d + explode: false + in: path + name: address + required: true + schema: + description: String identifier of the address document represented in CryptoAPIs + example: 0xc8fe2ceac93ad50e496b497357ae5385192dd28d type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsRB' + - description: Defines the specific time/date from which the results will start + being listed. + example: 1635979828 + explode: true + in: query + name: fromTimestamp + required: true + schema: + description: Defines the specific time/date from which the results will + start being listed. + example: 1635979828 + type: integer + style: form + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + style: form + - description: Defines the specific time/date to which the results will be listed. + example: 1643329896 + explode: true + in: query + name: toTimestamp + required: true + schema: + description: Defines the specific time/date to which the results will be + listed. + example: 1643329896 + type: integer + style: form responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsR' - description: The resource has been successfully created. + $ref: '#/components/schemas/ListInternalTransactionsByAddressAndTimeRangeR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_58' + $ref: '#/components/schemas/inline_response_400_63' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_58' + $ref: '#/components/schemas/inline_response_401_63' description: "401" "402": content: @@ -10380,14 +11432,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_58' + $ref: '#/components/schemas/inline_response_403_63' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_6' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -10400,145 +11452,150 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New unconfirmed coins transactions + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Internal Transactions By Address And Time Range tags: - - Create Subscriptions for - x-cost: 10 + - Unified Endpoints + x-cost: 5 x-charge-count: 1 - x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-unconfirmed: - post: - callbacks: - ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED: - '{$request.BODY#/callbackUrl': - post: - operationId: aDDRESS_TOKENS_TRANSACTION_UNCONFIRMED_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddressTokensTransactionUnconfirmed' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when there are new unconfirmed\ - \ tokens transactions for the user. By creating this subscription the user\ - \ will be notified by Crypto APIs 2.0 when that event occurs. The information\ - \ is returned per specified address.\r\n\r\nUnconfirmed tokens transactions\ - \ remain in the mempool (memory pool) until they are confirmed by miners and\ - \ added to the next block. Sometimes spikes in transaction activity can cause\ - \ delays in confirmations.\r\n\r\n{warning}We cannot guarantee at 100% that\ - \ webhooks for unconfirmed transactions will always be received. Some may\ - \ **not get received** due to the possibility of some nodes not being updated\ - \ with that information. This can occur in networks with low activity and/or\ - \ not many nodes, e.g. Testnet networks and rarely Mainnets.{/warning}\r\n\ - \r\n{note}To have an operational callback subscription, you need to first\ - \ verify a domain for the Callback URL. Please see more information on Callbacks\ - \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{note}It is also **important to note** that just because pending unconfirmed\ - \ transactions are in the mempool, **doesn't necessarily** mean they will\ - \ get confirmed.{/note}\r\n\r\n{warning}Crypto APIs will notify the user **only\ - \ when** the event occurs. There are cases when the specific event doesn't\ - \ happen at all, or takes a long time to do so. A callback notification **will\ - \ not** be sent if the event does not or cannot occur, or will take long time\ - \ to occur.{/warning}" - operationId: New unconfirmed tokens transactions + x-is-list: true + /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers: + get: + description: "Through this endpoint customers can obtain a list with **confirmed**\ + \ token transfers by the `address` attribute. Token transfers may include\ + \ information such as addresses of the sender and recipient, token name, token\ + \ symbol, etc.\r\n\r\n{note}This refers only to transfers done for **confirmed\ + \ tokens** not coins.{/note}" + operationId: List Confirmed Tokens Transfers By Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." enum: - - bitcoin - ethereum - ethereum-classic + - binance-smart-chain example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - - testnet - ropsten - mordor + - testnet example: ropsten type: string style: simple + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + explode: false + in: path + name: address + required: true + schema: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + type: string + style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsRB' + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + style: form responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsR' - description: The resource has been successfully created. + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_59' + $ref: '#/components/schemas/inline_response_400_64' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_59' + $ref: '#/components/schemas/inline_response_401_64' description: "401" "402": content: @@ -10551,14 +11608,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_59' + $ref: '#/components/schemas/inline_response_403_64' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_7' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -10571,147 +11628,122 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New unconfirmed tokens transactions + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Confirmed Tokens Transfers By Address tags: - - Create Subscriptions for - x-cost: 10 + - Tokens + x-cost: 1 x-charge-count: 1 - x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed: - post: - callbacks: - ADDRESS_COINS_TRANSACTION_CONFIRMED: - '{$request.BODY#/callbackUrl': - post: - operationId: aDDRESS_COINS_TRANSACTION_CONFIRMED_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddressCoinsTransactionConfirmed' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when there are new incoming\ - \ or outgoing confirmed transactions for coins from/to the customer's address.\ - \ By creating this subscription the user will be notified by Crypto APIs 2.0\ - \ when that event occurs. The information is returned per specified address.\ - \ \r\n\r\nBeing confirmed means that the transactions are verified by miners\ - \ and added to the next block.\r\n\r\n{note}For UTXO-based protocols like\ - \ Bitcoin a transaction could have multiple inputs and outputs which means\ - \ the address could in as both sender and recipient. [Here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-data-returned-for-utxo-based-transactions)\ - \ is how we inform you on that.{/note}\r\n\r\n{note}To have an operational\ - \ callback subscription, you need to first verify a domain for the Callback\ - \ URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ - \ There are cases when the specific event doesn't happen at all, or takes\ - \ a long time to do so. A callback notification **will not** be sent if the\ - \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: New confirmed coins transactions + x-is-list: true + /blockchain-data/{blockchain}/{network}/transactions/{transactionId}/raw-data: + get: + description: Through this endpoint customers can get information on a transaction + in its raw format by providing its `transactionId`. + operationId: Get Raw Transaction Data parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash - litecoin - dogecoin - dash - - ethereum - - ethereum-classic - - xrp - - zilliqa - - binance-smart-chain - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - - ropsten - - mordor example: testnet type: string style: simple + - description: "Represents the unique identifier of a transaction, i.e. it could\ + \ be transactionId in UTXO-based protocols like Bitcoin, and transaction\ + \ hash in Ethereum blockchain." + example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + explode: false + in: path + name: transactionId + required: true + schema: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be transactionId in UTXO-based protocols like Bitcoin, and transaction\ + \ hash in Ethereum blockchain." + example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + type: string + style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsRB' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsR' + $ref: '#/components/schemas/GetRawTransactionDataR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_60' + $ref: '#/components/schemas/inline_response_400_65' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_60' + $ref: '#/components/schemas/inline_response_401_65' description: "401" "402": content: @@ -10724,14 +11756,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_60' + $ref: '#/components/schemas/inline_response_403_65' description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404' + description: The specified transaction has not been found on the specific + blockchain. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_8' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -10744,138 +11783,148 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New confirmed coins transactions + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Raw Transaction Data tags: - - Create Subscriptions for - x-cost: 10 + - Unified Endpoints + x-cost: 5 x-charge-count: 1 x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed: - post: - callbacks: - ADDRESS_TOKENS_TRANSACTION_CONFIRMED: - '{$request.BODY#/callbackUrl': - post: - operationId: aDDRESS_TOKENS_TRANSACTION_CONFIRMED_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddressTokensTransactionConfirmed' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when there are new incoming\ - \ or outgoing confirmed transactions for tokens from/to the customer's address.\ - \ By creating this subscription the user will be notified by Crypto APIs 2.0\ - \ when that event occurs. The information is returned per specified address.\ - \ \r\n\r\nBeing confirmed means that the transactions are verified by miners\ - \ and added to the next block. This endpoint refers to **tokens transactions\ - \ only, not coins**.\r\n\r\n{note}To have an operational callback subscription,\ - \ you need to first verify a domain for the Callback URL. Please see more\ - \ information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ - \ There are cases when the specific event doesn't happen at all, or takes\ - \ a long time to do so. A callback notification **will not** be sent if the\ - \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: New confirmed tokens transactions + /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-unconfirmed: + get: + description: "Through this endpoint customers can obtain a list with **unconfirmed**\ + \ token transfers by the `address` attribute. Token transfers may include\ + \ information such as addresses of the sender and recipient, token name, token\ + \ symbol, etc.\r\n\r\n{note}This refers only to transfers done for **unconfirmed\ + \ tokens** not coins.{/note}" + operationId: List Unconfirmed Tokens Transfers By Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." enum: - - bitcoin - ethereum - ethereum-classic - - binance-smart-chain example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - - mainnet - - testnet - ropsten + - mainnet - mordor example: ropsten type: string style: simple + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + explode: false + in: path + name: address + required: true + schema: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + type: string + style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsRB' + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + style: form responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsR' - description: The resource has been successfully created. + $ref: '#/components/schemas/ListUnconfirmedTokensTransfersByAddressR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_61' + $ref: '#/components/schemas/inline_response_400_66' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_61' + $ref: '#/components/schemas/inline_response_401_66' description: "401" "402": content: @@ -10888,14 +11937,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_61' + $ref: '#/components/schemas/inline_response_403_66' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_9' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -10908,316 +11957,148 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New confirmed tokens transactions + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Unconfirmed Tokens Transfers By Address tags: - - Create Subscriptions for - x-cost: 10 + - Tokens + x-cost: 1 x-charge-count: 1 - x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed-each-confirmation: - post: - callbacks: - ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION: - '{$request.BODY#/callbackUrl': - post: - operationId: aDDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmation' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when there are new incoming\ - \ or outgoing confirmed transactions for tokens from/to the customer's address\ - \ with also a response at each confirmation the transaction has received until\ - \ the specified confirmations limit is reached. By creating this subscription\ - \ the user will be notified by Crypto APIs 2.0 when that event occurs. The\ - \ information is returned per specified address. \r\n\r\nBeing confirmed means\ - \ that the transactions are verified by miners and added to the next block.\ - \ This endpoint refers to **tokens transactions only, not coins**.\r\n\r\n\ - {note}To have an operational callback subscription, you need to first verify\ - \ a domain for the Callback URL. Please see more information on Callbacks\ - \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ - \ There are cases when the specific event doesn't happen at all, or takes\ - \ a long time to do so. A callback notification **will not** be sent if the\ - \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: New confirmed tokens transactions and each confirmation + x-is-list: true + /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens: + get: + description: "Through this endpoint customers can obtain token data by providing\ + \ an attribute - `address`. The information that can be returned can include\ + \ the contract address, the token symbol, type and balance." + operationId: List Tokens By Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Ethereum Classic, etc." enum: - - bitcoin - ethereum - ethereum-classic - binance-smart-chain example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - - testnet - ropsten - mordor + - testnet example: ropsten type: string style: simple + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + explode: false + in: path + name: address + required: true + schema: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + type: string + style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationRB' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationR' - description: The request has been successful. - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_400_62' - description: "400" - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_401_62' - description: "401" - "402": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_402' - description: You have insufficient credits. Please upgrade your plan from - your Dashboard or contact our team via email. - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_403_62' - description: "403" - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_409_10' - description: "409" - "415": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_415' - description: The selected Media Type is unavailable. The Content-Type header - should be 'application/json'. - "422": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' - "429": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. - "500": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New confirmed tokens transactions and each confirmation - tags: - - Create Subscriptions for - x-cost: 10 - x-charge-count: 1 - x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed-each-confirmation: - post: - callbacks: - ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION: - '{$request.BODY#/callbackUrl': - post: - operationId: aDDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddressCoinsTransactionConfirmedEachConfirmation' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when there are new incoming\ - \ or outgoing confirmed transactions for coins from/to the customer's address\ - \ with also a response at each confirmation the transaction has received until\ - \ the specified confirmations limit is reached. By creating this subscription\ - \ the user will be notified by Crypto APIs 2.0 when that event occurs. The\ - \ information is returned per specified address. \r\n\r\nBeing confirmed means\ - \ that the transactions are verified by miners and added to the next block.\ - \ This endpoint refers to **coins transactions only, not tokens**.\r\n\r\n\ - {note}For UTXO-based protocols like Bitcoin a transaction could have multiple\ - \ inputs and outputs which means the address could in as both sender and recipient.\ - \ [Here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-data-returned-for-utxo-based-transactions)\ - \ is how we inform you on that.{/note}\r\n\r\n{note}To have an operational\ - \ callback subscription, you need to first verify a domain for the Callback\ - \ URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ - \ There are cases when the specific event doesn't happen at all, or takes\ - \ a long time to do so. A callback notification **will not** be sent if the\ - \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: New confirmed coins transactions and each confirmation - parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin - explode: false - in: path - name: blockchain - required: true - schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - enum: - - bitcoin - - bitcoin-cash - - litecoin - - dogecoin - - dash - - ethereum - - ethereum-classic - - xrp - - zilliqa - - binance-smart-chain - - zcash - example: bitcoin - type: string - style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet - explode: false - in: path - name: network - required: true + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - enum: - - mainnet - - testnet - - ropsten - - mordor - example: testnet - type: string - style: simple - - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query - name: context + name: offset required: false schema: - type: string + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationRB' responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationR' - description: The resource has been successfully created. + $ref: '#/components/schemas/ListTokensByAddressR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_63' + $ref: '#/components/schemas/inline_response_400_67' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_63' + $ref: '#/components/schemas/inline_response_401_67' description: "401" "402": content: @@ -11230,14 +12111,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_63' + $ref: '#/components/schemas/inline_response_403_67' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_11' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -11250,106 +12131,60 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New confirmed coins transactions and each confirmation + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Tokens By Address tags: - - Create Subscriptions for - x-cost: 10 + - Tokens + x-cost: 1 x-charge-count: 1 - x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/transaction-mined: - post: - callbacks: - TRANSACTION_MINED: - '{$request.BODY#/callbackUrl': - post: - operationId: tRANSACTION_MINED_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TransactionMined' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when a specific transaction\ - \ is mined. By creating this subscription the user will be notified by Crypto\ - \ APIs 2.0 when that event occurs. The information is returned per specified\ - \ `transactionId`.\r\n\r\nA transaction is mined when it is included in a\ - \ new block in the blockchain.\r\n\r\n{note}To have an operational callback\ - \ subscription, you need to first verify a domain for the Callback URL. Please\ - \ see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ - \ There are cases when the specific event doesn't happen at all, or takes\ - \ a long time to do so. A callback notification **will not** be sent if the\ - \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: Mined transaction + x-is-list: true + /blockchain-data/{blockchain}/{network}/estimate-transaction-smart-fee: + get: + description: "Through this endpoint, customers can estimate the approximate\ + \ fee per kilobyte needed for a transaction to begin confirmation within the\ + \ `confirmationTarget` blocks when possible. After which it will return the\ + \ number of blocks for which the estimate is valid." + operationId: Estimate Transaction Smart Fee parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + - example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. enum: - bitcoin - - bitcoin-cash - litecoin - - dogecoin - dash - - ethereum - - ethereum-classic - - xrp - - zilliqa - - binance-smart-chain - - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. enum: - - mainnet - testnet - - ropsten - - mordor + - mainnet example: testnet type: string style: simple @@ -11357,36 +12192,60 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString + type: string + style: form + - description: Integer representation of confirmation target in blocks that + estimation will be valid for + example: 2 + explode: true + in: query + name: confirmationTarget + required: false + schema: + description: Integer representation of confirmation target in blocks that + estimation will be valid for + example: 2 + type: integer + style: form + - description: String representation of the address + example: economical + explode: true + in: query + name: estimateMode + required: false + schema: + description: String representation of the address + enum: + - economical + - conservative + example: economical type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/MinedTransactionRB' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/MinedTransactionR' + $ref: '#/components/schemas/EstimateTransactionSmartFeeR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_64' + $ref: '#/components/schemas/inline_response_400_68' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_64' + $ref: '#/components/schemas/inline_response_401_68' description: "401" "402": content: @@ -11399,14 +12258,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_64' + $ref: '#/components/schemas/inline_response_403_68' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_12' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -11419,145 +12278,126 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Mined transaction + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + "501": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_501' + description: "This {feature} has not been implemented yet." + summary: Estimate Transaction Smart Fee tags: - - Create Subscriptions for + - Unified Endpoints x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/block-mined: - post: - callbacks: - BLOCK_MINED: - '{$request.BODY#/callbackUrl': - post: - operationId: bLOCK_MINED_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BlockMined' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when a new block is mined\ - \ in the specific blockchain. By creating this subscription the user will\ - \ be notified by Crypto APIs 2.0 when that event occurs. The information is\ - \ returned per specified address.\r\n\r\nA new block is mined when it is added\ - \ to the chain once a consensus is reached by the majority of the miners,\ - \ which is when the block gets validated and added to the blockchain.\r\n\r\ - \n{note}To have an operational callback subscription, you need to first verify\ - \ a domain for the Callback URL. Please see more information on Callbacks\ - \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ - \ There are cases when the specific event doesn't happen at all, or takes\ - \ a long time to do so. A callback notification **will not** be sent if the\ - \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: New Block + /blockchain-data/{blockchain}/{network}/addresses/{contractAddress}/contract: + get: + description: "Though this endpoint customers can obtain information about token\ + \ details. This can be done by providing the `contact address` parameter.\r\ + \n\r\n{note}This address is **not** the same as the smart contract creator\ + \ address.{/note}" + operationId: Get Token Details by Contract Address parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + default: ethereum + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - bitcoin - - bitcoin-cash - - litecoin - - dogecoin - - dash - ethereum - ethereum-classic - - xrp - - zilliqa - binance-smart-chain - - zcash - example: bitcoin + example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - - testnet - ropsten - mordor - example: testnet + - testnet + example: ropsten + type: string + style: simple + - description: Defines the specific address of the contract. + example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + explode: false + in: path + name: contractAddress + required: true + schema: + description: Defines the specific address of the contract. + example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NewBlockRB' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/NewBlockR' + $ref: '#/components/schemas/GetTokenDetailsByContractAddressR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_65' + $ref: '#/components/schemas/inline_response_400_69' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_65' + $ref: '#/components/schemas/inline_response_401_69' description: "401" "402": content: @@ -11570,14 +12410,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_65' + $ref: '#/components/schemas/inline_response_403_69' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_13' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -11590,51 +12430,51 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New Block + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Token Details by Contract Address tags: - - Create Subscriptions for + - Tokens x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions: + /blockchain-tools/{blockchain}/{network}/hd/{extendedPublicKey}/addresses/derive-address: get: - description: "Through this endpoint the customer can obtain a list of their\ - \ callback subscriptions for the available Blockchain events.\r\n\r\nCurrently\ - \ Crypto APIs 2.0 offers certain Blockchain event endpoints which allow the\ - \ user to subscribe for one/a few/all and receive callback notifications when\ - \ the specific event occurs.\r\n\r\n{note}To have an operational callback\ - \ subscription, you need to first verify a domain for the Callback URL. Please\ - \ see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}" - operationId: List Blockchain Events Subscriptions + description: "Through this endpoint, customers can derive up to 10 addresses\ + \ - both change and receive, from a certain HD Wallet (xPub, yPub, zPub),\ + \ by providing an extended public key. By default the system creates a receiving/deposit\ + \ address, unless the isChange attribute is set to 'true'. In that case the\ + \ system derives a 'change' address. The change address can be derived only\ + \ for UTXO based blockchains, for all the rest, this endpoint always creates\ + \ a deposit/receiving address." + operationId: "Derive HD Wallet (xPub, yPub, zPub) Change Or Receiving Addresses" parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -11644,26 +12484,38 @@ paths: - ethereum - ethereum-classic - xrp - - zilliqa - binance-smart-chain - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: Defines the account extended publicly known key which is used + to derive all child public keys. + example: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + explode: false + in: path + name: extendedPublicKey + required: true + schema: + description: Defines the account extended publicly known key which is used + to derive all child public keys. + example: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -11676,39 +12528,71 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - - description: Defines how many items should be returned in the response per - page basis. - example: 50 + - description: Represents the format of the address. + example: p2sh explode: true in: query - name: limit + name: addressFormat required: false schema: - default: 50 - description: Defines how many items should be returned in the response per - page basis. - example: 50 + description: Represents the format of the address. + enum: + - p2pkh + - p2sh + - p2wpkh + - standard + - p2sh-cash + - p2pkh-cash + - classic + example: p2sh + type: string + style: form + - description: Represents the addresses count. + example: 2 + explode: true + in: query + name: addressesCount + required: false + schema: + description: Represents the addresses count. + example: 2 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "Defines if the specific address is a change or deposit address.\ + \ If the value is True - it is a change address, if it is False - it is\ + \ a Deposit address." + example: true explode: true in: query - name: offset + name: isChange required: false schema: - default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "Defines if the specific address is a change or deposit address.\ + \ If the value is True - it is a change address, if it is False - it is\ + \ a Deposit address." + example: true + type: boolean + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 3 + explode: true + in: query + name: startIndex + required: false + schema: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 3 type: integer style: form responses: @@ -11716,19 +12600,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsR' + $ref: '#/components/schemas/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_66' + $ref: '#/components/schemas/inline_response_400_70' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_66' + $ref: '#/components/schemas/inline_response_401_70' description: "401" "402": content: @@ -11741,7 +12625,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_66' + $ref: '#/components/schemas/inline_response_403_70' description: "403" "409": content: @@ -11761,84 +12645,156 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Blockchain Events Subscriptions + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: "Derive HD Wallet (xPub, yPub, zPub) Change Or Receiving Addresses" tags: - - Manage Subscriptions + - Features x-cost: 1 x-charge-count: 1 - x-is-list: true - /blockchain-events/subscriptions/{referenceId}/activate: + x-is-list: false + /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-unconfirmed: post: - description: Through this endpoint customers can reactivate an event subscription - (callback) which has been deactivated by the system. Deactivations could happen - due to various reasons, most often "maximum retry attempts reached". - operationId: Activate Blockchain Event Subscription + callbacks: + ADDRESS_COINS_TRANSACTION_UNCONFIRMED: + '{$request.BODY#/callbackUrl': + post: + operationId: aDDRESS_COINS_TRANSACTION_UNCONFIRMED_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddressCoinsTransactionUnconfirmed' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can create callback subscriptions\ + \ for a specific event. In this case the event is when there are new unconfirmed\ + \ coins transactions for the user. By creating this subscription the user\ + \ will be notified by Crypto APIs 2.0 when that event occurs. The information\ + \ is returned per specified address.\r\n\r\nUnconfirmed coins transactions\ + \ remain in the mempool (memory pool) until they are confirmed by miners and\ + \ added to the next block. Sometimes spikes in transaction activity can cause\ + \ delays in confirmations.\r\n\r\n{note}For UTXO-based protocols like Bitcoin\ + \ a transaction could have multiple inputs and outputs which means the address\ + \ could in as both sender and recipient. [Here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-data-returned-for-utxo-based-transactions)\ + \ is how we inform you on that.{/note}\r\n\r\n{warning}We cannot guarantee\ + \ at 100% that webhooks for unconfirmed transactions will always be received.\ + \ Some may **not get received** due to the possibility of some nodes not being\ + \ updated with that information. This can occur in networks with low activity\ + \ and/or not many nodes, e.g. Testnet networks and rarely Mainnets.{/warning}\r\ + \n\r\n{note}To have an operational callback subscription, you need to first\ + \ verify a domain for the Callback URL. Please see more information on Callbacks\ + \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{note}It is also **important to note** that just because pending unconfirmed\ + \ transactions are in the mempool, **doesn't necessarily** mean they will\ + \ get confirmed.{/note}\r\n\r\n{warning}Crypto APIs will notify the user **only\ + \ when** the event occurs. There are cases when the specific event doesn't\ + \ happen at all, or takes a long time to do so. A callback notification **will\ + \ not** be sent if the event does not or cannot occur, or will take long time\ + \ to occur.{/warning}" + operationId: New unconfirmed coins transactions parameters: - - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin explode: false in: path - name: referenceId + name: blockchain required: true schema: - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - ethereum + - ethereum-classic + - binance-smart-chain + - zcash + example: bitcoin + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + - mordor + example: testnet type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: content: application/json: schema: - $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionRB' + $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsRB' responses: "201": content: application/json: schema: - $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionR' + $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsR' description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_67' + $ref: '#/components/schemas/inline_response_400_71' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_67' + $ref: '#/components/schemas/inline_response_401_71' description: "401" "402": content: @@ -11851,20 +12807,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_67' + $ref: '#/components/schemas/inline_response_403_71' description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_1' - description: The specified resource has not been found. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_6' + description: "409" "415": content: application/json: @@ -11877,135 +12827,147 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Activate Blockchain Event Subscription + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New unconfirmed coins transactions tags: - - Manage Subscriptions - x-cost: 5 + - Create Subscriptions for + x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/{referenceId}: - delete: - description: "Through this endpoint the customer can delete blockchain event\ - \ subscriptions they have by attributes `referenceId` and `network`.\r\n\r\ - \nCurrently Crypto APIs 2.0 offers certain Blockchain event endpoints which\ - \ allow the user to subscribe for one/a few/all and receive callback notifications\ - \ when the specific event occurs.\r\n\r\n{note}To have an operational callback\ - \ subscription, you need to first verify a domain for the Callback URL. Please\ - \ see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ - \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ - \ There are cases when the specific event doesn't happen at all, or takes\ - \ a long time to do so. A callback notification **will not** be sent if the\ - \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: Delete Blockchain Event Subscription + /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-unconfirmed: + post: + callbacks: + ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED: + '{$request.BODY#/callbackUrl': + post: + operationId: aDDRESS_TOKENS_TRANSACTION_UNCONFIRMED_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddressTokensTransactionUnconfirmed' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can create callback subscriptions\ + \ for a specific event. In this case the event is when there are new unconfirmed\ + \ tokens transactions for the user. By creating this subscription the user\ + \ will be notified by Crypto APIs 2.0 when that event occurs. The information\ + \ is returned per specified address.\r\n\r\nUnconfirmed tokens transactions\ + \ remain in the mempool (memory pool) until they are confirmed by miners and\ + \ added to the next block. Sometimes spikes in transaction activity can cause\ + \ delays in confirmations.\r\n\r\n{warning}We cannot guarantee at 100% that\ + \ webhooks for unconfirmed transactions will always be received. Some may\ + \ **not get received** due to the possibility of some nodes not being updated\ + \ with that information. This can occur in networks with low activity and/or\ + \ not many nodes, e.g. Testnet networks and rarely Mainnets.{/warning}\r\n\ + \r\n{note}To have an operational callback subscription, you need to first\ + \ verify a domain for the Callback URL. Please see more information on Callbacks\ + \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{note}It is also **important to note** that just because pending unconfirmed\ + \ transactions are in the mempool, **doesn't necessarily** mean they will\ + \ get confirmed.{/note}\r\n\r\n{warning}Crypto APIs will notify the user **only\ + \ when** the event occurs. There are cases when the specific event doesn't\ + \ happen at all, or takes a long time to do so. A callback notification **will\ + \ not** be sent if the event does not or cannot occur, or will take long time\ + \ to occur.{/warning}" + operationId: New unconfirmed tokens transactions parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - - bitcoin-cash - - litecoin - - dogecoin - - dash - ethereum - ethereum-classic - - xrp - - zilliqa - - binance-smart-chain - - zcash - - bitcoin-satoshi-vision - example: bitcoin + example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten - mordor - example: testnet - type: string - style: simple - - description: Represents a unique ID used to reference the specific callback - subscription. - example: d3fd6a0e-f2b6-4bb5-9fd3-7944bcec9e9f - explode: false - in: path - name: referenceId - required: true - schema: - description: Represents a unique ID used to reference the specific callback - subscription. - example: d3fd6a0e-f2b6-4bb5-9fd3-7944bcec9e9f + example: ropsten type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsRB' responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/DeleteBlockchainEventSubscriptionR' - description: The delete request has been successful. + $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsR' + description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_68' + $ref: '#/components/schemas/inline_response_400_72' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_68' + $ref: '#/components/schemas/inline_response_401_72' description: "401" "402": content: @@ -12018,20 +12980,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_68' + $ref: '#/components/schemas/inline_response_403_72' description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_1' - description: The specified resource has not been found. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_7' + description: "409" "415": content: application/json: @@ -12044,78 +13000,105 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Delete Blockchain Event Subscription + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New unconfirmed tokens transactions tags: - - Manage Subscriptions - x-cost: 1 + - Create Subscriptions for + x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-events/{blockchain}/{network}/addresses/{address}: - get: - description: This endpoint creates a shortcut to obtain information from Blockchain - data by going through Blockchain Events and a specific Event Subscription. - It provides data for a specific address from the Event it takes part in only - if the address already exists in the blockchain events subscriptions. It applies - only for Events related to that customer. - operationId: Get Address Details From Callback + /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed: + post: + callbacks: + ADDRESS_COINS_TRANSACTION_CONFIRMED: + '{$request.BODY#/callbackUrl': + post: + operationId: aDDRESS_COINS_TRANSACTION_CONFIRMED_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddressCoinsTransactionConfirmed' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can create callback subscriptions\ + \ for a specific event. In this case the event is when there are new incoming\ + \ or outgoing confirmed transactions for coins from/to the customer's address.\ + \ By creating this subscription the user will be notified by Crypto APIs 2.0\ + \ when that event occurs. The information is returned per specified address.\ + \ \r\n\r\nBeing confirmed means that the transactions are verified by miners\ + \ and added to the next block.\r\n\r\n{note}For UTXO-based protocols like\ + \ Bitcoin a transaction could have multiple inputs and outputs which means\ + \ the address could in as both sender and recipient. [Here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-data-returned-for-utxo-based-transactions)\ + \ is how we inform you on that.{/note}\r\n\r\n{note}To have an operational\ + \ callback subscription, you need to first verify a domain for the Callback\ + \ URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ + \ There are cases when the specific event doesn't happen at all, or takes\ + \ a long time to do so. A callback notification **will not** be sent if the\ + \ event does not or cannot occur, or will take long time to occur.{/warning}" + operationId: New confirmed coins transactions parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash - litecoin - - dash - dogecoin + - dash - ethereum - ethereum-classic - - binance-smart-chain - xrp - zilliqa + - binance-smart-chain - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -12124,48 +13107,42 @@ paths: example: testnet type: string style: simple - - description: Represents the public address, which is a compressed and shortened - form of a public key. - example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 - explode: false - in: path - name: address - required: true - schema: - description: Represents the public address, which is a compressed and shortened - form of a public key. - example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 - type: string - style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsRB' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetAddressDetailsFromCallbackR' + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_69' + $ref: '#/components/schemas/inline_response_400_73' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_69' + $ref: '#/components/schemas/inline_response_401_73' description: "401" "402": content: @@ -12178,20 +13155,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_69' + $ref: '#/components/schemas/inline_response_403_73' description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_4' - description: The provided address has no subscriptions. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_8' + description: "409" "415": content: application/json: @@ -12204,126 +13175,140 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Address Details From Callback + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New confirmed coins transactions tags: - - Callback Data - x-cost: 5 + - Create Subscriptions for + x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-events/{blockchain}/{network}/transactions/{transactionId}: - get: - description: This endpoint creates a shortcut to obtain information from Blockchain - data by going through Blockchain Events and a specific Event Subscription. - It provides data for a specific transaction from the Event it takes part in - by providing the `transactionId` attribute. It applies only for Events related - to that user. - operationId: Get Transaction Details By Transaction ID From Callback + /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed: + post: + callbacks: + ADDRESS_TOKENS_TRANSACTION_CONFIRMED: + '{$request.BODY#/callbackUrl': + post: + operationId: aDDRESS_TOKENS_TRANSACTION_CONFIRMED_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddressTokensTransactionConfirmed' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can create callback subscriptions\ + \ for a specific event. In this case the event is when there are new incoming\ + \ or outgoing confirmed transactions for tokens from/to the customer's address.\ + \ By creating this subscription the user will be notified by Crypto APIs 2.0\ + \ when that event occurs. The information is returned per specified address.\ + \ \r\n\r\nBeing confirmed means that the transactions are verified by miners\ + \ and added to the next block. This endpoint refers to **tokens transactions\ + \ only, not coins**.\r\n\r\n{note}To have an operational callback subscription,\ + \ you need to first verify a domain for the Callback URL. Please see more\ + \ information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ + \ There are cases when the specific event doesn't happen at all, or takes\ + \ a long time to do so. A callback notification **will not** be sent if the\ + \ event does not or cannot occur, or will take long time to occur.{/warning}" + operationId: New confirmed tokens transactions parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - ethereum - - bitcoin-cash - - litecoin - - dash - - dogecoin - - zcash - ethereum-classic - binance-smart-chain - - zilliqa - - xrp - example: bitcoin + example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten - mordor - example: testnet - type: string - style: simple - - description: String identifier of the transaction - example: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 - explode: false - in: path - name: transactionId - required: true - schema: - description: String identifier of the transaction - example: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 + example: ropsten type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NewConfirmedTokensTransactionsRB' responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackR' - description: The request has been successful. + $ref: '#/components/schemas/NewConfirmedTokensTransactionsR' + description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_70' + $ref: '#/components/schemas/inline_response_400_74' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_70' + $ref: '#/components/schemas/inline_response_401_74' description: "401" "402": content: @@ -12336,20 +13321,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_70' + $ref: '#/components/schemas/inline_response_403_74' description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_1' - description: The specified resource has not been found. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_9' + description: "409" "415": content: application/json: @@ -12362,131 +13341,142 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Transaction Details By Transaction ID From Callback + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New confirmed tokens transactions tags: - - Callback Data - x-cost: 5 + - Create Subscriptions for + x-cost: 10 x-charge-count: 1 x-is-list: false - /blockcain-events/{blockchain}/{network}/blocks/hash/{blockHash}: - get: - description: This endpoint creates a shortcut to obtain information from Blockchain - data by going through Blockchain Events and a specific Event Subscription. - It provides data for a specific block by providing the `blockHash` attribute - from the Event it takes part in and after making check that the customer in - question does have a subscription for this block. It applies only for Events - related to that user. - operationId: Get Block Details By Block Hash From Callback + /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed-each-confirmation: + post: + callbacks: + ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION: + '{$request.BODY#/callbackUrl': + post: + operationId: aDDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmation' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can create callback subscriptions\ + \ for a specific event. In this case the event is when there are new incoming\ + \ or outgoing confirmed transactions for tokens from/to the customer's address\ + \ with also a response at each confirmation the transaction has received until\ + \ the specified confirmations limit is reached. By creating this subscription\ + \ the user will be notified by Crypto APIs 2.0 when that event occurs. The\ + \ information is returned per specified address. \r\n\r\nBeing confirmed means\ + \ that the transactions are verified by miners and added to the next block.\ + \ This endpoint refers to **tokens transactions only, not coins**.\r\n\r\n\ + {note}To have an operational callback subscription, you need to first verify\ + \ a domain for the Callback URL. Please see more information on Callbacks\ + \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ + \ There are cases when the specific event doesn't happen at all, or takes\ + \ a long time to do so. A callback notification **will not** be sent if the\ + \ event does not or cannot occur, or will take long time to occur.{/warning}" + operationId: New confirmed tokens transactions and each confirmation parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - - bitcoin-cash - - litecoin - - dash - - dogecoin - ethereum - - binance-smart-chain - ethereum-classic - - zilliqa - - xrp - - zcash - example: bitcoin + - binance-smart-chain + example: ethereum type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten - mordor - example: testnet - type: string - style: simple - - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the block - header twice through the SHA256 algorithm. - example: 000000000000000bdea8ba7df4bfd9f398e428fde8ee47152bcf93834ee48e8a - explode: false - in: path - name: blockHash - required: true - schema: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 000000000000000bdea8ba7df4bfd9f398e428fde8ee47152bcf93834ee48e8a + example: ropsten type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationRB' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackR' + $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_71' + $ref: '#/components/schemas/inline_response_400_75' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_71' + $ref: '#/components/schemas/inline_response_401_75' description: "401" "402": content: @@ -12499,20 +13489,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_71' + $ref: '#/components/schemas/inline_response_403_75' description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_2' - description: The specified block has not been found on the specific blockchain. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_10' + description: "409" "415": content: application/json: @@ -12525,78 +13509,108 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Block Details By Block Hash From Callback + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New confirmed tokens transactions and each confirmation tags: - - Callback Data - x-cost: 5 + - Create Subscriptions for + x-cost: 10 x-charge-count: 1 x-is-list: false - /blockcain-events/{blockchain}/{network}/blocks/height/{blockHeight}: - get: - description: This endpoint creates a shortcut to obtain information from Blockchain - data by going through Blockchain Events and a specific Event Subscription. - It provides data for the specific Block by providing the `blockHeight` attribute - from the Event it takes part in. It applies only for Events related to that - user. - operationId: Get Block Details By Block Height From Callback + /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed-each-confirmation: + post: + callbacks: + ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION: + '{$request.BODY#/callbackUrl': + post: + operationId: aDDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddressCoinsTransactionConfirmedEachConfirmation' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can create callback subscriptions\ + \ for a specific event. In this case the event is when there are new incoming\ + \ or outgoing confirmed transactions for coins from/to the customer's address\ + \ with also a response at each confirmation the transaction has received until\ + \ the specified confirmations limit is reached. By creating this subscription\ + \ the user will be notified by Crypto APIs 2.0 when that event occurs. The\ + \ information is returned per specified address. \r\n\r\nBeing confirmed means\ + \ that the transactions are verified by miners and added to the next block.\ + \ This endpoint refers to **coins transactions only, not tokens**.\r\n\r\n\ + {note}For UTXO-based protocols like Bitcoin a transaction could have multiple\ + \ inputs and outputs which means the address could in as both sender and recipient.\ + \ [Here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-data-returned-for-utxo-based-transactions)\ + \ is how we inform you on that.{/note}\r\n\r\n{note}To have an operational\ + \ callback subscription, you need to first verify a domain for the Callback\ + \ URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ + \ There are cases when the specific event doesn't happen at all, or takes\ + \ a long time to do so. A callback notification **will not** be sent if the\ + \ event does not or cannot occur, or will take long time to occur.{/warning}" + operationId: New confirmed coins transactions and each confirmation parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash - litecoin - - dash - dogecoin + - dash - ethereum - - binance-smart-chain - ethereum-classic - - zilliqa - xrp + - zilliqa + - binance-smart-chain - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -12605,44 +13619,42 @@ paths: example: testnet type: string style: simple - - description: Numeric representation of the block height - explode: false - in: path - name: blockHeight - required: true - schema: - description: Numeric representation of the block height - type: string - style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationRB' responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackR' - description: The request has been successful. + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationR' + description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_72' + $ref: '#/components/schemas/inline_response_400_76' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_72' + $ref: '#/components/schemas/inline_response_401_76' description: "401" "402": content: @@ -12655,20 +13667,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_72' + $ref: '#/components/schemas/inline_response_403_76' description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_2' - description: The specified block has not been found on the specific blockchain. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_11' + description: "409" "415": content: application/json: @@ -12681,42 +13687,42 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Block Details By Block Height From Callback + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New confirmed coins transactions and each confirmation tags: - - Callback Data - x-cost: 5 + - Create Subscriptions for + x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed: + /blockchain-events/{blockchain}/{network}/subscriptions/transaction-mined: post: callbacks: - ADDRESS_INTERNAL_TRANSACTION_CONFIRMED: + TRANSACTION_MINED: '{$request.BODY#/callbackUrl': post: - operationId: aDDRESS_INTERNAL_TRANSACTION_CONFIRMED_request_BODYCallbackUrlPost + operationId: tRANSACTION_MINED_request_BODYCallbackUrlPost requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddressInternalTransactionConfirmed' + $ref: '#/components/schemas/TransactionMined' required: true responses: "200": @@ -12724,92 +13730,102 @@ paths: 200 (OK) or it will retry the request. x-callback-request: true description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when there are new confirmed\ - \ internal transactions. By creating this subscription the user will be notified\ - \ by Crypto APIs 2.0 when that event occurs.\r\n\r\nBeing confirmed means\ - \ that the transactions are verified by miners and added to the next block.\r\ - \n\r\n{note}To have an operational callback subscription, you need to first\ - \ verify a domain for the Callback URL. Please see more information on Callbacks\ - \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \ for a specific event. In this case the event is when a specific transaction\ + \ is mined. By creating this subscription the user will be notified by Crypto\ + \ APIs 2.0 when that event occurs. The information is returned per specified\ + \ `transactionId`.\r\n\r\nA transaction is mined when it is included in a\ + \ new block in the blockchain.\r\n\r\n{note}To have an operational callback\ + \ subscription, you need to first verify a domain for the Callback URL. Please\ + \ see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ \ There are cases when the specific event doesn't happen at all, or takes\ \ a long time to do so. A callback notification **will not** be sent if the\ \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: New confirmed internal transactions + operationId: Mined transaction parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: ethereum-classic + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash - ethereum - ethereum-classic + - xrp + - zilliqa - binance-smart-chain - example: ethereum-classic + - zcash + example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: mordor + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten - mordor - example: mordor + example: testnet type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: content: application/json: schema: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsRB' + $ref: '#/components/schemas/MinedTransactionRB' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsR' + $ref: '#/components/schemas/MinedTransactionR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_73' + $ref: '#/components/schemas/inline_response_400_77' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_73' + $ref: '#/components/schemas/inline_response_401_77' description: "401" "402": content: @@ -12822,13 +13838,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_73' + $ref: '#/components/schemas/inline_response_403_77' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_14' + $ref: '#/components/schemas/inline_response_409_12' description: "409" "415": content: @@ -12842,42 +13858,42 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New confirmed internal transactions + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Mined transaction tags: - Create Subscriptions for x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed-each-confirmation: + /blockchain-events/{blockchain}/{network}/subscriptions/block-mined: post: callbacks: - ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION: + BLOCK_MINED: '{$request.BODY#/callbackUrl': post: - operationId: aDDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION_request_BODYCallbackUrlPost + operationId: bLOCK_MINED_request_BODYCallbackUrlPost requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddressInternalTransactionConfirmedEachConfirmation' + $ref: '#/components/schemas/BlockMined' required: true responses: "200": @@ -12885,93 +13901,104 @@ paths: 200 (OK) or it will retry the request. x-callback-request: true description: "Through this endpoint customers can create callback subscriptions\ - \ for a specific event. In this case the event is when there are new confirmed\ - \ internal transactions. Includes also a response at each confirmation the\ - \ transaction receives until the specified confirmations limit is reached.\ - \ By creating this subscription the user will be notified by Crypto APIs 2.0\ - \ when that event occurs. \r\n\r\nBeing confirmed means that the transactions\ - \ are verified by miners and added to the next block.\r\n\r\n{note}To have\ - \ an operational callback subscription, you need to first verify a domain\ - \ for the Callback URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \ for a specific event. In this case the event is when a new block is mined\ + \ in the specific blockchain. By creating this subscription the user will\ + \ be notified by Crypto APIs 2.0 when that event occurs. The information is\ + \ returned per specified address.\r\n\r\nA new block is mined when it is added\ + \ to the chain once a consensus is reached by the majority of the miners,\ + \ which is when the block gets validated and added to the blockchain.\r\n\r\ + \n{note}To have an operational callback subscription, you need to first verify\ + \ a domain for the Callback URL. Please see more information on Callbacks\ + \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ \ There are cases when the specific event doesn't happen at all, or takes\ \ a long time to do so. A callback notification **will not** be sent if the\ \ event does not or cannot occur, or will take long time to occur.{/warning}" - operationId: New confirmed internal transactions and each confirmation + operationId: New Block parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: ethereum-classic + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash - ethereum - ethereum-classic + - xrp + - zilliqa - binance-smart-chain - example: ethereum-classic + - zcash + example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: mordor + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten - mordor - example: mordor + example: testnet type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: content: application/json: schema: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationRB' + $ref: '#/components/schemas/NewBlockRB' responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationR' - description: The resource has been successfully created. + $ref: '#/components/schemas/NewBlockR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_74' + $ref: '#/components/schemas/inline_response_400_78' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_74' + $ref: '#/components/schemas/inline_response_401_78' description: "401" "402": content: @@ -12984,13 +14011,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_74' + $ref: '#/components/schemas/inline_response_403_78' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_15' + $ref: '#/components/schemas/inline_response_409_13' description: "409" "415": content: @@ -13004,52 +14031,51 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: New confirmed internal transactions and each confirmation + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New Block tags: - Create Subscriptions for x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations: + /blockchain-events/{blockchain}/{network}/subscriptions: get: - description: "Through this endpoint customers can list all of their **coins**\ - \ forwarding automations (**not** tokens).\r\n\r\nCustomers can set up automatic\ - \ forwarding functions for coins by setting a `fromAddress` and a `toAddress`,\ - \ and specifying the amount that can be transferred between addresses. \r\n\ - \r\nA `feePriority` will be returned which represents the fee priority of\ - \ the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\".\r\n\r\n\ - {warning}The subscription will work for all transactions until it is deleted.\ - \ There is no need to do that for every transaction.{/warning}" - operationId: List Coins Forwarding Automations + description: "Through this endpoint the customer can obtain a list of their\ + \ callback subscriptions for the available Blockchain events.\r\n\r\nCurrently\ + \ Crypto APIs 2.0 offers certain Blockchain event endpoints which allow the\ + \ user to subscribe for one/a few/all and receive callback notifications when\ + \ the specific event occurs.\r\n\r\n{note}To have an operational callback\ + \ subscription, you need to first verify a domain for the Callback URL. Please\ + \ see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}" + operationId: List Blockchain Events Subscriptions parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -13058,23 +14084,27 @@ paths: - dash - ethereum - ethereum-classic + - xrp + - zilliqa + - binance-smart-chain + - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -13087,11 +14117,13 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - description: Defines how many items should be returned in the response per @@ -13108,18 +14140,18 @@ paths: example: 50 type: integer style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 explode: true in: query name: offset required: false schema: default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -13127,19 +14159,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ListCoinsForwardingAutomationsR' + $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_75' + $ref: '#/components/schemas/inline_response_400_79' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_75' + $ref: '#/components/schemas/inline_response_401_79' description: "401" "402": content: @@ -13152,14 +14184,8 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_75' + $ref: '#/components/schemas/inline_response_403_79' description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_1' - description: The specified resource has not been found. "409": content: application/json: @@ -13178,157 +14204,83 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Coins Forwarding Automations + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Blockchain Events Subscriptions tags: - - Automatic Coins Forwarding + - Manage Subscriptions x-cost: 1 x-charge-count: 1 x-is-list: true - post: - callbacks: - COINS_FORWARDING_SUCCESS: - '{$request.BODY#/callbackUrl': - post: - operationId: cOINS_FORWARDING_SUCCESS_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CoinsForwardingSuccess' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - COINS_FORWARDING_FAIL: - '{$request.BODY#/callbackUrl': - post: - operationId: cOINS_FORWARDING_FAIL_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CoinsForwardingFail' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can set up an automatic forwarding\ - \ function specifically for coins (**not** tokens). They can have a `toAddress`\ - \ which is essentially the main address and the destination for the automatic\ - \ coins forwarding. \r\n\r\nThere is also a `minimumTransferAmount` which\ - \ only when reached will then trigger the forwarding. Through this the customer\ - \ can save from fees.\r\n\r\nMoreover, `feePriority` can be also set, which\ - \ defines how quickly to move the coins once they are received. The higher\ - \ priority, the larger the fee will be. It can be \"SLOW\", \"STANDARD\" or\ - \ \"FAST\".\r\n\r\nThe response of this endpoint contains an attribute `fromAddress`\ - \ which can be used as a deposit address. Any funds received by this address\ - \ will be automatically forwarded to `toAddress` based on what the customer\ - \ has set for the automation.\r\n\r\nFor this automatic forwarding the customer\ - \ can set a callback subscription.\r\n\r\n{warning}The subscription will work\ - \ for all incoming transactions until it is deleted. There is no need to do\ - \ that for every transaction.{/warning}\r\n\r\n{note}This endpoint generates\ - \ a new `fromAddress` each time.{/note}" - operationId: Create Automatic Coins Forwarding + /blockchain-events/subscriptions/{referenceId}: + get: + description: "Through this endpoint the customer can get detailed information\ + \ for a callback subscription by providing its reference ID.\r\n\r\nCurrently\ + \ Crypto APIs 2.0 offers certain Blockchain event endpoints which allow the\ + \ user to subscribe for one/a few/all and receive callback notifications when\ + \ the specific event occurs." + operationId: Get Blockchain Event Subscription Details By Reference ID parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin - explode: false - in: path - name: blockchain - required: true - schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - enum: - - bitcoin - - bitcoin-cash - - litecoin - - dogecoin - - dash - - ethereum - - ethereum-classic - example: bitcoin - type: string - style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa explode: false in: path - name: network + name: referenceId required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - enum: - - mainnet - - testnet - - ropsten - - mordor - example: testnet + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CreateAutomaticCoinsForwardingRB' responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/CreateAutomaticCoinsForwardingR' - description: The resource has been successfully created. + $ref: '#/components/schemas/GetBlockchainEventSubscriptionDetailsByReferenceIDR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_76' + $ref: '#/components/schemas/inline_response_400_80' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_76' + $ref: '#/components/schemas/inline_response_401_80' description: "401" "402": content: @@ -13341,7 +14293,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_76' + $ref: '#/components/schemas/inline_response_403_80' description: "403" "404": content: @@ -13353,8 +14305,8 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_16' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -13367,85 +14319,41 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Create Automatic Coins Forwarding + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Blockchain Event Subscription Details By Reference ID tags: - - Automatic Coins Forwarding - x-cost: 10 + - Manage Subscriptions + x-cost: 1 x-charge-count: 1 x-is-list: false - /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations/{referenceId}: - delete: - description: "Through this endpoint customers can delete a forwarding function\ - \ they have set for **coins** (**not** tokens).\r\n\r\nBy setting a `fromAddress`\ - \ and a `toAddress`, and specifying the amount, coins can be transferred between\ - \ addresses. \r\n\r\nA `feePriority` will be returned which represents the\ - \ fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"\ - FAST\".\r\n\r\n{warning}The subscription will work for all incoming transactions\ - \ until it is deleted. There is no need to do that for every transaction.{/warning}" - operationId: Delete Automatic Coins Forwarding + /blockchain-events/subscriptions/{referenceId}/activate: + post: + description: "Through this endpoint customers can reactivate an event subscription\ + \ (callback) which has been deactivated by the system. Deactivations could\ + \ happen due to various reasons, most often \"maximum retry attempts reached\"\ + ." + operationId: Activate Blockchain Event Subscription parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin - explode: false - in: path - name: blockchain - required: true - schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - enum: - - bitcoin - - bitcoin-cash - - litecoin - - dogecoin - - dash - - ethereum - example: bitcoin - type: string - style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet - explode: false - in: path - name: network - required: true - schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - enum: - - mainnet - - testnet - - ropsten - example: testnet - type: string - style: simple - description: Represents a unique ID used to reference the specific callback subscription. - example: 600955ea5e75d660e71d3c7d + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa explode: false in: path name: referenceId @@ -13453,38 +14361,45 @@ paths: schema: description: Represents a unique ID used to reference the specific callback subscription. - example: 600955ea5e75d660e71d3c7d + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionRB' responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/DeleteAutomaticCoinsForwardingR' - description: The delete request has been successful. + $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionR' + description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_77' + $ref: '#/components/schemas/inline_response_400_81' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_77' + $ref: '#/components/schemas/inline_response_401_81' description: "401" "402": content: @@ -13497,7 +14412,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_77' + $ref: '#/components/schemas/inline_response_403_81' description: "403" "404": content: @@ -13523,138 +14438,136 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Delete Automatic Coins Forwarding + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Activate Blockchain Event Subscription tags: - - Automatic Coins Forwarding - x-cost: 1 + - Manage Subscriptions + x-cost: 5 x-charge-count: 1 x-is-list: false - /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations: - get: - description: "Through this endpoint customers can list all of their **tokens**\ - \ forwarding automations (**not** coins).\r\n\r\nCustomers can set up automatic\ - \ forwarding functions for tokens by setting a `fromAddress` and a `toAddress`,\ - \ and specifying the amount that can be transferred between addresses. \r\n\ - \r\nA `feePriority` will be returned which represents the fee priority of\ - \ the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". \r\n\r\n\ - {warning}Currently we support fungible tokens (ERC-20) **only**, NFTs (ERC-721)\ - \ are **not** supported.{/warning}\r\n\r\n{warning}The subscription will work\ - \ for all transactions until it is deleted. There is no need to do that for\ - \ every transaction.{/warning}" - operationId: List Tokens Forwarding Automations + /blockchain-events/{blockchain}/{network}/subscriptions/{referenceId}: + delete: + description: "Through this endpoint the customer can delete blockchain event\ + \ subscriptions they have by attributes `referenceId` and `network`.\r\n\r\ + \nCurrently Crypto APIs 2.0 offers certain Blockchain event endpoints which\ + \ allow the user to subscribe for one/a few/all and receive callback notifications\ + \ when the specific event occurs.\r\n\r\n{note}To have an operational callback\ + \ subscription, you need to first verify a domain for the Callback URL. Please\ + \ see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ + \ There are cases when the specific event doesn't happen at all, or takes\ + \ a long time to do so. A callback notification **will not** be sent if the\ + \ event does not or cannot occur, or will take long time to occur.{/warning}" + operationId: Delete Blockchain Event Subscription parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash - ethereum + - ethereum-classic + - xrp + - zilliqa + - binance-smart-chain + - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten + - mordor example: testnet type: string style: simple + - description: Represents a unique ID used to reference the specific callback + subscription. + example: d3fd6a0e-f2b6-4bb5-9fd3-7944bcec9e9f + explode: false + in: path + name: referenceId + required: true + schema: + description: Represents a unique ID used to reference the specific callback + subscription. + example: d3fd6a0e-f2b6-4bb5-9fd3-7944bcec9e9f + type: string + style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - - description: Defines how many items should be returned in the response per - page basis. - example: 50 - explode: true - in: query - name: limit - required: false - schema: - default: 50 - description: Defines how many items should be returned in the response per - page basis. - example: 50 - type: integer - style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 - explode: true - in: query - name: offset - required: false - schema: - default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 - type: integer - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/ListTokensForwardingAutomationsR' - description: The request has been successful. + $ref: '#/components/schemas/DeleteBlockchainEventSubscriptionR' + description: The delete request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_78' + $ref: '#/components/schemas/inline_response_400_82' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_78' + $ref: '#/components/schemas/inline_response_401_82' description: "401" "402": content: @@ -13667,7 +14580,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_78' + $ref: '#/components/schemas/inline_response_403_82' description: "403" "404": content: @@ -13693,152 +14606,130 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Tokens Forwarding Automations + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Delete Blockchain Event Subscription tags: - - Automatic Tokens Forwarding + - Manage Subscriptions x-cost: 1 x-charge-count: 1 - x-is-list: true - post: - callbacks: - TOKENS_FORWARDING_SUCCESS: - '{$request.BODY#/callbackUrl': - post: - operationId: tOKENS_FORWARDING_SUCCESS_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TokensForwardingSuccess' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - TOKENS_FORWARDING_FAIL: - '{$request.BODY#/callbackUrl': - post: - operationId: tOKENS_FORWARDING_FAIL_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TokensForwardingFail' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can set up an automatic forwarding\ - \ function specifically for tokens (**not** coins). They can have a `toAddress`\ - \ which is essentially the main address and the destination for the automatic\ - \ tokens forwarding. \r\n\r\nThere is also a `minimumTransferAmount` which\ - \ only when reached will then trigger the forwarding. Through this the customer\ - \ can save from fees.\r\n\r\nMoreover, `feePriority` can be also set, which\ - \ defines how quickly to move the tokens once they are received. The higher\ - \ priority, the larger the fee will be. It can be \"SLOW\", \"STANDARD\" or\ - \ \"FAST\".\r\n\r\nThe response of this endpoint contains an attribute `fromAddress`\ - \ which can be used as a deposit address. Any funds received by this address\ - \ will be automatically forwarded to `toAddress` based on what the customer\ - \ has set for the automation.\r\n\r\nFor this automatic forwarding the customer\ - \ can set a callback subscription.\r\n\r\n{warning}Currently we support fungible\ - \ tokens (ERC-20) **only**, NFTs (ERC-721) are **not** supported.{/warning}\r\ - \n\r\n{warning}The subscription will work for all incoming transactions until\ - \ it is deleted. There is no need to do that for every transaction.{/warning}\r\ - \n\r\n{note}This endpoint generates a new `fromAddress` each time.{/note}" - operationId: Create Automatic Tokens Forwarding + x-is-list: false + /blockchain-events/{blockchain}/{network}/addresses/{address}: + get: + description: This endpoint creates a shortcut to obtain information from Blockchain + data by going through Blockchain Events and a specific Event Subscription. + It provides data for a specific address from the Event it takes part in only + if the address already exists in the blockchain events subscriptions. It applies + only for Events related to that customer. + operationId: Get Address Details From Callback parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin + - bitcoin-cash + - litecoin + - dash + - dogecoin - ethereum + - ethereum-classic + - binance-smart-chain + - xrp + - zilliqa + - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten + - mordor example: testnet type: string style: simple + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + explode: false + in: path + name: address + required: true + schema: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + type: string + style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRB' responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingR' - description: The resource has been successfully created. + $ref: '#/components/schemas/GetAddressDetailsFromCallbackR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_79' + $ref: '#/components/schemas/inline_response_400_83' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_79' + $ref: '#/components/schemas/inline_response_401_83' description: "401" "402": content: @@ -13851,14 +14742,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_79' + $ref: '#/components/schemas/inline_response_403_83' description: "403" "404": content: application/json: schema: - $ref: '#/components/schemas/inline_response_404_1' - description: The specified resource has not been found. + $ref: '#/components/schemas/inline_response_404_4' + description: The provided address has no subscriptions. "409": content: application/json: @@ -13877,154 +14768,128 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Create Automatic Tokens Forwarding + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Address Details From Callback tags: - - Automatic Tokens Forwarding - x-cost: 10 + - Callback Data + x-cost: 5 x-charge-count: 1 x-is-list: false - /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/add-token: - post: - callbacks: - TOKENS_FORWARDING_SUCCESS: - '{$request.BODY#/callbackUrl': - post: - operationId: tOKENS_FORWARDING_SUCCESS_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TokensForwardingSuccess' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - TOKENS_FORWARDING_FAIL: - '{$request.BODY#/callbackUrl': - post: - operationId: tOKENS_FORWARDING_FAIL_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TokensForwardingFail' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can add **Automatic Tokens forwardings**\ - \ to an already existing `fromAddress`. Unlike the \"Create Automatic Tokens\ - \ Forwarding\" endpoint, where the `fromAddress` is generated each time, with\ - \ this endpoint customers can add an automation from another token to one\ - \ and the same `fromAddress`.\r\n\r\nThe `fromAddress` can be used as a deposit\ - \ address. Any funds received by this address will be automatically forwarded\ - \ to `toAddress` based on what the customer has set for the automation. The\ - \ `toAddress` is essentially the main address and destination for the automatic\ - \ tokens forwarding.\r\n\r\nThere is also a `minimumTransferAmount` which\ - \ only when reached will then trigger the forwarding. Through this the customer\ - \ can save from fees.\r\n\r\nMoreover, `feePriority` can be also set, which\ - \ defines how quickly to move the tokens once they are received. The higher\ - \ priority, the larger the fee will be. It can be \"SLOW\", \"STANDARD\" or\ - \ \"FAST\".\r\n\r\nFor this automatic forwarding the customer can set a callback\ - \ subscription.\r\n\r\n{warning}Currently we support fungible tokens (ERC-20)\ - \ **only**, NFTs (ERC-721) are **not** supported.{/warning}\r\n\r\n{warning}The\ - \ subscription will work for all incoming transactions until it is deleted.\ - \ There is no need to do that for every transaction.{/warning}" - operationId: Add Tokens To Existing fromAddress + /blockchain-events/{blockchain}/{network}/transactions/{transactionId}: + get: + description: This endpoint creates a shortcut to obtain information from Blockchain + data by going through Blockchain Events and a specific Event Subscription. + It provides data for a specific transaction from the Event it takes part in + by providing the `transactionId` attribute. It applies only for Events related + to that user. + operationId: Get Transaction Details By Transaction ID From Callback parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - ethereum + - bitcoin-cash + - litecoin + - dash + - dogecoin + - zcash + - ethereum-classic + - binance-smart-chain + - zilliqa + - xrp example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten + - mordor example: testnet type: string style: simple + - description: String identifier of the transaction + example: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 + explode: false + in: path + name: transactionId + required: true + schema: + description: String identifier of the transaction + example: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 + type: string + style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddTokensToExistingFromAddressRB' responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddTokensToExistingFromAddressR' - description: The resource has been successfully created. + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_80' + $ref: '#/components/schemas/inline_response_400_84' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_80' + $ref: '#/components/schemas/inline_response_401_84' description: "401" "402": content: @@ -14037,7 +14902,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_80' + $ref: '#/components/schemas/inline_response_403_84' description: "403" "404": content: @@ -14063,85 +14928,113 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Add Tokens To Existing fromAddress + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Transaction Details By Transaction ID From Callback tags: - - Automatic Tokens Forwarding + - Callback Data x-cost: 5 x-charge-count: 1 x-is-list: false - /blockchain-automations/{blockchain}/{network}/tokens-forwarding/fee-addresses: + /blockcain-events/{blockchain}/{network}/blocks/hash/{blockHash}: get: - description: "Through this endpoint customers can obtain details about a fee\ - \ address. Only one fee address per currency per network for a user's account\ - \ can be set no matter how many tokens or subscriptions they have or want\ - \ to automatically forward.\r\n\r\n{warning}Currently we support fungible\ - \ tokens (ERC-20) **only**, NFTs (ERC-721) are **not** supported.{/warning}" - operationId: Get Fee Address Details + description: This endpoint creates a shortcut to obtain information from Blockchain + data by going through Blockchain Events and a specific Event Subscription. + It provides data for a specific block by providing the `blockHash` attribute + from the Event it takes part in and after making check that the customer in + question does have a subscription for this block. It applies only for Events + related to that user. + operationId: Get Block Details By Block Hash From Callback parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin + - bitcoin-cash + - litecoin + - dash + - dogecoin - ethereum + - binance-smart-chain + - ethereum-classic + - zilliqa + - xrp + - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten + - mordor example: testnet type: string style: simple + - description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 000000000000000bdea8ba7df4bfd9f398e428fde8ee47152bcf93834ee48e8a + explode: false + in: path + name: blockHash + required: true + schema: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 000000000000000bdea8ba7df4bfd9f398e428fde8ee47152bcf93834ee48e8a + type: string + style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -14149,19 +15042,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetFeeAddressDetailsR' + $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_81' + $ref: '#/components/schemas/inline_response_400_85' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_81' + $ref: '#/components/schemas/inline_response_401_85' description: "401" "402": content: @@ -14174,14 +15067,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_81' + $ref: '#/components/schemas/inline_response_403_85' description: "403" "404": content: application/json: schema: - $ref: '#/components/schemas/inline_response_404_1' - description: The specified resource has not been found. + $ref: '#/components/schemas/inline_response_404_2' + description: The specified block has not been found on the specific blockchain. "409": content: application/json: @@ -14200,102 +15093,106 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Fee Address Details + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Block Details By Block Hash From Callback tags: - - Automatic Tokens Forwarding - x-cost: 1 + - Callback Data + x-cost: 5 x-charge-count: 1 x-is-list: false - /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/{referenceId}: - delete: - description: "Through this endpoint customers can delete a forwarding function\ - \ they have set for **tokens** (**not** coins).\r\n\r\nBy setting a `fromAddress`\ - \ and a `toAddress`, and specifying the amount, tokens can be transferred\ - \ between addresses. \r\n\r\nA `feePriority` will be returned which represents\ - \ the fee priority of the automation whether it is \"SLOW\", \"STANDARD\"\ - \ OR \"FAST\".\r\n\r\n{warning}Currently we support fungible tokens (ERC-20)\ - \ **only**, NFTs (ERC-721) are **not** supported.{/warning}\r\n\r\n{warning}The\ - \ subscription will work for all incoming transactions until it is deleted.\ - \ There is no need to do that for every transaction.{/warning}" - operationId: Delete Automatic Tokens Forwarding + /blockcain-events/{blockchain}/{network}/blocks/height/{blockHeight}: + get: + description: This endpoint creates a shortcut to obtain information from Blockchain + data by going through Blockchain Events and a specific Event Subscription. + It provides data for the specific Block by providing the `blockHeight` attribute + from the Event it takes part in. It applies only for Events related to that + user. + operationId: Get Block Details By Block Height From Callback parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin + - bitcoin-cash + - litecoin + - dash + - dogecoin - ethereum + - binance-smart-chain + - ethereum-classic + - zilliqa + - xrp + - zcash example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten + - mordor example: testnet type: string style: simple - - description: Represents a unique ID used to reference the specific callback - subscription. - example: 6017dd02a309213863be9e55 + - description: Numeric representation of the block height explode: false in: path - name: referenceId + name: blockHeight required: true schema: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 6017dd02a309213863be9e55 + description: Numeric representation of the block height type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -14303,19 +15200,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingR' - description: The delete request has been successful. + $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_82' + $ref: '#/components/schemas/inline_response_400_86' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_82' + $ref: '#/components/schemas/inline_response_401_86' description: "401" "402": content: @@ -14328,14 +15225,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_82' + $ref: '#/components/schemas/inline_response_403_86' description: "403" "404": content: application/json: schema: - $ref: '#/components/schemas/inline_response_404_1' - description: The specified resource has not been found. + $ref: '#/components/schemas/inline_response_404_2' + description: The specified block has not been found on the specific blockchain. "409": content: application/json: @@ -14354,116 +15251,137 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Delete Automatic Tokens Forwarding + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Block Details By Block Height From Callback tags: - - Automatic Tokens Forwarding - x-cost: 1 + - Callback Data + x-cost: 5 x-charge-count: 1 x-is-list: false - /blockchain-tools/{blockchain}/{network}/addresses/validate: + /blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed: post: - description: This endpoint checks user public addresses whether they are valid - or not. - operationId: Validate Address + callbacks: + ADDRESS_INTERNAL_TRANSACTION_CONFIRMED: + '{$request.BODY#/callbackUrl': + post: + operationId: aDDRESS_INTERNAL_TRANSACTION_CONFIRMED_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddressInternalTransactionConfirmed' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can create callback subscriptions\ + \ for a specific event. In this case the event is when there are new confirmed\ + \ internal transactions. By creating this subscription the user will be notified\ + \ by Crypto APIs 2.0 when that event occurs.\r\n\r\nBeing confirmed means\ + \ that the transactions are verified by miners and added to the next block.\r\ + \n\r\n{note}To have an operational callback subscription, you need to first\ + \ verify a domain for the Callback URL. Please see more information on Callbacks\ + \ [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ + \ There are cases when the specific event doesn't happen at all, or takes\ + \ a long time to do so. A callback notification **will not** be sent if the\ + \ event does not or cannot occur, or will take long time to occur.{/warning}" + operationId: New confirmed internal transactions parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum-classic explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - bitcoin - - bitcoin-cash - - litecoin - - dogecoin - - dash - ethereum - ethereum-classic - - xrp - - zilliqa - - zcash - example: bitcoin + - binance-smart-chain + example: ethereum-classic type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: mordor explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet - ropsten - mordor - example: testnet + example: mordor type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form requestBody: content: application/json: schema: - $ref: '#/components/schemas/ValidateAddressRB' + $ref: '#/components/schemas/NewConfirmedInternalTransactionsRB' responses: "200": content: application/json: schema: - $ref: '#/components/schemas/ValidateAddressR' + $ref: '#/components/schemas/NewConfirmedInternalTransactionsR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_83' + $ref: '#/components/schemas/inline_response_400_87' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_83' + $ref: '#/components/schemas/inline_response_401_87' description: "401" "402": content: @@ -14476,14 +15394,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_83' + $ref: '#/components/schemas/inline_response_403_87' description: "403" "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_14' + description: "409" "415": content: application/json: @@ -14496,98 +15414,138 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Validate Address + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New confirmed internal transactions tags: - - Features - x-cost: 1 + - Create Subscriptions for + x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-tools/{blockchain}/{network}/fees/eip1559: - get: - description: Through this endpoint customers can obtain fee recommendations - specifically for EIP 1559. - operationId: Get EIP 1559 Fee Recommendations + /blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed-each-confirmation: + post: + callbacks: + ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION: + '{$request.BODY#/callbackUrl': + post: + operationId: aDDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddressInternalTransactionConfirmedEachConfirmation' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can create callback subscriptions\ + \ for a specific event. In this case the event is when there are new confirmed\ + \ internal transactions. Includes also a response at each confirmation the\ + \ transaction receives until the specified confirmations limit is reached.\ + \ By creating this subscription the user will be notified by Crypto APIs 2.0\ + \ when that event occurs. \r\n\r\nBeing confirmed means that the transactions\ + \ are verified by miners and added to the next block.\r\n\r\n{note}To have\ + \ an operational callback subscription, you need to first verify a domain\ + \ for the Callback URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}\r\ + \n\r\n{warning}Crypto APIs will notify the user **only when** the event occurs.\ + \ There are cases when the specific event doesn't happen at all, or takes\ + \ a long time to do so. A callback notification **will not** be sent if the\ + \ event does not or cannot occur, or will take long time to occur.{/warning}" + operationId: New confirmed internal transactions and each confirmation parameters: - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: ropsten + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum-classic explode: false in: path - name: network + name: blockchain required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - mainnet - - ropsten - example: ropsten + - ethereum + - ethereum-classic + - binance-smart-chain + example: ethereum-classic type: string style: simple - - description: Represents the specific blockchain protocol name, e.g. Ethereum. - example: ethereum + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: mordor explode: false in: path - name: blockchain + name: network required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - - ethereum - example: ethereum + - mainnet + - testnet + - ropsten + - mordor + example: mordor type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationRB' responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/GetEIP1559FeeRecommendationsR' - description: The request has been successful. + $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationR' + description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_84' + $ref: '#/components/schemas/inline_response_400_88' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_84' + $ref: '#/components/schemas/inline_response_401_88' description: "401" "402": content: @@ -14600,20 +15558,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_84' + $ref: '#/components/schemas/inline_response_403_88' description: "403" - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/inline_response_404_1' - description: The specified resource has not been found. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_15' + description: "409" "415": content: application/json: @@ -14626,81 +15578,52 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get EIP 1559 Fee Recommendations + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: New confirmed internal transactions and each confirmation tags: - - Features - x-cost: 5 + - Create Subscriptions for + x-cost: 10 x-charge-count: 1 x-is-list: false - /blockchain-tools/{blockchain}/{network}/transactions/broadcast: - post: - callbacks: - BROADCAST_TRANSACTION_SUCCESS: - '{$request.BODY#/callbackUrl': - post: - operationId: bROADCAST_TRANSACTION_SUCCESS_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BroadcastTransactionSuccess' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - BROADCAST_TRANSACTION_FAIL: - '{$request.BODY#/callbackUrl': - post: - operationId: bROADCAST_TRANSACTION_FAIL_request_BODYCallbackUrlPost - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BroadcastTransactionFail' - required: true - responses: - "200": - description: A Webhook request expects a response with status code - 200 (OK) or it will retry the request. - x-callback-request: true - description: "Through this endpoint customers can broadcast transactions that\ - \ have been already signed locally. Instead of using a node for broadcasting\ - \ a signed transaction users can use this endpoint. We then keep the user\ - \ posted about the status by sending you a callback with a success or failure\ - \ status.\r\n\r\n{warning}This can be prepared and signed **only** locally,\ - \ not through the API. We can provide support only for the process of broadcasting.{/warning}" - operationId: Broadcast Locally Signed Transaction + /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations: + get: + description: "Through this endpoint customers can list all of their **coins**\ + \ forwarding automations (**not** tokens).\r\n\r\nCustomers can set up automatic\ + \ forwarding functions for coins by setting a `fromAddress` and a `toAddress`,\ + \ and specifying the amount that can be transferred between addresses. \r\n\ + \r\nA `feePriority` will be returned which represents the fee priority of\ + \ the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\".\r\n\r\n\ + {warning}The subscription will work for all transactions until it is deleted.\ + \ There is no need to do that for every transaction.{/warning}" + operationId: List Coins Forwarding Automations parameters: - - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin explode: false in: path name: blockchain required: true schema: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - bitcoin - bitcoin-cash @@ -14709,26 +15632,23 @@ paths: - dash - ethereum - ethereum-classic - - zcash - - binance-smart-chain - - xrp example: bitcoin type: string style: simple - - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." example: testnet explode: false in: path name: network required: true schema: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - mainnet - testnet @@ -14741,36 +15661,61 @@ paths: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionRB' + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + style: form responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionR' - description: The resource has been successfully created. + $ref: '#/components/schemas/ListCoinsForwardingAutomationsR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_85' + $ref: '#/components/schemas/inline_response_400_89' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_85' + $ref: '#/components/schemas/inline_response_401_89' description: "401" "402": content: @@ -14783,7 +15728,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_85' + $ref: '#/components/schemas/inline_response_403_89' description: "403" "404": content: @@ -14795,8 +15740,8 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_409_17' - description: "409" + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. "415": content: application/json: @@ -14809,111 +15754,159 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Broadcast Locally Signed Transaction + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Coins Forwarding Automations tags: - - Features - x-cost: 10 + - Automatic Coins Forwarding + x-cost: 1 x-charge-count: 1 - x-is-list: false - /market-data/assets/supported: - get: - description: This endpoint will return a list of supported assets. The asset - could be a cryptocurrency or FIAT assets that we support. Each asset has a - unique identifier - `assetId` and a unique symbol in the form of a string, - e.g. "BTC". - operationId: List Supported Assets - parameters: - - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - explode: true - in: query - name: context - required: false - schema: - type: string - style: form - - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". - example: crypto - explode: true - in: query - name: assetType - required: false - schema: - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". + x-is-list: true + post: + callbacks: + COINS_FORWARDING_SUCCESS: + '{$request.BODY#/callbackUrl': + post: + operationId: cOINS_FORWARDING_SUCCESS_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CoinsForwardingSuccess' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + COINS_FORWARDING_FAIL: + '{$request.BODY#/callbackUrl': + post: + operationId: cOINS_FORWARDING_FAIL_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CoinsForwardingFail' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can set up an automatic forwarding\ + \ function specifically for coins (**not** tokens). They can have a `toAddress`\ + \ which is essentially the main address and the destination for the automatic\ + \ coins forwarding. \r\n\r\nThere is also a `minimumTransferAmount` which\ + \ only when reached will then trigger the forwarding. Through this the customer\ + \ can save from fees.\r\n\r\nMoreover, `feePriority` can be also set, which\ + \ defines how quickly to move the coins once they are received. The higher\ + \ priority, the larger the fee will be. It can be \"SLOW\", \"STANDARD\" or\ + \ \"FAST\".\r\n\r\nThe response of this endpoint contains an attribute `fromAddress`\ + \ which can be used as a deposit address. Any funds received by this address\ + \ will be automatically forwarded to `toAddress` based on what the customer\ + \ has set for the automation.\r\n\r\nFor this automatic forwarding the customer\ + \ can set a callback subscription.\r\n\r\n{warning}The subscription will work\ + \ for all incoming transactions until it is deleted. There is no need to do\ + \ that for every transaction.{/warning}\r\n\r\n{note}This endpoint generates\ + \ a new `fromAddress` each time.{/note}" + operationId: Create Automatic Coins Forwarding + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - fiat - - crypto - example: crypto + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - ethereum + - ethereum-classic + example: bitcoin type: string - style: form - - description: Defines how many items should be returned in the response per - page basis. - example: 50 - explode: true - in: query - name: limit - required: false + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true schema: - default: 50 - description: Defines how many items should be returned in the response per - page basis. - example: 50 - type: integer - style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + - mordor + example: testnet + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString explode: true in: query - name: offset + name: context required: false schema: - default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 - type: integer + example: yourExampleString + type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateAutomaticCoinsForwardingRB' responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/ListSupportedAssetsR' - description: The request has been successful. + $ref: '#/components/schemas/CreateAutomaticCoinsForwardingR' + description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_86' + $ref: '#/components/schemas/inline_response_400_90' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_86' + $ref: '#/components/schemas/inline_response_401_90' description: "401" "402": content: @@ -14926,14 +15919,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_86' + $ref: '#/components/schemas/inline_response_403_90' description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. "409": content: application/json: schema: - $ref: '#/components/schemas/inline_response_409' - description: The data provided seems to be invalid. + $ref: '#/components/schemas/inline_response_409_16' + description: "409" "415": content: application/json: @@ -14946,103 +15945,126 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Supported Assets + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Create Automatic Coins Forwarding tags: - - Metadata - x-cost: 1 + - Automatic Coins Forwarding + x-cost: 10 x-charge-count: 1 - x-is-list: true - /market-data/exchange-rates/by-symbols/{fromAssetSymbol}/{toAssetSymbol}: - get: - description: Through this endpoint customers can obtain exchange rates by asset - symbols. The process represents the exchange rate value of a single unit of - one asset versus another one. Data is provided per unique asset symbol. - operationId: Get Exchange Rate By Asset Symbols + x-is-list: false + /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations/{referenceId}: + delete: + description: "Through this endpoint customers can delete a forwarding function\ + \ they have set for **coins** (**not** tokens).\r\n\r\nBy setting a `fromAddress`\ + \ and a `toAddress`, and specifying the amount, coins can be transferred between\ + \ addresses. \r\n\r\nA `feePriority` will be returned which represents the\ + \ fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"\ + FAST\".\r\n\r\n{warning}The subscription will work for all incoming transactions\ + \ until it is deleted. There is no need to do that for every transaction.{/warning}" + operationId: Delete Automatic Coins Forwarding parameters: - - description: Defines the base asset symbol to get a rate for. - example: btc + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin explode: false in: path - name: fromAssetSymbol + name: blockchain required: true schema: - description: Defines the base asset symbol to get a rate for. - example: btc + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - ethereum + example: bitcoin type: string style: simple - - description: Defines the relation asset symbol in which the base asset rate - will be displayed. - example: usd + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet explode: false in: path - name: toAssetSymbol + name: network required: true schema: - description: Defines the relation asset symbol in which the base asset rate - will be displayed. - example: usd + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + example: testnet + type: string + style: simple + - description: Represents a unique ID used to reference the specific callback + subscription. + example: 600955ea5e75d660e71d3c7d + explode: false + in: path + name: referenceId + required: true + schema: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 600955ea5e75d660e71d3c7d type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - - description: Defines the time of the market data used to calculate the exchange - rate in UNIX Timestamp. - example: 1635514425 - explode: true - in: query - name: calculationTimestamp - required: false - schema: - description: Defines the time of the market data used to calculate the exchange - rate in UNIX Timestamp. - example: 1635514425 - type: integer - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsR' - description: The request has been successful. + $ref: '#/components/schemas/DeleteAutomaticCoinsForwardingR' + description: The delete request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_87' + $ref: '#/components/schemas/inline_response_400_91' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_87' + $ref: '#/components/schemas/inline_response_401_91' description: "401" "402": content: @@ -15055,8 +16077,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_87' + $ref: '#/components/schemas/inline_response_403_91' description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. "409": content: application/json: @@ -15074,83 +16102,121 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_422_4' - description: "422" + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Exchange Rate By Asset Symbols + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Delete Automatic Coins Forwarding tags: - - Exchange Rates + - Automatic Coins Forwarding x-cost: 1 x-charge-count: 1 x-is-list: false - /market-data/exchange-rates/by-asset-ids/{fromAssetId}/{toAssetId}: + /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations: get: - description: Through this endpoint customers can obtain exchange rates by asset - IDs. The process represents the exchange rate value of a single unit of one - asset versus another one. Data is provided per unique asset Reference ID. - operationId: Get Exchange Rate By Assets IDs + description: "Through this endpoint customers can list all of their **tokens**\ + \ forwarding automations (**not** coins).\r\n\r\nCustomers can set up automatic\ + \ forwarding functions for tokens by setting a `fromAddress` and a `toAddress`,\ + \ and specifying the amount that can be transferred between addresses. \r\n\ + \r\nA `feePriority` will be returned which represents the fee priority of\ + \ the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". \r\n\r\n\ + {warning}Currently we support fungible tokens (ERC-20) **only**, NFTs (ERC-721)\ + \ are **not** supported.{/warning}\r\n\r\n{warning}The subscription will work\ + \ for all transactions until it is deleted. There is no need to do that for\ + \ every transaction.{/warning}" + operationId: List Tokens Forwarding Automations parameters: - - description: Defines the base asset Reference ID to get a rate for. - example: 5b1ea92e584bf50020130612 + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin explode: false in: path - name: fromAssetId + name: blockchain required: true schema: - description: Defines the base asset Reference ID to get a rate for. - example: 5b1ea92e584bf50020130612 + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - ethereum + example: bitcoin type: string style: simple - - description: Defines the relation asset Reference ID in which the base asset - rate will be displayed. - example: 5b1ea92e584bf50020130615 + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet explode: false in: path - name: toAssetId + name: network required: true schema: - description: Defines the relation asset Reference ID in which the base asset - rate will be displayed. - example: 5b1ea92e584bf50020130615 + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + example: testnet type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form - - description: Defines the time of the market data used to calculate the exchange - rate in UNIX Timestamp. - example: 1618577849 + - description: Defines how many items should be returned in the response per + page basis. + example: 50 explode: true in: query - name: calculationTimestamp + name: limit required: false schema: - description: Defines the time of the market data used to calculate the exchange - rate in UNIX Timestamp. - example: 1618577849 + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 type: integer style: form responses: @@ -15158,19 +16224,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetExchangeRateByAssetsIDsR' - description: The request has been successfull. + $ref: '#/components/schemas/ListTokensForwardingAutomationsR' + description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_88' + $ref: '#/components/schemas/inline_response_400_92' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_88' + $ref: '#/components/schemas/inline_response_401_92' description: "401" "402": content: @@ -15183,8 +16249,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_88' + $ref: '#/components/schemas/inline_response_403_92' description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. "409": content: application/json: @@ -15202,138 +16274,155 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_422_5' - description: "422" + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Exchange Rate By Assets IDs + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Tokens Forwarding Automations tags: - - Exchange Rates + - Automatic Tokens Forwarding x-cost: 1 x-charge-count: 1 - x-is-list: false - /market-data/assets/details: - get: - description: "This endpoint will return a list of details on assets. These could\ - \ be cryptocurrencies or FIAT assets that we support. Each asset has a unique\ - \ identifier - `assetId` and a unique symbol in the form of a string, e.g.\ - \ \"BTC\".\r\n\r\nThe details returned could include information on the latest\ - \ rate and rate fluctuation of different periods of time - 24 hours, a week,\ - \ one hour, the encoding of the logo, and more." - operationId: List Assets Details + x-is-list: true + post: + callbacks: + TOKENS_FORWARDING_SUCCESS: + '{$request.BODY#/callbackUrl': + post: + operationId: tOKENS_FORWARDING_SUCCESS_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TokensForwardingSuccess' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + TOKENS_FORWARDING_FAIL: + '{$request.BODY#/callbackUrl': + post: + operationId: tOKENS_FORWARDING_FAIL_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TokensForwardingFail' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can set up an automatic forwarding\ + \ function specifically for tokens (**not** coins). They can have a `toAddress`\ + \ which is essentially the main address and the destination for the automatic\ + \ tokens forwarding. \r\n\r\nThere is also a `minimumTransferAmount` which\ + \ only when reached will then trigger the forwarding. Through this the customer\ + \ can save from fees.\r\n\r\nMoreover, `feePriority` can be also set, which\ + \ defines how quickly to move the tokens once they are received. The higher\ + \ priority, the larger the fee will be. It can be \"SLOW\", \"STANDARD\" or\ + \ \"FAST\".\r\n\r\nThe response of this endpoint contains an attribute `fromAddress`\ + \ which can be used as a deposit address. Any funds received by this address\ + \ will be automatically forwarded to `toAddress` based on what the customer\ + \ has set for the automation.\r\n\r\nFor this automatic forwarding the customer\ + \ can set a callback subscription.\r\n\r\n{warning}Currently we support fungible\ + \ tokens (ERC-20) **only**, NFTs (ERC-721) are **not** supported.{/warning}\r\ + \n\r\n{warning}The subscription will work for all incoming transactions until\ + \ it is deleted. There is no need to do that for every transaction.{/warning}\r\ + \n\r\n{note}This endpoint generates a new `fromAddress` each time.{/note}" + operationId: Create Automatic Tokens Forwarding parameters: - - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - explode: true - in: query - name: context - required: false - schema: - type: string - style: form - - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". - example: crypto - explode: true - in: query - name: assetType - required: false + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true schema: - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." enum: - - fiat - - crypto - example: crypto + - bitcoin + - ethereum + example: bitcoin type: string - style: form - - description: Subtype of the crypto assets. Could be COIN or TOKEN - example: coin - explode: true - in: query - name: cryptoType - required: false + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true schema: - description: Subtype of the crypto assets. Could be COIN or TOKEN + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." enum: - - coin - - token - example: coin + - mainnet + - testnet + - ropsten + example: testnet type: string - style: form - - description: Defines how many items should be returned in the response per - page basis. - example: 50 - explode: true - in: query - name: limit - required: false - schema: - default: 50 - description: Defines how many items should be returned in the response per - page basis. - example: 50 - type: integer - style: form - - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 - explode: true - in: query - name: offset - required: false - schema: - default: 0 - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 10 - type: integer - style: form - - description: Show only if WaaS is/not enabled - example: true + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString explode: true in: query - name: waasEnabled + name: context required: false schema: - description: Show only if WaaS is/not enabled - example: true - type: boolean + example: yourExampleString + type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateAutomaticTokensForwardingRB' responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/ListAssetsDetailsR' - description: The request has been successful. + $ref: '#/components/schemas/CreateAutomaticTokensForwardingR' + description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_89' + $ref: '#/components/schemas/inline_response_400_93' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_89' + $ref: '#/components/schemas/inline_response_401_93' description: "401" "402": content: @@ -15346,8 +16435,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_89' + $ref: '#/components/schemas/inline_response_403_93' description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. "409": content: application/json: @@ -15366,78 +16461,156 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: List Assets Details + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Create Automatic Tokens Forwarding tags: - - Assets - x-cost: 1 + - Automatic Tokens Forwarding + x-cost: 10 x-charge-count: 1 - x-is-list: true - /market-data/assets/assetId/{assetId}: - get: - description: "Through this endpoint users can obtain information on assets by\ - \ `assetId`.\r\n\r\nThe details returned could include information on the\ - \ latest rate and rate fluctuation of different periods of time - 24 hours,\ - \ a week, one hour, the encoding of the logo, and more." - operationId: Get Asset Details By Asset ID - parameters: - - description: Defines the unique ID of the specific asset. - example: 5b1ea92e584bf50020130612 - explode: false - in: path - name: assetId - required: true + x-is-list: false + /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/add-token: + post: + callbacks: + TOKENS_FORWARDING_SUCCESS: + '{$request.BODY#/callbackUrl': + post: + operationId: tOKENS_FORWARDING_SUCCESS_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TokensForwardingSuccess' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + TOKENS_FORWARDING_FAIL: + '{$request.BODY#/callbackUrl': + post: + operationId: tOKENS_FORWARDING_FAIL_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TokensForwardingFail' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can add **Automatic Tokens forwardings**\ + \ to an already existing `fromAddress`. Unlike the \"Create Automatic Tokens\ + \ Forwarding\" endpoint, where the `fromAddress` is generated each time, with\ + \ this endpoint customers can add an automation from another token to one\ + \ and the same `fromAddress`.\r\n\r\nThe `fromAddress` can be used as a deposit\ + \ address. Any funds received by this address will be automatically forwarded\ + \ to `toAddress` based on what the customer has set for the automation. The\ + \ `toAddress` is essentially the main address and destination for the automatic\ + \ tokens forwarding.\r\n\r\nThere is also a `minimumTransferAmount` which\ + \ only when reached will then trigger the forwarding. Through this the customer\ + \ can save from fees.\r\n\r\nMoreover, `feePriority` can be also set, which\ + \ defines how quickly to move the tokens once they are received. The higher\ + \ priority, the larger the fee will be. It can be \"SLOW\", \"STANDARD\" or\ + \ \"FAST\".\r\n\r\nFor this automatic forwarding the customer can set a callback\ + \ subscription.\r\n\r\n{warning}Currently we support fungible tokens (ERC-20)\ + \ **only**, NFTs (ERC-721) are **not** supported.{/warning}\r\n\r\n{warning}The\ + \ subscription will work for all incoming transactions until it is deleted.\ + \ There is no need to do that for every transaction.{/warning}" + operationId: Add Tokens To Existing fromAddress + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true schema: - description: Defines the unique ID of the specific asset. - example: 5b1ea92e584bf50020130612 + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - ethereum + example: bitcoin + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + example: testnet type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddTokensToExistingFromAddressRB' responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDR' - description: The request has been successful. + $ref: '#/components/schemas/AddTokensToExistingFromAddressR' + description: The resource has been successfully created. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_90' + $ref: '#/components/schemas/inline_response_400_94' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_90' + $ref: '#/components/schemas/inline_response_401_94' description: "401" "402": content: @@ -15450,8 +16623,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_90' + $ref: '#/components/schemas/inline_response_403_94' description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. "409": content: application/json: @@ -15470,58 +16649,87 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Asset Details By Asset ID + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Add Tokens To Existing fromAddress tags: - - Assets + - Automatic Tokens Forwarding x-cost: 5 x-charge-count: 1 x-is-list: false - /market-data/assets/{assetSymbol}: + /blockchain-automations/{blockchain}/{network}/tokens-forwarding/fee-addresses: get: - description: "Through this endpoint users can obtain information on assets by\ - \ asset symbol.\r\n\r\nThe details returned could include information on the\ - \ latest rate and rate fluctuation of different periods of time - 24 hours,\ - \ a week, one hour, the encoding of the logo, and more." - operationId: Get Asset Details By Asset Symbol + description: "Through this endpoint customers can obtain details about a fee\ + \ address. Only one fee address per currency per network for a user's account\ + \ can be set no matter how many tokens or subscriptions they have or want\ + \ to automatically forward.\r\n\r\n{warning}Currently we support fungible\ + \ tokens (ERC-20) **only**, NFTs (ERC-721) are **not** supported.{/warning}" + operationId: Get Fee Address Details parameters: - - description: Specifies the asset's unique symbol in the Crypto APIs listings. - example: BTC + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin explode: false in: path - name: assetSymbol + name: blockchain required: true schema: - description: Specifies the asset's unique symbol in the Crypto APIs listings. - example: BTC + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - ethereum + example: bitcoin + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + example: testnet type: string style: simple - description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString explode: true in: query name: context required: false schema: + example: yourExampleString type: string style: form responses: @@ -15529,19 +16737,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolR' + $ref: '#/components/schemas/GetFeeAddressDetailsR' description: The request has been successful. "400": content: application/json: schema: - $ref: '#/components/schemas/inline_response_400_91' + $ref: '#/components/schemas/inline_response_400_95' description: "400" "401": content: application/json: schema: - $ref: '#/components/schemas/inline_response_401_91' + $ref: '#/components/schemas/inline_response_401_95' description: "401" "402": content: @@ -15554,8 +16762,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_403_91' + $ref: '#/components/schemas/inline_response_403_95' description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. "409": content: application/json: @@ -15574,827 +16788,8418 @@ paths: application/json: schema: $ref: '#/components/schemas/inline_response_422' - description: 'Your request body for POST requests must have a structure - of { data: { item: [...properties] } }' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" "429": content: application/json: schema: $ref: '#/components/schemas/inline_response_429' - description: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." "500": content: application/json: schema: $ref: '#/components/schemas/inline_response_500' - description: An unexpected server error has occurred, we are working to - fix this. Please try again later and in case it occurs again please report - it to our team via email. - summary: Get Asset Details By Asset Symbol + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Fee Address Details tags: - - Assets - x-cost: 5 + - Automatic Tokens Forwarding + x-cost: 1 x-charge-count: 1 x-is-list: false -components: - schemas: - GenerateDepositAddressRB: - example: - data: - item: - label: yourLabelStringHere - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - type: string - data: - $ref: '#/components/schemas/GenerateDepositAddressRB_data' - required: - - data - type: object - CreateCoinsTransactionRequestFromWalletRB: - example: - data: - item: - feePriority: standard - note: yourAdditionalInformationhere - recipients: - - amount: "0.125" - address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 - - amount: "0.125" - address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 - prepareStrategy: minimize-dust - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - type: string - data: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletRB_data' - required: - - data - type: object - CreateCoinsTransactionRequestFromAddressRB: - example: - data: - item: - feePriority: slow - note: yourAdditionalInformationhere - amount: "0.2" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/{referenceId}: + delete: + description: "Through this endpoint customers can delete a forwarding function\ + \ they have set for **tokens** (**not** coins).\r\n\r\nBy setting a `fromAddress`\ + \ and a `toAddress`, and specifying the amount, tokens can be transferred\ + \ between addresses. \r\n\r\nA `feePriority` will be returned which represents\ + \ the fee priority of the automation whether it is \"SLOW\", \"STANDARD\"\ + \ OR \"FAST\".\r\n\r\n{warning}Currently we support fungible tokens (ERC-20)\ + \ **only**, NFTs (ERC-721) are **not** supported.{/warning}\r\n\r\n{warning}The\ + \ subscription will work for all incoming transactions until it is deleted.\ + \ There is no need to do that for every transaction.{/warning}" + operationId: Delete Automatic Tokens Forwarding + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - ethereum + example: bitcoin type: string - data: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressRB_data' - required: - - data - type: object - CreateCoinsTransactionFromAddressForWholeAmountRB: - example: - data: - item: - feePriority: standard - note: yourAdditionalInformationhere - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + example: testnet type: string - data: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountRB_data' - required: - - data - type: object - CreateFungibleTokensTransactionRequestFromAddressRB: - example: - data: - item: - feePriority: standard - note: yourAdditionalInformationhere - amount: "0.2" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 - tokenIdentifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + style: simple + - description: Represents a unique ID used to reference the specific callback + subscription. + example: 6017dd02a309213863be9e55 + explode: false + in: path + name: referenceId + required: true + schema: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 6017dd02a309213863be9e55 type: string - data: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRB_data' - required: - - data - type: object - CreateFungibleTokensTransactionRequestFromAddressRISE: - description: Ethereum Erc20 Token - properties: - contractAddress: - description: Defines the contract address in the blockchain for an ERC20 - token. - example: 0x092de782a7e1e0a92991ad829a0a33aef3c7545e + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString type: string - required: - - contractAddress - type: object - CreateFungibleTokensTransactionRequestFromAddressRIS: - description: Represents the specific token data which depends on its type - - if it is a Coin or Token. - oneOf: - - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRISE' - type: object - SyncHDWalletXPubYPubZPubRB: - example: - data: - item: - extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteAutomaticTokensForwardingR' + description: The delete request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_96' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_96' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_96' + description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Delete Automatic Tokens Forwarding + tags: + - Automatic Tokens Forwarding + x-cost: 1 + x-charge-count: 1 + x-is-list: false + /blockchain-tools/{blockchain}/{network}/addresses/validate: + post: + description: This endpoint checks user public addresses whether they are valid + or not. + operationId: Validate Address + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - ethereum + - ethereum-classic + - xrp + - zilliqa + - binance-smart-chain + - zcash + example: bitcoin type: string - data: - $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubRB_data' - required: - - data - type: object - NewUnconfirmedCoinsTransactionsRB: - example: - data: - item: - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + - mordor + example: testnet type: string - data: - $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsRB_data' - required: - - data - type: object - NewUnconfirmedTokensTransactionsRB: - example: - data: - item: - address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString type: string - data: - $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsRB_data' - required: - - data - type: object - NewConfirmedCoinsTransactionsRB: - example: - data: + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ValidateAddressRB' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ValidateAddressR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_97' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_97' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_97' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Validate Address + tags: + - Features + x-cost: 1 + x-charge-count: 1 + x-is-list: false + /blockchain-tools/{blockchain}/{network}/fees/eip1559: + get: + description: Through this endpoint customers can obtain fee recommendations + specifically for EIP 1559. + operationId: Get EIP 1559 Fee Recommendations + parameters: + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - ropsten + example: ropsten + type: string + style: simple + - description: "Represents the specific blockchain protocol name, e.g. Ethereum." + example: ethereum + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum." + enum: + - ethereum + example: ethereum + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetEIP1559FeeRecommendationsR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_98' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_98' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_98' + description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get EIP 1559 Fee Recommendations + tags: + - Features + x-cost: 5 + x-charge-count: 1 + x-is-list: false + /blockchain-tools/{blockchain}/{network}/transactions/broadcast: + post: + callbacks: + BROADCAST_TRANSACTION_SUCCESS: + '{$request.BODY#/callbackUrl': + post: + operationId: bROADCAST_TRANSACTION_SUCCESS_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BroadcastTransactionSuccess' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + BROADCAST_TRANSACTION_FAIL: + '{$request.BODY#/callbackUrl': + post: + operationId: bROADCAST_TRANSACTION_FAIL_request_BODYCallbackUrlPost + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BroadcastTransactionFail' + required: true + responses: + "200": + description: A Webhook request expects a response with status code + 200 (OK) or it will retry the request. + x-callback-request: true + description: "Through this endpoint customers can broadcast transactions that\ + \ have been already signed locally. Instead of using a node for broadcasting\ + \ a signed transaction users can use this endpoint. We then keep the user\ + \ posted about the status by sending you a callback with a success or failure\ + \ status.\r\n\r\n{warning}This can be prepared and signed **only** locally,\ + \ not through the API. We can provide support only for the process of broadcasting.{/warning}" + operationId: Broadcast Locally Signed Transaction + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - ethereum + - ethereum-classic + - zcash + - binance-smart-chain + - xrp + example: bitcoin + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + - mordor + example: testnet + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BroadcastLocallySignedTransactionRB' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/BroadcastLocallySignedTransactionR' + description: The resource has been successfully submitted. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_99' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_99' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_99' + description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409_17' + description: "409" + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Broadcast Locally Signed Transaction + tags: + - Features + x-cost: 10 + x-charge-count: 1 + x-is-list: false + /blockchain-tools/{blockchain}/{network}/gas-limit: + post: + description: This endpoint helps customer in estimating the gas limit needed + for a transaction. It gives information for gas expenses when sending ether + to contracts or making a transaction with additional data in it. + operationId: Estimate Gas Limit + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum." + example: ethereum + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum." + enum: + - ethereum + - ethereum-classic + - binance-smart-chain + example: ethereum + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - ropsten + - mainnet + - mordor + - testnet + example: ropsten + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/EstimateGasLimitRB' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/EstimateGasLimitR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_100' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_100' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_100' + description: "403" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_404_1' + description: The specified resource has not been found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Estimate Gas Limit + tags: + - Features + x-cost: 5 + x-charge-count: 1 + x-is-list: false + /blockchain-tools/{blockchain}/{network}/gas-limit/contract: + post: + description: This endpoint helps customer in estimating the Contract Gas Limit + needed for a transaction. It gives information for gas expenses for a specific + contract when sending ethers or making a transaction with additional data + in it. + operationId: Estimate Token Gas Limit + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum." + example: ethereum + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum." + enum: + - ethereum + - ethereum-classic + - binance-smart-chain + example: ethereum + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - ropsten + - mainnet + - mordor + - testnet + example: ropsten + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/EstimateTokenGasLimitRB' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/EstimateTokenGasLimitR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_101' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_101' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_101' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Estimate Token Gas Limit + tags: + - Features + x-cost: 5 + x-charge-count: 1 + x-is-list: false + /blockchain-tools/{blockchain}/{network}/decode-raw-transaction: + post: + description: Through this endpoint customers can decode a raw transaction hex + and see the decoded transactions' details. + operationId: Decode Raw Transaction Hex + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - ethereum + - ethereum-classic + - binance-smart-chain + - zcash + example: bitcoin + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + - mordor + example: testnet + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DecodeRawTransactionHexRB' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DecodeRawTransactionHexR' + description: The resource has been successfully created. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_102' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_102' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_102' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Decode Raw Transaction Hex + tags: + - Features + x-cost: 10 + x-charge-count: 1 + x-is-list: false + /blockchain-tools/{blockchain}/{network}/decode-x-address/{xAddress}: + get: + description: "Through this endpoint, customers can decode an encoded XRP address\ + \ with tag, by providing the specific x-address. The response includes the\ + \ decoded classic address and the tag." + operationId: Decode X-Address + parameters: + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: xrp + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - xrp + example: xrp + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + example: testnet + type: string + style: simple + - description: Represents the encoded classic address with its destination tag. + example: TVTMSyg6nRscAm2JtRd8hnpF9nD21CgZx6ibb9iy3EWHotV + explode: false + in: path + name: xAddress + required: true + schema: + description: Represents the encoded classic address with its destination + tag. + example: TVTMSyg6nRscAm2JtRd8hnpF9nD21CgZx6ibb9iy3EWHotV + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/DecodeX-AddressR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_103' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_103' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_103' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Decode X-Address + tags: + - Features + x-cost: 10 + x-charge-count: 1 + x-is-list: false + /blockchain-tools/{blockchain}/{network}/encode-x-address/{classicAddress}/{addressTag}: + get: + description: "Through this endpoint, customers can encode an encoded XRP address\ + \ with tag, by providing the specific x-address. The response includes the\ + \ encoded classic address and the tag." + operationId: Encode X-Address + parameters: + - description: Defines a specific Tag that is an additional XRP address feature. + It helps identifying a transaction recipient beyond a wallet address. + example: 3999472835 + explode: false + in: path + name: addressTag + required: true + schema: + description: Defines a specific Tag that is an additional XRP address feature. + It helps identifying a transaction recipient beyond a wallet address. + example: 3999472835 + type: integer + style: simple + - description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: xrp + explode: false + in: path + name: blockchain + required: true + schema: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - xrp + example: xrp + type: string + style: simple + - description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + explode: false + in: path + name: classicAddress + required: true + schema: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + type: string + style: simple + - description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they differ\ + \ in data, e.g. - \"mainnet\" is the live network with actual data while\ + \ networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + explode: false + in: path + name: network + required: true + schema: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + example: testnet + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/EncodeX-AddressR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_104' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_104' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_104' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Encode X-Address + tags: + - Features + x-cost: 10 + x-charge-count: 1 + x-is-list: false + /market-data/assets/supported: + get: + description: "This endpoint will return a list of supported assets. The asset\ + \ could be a cryptocurrency or FIAT assets that we support. Each asset has\ + \ a unique identifier - `assetId` and a unique symbol in the form of a string,\ + \ e.g. \"BTC\"." + operationId: List Supported Assets + parameters: + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + - description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + example: crypto + explode: true + in: query + name: assetType + required: false + schema: + description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + enum: + - fiat + - crypto + example: crypto + type: string + style: form + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ListSupportedAssetsR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_105' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_105' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_105' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Supported Assets + tags: + - Metadata + x-cost: 1 + x-charge-count: 1 + x-is-list: true + /market-data/exchange-rates/by-symbols/{fromAssetSymbol}/{toAssetSymbol}: + get: + description: Through this endpoint customers can obtain exchange rates by asset + symbols. The process represents the exchange rate value of a single unit of + one asset versus another one. Data is provided per unique asset symbol. + operationId: Get Exchange Rate By Asset Symbols + parameters: + - description: Defines the base asset symbol to get a rate for. + example: btc + explode: false + in: path + name: fromAssetSymbol + required: true + schema: + description: Defines the base asset symbol to get a rate for. + example: btc + type: string + style: simple + - description: Defines the relation asset symbol in which the base asset rate + will be displayed. + example: usd + explode: false + in: path + name: toAssetSymbol + required: true + schema: + description: Defines the relation asset symbol in which the base asset rate + will be displayed. + example: usd + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + - description: Defines the time of the market data used to calculate the exchange + rate in UNIX Timestamp. + example: 1635514425 + explode: true + in: query + name: calculationTimestamp + required: false + schema: + description: Defines the time of the market data used to calculate the exchange + rate in UNIX Timestamp. + example: 1635514425 + type: integer + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_106' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_106' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_106' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422_6' + description: "422" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Exchange Rate By Asset Symbols + tags: + - Exchange Rates + x-cost: 1 + x-charge-count: 1 + x-is-list: false + /market-data/exchange-rates/by-asset-ids/{fromAssetId}/{toAssetId}: + get: + description: Through this endpoint customers can obtain exchange rates by asset + IDs. The process represents the exchange rate value of a single unit of one + asset versus another one. Data is provided per unique asset Reference ID. + operationId: Get Exchange Rate By Assets IDs + parameters: + - description: Defines the base asset Reference ID to get a rate for. + example: 5b1ea92e584bf50020130612 + explode: false + in: path + name: fromAssetId + required: true + schema: + description: Defines the base asset Reference ID to get a rate for. + example: 5b1ea92e584bf50020130612 + type: string + style: simple + - description: Defines the relation asset Reference ID in which the base asset + rate will be displayed. + example: 5b1ea92e584bf50020130615 + explode: false + in: path + name: toAssetId + required: true + schema: + description: Defines the relation asset Reference ID in which the base asset + rate will be displayed. + example: 5b1ea92e584bf50020130615 + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + - description: Defines the time of the market data used to calculate the exchange + rate in UNIX Timestamp. + example: 1618577849 + explode: true + in: query + name: calculationTimestamp + required: false + schema: + description: Defines the time of the market data used to calculate the exchange + rate in UNIX Timestamp. + example: 1618577849 + type: integer + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetExchangeRateByAssetsIDsR' + description: The request has been successfull. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_107' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_107' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_107' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422_7' + description: "422" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Exchange Rate By Assets IDs + tags: + - Exchange Rates + x-cost: 1 + x-charge-count: 1 + x-is-list: false + /market-data/assets/details: + get: + description: "This endpoint will return a list of details on assets. These could\ + \ be cryptocurrencies or FIAT assets that we support. Each asset has a unique\ + \ identifier - `assetId` and a unique symbol in the form of a string, e.g.\ + \ \"BTC\".\r\n\r\nThe details returned could include information on the latest\ + \ rate and rate fluctuation of different periods of time - 24 hours, a week,\ + \ one hour, the encoding of the logo, and more." + operationId: List Assets Details + parameters: + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + - description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + example: crypto + explode: true + in: query + name: assetType + required: false + schema: + description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + enum: + - fiat + - crypto + example: crypto + type: string + style: form + - description: Subtype of the crypto assets. Could be COIN or TOKEN + example: coin + explode: true + in: query + name: cryptoType + required: false + schema: + description: Subtype of the crypto assets. Could be COIN or TOKEN + enum: + - coin + - token + example: coin + type: string + style: form + - description: Defines how many items should be returned in the response per + page basis. + example: 50 + explode: true + in: query + name: limit + required: false + schema: + default: 50 + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + style: form + - description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + explode: true + in: query + name: offset + required: false + schema: + default: 0 + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + style: form + - description: Show only if WaaS is/not enabled + example: true + explode: true + in: query + name: waasEnabled + required: false + schema: + description: Show only if WaaS is/not enabled + example: true + type: boolean + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ListAssetsDetailsR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_108' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_108' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_108' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: List Assets Details + tags: + - Assets + x-cost: 1 + x-charge-count: 1 + x-is-list: true + /market-data/assets/assetId/{assetId}: + get: + description: "Through this endpoint users can obtain information on assets by\ + \ `assetId`.\r\n\r\nThe details returned could include information on the\ + \ latest rate and rate fluctuation of different periods of time - 24 hours,\ + \ a week, one hour, the encoding of the logo, and more." + operationId: Get Asset Details By Asset ID + parameters: + - description: Defines the unique ID of the specific asset. + example: 5b1ea92e584bf50020130612 + explode: false + in: path + name: assetId + required: true + schema: + description: Defines the unique ID of the specific asset. + example: 5b1ea92e584bf50020130612 + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetAssetDetailsByAssetIDR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_109' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_109' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_109' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Asset Details By Asset ID + tags: + - Assets + x-cost: 5 + x-charge-count: 1 + x-is-list: false + /market-data/assets/{assetSymbol}: + get: + description: "Through this endpoint users can obtain information on assets by\ + \ asset symbol.\r\n\r\nThe details returned could include information on the\ + \ latest rate and rate fluctuation of different periods of time - 24 hours,\ + \ a week, one hour, the encoding of the logo, and more." + operationId: Get Asset Details By Asset Symbol + parameters: + - description: Specifies the asset's unique symbol in the Crypto APIs listings. + example: BTC + explode: false + in: path + name: assetSymbol + required: true + schema: + description: Specifies the asset's unique symbol in the Crypto APIs listings. + example: BTC + type: string + style: simple + - description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + explode: true + in: query + name: context + required: false + schema: + example: yourExampleString + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolR' + description: The request has been successful. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_400_110' + description: "400" + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_401_110' + description: "401" + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_402' + description: You have insufficient credits. Please upgrade your plan from + your Dashboard or contact our team via email. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_403_110' + description: "403" + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_409' + description: The data provided seems to be invalid. + "415": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_415' + description: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_422' + description: "Your request body for POST requests must have a structure\ + \ of { data: { item: [...properties] } }" + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_429' + description: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/inline_response_500' + description: "An unexpected server error has occurred, we are working to\ + \ fix this. Please try again later and in case it occurs again please\ + \ report it to our team via email." + summary: Get Asset Details By Asset Symbol + tags: + - Assets + x-cost: 5 + x-charge-count: 1 + x-is-list: false +components: + schemas: + GenerateDepositAddressRB: + example: + data: + item: + label: yourLabelStringHere + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GenerateDepositAddressRB_data' + required: + - data + type: object + CreateCoinsTransactionRequestFromWalletRB: + example: + data: + item: + feePriority: standard + note: yourAdditionalInformationhere + recipients: + - amount: "0.125" + address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + - amount: "0.125" + address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + prepareStrategy: minimize-dust + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletRB_data' + required: + - data + type: object + CreateCoinsTransactionRequestFromAddressRB: + example: + data: + item: + feePriority: slow + note: yourAdditionalInformationhere + amount: "0.2" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressRB_data' + required: + - data + type: object + CreateCoinsTransactionFromAddressForWholeAmountRB: + example: + data: + item: + feePriority: standard + note: yourAdditionalInformationhere + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountRB_data' + required: + - data + type: object + CreateFungibleTokensTransactionRequestFromAddressRB: + example: + data: + item: + feePriority: standard + note: yourAdditionalInformationhere + amount: "0.2" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + tokenIdentifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRB_data' + required: + - data + type: object + CreateFungibleTokensTransactionRequestFromAddressRISE: + description: Ethereum Erc20 Token + properties: + contractAddress: + description: Defines the contract address in the blockchain for an ERC20 + token. + example: 0x092de782a7e1e0a92991ad829a0a33aef3c7545e + type: string + required: + - contractAddress + type: object + CreateFungibleTokensTransactionRequestFromAddressRIS: + description: Represents the specific token data which depends on its type - + if it is a Coin or Token. + oneOf: + - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRISE' + type: object + SyncHDWalletXPubYPubZPubRB: + example: + data: + item: + extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubRB_data' + required: + - data + type: object + NewUnconfirmedCoinsTransactionsRB: + example: + data: + item: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsRB_data' + required: + - data + type: object + NewUnconfirmedTokensTransactionsRB: + example: + data: + item: + address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsRB_data' + required: + - data + type: object + NewConfirmedCoinsTransactionsRB: + example: + data: + item: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackURL: https://example.com + receiveCallbackOn: 3 + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsRB_data' + required: + - data + type: object + NewConfirmedTokensTransactionsRB: + example: + data: + item: + address: 0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewConfirmedTokensTransactionsRB_data' + required: + - data + type: object + NewConfirmedTokensTransactionsAndEachConfirmationRB: + example: + data: + item: + confirmationsCount: 3 + address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationRB_data' + required: + - data + type: object + NewConfirmedCoinsTransactionsAndEachConfirmationRB: + example: + data: + item: + confirmationsCount: 3 + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationRB_data' + required: + - data + type: object + MinedTransactionRB: + example: + data: + item: + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: false + transactionId: df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/MinedTransactionRB_data' + required: + - data + type: object + NewBlockRB: + example: + data: + item: + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewBlockRB_data' + required: + - data + type: object + ActivateBlockchainEventSubscriptionRB: + example: + data: + item: "{}" + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionRB_data' + required: + - data + type: object + NewConfirmedInternalTransactionsRB: + example: + data: + item: + address: 0xbcc817f057950b0df41206c5d7125e6225cae18e + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewConfirmedInternalTransactionsRB_data' + required: + - data + type: object + NewConfirmedInternalTransactionsAndEachConfirmationRB: + example: + data: + item: + confirmationsCount: 3 + address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + allowDuplicates: true + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationRB_data' + required: + - data + type: object + CreateAutomaticCoinsForwardingRB: + example: + data: + item: + confirmationsCount: 3 + feePriority: standard + minimumTransferAmount: "0.02" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/CreateAutomaticCoinsForwardingRB_data' + required: + - data + type: object + CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken: + description: Bitcoin Omni Token + properties: + propertyId: + description: Represents the specific `propertyId` of the token data that + will be forwarded. + example: 31 + type: integer + required: + - propertyId + type: object + CreateAutomaticTokensForwardingRBTokenDataEthereumToken: + description: Ethereum Token + properties: + contractAddress: + description: Represents the specific `contractAddress` of the Token that + will be forwarded. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + type: string + required: + - contractAddress + type: object + CreateAutomaticTokensForwardingRBTokenData: + oneOf: + - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken' + - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRBTokenDataEthereumToken' + type: object + CreateAutomaticTokensForwardingRB: + example: + data: + item: + confirmationsCount: "3" + feePriority: standard + tokenData: null + minimumTransferAmount: "0.00002" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/CreateAutomaticTokensForwardingRB_data' + required: + - data + type: object + AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken: + description: Bitcoin Omni Token + properties: + propertyId: + description: Represents the specific `propertyId` of the token data that + will be forwarded. + example: 2 + type: integer + required: + - propertyId + type: object + AddTokensToExistingFromAddressRBTokenDataEthereumToken: + description: Ethereum Token + properties: + contractAddress: + description: Represents the specific `contractAddress` of the Token that + will be forwarded. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + type: string + required: + - contractAddress + type: object + AddTokensToExistingFromAddressRBTokenData: + oneOf: + - $ref: '#/components/schemas/AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken' + - $ref: '#/components/schemas/AddTokensToExistingFromAddressRBTokenDataEthereumToken' + type: object + AddTokensToExistingFromAddressRB: + example: + data: + item: + confirmationsCount: 3 + feePriority: standard + tokenData: null + minimumTransferAmount: "0.00001" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/AddTokensToExistingFromAddressRB_data' + required: + - data + type: object + ValidateAddressRB: + example: + data: + item: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ValidateAddressRB_data' + required: + - data + type: object + BroadcastLocallySignedTransactionRB: + example: + data: + item: + signedTransactionHex: 0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69 + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/BroadcastLocallySignedTransactionRB_data' + required: + - data + type: object + EstimateGasLimitRB: + example: + data: + item: + amount: "0.002" + sender: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 + recipient: 0xc065b539490f81b6c297c37b1925c3be2f190738 + additionalData: yourAdditionalString + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/EstimateGasLimitRB_data' + required: + - data + type: object + EstimateTokenGasLimitRB: + example: + data: + item: + amount: "0.12" + sender: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 + contractType: ERC-20 + contract: 0x092de782a7e1e0a92991ad829a0a33aef3c7545e + recipient: 0xc065b539490f81b6c297c37b1925c3be2f190738 + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/EstimateTokenGasLimitRB_data' + required: + - data + type: object + DecodeRawTransactionHexRB: + example: + data: + item: + rawTransactionHex: 0100000001f3f6a909f8521adb57d898d2985834e632374e770fd9e2b98656f1bf1fdfd427010000006b48304502203a776322ebf8eb8b58cc6ced4f2574f4c73aa664edce0b0022690f2f6f47c521022100b82353305988cb0ebd443089a173ceec93fe4dbfe98d74419ecc84a6a698e31d012103c5c1bc61f60ce3d6223a63cedbece03b12ef9f0068f2f3c4a7e7f06c523c3664ffffffff0260e31600000000001976a914977ae6e32349b99b72196cb62b5ef37329ed81b488ac063d1000000000001976a914f76bc4190f3d8e2315e5c11c59cfc8be9df747e388ac00000000 + context: yourExampleString + properties: + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/DecodeRawTransactionHexRB_data' + required: + - data + type: object + DecodeRawTransactionHexRISB: + description: Bitcoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + type: integer + transactionHash: + description: "Represents the same as transactionId for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + vSize: + description: Represents the virtual size of this transaction. + example: 166 + type: integer + version: + description: Represents the transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISB_vout' + type: array + weight: + description: "Represents the size of Bitcoin block, measured in weight units\ + \ and including the segwit discount." + example: 236 + type: integer + required: + - locktime + - transactionHash + - vSize + - version + - vin + - vout + type: object + DecodeRawTransactionHexRISB2: + description: Bitcoin Cash + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + type: integer + transactionHash: + description: "Represents the same as transactionId for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISB2_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISB2_vout' + type: array + weight: + description: "Represents the size of a block, measured in weight units and\ + \ including the segwit discount." + example: 256 + type: integer + required: + - locktime + - transactionHash + - vSize + - version + - vin + - vout + type: object + DecodeRawTransactionHexRISD: + description: Dash + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + type: integer + transactionHash: + description: "Represents the same as transactionId for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId\ + \ for SegWit transactions." + example: 1b2a8bd59c0d776015cfe6fd6b5b4f936ffcf8adf7a56a1eed460e915ce82ea7 + type: string + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISD_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISD_vout' + type: array + weight: + description: "Represents the size of a block, measured in weight units and\ + \ including the segwit discount." + example: 256 + type: integer + required: + - locktime + - transactionHash + - vSize + - version + - vin + - vout + type: object + DecodeRawTransactionHexRISD2: + description: Dogecoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + type: integer + transactionHash: + description: "Represents the same as transactionId for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents transaction version number + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISD2_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISD2_vout' + type: array + weight: + description: "Represents the size of a block, measured in weight units and\ + \ including the segwit discount." + example: 154 + type: integer + required: + - locktime + - transactionHash + - vSize + - version + - vin + - vout + type: object + DecodeRawTransactionHexRISL: + description: Litecoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain + example: 2 + type: integer + transactionHash: + description: "Represents the same as transactionId for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISL_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISL_vout' + type: array + weight: + description: "Represents the size of a block, measured in weight units and\ + \ including the segwit discount." + example: 245 + type: integer + required: + - locktime + - transactionHash + - vSize + - version + - vin + - vout + type: object + DecodeRawTransactionHexRISE: + description: Ethereum + properties: + approximateFee: + description: Defines the approximate fee value. When isConfirmed is True + - Defines the amount of the transaction fee When isConfirmed is False + - For ETH-based blockchains this attribute represents the max fee value. + example: "0.00016932" + type: string + approximateMinimumRequiredFee: + description: Defines the approximate minimum fee that is required for the + transaction. + example: "0.000021" + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPaidForData: + description: Represents the amount of gas paid for the data in the transaction. + example: "0" + type: string + gasPrice: + description: Represents the price offered to the miner to purchase this + amount of gas. + example: "2994782927" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + type: string + maxFeePerGas: + description: Defines the maximum amount that customer is willing to pay + per unit of gas to get his transaction included in a block. + example: "0.000000149248157973" + type: string + maxFeePriorityPerGas: + description: Represents determined by the user value that is paid directly + to miners. + example: "0.000000002" + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + r: + description: Represents output of an ECDSA signature. + example: 0xc297031972fe2d4926e01e66768d669882ace256f8a8397f757af341f5e7c499 + type: string + recipient: + description: The address which receives this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one recipient. + example: 0xd30b438df65f4f788563b2b3611bd6059bff4ad9 + type: string + s: + description: Represents output of an ECDSA signature. + example: 0x7b717faa31c5edf9332e1cd5fa3f736838a9262834ece621bb3c30671b66ab05 + type: string + sender: + description: Represents the address which sends this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one sender. + example: 0xd30b438df65f4f788563b2b3611bd6059bff4ad9 + type: string + type: + description: "Specifies the transaction type as one from three options:\ + \ if response returns a `\"0\"` it means the raw transaction includes\ + \ legacy transaction data, if it is `\"1\"` - includes access lists for\ + \ EIP2930, and if it is `\"2\"` - EIP1559 data." + example: 0 + type: integer + v: + description: Defines the the recovery id. + example: 0x26 + type: string + value: + description: Represents the sent/received amount. + example: "0.06" + type: string + required: + - gasLimit + - nonce + - recipient + - sender + - type + type: object + DecodeRawTransactionHexRISE2: + description: Ethereum Classic + properties: + approximateFee: + description: Defines the approximate fee value. When isConfirmed is True + - Defines the amount of the transaction fee When isConfirmed is False + - For ETH-based blockchains this attribute represents the max fee value. + example: "0.003675" + type: string + approximateMinimumRequiredFee: + description: Defines the approximate minimum fee that is required for the + transaction. + example: "0.000021" + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPaidForData: + description: Represents the amount of gas paid for the data in the transaction. + example: "0" + type: string + gasPrice: + description: Represents the price offered to the miner to purchase this + amount of gas. + example: "2994782927" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + r: + description: Represents output of an ECDSA signature. + example: 0xc297031972fe2d4926e01e66768d669882ace256f8a8397f757af341f5e7c499 + type: string + recipient: + description: The address which receives this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one recipient. + example: 0xd80881d8560a293ae1137166b3180b28b960a9ad + type: string + s: + description: Represents output of an ECDSA signature. + example: 0x7b717faa31c5edf9332e1cd5fa3f736838a9262834ece621bb3c30671b66ab05 + type: string + sender: + description: Represents the address which sends this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one sender. + example: 0xd80881d8560a293ae1137166b3180b28b960a9ad + type: string + type: + description: "Specifies the transaction type as one from three options:\ + \ if response returns a `\"0\"` it means the raw transaction includes\ + \ legacy transaction data, if it is `\"1\"` - includes access lists for\ + \ EIP2930, and if it is `\"2\"` - EIP1559 data." + example: 0 + type: integer + v: + description: Defines the the recovery id. + example: 0x26 + type: string + value: + description: Represents the sent/received amount. + example: "0.025" + type: string + required: + - gasLimit + - nonce + - recipient + - sender + - type + type: object + DecodeRawTransactionHexRISB22: + description: Binance Smart Chain + properties: + approximateFee: + description: Defines the approximate fee value. When isConfirmed is True + - Defines the amount of the transaction fee When isConfirmed is False + - For ETH-based blockchains this attribute represents the max fee value. + example: "0.00016932" + type: string + approximateMinimumRequiredFee: + description: Defines the approximate minimum fee that is required for the + transaction. + example: "0.000021" + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPaidForData: + description: Represents the amount of gas paid for the data in the transaction. + example: "0" + type: string + gasPrice: + description: Represents the price offered to the miner to purchase this + amount of gas. + example: "2994782927" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x34 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + r: + description: Represents output of an ECDSA signature. + example: 0xc297031972fe2d4926e01e66768d669882ace256f8a8397f757af341f5e7c49 + type: string + recipient: + description: The address which receives this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one recipient. + example: 0x59d9d70DC4717cc9F3c1f7Bf3Fb9B62430872725 + type: string + s: + description: Represents output of an ECDSA signature. + example: 0x7b717faa31c5edf9332e1cd5fa3f736838a9262834ece621bb3c30671b66ab05 + type: string + sender: + description: Represents the address which sends this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one sender. + example: 0x4dF189c73C714dd636a99AA4f3317CcD72a05d62 + type: string + type: + description: "Specifies the transaction type as one from three options:\ + \ if response returns a `\"0\"` it means the raw transaction includes\ + \ legacy transaction data, if it is `\"1\"` - includes access lists for\ + \ EIP2930, and if it is `\"2\"` - EIP1559 data." + example: 0 + type: integer + v: + description: Defines the the recovery id. + example: 0x26 + type: string + value: + description: Represents the sent/received amount. + example: "11.25" + type: string + required: + - gasLimit + - nonce + - recipient + - sender + - type + type: object + DecodeRawTransactionHexRISZ: + description: Zcash + properties: + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 + type: integer + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + type: integer + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean + saplinged: + description: Defines if the transaction includes sapling or not. + example: true + type: boolean + transactionHash: + description: "Represents the same as transactionId for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId\ + \ for SegWit transactions." + example: e8ae0fed2699de544f48a9209085a6fe85e4697f3cc5625a85fd5021299e8f82 + type: string + valueBalance: + description: Defines the transaction value balance. + example: "0" + type: string + version: + description: Represents the transaction version number. + example: 4 + type: integer + versionGroupId: + description: Represents the transaction version group ID + example: "2301567109" + type: string + vin: + description: Represents the Inputs of the transaction + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISZ_vin' + type: array + vout: + description: Represents the Inputs of the transaction + items: + $ref: '#/components/schemas/DecodeRawTransactionHexRISZ_vout' + type: array + required: + - expiryHeight + - locktime + - overwintered + - saplinged + - transactionHash + - valueBalance + - version + - versionGroupId + - vin + - vout + type: object + DecodeRawTransactionHexRIS: + description: Represents the specific transaction data according to the blockchain + oneOf: + - $ref: '#/components/schemas/DecodeRawTransactionHexRISB' + - $ref: '#/components/schemas/DecodeRawTransactionHexRISB2' + - $ref: '#/components/schemas/DecodeRawTransactionHexRISD' + - $ref: '#/components/schemas/DecodeRawTransactionHexRISD2' + - $ref: '#/components/schemas/DecodeRawTransactionHexRISL' + - $ref: '#/components/schemas/DecodeRawTransactionHexRISE' + - $ref: '#/components/schemas/DecodeRawTransactionHexRISE2' + - $ref: '#/components/schemas/DecodeRawTransactionHexRISB22' + - $ref: '#/components/schemas/DecodeRawTransactionHexRISZ' + type: object + ListAssetsDetailsRISC: + description: Crypto Type Data + properties: + "1HourPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 1 hour ago. + example: "-2.52" + type: string + "1WeekPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 1 week ago. + example: "-10.18" + type: string + "24HoursPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 24 hours ago. + example: "-3.37" + type: string + "24HoursTradingVolume": + description: Represents the trading volume of the asset for the time frame + of 24 hours. + example: "2871630447" + type: string + assetType: + description: Represent a subtype of the crypto assets. Could be COIN or + TOKEN. + enum: + - coin + - token + example: coin + type: string + circulatingSupply: + description: Represents the amount of the asset that is circulating on the + market and in public hands. + example: "123564.25" + type: string + marketCapInUSD: + description: Defines the total market value of the asset's circulating supply + in USD. + example: "10198150322.917389" + type: string + maxSupply: + description: Represents the maximum amount of all coins of a specific asset + that will ever exist in its lifetime. + example: "21000000" + type: string + required: + - 1HourPriceChangeInPercentage + - 1WeekPriceChangeInPercentage + - 24HoursPriceChangeInPercentage + - 24HoursTradingVolume + - assetType + - circulatingSupply + - marketCapInUSD + - maxSupply + type: object + ListAssetsDetailsRIS: + description: Represents a specific asset's data depending on its type (whether + it is "crypto" or "fiat"). + oneOf: + - $ref: '#/components/schemas/ListAssetsDetailsRISC' + type: object + GetAssetDetailsByAssetIDRISC: + description: Crypto Type Data + properties: + "1HourPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 1 hour ago. + example: "-0.4277852328344024" + type: string + "1WeekPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 1 week ago. + example: "1.6572304104646762" + type: string + "24HoursPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 24 hours ago. + example: "-0.059688916478600924" + type: string + "24HoursTradingVolume": + description: Represents the trading volume of the asset for the time frame + of 24 hours. + example: "3116834672.508857" + type: string + assetType: + description: Represent a subtype of the crypto assets. Could be COIN or + TOKEN. + enum: + - coin + - token + example: coin + type: string + circulatingSupply: + description: Represents the amount of the asset that is circulating on the + market and in public hands. + example: "18562881" + type: string + marketCapInUSD: + description: Defines the total market value of the asset's circulating supply + in USD. + example: "1146119021006.8835" + type: string + maxSupply: + description: Represents the maximum amount of all coins of a specific asset + that will ever exist in its lifetime. + example: "21000000" + type: string + required: + - 1HourPriceChangeInPercentage + - 1WeekPriceChangeInPercentage + - 24HoursPriceChangeInPercentage + - 24HoursTradingVolume + - assetType + - circulatingSupply + - marketCapInUSD + - maxSupply + type: object + GetAssetDetailsByAssetIDRIS: + description: Represents a specific asset's data depending on its type (whether + it is "crypto" or "fiat"). + oneOf: + - $ref: '#/components/schemas/GetAssetDetailsByAssetIDRISC' + type: object + GetAssetDetailsByAssetSymbolRISC: + description: Crypto Type Data + properties: + "1HourPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 1 hour ago. + example: "-0.4277852328344024" + type: string + "1WeekPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 1 week ago. + example: "1.6572304104646762" + type: string + "24HoursPriceChangeInPercentage": + description: Represents the percentage of the asset's current price against + the its price from 24 hours ago. + example: "-0.059688916478600924" + type: string + "24HoursTradingVolume": + description: Represents the trading volume of the asset for the time frame + of 24 hours. + example: "3116834672.508857" + type: string + assetType: + description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + enum: + - coin + - token + example: coin + type: string + circulatingSupply: + description: Represents the amount of the asset that is circulating on the + market and in public hands. + example: "18562881" + type: string + marketCapInUSD: + description: Defines the total market value of the asset's circulating supply + in USD. + example: "1146119021006.8835" + type: string + maxSupply: + description: Represents the maximum amount of all coins of a specific asset + that will ever exist in its lifetime. + example: "21000000" + type: string + required: + - 1HourPriceChangeInPercentage + - 1WeekPriceChangeInPercentage + - 24HoursPriceChangeInPercentage + - 24HoursTradingVolume + - assetType + - circulatingSupply + - marketCapInUSD + - maxSupply + type: object + GetAssetDetailsByAssetSymbolRIS: + description: Represents a specific asset's data depending on its type (whether + it is "crypto" or "fiat"). + oneOf: + - $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolRISC' + type: object + GetAddressDetailsRI: + example: + confirmedBalance: + amount: "3.5" + unit: BTC + totalSpent: + amount: "2.1" + unit: BTC + incomingTransactionsCount: 2 + totalReceived: + amount: "5.6" + unit: BTC + outgoingTransactionsCount: 6 + transactionsCount: 3 + properties: + transactionsCount: + description: "Represents the total number of confirmed coins transactions\ + \ for this address, both incoming and outgoing. Applies for coins only\ + \ **and not** tokens transfers e.g. for Ethereum. `transactionsCount`\ + \ could result as less than incoming and outgoing transactions put together\ + \ (e.g. in Bitcoin), due to the fact that one and the same address could\ + \ be in senders and receivers addresses." + example: 3 + type: integer + confirmedBalance: + $ref: '#/components/schemas/GetAddressDetailsRI_confirmedBalance' + totalReceived: + $ref: '#/components/schemas/GetAddressDetailsRI_totalReceived' + totalSpent: + $ref: '#/components/schemas/GetAddressDetailsRI_totalSpent' + incomingTransactionsCount: + description: Defines the received transaction count to the address. + example: 2 + type: integer + outgoingTransactionsCount: + description: Defines the sent transaction count from the address. + example: 6 + type: integer + required: + - confirmedBalance + - incomingTransactionsCount + - outgoingTransactionsCount + - totalReceived + - totalSpent + - transactionsCount + type: object + GetAddressDetailsR: + example: + apiVersion: 2.0.0 + data: + item: + confirmedBalance: + amount: "3.5" + unit: BTC + totalSpent: + amount: "2.1" + unit: BTC + incomingTransactionsCount: 2 + totalReceived: + amount: "5.6" + unit: BTC + outgoingTransactionsCount: 6 + transactionsCount: 3 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetAddressDetailsR_data' + required: + - apiVersion + - data + - requestId + type: object + BannedIpAddress: + description: banned_ip_address + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: banned_ip_address + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "This IP address has been banned. To check the reason for that,\ + \ please contact our team via email." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + UriNotFound: + description: uri_not_found + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: uri_not_found + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The specified URI has not been found. Check the URI and try again. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + UnexpectedServerError: + description: unexpected_server_error + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: unexpected_server_error + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "An unexpected server error has occurred, we are working to fix\ + \ this. Please try again later and in case it occurs again please report\ + \ it to our team via email." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + MissingApiKey: + description: missing_api_key + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: missing_api_key + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "The specific authorization header (API Key) is missing, please\ + \ check our Authorization section in our Documentation." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + UnsupportedMediaType: + description: unsupported_media_type + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: unsupported_media_type + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The selected Media Type is unavailable. The Content-Type header + should be 'application/json'. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + RequestLimitReached: + description: request_limit_reached + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: request_limit_reached + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "The request limit has been reached. There can be maximum {requests}\ + \ requests per {seconds} second(s) made. Please contact our team via email\ + \ if you need more or upgrade your plan." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + InvalidApiKey: + description: invalid_api_key + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: invalid_api_key + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "The provided API key is invalid. Please, generate a new one from\ + \ your Dashboard." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + GetAddressDetailsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + InsufficientCredits: + description: insufficient_credits + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: insufficient_credits + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: You have insufficient credits. Please upgrade your plan from your + Dashboard or contact our team via email. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + InvalidData: + description: invalid_data + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: invalid_data + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The data provided seems to be invalid. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + LimitGreaterThanAllowed: + description: limit_greater_than_allowed + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: limit_greater_than_allowed + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "You have reached the allowed limit. The maximum number of items\ + \ for this endpoint is {limit}, please use the specific pagination attributes\ + \ to get the items in portions." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + GetAddressDetailsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + InvalidPagination: + description: invalid_pagination + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: invalid_pagination + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The pagination attributes that have been used are invalid. Please + check the Documentation to see details on pagination. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + EndpointNotAllowedForPlan: + description: endpoint_not_allowed_for_plan + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: endpoint_not_allowed_for_plan + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "This endpoint is not available for your current subscription plan,\ + \ please upgrade your plan to be able to use it." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + GetAddressDetailsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + EndpointNotAllowedForApiKey: + description: endpoint_not_allowed_for_api_key + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: endpoint_not_allowed_for_api_key + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: This endpoint is not available for your API key. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + FeatureMainnetsNotAllowedForPlan: + description: feature_mainnets_not_allowed_for_plan + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: feature_mainnets_not_allowed_for_plan + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "Mainnets access is not available for your current subscription\ + \ plan, please upgrade your plan to be able to use it." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + InvalidRequestBodyStructure: + description: invalid_request_body_structure + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: invalid_request_body_structure + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "Your request body for POST requests must have a structure of {\ + \ data: { item: [...properties] } }" + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + ListOmniTokensByAddressRI: + properties: + balance: + description: Defines the balance of the Omni tokens to send in the address. + example: "29" + type: string + frozen: + description: Defines the amount frozen by the issuer (applies to managed + properties only). + example: "0" + type: string + name: + description: Defines the name of the Omni tokens to send. + example: Omni tokens + type: string + propertyId: + description: Represents the identifier of the tokens to send. + example: 1 + type: integer + reserved: + description: Represents the amount reserved by sell offers and accepts. + example: "0" + type: string + required: + - balance + - frozen + - name + - propertyId + - reserved + type: object + ListOmniTokensByAddressR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListOmniTokensByAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + ListOmniTokensByAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListOmniTokensByAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListOmniTokensByAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetXRPRippleAddressDetailsRI: + example: + sequence: 25648975 + incomingTransactionsCount: 1 + balance: + amount: "22.0000" + unit: XRP + outgoingTransactionsCount: 1 + transactionsCount: 2 + properties: + balance: + $ref: '#/components/schemas/GetXRPRippleAddressDetailsRI_balance' + incomingTransactionsCount: + description: "Defines the count of all confirmed incoming transactions from\ + \ the address for coins. This applies to coins only, not to tokens transfers" + example: 1 + type: integer + outgoingTransactionsCount: + description: "Defines the count of all confirmed outgoing transactions for\ + \ coins. This applies to coins only, not to tokens transfers" + example: 1 + type: integer + sequence: + description: "Defines the transaction input's sequence as an integer, which\ + \ is is used when transactions are replaced with newer versions before\ + \ LockTime." + example: 25648975 + format: int64 + type: integer + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 2 + type: integer + required: + - balance + - incomingTransactionsCount + - outgoingTransactionsCount + - sequence + - transactionsCount + type: object + GetXRPRippleAddressDetailsR: + example: + apiVersion: 2.0.0 + data: + item: + sequence: 25648975 + incomingTransactionsCount: 1 + balance: + amount: "22.0000" + unit: XRP + outgoingTransactionsCount: 1 + transactionsCount: 2 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetXRPRippleAddressDetailsR_data' + required: + - apiVersion + - data + - requestId + type: object + GetXRPRippleAddressDetailsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetXRPRippleAddressDetailsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetXRPRippleAddressDetailsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetZilliqaAddressDetailsRI: + example: + incomingTransactionsCount: 5 + balance: + amount: "23.125" + unit: ZIL + outgoingTransactionsCount: 2 + transactionsCount: 5 + properties: + balance: + $ref: '#/components/schemas/GetZilliqaAddressDetailsRI_balance' + incomingTransactionsCount: + description: Defines the received transaction count to the address. + example: 5 + type: integer + outgoingTransactionsCount: + description: Defines the sent transaction count from the address. + example: 2 + type: integer + transactionsCount: + description: Defines the entire count of the transactions. + example: 5 + type: integer + required: + - balance + - incomingTransactionsCount + - outgoingTransactionsCount + - transactionsCount + type: object + GetZilliqaAddressDetailsR: + example: + apiVersion: 2.0.0 + data: + item: + incomingTransactionsCount: 5 + balance: + amount: "23.125" + unit: ZIL + outgoingTransactionsCount: 2 + transactionsCount: 5 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetZilliqaAddressDetailsR_data' + required: + - apiVersion + - data + - requestId + type: object + GetZilliqaAddressDetailsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetZilliqaAddressDetailsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetZilliqaAddressDetailsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetTransactionDetailsByTransactionIDRIBSB: + description: Bitcoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 248 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 166 + type: integer + version: + description: Represents the transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + GetTransactionDetailsByTransactionIDRIBSBC: + description: Bitcoin Cash + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 248 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + GetTransactionDetailsByTransactionIDRIBSL: + description: Litecoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 2 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + GetTransactionDetailsByTransactionIDRIBSD: + description: Dogecoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 266 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + GetTransactionDetailsByTransactionIDRIBSD2: + description: Dash + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 125 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + GetTransactionDetailsByTransactionIDRIBSE: + description: Ethereum + properties: + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSE_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "24673" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + transactionStatus: + description: Represents the status of this transaction. + example: 0x1 + type: string + required: + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus + type: object + GetTransactionDetailsByTransactionIDRIBSEC: + description: Ethereum Classic + properties: + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSEC_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "24673" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + required: + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + type: object + GetTransactionDetailsByTransactionIDRIBSBSC: + description: Binance Smart Chain + properties: + contract: + description: Represents the specific transaction contract + example: 0x0000000000000000000000000000000000001000 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBSC_gasPrice' + gasUsed: + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." + example: "21000" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 25341 + type: integer + required: + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + type: object + GetTransactionDetailsByTransactionIDRIBSZ: + description: Zcash + properties: + bindingSig: + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." + example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 + type: string + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 + type: integer + joinSplitPubKey: + description: Represents an encoding of a JoinSplitSig public validating + key. + example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 + type: string + joinSplitSig: + description: Is used to sign transactions that contain at least one JoinSplit + description. + example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + type: string + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean + size: + description: Represents the total size of this transaction. + example: 234 + type: integer + vJoinSplit: + description: Represents a sequence of JoinSplit descriptions using BCTV14 + proofs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vJoinSplit' + type: array + vShieldedOutput: + description: Object Array representation of transaction output descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + type: array + vShieldedSpend: + description: Object Array representation of transaction spend descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + type: array + valueBalance: + description: String representation of the transaction value balance + example: "0" + type: string + version: + description: Defines the version of the transaction. + example: 1 + type: integer + versionGroupId: + description: Represents the transaction version group ID. + example: 0x892f2085 + type: string + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' + type: array + required: + - bindingSig + - expiryHeight + - joinSplitPubKey + - joinSplitSig + - locktime + - overwintered + - size + - vJoinSplit + - vShieldedOutput + - vShieldedSpend + - valueBalance + - version + - versionGroupId + - vin + - vout + type: object + GetTransactionDetailsByTransactionIDRI: + example: + recipients: + - amount: "0.000144" + address: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV + - amount: "0.000144" + address: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV + fee: + amount: "0.00016932" + unit: ZEC + minedInBlockHeight: 1939750 + index: 1 + isConfirmed: true + minedInBlockHash: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + blockchainSpecific: null + senders: + - amount: "0.00873472" + address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 + - amount: "0.00873472" + address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 + transactionHash: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + transactionId: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + timestamp: 1582202940 + properties: + index: + description: Represents the index position of the transaction in the specific + block. + example: 1 + type: integer + isConfirmed: + description: Represents the state of the transaction whether it is confirmed + or not confirmed. + example: true + type: boolean + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + type: string + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1939750 + type: integer + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1582202940 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + type: string + fee: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_fee' + blockchainSpecific: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBS' + required: + - blockchainSpecific + - fee + - index + - isConfirmed + - recipients + - senders + - timestamp + - transactionHash + - transactionId + type: object + GetTransactionDetailsByTransactionIDRIBS: + oneOf: + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSE' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSEC' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBSC' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ' + type: object + GetTransactionDetailsByTransactionIDR: + example: + apiVersion: 2.0.0 + data: + item: + recipients: + - amount: "0.000144" + address: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV + - amount: "0.000144" + address: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV + fee: + amount: "0.00016932" + unit: ZEC + minedInBlockHeight: 1939750 + index: 1 + isConfirmed: true + minedInBlockHash: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + blockchainSpecific: null + senders: + - amount: "0.00873472" + address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 + - amount: "0.00873472" + address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 + transactionHash: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + transactionId: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + timestamp: 1582202940 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDR_data' + required: + - apiVersion + - data + - requestId + type: object + GetTransactionDetailsByTransactionIDE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetTransactionDetailsByTransactionIDE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetTransactionDetailsByTransactionIDE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + BlockchainDataTransactionNotFound: + description: blockchain_data_transaction_not_found + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: blockchain_data_transaction_not_found + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The specified transaction has not been found on the specific blockchain. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + ListOmniTransactionsByAddressRI: + properties: + amount: + description: Defines the amount of the sent tokens. + example: "0.01788569" + type: string + divisible: + description: "Defines whether the attribute can be divisible or not, as\ + \ boolean. E.g., if it is \"true\", the attribute is divisible." + example: true + type: boolean + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 00000000eafa33741ed67c863930df2af8c236568c4437c395543b5684f4f1ca + type: string + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1939884 + type: integer + propertyId: + description: Represents the identifier of the tokens to send. + example: 2 + type: integer + recipients: + description: Represents an object of addresses that receive the transactions. + items: + $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1616420363 + type: integer + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 409adab785707784361f5e528e5fa21dc0453670f811069f88b0bb725929d945 + type: string + type: + description: Defines the type of the transaction as a string. + example: Simple Send + type: string + typeInt: + description: Defines the type of the transaction as a number. + example: 0 + type: integer + valid: + description: "Defines whether the transaction is valid or not, as boolean.\ + \ E.g. if set to \"true\", it means the transaction is valid." + example: true + type: boolean + version: + description: Defines the specific version. + example: 0 + type: integer + fee: + $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_fee' + required: + - amount + - divisible + - fee + - minedInBlockHash + - minedInBlockHeight + - propertyId + - recipients + - senders + - timestamp + - transactionId + - type + - typeInt + - valid + - version + type: object + ListOmniTransactionsByAddressR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListOmniTransactionsByAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + ListOmniTransactionsByAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListOmniTransactionsByAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListOmniTransactionsByAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetXRPRippleTransactionDetailsByTransactionIDRI: + example: + receive: + amount: "2.1256" + unit: XRP + destinationTag: 3999472835 + fee: + amount: "0.0021" + unit: XRP + index: "2" + minedInBlockHash: 3f7af58d6cf1cd9020fb285d8e3e215131800d5109e42647ffd9b3aeae59df33 + type: Payment + transactionHash: 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d + offer: + amount: "3.0154" + unit: XRP + sequence: 4294967295 + recipients: + - amount: "0.00001" + address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY + - amount: "0.00001" + address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY + minedInBlockHeight: "15973802" + additionalData: rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu + senders: + - amount: "0.00001" + address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY + - amount: "0.00001" + address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY + value: + amount: "3.0254" + unit: XRP + status: status + timestamp: 1582202940 + properties: + additionalData: + description: Represents additional data that may be needed. + example: rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu + type: string + destinationTag: + example: 3999472835 + format: int64 + type: integer + index: + description: "Defines the index of the transaction, i.e. the consecutive\ + \ place it takes in the blockchain." + example: "2" + type: string + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 3f7af58d6cf1cd9020fb285d8e3e215131800d5109e42647ffd9b3aeae59df33 + type: string + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: "15973802" + type: string + offer: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_offer' + receive: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_receive' + recipients: + description: Represents an object of addresses that receive the transactions. + items: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_senders' + type: array + sequence: + description: "Defines the transaction input's sequence as an integer, which\ + \ is is used when transactions are replaced with newer versions before\ + \ LockTime." + example: 4294967295 + format: int64 + type: integer + status: + description: Defines the status of the transaction. + type: string + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1582202940 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d + type: string + type: + description: Defines the type of the transaction. + example: Payment + type: string + fee: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_fee' + value: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_value' + required: + - additionalData + - fee + - index + - minedInBlockHash + - minedInBlockHeight + - offer + - receive + - recipients + - senders + - sequence + - timestamp + - transactionHash + - type + - value + type: object + GetXRPRippleTransactionDetailsByTransactionIDR: + example: + apiVersion: 2.0.0 + data: + item: + receive: + amount: "2.1256" + unit: XRP + destinationTag: 3999472835 + fee: + amount: "0.0021" + unit: XRP + index: "2" + minedInBlockHash: 3f7af58d6cf1cd9020fb285d8e3e215131800d5109e42647ffd9b3aeae59df33 + type: Payment + transactionHash: 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d + offer: + amount: "3.0154" + unit: XRP + sequence: 4294967295 + recipients: + - amount: "0.00001" + address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY + - amount: "0.00001" + address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY + minedInBlockHeight: "15973802" + additionalData: rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu + senders: + - amount: "0.00001" + address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY + - amount: "0.00001" + address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY + value: + amount: "3.0254" + unit: XRP + status: status + timestamp: 1582202940 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDR_data' + required: + - apiVersion + - data + - requestId + type: object + GetXRPRippleTransactionDetailsByTransactionIDE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetXRPRippleTransactionDetailsByTransactionIDE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetXRPRippleTransactionDetailsByTransactionIDE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ResourceNotFound: + description: resource_not_found + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: resource_not_found + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: Resource not found + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + GenerateDepositAddressRI: + example: + address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + createdTimestamp: 1624028267 + label: yourLabelStringHere + properties: + address: + description: Specifies the specific address's unique string value. + example: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + type: string + createdTimestamp: + description: Defines the specific UNIX time when the deposit address was + created. + example: 1624028267 + type: integer + label: + description: Represents a custom tag that customers can set up for their + Wallets and addresses. E.g. custom label named "Special addresses". + example: yourLabelStringHere + type: string + required: + - address + - createdTimestamp + - label + type: object + GenerateDepositAddressR: + example: + apiVersion: 2.0.0 + data: + item: + address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + createdTimestamp: 1624028267 + label: yourLabelStringHere + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GenerateDepositAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + GenerateDepositAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GenerateDepositAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GenerateDepositAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/WalletAsAServiceDepositAddressesLimitReached' + type: object + WalletAsAServiceDepositAddressesLimitReached: + description: wallet_as_a_service_deposit_addresses_limit_reached + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: wallet_as_a_service_deposit_addresses_limit_reached + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "You have reached the maximum Deposit Addresses count which is\ + \ currently {depositAddressesCount}. Please, upgrade your plan in order\ + \ to have a higher Deposit Address count." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + GetZilliqaTransactionDetailsByTransactionIDRI: + example: + gasLimit: 552020 + gasUsed: 24673 + transactionStatus: "0" + recipients: + - amount: "0" + address: zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2 + - amount: "0" + address: zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2 + fee: + amount: "0.000235" + unit: ZIL + minedInBlockHeight: 1250207 + minedInBlockHash: 0x5ba627aed1ff0f5480694e994ee03a6ec7b5a6fa96be899c84d52725f9830891 + transactionIndex: 0 + nonce: 13 + senders: + - amount: "0" + address: zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83 + - amount: "0" + address: zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83 + gasPrice: 2994782927 + timestamp: 1582202940 + properties: + fee: + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_fee' + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 552020 + type: integer + gasPrice: + description: Defines the price of the gas. + example: 2994782927 + type: integer + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 24673 + type: integer + minedInBlockHash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 0x5ba627aed1ff0f5480694e994ee03a6ec7b5a6fa96be899c84d52725f9830891 + type: string + minedInBlockHeight: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 1250207 + type: integer + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 13 + type: integer + recipients: + description: Represents an object of addresses that receive the transactions. + items: + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_senders' + type: array + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1582202940 + type: integer + transactionIndex: + description: Defines the numeric representation of the transaction index. + example: 0 + type: integer + transactionStatus: + description: "Defines the status of the transaction, whether it is e.g.\ + \ pending or complete." + example: "0" + type: string + required: + - fee + - gasLimit + - gasPrice + - gasUsed + - minedInBlockHash + - minedInBlockHeight + - nonce + - recipients + - senders + - timestamp + - transactionIndex + - transactionStatus + type: object + GetZilliqaTransactionDetailsByTransactionIDR: + example: + apiVersion: 2.0.0 + data: + item: + gasLimit: 552020 + gasUsed: 24673 + transactionStatus: "0" + recipients: + - amount: "0" + address: zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2 + - amount: "0" + address: zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2 + fee: + amount: "0.000235" + unit: ZIL + minedInBlockHeight: 1250207 + minedInBlockHash: 0x5ba627aed1ff0f5480694e994ee03a6ec7b5a6fa96be899c84d52725f9830891 + transactionIndex: 0 + nonce: 13 + senders: + - amount: "0" + address: zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83 + - amount: "0" + address: zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83 + gasPrice: 2994782927 + timestamp: 1582202940 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDR_data' + required: + - apiVersion + - data + - requestId + type: object + GetZilliqaTransactionDetailsByTransactionIDE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetZilliqaTransactionDetailsByTransactionIDE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetZilliqaTransactionDetailsByTransactionIDE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListConfirmedTransactionsByAddressRIBSB: + description: Bitcoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 125 + type: integer + vSize: + description: Defines the transaction's virtual size. + example: 166 + type: integer + version: + description: Defines the version of the transaction. + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListConfirmedTransactionsByAddressRIBSBC: + description: Bitcoin Cash + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 248 + type: integer + version: + description: Represents the transaction's version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBC_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vout' + type: array + required: + - locktime + - size + - version + - vin + type: object + ListConfirmedTransactionsByAddressRIBSL: + description: Litecoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 2 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents the transaction's version number. + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSL_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListConfirmedTransactionsByAddressRIBSD: + description: Dogecoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 266 + type: integer + version: + description: Represents the transaction's version number. + example: 3 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListConfirmedTransactionsByAddressRIBSD2: + description: Dash + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 196 + type: integer + version: + description: Represents the transaction's version number. + example: 3 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListConfirmedTransactionsByAddressRIBSEC: + description: Ethereum Classic + properties: + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSEC_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "21000" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + transactionStatus: + description: String representation of the transaction status + example: 0x1 + type: string + required: + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus + type: object + ListConfirmedTransactionsByAddressRIBSE: + description: Ethereum + properties: + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSE_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "24673" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 13 + type: integer + transactionStatus: + description: String representation of the transaction status + example: 0x1 + type: string + required: + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus + type: object + ListConfirmedTransactionsByAddressRIBSBSC: + description: Binance Smart Chain + properties: + contract: + description: Represents the specific transaction contract. + example: 0x0000000000000000000000000000000000001000 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "21000" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 25341 + type: integer + transactionStatus: + description: String representation of the transaction status + example: 0x1 + type: string + required: + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus + type: object + ListConfirmedTransactionsByAddressRIBSZ: + description: Zcash + properties: + bindingSig: + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." + example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 + type: string + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 + type: integer + joinSplitPubKey: + description: Represents an encoding of a JoinSplitSig public validating + key. + example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 + type: string + joinSplitSig: + description: Is used to sign transactions that contain at least one JoinSplit + description. + example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + type: string + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean + size: + description: Represents the total size of this transaction. + example: 234 + type: integer + vJoinSplit: + description: Represents a sequence of JoinSplit descriptions using BCTV14 + proofs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vJoinSplit' + type: array + vShieldedOutput: + description: Object Array representation of transaction output descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + type: array + vShieldedSpend: + description: Object Array representation of transaction spend descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + type: array + valueBalance: + description: Defines the transaction value balance. + example: "0" + type: string + version: + description: Defines the version of the transaction. + example: 1 + type: integer + versionGroupId: + description: Represents the transaction version group ID. + example: 0x892f2085 + type: string + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' + type: array + required: + - bindingSig + - expiryHeight + - joinSplitPubKey + - joinSplitSig + - locktime + - overwintered + - size + - vJoinSplit + - vShieldedOutput + - vShieldedSpend + - valueBalance + - version + - versionGroupId + - vin + - vout + type: object + ListConfirmedTransactionsByAddressRI: + properties: + index: + description: Represents the index position of the transaction in the block. + example: 1 + type: integer + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + type: string + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1903849 + type: integer + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1582202940 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + type: string + fee: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRI_fee' + blockchainSpecific: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBS' + required: + - blockchainSpecific + - fee + - index + - recipients + - senders + - timestamp + - transactionHash + - transactionId + type: object + ListConfirmedTransactionsByAddressRIBS: + oneOf: + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBC' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSL' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSEC' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSE' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ' + type: object + ListConfirmedTransactionsByAddressR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + ListConfirmedTransactionsByAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListConfirmedTransactionsByAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListConfirmedTransactionsByAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListXRPRippleTransactionsByAddressRI: + properties: + destinationTag: + example: 3999472835 + format: int64 + type: integer + index: + description: Represents the index position of the transaction in the block. + example: 3 + type: integer + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 3dff3ab3697a0a3116062a92a499dc7b5c9c777b2035f79bb906894972d4573d + type: string + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 15949067 + type: integer + recipients: + description: Represents an object of addresses that receive the transactions. + items: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_senders' + type: array + sequence: + description: "Defines the transaction input's sequence as an integer, which\ + \ is is used when transactions are replaced with newer versions before\ + \ LockTime." + example: 39673 + format: int64 + type: integer + status: + description: Defines the status of the transaction. + example: tesSUCCESS + type: string + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 4256894 + type: integer + transactionHash: + description: Represents the hash of the XRP transaction. + example: 33684d38ccf56f5b10a25e60b11b251abe6288f41aadd03c7596dced895b282a + type: string + type: + description: Specifies the type of the transaction. + example: OfferCreate + type: string + fee: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_fee' + offer: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_offer' + receive: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_receive' + value: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_value' + required: + - fee + - index + - minedInBlockHash + - minedInBlockHeight + - offer + - receive + - recipients + - senders + - sequence + - status + - timestamp + - transactionHash + - type + - value + type: object + ListXRPRippleTransactionsByAddressR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + ListXRPRippleTransactionsByAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListXRPRippleTransactionsByAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListXRPRippleTransactionsByAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListUnconfirmedOmniTransactionsByAddressRI: + properties: + amount: + description: Defines the amount of the sent tokens. + example: "14.915785" + type: string + divisible: + description: "Defines whether the attribute can be divisible or not, as\ + \ boolean. E.g., if it is \"true\", the attribute is divisible." + example: true + type: boolean + mined: + description: "Defines whether the transaction has been mined or not, as\ + \ boolean. E.g. if set to \"true\", it means the transaction is mined." + example: true + type: boolean + propertyId: + description: Represents the identifier of the tokens to send. + example: 2 + type: integer + recipients: + description: Represents an object of addresses that receive the transactions. + items: + $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_senders' + type: array + sent: + description: "Defines whether the transaction has been sent or not, as boolean.\ + \ E.g. if set to \"true\", it means the transaction is sent." + example: false + type: boolean + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1616429665 + type: integer + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: b3e76370a1ccdf5549a3654f1d14be27bebb4a834a81b489fcc99d057ada3dd1 + type: string + type: + description: Defines the type of the transaction as a string. + example: Simple Send + type: string + typeInt: + description: Defines the type of the transaction as a number. + example: 0 + type: integer + version: + description: Defines the specific version. + example: 0 + type: integer + fee: + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_fee' + required: + - amount + - divisible + - fee + - mined + - propertyId + - recipients + - senders + - sent + - timestamp + - transactionId + - type + - typeInt + - version + type: object + ListUnconfirmedOmniTransactionsByAddressR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + ListUnconfirmedOmniTransactionsByAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListUnconfirmedOmniTransactionsByAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListUnconfirmedOmniTransactionsByAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + CreateCoinsTransactionRequestFromWalletRI: + example: + feePriority: standard + note: yourAdditionalInformationhere + totalTransactionAmount: "0.001" + transactionRequestStatus: created + recipients: + - amount: "0.00123" + address: mmd963W1fECjLyaDCHcioSCZYHkRwjkhtr + - amount: "0.00123" + address: mmd963W1fECjLyaDCHcioSCZYHkRwjkhtr + transactionRequestId: 6017dd02a309213863be9e55 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + properties: + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." + enum: + - slow + - standard + - fast + example: standard + type: string + note: + description: "Represents an optional note to add a free text in, explaining\ + \ or providing additional detail on the transaction request." + example: yourAdditionalInformationhere + type: string + recipients: + description: "Defines the destination of the transaction, whether it is\ + \ incoming or outgoing." + items: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletRI_recipients' + type: array + totalTransactionAmount: + description: Represents the specific amount of the transaction. + example: "0.001" + type: string + transactionRequestId: + description: "Represents a unique identifier of the transaction request\ + \ (the request sent to make a transaction), which helps in identifying\ + \ which callback and which `referenceId` concern that specific transaction\ + \ request." + example: 6017dd02a309213863be9e55 + type: string + transactionRequestStatus: + description: "Defines the status of the transaction, e.g. \"created, \"\ + await_approval\", \"pending\", \"prepared\", \"signed\", \"broadcasted\"\ + , \"success\", \"failed\", \"rejected\", mined\"." + enum: + - created + - await-approval + - pending + - prepared + - signed + - broadcasted + - success + - failed + - rejected + - mined + example: created + type: string + required: + - feePriority + - recipients + - totalTransactionAmount + - transactionRequestId + - transactionRequestStatus + type: object + CreateCoinsTransactionRequestFromWalletR: + example: + apiVersion: 2.0.0 + data: item: - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + feePriority: standard + note: yourAdditionalInformationhere + totalTransactionAmount: "0.001" + transactionRequestStatus: created + recipients: + - amount: "0.00123" + address: mmd963W1fECjLyaDCHcioSCZYHkRwjkhtr + - amount: "0.00123" + address: mmd963W1fECjLyaDCHcioSCZYHkRwjkhtr + transactionRequestId: 6017dd02a309213863be9e55 callbackSecretKey: yourSecretKey - callbackURL: http://example.com - allowDuplicates: true - context: context + callbackUrl: https://example.com + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletR_data' + required: + - apiVersion + - data + - requestId + type: object + CreateCoinsTransactionRequestFromWalletE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + CreateCoinsTransactionRequestFromWalletE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + CreateCoinsTransactionRequestFromWalletE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + WalletAsAServiceWalletBalanceNotEnough: + description: wallet_as_a_service_wallet_balance_not_enough + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: wallet_as_a_service_wallet_balance_not_enough + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: Your wallet balance is insufficient to complete this action. Please + check for any pending transaction requests or add more funds. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + CreateCoinsTransactionRequestFromWalletE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/WalletAsAServiceWalletBalanceNotEnough' + - $ref: '#/components/schemas/WalletAsAServiceAddressBalanceNotEnough' + - $ref: '#/components/schemas/WalletAsAServiceNoDepositAddressesFound' + type: object + WalletAsAServiceAddressBalanceNotEnough: + description: wallet_as_a_service_address_balance_not_enough + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: wallet_as_a_service_address_balance_not_enough + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: Your address balance is insufficient to complete this action. Please + check for any pending transaction requests or add more funds. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + WalletAsAServiceNoDepositAddressesFound: + description: wallet_as_a_service_no_deposit_addresses_found + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: wallet_as_a_service_no_deposit_addresses_found + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "Please first create a deposit address for the specific blockchain\ + \ and network, in order to be able to make transactions." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + ListZilliqaTransactionsByAddressRI: + properties: + fee: + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_fee' + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 + type: integer + gasPrice: + description: Defines the price of the gas. + example: 2994782927 + type: integer + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 24673 + type: integer + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 0x7c18901ff8d5af3cebde1c9128c9b20cb046d73fba23d45951f5619b61679c9b + type: string + minedInBlockHeight: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 1250283 + type: integer + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: 13 + type: integer + recipients: + description: Defines an object array of the transaction recipients. + items: + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_senders' + type: array + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1582202940 + type: integer + transactionHash: + description: "Represents the hash of the transaction, which is its unique\ + \ identifier." + example: 0xf4a847a1489a043ee509d5d7df48f2bf7ba1b15354ed14600b035ff2f7670203 + type: string + transactionIndex: + description: Defines the numeric representation of the transaction index. + example: 0 + type: integer + transactionStatus: + description: "Defines the status of the transaction, whether it is e.g.\ + \ pending or complete." + example: "2" + type: string + required: + - fee + - gasLimit + - gasPrice + - gasUsed + - minedInBlockHash + - minedInBlockHeight + - nonce + - recipients + - senders + - timestamp + - transactionHash + - transactionIndex + - transactionStatus + type: object + ListZilliqaTransactionsByAddressR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + ListZilliqaTransactionsByAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListZilliqaTransactionsByAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListZilliqaTransactionsByAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListUnconfirmedTransactionsByAddressRIBSB: + description: Bitcoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 222 + type: integer + vSize: + description: Defines the transaction's virtual size. + example: 222 + type: integer + version: + description: Defines the version of the transaction. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSB_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListUnconfirmedTransactionsByAddressRIBSBC: + description: Bitcoin Cash + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 123 + type: integer + version: + description: Represents the transaction's version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSBC_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSBC_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListUnconfirmedTransactionsByAddressRIBSL: + description: Litecoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 2 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents the transaction's version number. + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSL_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSL_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListUnconfirmedTransactionsByAddressRIBSD: + description: Dogecoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 233 + type: integer + version: + description: Numeric representation of the transaction version + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListUnconfirmedTransactionsByAddressRIBSD2: + description: Dash + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 196 + type: integer + version: + description: Represents the transaction's version number. + example: 3 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD2_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD2_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListUnconfirmedTransactionsByAddressRIBSE: + description: Ethereum + properties: + fee: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSE_fee' + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSE_gasPrice' + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 12 + type: integer + transactionStatus: + description: String representation of the transaction status + example: 0x1 + type: string + required: + - fee + - gasLimit + - gasPrice + - inputData + - nonce + - transactionStatus + type: object + ListUnconfirmedTransactionsByAddressRIBSEC: + description: Ethereum Classic + properties: + fee: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSEC_fee' + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSEC_gasPrice' + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + transactionStatus: + description: String representation of the transaction status + example: 0x1 + type: string + required: + - fee + - gasLimit + - gasPrice + - nonce + - transactionStatus + type: object + ListUnconfirmedTransactionsByAddressRIBSZ: + description: Zcash + properties: + bindingSig: + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." + example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 + type: string + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 + type: integer + joinSplitPubKey: + description: Represents an encoding of a JoinSplitSig public validating + key. + example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 + type: string + joinSplitSig: + description: Is used to sign transactions that contain at least one JoinSplit + description. + example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + type: string + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean + size: + description: Represents the total size of this transaction. + example: 234 + type: integer + vJoinSplit: + description: Represents a sequence of JoinSplit descriptions using BCTV14 + proofs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vJoinSplit' + type: array + vShieldedOutput: + description: Object Array representation of transaction output descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + type: array + vShieldedSpend: + description: Object Array representation of transaction spend descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + type: array + valueBalance: + description: Defines the transaction value balance. + example: "0" + type: string + version: + description: Defines the version of the transaction. + example: 1 + type: integer + versionGroupId: + description: Represents the transaction version group ID. + example: 0x892f2085 + type: string + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' + type: array + required: + - bindingSig + - expiryHeight + - joinSplitPubKey + - joinSplitSig + - locktime + - overwintered + - size + - vJoinSplit + - vShieldedOutput + - vShieldedSpend + - valueBalance + - version + - versionGroupId + - vin + - vout + type: object + ListUnconfirmedTransactionsByAddressRIBSBSC: + description: Binance Smart Chain + properties: + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC_gasPrice' + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 25341 + type: integer + transactionStatus: + description: String representation of the transaction status + example: 0x1 + type: string + required: + - gasLimit + - gasPrice + - inputData + - nonce + - transactionStatus + type: object + ListUnconfirmedTransactionsByAddressRI: + properties: + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1633518942013 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: 3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d + type: string + blockchainSpecific: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBS' + required: + - blockchainSpecific + - recipients + - senders + - timestamp + - transactionHash + - transactionId + type: object + ListUnconfirmedTransactionsByAddressRIBS: + oneOf: + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSB' + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSBC' + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSL' + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD' + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD2' + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSE' + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSEC' + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSZ' + - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSBSC' + type: object + ListUnconfirmedTransactionsByAddressR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string context: description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + ListUnconfirmedTransactionsByAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListUnconfirmedTransactionsByAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListUnconfirmedTransactionsByAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListXRPRippleTransactionsByAddressAndTimeRangeRI: + properties: + destinationTag: + description: A destination tag is a value used to discern the holder of + the Ripple (XRP) being deposited or withdrawn. + example: 3999472835 + format: int64 + type: integer + index: + description: Represents the index position of the transaction in the block. + example: 3 + type: integer + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 3dff3ab3697a0a3116062a92a499dc7b5c9c777b2035f79bb906894972d4573d + type: string + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 15949067 + type: integer + recipients: + description: Represents an object of addresses that receive the transactions. + items: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_senders' + type: array + sequence: + description: "Defines the transaction input's sequence as an integer, which\ + \ is is used when transactions are replaced with newer versions before\ + \ LockTime." + example: 39673 + format: int64 + type: integer + status: + description: Defines the status of the transaction. + example: tesSUCCESS type: string - data: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsRB_data' + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1644417868 + type: integer + transactionHash: + description: Represents the hash of the XRP transaction. + example: 33684d38ccf56f5b10a25e60b11b251abe6288f41aadd03c7596dced895b282a + type: string + type: + description: Specifies the type of the transaction. + example: OfferCreate + type: string + fee: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_fee' + offer: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_offer' + receive: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_receive' + value: + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_value' required: - - data + - fee + - index + - minedInBlockHash + - minedInBlockHeight + - offer + - receive + - recipients + - senders + - sequence + - status + - timestamp + - transactionHash + - type + - value type: object - NewConfirmedTokensTransactionsRB: + ListXRPRippleTransactionsByAddressAndTimeRangeR: example: + apiVersion: 2.0.0 data: - item: - address: 0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true - context: context + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string context: description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString type: string data: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsRB_data' + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressAndTimeRangeR_data' required: + - apiVersion - data + - requestId type: object - NewConfirmedTokensTransactionsAndEachConfirmationRB: - example: - data: - item: - confirmationsCount: 3 - address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true - context: context + ListXRPRippleTransactionsByAddressAndTimeRangeE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListXRPRippleTransactionsByAddressAndTimeRangeE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListXRPRippleTransactionsByAddressAndTimeRangeE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListAllUnconfirmedTransactionsRIBSB: + description: Bitcoin properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 222 + type: integer + vSize: + description: Defines the transaction's virtual size. + example: 222 + type: integer + version: + description: Defines the version of the transaction. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSB_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListAllUnconfirmedTransactionsRIBSBC: + description: Bitcoin Cash + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 123 + type: integer + version: + description: Represents the transaction's version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSBC_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSBC_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListAllUnconfirmedTransactionsRIBSL: + description: Litecoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents the transaction's version number. + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSL_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListAllUnconfirmedTransactionsRIBSD: + description: Dogecoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 233 + type: integer + version: + description: Defines the version of the transaction. + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSD_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListAllUnconfirmedTransactionsRIBSD2: + description: Dash + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 196 + type: integer + version: + description: Represents the transaction's version number. + example: 3 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSD2_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListAllUnconfirmedTransactionsRIBSE: + description: Ethereum + properties: + fee: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSE_fee' + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPrice: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSE_gasPrice' + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 12 + type: integer + transactionStatus: + description: Defines the transaction status. + example: 0x1 type: string - data: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationRB_data' required: - - data + - fee + - gasLimit + - gasPrice + - inputData + - nonce + - transactionStatus type: object - NewConfirmedCoinsTransactionsAndEachConfirmationRB: - example: - data: - item: - confirmationsCount: 3 - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true - context: context + ListAllUnconfirmedTransactionsRIBSEC: + description: Ethereum Classic properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + fee: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSEC_fee' + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSEC_gasPrice' + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + transactionStatus: + description: Defines the transaction status. + example: 0x1 type: string - data: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationRB_data' required: - - data + - fee + - gasLimit + - gasPrice + - nonce + - transactionStatus type: object - MinedTransactionRB: - example: - data: - item: - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: false - transactionId: df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc - context: context + ListAllUnconfirmedTransactionsRIBSZ: + description: Zcash properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + bindingSig: + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." + example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 type: string - data: - $ref: '#/components/schemas/MinedTransactionRB_data' + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 + type: integer + joinSplitPubKey: + description: Represents an encoding of a JoinSplitSig public validating + key. + example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 + type: string + joinSplitSig: + description: Is used to sign transactions that contain at least one JoinSplit + description. + example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + type: string + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean + size: + description: Represents the total size of this transaction. + example: 234 + type: integer + vJoinSplit: + description: Represents a sequence of JoinSplit descriptions using BCTV14 + proofs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vJoinSplit' + type: array + vShieldedOutput: + description: Object Array representation of transaction output descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + type: array + vShieldedSpend: + description: Object Array representation of transaction spend descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + type: array + valueBalance: + description: Defines the transaction value balance. + example: "0" + type: string + version: + description: Defines the version of the transaction. + example: 1 + type: integer + versionGroupId: + description: Represents the transaction version group ID. + example: 0x892f2085 + type: string + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' + type: array required: - - data + - bindingSig + - expiryHeight + - joinSplitPubKey + - joinSplitSig + - locktime + - overwintered + - size + - vJoinSplit + - vShieldedOutput + - vShieldedSpend + - valueBalance + - version + - versionGroupId + - vin + - vout type: object - NewBlockRB: - example: - data: - item: - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true - context: context + ListAllUnconfirmedTransactionsRIBSBSC: + description: Binance Smart Chain properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC_gasPrice' + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 25341 + type: integer + transactionStatus: + description: Defines the transaction status. + example: 0x1 type: string - data: - $ref: '#/components/schemas/NewBlockRB_data' required: - - data + - gasLimit + - gasPrice + - inputData + - nonce + - transactionStatus + type: object + ListAllUnconfirmedTransactionsRI: + properties: + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1633518942013 + type: integer + transactionHash: + description: String representation of the transaction hash + example: aac825d18dfe6cba2eb22532f206fccbaf3b08c3c1457faac9568c1a4a6dfc00 + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d + type: string + blockchainSpecific: + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBS' + required: + - blockchainSpecific + - recipients + - senders + - timestamp + - transactionHash + - transactionId + type: object + ListAllUnconfirmedTransactionsRIBS: + oneOf: + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSB' + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSBC' + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSL' + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSD' + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSD2' + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSE' + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSEC' + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSZ' + - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSBSC' type: object - ActivateBlockchainEventSubscriptionRB: + ListAllUnconfirmedTransactionsR: example: + apiVersion: 2.0.0 data: - item: '{}' - context: context + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string context: description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString type: string data: - $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionRB_data' + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsR_data' required: + - apiVersion - data + - requestId type: object - NewConfirmedInternalTransactionsRB: - example: - data: - item: - address: 0xbcc817f057950b0df41206c5d7125e6225cae18e - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true - context: context + ListAllUnconfirmedTransactionsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListAllUnconfirmedTransactionsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListAllUnconfirmedTransactionsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListTransactionsByBlockHashRIBSB: + description: Bitcoin properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 373 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 208 + type: integer + version: + description: Represents the transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSB_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListTransactionsByBlockHashRIBSBC: + description: Bitcoin Cash + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 248 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListTransactionsByBlockHashRIBSL: + description: Litecoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 2 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents transaction version number. + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSL_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSL_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListTransactionsByBlockHashRIBSD: + description: Dogecoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 266 + type: integer + version: + description: Represents transaction version number. + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListTransactionsByBlockHashRIBSD2: + description: Dash + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 125 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD2_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD2_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + ListTransactionsByBlockHashRIBSE: + description: Ethereum + properties: + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + type: string + gasLimit: + description: String representation of the transaction Represents the amount + of gas used by this specific transaction alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSE_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "21000" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + transactionStatus: + description: Represents the status of this transaction. type: string - data: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsRB_data' required: - - data + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus type: object - NewConfirmedInternalTransactionsAndEachConfirmationRB: - example: - data: - item: - confirmationsCount: 3 - address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - allowDuplicates: true - context: context + ListTransactionsByBlockHashRIBSEC: + description: Ethereum Classic properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSE_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "21000" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: "16" + type: string + transactionStatus: + description: String representation of the transaction status type: string - data: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationRB_data' required: - - data + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus type: object - CreateAutomaticCoinsForwardingRB: - example: - data: - item: - confirmationsCount: 3 - feePriority: standard - minimumTransferAmount: "0.02" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 - context: context + ListTransactionsByBlockHashRIBSBSC: + description: Binance Smart Chain properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + contract: + description: Represents the specific transaction contract. + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" + type: string + gasPrice: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBSC_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "21000" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 25341 + type: integer + transactionStatus: + description: Represents the status of this transaction + example: 0x1 type: string - data: - $ref: '#/components/schemas/CreateAutomaticCoinsForwardingRB_data' required: - - data + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus type: object - CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken: - description: Bitcoin Omni Token + ListTransactionsByBlockHashRIBSZ: + description: Zcash properties: - propertyId: - description: Represents the specific `propertyId` of the token data that - will be forwarded. - example: 31 + bindingSig: + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." + example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 + type: string + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 + type: integer + joinSplitPubKey: + description: Represents an encoding of a JoinSplitSig public validating + key. + example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 + type: string + joinSplitSig: + description: Is used to sign transactions that contain at least one JoinSplit + description. + example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + type: string + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + format: int64 + type: integer + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean + size: + description: Represents the total size of this transaction. + example: 234 + type: integer + vJoinSplit: + description: Represents a sequence of JoinSplit descriptions using BCTV14 + proofs. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSZ_vJoinSplit' + type: array + vShieldedOutput: + description: Object Array representation of transaction output descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + type: array + vShieldedSpend: + description: Object Array representation of transaction spend descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + type: array + valueBalance: + description: Defines the transaction value balance. + example: "0" + type: string + version: + description: Numeric representation of the transaction Represents the transaction + version number. + example: 1 type: integer + versionGroupId: + description: Represents the transaction version group ID. + example: 0x892f2085 + type: string + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSZ_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' + type: array required: - - propertyId + - bindingSig + - expiryHeight + - joinSplitPubKey + - joinSplitSig + - locktime + - overwintered + - size + - vJoinSplit + - vShieldedOutput + - vShieldedSpend + - valueBalance + - version + - versionGroupId + - vin + - vout type: object - CreateAutomaticTokensForwardingRBTokenDataEthereumToken: - description: Ethereum Token + ListTransactionsByBlockHashRI: properties: - contractAddress: - description: Represents the specific `contractAddress` of the Token that - will be forwarded. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + index: + description: Represents the index position of the transaction in the specific + block. + example: 1 + type: integer + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 00000000000000127080d8bcf84f4ad830a71ea0aadce3632579b6b2f26cd94b + type: string + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1971147 + type: integer + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/ListTransactionsByBlockHashRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1618208236 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: 273eac351a2b76bb98196f3b310eabc787758cf157e8abe726250447185956ed + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 4340d9463f0a5e3b3bc5844c17af78e20fa141f976f20732de630b0e6e4cd571 type: string + fee: + $ref: '#/components/schemas/ListTransactionsByBlockHashRI_fee' + blockchainSpecific: + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBS' required: - - contractAddress + - blockchainSpecific + - fee + - index + - minedInBlockHash + - minedInBlockHeight + - recipients + - senders + - timestamp + - transactionHash + - transactionId type: object - CreateAutomaticTokensForwardingRBTokenData: + ListTransactionsByBlockHashRIBS: oneOf: - - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken' - - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRBTokenDataEthereumToken' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSB' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSL' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD2' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSE' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSEC' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBSC' + - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSZ' type: object - CreateAutomaticTokensForwardingRB: + ListTransactionsByBlockHashR: example: + apiVersion: 2.0.0 data: - item: - confirmationsCount: "3" - feePriority: standard - minimumTransferAmount: "0.00002" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 - context: context + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string context: description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString type: string data: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRB_data' + $ref: '#/components/schemas/ListTransactionsByBlockHashR_data' required: + - apiVersion - data + - requestId type: object - AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken: - description: Bitcoin Omni Token - properties: - propertyId: - description: Represents the specific `propertyId` of the token data that - will be forwarded. - example: 2 - type: integer - required: - - propertyId + ListTransactionsByBlockHashE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' type: object - AddTokensToExistingFromAddressRBTokenDataEthereumToken: - description: Ethereum Token - properties: - contractAddress: - description: Represents the specific `contractAddress` of the Token that - will be forwarded. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 - type: string - required: - - contractAddress + ListTransactionsByBlockHashE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' type: object - AddTokensToExistingFromAddressRBTokenData: + ListTransactionsByBlockHashE403: oneOf: - - $ref: '#/components/schemas/AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken' - - $ref: '#/components/schemas/AddTokensToExistingFromAddressRBTokenDataEthereumToken' + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - AddTokensToExistingFromAddressRB: - example: - data: - item: - confirmationsCount: 3 - feePriority: standard - minimumTransferAmount: "0.00001" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr - toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi - context: context + ListXRPRippleTransactionsByBlockHashRI: properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + additionalData: + description: Represents any additional data that may be needed. + example: r4CmvbkDWGt9AZmkfuubmiSdsxGZFxAKBY type: string - data: - $ref: '#/components/schemas/AddTokensToExistingFromAddressRB_data' - required: - - data - type: object - ValidateAddressRB: - example: - data: - item: - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - context: context - properties: - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. + destinationTag: + example: 3999472835 + format: int64 + type: integer + index: + description: Represents the index position of the transaction in the specific + block. + example: 3 + type: integer + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 15971358 + type: integer + recipients: + description: Represents an object of addresses that receive the transactions. + items: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_senders' + type: array + sequence: + description: "Defines the transaction input's sequence as an integer, which\ + \ is is used when transactions are replaced with newer versions before\ + \ LockTime." + example: 32568 + format: int64 + type: integer + status: + description: Defines the status of the transaction. + example: tesSUCCESS type: string - data: - $ref: '#/components/schemas/ValidateAddressRB_data' + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 236589 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: ba3bc1337071c8e73b441fe12a1911f4365d7ea82cace7c8ecba3ee9f364978b + type: string + type: + description: Defines the type of the transaction. + example: Payment + type: string + fee: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_fee' + offer: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_offer' + receive: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_receive' + value: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_value' required: - - data + - fee + - index + - minedInBlockHeight + - offer + - receive + - recipients + - senders + - sequence + - status + - timestamp + - transactionHash + - type + - value type: object - BroadcastLocallySignedTransactionRB: + ListXRPRippleTransactionsByBlockHashR: example: + apiVersion: 2.0.0 data: - item: - signedTransactionHex: 0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69 - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - context: context + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string context: description: In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + example: yourExampleString type: string data: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionRB_data' + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashR_data' required: + - apiVersion - data + - requestId type: object - ListAssetsDetailsRISC: - description: Crypto Type Data - properties: - "1HourPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 1 hour ago. - example: -2.52 - type: string - "1WeekPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 1 week ago. - example: -10.18 - type: string - "24HoursPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 24 hours ago. - example: -3.37 - type: string - "24HoursTradingVolume": - description: Represents the trading volume of the asset for the time frame - of 24 hours. - example: "2871630447" - type: string - assetType: - description: Represent a subtype of the crypto assets. Could be COIN or - TOKEN. - enum: - - coin - - token - example: coin - type: string - circulatingSupply: - description: Represents the amount of the asset that is circulating on the - market and in public hands. - example: "123564.25" - type: string - marketCapInUSD: - description: Defines the total market value of the asset's circulating supply - in USD. - example: "10198150322.917389" - type: string - maxSupply: - description: Represents the maximum amount of all coins of a specific asset - that will ever exist in its lifetime. - example: "21000000" - type: string - required: - - 1HourPriceChangeInPercentage - - 1WeekPriceChangeInPercentage - - 24HoursPriceChangeInPercentage - - 24HoursTradingVolume - - assetType - - circulatingSupply - - marketCapInUSD - - maxSupply - type: object - ListAssetsDetailsRIS: - description: Represents a specific asset's data depending on its type (whether - it is "crypto" or "fiat"). + ListXRPRippleTransactionsByBlockHashE401: oneOf: - - $ref: '#/components/schemas/ListAssetsDetailsRISC' - type: object - GetAssetDetailsByAssetIDRISC: - description: Crypto Type Data - properties: - "1HourPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 1 hour ago. - example: -0.4277852328344024 - type: string - "1WeekPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 1 week ago. - example: "1.6572304104646762" - type: string - "24HoursPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 24 hours ago. - example: -0.059688916478600924 - type: string - "24HoursTradingVolume": - description: Represents the trading volume of the asset for the time frame - of 24 hours. - example: "3116834672.508857" - type: string - assetType: - description: Represent a subtype of the crypto assets. Could be COIN or - TOKEN. - enum: - - coin - - token - example: coin - type: string - circulatingSupply: - description: Represents the amount of the asset that is circulating on the - market and in public hands. - example: "18562881" - type: string - marketCapInUSD: - description: Defines the total market value of the asset's circulating supply - in USD. - example: "1146119021006.8835" - type: string - maxSupply: - description: Represents the maximum amount of all coins of a specific asset - that will ever exist in its lifetime. - example: "21000000" - type: string - required: - - 1HourPriceChangeInPercentage - - 1WeekPriceChangeInPercentage - - 24HoursPriceChangeInPercentage - - 24HoursTradingVolume - - assetType - - circulatingSupply - - marketCapInUSD - - maxSupply + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' type: object - GetAssetDetailsByAssetIDRIS: - description: Represents a specific asset's data depending on its type (whether - it is "crypto" or "fiat"). + ListXRPRippleTransactionsByBlockHashE400: oneOf: - - $ref: '#/components/schemas/GetAssetDetailsByAssetIDRISC' - type: object - GetAssetDetailsByAssetSymbolRISC: - description: Crypto Type Data - properties: - "1HourPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 1 hour ago. - example: -0.4277852328344024 - type: string - "1WeekPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 1 week ago. - example: "1.6572304104646762" - type: string - "24HoursPriceChangeInPercentage": - description: Represents the percentage of the asset's current price against - the its price from 24 hours ago. - example: -0.059688916478600924 - type: string - "24HoursTradingVolume": - description: Represents the trading volume of the asset for the time frame - of 24 hours. - example: "3116834672.508857" - type: string - assetType: - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". - enum: - - coin - - token - example: coin - type: string - circulatingSupply: - description: Represents the amount of the asset that is circulating on the - market and in public hands. - example: "18562881" - type: string - marketCapInUSD: - description: Defines the total market value of the asset's circulating supply - in USD. - example: "1146119021006.8835" - type: string - maxSupply: - description: Represents the maximum amount of all coins of a specific asset - that will ever exist in its lifetime. - example: "21000000" - type: string - required: - - 1HourPriceChangeInPercentage - - 1WeekPriceChangeInPercentage - - 24HoursPriceChangeInPercentage - - 24HoursTradingVolume - - assetType - - circulatingSupply - - marketCapInUSD - - maxSupply + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' type: object - GetAssetDetailsByAssetSymbolRIS: - description: Represents a specific asset's data depending on its type (whether - it is "crypto" or "fiat"). + ListXRPRippleTransactionsByBlockHashE403: oneOf: - - $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolRISC' + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetAddressDetailsRI: + GetUnconfirmedOmniTransactionByTransactionIDTxidRI: example: - confirmedBalance: - amount: "3.5" - unit: BTC - totalSpent: - amount: "2.1" - unit: BTC - incomingTransactionsCount: 1 - totalReceived: - amount: "5.6" + mined: true + amount: "14.915785" + divisible: true + fee: + amount: "0.0001" unit: BTC - outgoingTransactionsCount: 2 - transactionsCount: 3 + type: Simple Send + sent: false + version: 0 + transactionId: 92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08 + typeInt: 0 + recipients: + - amount: "0.1" + address: mpBjRU6F2YrgWwxtMw4Fp1hikqPdrx6spB + - amount: "0.1" + address: mpBjRU6F2YrgWwxtMw4Fp1hikqPdrx6spB + propertyId: 2 + senders: + - amount: "0.1" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + - amount: "0.1" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + timestamp: 1616431490 properties: - transactionsCount: - description: Represents the total number of confirmed coins transactions - for this address, both incoming and outgoing. Applies for coins only **and - not** tokens transfers e.g. for Ethereum. `transactionsCount` could result - as less than incoming and outgoing transactions put together (e.g. in - Bitcoin), due to the fact that one and the same address could be in senders - and receivers addresses. - example: 3 + amount: + description: Defines the amount of the sent tokens. + example: "14.915785" + type: string + divisible: + description: "Defines whether the attribute can be divisible or not, as\ + \ boolean. E.g., if it is \"true\", the attribute is divisible." + example: true + type: boolean + mined: + description: "Defines whether the transaction has been mined or not, as\ + \ boolean. E.g. if set to \"true\", it means the transaction is mined." + example: true + type: boolean + propertyId: + description: Represents the identifier of the tokens to send. + example: 2 type: integer - confirmedBalance: - $ref: '#/components/schemas/GetAddressDetailsRI_confirmedBalance' - totalReceived: - $ref: '#/components/schemas/GetAddressDetailsRI_totalReceived' - totalSpent: - $ref: '#/components/schemas/GetAddressDetailsRI_totalSpent' - incomingTransactionsCount: - description: Defines the count of the incoming transactions. - example: 1 + recipients: + description: Represents an object of addresses that receive the transactions. + items: + $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidRI_senders' + type: array + sent: + description: "Defines whether the transaction has been sent or not, as boolean.\ + \ E.g. if set to \"true\", it means the transaction is sent." + example: false + type: boolean + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1616431490 type: integer - outgoingTransactionsCount: - description: Defines the count of the outgoing transactions. - example: 2 + transactionId: + description: String representation of the transaction identifier (txid) + example: 92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08 + type: string + type: + description: Defines the type of the transaction as a string. + example: Simple Send + type: string + typeInt: + description: Defines the type of the transaction as a number. + example: 0 + type: integer + version: + description: Defines the specific version. + example: 0 type: integer + fee: + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_fee' required: - - confirmedBalance - - incomingTransactionsCount - - outgoingTransactionsCount - - totalReceived - - totalSpent - - transactionsCount + - amount + - divisible + - fee + - mined + - propertyId + - recipients + - senders + - sent + - timestamp + - transactionId + - type + - typeInt + - version type: object - GetAddressDetailsR: + GetUnconfirmedOmniTransactionByTransactionIDTxidR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - confirmedBalance: - amount: "3.5" - unit: BTC - totalSpent: - amount: "2.1" - unit: BTC - incomingTransactionsCount: 1 - totalReceived: - amount: "5.6" + mined: true + amount: "14.915785" + divisible: true + fee: + amount: "0.0001" unit: BTC - outgoingTransactionsCount: 2 - transactionsCount: 3 + type: Simple Send + sent: false + version: 0 + transactionId: 92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08 + typeInt: 0 + recipients: + - amount: "0.1" + address: mpBjRU6F2YrgWwxtMw4Fp1hikqPdrx6spB + - amount: "0.1" + address: mpBjRU6F2YrgWwxtMw4Fp1hikqPdrx6spB + propertyId: 2 + senders: + - amount: "0.1" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + - amount: "0.1" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + timestamp: 1616431490 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -16406,392 +25211,292 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetAddressDetailsR_data' + $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidR_data' required: - apiVersion - data - requestId type: object - BannedIpAddress: - description: banned_ip_address - properties: - code: - description: Specifies an error code, e.g. error 404. - example: banned_ip_address - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: This IP address has been banned. To check the reason for that, - please contact our team via email. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message + GetUnconfirmedOmniTransactionByTransactionIDTxidE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' type: object - UriNotFound: - description: uri_not_found - properties: - code: - description: Specifies an error code, e.g. error 404. - example: uri_not_found - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The specified URI has not been found. Check the URI and try again. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message + GetUnconfirmedOmniTransactionByTransactionIDTxidE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' type: object - UnexpectedServerError: - description: unexpected_server_error - properties: - code: - description: Specifies an error code, e.g. error 404. - example: unexpected_server_error - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: An unexpected server error has occurred, we are working to fix - this. Please try again later and in case it occurs again please report - it to our team via email. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message + GetUnconfirmedOmniTransactionByTransactionIDTxidE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - MissingApiKey: - description: missing_api_key + CreateCoinsTransactionRequestFromAddressRI: + example: + feePriority: standard + note: yourAdditionalInformationhere + transactionRequestStatus: created + recipients: + - amount: "0.0023" + address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + - amount: "0.0023" + address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + transactionRequestId: 6017dd02a309213863be9e55 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + senders: + address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 properties: - code: - description: Specifies an error code, e.g. error 404. - example: missing_api_key + addressTag: + description: Defines a specific Tag that is an additional XRP address feature. + It helps identify a transaction recipient beyond a wallet address. The + tag that was encoded into the x-Address along with the Source Classic + Address. + example: 3999472835 + type: integer + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretString type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The specific authorization header (API Key) is missing, please - check our Authorization section in our Documentation. + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - UnsupportedMediaType: - description: unsupported_media_type - properties: - code: - description: Specifies an error code, e.g. error 404. - example: unsupported_media_type + classicAddress: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key. The classic address is shown when the source address\ + \ is an x-Address." + example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The selected Media Type is unavailable. The Content-Type header - should be 'application/json'. + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." + enum: + - slow + - standard + - fast + example: standard type: string - details: + note: + description: "Represents an optional note to add a free text in, explaining\ + \ or providing additional detail on the transaction request." + example: yourAdditionalInformationhere + type: string + recipients: + description: "Defines the destination for the transaction, i.e. the recipient(s)." items: - $ref: '#/components/schemas/BannedIpAddress_details' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressRI_recipients' type: array - required: - - code - - message - type: object - RequestLimitReached: - description: request_limit_reached - properties: - code: - description: Specifies an error code, e.g. error 404. - example: request_limit_reached + senders: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressRI_senders' + transactionRequestId: + description: "Represents a unique identifier of the transaction request\ + \ (the request sent to make a transaction), which helps in identifying\ + \ which callback and which `referenceId` concern that specific transaction\ + \ request." + example: 6017dd02a309213863be9e55 type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The request limit has been reached. There can be maximum {requests} - requests per {seconds} second(s) made. Please contact our team via email - if you need more or upgrade your plan. + transactionRequestStatus: + description: "Defines the status of the transaction request, e.g. \"created,\ + \ \"await_approval\", \"pending\", \"prepared\", \"signed\", \"broadcasted\"\ + , \"success\", \"failed\", \"rejected\", mined\"." + enum: + - created + - await-approval + - pending + - prepared + - signed + - broadcasted + - success + - failed + - rejected + - mined + example: created type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array required: - - code - - message + - feePriority + - recipients + - senders + - transactionRequestId + - transactionRequestStatus type: object - InvalidApiKey: - description: invalid_api_key + CreateCoinsTransactionRequestFromAddressR: + example: + apiVersion: 2.0.0 + data: + item: + feePriority: standard + note: yourAdditionalInformationhere + transactionRequestStatus: created + recipients: + - amount: "0.0023" + address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + - amount: "0.0023" + address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + transactionRequestId: 6017dd02a309213863be9e55 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + senders: + address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - code: - description: Specifies an error code, e.g. error 404. - example: invalid_api_key + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The provided API key is invalid. Please, generate a new one from - your Dashboard. + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressR_data' required: - - code - - message + - apiVersion + - data + - requestId type: object - GetAddressDetailsE401: + CreateCoinsTransactionRequestFromAddressE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - InsufficientCredits: - description: insufficient_credits - properties: - code: - description: Specifies an error code, e.g. error 404. - example: insufficient_credits - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: You have insufficient credits. Please upgrade your plan from your - Dashboard or contact our team via email. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - InvalidData: - description: invalid_data - properties: - code: - description: Specifies an error code, e.g. error 404. - example: invalid_data - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The data provided seems to be invalid. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - LimitGreaterThanAllowed: - description: limit_greater_than_allowed - properties: - code: - description: Specifies an error code, e.g. error 404. - example: limit_greater_than_allowed - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: You have reached the allowed limit. The maximum number of items - for this endpoint is {limit}, please use the specific pagination attributes - to get the items in portions. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - GetAddressDetailsE400: + CreateCoinsTransactionRequestFromAddressE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - InvalidPagination: - description: invalid_pagination - properties: - code: - description: Specifies an error code, e.g. error 404. - example: invalid_pagination - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The pagination attributes that have been used are invalid. Please - check the Documentation to see details on pagination. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - EndpointNotAllowedForPlan: - description: endpoint_not_allowed_for_plan - properties: - code: - description: Specifies an error code, e.g. error 404. - example: endpoint_not_allowed_for_plan - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: This endpoint is not available for your current subscription plan, - please upgrade your plan to be able to use it. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - GetAddressDetailsE403: + CreateCoinsTransactionRequestFromAddressE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - EndpointNotAllowedForApiKey: - description: endpoint_not_allowed_for_api_key - properties: - code: - description: Specifies an error code, e.g. error 404. - example: endpoint_not_allowed_for_api_key - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: This endpoint is not available for your API key. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message + CreateCoinsTransactionRequestFromAddressE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/WalletAsAServiceWalletBalanceNotEnough' + - $ref: '#/components/schemas/WalletAsAServiceAddressBalanceNotEnough' type: object - FeatureMainnetsNotAllowedForPlan: - description: feature_mainnets_not_allowed_for_plan + ListZilliqaTransactionsByBlockHashRI: properties: - code: - description: Specifies an error code, e.g. error 404. - example: feature_mainnets_not_allowed_for_plan - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Mainnets access is not available for your current subscription - plan, please upgrade your plan to be able to use it. - type: string - details: + fee: + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_fee' + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 + type: integer + gasPrice: + description: Defines the price of the gas. + example: 2994782927 + type: integer + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 24673 + type: integer + minedInBlockHeight: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 1250392 + type: integer + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: 13 + type: integer + recipients: + description: Defines an object array of the transaction recipients. items: - $ref: '#/components/schemas/BannedIpAddress_details' + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_recipients' type: array - required: - - code - - message - type: object - InvalidRequestBodyStructure: - description: invalid_request_body_structure - properties: - code: - description: Specifies an error code, e.g. error 404. - example: invalid_request_body_structure - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: 'Your request body for POST requests must have a structure of { - data: { item: [...properties] } }' - type: string - details: + senders: + description: Represents an object of addresses that provide the funds. items: - $ref: '#/components/schemas/BannedIpAddress_details' + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_senders' type: array - required: - - code - - message - type: object - ListOmniTokensByAddressRI: - properties: - balance: - description: Defines the balance of the Omni tokens to send in the address. - example: "29" - type: string - frozen: - description: Defines the amount frozen by the issuer (applies to managed - properties only). - example: "0" - type: string - name: - description: Defines the name of the Omni tokens to send. - example: Omni tokens + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1582202940 + type: integer + transactionHash: + description: "Represents the hash of the transaction, which is its unique\ + \ identifier." + example: 0xf4a847a1489a043ee509d5d7df48f2bf7ba1b15354ed14600b035ff2f7670203 type: string - propertyId: - description: Represents the identifier of the tokens to send. - example: 1 + transactionIndex: + description: Defines the numeric representation of the transaction index. + example: 0 type: integer - reserved: - description: Represents the amount reserved by sell offers and accepts. + transactionStatus: + description: "Defines the status of the transaction, whether it is e.g.\ + \ pending or complete." example: "0" type: string required: - - balance - - frozen - - name - - propertyId - - reserved + - fee + - gasLimit + - gasPrice + - gasUsed + - minedInBlockHeight + - nonce + - recipients + - senders + - timestamp + - transactionHash + - transactionIndex + - transactionStatus type: object - ListOmniTokensByAddressR: + ListZilliqaTransactionsByBlockHashR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -16803,90 +25508,118 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListOmniTokensByAddressR_data' + $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHashR_data' required: - apiVersion - data - requestId type: object - ListOmniTokensByAddressE401: + ListZilliqaTransactionsByBlockHashE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListOmniTokensByAddressE400: + ListZilliqaTransactionsByBlockHashE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListOmniTokensByAddressE403: + ListZilliqaTransactionsByBlockHashE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetXRPRippleAddressDetailsRI: - example: - sequence: 25648975 - incomingTransactionsCount: 1 - balance: - amount: "22.0000" - unit: XRP - outgoingTransactionsCount: 1 - transactionsCount: 2 + ListZilliqaTransactionsByBlockHeightRI: properties: - balance: - $ref: '#/components/schemas/GetXRPRippleAddressDetailsRI_balance' - incomingTransactionsCount: - description: Defines the count of all confirmed incoming transactions from - the address for coins. This applies to coins only, not to tokens transfers - example: 1 + fee: + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_fee' + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 type: integer - outgoingTransactionsCount: - description: Defines the count of all confirmed outgoing transactions for - coins. This applies to coins only, not to tokens transfers - example: 1 + gasPrice: + description: Defines the price of the gas. + example: 2994782927 type: integer - sequence: - description: Defines the transaction input's sequence as an integer, which - is is used when transactions are replaced with newer versions before LockTime. - example: 25648975 + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 958 type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 2 + minedInBlockHash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 0x3160ca05ac12f60023de6b6987596eccbf084629f1a92b59534c5c021bf27041 + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: 13 + type: integer + recipients: + description: Defines an object array of the transaction recipients. + items: + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_recipients' + type: array + senders: + description: Represents an object of addresses that provide the funds. + items: + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_senders' + type: array + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1582202940 + type: integer + transactionHash: + description: "Represents the hash of the transaction, which is its unique\ + \ identifier." + example: 0xf4a847a1489a043ee509d5d7df48f2bf7ba1b15354ed14600b035ff2f7670203 + type: string + transactionIndex: + description: Defines the numeric representation of the transaction index. + example: 0 type: integer + transactionStatus: + description: "Defines the status of the transaction, whether it is e.g.\ + \ pending or complete." + example: "0" + type: string required: - - balance - - incomingTransactionsCount - - outgoingTransactionsCount - - sequence - - transactionsCount + - fee + - gasLimit + - gasPrice + - gasUsed + - minedInBlockHash + - nonce + - recipients + - senders + - timestamp + - transactionHash + - transactionIndex + - transactionStatus type: object - GetXRPRippleAddressDetailsR: + ListZilliqaTransactionsByBlockHeightR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - sequence: 25648975 - incomingTransactionsCount: 1 - balance: - amount: "22.0000" - unit: XRP - outgoingTransactionsCount: 1 - transactionsCount: 2 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -16898,79 +25631,113 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetXRPRippleAddressDetailsR_data' + $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHeightR_data' required: - apiVersion - data - requestId type: object - GetXRPRippleAddressDetailsE401: + ListZilliqaTransactionsByBlockHeightE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetXRPRippleAddressDetailsE400: + ListZilliqaTransactionsByBlockHeightE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetXRPRippleAddressDetailsE403: + ListZilliqaTransactionsByBlockHeightE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetZilliqaAddressDetailsRI: - example: - incomingTransactionsCount: 5 - balance: - amount: "23.125" - unit: ZIL - outgoingTransactionsCount: 2 - transactionsCount: 5 + ListXRPRippleTransactionsByBlockHeightRI: properties: - balance: - $ref: '#/components/schemas/GetZilliqaAddressDetailsRI_balance' - incomingTransactionsCount: - description: Defines the received transaction count to the address. - example: 5 + additionalData: + example: r4CmvbkDWGt9AZmkfuubmiSdsxGZFxAKBY + type: string + destinationTag: + example: 3999472835 + format: int64 type: integer - outgoingTransactionsCount: - description: Defines the sent transaction count from the address. - example: 2 + index: + example: 3 type: integer - transactionsCount: - description: Defines the entire count of the transactions. - example: 5 + minedInBlockHash: + example: 14754656235f865a74eba27791fd41a47bdfe07fe811ff6d78f53db32e129e39 + type: string + recipients: + description: Object Array representation of transaction receivers + items: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_recipients' + type: array + senders: + description: Object Array representation of transaction senders + items: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_senders' + type: array + sequence: + example: 32568 + format: int64 + type: integer + status: + example: tesSUCCESS + type: string + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 236589 type: integer + transactionHash: + example: ba3bc1337071c8e73b441fe12a1911f4365d7ea82cace7c8ecba3ee9f364978b + type: string + type: + example: Payment + type: string + fee: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_fee' + offer: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_offer' + receive: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_receive' + value: + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_value' required: - - balance - - incomingTransactionsCount - - outgoingTransactionsCount - - transactionsCount + - fee + - index + - minedInBlockHash + - offer + - receive + - recipients + - senders + - sequence + - status + - timestamp + - transactionHash + - type + - value type: object - GetZilliqaAddressDetailsR: + ListXRPRippleTransactionsByBlockHeightR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - incomingTransactionsCount: 5 - balance: - amount: "23.125" - unit: ZIL - outgoingTransactionsCount: 2 - transactionsCount: 5 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -16982,40 +25749,41 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetZilliqaAddressDetailsR_data' + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightR_data' required: - apiVersion - data - requestId type: object - GetZilliqaAddressDetailsE401: + ListXRPRippleTransactionsByBlockHeightE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetZilliqaAddressDetailsE400: + ListXRPRippleTransactionsByBlockHeightE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetZilliqaAddressDetailsE403: + ListXRPRippleTransactionsByBlockHeightE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetTransactionDetailsByTransactionIDRIBSB: + ListTransactionsByBlockHeightRIBSB: description: Bitcoin properties: locktime: description: Represents the time at which a particular transaction can be added to the blockchain. example: 1781965 + format: int64 type: integer size: description: Represents the total size of this transaction. @@ -17032,12 +25800,12 @@ components: vin: description: Represents the transaction inputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB_vin' + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSB_vin' type: array vout: description: Represents the transaction outputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB_vout' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSB_vout' type: array required: - locktime @@ -17047,17 +25815,58 @@ components: - vin - vout type: object - GetTransactionDetailsByTransactionIDRIBSBC: - description: Bitcoin Cash + ListTransactionsByBlockHeightRIBSE: + description: Ethereum + properties: + contract: + description: Represents the specific transaction contract. + example: 0x67a5cd06000000000000000000000000516de3a7a567d81737e3a46ec4ff9cfd1fcb0136 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" + type: string + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSE_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "24673" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + transactionStatus: + description: Represents the status of this transaction. + type: string + required: + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus + type: object + ListTransactionsByBlockHeightRIBSD: + description: Dash properties: locktime: description: Represents the time at which a particular transaction can be added to the blockchain. - example: 1781965 + example: 0 + format: int64 type: integer size: description: Represents the total size of this transaction. - example: 248 + example: 125 type: integer version: description: Represents transaction version number. @@ -17066,12 +25875,12 @@ components: vin: description: Represents the transaction inputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vin' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD_vin' type: array vout: description: Represents the transaction outputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vout' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD_vout' type: array required: - locktime @@ -17080,102 +25889,105 @@ components: - vin - vout type: object - GetTransactionDetailsByTransactionIDRIBSL: - description: Litecoin + ListTransactionsByBlockHeightRIBSD2: + description: Dogecoin properties: locktime: description: Represents the time at which a particular transaction can be added to the blockchain. - example: 2 + example: 1 + format: int64 type: integer size: description: Represents the total size of this transaction. - example: 223 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 141 + example: 266 type: integer version: description: Represents transaction version number. - example: 1 + example: 2 type: integer vin: description: Represents the transaction inputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vin' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD2_vin' type: array vout: description: Represents the transaction outputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD_vout' type: array required: - locktime - size - - vSize - version - vin - vout type: object - GetTransactionDetailsByTransactionIDRIBSD: - description: Dogecoin + ListTransactionsByBlockHeightRIBSL: + description: Litecoin properties: locktime: description: Represents the time at which a particular transaction can be added to the blockchain. - example: 0 + example: 2 + format: int64 type: integer size: description: Represents the total size of this transaction. - example: 266 + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 141 type: integer version: description: Represents transaction version number. - example: 1 + example: 2 type: integer vin: description: Represents the transaction inputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vin' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSL_vin' type: array vout: description: Represents the transaction outputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSL_vout' type: array required: - locktime - size + - vSize - version - vin - vout type: object - GetTransactionDetailsByTransactionIDRIBSD2: - description: Dash + ListTransactionsByBlockHeightRIBSBC: + description: Bitcoin Cash properties: locktime: description: Represents the time at which a particular transaction can be added to the blockchain. - example: 0 + example: 1781965 + format: int64 type: integer size: description: Represents the total size of this transaction. - example: 125 + example: 248 type: integer version: - description: Represents transaction version number. + description: Represents the total size of this transaction. example: 1 type: integer vin: description: Represents the transaction inputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2_vin' + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC_vin' type: array vout: description: Represents the transaction outputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2_vout' + $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC_vout' type: array required: - locktime @@ -17184,8 +25996,8 @@ components: - vin - vout type: object - GetTransactionDetailsByTransactionIDRIBSE: - description: Ethereum + ListTransactionsByBlockHeightRIBSEC: + description: Ethereum Classic properties: contract: description: Represents the specific transaction contract. @@ -17194,13 +26006,13 @@ components: gasLimit: description: Represents the amount of gas used by this specific transaction alone. - example: "552020" + example: "21000" type: string gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSE_gasPrice' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSEC_gasPrice' gasUsed: description: Represents the exact unit of gas that was used for the transaction. - example: "24673" + example: "21000" type: string inputData: description: Represents additional information that is required for the @@ -17208,53 +26020,11 @@ components: example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 type: string nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer - transactionStatus: - description: Represents the status of this transaction. - example: 0x1 - type: string - required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus - type: object - GetTransactionDetailsByTransactionIDRIBSEC: - description: Ethereum Classic - properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "552020" - type: string - gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSEC_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "24673" - type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: "15" type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer required: - contract - gasLimit @@ -17263,12 +26033,11 @@ components: - inputData - nonce type: object - GetTransactionDetailsByTransactionIDRIBSBSC: + ListTransactionsByBlockHeightRIBSBSC: description: Binance Smart Chain properties: contract: - description: Represents the specific transaction contract - example: 0x0000000000000000000000000000000000001000 + description: Represents the specific transaction contract. type: string gasLimit: description: Represents the amount of gas used by this specific transaction @@ -17276,36 +26045,40 @@ components: example: "21000" type: string gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBSC_gasPrice' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSBSC_gasPrice' gasUsed: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: Represents the exact unit of gas that was used for the transaction. example: "21000" type: string inputData: description: Represents additional information that is required for the transaction. - example: 0x + example: 0xe656e7110000000000000000000000000000000000000000000000000000000000000001 type: string nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 25341 + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 15 type: integer + transactionStatus: + description: Represents the status of this transaction + example: 0x1 + type: string required: - - contract - gasLimit - gasPrice - gasUsed - inputData - nonce + - transactionStatus type: object - GetTransactionDetailsByTransactionIDRIBSZ: + ListTransactionsByBlockHeightRIBSZ: description: Zcash properties: bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 type: string expiryHeight: @@ -17324,9 +26097,10 @@ components: example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a type: string locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. + description: Represents the time at which a particular transaction can be + added to the blockchain. example: 1781965 + format: int64 type: integer overwintered: description: '"Overwinter" is the network upgrade for the Zcash blockchain.' @@ -17340,12 +26114,12 @@ components: description: Represents a sequence of JoinSplit descriptions using BCTV14 proofs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vJoinSplit' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vJoinSplit' type: array vShieldedOutput: description: Object Array representation of transaction output descriptions items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vShieldedOutput' type: array vShieldedSpend: description: Object Array representation of transaction spend descriptions @@ -17353,11 +26127,11 @@ components: $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' type: array valueBalance: - description: String representation of the transaction value balance + description: Defines the transaction value balance. example: "0" type: string version: - description: Defines the version of the transaction. + description: Represents the transaction version number. example: 1 type: integer versionGroupId: @@ -17367,12 +26141,12 @@ components: vin: description: Object Array representation of transaction inputs items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vin' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vin' type: array vout: description: Object Array representation of transaction outputs items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vout' type: array required: - bindingSig @@ -17391,39 +26165,13 @@ components: - vin - vout type: object - GetTransactionDetailsByTransactionIDRI: - example: - recipients: - - amount: "0.000144" - address: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV - - amount: "0.000144" - address: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV - fee: - amount: "0.00016932" - unit: ZEC - minedInBlockHeight: 1939750 - index: 1 - isConfirmed: true - minedInBlockHash: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db - senders: - - amount: "0.00873472" - address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 - - amount: "0.00873472" - address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 - transactionHash: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 - transactionId: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 - timestamp: 1582202940 + ListTransactionsByBlockHeightRI: properties: index: description: Represents the index position of the transaction in the specific block. - example: 1 + example: 2 type: integer - isConfirmed: - description: Represents the state of the transaction whether it is confirmed - or not confirmed. - example: true - type: boolean minedInBlockHash: description: Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic @@ -17431,102 +26179,250 @@ components: SHA256 algorithm. example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 1939750 - type: integer + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1939750 + type: integer + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1582202940 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + type: string + fee: + $ref: '#/components/schemas/ListTransactionsByBlockHeightRI_fee' + blockchainSpecific: + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBS' + required: + - blockchainSpecific + - fee + - index + - minedInBlockHash + - minedInBlockHeight + - recipients + - senders + - timestamp + - transactionHash + - transactionId + type: object + ListTransactionsByBlockHeightRIBS: + oneOf: + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSB' + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSE' + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD' + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD2' + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSL' + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSBC' + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSEC' + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSBSC' + - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ' + type: object + ListTransactionsByBlockHeightR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListTransactionsByBlockHeightR_data' + required: + - apiVersion + - data + - requestId + type: object + ListTransactionsByBlockHeightE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListTransactionsByBlockHeightE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListTransactionsByBlockHeightE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + BlockchainDataBlockNotFound: + description: blockchain_data_block_not_found + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: blockchain_data_block_not_found + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The specified block has not been found on the specific blockchain. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + CreateCoinsTransactionFromAddressForWholeAmountRI: + example: + feePriority: standard + note: yourExampleStringHere + transactionRequestStatus: created + recipients: + - amount: "0.123" + address: 0xc065b539490f81b6c297c37b1925c3be2f190732 + - amount: "0.123" + address: 0xc065b539490f81b6c297c37b1925c3be2f190732 + transactionRequestId: 6017dd02a309213863be9e55 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + senders: + address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 + properties: + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." + enum: + - slow + - standard + - fast + example: standard + type: string + note: + description: "Represents an optional note to add a free text in, explaining\ + \ or providing additional detail on the transaction request.Optional Transaction\ + \ note with additional details" + example: yourExampleStringHere + type: string recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. + description: "Defines the destination for the transaction, i.e. the recipient(s)." items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_recipients' + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountRI_recipients' type: array senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_senders' - type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1582202940 - type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountRI_senders' + transactionRequestId: + description: "Represents a unique identifier of the transaction request\ + \ (the request sent to make a transaction), which helps in identifying\ + \ which callback and which `referenceId` concern that specific transaction\ + \ request." + example: 6017dd02a309213863be9e55 type: string - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + transactionRequestStatus: + description: "Defines the status of the transaction, e.g. \"created, \"\ + await_approval\", \"pending\", \"prepared\", \"signed\", \"broadcasted\"\ + , \"success\", \"failed\", \"rejected\", mined\"." + enum: + - created + - await-approval + - pending + - prepared + - signed + - broadcasted + - success + - failed + - rejected + - mined + example: created type: string - fee: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_fee' - blockchainSpecific: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBS' required: - - blockchainSpecific - - fee - - index - - isConfirmed + - feePriority - recipients - senders - - timestamp - - transactionHash - - transactionId - type: object - GetTransactionDetailsByTransactionIDRIBS: - oneOf: - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSE' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSEC' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBSC' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ' + - transactionRequestId + - transactionRequestStatus type: object - GetTransactionDetailsByTransactionIDR: + CreateCoinsTransactionFromAddressForWholeAmountR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: + feePriority: standard + note: yourExampleStringHere + transactionRequestStatus: created recipients: - - amount: "0.000144" - address: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV - - amount: "0.000144" - address: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV - fee: - amount: "0.00016932" - unit: ZEC - minedInBlockHeight: 1939750 - index: 1 - isConfirmed: true - minedInBlockHash: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + - amount: "0.123" + address: 0xc065b539490f81b6c297c37b1925c3be2f190732 + - amount: "0.123" + address: 0xc065b539490f81b6c297c37b1925c3be2f190732 + transactionRequestId: 6017dd02a309213863be9e55 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com senders: - - amount: "0.00873472" - address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 - - amount: "0.00873472" - address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 - transactionHash: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 - transactionId: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 - timestamp: 1582202940 + address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -17538,447 +26434,627 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDR_data' + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountR_data' required: - apiVersion - data - requestId type: object - GetTransactionDetailsByTransactionIDE401: + CreateCoinsTransactionFromAddressForWholeAmountE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetTransactionDetailsByTransactionIDE400: + CreateCoinsTransactionFromAddressForWholeAmountE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetTransactionDetailsByTransactionIDE403: + CreateCoinsTransactionFromAddressForWholeAmountE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - BlockchainDataTransactionNotFound: - description: blockchain_data_transaction_not_found + CreateCoinsTransactionFromAddressForWholeAmountE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/WalletAsAServiceWalletBalanceNotEnough' + - $ref: '#/components/schemas/WalletAsAServiceAddressBalanceNotEnough' + type: object + GetBlockDetailsByBlockHeightRIBSB: + description: Bitcoin properties: - code: - description: Specifies an error code, e.g. error 404. - example: blockchain_data_transaction_not_found + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The specified transaction has not been found on the specific blockchain. + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array + size: + description: Represents the total size of the block in Bytes. + example: 3892 + type: integer + bits: + description: "A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and\ + \ is the same as microbitcoin (μBTC). Bits have two-decimal precision." + example: "420773839" + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000003ddecb747af741625d6 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 7b52cc9ce137b92365eb4d0f8a708da9e3ba199aa422f96352a0c0c87221251b + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 2840 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 545259520 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000" + type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 12412 + type: integer required: - - code - - message + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize + - version + - versionHex + - weight type: object - ListOmniTransactionsByAddressRI: + GetBlockDetailsByBlockHeightRIBSE: + description: Ethereum properties: - amount: - description: Defines the amount of the sent tokens. - example: "0.01788569" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - divisible: - description: Defines whether the attribute can be divisible or not, as boolean. - E.g., if it is "true", the attribute is divisible. - example: true - type: boolean - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 00000000eafa33741ed67c863930df2af8c236568c4437c395543b5684f4f1ca + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 1939884 + size: + description: Represents the total size of the block in Bytes. + example: 3892 type: integer - propertyId: - description: Represents the identifier of the tokens to send. - example: 2 + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd983010203844765746887676f312e342e328777696e646f7773 + type: string + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "3141592" + type: string + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "21000" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 8 type: integer - recipients: - description: Represents an object of addresses that receive the transactions. - items: - $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_senders' - type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1616420363 + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "20104747399762079739558" + type: string + required: + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty + type: object + GetBlockDetailsByBlockHeightRIBSEC: + description: Ethereum Classic + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 3892 type: integer - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 409adab785707784361f5e528e5fa21dc0453670f811069f88b0bb725929d945 + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0x307834383639373636353666366532303530366636663663 type: string - type: - description: Defines the type of the transaction as a string. - example: Simple Send + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "3141592" type: string - typeInt: - description: Defines the type of the transaction as a number. - example: 0 + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "21000" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 3 type: integer - valid: - description: Defines whether the transaction is valid or not, as boolean. - E.g. if set to "true", it means the transaction is valid. - example: true - type: boolean + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "20104747399762079739558" + type: string + required: + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty + type: object + GetBlockDetailsByBlockHeightRIBSBC: + description: Bitcoin Cash + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 3892 + type: integer + bits: + description: "A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and\ + \ is the same as microbitcoin (μBTC). Bits have two-decimal precision." + example: 1917ffc5 + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 263a9121b0e8aaf6a3df5f77f7658b358def7642ed8d674b97dc4e207b7f6937 + type: string version: - description: Defines the specific version. - example: 0 + description: Represents the version of the specific block on the blockchain. + example: 536870912 type: integer - fee: - $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_fee' + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000" + type: string required: - - amount - - divisible - - fee - - minedInBlockHash - - minedInBlockHeight - - propertyId - - recipients - - senders - - timestamp - - transactionId - - type - - typeInt - - valid + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + - versionHex + type: object + GetBlockDetailsByBlockHeightRIBSL: + description: Litecoin + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 3892 + type: integer + bits: + description: Represents a specific sub-unit of Litecoin. Bits have two-decimal + precision. + example: 1917ffc5 + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 930838 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000" + type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 2238302 + type: integer + required: + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize + - version + - versionHex + - weight + type: object + GetBlockDetailsByBlockHeightRIBSD: + description: Dogecoin + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 3892 + type: integer + bits: + description: Represents a specific sub-unit of Doge. Bits have two-decimal + precision. + example: 1917ffc5 + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 930838 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limi + example: 2238302 + type: integer + required: + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize - version + - weight type: object - ListOmniTransactionsByAddressR: - example: - apiVersion: "2.0" - data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHeightRIBSD2: + description: Dash properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + size: + description: Represents the total size of the block in Bytes. + example: 3892 + type: integer + bits: + description: "A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and\ + \ is the same as microbitcoin (μBTC). Bits have two-decimal precision" + example: 1917ffc5 + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000016abcea319c908148ad0 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 0348f785f8779822c9f81d60684f320e9a230fbfe6241a0502edfe257feff3b6 + type: string + version: + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "30000000" type: string - data: - $ref: '#/components/schemas/ListOmniTransactionsByAddressR_data' required: - - apiVersion - - data - - requestId - type: object - ListOmniTransactionsByAddressE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListOmniTransactionsByAddressE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListOmniTransactionsByAddressE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + - versionHex type: object - GetXRPRippleTransactionDetailsByTransactionIDRI: - example: - receive: - amount: "2.1256" - unit: XRP - destinationTag: 3999472835 - fee: - amount: "0.0021" - unit: XRP - index: "2" - minedInBlockHash: 3f7af58d6cf1cd9020fb285d8e3e215131800d5109e42647ffd9b3aeae59df33 - type: Payment - transactionHash: 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d - offer: - amount: "3.0154" - unit: XRP - sequence: 4294967295 - recipients: - - amount: "0.00001" - address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY - - amount: "0.00001" - address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY - minedInBlockHeight: "15973802" - additionalData: rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu - senders: - - amount: "0.00001" - address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY - - amount: "0.00001" - address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY - value: - amount: "3.0254" - unit: XRP - status: status - timestamp: 1582202940 + GetBlockDetailsByBlockHeightRIBSBSC: + description: Binance Smart Chain properties: - additionalData: - description: Represents additional data that may be needed. - example: rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - destinationTag: - example: 3999472835 - type: integer - index: - description: Defines the index of the transaction, i.e. the consecutive - place it takes in the blockchain. - example: "2" + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" type: string - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 3f7af58d6cf1cd9020fb285d8e3e215131800d5109e42647ffd9b3aeae59df33 + size: + description: Represents the total size of the block in Bytes. + example: 3892 + type: integer + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd983010203844765746887676f312e342e328777696e646f7773 type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: "15973802" + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "3141592" type: string - offer: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_offer' - receive: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_receive' - recipients: - description: Represents an object of addresses that receive the transactions. - items: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_senders' - type: array - sequence: - description: Defines the transaction input's sequence as an integer, which - is is used when transactions are replaced with newer versions before LockTime. - example: 4294967295 - type: integer - status: - description: Defines the status of the transaction. + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "21000" type: string - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1582202940 + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 5 type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 type: string - type: - description: Defines the type of the transaction. - example: Payment + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "20104747399762079739558" type: string - fee: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_fee' - value: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_value' required: - - additionalData - - fee - - index - - minedInBlockHash - - minedInBlockHeight - - offer - - receive - - recipients - - senders - - sequence - - timestamp - - transactionHash - - type - - value + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty type: object - GetXRPRippleTransactionDetailsByTransactionIDR: - example: - apiVersion: "2.0" - data: - item: - receive: - amount: "2.1256" - unit: XRP - destinationTag: 3999472835 - fee: - amount: "0.0021" - unit: XRP - index: "2" - minedInBlockHash: 3f7af58d6cf1cd9020fb285d8e3e215131800d5109e42647ffd9b3aeae59df33 - type: Payment - transactionHash: 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d - offer: - amount: "3.0154" - unit: XRP - sequence: 4294967295 - recipients: - - amount: "0.00001" - address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY - - amount: "0.00001" - address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY - minedInBlockHeight: "15973802" - additionalData: rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu - senders: - - amount: "0.00001" - address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY - - amount: "0.00001" - address: rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY - value: - amount: "3.0254" - unit: XRP - status: status - timestamp: 1582202940 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHeightRIBSZ: + description: Zcash properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + size: + description: Represents the total size of the block in Bytes. + example: 3892 + type: integer + bits: + description: Represents a specific sub-unit of Zcash. Bits have two-decimal + precision + example: "524517883" type: string - data: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDR_data' - required: - - apiVersion - - data - - requestId - type: object - GetXRPRippleTransactionDetailsByTransactionIDE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetXRPRippleTransactionDetailsByTransactionIDE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetXRPRippleTransactionDetailsByTransactionIDE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - type: object - ResourceNotFound: - description: resource_not_found - properties: - code: - description: Specifies an error code, e.g. error 404. - example: resource_not_found + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000000000000000262b072797 type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Resource not found + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array + version: + description: Represents the block version number. + example: 4 + type: integer required: - - code - - message + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version type: object - GenerateDepositAddressRI: + GetBlockDetailsByBlockHeightRI: example: - address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 - createdTimestamp: 1624028267 - label: yourLabelStringHere + previousBlockHash: 00000000b8c2337ed1221d1861105ad227dfff93b0a1798e78fb6edff58925f5 + nextBlockHash: 000000000000000e2f2e4fab8eaaa6bb39632a79a825d34169d451a86959fe04 + blockchainSpecific: null + hash: 000000000000000cf507214c4f86a5048449230bc5c5dbbed59aa74421553f26 + transactionsCount: 12 + height: 1939743 + timestamp: 1615378134 properties: - address: - description: Specifies the specific address's unique string value. - example: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + hash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 000000000000000cf507214c4f86a5048449230bc5c5dbbed59aa74421553f26 type: string - createdTimestamp: - description: Defines the specific UNIX time when the deposit address was - created. - example: 1624028267 + height: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 1939743 type: integer - label: - description: Represents a custom tag that customers can set up for their - Wallets and addresses. E.g. custom label named "Special addresses". - example: yourLabelStringHere + nextBlockHash: + description: Represents the hash of the next block. When this is the last + block of the blockchain this value will be an empty string. + example: 000000000000000e2f2e4fab8eaaa6bb39632a79a825d34169d451a86959fe04 + type: string + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 00000000b8c2337ed1221d1861105ad227dfff93b0a1798e78fb6edff58925f5 type: string + timestamp: + description: Defines the exact date/time when this block was mined in Unix + example: 1615378134 + type: integer + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 12 + type: integer + blockchainSpecific: + $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBS' required: - - address - - createdTimestamp - - label + - blockchainSpecific + - hash + - height + - nextBlockHash + - previousBlockHash + - timestamp + - transactionsCount type: object - GenerateDepositAddressR: + GetBlockDetailsByBlockHeightRIBS: + oneOf: + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSB' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSE' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSEC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSBC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSL' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSD' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSD2' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSBSC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSZ' + type: object + GetBlockDetailsByBlockHeightR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 - createdTimestamp: 1624028267 - label: yourLabelStringHere + previousBlockHash: 00000000b8c2337ed1221d1861105ad227dfff93b0a1798e78fb6edff58925f5 + nextBlockHash: 000000000000000e2f2e4fab8eaaa6bb39632a79a825d34169d451a86959fe04 + blockchainSpecific: null + hash: 000000000000000cf507214c4f86a5048449230bc5c5dbbed59aa74421553f26 + transactionsCount: 12 + height: 1939743 + timestamp: 1615378134 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -17990,185 +27066,117 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GenerateDepositAddressR_data' + $ref: '#/components/schemas/GetBlockDetailsByBlockHeightR_data' required: - apiVersion - data - requestId type: object - GenerateDepositAddressE401: + GetBlockDetailsByBlockHeightE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GenerateDepositAddressE400: + GetBlockDetailsByBlockHeightE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GenerateDepositAddressE403: + GetBlockDetailsByBlockHeightE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/WalletAsAServiceDepositAddressesLimitReached' - type: object - WalletAsAServiceDepositAddressesLimitReached: - description: wallet_as_a_service_deposit_addresses_limit_reached - properties: - code: - description: Specifies an error code, e.g. error 404. - example: wallet_as_a_service_deposit_addresses_limit_reached - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: You have reached the maximum Deposit Addresses count which is currently - {depositAddressesCount}. Please, upgrade your plan in order to have a - higher Deposit Address count. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message type: object - GetZilliqaTransactionDetailsByTransactionIDRI: + GetXRPRippleBlockDetailsByBlockHeightRI: example: - gasLimit: 552020 - gasUsed: 24673 - transactionStatus: "0" - recipients: - - amount: "0" - address: zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2 - - amount: "0" - address: zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2 - fee: - amount: "0.000235" - unit: ZIL - minedInBlockHeight: 1250207 - minedInBlockHash: 0x5ba627aed1ff0f5480694e994ee03a6ec7b5a6fa96be899c84d52725f9830891 - transactionIndex: 0 - nonce: 13 - senders: - - amount: "0" - address: zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83 - - amount: "0" - address: zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83 - gasPrice: 2994782927 - timestamp: 1582202940 + blockHash: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 + totalFees: + amount: "0.004487" + unit: XRP + previousBlockHash: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e + nextBlockHash: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a + blockHeight: 15886156 + totalCoins: + amount: "22.0012" + unit: Drops + transactionsCount: 0 + timestamp: 1616069434 properties: - fee: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_fee' - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 552020 - type: integer - gasPrice: - description: Defines the price of the gas. - example: 2994782927 - type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 24673 - type: integer - minedInBlockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 0x5ba627aed1ff0f5480694e994ee03a6ec7b5a6fa96be899c84d52725f9830891 + blockHash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 type: string - minedInBlockHeight: + blockHeight: description: Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block". - example: 1250207 - type: integer - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 13 + example: 15886156 type: integer - recipients: - description: Represents an object of addresses that receive the transactions. - items: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_senders' - type: array + nextBlockHash: + description: Represents the hash of the next block. When this is the last + block of the blockchain this value will be an empty string. + example: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a + type: string + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e + type: string timestamp: description: Defines the exact date/time when this block was mined in Unix Timestamp. - example: 1582202940 + example: 1616069434 type: integer - transactionIndex: - description: Defines the numeric representation of the transaction index. + totalCoins: + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightRI_totalCoins' + totalFees: + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightRI_totalFees' + transactionsCount: + description: Represents the total number of all transactions as part of + this block. example: 0 type: integer - transactionStatus: - description: Defines the status of the transaction, whether it is e.g. pending - or complete. - example: "0" - type: string required: - - fee - - gasLimit - - gasPrice - - gasUsed - - minedInBlockHash - - minedInBlockHeight - - nonce - - recipients - - senders + - blockHash + - blockHeight + - nextBlockHash + - previousBlockHash - timestamp - - transactionIndex - - transactionStatus + - totalCoins + - totalFees + - transactionsCount type: object - GetZilliqaTransactionDetailsByTransactionIDR: + GetXRPRippleBlockDetailsByBlockHeightR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - gasLimit: 552020 - gasUsed: 24673 - transactionStatus: "0" - recipients: - - amount: "0" - address: zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2 - - amount: "0" - address: zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2 - fee: - amount: "0.000235" - unit: ZIL - minedInBlockHeight: 1250207 - minedInBlockHash: 0x5ba627aed1ff0f5480694e994ee03a6ec7b5a6fa96be899c84d52725f9830891 - transactionIndex: 0 - nonce: 13 - senders: - - amount: "0" - address: zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83 - - amount: "0" - address: zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83 - gasPrice: 2994782927 - timestamp: 1582202940 + blockHash: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 + totalFees: + amount: "0.004487" + unit: XRP + previousBlockHash: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e + nextBlockHash: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a + blockHeight: 15886156 + totalCoins: + amount: "22.0012" + unit: Drops + transactionsCount: 0 + timestamp: 1616069434 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -18180,514 +27188,215 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDR_data' + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightR_data' required: - apiVersion - data - requestId type: object - GetZilliqaTransactionDetailsByTransactionIDE401: + GetXRPRippleBlockDetailsByBlockHeightE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetZilliqaTransactionDetailsByTransactionIDE400: + GetXRPRippleBlockDetailsByBlockHeightE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetZilliqaTransactionDetailsByTransactionIDE403: + GetXRPRippleBlockDetailsByBlockHeightE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListConfirmedTransactionsByAddressRIBSB: - description: Bitcoin + ListUnconfirmedOmniTransactionsByPropertyIDRI: properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 125 - type: integer - vSize: - description: Defines the transaction's virtual size. - example: 166 - type: integer - version: - description: Defines the version of the transaction. + amount: + description: Defines the amount of the sent tokens. + example: "9.146383" + type: string + divisible: + description: "Defines whether the attribute can be divisible or not, as\ + \ boolean. E.g., if it is \"true\", the attribute is divisible." + example: true + type: boolean + mined: + description: "Defines whether the transaction has been mined or not, as\ + \ boolean. E.g. if set to \"true\", it means the transaction is mined." + example: true + type: boolean + propertyId: + description: Represents the identifier of the tokens to send. example: 2 type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - ListConfirmedTransactionsByAddressRIBSBC: - description: Bitcoin Cash - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 248 - type: integer - version: - description: Represents the transaction's version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. + recipients: + description: Represents an object of addresses that receive the transactions. items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBC_vin' + $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_recipients' type: array - vout: - description: Represents the transaction outputs. + senders: + description: Represents an object of addresses that provide the funds. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vout' + $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidRI_senders' type: array - required: - - locktime - - size - - version - - vin - type: object - ListConfirmedTransactionsByAddressRIBSL: - description: Litecoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 2 - type: integer - size: - description: Represents the total size of this transaction. - example: 223 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 141 - type: integer - version: - description: Represents the transaction's version number. - example: 2 + sent: + description: "Defines whether the transaction has been sent or not, as boolean.\ + \ E.g. if set to \"true\", it means the transaction is sent." + example: false + type: boolean + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1616487033 type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSL_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - ListConfirmedTransactionsByAddressRIBSD: - description: Dogecoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 37ed9145565ffc8c51df7370bd82d546d892973f15cb6c974e7b6b52f1bf5aa9 + type: string + type: + description: Defines the type of the transaction as a string. + example: Simple Send + type: string + typeIint: + description: Defines the type of the transaction as a number. example: 0 type: integer - size: - description: Represents the total size of this transaction. - example: 266 - type: integer version: - description: Represents the transaction's version number. - example: 3 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListConfirmedTransactionsByAddressRIBSD2: - description: Dash - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. + description: Defines the specific version. example: 0 type: integer - size: - description: Represents the total size of this transaction. - example: 196 - type: integer - version: - description: Represents the transaction's version number. - example: 3 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2_vout' - type: array + fee: + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_fee' required: - - locktime - - size + - amount + - divisible + - fee + - mined + - propertyId + - recipients + - senders + - sent + - timestamp + - transactionId + - type + - typeIint - version - - vin - - vout - type: object - ListConfirmedTransactionsByAddressRIBSEC: - description: Ethereum Classic - properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" - type: string - gasPrice: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSEC_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "21000" - type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer - transactionStatus: - description: String representation of the transaction status - example: 0x1 - type: string - required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus - type: object - ListConfirmedTransactionsByAddressRIBSE: - description: Ethereum - properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "552020" - type: string - gasPrice: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSE_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "24673" - type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 13 - type: integer - transactionStatus: - description: String representation of the transaction status - example: 0x1 - type: string - required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus - type: object - ListConfirmedTransactionsByAddressRIBSBSC: - description: Binance Smart Chain - properties: - contract: - description: Represents the specific transaction contract. - example: 0x0000000000000000000000000000000000001000 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" - type: string - gasPrice: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "21000" - type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 25341 - type: integer - transactionStatus: - description: String representation of the transaction status - example: 0x1 - type: string - required: - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus type: object - ListConfirmedTransactionsByAddressRIBSZ: - description: Zcash + ListUnconfirmedOmniTransactionsByPropertyIDR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. - example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 - type: string - expiryHeight: - description: Represents a block height after which the transaction will - expire. - example: 0 - type: integer - joinSplitPubKey: - description: Represents an encoding of a JoinSplitSig public validating - key. - example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 - type: string - joinSplitSig: - description: Is used to sign transactions that contain at least one JoinSplit - description. - example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - overwintered: - description: '"Overwinter" is the network upgrade for the Zcash blockchain.' - example: true - type: boolean - size: - description: Represents the total size of this transaction. - example: 234 - type: integer - vJoinSplit: - description: Represents a sequence of JoinSplit descriptions using BCTV14 - proofs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vJoinSplit' - type: array - vShieldedOutput: - description: Object Array representation of transaction output descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' - type: array - vShieldedSpend: - description: Object Array representation of transaction spend descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' - type: array - valueBalance: - description: Defines the transaction value balance. - example: "0" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - version: - description: Defines the version of the transaction. - example: 1 - type: integer - versionGroupId: - description: Represents the transaction version group ID. - example: 0x892f2085 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' - type: array + data: + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByPropertyIDR_data' required: - - bindingSig - - expiryHeight - - joinSplitPubKey - - joinSplitSig - - locktime - - overwintered - - size - - vJoinSplit - - vShieldedOutput - - vShieldedSpend - - valueBalance - - version - - versionGroupId - - vin - - vout + - apiVersion + - data + - requestId type: object - ListConfirmedTransactionsByAddressRI: + ListUnconfirmedOmniTransactionsByPropertyIDE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListUnconfirmedOmniTransactionsByPropertyIDE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListUnconfirmedOmniTransactionsByPropertyIDE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListDepositAddressesRI: properties: - index: - description: Represents the index position of the transaction in the block. - example: 1 - type: integer - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + address: + description: Specifies the specific address's unique string value. + example: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 1903849 + confirmedBalance: + $ref: '#/components/schemas/ListDepositAddressesRI_confirmedBalance' + createdTimestamp: + description: Defines the specific UNIX time when the deposit address was + created. + example: 346658753 type: integer - recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_recipients' - type: array - senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. + fungibleTokens: + description: Represents fungible tokens'es detailed information items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_senders' + $ref: '#/components/schemas/ListDepositAddressesRI_fungibleTokens' type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1582202940 - type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + index: + description: Represents the index of the address in the wallet. + example: "1" type: string - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + label: + description: Represents a custom tag that customers can set up for their + Wallets and addresses. E.g. custom label named "Special addresses". + example: yourStringHere type: string - fee: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRI_fee' - blockchainSpecific: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBS' + nonFungibleTokens: + description: Represents non-fungible tokens'es detailed information. + items: + $ref: '#/components/schemas/ListDepositAddressesRI_nonFungibleTokens' + type: array required: - - blockchainSpecific - - fee + - address + - confirmedBalance + - createdTimestamp + - fungibleTokens - index - - recipients - - senders - - timestamp - - transactionHash - - transactionId - type: object - ListConfirmedTransactionsByAddressRIBS: - oneOf: - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB' - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBC' - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSL' - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD' - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2' - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSEC' - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSE' - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC' - - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ' + - label + - nonFungibleTokens type: object - ListConfirmedTransactionsByAddressR: + ListDepositAddressesR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -18699,125 +27408,171 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressR_data' + $ref: '#/components/schemas/ListDepositAddressesR_data' required: - apiVersion - data - requestId type: object - ListConfirmedTransactionsByAddressE401: + ListDepositAddressesE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListConfirmedTransactionsByAddressE400: + ListDepositAddressesE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListConfirmedTransactionsByAddressE403: + ListDepositAddressesE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListXRPRippleTransactionsByAddressRI: + GetZilliqaBlockDetailsByBlockHeightRI: + example: + difficulty: "41.375" + blockHash: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 + Block 1244297 Block 1244299 + gasLimit: 550000 + gasUsed: 0 + previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 + nextBlockHash: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 + Block 1244298 Block 1244300 + dsDifficulty: "48.625" + dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + transactionsCount: 1 + dsBlock: 12443 + microBlocks: + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1]\ + \ 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1]\ + \ 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + timestamp: 1616069434 properties: - destinationTag: - example: 3999472835 - type: integer - index: - description: Represents the index position of the transaction in the block. - example: 3 + blockHash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 + Block 1244297 Block 1244299 + type: string + difficulty: + description: Defines how difficult it is for a specific miner to mine the + block. + example: "41.375" + type: string + dsBlock: + description: Represents the Directory Service block which contains metadata + about the miners who participate in the consensus protocol. + example: 12443 type: integer - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 3dff3ab3697a0a3116062a92a499dc7b5c9c777b2035f79bb906894972d4573d + dsDifficulty: + description: Defines how difficult it is to mine the dsBlocks. + example: "48.625" type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 15949067 + dsLeader: + description: Represents a part of the DS Committee which leads the consensus + protocol for the epoch. + example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + type: string + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 type: integer - recipients: - description: Represents an object of addresses that receive the transactions. - items: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 0 + type: integer + microBlocks: items: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_senders' + description: Micro blocks are validated simultaneously with other smaller + components called "shards" in order to form the final txBlock. + example: "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + type: string type: array - sequence: - description: Defines the transaction input's sequence as an integer, which - is is used when transactions are replaced with newer versions before LockTime. - example: 39673 - type: integer - status: - description: Defines the status of the transaction. - example: tesSUCCESS + nextBlockHash: + description: Defines the hash of the next block from the specific blockchain. + example: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 + Block 1244298 Block 1244300 + type: string + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 type: string timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 4256894 + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1616069434 + type: integer + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 1 type: integer - transactionHash: - description: Represents the hash of the XRP transaction. - example: 33684d38ccf56f5b10a25e60b11b251abe6288f41aadd03c7596dced895b282a - type: string - type: - description: Specifies the type of the transaction. - example: OfferCreate - type: string - fee: - $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_fee' - offer: - $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_offer' - receive: - $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_receive' - value: - $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressRI_value' required: - - fee - - index - - minedInBlockHash - - minedInBlockHeight - - offer - - receive - - recipients - - senders - - sequence - - status + - blockHash + - difficulty + - dsBlock + - dsDifficulty + - dsLeader + - gasLimit + - gasUsed + - microBlocks + - nextBlockHash + - previousBlockHash - timestamp - - transactionHash - - type - - value + - transactionsCount type: object - ListXRPRippleTransactionsByAddressR: + GetZilliqaBlockDetailsByBlockHeightR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + difficulty: "41.375" + blockHash: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 + Block 1244297 Block 1244299 + gasLimit: 550000 + gasUsed: 0 + previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 + nextBlockHash: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 + Block 1244298 Block 1244300 + dsDifficulty: "48.625" + dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + transactionsCount: 1 + dsBlock: 12443 + microBlocks: + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + timestamp: 1616069434 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -18829,444 +27584,636 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHeightR_data' + required: + - apiVersion + - data + - requestId + type: object + GetZilliqaBlockDetailsByBlockHeightE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetZilliqaBlockDetailsByBlockHeightE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetZilliqaBlockDetailsByBlockHeightE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetBlockDetailsByBlockHashRIBSB: + description: Bitcoin + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 53598 + type: integer + bits: + description: "A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and\ + \ is the same as microbitcoin (μBTC). Bits have two-decimal precision." + example: "420773839" + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000003ddecb747af741625d6 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 7b52cc9ce137b92365eb4d0f8a708da9e3ba199aa422f96352a0c0c87221251b + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 2840 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 545259520 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" + type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 12412 + type: integer + required: + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize + - version + - versionHex + - weight + type: object + GetBlockDetailsByBlockHashRIBSE: + description: Ethereum + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 53598 + type: integer + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd983010203844765746887676f312e342e328777696e646f7773 + type: string + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "7999992" + type: string + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "21000" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 12 + type: integer + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "1088214928417257646845" + type: string + uncles: + items: + description: "Represents the uncles of the blocks, which occur when more\ + \ than one child block is created from a parent block." + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + type: array + required: + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty + - uncles + type: object + GetBlockDetailsByBlockHashRIBSEC: + description: Ethereum Classic + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 53598 + type: integer + extraData: + description: Represents any data that can be included by the miner in the + block. + type: string + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "7999992" + type: string + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "21000" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 12 + type: integer + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "1088214928417257646845" + type: string + uncles: + items: + description: "Represents the uncles of the blocks, which occur when more\ + \ than one child block is created from a parent block." + type: string + type: array + required: + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty + - uncles + type: object + GetBlockDetailsByBlockHashRIBSBC: + description: Bitcoin Cash + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 53598 + type: integer + bits: + description: "A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and\ + \ is the same as microbitcoin (μBTC). Bits have two-decimal precision." + example: 1c011c75 + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000000044d6888a7ec8caf0ce + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 14add5ff6fb9dfc58767228b658a48f85d988a1cc49151238f9cef85b53e54d2 + type: string + version: + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" type: string - data: - $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressR_data' required: - - apiVersion - - data - - requestId - type: object - ListXRPRippleTransactionsByAddressE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListXRPRippleTransactionsByAddressE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListXRPRippleTransactionsByAddressE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + - versionHex type: object - ListUnconfirmedOmniTransactionsByAddressRI: + GetBlockDetailsByBlockHashRIBSL: + description: Litecoin properties: - amount: - description: Defines the amount of the sent tokens. - example: "14.915785" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - divisible: - description: Defines whether the attribute can be divisible or not, as boolean. - E.g., if it is "true", the attribute is divisible. - example: true - type: boolean - mined: - description: Defines whether the transaction has been mined or not, as boolean. - E.g. if set to "true", it means the transaction is mined. - example: true - type: boolean - propertyId: - description: Represents the identifier of the tokens to send. - example: 2 - type: integer - recipients: - description: Represents an object of addresses that receive the transactions. - items: - $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_senders' - type: array - sent: - description: Defines whether the transaction has been sent or not, as boolean. - E.g. if set to "true", it means the transaction is sent. - example: false - type: boolean - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1616429665 + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 53598 type: integer - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: b3e76370a1ccdf5549a3654f1d14be27bebb4a834a81b489fcc99d057ada3dd1 + bits: + description: Represents a specific sub-unit of Litecoin. Bits have two-decimal + precision. + example: 191670a9 type: string - type: - description: Defines the type of the transaction as a string. - example: Simple Send + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000004f7606f3d619a200dc2d type: string - typeInt: - description: Defines the type of the transaction as a number. - example: 0 + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 95439d11e918c9fd9a901dcf22203d60f538d660ae74efb7cb566825420fd3b7 + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 895429 type: integer version: - description: Defines the specific version. - example: 0 + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" + type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 37248 type: integer - fee: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_fee' required: - - amount - - divisible - - fee - - mined - - propertyId - - recipients - - senders - - sent - - timestamp - - transactionId - - type - - typeInt + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize - version + - versionHex + - weight type: object - ListUnconfirmedOmniTransactionsByAddressR: - example: - apiVersion: "2.0" - data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHashRIBSD: + description: Dogecoin properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + size: + description: Represents the total size of the block in Bytes. + example: 53598 + type: integer + bits: + description: Represents a specific sub-unit of Doge. Bits have two-decimal + precision. + example: 191670a9 type: string - data: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressR_data' + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000004f7606f3d619a200dc2d + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 95439d11e918c9fd9a901dcf22203d60f538d660ae74efb7cb566825420fd3b7 + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 895429 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 37248 + type: integer required: - - apiVersion - - data - - requestId - type: object - ListUnconfirmedOmniTransactionsByAddressE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListUnconfirmedOmniTransactionsByAddressE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListUnconfirmedOmniTransactionsByAddressE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize + - version + - weight type: object - CreateCoinsTransactionRequestFromWalletRI: - example: - feePriority: standard - note: yourAdditionalInformationhere - totalTransactionAmount: "0.001" - transactionRequestStatus: created - recipients: - - amount: "0.00123" - address: mmd963W1fECjLyaDCHcioSCZYHkRwjkhtr - - amount: "0.00123" - address: mmd963W1fECjLyaDCHcioSCZYHkRwjkhtr - transactionRequestId: 6017dd02a309213863be9e55 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com + GetBlockDetailsByBlockHashRIBSD2: + description: Dash properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey - type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". - enum: - - slow - - standard - - fast - example: standard + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" type: string - note: - description: Represents an optional note to add a free text in, explaining - or providing additional detail on the transaction request. - example: yourAdditionalInformationhere + size: + description: Represents the total size of the block in Bytes. + example: 53598 + type: integer + bits: + description: Represents a specific sub-unit of Dash. Bits have two-decimal + precision. + example: 191b7fd9 type: string - recipients: - description: Defines the destination of the transaction, whether it is incoming - or outgoing. - items: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletRI_recipients' - type: array - totalTransactionAmount: - description: Represents the specific amount of the transaction. - example: "0.001" + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000016b0ef9202fae046555d type: string - transactionRequestId: - description: Represents a unique identifier of the transaction request (the - request sent to make a transaction), which helps in identifying which - callback and which `referenceId` concern that specific transaction request. - example: 6017dd02a309213863be9e55 + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 14add5ff6fb9dfc58767228b658a48f85d988a1cc49151238f9cef85b53e54d2 type: string - transactionRequestStatus: - description: Defines the status of the transaction, e.g. "created, "await_approval", - "pending", "prepared", "signed", "broadcasted", "success", "failed", "rejected", - mined". - enum: - - created - - await-approval - - pending - - prepared - - signed - - broadcasted - - success - - failed - - rejected - - mined - example: created + version: + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" type: string required: - - feePriority - - recipients - - totalTransactionAmount - - transactionRequestId - - transactionRequestStatus + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + - versionHex type: object - CreateCoinsTransactionRequestFromWalletR: - example: - apiVersion: "2.0" - data: - item: - feePriority: standard - note: yourAdditionalInformationhere - totalTransactionAmount: "0.001" - transactionRequestStatus: created - recipients: - - amount: "0.00123" - address: mmd963W1fECjLyaDCHcioSCZYHkRwjkhtr - - amount: "0.00123" - address: mmd963W1fECjLyaDCHcioSCZYHkRwjkhtr - transactionRequestId: 6017dd02a309213863be9e55 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHashRIBSBSC: + description: Binance Smart Chain properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + size: + description: Represents the total size of the block in Bytes. + example: 53598 + type: integer + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd883010101846765746888676f312e31352e35856c696e75780000001600553d38bc0fb8bfd6358840caee66f735eefb01fca9183e9de74aa9c582ace98b79996ddcbd32d3148e2b931bd1372a78080988a2ca9f2d0a81ca19df0354534dfed700 type: string - data: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletR_data' - required: - - apiVersion - - data - - requestId - type: object - CreateCoinsTransactionRequestFromWalletE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - CreateCoinsTransactionRequestFromWalletE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - CreateCoinsTransactionRequestFromWalletE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - type: object - WalletAsAServiceWalletBalanceNotEnough: - description: wallet_as_a_service_wallet_balance_not_enough - properties: - code: - description: Specifies an error code, e.g. error 404. - example: wallet_as_a_service_wallet_balance_not_enough + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "21000" type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Your Wallet balance is insufficient to complete the action. Please, - deposit funds to your Wallet and try again. + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "21000" type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - CreateCoinsTransactionRequestFromWalletE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/WalletAsAServiceWalletBalanceNotEnough' - - $ref: '#/components/schemas/WalletAsAServiceNoDepositAddressesFound' - type: object - WalletAsAServiceNoDepositAddressesFound: - description: wallet_as_a_service_no_deposit_addresses_found - properties: - code: - description: Specifies an error code, e.g. error 404. - example: wallet_as_a_service_no_deposit_addresses_found + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 2 + type: integer + sha3Uncles: + description: Defines the combined hash of all uncles for a given paren + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Please first create a deposit address for the specific blockchain - and network, in order to be able to make transactions. + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "24670186" type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array required: - - code - - message + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty type: object - ListZilliqaTransactionsByAddressRI: + GetBlockDetailsByBlockHashRIBSZ: + description: Zcash properties: - fee: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_fee' - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 - type: integer - gasPrice: - description: Defines the price of the gas. - example: 2994782927 + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + Proof of Work. + example: "1535290446" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 53598 type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 24673 + bits: + description: Represents a specific sub-unit of Zcash. Bits have two-decimal + precision + example: "524517883" + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000000000000000262b072797 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 + type: string + version: + description: Represents the block version number. + example: 4 type: integer - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 0x7c18901ff8d5af3cebde1c9128c9b20cb046d73fba23d45951f5619b61679c9b + required: + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + type: object + GetBlockDetailsByBlockHashRI: + example: + previousBlockHash: 00000000844434fd86a630ba8e29503d5396a2b6c4003d69bf0a08d96169d4cd + nextBlockHash: 0000000000000003b08ca90b701da447fb3e7c5c6b43acd33a5e4062fe98dea5 + blockchainSpecific: null + hash: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c + transactionsCount: 145 + height: 1941208 + timestamp: 1615378134 + properties: + hash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c type: string - minedInBlockHeight: + height: description: Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block". - example: 1250283 - type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: 13 + example: 1941208 type: integer - recipients: - description: Defines an object array of the transaction recipients. - items: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_senders' - type: array + nextBlockHash: + description: Represents the hash of the next block. When this is the last + block of the blockchain this value will be an empty string. + example: 0000000000000003b08ca90b701da447fb3e7c5c6b43acd33a5e4062fe98dea5 + type: string + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 00000000844434fd86a630ba8e29503d5396a2b6c4003d69bf0a08d96169d4cd + type: string timestamp: description: Defines the exact date/time when this block was mined in Unix Timestamp. - example: 1582202940 + example: 1615378134 type: integer - transactionHash: - description: Represents the hash of the transaction, which is its unique - identifier. - example: 0xf4a847a1489a043ee509d5d7df48f2bf7ba1b15354ed14600b035ff2f7670203 - type: string - transactionIndex: - description: Defines the numeric representation of the transaction index. - example: 0 + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 145 type: integer - transactionStatus: - description: Defines the status of the transaction, whether it is e.g. pending - or complete. - example: "2" - type: string + blockchainSpecific: + $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBS' required: - - fee - - gasLimit - - gasPrice - - gasUsed - - minedInBlockHash - - minedInBlockHeight - - nonce - - recipients - - senders + - blockchainSpecific + - hash + - height + - nextBlockHash + - previousBlockHash - timestamp - - transactionHash - - transactionIndex - - transactionStatus + - transactionsCount type: object - ListZilliqaTransactionsByAddressR: + GetBlockDetailsByBlockHashRIBS: + oneOf: + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSB' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSE' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSEC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSBC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSL' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSD' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSD2' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSBSC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSZ' + type: object + GetBlockDetailsByBlockHashR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + previousBlockHash: 00000000844434fd86a630ba8e29503d5396a2b6c4003d69bf0a08d96169d4cd + nextBlockHash: 0000000000000003b08ca90b701da447fb3e7c5c6b43acd33a5e4062fe98dea5 + blockchainSpecific: null + hash: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c + transactionsCount: 145 + height: 1941208 + timestamp: 1615378134 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -19278,465 +28225,117 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressR_data' + $ref: '#/components/schemas/GetBlockDetailsByBlockHashR_data' required: - apiVersion - data - requestId type: object - ListZilliqaTransactionsByAddressE401: + GetBlockDetailsByBlockHashE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListZilliqaTransactionsByAddressE400: + GetBlockDetailsByBlockHashE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListZilliqaTransactionsByAddressE403: + GetBlockDetailsByBlockHashE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListUnconfirmedTransactionsByAddressRIBSB: - description: Bitcoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 222 - type: integer - vSize: - description: Defines the transaction's virtual size. - example: 222 - type: integer - version: - description: Defines the version of the transaction. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSB_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSB_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - ListUnconfirmedTransactionsByAddressRIBSBC: - description: Bitcoin Cash - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 123 - type: integer - version: - description: Represents the transaction's version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSBC_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSBC_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListUnconfirmedTransactionsByAddressRIBSL: - description: Litecoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 2 - type: integer - size: - description: Represents the total size of this transaction. - example: 223 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 141 - type: integer - version: - description: Represents the transaction's version number. - example: 2 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSL_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSL_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - ListUnconfirmedTransactionsByAddressRIBSD: - description: Dogecoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 233 - type: integer - version: - description: Numeric representation of the transaction version - example: 2 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListUnconfirmedTransactionsByAddressRIBSD2: - description: Dash - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 196 - type: integer - version: - description: Represents the transaction's version number. - example: 3 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD2_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD2_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListUnconfirmedTransactionsByAddressRIBSE: - description: Ethereum + GetXRPRippleBlockDetailsByBlockHashRI: + example: + blockHash: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 + totalFees: + amount: "0.004487" + unit: XRP + previousBlockHash: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e + nextBlockHash: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a + blockHeight: 15886156 + totalCoins: + amount: "22.0012" + unit: Drops + transactionsCount: 0 + timestamp: 1616069434 properties: - fee: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSE_fee' - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "552020" - type: string - gasPrice: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSE_gasPrice' - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + blockHash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 12 + blockHeight: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 15886156 type: integer - transactionStatus: - description: String representation of the transaction status - example: 0x1 + nextBlockHash: + description: Represents the hash of the next block. When this is the last + block of the blockchain this value will be an empty string. + example: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a type: string - required: - - fee - - gasLimit - - gasPrice - - inputData - - nonce - - transactionStatus - type: object - ListUnconfirmedTransactionsByAddressRIBSEC: - description: Ethereum Classic - properties: - fee: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSEC_fee' - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e type: string - gasPrice: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSEC_gasPrice' - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1616069434 type: integer - transactionStatus: - description: String representation of the transaction status - example: 0x1 - type: string - required: - - fee - - gasLimit - - gasPrice - - nonce - - transactionStatus - type: object - ListUnconfirmedTransactionsByAddressRIBSZ: - description: Zcash - properties: - bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. - example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 - type: string - expiryHeight: - description: Represents a block height after which the transaction will - expire. + totalCoins: + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashRI_totalCoins' + totalFees: + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightRI_totalFees' + transactionsCount: + description: Represents the total number of all transactions as part of + this block. example: 0 type: integer - joinSplitPubKey: - description: Represents an encoding of a JoinSplitSig public validating - key. - example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 - type: string - joinSplitSig: - description: Is used to sign transactions that contain at least one JoinSplit - description. - example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a - type: string - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - overwintered: - description: '"Overwinter" is the network upgrade for the Zcash blockchain.' - example: true - type: boolean - size: - description: Represents the total size of this transaction. - example: 234 - type: integer - vJoinSplit: - description: Represents a sequence of JoinSplit descriptions using BCTV14 - proofs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vJoinSplit' - type: array - vShieldedOutput: - description: Object Array representation of transaction output descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' - type: array - vShieldedSpend: - description: Object Array representation of transaction spend descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' - type: array - valueBalance: - description: Defines the transaction value balance. - example: "0" - type: string - version: - description: Defines the version of the transaction. - example: 1 - type: integer - versionGroupId: - description: Represents the transaction version group ID. - example: 0x892f2085 - type: string - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' - type: array - required: - - bindingSig - - expiryHeight - - joinSplitPubKey - - joinSplitSig - - locktime - - overwintered - - size - - vJoinSplit - - vShieldedOutput - - vShieldedSpend - - valueBalance - - version - - versionGroupId - - vin - - vout - type: object - ListUnconfirmedTransactionsByAddressRIBSBSC: - description: Binance Smart Chain - properties: - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" - type: string - gasPrice: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC_gasPrice' - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 25341 - type: integer - transactionStatus: - description: String representation of the transaction status - example: 0x1 - type: string - required: - - gasLimit - - gasPrice - - inputData - - nonce - - transactionStatus - type: object - ListUnconfirmedTransactionsByAddressRI: - properties: - recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI_recipients' - type: array - senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI_senders' - type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1633518942013 - type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: 3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d - type: string - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d - type: string - blockchainSpecific: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBS' - required: - - blockchainSpecific - - recipients - - senders + required: + - blockHash + - blockHeight + - nextBlockHash + - previousBlockHash - timestamp - - transactionHash - - transactionId - type: object - ListUnconfirmedTransactionsByAddressRIBS: - oneOf: - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSB' - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSBC' - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSL' - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD' - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSD2' - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSE' - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSEC' - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSZ' - - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSBSC' + - totalCoins + - totalFees + - transactionsCount type: object - ListUnconfirmedTransactionsByAddressR: + GetXRPRippleBlockDetailsByBlockHashR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + blockHash: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 + totalFees: + amount: "0.004487" + unit: XRP + previousBlockHash: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e + nextBlockHash: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a + blockHeight: 15886156 + totalCoins: + amount: "22.0012" + unit: Drops + transactionsCount: 0 + timestamp: 1616069434 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -19748,462 +28347,177 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressR_data' + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashR_data' required: - apiVersion - data - requestId type: object - ListUnconfirmedTransactionsByAddressE401: + GetXRPRippleBlockDetailsByBlockHashE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListUnconfirmedTransactionsByAddressE400: + GetXRPRippleBlockDetailsByBlockHashE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListUnconfirmedTransactionsByAddressE403: + GetXRPRippleBlockDetailsByBlockHashE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListAllUnconfirmedTransactionsRIBSB: - description: Bitcoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 222 - type: integer - vSize: - description: Defines the transaction's virtual size. - example: 222 - type: integer - version: - description: Defines the version of the transaction. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSB_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRIBSB_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - ListAllUnconfirmedTransactionsRIBSBC: - description: Bitcoin Cash - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 123 - type: integer - version: - description: Represents the transaction's version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSBC_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSBC_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListAllUnconfirmedTransactionsRIBSL: - description: Litecoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1 - type: integer - size: - description: Represents the total size of this transaction. - example: 223 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 141 - type: integer - version: - description: Represents the transaction's version number. - example: 2 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSL_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - ListAllUnconfirmedTransactionsRIBSD: - description: Dogecoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 233 - type: integer - version: - description: Defines the version of the transaction. - example: 2 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSD_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListAllUnconfirmedTransactionsRIBSD2: - description: Dash - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 196 - type: integer - version: - description: Represents the transaction's version number. - example: 3 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSD2_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListAllUnconfirmedTransactionsRIBSE: - description: Ethereum - properties: - fee: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSE_fee' - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "552020" - type: string - gasPrice: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSE_gasPrice' - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 12 - type: integer - transactionStatus: - description: Defines the transaction status. - example: 0x1 - type: string - required: - - fee - - gasLimit - - gasPrice - - inputData - - nonce - - transactionStatus - type: object - ListAllUnconfirmedTransactionsRIBSEC: - description: Ethereum Classic - properties: + GetOmniTransactionDetailsByTransactionIDTxidRI: + example: + amount: "14.915785" + divisible: true fee: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSEC_fee' - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" - type: string - gasPrice: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSEC_gasPrice' - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer - transactionStatus: - description: Defines the transaction status. - example: 0x1 - type: string - required: - - fee - - gasLimit - - gasPrice - - nonce - - transactionStatus - type: object - ListAllUnconfirmedTransactionsRIBSZ: - description: Zcash + amount: "0.0001" + unit: BTC + minedInBlockHash: 0000000049696aca62d2ea7db9e71aa4f1116ede1eb55f9932e758cc586eb8b6 + type: Simple Send + version: 0 + transactionId: d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb + valid: true + typeInt: 0 + recipients: + - amount: "0.1" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + - amount: "0.1" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + minedInBlockHeight: 1941239 + propertyId: 2 + senders: + - amount: "0.00000546" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + - amount: "0.00000546" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + timestamp: 1616423278 properties: - bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. - example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 - type: string - expiryHeight: - description: Represents a block height after which the transaction will - expire. - example: 0 - type: integer - joinSplitPubKey: - description: Represents an encoding of a JoinSplitSig public validating - key. - example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 - type: string - joinSplitSig: - description: Is used to sign transactions that contain at least one JoinSplit - description. - example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + amount: + description: Defines the amount of the sent tokens. + example: "14.915785" type: string - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - overwintered: - description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + divisible: + description: "Defines whether the attribute can be divisible or not, as\ + \ boolean. E.g., if it is \"true\", the attribute is divisible." example: true type: boolean - size: - description: Represents the total size of this transaction. - example: 234 - type: integer - vJoinSplit: - description: Represents a sequence of JoinSplit descriptions using BCTV14 - proofs. - items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vJoinSplit' - type: array - vShieldedOutput: - description: Object Array representation of transaction output descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' - type: array - vShieldedSpend: - description: Object Array representation of transaction spend descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' - type: array - valueBalance: - description: Defines the transaction value balance. - example: "0" + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 0000000049696aca62d2ea7db9e71aa4f1116ede1eb55f9932e758cc586eb8b6 type: string - version: - description: Defines the version of the transaction. - example: 1 + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1941239 type: integer - versionGroupId: - description: Represents the transaction version group ID. - example: 0x892f2085 - type: string - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' - type: array - required: - - bindingSig - - expiryHeight - - joinSplitPubKey - - joinSplitSig - - locktime - - overwintered - - size - - vJoinSplit - - vShieldedOutput - - vShieldedSpend - - valueBalance - - version - - versionGroupId - - vin - - vout - type: object - ListAllUnconfirmedTransactionsRIBSBSC: - description: Binance Smart Chain - properties: - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" - type: string - gasPrice: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC_gasPrice' - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 25341 + propertyId: + description: Represents the identifier of the tokens to send. + example: 2 type: integer - transactionStatus: - description: Defines the transaction status. - example: 0x1 - type: string - required: - - gasLimit - - gasPrice - - inputData - - nonce - - transactionStatus - type: object - ListAllUnconfirmedTransactionsRI: - properties: recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. + description: Represents an object of addresses that receive the transactions. items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI_recipients' + $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_recipients' type: array senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. + description: Represents an object of addresses that provide the funds. items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI_senders' + $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidRI_senders' type: array timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1633518942013 + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1616423278 type: integer - transactionHash: - description: String representation of the transaction hash - example: aac825d18dfe6cba2eb22532f206fccbaf3b08c3c1457faac9568c1a4a6dfc00 - type: string transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb type: string - blockchainSpecific: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBS' + type: + description: Defines the type of the transaction as a string. + example: Simple Send + type: string + typeInt: + description: Defines the type of the transaction as a number. + example: 0 + type: integer + valid: + description: "Defines whether the transaction is valid or not, as boolean.\ + \ E.g. if set to \"true\", it means the transaction is valid." + example: true + type: boolean + version: + description: Defines the specific version. + example: 0 + type: integer + fee: + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_fee' required: - - blockchainSpecific + - amount + - divisible + - fee + - minedInBlockHash + - minedInBlockHeight + - propertyId - recipients - senders - timestamp - - transactionHash - transactionId + - type + - typeInt + - valid + - version type: object - ListAllUnconfirmedTransactionsRIBS: - oneOf: - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSB' - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSBC' - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSL' - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSD' - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSD2' - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSE' - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSEC' - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSZ' - - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsRIBSBSC' - type: object - ListAllUnconfirmedTransactionsR: + GetOmniTransactionDetailsByTransactionIDTxidR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + amount: "14.915785" + divisible: true + fee: + amount: "0.0001" + unit: BTC + minedInBlockHash: 0000000049696aca62d2ea7db9e71aa4f1116ede1eb55f9932e758cc586eb8b6 + type: Simple Send + version: 0 + transactionId: d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb + valid: true + typeInt: 0 + recipients: + - amount: "0.1" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + - amount: "0.1" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + minedInBlockHeight: 1941239 + propertyId: 2 + senders: + - amount: "0.00000546" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + - amount: "0.00000546" + address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + timestamp: 1616423278 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -20215,515 +28529,168 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsR_data' + $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidR_data' required: - apiVersion - data - requestId type: object - ListAllUnconfirmedTransactionsE401: + GetOmniTransactionDetailsByTransactionIDTxidE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListAllUnconfirmedTransactionsE400: + GetOmniTransactionDetailsByTransactionIDTxidE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListAllUnconfirmedTransactionsE403: + GetOmniTransactionDetailsByTransactionIDTxidE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListTransactionsByBlockHashRIBSB: - description: Bitcoin - properties: - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 373 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 208 - type: integer - version: - description: Represents the transaction version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSB_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSB_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - ListTransactionsByBlockHashRIBSBC: - description: Bitcoin Cash - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 248 - type: integer - version: - description: Represents transaction version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListTransactionsByBlockHashRIBSL: - description: Litecoin - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 2 - type: integer - size: - description: Represents the total size of this transaction. - example: 223 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 141 - type: integer - version: - description: Represents transaction version number. - example: 2 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSL_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSL_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - ListTransactionsByBlockHashRIBSD: - description: Dogecoin - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1 - type: integer - size: - description: Represents the total size of this transaction. - example: 266 - type: integer - version: - description: Represents transaction version number. - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListTransactionsByBlockHashRIBSD2: - description: Dash + GetZilliqaBlockDetailsByBlockHashRI: + example: + difficulty: "41.375" + gasLimit: 550000 + gasUsed: 0 + previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 + nextBlockHash: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 + Block 1244298 Block 1244300 + blockHeight: 1244298 + dsDifficulty: "48.625" + dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + transactionsCount: 0 + dsBlock: 12443 + microBlocks: + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1]\ + \ 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1]\ + \ 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + timestamp: 1616069434 properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 125 - type: integer - version: - description: Represents transaction version number. - example: 1 + blockHeight: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 1244298 type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD2_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD2_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - ListTransactionsByBlockHashRIBSE: - description: Ethereum - properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 - type: string - gasLimit: - description: String representation of the transaction Represents the amount - of gas used by this specific transaction alone. - example: "21000" - type: string - gasPrice: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSE_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "21000" - type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + difficulty: + description: Defines how difficult it is for a specific miner to mine the + block. + example: "41.375" type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 + dsBlock: + description: Represents the Directory Service block which contains metadata + about the miners who participate in the consensus protocol. + example: 12443 type: integer - transactionStatus: - description: Represents the status of this transaction. - type: string - required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus - type: object - ListTransactionsByBlockHashRIBSEC: - description: Ethereum Classic - properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" - type: string - gasPrice: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSE_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "21000" - type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: "16" - type: string - transactionStatus: - description: String representation of the transaction status + dsDifficulty: + description: Defines how difficult it is to mine the dsBlocks. + example: "48.625" type: string - required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus - type: object - ListTransactionsByBlockHashRIBSBSC: - description: Binance Smart Chain - properties: - contract: - description: Represents the specific transaction contract. + dsLeader: + description: Represents a part of the DS Committee which leads the consensus + protocol for the epoch. + example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj type: string gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" - type: string - gasPrice: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBSC_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "21000" - type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 25341 + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 type: integer - transactionStatus: - description: Represents the status of this transaction - example: 0x1 - type: string - required: - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus - type: object - ListTransactionsByBlockHashRIBSZ: - description: Zcash - properties: - bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. - example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 - type: string - expiryHeight: - description: Represents a block height after which the transaction will - expire. + gasUsed: + description: Defines how much of the gas for the block has been used. example: 0 type: integer - joinSplitPubKey: - description: Represents an encoding of a JoinSplitSig public validating - key. - example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 - type: string - joinSplitSig: - description: Is used to sign transactions that contain at least one JoinSplit - description. - example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a - type: string - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1781965 - type: integer - overwintered: - description: '"Overwinter" is the network upgrade for the Zcash blockchain.' - example: true - type: boolean - size: - description: Represents the total size of this transaction. - example: 234 - type: integer - vJoinSplit: - description: Represents a sequence of JoinSplit descriptions using BCTV14 - proofs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSZ_vJoinSplit' - type: array - vShieldedOutput: - description: Object Array representation of transaction output descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' - type: array - vShieldedSpend: - description: Object Array representation of transaction spend descriptions + microBlocks: items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + description: Micro blocks are validated simultaneously with other smaller + components called "shards" in order to form the final txBlock. + example: "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + type: string type: array - valueBalance: - description: Defines the transaction value balance. - example: "0" - type: string - version: - description: Numeric representation of the transaction Represents the transaction - version number. - example: 1 - type: integer - versionGroupId: - description: Represents the transaction version group ID. - example: 0x892f2085 + nextBlockHash: + description: Defines the hash of the next block from the specific blockchain. + example: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 + Block 1244298 Block 1244300 type: string - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSZ_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' - type: array - required: - - bindingSig - - expiryHeight - - joinSplitPubKey - - joinSplitSig - - locktime - - overwintered - - size - - vJoinSplit - - vShieldedOutput - - vShieldedSpend - - valueBalance - - version - - versionGroupId - - vin - - vout - type: object - ListTransactionsByBlockHashRI: - properties: - index: - description: Represents the index position of the transaction in the specific - block. - example: 1 - type: integer - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 00000000000000127080d8bcf84f4ad830a71ea0aadce3632579b6b2f26cd94b + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 1971147 - type: integer - recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRI_recipients' - type: array - senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRI_senders' - type: array timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1618208236 + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1616069434 + type: integer + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 0 type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: 273eac351a2b76bb98196f3b310eabc787758cf157e8abe726250447185956ed - type: string - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 4340d9463f0a5e3b3bc5844c17af78e20fa141f976f20732de630b0e6e4cd571 - type: string - fee: - $ref: '#/components/schemas/ListTransactionsByBlockHashRI_fee' - blockchainSpecific: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBS' required: - - blockchainSpecific - - fee - - index - - minedInBlockHash - - minedInBlockHeight - - recipients - - senders - - timestamp - - transactionHash - - transactionId - type: object - ListTransactionsByBlockHashRIBS: - oneOf: - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSB' - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC' - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSL' - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD' - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD2' - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSE' - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSEC' - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBSC' - - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSZ' + - blockHeight + - difficulty + - dsBlock + - dsDifficulty + - dsLeader + - gasLimit + - gasUsed + - microBlocks + - nextBlockHash + - previousBlockHash + - timestamp + - transactionsCount type: object - ListTransactionsByBlockHashR: + GetZilliqaBlockDetailsByBlockHashR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + difficulty: "41.375" + gasLimit: 550000 + gasUsed: 0 + previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 + nextBlockHash: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 + Block 1244298 Block 1244300 + blockHeight: 1244298 + dsDifficulty: "48.625" + dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + transactionsCount: 0 + dsBlock: 12443 + microBlocks: + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + timestamp: 1616069434 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -20735,125 +28702,79 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListTransactionsByBlockHashR_data' + $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHashR_data' required: - apiVersion - data - requestId type: object - ListTransactionsByBlockHashE401: + GetZilliqaBlockDetailsByBlockHashE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListTransactionsByBlockHashE400: + GetZilliqaBlockDetailsByBlockHashE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListTransactionsByBlockHashE403: + GetZilliqaBlockDetailsByBlockHashE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListXRPRippleTransactionsByBlockHashRI: + ListSupportedTokensRI: properties: - additionalData: - description: Represents any additional data that may be needed. - example: r4CmvbkDWGt9AZmkfuubmiSdsxGZFxAKBY - type: string - destinationTag: - example: 3999472835 - type: integer - index: - description: Represents the index position of the transaction in the specific - block. - example: 3 - type: integer - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 15971358 - type: integer - recipients: - description: Represents an object of addresses that receive the transactions. - items: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_senders' - type: array - sequence: - description: Defines the transaction input's sequence as an integer, which - is is used when transactions are replaced with newer versions before LockTime. - example: 32568 + decimals: + description: Defines the token's decimal number or all of its points after + the zero. + example: 6 type: integer - status: - description: Defines the status of the transaction. - example: tesSUCCESS + identifier: + description: "Represents a unique identifier for the specific blockchain\ + \ and network, e.g. smart contract address, property ID, etc." + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 236589 - type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: ba3bc1337071c8e73b441fe12a1911f4365d7ea82cace7c8ecba3ee9f364978b + name: + description: Defines the token name. + example: Tether + type: string + symbol: + description: Defines the token's unique symbol in the Crypto APIs listings. + example: USDT type: string type: - description: Defines the type of the transaction. - example: Payment + description: "Represents the token's type representation, e.g. ERC-20, Omni,\ + \ etc." + example: ERC-20 type: string - fee: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_fee' - offer: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_offer' - receive: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_receive' - value: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashRI_value' required: - - fee - - index - - minedInBlockHeight - - offer - - receive - - recipients - - senders - - sequence - - status - - timestamp - - transactionHash + - decimals + - identifier + - name + - symbol - type - - value type: object - ListXRPRippleTransactionsByBlockHashR: + ListSupportedTokensR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -20865,164 +28786,138 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashR_data' + $ref: '#/components/schemas/ListSupportedTokensR_data' required: - apiVersion - data - requestId type: object - ListXRPRippleTransactionsByBlockHashE401: + ListSupportedTokensE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListXRPRippleTransactionsByBlockHashE400: + ListSupportedTokensE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListXRPRippleTransactionsByBlockHashE403: + ListSupportedTokensE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetUnconfirmedOmniTransactionByTransactionIDTxidRI: + GetWalletAssetDetailsRI: example: - mined: true - amount: "14.915785" - divisible: true - fee: - amount: "0.0001" + confirmedBalance: + amount: "0.0101" unit: BTC - type: Simple Send - sent: false - version: 0 - transactionId: 92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08 - typeInt: 0 - recipients: - - amount: "0.1" - address: mpBjRU6F2YrgWwxtMw4Fp1hikqPdrx6spB - - amount: "0.1" - address: mpBjRU6F2YrgWwxtMw4Fp1hikqPdrx6spB - propertyId: 2 - senders: - - amount: "0.1" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - - amount: "0.1" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - timestamp: 1616431490 + fungibleTokens: + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + confirmedAmount: "0.254" + type: ERC-20 + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + confirmedAmount: "0.254" + type: ERC-20 + recievedConfirmedAmount: + amount: "0.0345" + unit: BTC + name: main vault + sentConfirmedAmount: + amount: "0.0134" + unit: BTC + nonFungibleTokens: + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + depositAddressesCount: 5 properties: - amount: - description: Defines the amount of the sent tokens. - example: "14.915785" - type: string - divisible: - description: Defines whether the attribute can be divisible or not, as boolean. - E.g., if it is "true", the attribute is divisible. - example: true - type: boolean - mined: - description: Defines whether the transaction has been mined or not, as boolean. - E.g. if set to "true", it means the transaction is mined. - example: true - type: boolean - propertyId: - description: Represents the identifier of the tokens to send. - example: 2 + confirmedBalance: + $ref: '#/components/schemas/GetWalletAssetDetailsRI_confirmedBalance' + depositAddressesCount: + description: Specifies the count of deposit addresses in the Wallet. + example: 5 type: integer - recipients: - description: Represents an object of addresses that receive the transactions. + fungibleTokens: + description: Represents fungible tokens'es detailed information items: - $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidRI_recipients' + $ref: '#/components/schemas/GetWalletAssetDetailsRI_fungibleTokens' type: array - senders: - description: Represents an object of addresses that provide the funds. + name: + description: Defines the name of the Wallet given to it by the user. + example: main vault + type: string + nonFungibleTokens: + description: Represents non-fungible tokens'es detailed information. items: - $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidRI_senders' + $ref: '#/components/schemas/GetWalletAssetDetailsRI_nonFungibleTokens' type: array - sent: - description: Defines whether the transaction has been sent or not, as boolean. - E.g. if set to "true", it means the transaction is sent. - example: false - type: boolean - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1616431490 - type: integer - transactionId: - description: String representation of the transaction identifier (txid) - example: 92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08 - type: string - type: - description: Defines the type of the transaction as a string. - example: Simple Send - type: string - typeInt: - description: Defines the type of the transaction as a number. - example: 0 - type: integer - version: - description: Defines the specific version. - example: 0 - type: integer - fee: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_fee' + recievedConfirmedAmount: + $ref: '#/components/schemas/GetWalletAssetDetailsRI_recievedConfirmedAmount' + sentConfirmedAmount: + $ref: '#/components/schemas/GetWalletAssetDetailsRI_sentConfirmedAmount' required: - - amount - - divisible - - fee - - mined - - propertyId - - recipients - - senders - - sent - - timestamp - - transactionId - - type - - typeInt - - version + - confirmedBalance + - depositAddressesCount + - fungibleTokens + - name + - nonFungibleTokens + - recievedConfirmedAmount + - sentConfirmedAmount type: object - GetUnconfirmedOmniTransactionByTransactionIDTxidR: + GetWalletAssetDetailsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - mined: true - amount: "14.915785" - divisible: true - fee: - amount: "0.0001" + confirmedBalance: + amount: "0.0101" unit: BTC - type: Simple Send - sent: false - version: 0 - transactionId: 92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08 - typeInt: 0 - recipients: - - amount: "0.1" - address: mpBjRU6F2YrgWwxtMw4Fp1hikqPdrx6spB - - amount: "0.1" - address: mpBjRU6F2YrgWwxtMw4Fp1hikqPdrx6spB - propertyId: 2 - senders: - - amount: "0.1" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - - amount: "0.1" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - timestamp: 1616431490 + fungibleTokens: + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + confirmedAmount: "0.254" + type: ERC-20 + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + confirmedAmount: "0.254" + type: ERC-20 + recievedConfirmedAmount: + amount: "0.0345" + unit: BTC + name: main vault + sentConfirmedAmount: + amount: "0.0134" + unit: BTC + nonFungibleTokens: + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + depositAddressesCount: 5 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -21034,137 +28929,116 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidR_data' + $ref: '#/components/schemas/GetWalletAssetDetailsR_data' required: - apiVersion - data - requestId type: object - GetUnconfirmedOmniTransactionByTransactionIDTxidE401: + GetWalletAssetDetailsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetUnconfirmedOmniTransactionByTransactionIDTxidE400: + GetWalletAssetDetailsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetUnconfirmedOmniTransactionByTransactionIDTxidE403: + GetWalletAssetDetailsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - CreateCoinsTransactionRequestFromAddressRI: + CreateFungibleTokensTransactionRequestFromAddressRI: example: - feePriority: standard + feePriority: fast note: yourAdditionalInformationhere - transactionRequestStatus: created - recipients: - - amount: "0.0023" - address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 - - amount: "0.0023" - address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 - transactionRequestId: 6017dd02a309213863be9e55 + recipients: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + transactionRequestId: 6038d09050653d1f0e40584c + tokenTypeSpecificData: null callbackSecretKey: yourSecretString callbackUrl: https://example.com - senders: - address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 + senders: 0x8798d11a96a2822ae60275f3a0798a2542912a10 properties: callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." example: yourSecretString type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. + and when the event occurs. `We support ONLY httpS type of protocol`. example: https://example.com type: string feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." enum: - slow - standard - fast - example: standard + example: fast type: string note: - description: Represents an optional note to add a free text in, explaining - or providing additional detail on the transaction request. + description: "Represents an optional note to add a free text in, explaining\ + \ or providing additional detail on the transaction request." example: yourAdditionalInformationhere type: string recipients: - description: Defines the destination for the transaction, i.e. the recipient(s). + description: "Defines the destination for the transaction, i.e. the recipient(s)." + example: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 items: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressRI_recipients' + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRI_recipients' type: array senders: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressRI_senders' + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRI_senders' + tokenTypeSpecificData: + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRIS' transactionRequestId: - description: Represents a unique identifier of the transaction request (the - request sent to make a transaction), which helps in identifying which - callback and which `referenceId` concern that specific transaction request. - example: 6017dd02a309213863be9e55 - type: string - transactionRequestStatus: - description: Defines the status of the transaction request, e.g. "created, - "await_approval", "pending", "prepared", "signed", "broadcasted", "success", - "failed", "rejected", mined". - enum: - - created - - await-approval - - pending - - prepared - - signed - - broadcasted - - success - - failed - - rejected - - mined - example: created + description: "Represents a unique identifier of the transaction request\ + \ (the request sent to make a transaction), which helps in identifying\ + \ which callback and which `referenceId` concern that specific transaction\ + \ request." + example: 6038d09050653d1f0e40584c type: string required: + - callbackSecretKey + - callbackUrl - feePriority - recipients - senders + - tokenTypeSpecificData - transactionRequestId - - transactionRequestStatus type: object - CreateCoinsTransactionRequestFromAddressR: + CreateFungibleTokensTransactionRequestFromAddressR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - feePriority: standard + feePriority: fast note: yourAdditionalInformationhere - transactionRequestStatus: created - recipients: - - amount: "0.0023" - address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 - - amount: "0.0023" - address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 - transactionRequestId: 6017dd02a309213863be9e55 + recipients: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + transactionRequestId: 6038d09050653d1f0e40584c + tokenTypeSpecificData: null callbackSecretKey: yourSecretString callbackUrl: https://example.com - senders: - address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 + senders: 0x8798d11a96a2822ae60275f3a0798a2542912a10 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -21176,268 +29050,106 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressR_data' + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressR_data' required: - apiVersion - data - requestId type: object - CreateCoinsTransactionRequestFromAddressE401: + CreateFungibleTokensTransactionRequestFromAddressE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - CreateCoinsTransactionRequestFromAddressE400: + CreateFungibleTokensTransactionRequestFromAddressE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - CreateCoinsTransactionRequestFromAddressE403: + CreateFungibleTokensTransactionRequestFromAddressE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - CreateCoinsTransactionRequestFromAddressE409: + CreateFungibleTokensTransactionRequestFromAddressE409: oneOf: - $ref: '#/components/schemas/InvalidData' - $ref: '#/components/schemas/WalletAsAServiceWalletBalanceNotEnough' - $ref: '#/components/schemas/WalletAsAServiceAddressBalanceNotEnough' + - $ref: '#/components/schemas/WalletAsAServiceTokenNotSupported' type: object - WalletAsAServiceAddressBalanceNotEnough: - description: wallet_as_a_service_address_balance_not_enough + WalletAsAServiceTokenNotSupported: + description: wallet_as_a_service_token_not_supported properties: code: - description: Specifies an error code, e.g. error 404. - example: wallet_as_a_service_address_balance_not_enough + description: "Specifies an error code, e.g. error 404." + example: wallet_as_a_service_token_not_supported type: string message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Your address balance is insufficient to complete the action. Please, - deposit funds to your address and try again. + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "The token is not supported for this blockchain and network. To\ + \ be supported, please contact our team." type: string details: items: $ref: '#/components/schemas/BannedIpAddress_details' type: array required: - - code - - message - type: object - ListZilliqaTransactionsByBlockHashRI: - properties: - fee: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_fee' - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 - type: integer - gasPrice: - description: Defines the price of the gas. - example: 2994782927 - type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 24673 - type: integer - minedInBlockHeight: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 1250392 - type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: 13 - type: integer - recipients: - description: Defines an object array of the transaction recipients. - items: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_senders' - type: array - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1582202940 - type: integer - transactionHash: - description: Represents the hash of the transaction, which is its unique - identifier. - example: 0xf4a847a1489a043ee509d5d7df48f2bf7ba1b15354ed14600b035ff2f7670203 - type: string - transactionIndex: - description: Defines the numeric representation of the transaction index. - example: 0 - type: integer - transactionStatus: - description: Defines the status of the transaction, whether it is e.g. pending - or complete. - example: "0" - type: string - required: - - fee - - gasLimit - - gasPrice - - gasUsed - - minedInBlockHeight - - nonce - - recipients - - senders - - timestamp - - transactionHash - - transactionIndex - - transactionStatus - type: object - ListZilliqaTransactionsByBlockHashR: - example: - apiVersion: "2.0" - data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here - properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" - type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 - type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here - type: string - data: - $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHashR_data' - required: - - apiVersion - - data - - requestId - type: object - ListZilliqaTransactionsByBlockHashE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListZilliqaTransactionsByBlockHashE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListZilliqaTransactionsByBlockHashE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - code + - message type: object - ListZilliqaTransactionsByBlockHeightRI: + ListAllAssetsFromAllWalletsRI: properties: - fee: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDRI_fee' - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 - type: integer - gasPrice: - description: Defines the price of the gas. - example: 2994782927 - type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 958 - type: integer - minedInBlockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 0x3160ca05ac12f60023de6b6987596eccbf084629f1a92b59534c5c021bf27041 - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: 13 - type: integer - recipients: - description: Defines an object array of the transaction recipients. + coins: items: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_recipients' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsRI_coins' type: array - senders: - description: Represents an object of addresses that provide the funds. + fungibleTokens: + description: Represents fungible tokens'es detailed information items: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressRI_senders' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsRI_fungibleTokens' type: array - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1582202940 - type: integer - transactionHash: - description: Represents the hash of the transaction, which is its unique - identifier. - example: 0xf4a847a1489a043ee509d5d7df48f2bf7ba1b15354ed14600b035ff2f7670203 + nonFungibleTokens: + description: Represents non-fungible tokens'es detailed information. + items: + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsRI_nonFungibleTokens' + type: array + walletId: + description: Defines the unique ID of the Wallet. + example: 60c9d9921c38030006675ff6 type: string - transactionIndex: - description: Defines the numeric representation of the transaction index. - example: 0 - type: integer - transactionStatus: - description: Defines the status of the transaction, whether it is e.g. pending - or complete. - example: "0" + walletName: + description: Represents the name of the wallet. + example: exampleName type: string required: - - fee - - gasLimit - - gasPrice - - gasUsed - - minedInBlockHash - - nonce - - recipients - - senders - - timestamp - - transactionHash - - transactionIndex - - transactionStatus + - coins + - fungibleTokens + - nonFungibleTokens + - walletId + - walletName type: object - ListZilliqaTransactionsByBlockHeightR: + ListAllAssetsFromAllWalletsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -21449,111 +29161,158 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHeightR_data' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsR_data' required: - apiVersion - data - requestId type: object - ListZilliqaTransactionsByBlockHeightE401: + ListAllAssetsFromAllWalletsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListZilliqaTransactionsByBlockHeightE400: + ListAllAssetsFromAllWalletsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListZilliqaTransactionsByBlockHeightE403: + ListAllAssetsFromAllWalletsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListXRPRippleTransactionsByBlockHeightRI: + ListAllAssetsByWalletIDRI: + example: + fungibleTokens: + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + amount: "0.254" + blockchain: ethereum + type: ERC-20 + network: mainnet + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + amount: "0.254" + blockchain: ethereum + type: ERC-20 + network: mainnet + walletId: 60c9d9921c38030006675ff6 + coins: + - confirmedBalance: "0.00009179" + unit: BTC + totalSpent: "2.1" + blockchain: bitcoin + totalReceived: "5.6" + network: testnet + - confirmedBalance: "0.00009179" + unit: BTC + totalSpent: "2.1" + blockchain: bitcoin + totalReceived: "5.6" + network: testnet + walletName: exampleName + nonFungibleTokens: + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + blockchain: ethereum + type: ERC-721 + network: ropsten + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + blockchain: ethereum + type: ERC-721 + network: ropsten properties: - additionalData: - example: r4CmvbkDWGt9AZmkfuubmiSdsxGZFxAKBY - type: string - destinationTag: - example: 3999472835 - type: integer - index: - example: 3 - type: integer - minedInBlockHash: - example: 14754656235f865a74eba27791fd41a47bdfe07fe811ff6d78f53db32e129e39 - type: string - recipients: - description: Object Array representation of transaction receivers + coins: items: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_recipients' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsRI_coins' type: array - senders: - description: Object Array representation of transaction senders + fungibleTokens: + description: Represents fungible tokens'es detailed information items: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_senders' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsRI_fungibleTokens' type: array - sequence: - example: 32568 - type: integer - status: - example: tesSUCCESS - type: string - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 236589 - type: integer - transactionHash: - example: ba3bc1337071c8e73b441fe12a1911f4365d7ea82cace7c8ecba3ee9f364978b + nonFungibleTokens: + description: Represents non-fungible tokens'es detailed information. + items: + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsRI_nonFungibleTokens' + type: array + walletId: + description: Defines the unique ID of the Wallet. + example: 60c9d9921c38030006675ff6 type: string - type: - example: Payment + walletName: + description: Represents the name of the wallet. + example: exampleName type: string - fee: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_fee' - offer: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_offer' - receive: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_receive' - value: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightRI_value' required: - - fee - - index - - minedInBlockHash - - offer - - receive - - recipients - - senders - - sequence - - status - - timestamp - - transactionHash - - type - - value + - coins + - fungibleTokens + - nonFungibleTokens + - walletId + - walletName type: object - ListXRPRippleTransactionsByBlockHeightR: + ListAllAssetsByWalletIDR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + fungibleTokens: + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + amount: "0.254" + blockchain: ethereum + type: ERC-20 + network: mainnet + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + amount: "0.254" + blockchain: ethereum + type: ERC-20 + network: mainnet + walletId: 60c9d9921c38030006675ff6 + coins: + - confirmedBalance: "0.00009179" + unit: BTC + totalSpent: "2.1" + blockchain: bitcoin + totalReceived: "5.6" + network: testnet + - confirmedBalance: "0.00009179" + unit: BTC + totalSpent: "2.1" + blockchain: bitcoin + totalReceived: "5.6" + network: testnet + walletName: exampleName + nonFungibleTokens: + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + blockchain: ethereum + type: ERC-721 + network: ropsten + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + blockchain: ethereum + type: ERC-721 + network: ropsten requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -21565,510 +29324,775 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightR_data' + $ref: '#/components/schemas/ListAllAssetsByWalletIDR_data' required: - apiVersion - data - requestId type: object - ListXRPRippleTransactionsByBlockHeightE401: + ListAllAssetsByWalletIDE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListXRPRippleTransactionsByBlockHeightE400: + ListAllAssetsByWalletIDE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListXRPRippleTransactionsByBlockHeightE403: + ListAllAssetsByWalletIDE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListTransactionsByBlockHeightRIBSB: + GetLastMinedBlockRIBSB: description: Bitcoin properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1781965 - type: integer + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string size: - description: Represents the total size of this transaction. - example: 248 + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 166 + bits: + description: "A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and\ + \ is the same as microbitcoin (μBTC). Bits have two-decimal precision." + example: 170d21b9 + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 00000000000000000000000000000000000000001932c1bc515b0c0e0dee2040 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 02754414626473fa39a0cfbf8d1960fc17ba932ab586340f61f039114053e851 + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 925958 type: integer version: - description: Represents the transaction version number. - example: 1 + description: Represents the version of the specific block on the blockchain. + example: 536928256 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "2000000" + type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 3999412 type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSB_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSB_vout' - type: array required: - - locktime + - bits + - chainwork + - difficulty + - merkleRoot + - nonce - size - - vSize + - strippedSize - version - - vin - - vout + - versionHex + - weight type: object - ListTransactionsByBlockHeightRIBSE: + GetLastMinedBlockRIBSE: description: Ethereum properties: - contract: - description: Represents the specific transaction contract. - example: 0x67a5cd06000000000000000000000000516de3a7a567d81737e3a46ec4ff9cfd1fcb0136 + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c type: string gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "552020" + description: Defines the total gas limit of all transactions in the block. + example: "12499653" type: string - gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSE_gasPrice' gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "24673" + description: Represents the total amount of gas used by all transactions + in this block. + example: "12488144" type: string - inputData: - description: Represents additional information that is required for the - transaction. + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 17 + type: integer + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "4794080996481072" + type: string + uncles: + items: + description: String array representation of the block uncles + type: string + type: array + required: + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty + - uncles + type: object + GetLastMinedBlockRIBSEC: + description: Ethereum Classic + properties: + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer - transactionStatus: - description: Represents the status of this transaction. + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd983010203844765746887676f312e342e328777696e646f7773 + type: string + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "7999992" + type: string + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "6494" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 6 + type: integer + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "1086033282060494457577" type: string + uncles: + items: + description: String array representation of the block uncles + type: string + type: array required: - - contract + - difficulty + - extraData - gasLimit - - gasPrice - gasUsed - - inputData + - minedInSeconds - nonce - - transactionStatus + - sha3Uncles + - size + - totalDifficulty + - uncles type: object - ListTransactionsByBlockHeightRIBSD: - description: Dash + GetLastMinedBlockRIBSBC: + description: Bitcoin Cash properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 0 - type: integer + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string size: - description: Represents the total size of this transaction. - example: 125 + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer + bits: + description: "A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and\ + \ is the same as microbitcoincash (μBCH). Bits have two-decimal precision." + example: 1805839a + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000015dc8754d8bfaedfffbb3bd + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 543872ba53c13183f951d76dd5933f98900a1bf9b3eef716857dfcc3c0534dfb + type: string version: - description: Represents transaction version number. - example: 1 + description: Represents the version of the specific block on the blockchain. + example: 545259520 type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD_vout' - type: array + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" + type: string required: - - locktime + - bits + - chainwork + - difficulty + - merkleRoot + - nonce - size - version - - vin - - vout + - versionHex type: object - ListTransactionsByBlockHeightRIBSD2: - description: Dogecoin + GetLastMinedBlockRIBSL: + description: Litecoin properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1 - type: integer + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string size: - description: Represents the total size of this transaction. - example: 266 + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer + bits: + description: Represents a specific sub-unit of Litecoin. Bits have two-decimal + precision. + example: 1a01a4ae + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 00000000000000000000000000000000000000000000052f02c48d14c5b35ccc + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: a7d45c761cbea0c31ce55b1f2f04d98005980489470ebcc7c29b7b317f01f96b + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 131447 type: integer version: - description: Represents transaction version number. - example: 2 + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" + type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 585599 type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD2_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSD_vout' - type: array required: - - locktime + - bits + - chainwork + - difficulty + - merkleRoot + - nonce - size + - strippedSize - version - - vin - - vout + - versionHex + - weight type: object - ListTransactionsByBlockHeightRIBSL: - description: Litecoin + GetLastMinedBlockRIBSD: + description: Dogecoin properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 2 - type: integer + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string size: - description: Represents the total size of this transaction. - example: 223 + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 141 + bits: + description: Represents a specific sub-unit of Doge. Bits have two-decimal + precision. + example: 1a031996 + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 00000000000000000000000000000000000000000000048ea6f3be405ae0a819 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: bfeb2ed090f955ec07c51be25bbddc91ea73cafbe8c3d6f1a76b288e70b19df6 + type: string + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 4322 type: integer version: - description: Represents transaction version number. - example: 2 + description: Represents the version of the specific block on the blockchain. + example: 6422788 + type: integer + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 17288 type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSL_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSL_vout' - type: array required: - - locktime + - bits + - chainwork + - difficulty + - merkleRoot + - nonce - size - - vSize + - strippedSize - version - - vin - - vout + - weight type: object - ListTransactionsByBlockHeightRIBSBC: - description: Bitcoin Cash + GetLastMinedBlockRIBSD2: + description: Dash properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1781965 - type: integer + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string size: - description: Represents the total size of this transaction. - example: 248 + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer + bits: + description: Represents a specific sub-unit of Dash. Bits have two-decimal + precision. + example: 1c0b6b81 + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000004f2b087db88ad29f2da6 + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 67eab41d993576c37ee9ce89054641660e9e61de98fa2b701d19c25cfb4ce037 + type: string version: - description: Represents the total size of this transaction. - example: 1 + description: Represents the version of the specific block on the blockchain. + example: 536870912 type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHashRIBSBC_vout' - type: array + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000010" + type: string required: - - locktime + - bits + - chainwork + - difficulty + - merkleRoot + - nonce - size - version - - vin - - vout + - versionHex type: object - ListTransactionsByBlockHeightRIBSEC: - description: Ethereum Classic + GetLastMinedBlockRIBSBSC: + description: Binance Smart Chain properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd883010001846765746888676f312e31342e34856c696e757800000000000000eb8c4ee17a97af3c7d18e6cfb87d25bf9a483933d393b4fce778c9a7d64eab76471a8ab92c3a7d131c0f9cfbbd9a54b438c80b491c7a579da0e37db6ca823eda01 type: string gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" + description: Defines the total gas limit of all transactions in the block. + example: "30000000" type: string - gasPrice: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSEC_gasPrice' gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "21000" + description: Represents the total amount of gas used by all transactions + in this block. + example: "686304" type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in second + example: 3 + type: integer + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: "15" + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block" + example: "2437536" type: string + uncles: + items: + description: String array representation of the block uncles + type: string + type: array required: - - contract + - difficulty + - extraData - gasLimit - - gasPrice - gasUsed - - inputData + - minedInSeconds - nonce + - sha3Uncles + - size + - totalDifficulty + - uncles type: object - ListTransactionsByBlockHeightRIBSBSC: - description: Binance Smart Chain + GetLastMinedBlockRIBSZ: + description: Zcash properties: - contract: - description: Represents the specific transaction contract. + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" type: string - gasPrice: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSBSC_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "21000" + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer + bits: + description: Represents a specific sub-unit of Zcash. Bits have two-decimal + precision + example: "524517883" type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0xe656e7110000000000000000000000000000000000000000000000000000000000000001 + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000000000000000262b072797 type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 15 - type: integer - transactionStatus: - description: Represents the status of this transaction - example: 0x1 + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 type: string + version: + description: Represents the transaction version number. + example: 4 + type: integer required: - - gasLimit - - gasPrice - - gasUsed - - inputData + - bits + - chainwork + - difficulty + - merkleRoot - nonce - - transactionStatus + - size + - version type: object - ListTransactionsByBlockHeightRIBSZ: - description: Zcash + GetLastMinedBlockRI: + example: + previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null + hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f + transactionsCount: 2755 + height: 673852 + timestamp: 1610365615 properties: - bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. - example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 + hash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f type: string - expiryHeight: - description: Represents a block height after which the transaction will - expire. - example: 0 + height: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 673852 type: integer - joinSplitPubKey: - description: Represents an encoding of a JoinSplitSig public validating - key. - example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 - type: string - joinSplitSig: - description: Is used to sign transactions that contain at least one JoinSplit - description. - example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f type: string - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1781965 + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1610365615 type: integer - overwintered: - description: '"Overwinter" is the network upgrade for the Zcash blockchain.' - example: true - type: boolean - size: - description: Represents the total size of this transaction. - example: 234 + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 2755 type: integer - vJoinSplit: - description: Represents a sequence of JoinSplit descriptions using BCTV14 - proofs. - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vJoinSplit' - type: array - vShieldedOutput: - description: Object Array representation of transaction output descriptions - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vShieldedOutput' - type: array - vShieldedSpend: - description: Object Array representation of transaction spend descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' - type: array - valueBalance: - description: Defines the transaction value balance. - example: "0" + blockchainSpecific: + $ref: '#/components/schemas/GetLastMinedBlockRIBS' + required: + - blockchainSpecific + - hash + - height + - previousBlockHash + - timestamp + - transactionsCount + type: object + GetLastMinedBlockRIBS: + oneOf: + - $ref: '#/components/schemas/GetLastMinedBlockRIBSB' + - $ref: '#/components/schemas/GetLastMinedBlockRIBSE' + - $ref: '#/components/schemas/GetLastMinedBlockRIBSEC' + - $ref: '#/components/schemas/GetLastMinedBlockRIBSBC' + - $ref: '#/components/schemas/GetLastMinedBlockRIBSL' + - $ref: '#/components/schemas/GetLastMinedBlockRIBSD' + - $ref: '#/components/schemas/GetLastMinedBlockRIBSD2' + - $ref: '#/components/schemas/GetLastMinedBlockRIBSBSC' + - $ref: '#/components/schemas/GetLastMinedBlockRIBSZ' + type: object + GetLastMinedBlockR: + example: + apiVersion: 2.0.0 + data: + item: + previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null + hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f + transactionsCount: 2755 + height: 673852 + timestamp: 1610365615 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - version: - description: Represents the transaction version number. - example: 1 - type: integer - versionGroupId: - description: Represents the transaction version group ID. - example: 0x892f2085 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vout' - type: array + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetLastMinedBlockR_data' required: - - bindingSig - - expiryHeight - - joinSplitPubKey - - joinSplitSig - - locktime - - overwintered - - size - - vJoinSplit - - vShieldedOutput - - vShieldedSpend - - valueBalance - - version - - versionGroupId - - vin - - vout + - apiVersion + - data + - requestId type: object - ListTransactionsByBlockHeightRI: + GetLastMinedBlockE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetLastMinedBlockE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetLastMinedBlockE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListOmniTransactionsByBlockHeightRI: properties: - index: - description: Represents the index position of the transaction in the specific - block. - example: 2 - type: integer + amount: + description: Defines the amount of the sent tokens. + example: "798.483157" + type: string + divisible: + description: "Defines whether the attribute can be divisible or not, as\ + \ boolean. E.g., if it is \"true\", the attribute is divisible." + example: true + type: boolean minedInBlockHash: description: Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + example: 000000000000000000061610767eaa0394cab83c70ff1c09dd6b2a2bdad5d1d1 type: string minedInBlockHeight: description: Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. - example: 1939750 + example: 59000 + type: integer + positionInBlock: + description: Represents the index position of the transaction in the specific + block. + example: 18 + type: integer + propertyId: + description: Represents the identifier of the tokens to send. + example: 2 type: integer recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. + description: Represents an object of addresses that receive the transactions. + example: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_recipients' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightRI_recipients' type: array senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. + description: Represents an object of addresses that provide the funds. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_senders' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightRI_senders' type: array timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1582202940 + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1565743888 type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: f43ecd605d8d733d02684c17c3a61d66aed7a9ec4c627fb060b763c348696259 type: string - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + type: + description: Defines the type of the transaction as a string. + example: Simple Send type: string + typeInt: + description: Defines the type of the transaction as a number. + example: 0 + type: integer + valid: + description: "Defines whether the transaction is valid or not, as boolean.\ + \ E.g., if it is \"true\", the transaction is valid." + example: true + type: boolean + version: + description: Defines the specific version. + example: 0 + type: integer fee: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRI_fee' - blockchainSpecific: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBS' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightRI_fee' required: - - blockchainSpecific + - amount + - divisible - fee - - index - minedInBlockHash - minedInBlockHeight + - positionInBlock + - propertyId - recipients - senders - timestamp - - transactionHash - transactionId + - type + - typeInt + - valid + - version type: object - ListTransactionsByBlockHeightRIBS: - oneOf: - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSB' - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSE' - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD' - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSD2' - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSL' - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSBC' - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSEC' - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSBSC' - - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ' - type: object - ListTransactionsByBlockHeightR: + ListOmniTransactionsByBlockHeightR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -22080,114 +30104,405 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListTransactionsByBlockHeightR_data' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightR_data' required: - apiVersion - data - requestId type: object - ListTransactionsByBlockHeightE401: + ListOmniTransactionsByBlockHeightE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListTransactionsByBlockHeightE400: + ListOmniTransactionsByBlockHeightE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListTransactionsByBlockHeightE403: + ListOmniTransactionsByBlockHeightE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - BlockchainDataBlockNotFound: - description: blockchain_data_block_not_found + GetLatestMinedXRPRippleBlockRI: + example: + blockHash: f9b304b7933ef298142fdd58ad2dec414a5267dcbbd8a4fe9fc2c0a5f9dde050 + totalFees: + amount: "0.00001" + unit: XRP + previousBlockHash: de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a + blockHeight: 15975748 + totalCoins: + amount: "22.0012" + unit: Drops + transactionsCount: 1 + timestamp: 1616430182 properties: - code: - description: Specifies an error code, e.g. error 404. - example: blockchain_data_block_not_found + blockHash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: f9b304b7933ef298142fdd58ad2dec414a5267dcbbd8a4fe9fc2c0a5f9dde050 type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The specified block has not been found on the specific blockchain. + blockHeight: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 15975748 + type: integer + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a type: string - details: + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1616430182 + type: integer + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 1 + type: integer + totalCoins: + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalCoins' + totalFees: + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalFees' + required: + - blockHash + - blockHeight + - previousBlockHash + - timestamp + - totalCoins + - totalFees + - transactionsCount + type: object + GetLatestMinedXRPRippleBlockR: + example: + apiVersion: 2.0.0 + data: + item: + blockHash: f9b304b7933ef298142fdd58ad2dec414a5267dcbbd8a4fe9fc2c0a5f9dde050 + totalFees: + amount: "0.00001" + unit: XRP + previousBlockHash: de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a + blockHeight: 15975748 + totalCoins: + amount: "22.0012" + unit: Drops + transactionsCount: 1 + timestamp: 1616430182 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockR_data' + required: + - apiVersion + - data + - requestId + type: object + GetLatestMinedXRPRippleBlockE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetLatestMinedXRPRippleBlockE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetLatestMinedXRPRippleBlockE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetLatestMinedZilliqaBlockRI: + example: + difficulty: "41.375" + blockHash: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 + Block 1244297 Block 1244299 + gasLimit: 550000 + gasUsed: 10028 + previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 + blockHeight: 1244298 + dsDifficulty: "48.625" + dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + transactionsCount: 1 + dsBlock: 12443 + microBlocks: + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1]\ + \ 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1]\ + \ 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + timestamp: 1616069434 + properties: + blockHash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 + Block 1244297 Block 1244299 + type: string + blockHeight: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 1244298 + type: integer + difficulty: + description: Defines how difficult it is for a specific miner to mine the + block. + example: "41.375" + type: string + dsBlock: + description: Represents the Directory Service block which contains metadata + about the miners who participate in the consensus protocol. + example: 12443 + type: integer + dsDifficulty: + description: Defines how difficult it is to mine the dsBlocks. + example: "48.625" + type: string + dsLeader: + description: Represents a part of the DS Committee which leads the consensus + protocol for the epoch. + example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + type: string + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 + type: integer + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 10028 + type: integer + microBlocks: items: - $ref: '#/components/schemas/BannedIpAddress_details' + description: Micro blocks are validated simultaneously with other smaller + components called "shards" in order to form the final txBlock. + example: "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + type: string type: array + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 + type: string + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1616069434 + type: integer + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 1 + type: integer required: - - code - - message + - blockHash + - blockHeight + - difficulty + - dsBlock + - dsDifficulty + - dsLeader + - gasLimit + - gasUsed + - microBlocks + - previousBlockHash + - timestamp + - transactionsCount type: object - CreateCoinsTransactionFromAddressForWholeAmountRI: + GetLatestMinedZilliqaBlockR: + example: + apiVersion: 2.0.0 + data: + item: + difficulty: "41.375" + blockHash: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 + Block 1244297 Block 1244299 + gasLimit: 550000 + gasUsed: 10028 + previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 + Block 1244296 Block 1244298 + blockHeight: 1244298 + dsDifficulty: "48.625" + dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + transactionsCount: 1 + dsBlock: 12443 + microBlocks: + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + timestamp: 1616069434 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetLatestMinedZilliqaBlockR_data' + required: + - apiVersion + - data + - requestId + type: object + GetLatestMinedZilliqaBlockE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetLatestMinedZilliqaBlockE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetLatestMinedZilliqaBlockE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetTransactionRequestDetailsRI: example: + transactionType: coin feePriority: standard - note: yourExampleStringHere + walletId: 60c9d9921c38030006675ff6 + totalTransactionAmount: "0.001" + unit: BTC transactionRequestStatus: created + blockchain: bitcoin recipients: - - amount: "0.123" - address: 0xc065b539490f81b6c297c37b1925c3be2f190732 - - amount: "0.123" - address: 0xc065b539490f81b6c297c37b1925c3be2f190732 - transactionRequestId: 6017dd02a309213863be9e55 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - senders: - address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 + - amount: "0.001" + unit: BTC + address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + - amount: "0.001" + unit: BTC + address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + additionalDetails: yourExampleStringHere + transactionId: 61922aa68f192800067a8404 + network: testnet properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + additionalDetails: + description: Defines an optional note for additional details. + example: yourExampleStringHere type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + blockchain: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + enum: + - bitcoin + - bitcoin-cash + - litecoin + - dogecoin + - dash + - ethereum + - ethereum-classic + - xrp + - zcash + example: bitcoin type: string feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". + description: "Defines the priority for the fee, if it is \"slow\", \"standard\"\ + \ or \"fast\"." enum: - slow - standard - fast example: standard type: string - note: - description: Represents an optional note to add a free text in, explaining - or providing additional detail on the transaction request.Optional Transaction - note with additional details - example: yourExampleStringHere + network: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + enum: + - mainnet + - testnet + - ropsten + - mordor + example: testnet type: string recipients: - description: Defines the destination for the transaction, i.e. the recipient(s). + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. items: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountRI_recipients' + $ref: '#/components/schemas/GetTransactionRequestDetailsRI_recipients' type: array - senders: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountRI_senders' - transactionRequestId: - description: Represents a unique identifier of the transaction request (the - request sent to make a transaction), which helps in identifying which - callback and which `referenceId` concern that specific transaction request. - example: 6017dd02a309213863be9e55 + totalTransactionAmount: + description: Defines the total transaction amount. + example: "0.001" + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be transactionId in UTXO-based protocols like Bitcoin, and transaction\ + \ hash in Ethereum blockchain." + example: 61922aa68f192800067a8404 type: string transactionRequestStatus: - description: Defines the status of the transaction, e.g. "created, "await_approval", - "pending", "prepared", "signed", "broadcasted", "success", "failed", "rejected", - mined". + description: "Defines the status of the transaction request, e.g. pending." enum: - created - await-approval @@ -22201,37 +30516,65 @@ components: - mined example: created type: string + transactionType: + description: "Defines the transaction type, if it is for coins or tokens." + enum: + - coin + - token + example: coin + type: string + unit: + description: Defines the unit of the amount. + example: BTC + type: string + walletId: + description: Defines the unique ID of the Wallet. + example: 60c9d9921c38030006675ff6 + type: string required: + - additionalDetails + - blockchain - feePriority + - network - recipients - - senders - - transactionRequestId + - totalTransactionAmount - transactionRequestStatus + - transactionType + - unit + - walletId type: object - CreateCoinsTransactionFromAddressForWholeAmountR: + GetTransactionRequestDetailsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: + transactionType: coin feePriority: standard - note: yourExampleStringHere + walletId: 60c9d9921c38030006675ff6 + totalTransactionAmount: "0.001" + unit: BTC transactionRequestStatus: created + blockchain: bitcoin recipients: - - amount: "0.123" - address: 0xc065b539490f81b6c297c37b1925c3be2f190732 - - amount: "0.123" - address: 0xc065b539490f81b6c297c37b1925c3be2f190732 - transactionRequestId: 6017dd02a309213863be9e55 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - senders: - address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 + - amount: "0.001" + unit: BTC + address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + - amount: "0.001" + unit: BTC + address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + additionalDetails: yourExampleStringHere + transactionId: 61922aa68f192800067a8404 + network: testnet requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -22243,77 +30586,128 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountR_data' + $ref: '#/components/schemas/GetTransactionRequestDetailsR_data' required: - apiVersion - data - requestId type: object - CreateCoinsTransactionFromAddressForWholeAmountE401: + GetTransactionRequestDetailsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - CreateCoinsTransactionFromAddressForWholeAmountE400: + GetTransactionRequestDetailsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - CreateCoinsTransactionFromAddressForWholeAmountE403: + GetTransactionRequestDetailsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - CreateCoinsTransactionFromAddressForWholeAmountE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/WalletAsAServiceWalletBalanceNotEnough' - - $ref: '#/components/schemas/WalletAsAServiceAddressBalanceNotEnough' - type: object - GetBlockDetailsByBlockHeightRIBSB: + ListLatestMinedBlocksRIBSB: description: Bitcoin properties: + bits: + description: "A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and\ + \ is the same as microbitcoincash (μBCH). Bits have two-decimal precision." + example: "423838743" + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000005c9475aae89058a50a6 + type: string difficulty: description: Represents a mathematical value of how hard it is to find a valid hash for this block. - example: "209515044.4071968" + example: "21448277761059.71" + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: d3a49e75a5c53ef277bfe0f6474c8ff35c9d3d8f9f9e65a1d3bf45ecff601c82 type: string nonce: description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string + proof of work + example: 500511677 + type: integer size: - description: Represents the total size of the block in Bytes. - example: 3892 + description: Represents the block size + example: 1864409 + type: integer + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 502 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536870916 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000004" + type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 2263 type: integer + required: + - bits + - chainwork + - merkleRoot + - strippedSize + - version + - versionHex + - weight + type: object + ListLatestMinedBlocksRIBSBC: + description: Bitcoin Cash + properties: bits: - description: A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and - is the same as microbitcoin (μBTC). Bits have two-decimal precision. - example: "420773839" + description: "A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and\ + \ is the same as microbitcoincash (μBCH). Bits have two-decimal precision." + example: 1805839a type: string chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000003ddecb747af741625d6 + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000015dc8754d8bfaedfffbb3bd + type: string + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string merkleRoot: description: Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions' hashes that are part of a blockchain block. - example: 7b52cc9ce137b92365eb4d0f8a708da9e3ba199aa422f96352a0c0c87221251b + example: 543872ba53c13183f951d76dd5933f98900a1bf9b3eef716857dfcc3c0534dfb type: string - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 2840 + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 2113101077 + type: integer + size: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 1408113 type: integer version: description: Represents the version of the specific block on the blockchain. @@ -22321,13 +30715,8 @@ components: type: integer versionHex: description: Is the hexadecimal string representation of the block's version. - example: "20000" + example: "20000004" type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 12412 - type: integer required: - bits - chainwork @@ -22335,28 +30724,17 @@ components: - merkleRoot - nonce - size - - strippedSize - version - versionHex - - weight type: object - GetBlockDetailsByBlockHeightRIBSE: - description: Ethereum + ListLatestMinedBlocksRIBSEC: + description: Ethereum Classic properties: difficulty: description: Represents a mathematical value of how hard it is to find a valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" + example: "21448277761059.71" type: string - size: - description: Represents the total size of the block in Bytes. - example: 3892 - type: integer extraData: description: Represents any data that can be included by the miner in the block. @@ -22364,27 +30742,42 @@ components: type: string gasLimit: description: Defines the total gas limit of all transactions in the block. - example: "3141592" + example: "7999992" type: string gasUsed: description: Represents the total amount of gas used by all transactions in this block. - example: "21000" + example: "6494" type: string minedInSeconds: description: Specifies the amount of time required for the block to be mined in seconds. - example: 8 + example: 6 type: integer + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string sha3Uncles: description: Defines the combined hash of all uncles for a given parent. example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "20104747399762079739558" + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "1086033282060494457577" type: string + uncles: + items: + description: Represents the block uncles. + example: "2113101077" + type: string + type: array required: - difficulty - extraData @@ -22395,52 +30788,58 @@ components: - sha3Uncles - size - totalDifficulty + - uncles type: object - GetBlockDetailsByBlockHeightRIBSEC: - description: Ethereum Classic + ListLatestMinedBlocksRIBSE: + description: Ethereum properties: difficulty: description: Represents a mathematical value of how hard it is to find a valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" + example: "21448277761059.71" type: string - size: - description: Represents the total size of the block in Bytes. - example: 3892 - type: integer extraData: description: Represents any data that can be included by the miner in the block. - example: 0x307834383639373636353666366532303530366636663663 + example: 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c type: string gasLimit: description: Defines the total gas limit of all transactions in the block. - example: "3141592" + example: "12499653" type: string gasUsed: description: Represents the total amount of gas used by all transactions in this block. - example: "21000" + example: "12488144" type: string minedInSeconds: description: Specifies the amount of time required for the block to be mined in seconds. - example: 3 + example: 17 type: integer + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string sha3Uncles: description: Defines the combined hash of all uncles for a given parent. example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "20104747399762079739558" + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "4794080996481072" type: string + uncles: + items: + description: Represents the block uncles. + type: string + type: array required: - difficulty - extraData @@ -22451,49 +30850,60 @@ components: - sha3Uncles - size - totalDifficulty + - uncles type: object - GetBlockDetailsByBlockHeightRIBSBC: - description: Bitcoin Cash + ListLatestMinedBlocksRIBSL: + description: Litecoin properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 3892 - type: integer bits: - description: A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and - is the same as microbitcoin (μBTC). Bits have two-decimal precision. - example: 1917ffc5 + description: Represents a specific sub-unit of Litecoin. Bits have two-decimal + precision. + example: 1a01a4ae type: string chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 00000000000000000000000000000000000000000000052f02c48d14c5b35ccc + type: string + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string merkleRoot: description: Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions' hashes that are part of a blockchain block. - example: 263a9121b0e8aaf6a3df5f77f7658b358def7642ed8d674b97dc4e207b7f6937 + example: a7d45c761cbea0c31ce55b1f2f04d98005980489470ebcc7c29b7b317f01f96b type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 2113101077 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 131447 + type: integer version: description: Represents the version of the specific block on the blockchain. example: 536870912 type: integer versionHex: description: Is the hexadecimal string representation of the block's version. - example: "20000" + example: "20000000" type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 585599 + type: integer required: - bits - chainwork @@ -22501,47 +30911,44 @@ components: - merkleRoot - nonce - size + - strippedSize - version - versionHex + - weight type: object - GetBlockDetailsByBlockHeightRIBSL: - description: Litecoin + ListLatestMinedBlocksRIBSD: + description: Dash properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 3892 - type: integer bits: - description: Represents a specific sub-unit of Litecoin. Bits have two-decimal + description: Represents a specific sub-unit of Dash. Bits have two-decimal precision. - example: 1917ffc5 + example: 1c0b6b81 type: string chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000004f2b087db88ad29f2da6 + type: string + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string merkleRoot: description: Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions' hashes that are part of a blockchain block. - example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + example: 67eab41d993576c37ee9ce89054641660e9e61de98fa2b701d19c25cfb4ce037 type: string - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 930838 + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 2113101077 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer version: description: Represents the version of the specific block on the blockchain. @@ -22549,13 +30956,8 @@ components: type: integer versionHex: description: Is the hexadecimal string representation of the block's version. - example: "20000" + example: "20000010" type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 2238302 - type: integer required: - bits - chainwork @@ -22563,58 +30965,56 @@ components: - merkleRoot - nonce - size - - strippedSize - version - versionHex - - weight type: object - GetBlockDetailsByBlockHeightRIBSD: + ListLatestMinedBlocksRIBSD2: description: Dogecoin properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 3892 - type: integer bits: description: Represents a specific sub-unit of Doge. Bits have two-decimal precision. - example: 1917ffc5 + example: 1a031996 type: string chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahash" + example: 00000000000000000000000000000000000000000000048ea6f3be405ae0a819 + type: string + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string merkleRoot: description: Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions' hashes that are part of a blockchain block. - example: 0000047a031ea2dedc1db49eee2ca6d6ac39c9362f59b25899538d43c6c68bc7 + example: bfeb2ed090f955ec07c51be25bbddc91ea73cafbe8c3d6f1a76b288e70b19df6 type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 2113101077 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer strippedSize: description: Defines the numeric representation of the block size excluding the witness data. - example: 930838 + example: 4322 type: integer version: description: Represents the version of the specific block on the blockchain. - example: 536870912 + example: 6422788 type: integer weight: description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limi - example: 2238302 + to each other in proportion to the block size limit. + example: 17288 type: integer required: - bits @@ -22627,103 +31027,56 @@ components: - version - weight type: object - GetBlockDetailsByBlockHeightRIBSD2: - description: Dash - properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 3892 - type: integer - bits: - description: A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and - is the same as microbitcoin (μBTC). Bits have two-decimal precision - example: 1917ffc5 - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000016abcea319c908148ad0 - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 0348f785f8779822c9f81d60684f320e9a230fbfe6241a0502edfe257feff3b6 - type: string - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "30000000" - type: string - required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex - type: object - GetBlockDetailsByBlockHeightRIBSBSC: + ListLatestMinedBlocksRIBSBSC: description: Binance Smart Chain properties: difficulty: description: Represents a mathematical value of how hard it is to find a valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" + example: "21448277761059.71" type: string - size: - description: Represents the total size of the block in Bytes. - example: 3892 - type: integer extraData: description: Represents any data that can be included by the miner in the block. - example: 0xd983010203844765746887676f312e342e328777696e646f7773 + example: 0xd883010001846765746888676f312e31342e34856c696e757800000000000000eb8c4ee17a97af3c7d18e6cfb87d25bf9a483933d393b4fce778c9a7d64eab76471a8ab92c3a7d131c0f9cfbbd9a54b438c80b491c7a579da0e37db6ca823eda01 type: string gasLimit: description: Defines the total gas limit of all transactions in the block. - example: "3141592" + example: "30000000" type: string gasUsed: description: Represents the total amount of gas used by all transactions in this block. - example: "21000" + example: "686304" type: string minedInSeconds: description: Specifies the amount of time required for the block to be mined - in seconds. - example: 5 + in second + example: 3 type: integer + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string sha3Uncles: description: Defines the combined hash of all uncles for a given parent. example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "20104747399762079739558" + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block" + example: "2437536" type: string + uncles: + items: + description: Represents the block uncles. + type: string + type: array required: - difficulty - extraData @@ -22734,44 +31087,95 @@ components: - sha3Uncles - size - totalDifficulty + - uncles type: object - GetBlockDetailsByBlockHeightRIBSZ: - description: Zcash + ListLatestMinedBlocksRIBSZ: + description: Zilliqa properties: difficulty: description: Represents a mathematical value of how hard it is to find a valid hash for this block. - example: "209515044.4071968" + example: "21448277761059.71" type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" + dsBlock: + description: Represents the Directory Service block which contains metadata + about the miners who participate in the consensus protocol. + example: 12443 + type: integer + dsDifficulty: + description: Defines how difficult it is to mine the dsBlocks. + example: "48.625" type: string - size: - description: Represents the total size of the block in Bytes. - example: 3892 + dsLeader: + description: Represents a part of the DS Committee which leads the consensus + protocol for the epoch. + example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + type: string + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 + type: integer + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 10028 type: integer + microBlocks: + items: + description: Micro blocks are validated simultaneously with other smaller + components called "shards" in order to form the final txBlock. + example: "5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ , 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ , 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e,\ + \ 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + type: string + type: array + required: + - difficulty + - dsBlock + - dsDifficulty + - dsLeader + - gasLimit + - gasUsed + - microBlocks + type: object + ListLatestMinedBlocksRIBSZ2: + description: Zcash + properties: bits: description: Represents a specific sub-unit of Zcash. Bits have two-decimal precision example: "524517883" type: string chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." example: 000000000000000000000000000000000000000000000000000000262b072797 type: string + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string merkleRoot: description: Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions' hashes that are part of a blockchain block. example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer version: - description: Represents the block version number. - example: 4 + description: Represents the transaction version number. + example: 536870916 type: integer required: - bits @@ -22782,86 +31186,78 @@ components: - size - version type: object - GetBlockDetailsByBlockHeightRI: - example: - previousBlockHash: 00000000b8c2337ed1221d1861105ad227dfff93b0a1798e78fb6edff58925f5 - nextBlockHash: 000000000000000e2f2e4fab8eaaa6bb39632a79a825d34169d451a86959fe04 - hash: 000000000000000cf507214c4f86a5048449230bc5c5dbbed59aa74421553f26 - transactionsCount: 12 - height: 1939743 - timestamp: 1615378134 + ListLatestMinedBlocksRI: properties: hash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 000000000000000cf507214c4f86a5048449230bc5c5dbbed59aa74421553f26 + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 000000000000000426bd189cdfaab96a94d72089dda11cf110bd2a87116174a9 type: string height: description: Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block". - example: 1939743 + example: 2099743 type: integer - nextBlockHash: - description: Represents the hash of the next block. When this is the last - block of the blockchain this value will be an empty string. - example: 000000000000000e2f2e4fab8eaaa6bb39632a79a825d34169d451a86959fe04 - type: string previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 00000000b8c2337ed1221d1861105ad227dfff93b0a1798e78fb6edff58925f5 + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 000000000000001e592591fc762bd2bf4d37d0b75e29c49b41576507a501cbc3 type: string timestamp: description: Defines the exact date/time when this block was mined in Unix - example: 1615378134 + Timestamp. + example: 1634642334 type: integer transactionsCount: description: Represents the total number of all transactions as part of this block. - example: 12 + example: 3 type: integer + totalCoins: + $ref: '#/components/schemas/ListLatestMinedBlocksRI_totalCoins' + totalFees: + $ref: '#/components/schemas/ListLatestMinedBlocksRI_totalFees' blockchainSpecific: - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBS' + $ref: '#/components/schemas/ListLatestMinedBlocksRIBS' required: - blockchainSpecific - hash - height - - nextBlockHash - previousBlockHash - timestamp + - totalCoins + - totalFees - transactionsCount type: object - GetBlockDetailsByBlockHeightRIBS: + ListLatestMinedBlocksRIBS: oneOf: - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSB' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSE' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSEC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSBC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSL' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSD' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSD2' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSBSC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightRIBSZ' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSB' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSBC' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSEC' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSE' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSL' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSD' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSD2' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSBSC' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSZ' + - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSZ2' type: object - GetBlockDetailsByBlockHeightR: + ListLatestMinedBlocksR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - previousBlockHash: 00000000b8c2337ed1221d1861105ad227dfff93b0a1798e78fb6edff58925f5 - nextBlockHash: 000000000000000e2f2e4fab8eaaa6bb39632a79a825d34169d451a86959fe04 - hash: 000000000000000cf507214c4f86a5048449230bc5c5dbbed59aa74421553f26 - transactionsCount: 12 - height: 1939743 - timestamp: 1615378134 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -22873,117 +31269,57 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightR_data' + $ref: '#/components/schemas/ListLatestMinedBlocksR_data' required: - apiVersion - data - requestId type: object - GetBlockDetailsByBlockHeightE401: + ListLatestMinedBlocksE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetBlockDetailsByBlockHeightE400: + ListLatestMinedBlocksE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetBlockDetailsByBlockHeightE403: + ListLatestMinedBlocksE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetXRPRippleBlockDetailsByBlockHeightRI: - example: - blockHash: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 - totalFees: - amount: "0.004487" - unit: XRP - previousBlockHash: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e - nextBlockHash: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a - blockHeight: 15886156 - totalCoins: - amount: "22.0012" - unit: Drops - transactionsCount: 0 - timestamp: 1616069434 - properties: - blockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 - type: string - blockHeight: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 15886156 - type: integer - nextBlockHash: - description: Represents the hash of the next block. When this is the last - block of the blockchain this value will be an empty string. - example: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a - type: string - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e + SyncHDWalletXPubYPubZPubRI: + example: + extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + properties: + extendedPublicKey: + description: Defines the account extended publicly known key which is used + to derive all child public keys. + example: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1616069434 - type: integer - totalCoins: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightRI_totalCoins' - totalFees: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightRI_totalFees' - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 0 - type: integer required: - - blockHash - - blockHeight - - nextBlockHash - - previousBlockHash - - timestamp - - totalCoins - - totalFees - - transactionsCount + - extendedPublicKey type: object - GetXRPRippleBlockDetailsByBlockHeightR: + SyncHDWalletXPubYPubZPubR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - blockHash: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 - totalFees: - amount: "0.004487" - unit: XRP - previousBlockHash: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e - nextBlockHash: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a - blockHeight: 15886156 - totalCoins: - amount: "22.0012" - unit: Drops - transactionsCount: 0 - timestamp: 1616069434 + extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -22995,52 +31331,204 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightR_data' + $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubR_data' required: - apiVersion - data - requestId type: object - GetXRPRippleBlockDetailsByBlockHeightE401: + SyncHDWalletXPubYPubZPubE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetXRPRippleBlockDetailsByBlockHeightE400: + SyncHDWalletXPubYPubZPubE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/InvalidBlockchain' + - $ref: '#/components/schemas/InvalidNetwork' + - $ref: '#/components/schemas/XpubNotSynced' + - $ref: '#/components/schemas/InvalidXpub' type: object - GetXRPRippleBlockDetailsByBlockHeightE403: + SyncHDWalletXPubYPubZPubE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListUnconfirmedOmniTransactionsByPropertyIDRI: + InvalidBlockchain: + description: invalid_blockchain + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: invalid_blockchain + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The provided blockchain is invalid. The blockchain **must** be + a supported one. For the full list of supported blockchains please see + our Documentation. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + InvalidNetwork: + description: invalid_network + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: invalid_network + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The provided network is invalid. The network **must** be a supported + one. For the full list of supported networks please see our Documentation. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + XpubNotSynced: + description: xpub_not_synced + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: xpub_not_synced + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "This xPub is not yet synced, please first use endpoint “Sync HD\ + \ (xPub, yPub, zPub) wallet” to synchronize it." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + XpubSyncInProgress: + description: xpub_sync_in_progress + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: xpub_sync_in_progress + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "Your wallet (xPub, yPub, zPub) is still syncing, it should take\ + \ few seconds depending on how many transactions it has." + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + SyncHDWalletXPubYPubZPubE422: + oneOf: + - $ref: '#/components/schemas/InvalidRequestBodyStructure' + - $ref: '#/components/schemas/XpubSyncInProgress' + type: object + AlreadyExists: + description: already_exists + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: already_exists + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The specified resource already exists. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + SyncHDWalletXPubYPubZPubE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + InvalidXpub: + description: invalid_xpub + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: invalid_xpub + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The provided Xpub is invalid. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + ListOmniTransactionsByBlockHashRI: properties: amount: description: Defines the amount of the sent tokens. example: "9.146383" type: string divisible: - description: Defines whether the attribute can be divisible or not, as boolean. - E.g., if it is "true", the attribute is divisible. - example: true - type: boolean - mined: - description: Defines whether the transaction has been mined or not, as boolean. - E.g. if set to "true", it means the transaction is mined. + description: "Defines whether the attribute can be divisible or not, as\ + \ boolean. E.g., if it is \"true\", the attribute is divisible." example: true type: boolean + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 000000000000000000061610767eaa0394cab83c70ff1c09dd6b2a2bdad5d1d1 + type: string + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 590000 + type: integer + positionInBlock: + description: Represents the index position of the transaction in the specific + block. + example: 7 + type: integer propertyId: description: Represents the identifier of the tokens to send. - example: 2 + example: 1 type: integer recipients: description: Represents an object of addresses that receive the transactions. @@ -23050,67 +31538,69 @@ components: senders: description: Represents an object of addresses that provide the funds. items: - $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidRI_senders' + $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_senders' type: array - sent: - description: Defines whether the transaction has been sent or not, as boolean. - E.g. if set to "true", it means the transaction is sent. - example: false - type: boolean timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1616487033 + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1565743888 type: integer transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 37ed9145565ffc8c51df7370bd82d546d892973f15cb6c974e7b6b52f1bf5aa9 + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 00000000000000e899a439e6b898af0f7f17a10212d31bf8760bf9dd170c4a76 type: string type: description: Defines the type of the transaction as a string. example: Simple Send type: string - typeIint: + typeInt: description: Defines the type of the transaction as a number. example: 0 type: integer + valid: + description: "Defines whether the transaction is valid or not, as boolean.\ + \ E.g., if it is \"true\", the transaction is valid." + example: true + type: boolean version: description: Defines the specific version. example: 0 type: integer fee: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_fee' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHashRI_fee' required: - amount - divisible - fee - - mined + - minedInBlockHash + - minedInBlockHeight + - positionInBlock - propertyId - recipients - senders - - sent - timestamp - transactionId - type - - typeIint + - typeInt + - valid - version type: object - ListUnconfirmedOmniTransactionsByPropertyIDR: + ListOmniTransactionsByBlockHashR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -23122,88 +31612,109 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByPropertyIDR_data' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHashR_data' required: - apiVersion - data - requestId type: object - ListUnconfirmedOmniTransactionsByPropertyIDE401: + ListOmniTransactionsByBlockHashE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListUnconfirmedOmniTransactionsByPropertyIDE400: + ListOmniTransactionsByBlockHashE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListUnconfirmedOmniTransactionsByPropertyIDE403: + ListOmniTransactionsByBlockHashE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListDepositAddressesRI: + ListWalletTransactionsRI: properties: - address: - description: Specifies the specific address's unique string value. - example: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + direction: + description: "Defines the direction of the transaction, e.g. incoming." + example: incoming type: string - confirmedBalance: - $ref: '#/components/schemas/ListDepositAddressesRI_confirmedBalance' - createdTimestamp: - description: Defines the specific UNIX time when the deposit address was - created. - example: 346658753 - type: integer + fee: + $ref: '#/components/schemas/ListWalletTransactionsRI_fee' fungibleTokens: description: Represents fungible tokens'es detailed information items: - $ref: '#/components/schemas/ListDepositAddressesRI_fungibleTokens' + $ref: '#/components/schemas/ListWalletTransactionsRI_fungibleTokens' + type: array + internalTransactions: + items: + $ref: '#/components/schemas/ListWalletTransactionsRI_internalTransactions' type: array - index: - description: Represents the index of the address in the wallet. - example: "1" - type: string - label: - description: Represents a custom tag that customers can set up for their - Wallets and addresses. E.g. custom label named "Special addresses". - example: yourStringHere - type: string nonFungibleTokens: description: Represents non-fungible tokens'es detailed information. items: - $ref: '#/components/schemas/ListDepositAddressesRI_nonFungibleTokens' + $ref: '#/components/schemas/ListWalletTransactionsRI_nonFungibleTokens' + type: array + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/ListWalletTransactionsRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/ListWalletTransactionsRI_senders' type: array + status: + description: "Defines the status of the transaction, if it is confirmed\ + \ or unconfirmed." + example: confirmed + type: string + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1622466746 + type: integer + transactionId: + description: Represents the unique TD of the transaction. + example: b3ddf04d74e5bd57f3ccb5375db6f39d228ed98cfa1ae9bf959b9406fc975f01 + type: string + value: + $ref: '#/components/schemas/ListWalletTransactionsRI_value' required: - - address - - confirmedBalance - - createdTimestamp - - fungibleTokens - - index - - label - - nonFungibleTokens + - direction + - fee + - recipients + - senders + - status + - timestamp + - transactionId + - value type: object - ListDepositAddressesR: + ListWalletTransactionsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -23215,810 +31726,975 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListDepositAddressesR_data' + $ref: '#/components/schemas/ListWalletTransactionsR_data' required: - apiVersion - data - requestId type: object - ListDepositAddressesE401: + ListWalletTransactionsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListDepositAddressesE400: + ListWalletTransactionsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListDepositAddressesE403: + ListWalletTransactionsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetZilliqaBlockDetailsByBlockHeightRI: - example: - difficulty: "41.375" - blockHash: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 - Block 1244297 Block 1244299 - gasLimit: 550000 - gasUsed: 0 - previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 - nextBlockHash: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 - Block 1244298 Block 1244300 - dsDifficulty: "48.625" - dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj - transactionsCount: 1 - dsBlock: 12443 - microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1] - 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1] - 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - timestamp: 1616069434 + GetWalletTransactionDetailsByTransactionIDRIBSB: + description: Bitcoin properties: - blockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 - Block 1244297 Block 1244299 + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 591 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 347 + type: integer + version: + description: Represents the transaction version number. + example: 2 + type: integer + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSB_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + GetWalletTransactionDetailsByTransactionIDRIBSE: + description: Ethereum + properties: + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 type: string - difficulty: - description: Defines how difficult it is for a specific miner to mine the - block. - example: "41.375" + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" type: string - dsBlock: - description: Represents the Directory Service block which contains metadata - about the miners who participate in the consensus protocol. - example: 12443 - type: integer - dsDifficulty: - description: Defines how difficult it is to mine the dsBlocks. - example: "48.625" + gasPrice: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSE_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "21000" type: string - dsLeader: - description: Represents a part of the DS Committee which leads the consensus - protocol for the epoch. - example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 type: string - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 0 + transactionStatus: + description: String representation of the transaction status + example: 0x1 + type: string + required: + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus + type: object + GetWalletTransactionDetailsByTransactionIDRIBSL: + description: Litecoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 2 + format: int64 type: integer - microBlocks: + size: + description: Represents the total size of this transaction. + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents the transaction version number. + example: 1 + type: integer + vin: + description: Object Array representation of transaction inputs items: - description: Micro blocks are validated simultaneously with other smaller - components called "shards" in order to form the final txBlock. - example: '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - type: string + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSL_vin' type: array - nextBlockHash: - description: Defines the hash of the next block from the specific blockchain. - example: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 - Block 1244298 Block 1244300 + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + GetWalletTransactionDetailsByTransactionIDRIBSBC: + description: Bitcoin Cash + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 248 + type: integer + version: + description: Represents the transaction version number. + example: 1 + type: integer + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSBC_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSBC_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout + type: object + GetWalletTransactionDetailsByTransactionIDRIBSEC: + description: Ethereum Classic + properties: + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + type: string + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" type: string - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSEC_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "24673" type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1616069434 - type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 1 + inputData: + description: Represents additional information that is required for the + transaction. + example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 type: integer required: - - blockHash - - difficulty - - dsBlock - - dsDifficulty - - dsLeader + - contract - gasLimit + - gasPrice - gasUsed - - microBlocks - - nextBlockHash - - previousBlockHash - - timestamp - - transactionsCount + - inputData + - nonce type: object - GetZilliqaBlockDetailsByBlockHeightR: - example: - apiVersion: "2.0" - data: - item: - difficulty: "41.375" - blockHash: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 - Block 1244297 Block 1244299 - gasLimit: 550000 - gasUsed: 0 - previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 - nextBlockHash: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 - Block 1244298 Block 1244300 - dsDifficulty: "48.625" - dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj - transactionsCount: 1 - dsBlock: 12443 - microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - timestamp: 1616069434 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetWalletTransactionDetailsByTransactionIDRIBSD: + description: Dogecoin properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" - type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 - type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here - type: string - data: - $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHeightR_data' + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 266 + type: integer + version: + description: Represents the transaction version number. + example: 1 + type: integer + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSD_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' + type: array required: - - apiVersion - - data - - requestId - type: object - GetZilliqaBlockDetailsByBlockHeightE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetZilliqaBlockDetailsByBlockHeightE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetZilliqaBlockDetailsByBlockHeightE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - locktime + - size + - version + - vin + - vout type: object - GetBlockDetailsByBlockHashRIBSB: - description: Bitcoin + GetWalletTransactionDetailsByTransactionIDRIBSD2: + description: Dash properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + format: int64 type: integer - bits: - description: A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and - is the same as microbitcoin (μBTC). Bits have two-decimal precision. - example: "420773839" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000003ddecb747af741625d6 - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 7b52cc9ce137b92365eb4d0f8a708da9e3ba199aa422f96352a0c0c87221251b - type: string - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 2840 + size: + description: Represents the total size of this transaction. + example: 125 type: integer version: - description: Represents the version of the specific block on the blockchain. - example: 545259520 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" - type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 12412 + description: Represents the transaction version number. + example: 1 type: integer + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSD2_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2_vout' + type: array required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce + - locktime - size - - strippedSize - version - - versionHex - - weight + - vin + - vout type: object - GetBlockDetailsByBlockHashRIBSE: - description: Ethereum + GetWalletTransactionDetailsByTransactionIDRIBSZ: + description: Zcash properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" + bindingSig: + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." + example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 type: integer - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd983010203844765746887676f312e342e328777696e646f7773 - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "7999992" + joinSplitPubKey: + description: Represents an encoding of a JoinSplitSig public validating + key. + example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "21000" + joinSplitSig: + description: Is used to sign transactions that contain at least one JoinSplit + description. + example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 12 + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + format: int64 type: integer - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean + size: + description: Represents the total size of this transaction. + example: 234 + type: integer + vJoinSplit: + description: Represents a sequence of JoinSplit descriptions using BCTV14 + proofs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vJoinSplit' + type: array + vShieldedOutput: + description: Object Array representation of transaction output descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + type: array + vShieldedSpend: + description: Object Array representation of transaction spend descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + type: array + valueBalance: + description: String representation of the transaction value balance + example: "0" type: string - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "1088214928417257646845" + version: + description: Represents the transaction version number. + example: 1 + type: integer + versionGroupId: + description: Represents the transaction version group ID. + example: 0x892f2085 type: string - uncles: + vin: + description: Object Array representation of transaction inputs items: - description: Represents the uncles of the blocks, which occur when more - than one child block is created from a parent block. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 - type: string + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSZ_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vout' type: array required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles + - bindingSig + - expiryHeight + - joinSplitPubKey + - joinSplitSig + - locktime + - overwintered - size - - totalDifficulty - - uncles + - valueBalance + - version + - versionGroupId + - vin + - vout type: object - GetBlockDetailsByBlockHashRIBSEC: - description: Ethereum Classic + GetWalletTransactionDetailsByTransactionIDRIBSBSC: + description: Binance Smart Chain properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 - type: integer - extraData: - description: Represents any data that can be included by the miner in the - block. + contract: + description: Represents the specific transaction contract + example: 0x0000000000000000000000000000000000001000 type: string gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "7999992" + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" type: string + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBSC_gasPrice' gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: "21000" type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 12 - type: integer - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 - type: string - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "1088214928417257646845" + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x type: string - uncles: - items: - description: Represents the uncles of the blocks, which occur when more - than one child block is created from a parent block. - type: string - type: array + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 25341 + type: integer required: - - difficulty - - extraData + - contract - gasLimit + - gasPrice - gasUsed - - minedInSeconds + - inputData - nonce - - sha3Uncles - - size - - totalDifficulty - - uncles type: object - GetBlockDetailsByBlockHashRIBSBC: - description: Bitcoin Cash + GetWalletTransactionDetailsByTransactionIDRI: + example: + recipients: + - amount: "0.00004069" + address: tb1qrktdykdjcjeuy2cfzgfjg0ky6sxaf82v8tn2dg + - amount: "0.00004069" + address: tb1qrktdykdjcjeuy2cfzgfjg0ky6sxaf82v8tn2dg + fee: + amount: "0.00003812" + unit: BTC + minedInBlockHeight: 1250283 + index: 21 + isConfirmed: true + minedInBlockHash: 0000000000503b5200a935cfa9e7740783b5f2292aaad3bf273554abfb3d91ce + blockchainSpecific: null + senders: + - amount: "0.00001681" + address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF + - amount: "0.00001681" + address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF + transactionHash: c58148bb37b9be020338e427784580b58e0b497ce32d7eddf812de6a1a0d3133 + transactionId: 3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80 + timestamp: 1636972451 properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" + index: + description: Represents the index position of the transaction in the specific + block. + example: 21 + type: integer + isConfirmed: + description: Represents the state of the transaction whether it is confirmed + or not confirmed. + example: true + type: boolean + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 0000000000503b5200a935cfa9e7740783b5f2292aaad3bf273554abfb3d91ce type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1250283 type: integer - bits: - description: A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and - is the same as microbitcoin (μBTC). Bits have two-decimal precision. - example: 1c011c75 + recipients: + description: Object Array representation of transaction receivers + items: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Object Array representation of transaction senders + items: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1636972451 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: c58148bb37b9be020338e427784580b58e0b497ce32d7eddf812de6a1a0d3133 type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000000044d6888a7ec8caf0ce + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80 + type: string + fee: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRI_fee' + blockchainSpecific: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBS' + required: + - blockchainSpecific + - fee + - index + - isConfirmed + - recipients + - senders + - timestamp + - transactionHash + - transactionId + type: object + GetWalletTransactionDetailsByTransactionIDRIBS: + oneOf: + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSB' + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSE' + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSL' + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSBC' + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSEC' + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSD' + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSD2' + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSZ' + - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSBSC' + type: object + GetWalletTransactionDetailsByTransactionIDR: + example: + apiVersion: 2.0.0 + data: + item: + recipients: + - amount: "0.00004069" + address: tb1qrktdykdjcjeuy2cfzgfjg0ky6sxaf82v8tn2dg + - amount: "0.00004069" + address: tb1qrktdykdjcjeuy2cfzgfjg0ky6sxaf82v8tn2dg + fee: + amount: "0.00003812" + unit: BTC + minedInBlockHeight: 1250283 + index: 21 + isConfirmed: true + minedInBlockHash: 0000000000503b5200a935cfa9e7740783b5f2292aaad3bf273554abfb3d91ce + blockchainSpecific: null + senders: + - amount: "0.00001681" + address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF + - amount: "0.00001681" + address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF + transactionHash: c58148bb37b9be020338e427784580b58e0b497ce32d7eddf812de6a1a0d3133 + transactionId: 3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80 + timestamp: 1636972451 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 14add5ff6fb9dfc58767228b658a48f85d988a1cc49151238f9cef85b53e54d2 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + data: + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDR_data' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex + - apiVersion + - data + - requestId type: object - GetBlockDetailsByBlockHashRIBSL: - description: Litecoin + GetWalletTransactionDetailsByTransactionIDE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetWalletTransactionDetailsByTransactionIDE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetWalletTransactionDetailsByTransactionIDE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetHDWalletXPubYPubZPubAssetsRI: + example: + fungibleTokens: + - identifier: 0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa + symbol: WEENUS + amount: "0.100000000000000000" + type: ERC-20 + - identifier: 0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa + symbol: WEENUS + amount: "0.100000000000000000" + type: ERC-20 + confirmedBalance: + amount: "0.008516447598774679" + unit: ETH + nonFungibleTokens: + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: GA + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: GA + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 - type: integer - bits: - description: Represents a specific sub-unit of Litecoin. Bits have two-decimal - precision. - example: 191670a9 - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000004f7606f3d619a200dc2d - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 95439d11e918c9fd9a901dcf22203d60f538d660ae74efb7cb566825420fd3b7 - type: string - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 895429 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" - type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 37248 - type: integer + fungibleTokens: + description: Represents fungible tokens'es detailed information + items: + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsRI_fungibleTokens' + type: array + nonFungibleTokens: + description: Represents non-fungible tokens'es detailed information. + items: + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsRI_nonFungibleTokens' + type: array + confirmedBalance: + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsRI_confirmedBalance' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - versionHex - - weight + - confirmedBalance type: object - GetBlockDetailsByBlockHashRIBSD: - description: Dogecoin + GetHDWalletXPubYPubZPubAssetsR: + example: + apiVersion: 2.0.0 + data: + item: + fungibleTokens: + - identifier: 0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa + symbol: WEENUS + amount: "0.100000000000000000" + type: ERC-20 + - identifier: 0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa + symbol: WEENUS + amount: "0.100000000000000000" + type: ERC-20 + confirmedBalance: + amount: "0.008516447598774679" + unit: ETH + nonFungibleTokens: + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: GA + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: GA + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 - type: integer - bits: - description: Represents a specific sub-unit of Doge. Bits have two-decimal - precision. - example: 191670a9 + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000004f7606f3d619a200dc2d + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 95439d11e918c9fd9a901dcf22203d60f538d660ae74efb7cb566825420fd3b7 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 895429 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 - type: integer - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 37248 - type: integer + data: + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsR_data' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - weight + - apiVersion + - data + - requestId type: object - GetBlockDetailsByBlockHashRIBSD2: - description: Dash + GetHDWalletXPubYPubZPubAssetsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetHDWalletXPubYPubZPubAssetsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/InvalidXpub' + - $ref: '#/components/schemas/InvalidBlockchain' + - $ref: '#/components/schemas/InvalidNetwork' + - $ref: '#/components/schemas/XpubNotSynced' + type: object + GetHDWalletXPubYPubZPubAssetsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetHDWalletXPubYPubZPubAssetsE422: + oneOf: + - $ref: '#/components/schemas/InvalidRequestBodyStructure' + - $ref: '#/components/schemas/XpubSyncInProgress' + type: object + GetHDWalletXPubYPubZPubDetailsRI: + example: + confirmedBalance: "0.0021" + totalSpent: "0.0001" + totalReceived: "0.0002" properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" + confirmedBalance: + description: Specifies the confirmed coins balance of the Wallet. + example: "0.0021" type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" + totalReceived: + description: Defines the total currency received to the Wallet. + example: "0.0002" type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 - type: integer - bits: - description: Represents a specific sub-unit of Dash. Bits have two-decimal - precision. - example: 191b7fd9 + totalSpent: + description: Defines the total currency spent from the Wallet. + example: "0.0001" type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000016b0ef9202fae046555d + required: + - confirmedBalance + type: object + GetHDWalletXPubYPubZPubDetailsR: + example: + apiVersion: 2.0.0 + data: + item: + confirmedBalance: "0.0021" + totalSpent: "0.0001" + totalReceived: "0.0002" + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 14add5ff6fb9dfc58767228b658a48f85d988a1cc49151238f9cef85b53e54d2 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + data: + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsR_data' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex + - apiVersion + - data + - requestId type: object - GetBlockDetailsByBlockHashRIBSBSC: - description: Binance Smart Chain + GetHDWalletXPubYPubZPubDetailsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetHDWalletXPubYPubZPubDetailsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/InvalidXpub' + - $ref: '#/components/schemas/InvalidBlockchain' + - $ref: '#/components/schemas/InvalidNetwork' + - $ref: '#/components/schemas/XpubNotSynced' + type: object + GetHDWalletXPubYPubZPubDetailsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetHDWalletXPubYPubZPubDetailsE422: + oneOf: + - $ref: '#/components/schemas/InvalidRequestBodyStructure' + - $ref: '#/components/schemas/XpubSyncInProgress' + type: object + ListInternalTransactionDetailsByTransactionHashRI: properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" + amount: + description: Defines the specific amount of the transaction. + example: "0.089286906469667626" type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" + blockHash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 0x85d538e441835ea749738cf690b676099d869059815842a7bde3259c58ff29eb type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 + blockHeight: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 12561919 type: integer - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd883010101846765746888676f312e31352e35856c696e75780000001600553d38bc0fb8bfd6358840caee66f735eefb01fca9183e9de74aa9c582ace98b79996ddcbd32d3148e2b931bd1372a78080988a2ca9f2d0a81ca19df0354534dfed700 + operationID: + description: Represents the unique internal transaction ID in regards to + the parent transaction (type trace address). + example: call_1 type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "21000" + operationType: + description: Defines the call type of the internal transaction. + example: CALL type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "21000" + parentHash: + description: Defines the specific hash of the parent transaction. + example: 0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 2 - type: integer - sha3Uncles: - description: Defines the combined hash of all uncles for a given paren - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + recipient: + description: Represents the recipient address with the respective amount. + example: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 type: string - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "24670186" + sender: + description: Represents the sender address with the respective amount. + example: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d type: string + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1622728329 + type: integer required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty + - amount + - blockHash + - blockHeight + - operationID + - operationType + - parentHash + - recipient + - sender + - timestamp type: object - GetBlockDetailsByBlockHashRIBSZ: - description: Zcash + ListInternalTransactionDetailsByTransactionHashR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - Proof of Work. - example: "1535290446" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 53598 - type: integer - bits: - description: Represents a specific sub-unit of Zcash. Bits have two-decimal - precision - example: "524517883" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000000000000000262b072797 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - version: - description: Represents the block version number. - example: 4 - type: integer + data: + $ref: '#/components/schemas/ListInternalTransactionDetailsByTransactionHashR_data' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version + - apiVersion + - data + - requestId + type: object + ListInternalTransactionDetailsByTransactionHashE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListInternalTransactionDetailsByTransactionHashE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListInternalTransactionDetailsByTransactionHashE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetBlockDetailsByBlockHashRI: - example: - previousBlockHash: 00000000844434fd86a630ba8e29503d5396a2b6c4003d69bf0a08d96169d4cd - nextBlockHash: 0000000000000003b08ca90b701da447fb3e7c5c6b43acd33a5e4062fe98dea5 - hash: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c - transactionsCount: 145 - height: 1941208 - timestamp: 1615378134 + ListHDWalletXPubYPubZPubTransactionsRI: properties: - hash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c - type: string - height: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 1941208 + index: + description: Represents the index position of the transaction in the block. + example: 1 type: integer - nextBlockHash: - description: Represents the hash of the next block. When this is the last - block of the blockchain this value will be an empty string. - example: 0000000000000003b08ca90b701da447fb3e7c5c6b43acd33a5e4062fe98dea5 - type: string - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 00000000844434fd86a630ba8e29503d5396a2b6c4003d69bf0a08d96169d4cd + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1615378134 + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1903849 type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 145 + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1582202940 type: integer - blockchainSpecific: - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBS' + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + type: string + fee: + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsRI_fee' required: - - blockchainSpecific - - hash - - height - - nextBlockHash - - previousBlockHash + - fee + - index + - minedInBlockHash + - minedInBlockHeight + - recipients + - senders - timestamp - - transactionsCount - type: object - GetBlockDetailsByBlockHashRIBS: - oneOf: - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSB' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSE' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSEC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSBC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSL' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSD' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSD2' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSBSC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashRIBSZ' + - transactionHash + - transactionId type: object - GetBlockDetailsByBlockHashR: + ListHDWalletXPubYPubZPubTransactionsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - previousBlockHash: 00000000844434fd86a630ba8e29503d5396a2b6c4003d69bf0a08d96169d4cd - nextBlockHash: 0000000000000003b08ca90b701da447fb3e7c5c6b43acd33a5e4062fe98dea5 - hash: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c - transactionsCount: 145 - height: 1941208 - timestamp: 1615378134 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -24030,117 +32706,119 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetBlockDetailsByBlockHashR_data' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsR_data' required: - apiVersion - data - requestId type: object - GetBlockDetailsByBlockHashE401: + ListHDWalletXPubYPubZPubTransactionsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetBlockDetailsByBlockHashE400: + ListHDWalletXPubYPubZPubTransactionsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/InvalidXpub' + - $ref: '#/components/schemas/InvalidBlockchain' + - $ref: '#/components/schemas/InvalidNetwork' + - $ref: '#/components/schemas/XpubNotSynced' type: object - GetBlockDetailsByBlockHashE403: + ListHDWalletXPubYPubZPubTransactionsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetXRPRippleBlockDetailsByBlockHashRI: + ListHDWalletXPubYPubZPubTransactionsE422: + oneOf: + - $ref: '#/components/schemas/InvalidRequestBodyStructure' + - $ref: '#/components/schemas/XpubSyncInProgress' + type: object + GetInternalTransactionByTransactionHashAndOperationIdRI: example: - blockHash: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 - totalFees: - amount: "0.004487" - unit: XRP - previousBlockHash: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e - nextBlockHash: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a - blockHeight: 15886156 - totalCoins: - amount: "22.0012" - unit: Drops - transactionsCount: 0 - timestamp: 1616069434 + blockHash: 0x61262bd96d7cf50884e8ce61a5cf978d748417d28d3d76aea889346f050a2fbb + amount: "0.000479716904346335" + blockHeight: 12561779 + sender: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d + recipient: 0xef7cfdee2f0ef5ae5e0c60098c8838fa7822754e + operationType: CALL + parentHash: 0x92bb77e16444e0417c8b50dfab68e89c7ad27d4140a766c3bbd4d0ac195f12fc + timestamp: 1622726449 properties: + amount: + description: Defines the specific amount of the transaction. + example: "0.000479716904346335" + type: string blockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 0x61262bd96d7cf50884e8ce61a5cf978d748417d28d3d76aea889346f050a2fbb type: string blockHeight: description: Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block". - example: 15886156 + example: 12561779 type: integer - nextBlockHash: - description: Represents the hash of the next block. When this is the last - block of the blockchain this value will be an empty string. - example: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a + operationType: + description: Defines the specific type of the operation. + example: CALL type: string - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e + parentHash: + description: Defines the specific hash of the parent transaction. + example: 0x92bb77e16444e0417c8b50dfab68e89c7ad27d4140a766c3bbd4d0ac195f12fc + type: string + recipient: + description: Represents the recipient address with the respective amount. + example: 0xef7cfdee2f0ef5ae5e0c60098c8838fa7822754e + type: string + sender: + description: Represents the sender address with the respective amount. + example: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d type: string timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1616069434 - type: integer - totalCoins: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashRI_totalCoins' - totalFees: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightRI_totalFees' - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 0 + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1622726449 type: integer required: + - amount - blockHash - blockHeight - - nextBlockHash - - previousBlockHash + - operationType + - parentHash + - recipient + - sender - timestamp - - totalCoins - - totalFees - - transactionsCount type: object - GetXRPRippleBlockDetailsByBlockHashR: + GetInternalTransactionByTransactionHashAndOperationIdR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - blockHash: 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 - totalFees: - amount: "0.004487" - unit: XRP - previousBlockHash: dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e - nextBlockHash: 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a - blockHeight: 15886156 - totalCoins: - amount: "22.0012" - unit: Drops - transactionsCount: 0 - timestamp: 1616069434 + blockHash: 0x61262bd96d7cf50884e8ce61a5cf978d748417d28d3d76aea889346f050a2fbb + amount: "0.000479716904346335" + blockHeight: 12561779 + sender: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d + recipient: 0xef7cfdee2f0ef5ae5e0c60098c8838fa7822754e + operationType: CALL + parentHash: 0x92bb77e16444e0417c8b50dfab68e89c7ad27d4140a766c3bbd4d0ac195f12fc + timestamp: 1622726449 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -24152,177 +32830,240 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashR_data' + $ref: '#/components/schemas/GetInternalTransactionByTransactionHashAndOperationIdR_data' required: - apiVersion - data - requestId type: object - GetXRPRippleBlockDetailsByBlockHashE401: + GetInternalTransactionByTransactionHashAndOperationIdE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetXRPRippleBlockDetailsByBlockHashE400: + GetInternalTransactionByTransactionHashAndOperationIdE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetXRPRippleBlockDetailsByBlockHashE403: + GetInternalTransactionByTransactionHashAndOperationIdE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetOmniTransactionDetailsByTransactionIDTxidRI: - example: - amount: "14.915785" - divisible: true - fee: - amount: "0.0001" - unit: BTC - minedInBlockHash: 0000000049696aca62d2ea7db9e71aa4f1116ede1eb55f9932e758cc586eb8b6 - type: Simple Send - version: 0 - transactionId: d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb - valid: true - typeInt: 0 - recipients: - - amount: "0.1" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - - amount: "0.1" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - minedInBlockHeight: 1941239 - propertyId: 2 - senders: - - amount: "0.00000546" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - - amount: "0.00000546" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - timestamp: 1616423278 + BlockchainDataInternalTransactionNotFound: + description: blockchain_data_internal_transaction_not_found + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: blockchain_data_internal_transaction_not_found + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The specified internal transaction has not been found on the specific + blockchain. + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message + type: object + ListHDWalletXPubYPubZPubUTXOsRI: properties: + address: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + type: string + addressPath: + description: Defines a data which tells a Hierarchical Deterministic wallet + how to derive a specific key within a tree of keys. + example: m/0/5 + type: string amount: - description: Defines the amount of the sent tokens. - example: "14.915785" + description: Represents the UTXO amount value. + example: "0.0005" type: string - divisible: - description: Defines whether the attribute can be divisible or not, as boolean. - E.g., if it is "true", the attribute is divisible. + derivation: + description: "The way how the HD walled derives, for example when the type\ + \ is ACCOUNT, it derives change and receive addresses while when the type\ + \ is BIP32 it derives directly." + example: ACCOUNT + type: string + index: + description: Represents the output index. It refers to the UTXO sequence + in the transaction outputs (vout). + example: 1 + type: integer + isAvailable: + description: Represents if the UTXO has been used from another unconfirmed + transaction. If it is - the value will be "false". + example: true + type: boolean + isConfirmed: + description: Represents the state of the transaction whether it is confirmed + or not confirmed. example: true type: boolean + referenceId: + description: Represents the reference id of the record. It may be used for + the startingAfter pagination attribute. + example: 5b1ea92e584bf50020130615 + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be transactionId in UTXO-based protocols like Bitcoin, and transaction\ + \ hash in Ethereum blockchain." + example: 06af8234602b97f497496039a6eb99810db1287ce8aa3c501894dcd03bd4e544 + type: string + required: + - address + - addressPath + - amount + - derivation + - index + - isAvailable + - isConfirmed + - referenceId + - transactionId + type: object + ListHDWalletXPubYPubZPubUTXOsR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubUTXOsR_data' + required: + - apiVersion + - data + - requestId + type: object + ListHDWalletXPubYPubZPubUTXOsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListHDWalletXPubYPubZPubUTXOsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/XpubNotSynced' + - $ref: '#/components/schemas/InvalidXpub' + type: object + ListHDWalletXPubYPubZPubUTXOsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListHDWalletXPubYPubZPubUTXOsE422: + oneOf: + - $ref: '#/components/schemas/InvalidRequestBodyStructure' + - $ref: '#/components/schemas/XpubSyncInProgress' + type: object + ListInternalTransactionsByAddressRI: + properties: + amount: + description: Defines the specific amount of the transaction. + example: "0.089286906469667626" + type: string minedInBlockHash: description: Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - example: 0000000049696aca62d2ea7db9e71aa4f1116ede1eb55f9932e758cc586eb8b6 + example: 0x85ce0aa9628726c60db14526be8a2b823084b1f4c3dcccdc10b0235f23a49e66 type: string minedInBlockHeight: description: Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. - example: 1941239 - type: integer - propertyId: - description: Represents the identifier of the tokens to send. - example: 2 - type: integer - recipients: - description: Represents an object of addresses that receive the transactions. - items: - $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidRI_senders' - type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1616423278 + example: 11135508 type: integer - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb + operationID: + description: Represents the unique internal transaction ID in regards to + the parent transaction (type trace address). + example: call_1 type: string - type: - description: Defines the type of the transaction as a string. - example: Simple Send + operationType: + description: Defines the call type of the internal transaction. + example: CALL type: string - typeInt: - description: Defines the type of the transaction as a number. - example: 0 - type: integer - valid: - description: Defines whether the transaction is valid or not, as boolean. - E.g. if set to "true", it means the transaction is valid. - example: true - type: boolean - version: - description: Defines the specific version. - example: 0 + parentHash: + description: Defines the specific hash of the parent transaction. + example: 0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a + type: string + recipient: + description: Represents the recipient address with the respective amount. + example: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 + type: string + sender: + description: Represents the sender address with the respective amount. + example: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d + type: string + timestamp: + example: 1582202940 type: integer - fee: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressRI_fee' required: - amount - - divisible - - fee - minedInBlockHash - minedInBlockHeight - - propertyId - - recipients - - senders + - operationID + - operationType + - parentHash + - recipient + - sender - timestamp - - transactionId - - type - - typeInt - - valid - - version type: object - GetOmniTransactionDetailsByTransactionIDTxidR: + ListInternalTransactionsByAddressR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - amount: "14.915785" - divisible: true - fee: - amount: "0.0001" - unit: BTC - minedInBlockHash: 0000000049696aca62d2ea7db9e71aa4f1116ede1eb55f9932e758cc586eb8b6 - type: Simple Send - version: 0 - transactionId: d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb - valid: true - typeInt: 0 - recipients: - - amount: "0.1" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - - amount: "0.1" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - minedInBlockHeight: 1941239 - propertyId: 2 - senders: - - amount: "0.00000546" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - - amount: "0.00000546" - address: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - timestamp: 1616423278 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -24334,168 +33075,85 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidR_data' + $ref: '#/components/schemas/ListInternalTransactionsByAddressR_data' required: - apiVersion - data - requestId type: object - GetOmniTransactionDetailsByTransactionIDTxidE401: + ListInternalTransactionsByAddressE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetOmniTransactionDetailsByTransactionIDTxidE400: + ListInternalTransactionsByAddressE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetOmniTransactionDetailsByTransactionIDTxidE403: + ListInternalTransactionsByAddressE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetZilliqaBlockDetailsByBlockHashRI: + GetFeeRecommendationsRI: example: - difficulty: "41.375" - gasLimit: 550000 - gasUsed: 0 - previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 - nextBlockHash: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 - Block 1244298 Block 1244300 - blockHeight: 1244298 - dsDifficulty: "48.625" - dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj - transactionsCount: 0 - dsBlock: 12443 - microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1] - 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1] - 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - timestamp: 1616069434 + standard: '"0.000015' + unit: BTC + feeCushionMultiplier: "1.2" + fast: "0.000025" + slow: "0.000010" properties: - blockHeight: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 1244298 - type: integer - difficulty: - description: Defines how difficult it is for a specific miner to mine the - block. - example: "41.375" - type: string - dsBlock: - description: Represents the Directory Service block which contains metadata - about the miners who participate in the consensus protocol. - example: 12443 - type: integer - dsDifficulty: - description: Defines how difficult it is to mine the dsBlocks. - example: "48.625" + unit: + description: "Defines the unit of the fee, e.g. BTC." + example: BTC type: string - dsLeader: - description: Represents a part of the DS Committee which leads the consensus - protocol for the epoch. - example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + fast: + description: Fast fee per byte calculated from unconfirmed transactions + example: "0.000025" type: string - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 - type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 0 - type: integer - microBlocks: - items: - description: Micro blocks are validated simultaneously with other smaller - components called "shards" in order to form the final txBlock. - example: '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - type: string - type: array - nextBlockHash: - description: Defines the hash of the next block from the specific blockchain. - example: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 - Block 1244298 Block 1244300 + slow: + description: Slow fee per byte calculated from unconfirmed transactions + example: "0.000010" type: string - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 + standard: + description: Standard fee per byte calculated from unconfirmed transactions + example: '"0.000015' + type: string + feeCushionMultiplier: + description: Represents the fee cushion multiplier used to multiply the + base fee. + example: "1.2" type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1616069434 - type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 0 - type: integer required: - - blockHeight - - difficulty - - dsBlock - - dsDifficulty - - dsLeader - - gasLimit - - gasUsed - - microBlocks - - nextBlockHash - - previousBlockHash - - timestamp - - transactionsCount + - fast + - feeCushionMultiplier + - slow + - standard + - unit type: object - GetZilliqaBlockDetailsByBlockHashR: + GetFeeRecommendationsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - difficulty: "41.375" - gasLimit: 550000 - gasUsed: 0 - previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 - nextBlockHash: 0x07939adbc3f5a6ba75968012acfe0fee9a351dca72c814e499fee554281b56b6 - Block 1244298 Block 1244300 - blockHeight: 1244298 - dsDifficulty: "48.625" - dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj - transactionsCount: 0 - dsBlock: 12443 - microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - timestamp: 1616069434 + standard: '"0.000015' + unit: BTC + feeCushionMultiplier: "1.2" + fast: "0.000025" + slow: "0.000010" requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -24507,79 +33165,58 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHashR_data' + $ref: '#/components/schemas/GetFeeRecommendationsR_data' required: - apiVersion - data - requestId type: object - GetZilliqaBlockDetailsByBlockHashE401: + GetFeeRecommendationsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetZilliqaBlockDetailsByBlockHashE400: + GetFeeRecommendationsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetZilliqaBlockDetailsByBlockHashE403: + GetFeeRecommendationsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListSupportedTokensRI: + GetNextAvailableNonceRI: + example: + nextAvailableNonce: 16 properties: - decimals: - description: Defines the token's decimal number or all of its points after - the zero. - example: 6 + nextAvailableNonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 type: integer - identifier: - description: Represents a unique identifier for the specific blockchain - and network, e.g. smart contract address, property ID, etc. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 - type: string - name: - description: Defines the token name. - example: Tether - type: string - symbol: - description: Defines the token's unique symbol in the Crypto APIs listings. - example: USDT - type: string - type: - description: Represents the token's type representation, e.g. ERC-20, Omni, - etc. - example: ERC-20 - type: string required: - - decimals - - identifier - - name - - symbol - - type + - nextAvailableNonce type: object - ListSupportedTokensR: + GetNextAvailableNonceR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + nextAvailableNonce: 16 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -24591,138 +33228,86 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListSupportedTokensR_data' + $ref: '#/components/schemas/GetNextAvailableNonceR_data' required: - apiVersion - data - requestId type: object - ListSupportedTokensE401: + GetNextAvailableNonceE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListSupportedTokensE400: + GetNextAvailableNonceE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListSupportedTokensE403: + GetNextAvailableNonceE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetWalletAssetDetailsRI: - example: - confirmedBalance: - amount: "0.0101" - unit: BTC - fungibleTokens: - - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 - symbol: USDT - confirmedAmount: "0.254" - type: ERC-20 - - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 - symbol: USDT - confirmedAmount: "0.254" - type: ERC-20 - recievedConfirmedAmount: - amount: "0.0345" - unit: BTC - name: main vault - sentConfirmedAmount: - amount: "0.0134" - unit: BTC - nonFungibleTokens: - - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 - symbol: ENS - tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b - type: ERC-721 - - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 - symbol: ENS - tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b - type: ERC-721 - depositAddressesCount: 5 + ListUnspentTransactionOutputsByAddressRI: properties: - confirmedBalance: - $ref: '#/components/schemas/GetWalletAssetDetailsRI_confirmedBalance' - depositAddressesCount: - description: Specifies the count of deposit addresses in the Wallet. - example: 5 + address: + description: Represents the address that has unspend funds per which the + result is returned. + example: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 + type: string + amount: + description: Represents the sent/received amount. + example: "0.00873472" + type: string + index: + description: Represents the index position of the transaction in the block. + example: 1 type: integer - fungibleTokens: - description: Represents fungible tokens'es detailed information - items: - $ref: '#/components/schemas/GetWalletAssetDetailsRI_fungibleTokens' - type: array - name: - description: Defines the name of the Wallet given to it by the user. - example: main vault + isConfirmed: + description: Represents the state of the transaction whether it is confirmed + or not confirmed. + example: true + type: boolean + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1622466746 + type: integer + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 type: string - nonFungibleTokens: - description: Represents non-fungible tokens'es detailed information. - items: - $ref: '#/components/schemas/GetWalletAssetDetailsRI_nonFungibleTokens' - type: array - recievedConfirmedAmount: - $ref: '#/components/schemas/GetWalletAssetDetailsRI_recievedConfirmedAmount' - sentConfirmedAmount: - $ref: '#/components/schemas/GetWalletAssetDetailsRI_sentConfirmedAmount' required: - - confirmedBalance - - depositAddressesCount - - fungibleTokens - - name - - nonFungibleTokens - - recievedConfirmedAmount - - sentConfirmedAmount + - address + - amount + - index + - isConfirmed + - timestamp + - transactionId type: object - GetWalletAssetDetailsR: + ListUnspentTransactionOutputsByAddressR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - confirmedBalance: - amount: "0.0101" - unit: BTC - fungibleTokens: - - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 - symbol: USDT - confirmedAmount: "0.254" - type: ERC-20 - - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 - symbol: USDT - confirmedAmount: "0.254" - type: ERC-20 - recievedConfirmedAmount: - amount: "0.0345" - unit: BTC - name: main vault - sentConfirmedAmount: - amount: "0.0134" - unit: BTC - nonFungibleTokens: - - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 - symbol: ENS - tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b - type: ERC-721 - - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 - symbol: ENS - tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b - type: ERC-721 - depositAddressesCount: 5 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -24734,113 +33319,116 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetWalletAssetDetailsR_data' + $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressR_data' required: - apiVersion - data - requestId type: object - GetWalletAssetDetailsE401: + ListUnspentTransactionOutputsByAddressE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetWalletAssetDetailsE400: + ListUnspentTransactionOutputsByAddressE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetWalletAssetDetailsE403: + ListUnspentTransactionOutputsByAddressE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - CreateFungibleTokensTransactionRequestFromAddressRI: - example: - feePriority: fast - note: yourAdditionalInformationhere - recipients: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 - transactionRequestId: 6038d09050653d1f0e40584c - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - senders: 0x8798d11a96a2822ae60275f3a0798a2542912a10 + ListTokensTransfersByTransactionHashRI: properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretString + contractAddress: + description: "Represents the contract address of the token, which controls\ + \ its logic. It is not the address that holds the tokens." + example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + minedInBlockHeight: + description: Defines the block height in which this transaction was confirmed/mined. + example: 9841271 + type: integer + recipientAddress: + description: Defines the address to which the recipient receives the transferred + tokens. + example: 0x9e91eb3a35b96f0f0fe71f3c17fe8d29eb406b16 type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". - enum: - - slow - - standard - - fast - example: fast + senderAddress: + description: Defines the address from which the sender transfers tokens. + example: 0x9df8a6441e8a3dda75019595d431f9aa0dec475c type: string - note: - description: Represents an optional note to add a free text in, explaining - or providing additional detail on the transaction request. - example: yourAdditionalInformationhere + tokenDecimals: + description: "Defines the decimals of the token, i.e. the number of digits\ + \ that come after the decimal coma of the token." + example: 6 + type: integer + tokenName: + description: Defines the token's name as a string. + example: Tether USD type: string - recipients: - description: Defines the destination for the transaction, i.e. the recipient(s). - example: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 - items: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRI_recipients' - type: array - senders: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRI_senders' - tokenTypeSpecificData: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRIS' - transactionRequestId: - description: Represents a unique identifier of the transaction request (the - request sent to make a transaction), which helps in identifying which - callback and which `referenceId` concern that specific transaction request. - example: 6038d09050653d1f0e40584c + tokenSymbol: + description: Defines the token symbol by which the token contract is known. + It is usually 3-4 characters in length. + example: BAND + type: string + tokenType: + description: Defines the specific token type. + example: ERC-20 + type: string + tokensAmount: + description: Defines the token amount of the transfer. + example: "0.0012" + type: string + transactionHash: + description: "Represents the hash of the transaction, which is its unique\ + \ identifier. It represents a cryptographic digital fingerprint made by\ + \ hashing the block header twice through the SHA256 algorithm." + example: 0x60ba3dded833e61f63b6b6d62afe5c7526c5ca09c6744749f13eef11afde2cb4 type: string + transactionTimestamp: + description: Defines the specific time/date when the transaction was created + in Unix Timestamp. + example: 1615818368 + type: integer + transactionFee: + $ref: '#/components/schemas/ListTokensTransfersByTransactionHashRI_transactionFee' required: - - callbackSecretKey - - callbackUrl - - feePriority - - recipients - - senders - - tokenTypeSpecificData - - transactionRequestId + - contractAddress + - minedInBlockHeight + - recipientAddress + - senderAddress + - tokenDecimals + - tokenName + - tokenSymbol + - tokenType + - tokensAmount + - transactionFee + - transactionHash + - transactionTimestamp type: object - CreateFungibleTokensTransactionRequestFromAddressR: + ListTokensTransfersByTransactionHashR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - feePriority: fast - note: yourAdditionalInformationhere - recipients: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 - transactionRequestId: 6038d09050653d1f0e40584c - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - senders: 0x8798d11a96a2822ae60275f3a0798a2542912a10 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -24852,658 +33440,641 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressR_data' + $ref: '#/components/schemas/ListTokensTransfersByTransactionHashR_data' required: - apiVersion - data - requestId type: object - CreateFungibleTokensTransactionRequestFromAddressE401: + ListTokensTransfersByTransactionHashE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - CreateFungibleTokensTransactionRequestFromAddressE400: + ListTokensTransfersByTransactionHashE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - CreateFungibleTokensTransactionRequestFromAddressE403: + ListTokensTransfersByTransactionHashE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - CreateFungibleTokensTransactionRequestFromAddressE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/WalletAsAServiceWalletBalanceNotEnough' - - $ref: '#/components/schemas/WalletAsAServiceAddressBalanceNotEnough' - - $ref: '#/components/schemas/WalletAsAServiceTokenNotSupported' + ListConfirmedTransactionsByAddressAndTimeRangeRIBSB: + description: Bitcoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 125 + type: integer + vSize: + description: Defines the transaction's virtual size. + example: 166 + type: integer + version: + description: Defines the version of the transaction. + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout type: object - WalletAsAServiceTokenNotSupported: - description: wallet_as_a_service_token_not_supported + ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC: + description: Bitcoin Cash properties: - code: - description: Specifies an error code, e.g. error 404. - example: wallet_as_a_service_token_not_supported - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The token is not supported for this blockchain and network. To - be supported, please contact our team. - type: string - details: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 248 + type: integer + version: + description: Represents the transaction's version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. items: - $ref: '#/components/schemas/BannedIpAddress_details' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBC_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vout' type: array required: - - code - - message + - locktime + - size + - version + - vin type: object - GetLastMinedBlockRIBSB: - description: Bitcoin + ListConfirmedTransactionsByAddressAndTimeRangeRIBSL: + description: Litecoin properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" - type: string + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 2 + format: int64 + type: integer size: - description: Represents the total size of the block in Bytes. - example: 1408113 + description: Represents the total size of this transaction. + example: 223 type: integer - bits: - description: A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and - is the same as microbitcoin (μBTC). Bits have two-decimal precision. - example: 170d21b9 - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 00000000000000000000000000000000000000001932c1bc515b0c0e0dee2040 - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 02754414626473fa39a0cfbf8d1960fc17ba932ab586340f61f039114053e851 - type: string - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 925958 + vSize: + description: Represents the virtual size of this transaction. + example: 141 type: integer version: - description: Represents the version of the specific block on the blockchain. - example: 536928256 + description: Represents the transaction's version number. + example: 2 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSL_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + ListConfirmedTransactionsByAddressAndTimeRangeRIBSD: + description: Dogecoin + properties: + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 0 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 266 type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "2000000" - type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 3999412 + version: + description: Represents the transaction's version number. + example: 3 type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' + type: array required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce + - locktime - size - - strippedSize - version - - versionHex - - weight + - vin + - vout type: object - GetLastMinedBlockRIBSE: - description: Ethereum + ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2: + description: Dash properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" - type: string + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 0 + format: int64 + type: integer size: - description: Represents the total size of the block in Bytes. - example: 1408113 + description: Represents the total size of this transaction. + example: 196 type: integer - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "12499653" - type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "12488144" - type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 17 + version: + description: Represents the transaction's version number. + example: 3 type: integer - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 - type: string - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "4794080996481072" - type: string - uncles: + vin: + description: Represents the transaction inputs. items: - description: String array representation of the block uncles - type: string + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSD2_vout' type: array required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles + - locktime - size - - totalDifficulty - - uncles + - version + - vin + - vout type: object - GetLastMinedBlockRIBSEC: + ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC: description: Ethereum Classic properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd983010203844765746887676f312e342e328777696e646f7773 + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 type: string gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "7999992" + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" type: string + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSEC_gasPrice' gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "6494" + description: Represents the exact unit of gas that was used for the transaction. + example: "21000" type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 6 - type: integer - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + inputData: + description: Represents additional information that is required for the + transaction. + example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 type: string - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "1086033282060494457577" + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + transactionStatus: + description: String representation of the transaction status + example: 0x1 type: string - uncles: - items: - description: String array representation of the block uncles - type: string - type: array required: - - difficulty - - extraData + - contract - gasLimit + - gasPrice - gasUsed - - minedInSeconds + - inputData - nonce - - sha3Uncles - - size - - totalDifficulty - - uncles + - transactionStatus type: object - GetLastMinedBlockRIBSBC: - description: Bitcoin Cash + ListConfirmedTransactionsByAddressAndTimeRangeRIBSE: + description: Ethereum properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - bits: - description: A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and - is the same as microbitcoincash (μBCH). Bits have two-decimal precision. - example: 1805839a + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000015dc8754d8bfaedfffbb3bd + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSE_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "24673" type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 543872ba53c13183f951d76dd5933f98900a1bf9b3eef716857dfcc3c0534dfb + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 type: string - version: - description: Represents the version of the specific block on the blockchain. - example: 545259520 + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 13 type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" + transactionStatus: + description: String representation of the transaction status + example: 0x1 type: string required: - - bits - - chainwork - - difficulty - - merkleRoot + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData - nonce - - size - - version - - versionHex + - transactionStatus type: object - GetLastMinedBlockRIBSL: - description: Litecoin + ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC: + description: Binance Smart Chain properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" + contract: + description: Represents the specific transaction contract. + example: 0x0000000000000000000000000000000000001000 type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - bits: - description: Represents a specific sub-unit of Litecoin. Bits have two-decimal - precision. - example: 1a01a4ae + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 00000000000000000000000000000000000000000000052f02c48d14c5b35ccc + gasPrice: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSBSC_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "21000" type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: a7d45c761cbea0c31ce55b1f2f04d98005980489470ebcc7c29b7b317f01f96b + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x type: string - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 131447 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 25341 type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" + transactionStatus: + description: String representation of the transaction status + example: 0x1 type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 585599 - type: integer required: - - bits - - chainwork - - difficulty - - merkleRoot + - gasLimit + - gasPrice + - gasUsed + - inputData - nonce - - size - - strippedSize - - version - - versionHex - - weight + - transactionStatus type: object - GetLastMinedBlockRIBSD: - description: Dogecoin + ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ: + description: Zcash properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" + bindingSig: + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." + example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 type: integer - bits: - description: Represents a specific sub-unit of Doge. Bits have two-decimal - precision. - example: 1a031996 - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 00000000000000000000000000000000000000000000048ea6f3be405ae0a819 + joinSplitPubKey: + description: Represents an encoding of a JoinSplitSig public validating + key. + example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: bfeb2ed090f955ec07c51be25bbddc91ea73cafbe8c3d6f1a76b288e70b19df6 + joinSplitSig: + description: Is used to sign transactions that contain at least one JoinSplit + description. + example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a type: string - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 4322 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 6422788 - type: integer - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 17288 + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 type: integer - required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - weight - type: object - GetLastMinedBlockRIBSD2: - description: Dash - properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" - type: string + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean size: - description: Represents the total size of the block in Bytes. - example: 1408113 + description: Represents the total size of this transaction. + example: 234 type: integer - bits: - description: Represents a specific sub-unit of Dash. Bits have two-decimal - precision. - example: 1c0b6b81 - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000004f2b087db88ad29f2da6 - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 67eab41d993576c37ee9ce89054641660e9e61de98fa2b701d19c25cfb4ce037 + vJoinSplit: + description: Represents a sequence of JoinSplit descriptions using BCTV14 + proofs. + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vJoinSplit' + type: array + vShieldedOutput: + description: Object Array representation of transaction output descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + type: array + vShieldedSpend: + description: Object Array representation of transaction spend descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + type: array + valueBalance: + description: Defines the transaction value balance. + example: "0" type: string version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 + description: Defines the version of the transaction. + example: 1 type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000010" + versionGroupId: + description: Represents the transaction version group ID. + example: 0x892f2085 type: string + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSZ_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' + type: array required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce + - bindingSig + - expiryHeight + - joinSplitPubKey + - joinSplitSig + - locktime + - overwintered - size + - vJoinSplit + - vShieldedOutput + - vShieldedSpend + - valueBalance - version - - versionHex - type: object - GetLastMinedBlockRIBSBSC: - description: Binance Smart Chain - properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd883010001846765746888676f312e31342e34856c696e757800000000000000eb8c4ee17a97af3c7d18e6cfb87d25bf9a483933d393b4fce778c9a7d64eab76471a8ab92c3a7d131c0f9cfbbd9a54b438c80b491c7a579da0e37db6ca823eda01 - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "30000000" - type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "686304" - type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in second - example: 3 + - versionGroupId + - vin + - vout + type: object + ListConfirmedTransactionsByAddressAndTimeRangeRI: + properties: + index: + description: Represents the index position of the transaction in the block. + example: 1 type: integer - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 - type: string - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block - example: "2437536" + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db type: string - uncles: + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 1903849 + type: integer + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. items: - description: String array representation of the block uncles - type: string + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_senders' type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1582202940 + type: integer + transactionHash: + description: "Represents the same as `transactionId` for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId`\ + \ for SegWit transactions." + example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + type: string + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + type: string + fee: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRI_fee' + blockchainSpecific: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBS' required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty - - uncles + - blockchainSpecific + - fee + - index + - recipients + - senders + - timestamp + - transactionHash + - transactionId type: object - GetLastMinedBlockRIBSZ: - description: Zcash + ListConfirmedTransactionsByAddressAndTimeRangeRIBS: + oneOf: + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSB' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSL' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSE' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC' + - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ' + type: object + ListConfirmedTransactionsByAddressAndTimeRangeR: + example: + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" - type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - bits: - description: Represents a specific sub-unit of Zcash. Bits have two-decimal - precision - example: "524517883" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000000000000000262b072797 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - version: - description: Represents the transaction version number. - example: 4 - type: integer + data: + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeR_data' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version + - apiVersion + - data + - requestId type: object - GetLastMinedBlockRI: - example: - previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f - hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f - transactionsCount: 2755 - height: 673852 - timestamp: 1610365615 + ListConfirmedTransactionsByAddressAndTimeRangeE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListConfirmedTransactionsByAddressAndTimeRangeE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListConfirmedTransactionsByAddressAndTimeRangeE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ListConfirmedTokensTransfersByAddressAndTimeRangeRI: properties: - hash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f + contractAddress: + description: "Represents the contract address of the token, which controls\ + \ its logic. It is not the address that holds the tokens." + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - height: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 673852 + minedInBlockHeight: + description: Defines the block height in which this transaction was confirmed/mined. + example: 12046964 type: integer - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + recipientAddress: + description: Defines the address to which the recipient receives the transferred + tokens. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1610365615 + senderAddress: + description: Defines the address from which the sender transfers tokens. + example: 0x65b895f400dae5541d70cbbec07527210158f6e2 + type: string + tokenDecimals: + description: "Defines the decimals of the token, i.e. the number of digits\ + \ that come after the decimal coma of the token." + example: 6 type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 2755 + tokenId: + description: Represents the unique token identifier. + example: "16721" + type: string + tokenName: + description: Defines the token's name as a string. + example: Tether USD + type: string + tokenSymbol: + description: Defines the token symbol by which the token contract is known. + It is usually 3-4 characters in length. + example: USDT + type: string + tokenType: + description: Defines the specific token type. + example: ERC-20 + type: string + tokensAmount: + description: Defines the token amount of the transfer. + example: "9.146383" + type: string + transactionHash: + description: "Represents the hash of the transaction, which is its unique\ + \ identifier. It represents a cryptographic digital fingerprint made by\ + \ hashing the block header twice through the SHA256 algorithm." + example: 0x32de09d747bcbed41e8162681a72b2a6c760cf2116ce372fcd357c260909838a + type: string + transactionTimestamp: + description: Defines the specific time/date when the transaction was created + in Unix Timestamp. + example: 1615861410 type: integer - blockchainSpecific: - $ref: '#/components/schemas/GetLastMinedBlockRIBS' required: - - blockchainSpecific - - hash - - height - - previousBlockHash - - timestamp - - transactionsCount - type: object - GetLastMinedBlockRIBS: - oneOf: - - $ref: '#/components/schemas/GetLastMinedBlockRIBSB' - - $ref: '#/components/schemas/GetLastMinedBlockRIBSE' - - $ref: '#/components/schemas/GetLastMinedBlockRIBSEC' - - $ref: '#/components/schemas/GetLastMinedBlockRIBSBC' - - $ref: '#/components/schemas/GetLastMinedBlockRIBSL' - - $ref: '#/components/schemas/GetLastMinedBlockRIBSD' - - $ref: '#/components/schemas/GetLastMinedBlockRIBSD2' - - $ref: '#/components/schemas/GetLastMinedBlockRIBSBSC' - - $ref: '#/components/schemas/GetLastMinedBlockRIBSZ' + - contractAddress + - minedInBlockHeight + - recipientAddress + - senderAddress + - tokenDecimals + - tokenName + - tokenSymbol + - tokenType + - transactionHash + - transactionTimestamp type: object - GetLastMinedBlockR: + ListConfirmedTokensTransfersByAddressAndTimeRangeR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f - hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f - transactionsCount: 2755 - height: 673852 - timestamp: 1610365615 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -25515,138 +34086,101 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetLastMinedBlockR_data' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressAndTimeRangeR_data' required: - apiVersion - data - requestId type: object - GetLastMinedBlockE401: + ListConfirmedTokensTransfersByAddressAndTimeRangeE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetLastMinedBlockE400: + ListConfirmedTokensTransfersByAddressAndTimeRangeE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetLastMinedBlockE403: + ListConfirmedTokensTransfersByAddressAndTimeRangeE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListOmniTransactionsByBlockHeightRI: + ListInternalTransactionsByAddressAndTimeRangeRI: properties: amount: - description: Defines the amount of the sent tokens. - example: "798.483157" + description: Defines the specific amount of the transaction. + example: "0.089286906469667626" type: string - divisible: - description: Defines whether the attribute can be divisible or not, as boolean. - E.g., if it is "true", the attribute is divisible. - example: true - type: boolean minedInBlockHash: description: Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - example: 000000000000000000061610767eaa0394cab83c70ff1c09dd6b2a2bdad5d1d1 + example: 0x85ce0aa9628726c60db14526be8a2b823084b1f4c3dcccdc10b0235f23a49e66 type: string minedInBlockHeight: description: Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. - example: 59000 - type: integer - positionInBlock: - description: Represents the index position of the transaction in the specific - block. - example: 18 - type: integer - propertyId: - description: Represents the identifier of the tokens to send. - example: 2 - type: integer - recipients: - description: Represents an object of addresses that receive the transactions. - example: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - items: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightRI_senders' - type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1565743888 + example: 11135508 type: integer - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: f43ecd605d8d733d02684c17c3a61d66aed7a9ec4c627fb060b763c348696259 + operationID: + description: Represents the unique internal transaction ID in regards to + the parent transaction (type trace address). + example: call_1 type: string - type: - description: Defines the type of the transaction as a string. - example: Simple Send + operationType: + description: Defines the call type of the internal transaction. + example: CALL type: string - typeInt: - description: Defines the type of the transaction as a number. - example: 0 - type: integer - valid: - description: Defines whether the transaction is valid or not, as boolean. - E.g., if it is "true", the transaction is valid. - example: true - type: boolean - version: - description: Defines the specific version. - example: 0 + parentHash: + description: Defines the specific hash of the parent transaction. + example: 0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a + type: string + recipient: + description: Represents the recipient address with the respective amount. + example: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 + type: string + sender: + description: Represents the sender address with the respective amount. + example: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d + type: string + timestamp: + example: 1582202940 type: integer - fee: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightRI_fee' required: - amount - - divisible - - fee - minedInBlockHash - minedInBlockHeight - - positionInBlock - - propertyId - - recipients - - senders + - operationID + - operationType + - parentHash + - recipient + - sender - timestamp - - transactionId - - type - - typeInt - - valid - - version type: object - ListOmniTransactionsByBlockHeightR: + ListInternalTransactionsByAddressAndTimeRangeR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -25658,109 +34192,180 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightR_data' + $ref: '#/components/schemas/ListInternalTransactionsByAddressAndTimeRangeR_data' required: - apiVersion - data - requestId type: object - ListOmniTransactionsByBlockHeightE401: + ListInternalTransactionsByAddressAndTimeRangeE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListOmniTransactionsByBlockHeightE400: + ListInternalTransactionsByAddressAndTimeRangeE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListOmniTransactionsByBlockHeightE403: + ListInternalTransactionsByAddressAndTimeRangeE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetLatestMinedXRPRippleBlockRI: - example: - blockHash: f9b304b7933ef298142fdd58ad2dec414a5267dcbbd8a4fe9fc2c0a5f9dde050 - totalFees: - amount: "0.00001" - unit: XRP - previousBlockHash: de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a - blockHeight: 15975748 - totalCoins: - amount: "22.0012" - unit: Drops - transactionsCount: 1 - timestamp: 1616430182 + ListConfirmedTokensTransfersByAddressRI: properties: - blockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: f9b304b7933ef298142fdd58ad2dec414a5267dcbbd8a4fe9fc2c0a5f9dde050 + contractAddress: + description: "Represents the contract address of the token, which controls\ + \ its logic. It is not the address that holds the tokens." + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - blockHeight: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 15975748 + minedInBlockHeight: + description: Defines the block height in which this transaction was confirmed/mined. + example: 12046964 type: integer - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a + recipientAddress: + description: Defines the address to which the recipient receives the transferred + tokens. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1616430182 + senderAddress: + description: Defines the address from which the sender transfers tokens. + example: 0x65b895f400dae5541d70cbbec07527210158f6e2 + type: string + tokenDecimals: + description: "Defines the decimals of the token, i.e. the number of digits\ + \ that come after the decimal coma of the token." + example: 6 type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 1 + tokenId: + description: Represents the unique token identifier. + example: "16721" + type: string + tokenName: + description: Defines the token's name as a string. + example: Tether USD + type: string + tokenSymbol: + description: Defines the token symbol by which the token contract is known. + It is usually 3-4 characters in length. + example: USDT + type: string + tokenType: + description: Defines the specific token type. + example: ERC-20 + type: string + tokensAmount: + description: Defines the token amount of the transfer. + example: "9.146383" + type: string + transactionHash: + description: "Represents the hash of the transaction, which is its unique\ + \ identifier. It represents a cryptographic digital fingerprint made by\ + \ hashing the block header twice through the SHA256 algorithm." + example: 0x32de09d747bcbed41e8162681a72b2a6c760cf2116ce372fcd357c260909838a + type: string + transactionTimestamp: + description: Defines the specific time/date when the transaction was created + in Unix Timestamp. + example: 1615861410 type: integer - totalCoins: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalCoins' - totalFees: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalFees' + transactionFee: + $ref: '#/components/schemas/ListTokensTransfersByTransactionHashRI_transactionFee' required: - - blockHash - - blockHeight - - previousBlockHash - - timestamp - - totalCoins - - totalFees - - transactionsCount + - contractAddress + - minedInBlockHeight + - recipientAddress + - senderAddress + - tokenDecimals + - tokenName + - tokenSymbol + - tokenType + - transactionFee + - transactionHash + - transactionTimestamp type: object - GetLatestMinedXRPRippleBlockR: + ListConfirmedTokensTransfersByAddressR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 + data: + total: 100 + offset: 0 + limit: 50 + items: [] + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressR_data' + required: + - apiVersion + - data + - requestId + type: object + ListConfirmedTokensTransfersByAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ListConfirmedTokensTransfersByAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ListConfirmedTokensTransfersByAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetRawTransactionDataRI: + example: + transactionHex: 01000000000101f8cb1cd1892d31aaafa35a92128b3a11469e675261c83a30be5b25ae8c97eeca0100000017160014daaf6d5cb86befe42df851a4d1df052e663754c1ffffffff02403800000000000017a914507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d15879cd90c000000000017a91475eb14fa1dc2c72637df3c58bc22d925ca0753af8702483045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901210287e995526aa6ccb96141bb598fc7f73323279e026c55039d15f0cfbda5dea84100000000 + properties: + transactionHex: + description: Represents the raw transaction data in hexadecimal format. + example: 01000000000101f8cb1cd1892d31aaafa35a92128b3a11469e675261c83a30be5b25ae8c97eeca0100000017160014daaf6d5cb86befe42df851a4d1df052e663754c1ffffffff02403800000000000017a914507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d15879cd90c000000000017a91475eb14fa1dc2c72637df3c58bc22d925ca0753af8702483045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901210287e995526aa6ccb96141bb598fc7f73323279e026c55039d15f0cfbda5dea84100000000 + type: string + required: + - transactionHex + type: object + GetRawTransactionDataR: + example: + apiVersion: 2.0.0 data: item: - blockHash: f9b304b7933ef298142fdd58ad2dec414a5267dcbbd8a4fe9fc2c0a5f9dde050 - totalFees: - amount: "0.00001" - unit: XRP - previousBlockHash: de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a - blockHeight: 15975748 - totalCoins: - amount: "22.0012" - unit: Drops - transactionsCount: 1 - timestamp: 1616430182 + transactionHex: 01000000000101f8cb1cd1892d31aaafa35a92128b3a11469e675261c83a30be5b25ae8c97eeca0100000017160014daaf6d5cb86befe42df851a4d1df052e663754c1ffffffff02403800000000000017a914507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d15879cd90c000000000017a91475eb14fa1dc2c72637df3c58bc22d925ca0753af8702483045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901210287e995526aa6ccb96141bb598fc7f73323279e026c55039d15f0cfbda5dea84100000000 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -25772,170 +34377,111 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockR_data' + $ref: '#/components/schemas/GetRawTransactionDataR_data' required: - apiVersion - data - requestId type: object - GetLatestMinedXRPRippleBlockE401: + GetRawTransactionDataE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetLatestMinedXRPRippleBlockE400: + GetRawTransactionDataE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetLatestMinedXRPRippleBlockE403: + GetRawTransactionDataE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetLatestMinedZilliqaBlockRI: - example: - difficulty: "41.375" - blockHash: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 - Block 1244297 Block 1244299 - gasLimit: 550000 - gasUsed: 10028 - previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 - blockHeight: 1244298 - dsDifficulty: "48.625" - dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj - transactionsCount: 1 - dsBlock: 12443 - microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1] - 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1] - 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - timestamp: 1616069434 + ListUnconfirmedTokensTransfersByAddressRI: properties: - blockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 - Block 1244297 Block 1244299 + contractAddress: + description: "Represents the contract address of the token, which controls\ + \ its logic. It is not the address that holds the tokens." + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - blockHeight: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 1244298 - type: integer - difficulty: - description: Defines how difficult it is for a specific miner to mine the - block. - example: "41.375" + recipientAddress: + description: Defines the address to which the recipient receives the transferred + tokens. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - dsBlock: - description: Represents the Directory Service block which contains metadata - about the miners who participate in the consensus protocol. - example: 12443 + senderAddress: + description: Defines the address from which the sender transfers tokens. + example: 0x65b895f400dae5541d70cbbec07527210158f6e2 + type: string + tokenDecimals: + description: "Defines the decimals of the token, i.e. the number of digits\ + \ that come after the decimal coma of the token." + example: 6 type: integer - dsDifficulty: - description: Defines how difficult it is to mine the dsBlocks. - example: "48.625" + tokenId: + description: Represents the unique token identifier. + example: "16721" type: string - dsLeader: - description: Represents a part of the DS Committee which leads the consensus - protocol for the epoch. - example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + tokenName: + description: Defines the token's name as a string. + example: Tether USD type: string - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 - type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 10028 - type: integer - microBlocks: - items: - description: Micro blocks are validated simultaneously with other smaller - components called "shards" in order to form the final txBlock. - example: '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - type: string - type: array - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 + tokenSymbol: + description: Defines the token symbol by which the token contract is known. + It is usually 3-4 characters in length. + example: USDT type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1616069434 - type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 1 + tokenType: + description: Defines the specific token type. + example: ERC-20 + type: string + tokensAmount: + description: Defines the token amount of the transfer. + example: "9.146383" + type: string + transactionHash: + description: "Represents the hash of the transaction, which is its unique\ + \ identifier. It represents a cryptographic digital fingerprint made by\ + \ hashing the block header twice through the SHA256 algorithm." + example: 0x32de09d747bcbed41e8162681a72b2a6c760cf2116ce372fcd357c260909838a + type: string + transactionTimestamp: + description: Defines the specific time/date when the transaction was created + in Unix Timestamp. + example: 1615861410 type: integer required: - - blockHash - - blockHeight - - difficulty - - dsBlock - - dsDifficulty - - dsLeader - - gasLimit - - gasUsed - - microBlocks - - previousBlockHash - - timestamp - - transactionsCount + - contractAddress + - recipientAddress + - senderAddress + - tokenDecimals + - tokenName + - tokenSymbol + - tokenType + - transactionHash + - transactionTimestamp type: object - GetLatestMinedZilliqaBlockR: + ListUnconfirmedTokensTransfersByAddressR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - difficulty: "41.375" - blockHash: 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 - Block 1244297 Block 1244299 - gasLimit: 550000 - gasUsed: 10028 - previousBlockHash: 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 - Block 1244296 Block 1244298 - blockHeight: 1244298 - dsDifficulty: "48.625" - dsLeader: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj - transactionsCount: 1 - dsBlock: 12443 - microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - timestamp: 1616069434 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -25947,171 +34493,78 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetLatestMinedZilliqaBlockR_data' + $ref: '#/components/schemas/ListUnconfirmedTokensTransfersByAddressR_data' required: - apiVersion - data - requestId type: object - GetLatestMinedZilliqaBlockE401: + ListUnconfirmedTokensTransfersByAddressE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetLatestMinedZilliqaBlockE400: + ListUnconfirmedTokensTransfersByAddressE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetLatestMinedZilliqaBlockE403: + ListUnconfirmedTokensTransfersByAddressE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetTransactionRequestDetailsRI: - example: - transactionType: coin - feePriority: standard - walletId: 60c9d9921c38030006675ff6 - totalTransactionAmount: "0.001" - unit: BTC - transactionRequestStatus: created - blockchain: bitcoin - recipients: - - amount: "0.001" - unit: BTC - address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR - - amount: "0.001" - unit: BTC - address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR - additionalDetails: yourExampleStringHere - network: testnet + ListTokensByAddressRI: properties: - additionalDetails: - description: Defines an optional note for additional details. - example: yourExampleStringHere - type: string - blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - enum: - - bitcoin - - bitcoin-cash - - litecoin - - dogecoin - - dash - - ethereum - - ethereum-classic - - zcash - example: bitcoin - type: string - feePriority: - description: Defines the priority for the fee, if it is "slow", "standard" - or "fast". - enum: - - slow - - standard - - fast - example: standard - type: string - network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - enum: - - mainnet - - testnet - - ropsten - - mordor - example: testnet - type: string - recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. - items: - $ref: '#/components/schemas/GetTransactionRequestDetailsRI_recipients' - type: array - totalTransactionAmount: - description: Defines the total transaction amount. - example: "0.001" + confirmedBalance: + description: Defines the token balance that has been confirmed. + example: "287090.926632" type: string - transactionRequestStatus: - description: Defines the status of the transaction request, e.g. pending. - enum: - - created - - await-approval - - pending - - prepared - - signed - - broadcasted - - success - - failed - - rejected - - mined - example: created + contractAddress: + description: "Represents the contract address of the token, which controls\ + \ its logic. It is not the address that holds the tokens." + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - transactionType: - description: Defines the transaction type, if it is for coins or tokens. - enum: - - coin - - token - example: coin + name: + description: Defines the token's name as a string. + example: Tether USD type: string - unit: - description: Defines the unit of the amount. - example: BTC + symbol: + description: Defines the token symbol by which the token contract is known. + It is usually 3-4 characters in length. + example: USDT type: string - walletId: - description: Defines the unique ID of the Wallet. - example: 60c9d9921c38030006675ff6 + type: + description: Defines the specific token type. + example: ERC-20 type: string required: - - additionalDetails - - blockchain - - feePriority - - network - - recipients - - totalTransactionAmount - - transactionRequestStatus - - transactionType - - unit - - walletId + - confirmedBalance + - contractAddress + - name + - symbol + - type type: object - GetTransactionRequestDetailsR: + ListTokensByAddressR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - transactionType: coin - feePriority: standard - walletId: 60c9d9921c38030006675ff6 - totalTransactionAmount: "0.001" - unit: BTC - transactionRequestStatus: created - blockchain: bitcoin - recipients: - - amount: "0.001" - unit: BTC - address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR - - amount: "0.001" - unit: BTC - address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR - additionalDetails: yourExampleStringHere - network: testnet + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -26123,677 +34576,502 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetTransactionRequestDetailsR_data' + $ref: '#/components/schemas/ListTokensByAddressR_data' required: - apiVersion - data - requestId type: object - GetTransactionRequestDetailsE401: + ListTokensByAddressE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetTransactionRequestDetailsE400: + ListTokensByAddressE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetTransactionRequestDetailsE403: + ListTokensByAddressE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListLatestMinedBlocksRIBSB: - description: Bitcoin + EstimateTransactionSmartFeeRI: + example: + unit: BTC + confirmationTarget: 2 + feeRate: "0.00001" properties: - bits: - description: A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and - is the same as microbitcoincash (μBCH). Bits have two-decimal precision. - example: "423838743" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000005c9475aae89058a50a6 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: d3a49e75a5c53ef277bfe0f6474c8ff35c9d3d8f9f9e65a1d3bf45ecff601c82 - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 500511677 - type: integer - size: - description: Represents the block size - example: 1864409 - type: integer - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 502 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870916 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000004" - type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 2263 + confirmationTarget: + description: Represents the confirmation target in blocks + example: 2 type: integer - required: - - bits - - chainwork - - merkleRoot - - strippedSize - - version - - versionHex - - weight - type: object - ListLatestMinedBlocksRIBSBC: - description: Bitcoin Cash - properties: - bits: - description: A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and - is the same as microbitcoincash (μBCH). Bits have two-decimal precision. - example: 1805839a - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000015dc8754d8bfaedfffbb3bd - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 543872ba53c13183f951d76dd5933f98900a1bf9b3eef716857dfcc3c0534dfb + feeRate: + description: Represents the Fee Rate value. + example: "0.00001" type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 2113101077 - type: integer - size: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 1408113 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 545259520 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000004" + unit: + description: Defines the fee unit. + example: BTC type: string required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex + - confirmationTarget + - feeRate + - unit type: object - ListLatestMinedBlocksRIBSEC: - description: Ethereum Classic + EstimateTransactionSmartFeeR: + example: + apiVersion: 2.0.0 + data: + item: + unit: BTC + confirmationTarget: 2 + feeRate: "0.00001" + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd983010203844765746887676f312e342e328777696e646f7773 - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "7999992" - type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "6494" - type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 6 - type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "1086033282060494457577" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - uncles: - items: - description: Represents the block uncles. - example: "2113101077" - type: string - type: array + data: + $ref: '#/components/schemas/EstimateTransactionSmartFeeR_data' required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty - - uncles - type: object - ListLatestMinedBlocksRIBSE: - description: Ethereum - properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "12499653" - type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "12488144" - type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 17 - type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" - type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + - apiVersion + - data + - requestId + type: object + EstimateTransactionSmartFeeE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + EstimateTransactionSmartFeeE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + EstimateTransactionSmartFeeE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + Unimplemented: + description: unimplemented + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: unimplemented type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "4794080996481072" + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "This {feature} has not been implemented yet." type: string - uncles: + details: items: - description: Represents the block uncles. - type: string + $ref: '#/components/schemas/BannedIpAddress_details' type: array required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty - - uncles + - code + - message type: object - ListLatestMinedBlocksRIBSL: - description: Litecoin + GetTokenDetailsByContractAddressRI: + example: + tokenSymbol: BAND + tokenDecimals: "18" + totalSupply: "1000000" + tokenName: Band Protocol + tokenType: ERC-20 properties: - bits: - description: Represents a specific sub-unit of Litecoin. Bits have two-decimal - precision. - example: 1a01a4ae + tokenDecimals: + description: Defines the number of decimals that the token possesses. + example: "18" type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 00000000000000000000000000000000000000000000052f02c48d14c5b35ccc + tokenName: + description: Specifies the token's name. + example: Band Protocol type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" + tokenSymbol: + description: Defines the unique symbol of the token. + example: BAND type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: a7d45c761cbea0c31ce55b1f2f04d98005980489470ebcc7c29b7b317f01f96b + tokenType: + description: Defines the type of the token. + example: ERC-20 type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 2113101077 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 131447 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" + totalSupply: + description: Defines the total number of tokens created that exist on the + market minus the ones that have been burned. + example: "1000000" type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 585599 - type: integer required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - versionHex - - weight + - tokenDecimals + - tokenType + - totalSupply type: object - ListLatestMinedBlocksRIBSD: - description: Dash + GetTokenDetailsByContractAddressR: + example: + apiVersion: 2.0.0 + data: + item: + tokenSymbol: BAND + tokenDecimals: "18" + totalSupply: "1000000" + tokenName: Band Protocol + tokenType: ERC-20 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - bits: - description: Represents a specific sub-unit of Dash. Bits have two-decimal - precision. - example: 1c0b6b81 - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000004f2b087db88ad29f2da6 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 67eab41d993576c37ee9ce89054641660e9e61de98fa2b701d19c25cfb4ce037 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 2113101077 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000010" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + data: + $ref: '#/components/schemas/GetTokenDetailsByContractAddressR_data' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex + - apiVersion + - data + - requestId type: object - ListLatestMinedBlocksRIBSD2: - description: Dogecoin + GetTokenDetailsByContractAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + GetTokenDetailsByContractAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetTokenDetailsByContractAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI: + example: + addresses: + - address: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + index: 1 + - address: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + index: 1 properties: - bits: - description: Represents a specific sub-unit of Doge. Bits have two-decimal - precision. - example: 1a031996 - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahash - example: 00000000000000000000000000000000000000000000048ea6f3be405ae0a819 + addresses: + description: Represents the address details. + items: + $ref: '#/components/schemas/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI_addresses' + type: array + required: + - addresses + type: object + DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR: + example: + apiVersion: 2.0.0 + data: + item: + addresses: + - address: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + index: 1 + - address: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + index: 1 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: bfeb2ed090f955ec07c51be25bbddc91ea73cafbe8c3d6f1a76b288e70b19df6 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 2113101077 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 4322 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 6422788 - type: integer - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 17288 - type: integer + data: + $ref: '#/components/schemas/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR_data' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - weight + - apiVersion + - data + - requestId type: object - ListLatestMinedBlocksRIBSBSC: - description: Binance Smart Chain + DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/InvalidBlockchain' + - $ref: '#/components/schemas/InvalidNetwork' + type: object + DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + NewUnconfirmedCoinsTransactionsRI: + example: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd883010001846765746888676f312e31342e34856c696e757800000000000000eb8c4ee17a97af3c7d18e6cfb87d25bf9a483933d393b4fce778c9a7d64eab76471a8ab92c3a7d131c0f9cfbbd9a54b438c80b491c7a579da0e37db6ca823eda01 + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "30000000" + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "686304" + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in second - example: 3 + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" - type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_COINS_TRANSACTION_UNCONFIRMED type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block - example: "2437536" + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string - uncles: - items: - description: Represents the block uncles. - type: string - type: array required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty - - uncles + - address + - callbackSecretKey + - callbackUrl + - createdTimestamp + - eventType + - isActive + - referenceId type: object - ListLatestMinedBlocksRIBSZ: - description: Zilliqa + NewUnconfirmedCoinsTransactionsR: + example: + apiVersion: 2.0.0 + data: + item: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - dsBlock: - description: Represents the Directory Service block which contains metadata - about the miners who participate in the consensus protocol. - example: 12443 - type: integer - dsDifficulty: - description: Defines how difficult it is to mine the dsBlocks. - example: "48.625" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - dsLeader: - description: Represents a part of the DS Committee which leads the consensus - protocol for the epoch. - example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 - type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 10028 - type: integer - microBlocks: - items: - description: Micro blocks are validated simultaneously with other smaller - components called "shards" in order to form the final txBlock. - example: 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - , 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c , - 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e, 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297 - type: string - type: array + data: + $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsR_data' required: - - difficulty - - dsBlock - - dsDifficulty - - dsLeader - - gasLimit - - gasUsed - - microBlocks + - apiVersion + - data + - requestId type: object - ListLatestMinedBlocksRIBSZ2: - description: Zcash + NewUnconfirmedCoinsTransactionsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + NewUnconfirmedCoinsTransactionsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + NewUnconfirmedCoinsTransactionsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' + type: object + NewUnconfirmedCoinsTransactionsE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + BlockchainEventsCallbacksLimitReached: + description: blockchain_events_callbacks_limit_reached properties: - bits: - description: Represents a specific sub-unit of Zcash. Bits have two-decimal - precision - example: "524517883" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000000000000000262b072797 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 + code: + description: "Specifies an error code, e.g. error 404." + example: blockchain_events_callbacks_limit_reached type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "You have reached the maximum number of active Blockchain Events\ + \ subscriptions which is {callbacks_limit} now. Please upgrade your plan\ + \ to be get higher number of active subscriptions." type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - version: - description: Represents the transaction version number. - example: 536870916 - type: integer + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version + - code + - message type: object - ListLatestMinedBlocksRI: + NewUnconfirmedTokensTransactionsRI: + example: + address: 0x65b895f400dae5541d70cbbec07527210158f6e2 + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED + isActive: true + referenceId: c748624f-1843-4738-a7de-8258ada0f524 properties: - hash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 000000000000000426bd189cdfaab96a94d72089dda11cf110bd2a87116174a9 + address: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: 0x65b895f400dae5541d70cbbec07527210158f6e2 type: string - height: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 2099743 - type: integer - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 000000000000001e592591fc762bd2bf4d37d0b75e29c49b41576507a501cbc3 + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1634642334 - type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 3 + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 type: integer - totalCoins: - $ref: '#/components/schemas/ListLatestMinedBlocksRI_totalCoins' - totalFees: - $ref: '#/components/schemas/ListLatestMinedBlocksRI_totalFees' - blockchainSpecific: - $ref: '#/components/schemas/ListLatestMinedBlocksRIBS' + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED + type: string + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: c748624f-1843-4738-a7de-8258ada0f524 + type: string required: - - blockchainSpecific - - hash - - height - - previousBlockHash - - timestamp - - totalCoins - - totalFees - - transactionsCount - type: object - ListLatestMinedBlocksRIBS: - oneOf: - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSB' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSBC' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSEC' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSE' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSL' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSD' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSD2' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSBSC' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSZ' - - $ref: '#/components/schemas/ListLatestMinedBlocksRIBSZ2' + - address + - callbackSecretKey + - callbackUrl + - createdTimestamp + - eventType + - isActive + - referenceId type: object - ListLatestMinedBlocksR: + NewUnconfirmedTokensTransactionsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + address: 0x65b895f400dae5541d70cbbec07527210158f6e2 + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED + isActive: true + referenceId: c748624f-1843-4738-a7de-8258ada0f524 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -26805,57 +35083,121 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListLatestMinedBlocksR_data' + $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsR_data' required: - apiVersion - data - requestId type: object - ListLatestMinedBlocksE401: + NewUnconfirmedTokensTransactionsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListLatestMinedBlocksE400: + NewUnconfirmedTokensTransactionsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListLatestMinedBlocksE403: + NewUnconfirmedTokensTransactionsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' type: object - SyncHDWalletXPubYPubZPubRI: + NewUnconfirmedTokensTransactionsE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + NewConfirmedCoinsTransactionsRI: example: - extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + address: mfo7jkvcoSNxpRBM7XfcseZGQf9PmmU8TZ + createdTimestamp: 1236238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa properties: - extendedPublicKey: - description: Defines the account extended publicly known key which is used - to derive all child public keys. - example: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: mfo7jkvcoSNxpRBM7XfcseZGQf9PmmU8TZ + type: string + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs 2.0. For\ + \ more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1236238648 + type: integer + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_COINS_TRANSACTION_CONFIRMED + type: string + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + receiveCallbackOn: + description: "Represents the exact confirmation, on which the user wants\ + \ to receive callback." + example: 3 + type: integer + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string required: - - extendedPublicKey + - address + - callbackSecretKey + - callbackUrl + - createdTimestamp + - eventType + - isActive + - receiveCallbackOn + - referenceId type: object - SyncHDWalletXPubYPubZPubR: + NewConfirmedCoinsTransactionsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + address: mfo7jkvcoSNxpRBM7XfcseZGQf9PmmU8TZ + createdTimestamp: 1236238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -26867,276 +35209,245 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubR_data' + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsR_data' required: - apiVersion - data - requestId type: object - SyncHDWalletXPubYPubZPubE401: + NewConfirmedCoinsTransactionsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - SyncHDWalletXPubYPubZPubE400: + NewConfirmedCoinsTransactionsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' - - $ref: '#/components/schemas/InvalidBlockchain' - - $ref: '#/components/schemas/InvalidNetwork' - - $ref: '#/components/schemas/XpubNotSynced' - - $ref: '#/components/schemas/InvalidXpub' type: object - SyncHDWalletXPubYPubZPubE403: + NewConfirmedCoinsTransactionsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' type: object - InvalidBlockchain: - description: invalid_blockchain - properties: - code: - description: Specifies an error code, e.g. error 404. - example: invalid_blockchain - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The provided blockchain is invalid. The blockchain **must** be - a supported one. For the full list of supported blockchains please see - our Documentation. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message + NewConfirmedCoinsTransactionsE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' type: object - InvalidNetwork: - description: invalid_network + NewConfirmedTokensTransactionsRI: + example: + address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + isActive: true + referenceId: c748624f-1843-4738-a7de-8258ada0f524 properties: - code: - description: Specifies an error code, e.g. error 404. - example: invalid_network + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The provided network is invalid. The network **must** be a supported - one. For the full list of supported networks please see our Documentation. + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - XpubNotSynced: - description: xpub_not_synced - properties: - code: - description: Specifies an error code, e.g. error 404. - example: xpub_not_synced + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: This xPub is not yet synced, please first use endpoint “Sync HD - (xPub, yPub, zPub) wallet” to synchronize it. + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 + type: integer + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + type: string + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + receiveCallbackOn: + description: "Represents the exact confirmation, on which the user wants\ + \ to receive callback." + example: 3 + type: integer + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: c748624f-1843-4738-a7de-8258ada0f524 type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array required: - - code - - message + - address + - callbackSecretKey + - callbackUrl + - createdTimestamp + - eventType + - isActive + - receiveCallbackOn + - referenceId type: object - XpubSyncInProgress: - description: xpub_sync_in_progress + NewConfirmedTokensTransactionsR: + example: + apiVersion: 2.0.0 + data: + item: + address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + isActive: true + referenceId: c748624f-1843-4738-a7de-8258ada0f524 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - code: - description: Specifies an error code, e.g. error 404. - example: xpub_sync_in_progress + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Your wallet (xPub, yPub, zPub) is still syncing, it should take - few seconds depending on how many transactions it has. + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewConfirmedTokensTransactionsR_data' required: - - code - - message + - apiVersion + - data + - requestId type: object - SyncHDWalletXPubYPubZPubE422: + NewConfirmedTokensTransactionsE401: oneOf: - - $ref: '#/components/schemas/InvalidRequestBodyStructure' - - $ref: '#/components/schemas/XpubSyncInProgress' + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' type: object - AlreadyExists: - description: already_exists - properties: - code: - description: Specifies an error code, e.g. error 404. - example: already_exists - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The specified resource already exists. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message + NewConfirmedTokensTransactionsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' type: object - SyncHDWalletXPubYPubZPubE409: + NewConfirmedTokensTransactionsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' + type: object + NewConfirmedTokensTransactionsE409: oneOf: - $ref: '#/components/schemas/InvalidData' - $ref: '#/components/schemas/AlreadyExists' type: object - InvalidXpub: - description: invalid_xpub + NewConfirmedTokensTransactionsAndEachConfirmationRI: + example: + confirmationsCount: 3 + address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + createdTimestamp: 1236238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + isActive: true + referenceId: c748624f-1843-4738-a7de-8258ada0f524 properties: - code: - description: Specifies an error code, e.g. error 404. - example: invalid_xpub - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The provided Xpub is invalid. + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - ListOmniTransactionsByBlockHashRI: - properties: - amount: - description: Defines the amount of the sent tokens. - example: "9.146383" + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - divisible: - description: Defines whether the attribute can be divisible or not, as boolean. - E.g., if it is "true", the attribute is divisible. - example: true - type: boolean - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 000000000000000000061610767eaa0394cab83c70ff1c09dd6b2a2bdad5d1d1 + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 590000 - type: integer - positionInBlock: - description: Represents the index position of the transaction in the specific - block. - example: 7 - type: integer - propertyId: - description: Represents the identifier of the tokens to send. - example: 1 + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 type: integer - recipients: - description: Represents an object of addresses that receive the transactions. - items: - $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_recipients' - type: array - senders: - description: Represents an object of addresses that provide the funds. - items: - $ref: '#/components/schemas/ListOmniTransactionsByAddressRI_senders' - type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1565743888 + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1236238648 type: integer - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 00000000000000e899a439e6b898af0f7f17a10212d31bf8760bf9dd170c4a76 - type: string - type: - description: Defines the type of the transaction as a string. - example: Simple Send + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION type: string - typeInt: - description: Defines the type of the transaction as a number. - example: 0 - type: integer - valid: - description: Defines whether the transaction is valid or not, as boolean. - E.g., if it is "true", the transaction is valid. + isActive: + description: Defines whether the subscription is active or not. Set as boolean. example: true - type: boolean - version: - description: Defines the specific version. - example: 0 - type: integer - fee: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHashRI_fee' - required: - - amount - - divisible - - fee - - minedInBlockHash - - minedInBlockHeight - - positionInBlock - - propertyId - - recipients - - senders - - timestamp - - transactionId - - type - - typeInt - - valid - - version + type: boolean + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: c748624f-1843-4738-a7de-8258ada0f524 + type: string + required: + - address + - callbackUrl + - createdTimestamp + - eventType + - isActive + - referenceId type: object - ListOmniTransactionsByBlockHashR: + NewConfirmedTokensTransactionsAndEachConfirmationR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + confirmationsCount: 3 + address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + createdTimestamp: 1236238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + isActive: true + referenceId: c748624f-1843-4738-a7de-8258ada0f524 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -27148,109 +35459,121 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHashR_data' + $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationR_data' required: - apiVersion - data - requestId type: object - ListOmniTransactionsByBlockHashE401: + NewConfirmedTokensTransactionsAndEachConfirmationE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListOmniTransactionsByBlockHashE400: + NewConfirmedTokensTransactionsAndEachConfirmationE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListOmniTransactionsByBlockHashE403: + NewConfirmedTokensTransactionsAndEachConfirmationE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' type: object - ListWalletTransactionsRI: + NewConfirmedTokensTransactionsAndEachConfirmationE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + NewConfirmedCoinsTransactionsAndEachConfirmationRI: + example: + confirmationsCount: 3 + address: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa properties: - direction: - description: Defines the direction of the transaction, e.g. incoming. - example: incoming + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU type: string - fee: - $ref: '#/components/schemas/ListWalletTransactionsRI_fee' - fungibleTokens: - description: Represents fungible tokens'es detailed information - items: - $ref: '#/components/schemas/ListWalletTransactionsRI_fungibleTokens' - type: array - internalTransactions: - items: - $ref: '#/components/schemas/ListWalletTransactionsRI_internalTransactions' - type: array - nonFungibleTokens: - description: Represents non-fungible tokens'es detailed information. - items: - $ref: '#/components/schemas/ListWalletTransactionsRI_nonFungibleTokens' - type: array - recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. - items: - $ref: '#/components/schemas/ListWalletTransactionsRI_recipients' - type: array - senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. - items: - $ref: '#/components/schemas/ListWalletTransactionsRI_senders' - type: array - status: - description: Defines the status of the transaction, if it is confirmed or - unconfirmed. - example: confirmed + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1622466746 + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 type: integer - transactionId: - description: Represents the unique TD of the transaction. - example: b3ddf04d74e5bd57f3ccb5375db6f39d228ed98cfa1ae9bf959b9406fc975f01 + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 + type: integer + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + type: string + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string - value: - $ref: '#/components/schemas/ListWalletTransactionsRI_value' required: - - direction - - fee - - recipients - - senders - - status - - timestamp - - transactionId - - value + - address + - callbackSecretKey + - callbackUrl + - confirmationsCount + - createdTimestamp + - eventType + - isActive + - referenceId type: object - ListWalletTransactionsR: + NewConfirmedCoinsTransactionsAndEachConfirmationR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + confirmationsCount: 3 + address: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -27262,544 +35585,336 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListWalletTransactionsR_data' + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationR_data' required: - apiVersion - data - requestId type: object - ListWalletTransactionsE401: + NewConfirmedCoinsTransactionsAndEachConfirmationE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListWalletTransactionsE400: + NewConfirmedCoinsTransactionsAndEachConfirmationE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListWalletTransactionsE403: + NewConfirmedCoinsTransactionsAndEachConfirmationE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' type: object - GetWalletTransactionDetailsByTransactionIDRIBSB: - description: Bitcoin - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 591 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 347 - type: integer - version: - description: Represents the transaction version number. - example: 2 - type: integer - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSB_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSB_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout + NewConfirmedCoinsTransactionsAndEachConfirmationE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' type: object - GetWalletTransactionDetailsByTransactionIDRIBSE: - description: Ethereum + MinedTransactionRI: + example: + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: TRANSACTION_MINED + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + transactionId: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - gasPrice: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSE_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "21000" + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 + type: integer + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: TRANSACTION_MINED type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer - transactionStatus: - description: String representation of the transaction status - example: 0x1 + transactionId: + description: Represents the unique identification string that defines the + transaction. + example: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 type: string required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus - type: object - GetWalletTransactionDetailsByTransactionIDRIBSL: - description: Litecoin - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 2 - type: integer - size: - description: Represents the total size of this transaction. - example: 223 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 141 - type: integer - version: - description: Represents the transaction version number. - example: 1 - type: integer - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSL_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - GetWalletTransactionDetailsByTransactionIDRIBSBC: - description: Bitcoin Cash - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 248 - type: integer - version: - description: Represents the transaction version number. - example: 1 - type: integer - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSBC_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSBC_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout + - callbackSecretKey + - callbackUrl + - createdTimestamp + - eventType + - isActive + - referenceId + - transactionId type: object - GetWalletTransactionDetailsByTransactionIDRIBSEC: - description: Ethereum Classic + MinedTransactionR: + example: + apiVersion: 2.0.0 + data: + item: + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: TRANSACTION_MINED + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + transactionId: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "552020" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSEC_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "24673" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer + data: + $ref: '#/components/schemas/MinedTransactionR_data' required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce + - apiVersion + - data + - requestId type: object - GetWalletTransactionDetailsByTransactionIDRIBSD: - description: Dogecoin - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 266 - type: integer - version: - description: Represents the transaction version number. - example: 1 - type: integer - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSD_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout + MinedTransactionE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' type: object - GetWalletTransactionDetailsByTransactionIDRIBSD2: - description: Dash - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 125 - type: integer - version: - description: Represents the transaction version number. - example: 1 - type: integer - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSD2_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout + MinedTransactionE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' type: object - GetWalletTransactionDetailsByTransactionIDRIBSZ: - description: Zcash + MinedTransactionE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' + type: object + MinedTransactionE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + NewBlockRI: + example: + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://yourURL.com + isActive: true + referenceId: 4c530a43-5602-41d9-bc69-156a0372f9aa properties: - bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. - example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 - type: string - expiryHeight: - description: Represents a block height after which the transaction will - expire. - example: 0 - type: integer - joinSplitPubKey: - description: Represents an encoding of a JoinSplitSig public validating - key. - example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - joinSplitSig: - description: Is used to sign transactions that contain at least one JoinSplit - description. - example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://yourURL.com type: string - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1781965 + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 type: integer - overwintered: - description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + isActive: + description: Defines whether the subscription is active or not. Set as boolean. example: true type: boolean - size: - description: Represents the total size of this transaction. - example: 234 - type: integer - vJoinSplit: - description: Represents a sequence of JoinSplit descriptions using BCTV14 - proofs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vJoinSplit' - type: array - vShieldedOutput: - description: Object Array representation of transaction output descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' - type: array - vShieldedSpend: - description: Object Array representation of transaction spend descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' - type: array - valueBalance: - description: String representation of the transaction value balance - example: "0" - type: string - version: - description: Represents the transaction version number. - example: 1 - type: integer - versionGroupId: - description: Represents the transaction version group ID. - example: 0x892f2085 + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 4c530a43-5602-41d9-bc69-156a0372f9aa type: string - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSZ_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/ListTransactionsByBlockHeightRIBSZ_vout' - type: array required: - - bindingSig - - expiryHeight - - joinSplitPubKey - - joinSplitSig - - locktime - - overwintered - - size - - valueBalance - - version - - versionGroupId - - vin - - vout + - callbackSecretKey + - callbackUrl + - createdTimestamp + - isActive + - referenceId type: object - GetWalletTransactionDetailsByTransactionIDRIBSBSC: - description: Binance Smart Chain + NewBlockR: + example: + apiVersion: 2.0.0 + data: + item: + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://yourURL.com + isActive: true + referenceId: 4c530a43-5602-41d9-bc69-156a0372f9aa + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - contract: - description: Represents the specific transaction contract - example: 0x0000000000000000000000000000000000001000 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBSC_gasPrice' - gasUsed: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. - example: "21000" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 25341 - type: integer + data: + $ref: '#/components/schemas/NewBlockR_data' required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce + - apiVersion + - data + - requestId type: object - GetWalletTransactionDetailsByTransactionIDRI: - example: - recipients: - - amount: "0.00004069" - address: tb1qrktdykdjcjeuy2cfzgfjg0ky6sxaf82v8tn2dg - - amount: "0.00004069" - address: tb1qrktdykdjcjeuy2cfzgfjg0ky6sxaf82v8tn2dg - fee: - amount: "0.00003812" - unit: BTC - minedInBlockHeight: 1250283 - index: 21 - isConfirmed: true - minedInBlockHash: 0000000000503b5200a935cfa9e7740783b5f2292aaad3bf273554abfb3d91ce - senders: - - amount: "0.00001681" - address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF - - amount: "0.00001681" - address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF - transactionHash: c58148bb37b9be020338e427784580b58e0b497ce32d7eddf812de6a1a0d3133 - transactionId: 3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80 - timestamp: 1636972451 + NewBlockE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + NewBlockE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + NewBlockE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' + type: object + NewBlockE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + ListBlockchainEventsSubscriptionsRI: properties: - index: - description: Represents the index position of the transaction in the specific - block. - example: 21 - type: integer - isConfirmed: - description: Represents the state of the transaction whether it is confirmed - or not confirmed. - example: true - type: boolean - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 0000000000503b5200a935cfa9e7740783b5f2292aaad3bf273554abfb3d91ce + address: + description: Represents the address of the transaction. + example: tb1qtm44m6xmuasy4sc7nl7thvuxcerau2dfvkkgsc type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 1250283 + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 5 type: integer - recipients: - description: Object Array representation of transaction receivers - items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRI_recipients' - type: array - senders: - description: Object Array representation of transaction senders + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1966238648 + type: integer + deactivationReasons: + description: "Represents the deactivation reason details, available when\ + \ a blockchain event subscription has status isActive - false." items: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRI_senders' + $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsRI_deactivationReasons' type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1636972451 - type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: c58148bb37b9be020338e427784580b58e0b497ce32d7eddf812de6a1a0d3133 + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: BLOCK_MINED + type: string + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80 + description: Represents the unique identification string that defines the + transaction. + example: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 type: string - fee: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRI_fee' - blockchainSpecific: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBS' required: - - blockchainSpecific - - fee - - index - - isConfirmed - - recipients - - senders - - timestamp - - transactionHash - - transactionId - type: object - GetWalletTransactionDetailsByTransactionIDRIBS: - oneOf: - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSB' - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSE' - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSL' - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSBC' - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSEC' - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSD' - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSD2' - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSZ' - - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDRIBSBSC' + - address + - callbackUrl + - confirmationsCount + - createdTimestamp + - eventType + - isActive + - referenceId type: object - GetWalletTransactionDetailsByTransactionIDR: + ListBlockchainEventsSubscriptionsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - recipients: - - amount: "0.00004069" - address: tb1qrktdykdjcjeuy2cfzgfjg0ky6sxaf82v8tn2dg - - amount: "0.00004069" - address: tb1qrktdykdjcjeuy2cfzgfjg0ky6sxaf82v8tn2dg - fee: - amount: "0.00003812" - unit: BTC - minedInBlockHeight: 1250283 - index: 21 - isConfirmed: true - minedInBlockHash: 0000000000503b5200a935cfa9e7740783b5f2292aaad3bf273554abfb3d91ce - senders: - - amount: "0.00001681" - address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF - - amount: "0.00001681" - address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF - transactionHash: c58148bb37b9be020338e427784580b58e0b497ce32d7eddf812de6a1a0d3133 - transactionId: 3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80 - timestamp: 1636972451 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -27811,70 +35926,152 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDR_data' + $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsR_data' required: - apiVersion - data - requestId type: object - GetWalletTransactionDetailsByTransactionIDE401: + ListBlockchainEventsSubscriptionsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetWalletTransactionDetailsByTransactionIDE400: + ListBlockchainEventsSubscriptionsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetWalletTransactionDetailsByTransactionIDE403: + ListBlockchainEventsSubscriptionsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetHDWalletXPubYPubZPubDetailsRI: + GetBlockchainEventSubscriptionDetailsByReferenceIDRI: example: - confirmedBalance: "0.0021" - totalSpent: "0.0001" - totalReceived: "0.0002" + confirmationsCount: 5 + address: tb1qtm44m6xmuasy4sc7nl7thvuxcerau2dfvkkgsc + blockchain: bitcoin + deactivationReasons: + - reason: maximum_retry_attempts_reached + timestamp: 1642102581 + - reason: maximum_retry_attempts_reached + timestamp: 1642102581 + createdTimestamp: 1966238648 + callbackSecretKey: yourSecretKey + callbackUrl: http://example.com + eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED + isActive: false + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + transactionId: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 + network: testnet properties: - confirmedBalance: - description: Specifies the confirmed coins balance of the Wallet. - example: "0.0021" + address: + description: Represents the address of the transaction. + example: tb1qtm44m6xmuasy4sc7nl7thvuxcerau2dfvkkgsc type: string - totalReceived: - description: Defines the total currency received to the Wallet. - example: "0.0002" + blockchain: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin type: string - totalSpent: - description: Defines the total currency spent from the Wallet. - example: "0.0001" + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. + example: http://example.com + type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 5 + type: integer + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1966238648 + type: integer + deactivationReasons: + description: "Represents the deactivation reason details, available when\ + \ a blockchain event subscription has status isActive - false." + items: + $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsRI_deactivationReasons' + type: array + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_COINS_TRANSACTION_CONFIRMED + type: string + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: false + type: boolean + network: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + type: string + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + type: string + transactionId: + description: Represents the unique identification string that defines the + transaction. + example: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 type: string required: - - confirmedBalance - - totalReceived - - totalSpent + - blockchain + - callbackUrl + - createdTimestamp + - eventType + - isActive + - network + - referenceId type: object - GetHDWalletXPubYPubZPubDetailsR: + GetBlockchainEventSubscriptionDetailsByReferenceIDR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - confirmedBalance: "0.0021" - totalSpent: "0.0001" - totalReceived: "0.0002" + confirmationsCount: 5 + address: tb1qtm44m6xmuasy4sc7nl7thvuxcerau2dfvkkgsc + blockchain: bitcoin + deactivationReasons: + - reason: maximum_retry_attempts_reached + timestamp: 1642102581 + - reason: maximum_retry_attempts_reached + timestamp: 1642102581 + createdTimestamp: 1966238648 + callbackSecretKey: yourSecretKey + callbackUrl: http://example.com + eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED + isActive: false + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + transactionId: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 + network: testnet requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -27886,111 +36083,141 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsR_data' + $ref: '#/components/schemas/GetBlockchainEventSubscriptionDetailsByReferenceIDR_data' required: - apiVersion - data - requestId type: object - GetHDWalletXPubYPubZPubDetailsE401: + GetBlockchainEventSubscriptionDetailsByReferenceIDE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetHDWalletXPubYPubZPubDetailsE400: + GetBlockchainEventSubscriptionDetailsByReferenceIDE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' - - $ref: '#/components/schemas/InvalidXpub' - - $ref: '#/components/schemas/InvalidBlockchain' - - $ref: '#/components/schemas/InvalidNetwork' - - $ref: '#/components/schemas/XpubNotSynced' type: object - GetHDWalletXPubYPubZPubDetailsE403: + GetBlockchainEventSubscriptionDetailsByReferenceIDE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetHDWalletXPubYPubZPubDetailsE422: - oneOf: - - $ref: '#/components/schemas/InvalidRequestBodyStructure' - - $ref: '#/components/schemas/XpubSyncInProgress' - type: object - ListInternalTransactionDetailsByTransactionHashRI: + ActivateBlockchainEventSubscriptionRI: + example: + confirmationsCount: 2 + address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + blockchain: bitcoin + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 + network: testnet properties: - amount: - description: Defines the specific amount of the transaction. - example: "0.089286906469667626" + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 type: string - blockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 0x85d538e441835ea749738cf690b676099d869059815842a7bde3259c58ff29eb + blockchain: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin type: string - blockHeight: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 12561919 - type: integer - operationID: - description: Represents the unique internal transaction ID in regards to - the parent transaction (type trace address). - example: call_1 + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our Documentation." + example: yourSecretKey type: string - operationType: - description: Defines the call type of the internal transaction. - example: CALL + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - parentHash: - description: Defines the specific hash of the parent transaction. - example: 0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 2 + type: integer + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 + type: integer + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_TOKENS_TRANSACTION_CONFIRMED type: string - recipient: - description: Represents the recipient address with the respective amount. - example: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + network: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + example: testnet type: string - sender: - description: Represents the sender address with the respective amount. - example: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + type: string + transactionId: + description: Represents the unique identification string that defines the + transaction. + example: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 type: string - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1622728329 - type: integer required: - - amount - - blockHash - - blockHeight - - operationID - - operationType - - parentHash - - recipient - - sender - - timestamp + - address + - blockchain + - callbackSecretKey + - callbackUrl + - confirmationsCount + - createdTimestamp + - eventType + - isActive + - network + - referenceId + - transactionId type: object - ListInternalTransactionDetailsByTransactionHashR: + ActivateBlockchainEventSubscriptionR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + confirmationsCount: 2 + address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + blockchain: bitcoin + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 + network: testnet requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -28002,111 +36229,92 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListInternalTransactionDetailsByTransactionHashR_data' + $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionR_data' required: - apiVersion - data - requestId type: object - ListInternalTransactionDetailsByTransactionHashE401: + ActivateBlockchainEventSubscriptionE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListInternalTransactionDetailsByTransactionHashE400: + ActivateBlockchainEventSubscriptionE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListInternalTransactionDetailsByTransactionHashE403: + ActivateBlockchainEventSubscriptionE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListHDWalletXPubYPubZPubTransactionsRI: + DeleteBlockchainEventSubscriptionRI: + example: + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED + referenceId: 6de9a6ae-1463-458c-81a5-16d68d108012 properties: - index: - description: Represents the index position of the transaction in the block. - example: 1 - type: integer - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 1903849 - type: integer - recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. - items: - $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsRI_recipients' - type: array - senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. - items: - $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsRI_senders' - type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1582202940 + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: 1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2 + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_COINS_TRANSACTION_UNCONFIRMED type: string - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 6de9a6ae-1463-458c-81a5-16d68d108012 type: string - fee: - $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsRI_fee' required: - - fee - - index - - minedInBlockHash - - minedInBlockHeight - - recipients - - senders - - timestamp - - transactionHash - - transactionId + - callbackSecretKey + - callbackUrl + - createdTimestamp + - eventType + - referenceId type: object - ListHDWalletXPubYPubZPubTransactionsR: + DeleteBlockchainEventSubscriptionR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED + referenceId: 6de9a6ae-1463-458c-81a5-16d68d108012 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -28118,119 +36326,109 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsR_data' + $ref: '#/components/schemas/DeleteBlockchainEventSubscriptionR_data' required: - apiVersion - data - requestId type: object - ListHDWalletXPubYPubZPubTransactionsE401: + DeleteBlockchainEventSubscriptionE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListHDWalletXPubYPubZPubTransactionsE400: + DeleteBlockchainEventSubscriptionE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' - - $ref: '#/components/schemas/InvalidXpub' - - $ref: '#/components/schemas/InvalidBlockchain' - - $ref: '#/components/schemas/InvalidNetwork' - - $ref: '#/components/schemas/XpubNotSynced' type: object - ListHDWalletXPubYPubZPubTransactionsE403: + DeleteBlockchainEventSubscriptionE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListHDWalletXPubYPubZPubTransactionsE422: - oneOf: - - $ref: '#/components/schemas/InvalidRequestBodyStructure' - - $ref: '#/components/schemas/XpubSyncInProgress' - type: object - GetInternalTransactionByTransactionHashAndOperationIdRI: + GetAddressDetailsFromCallbackRI: example: - blockHash: 0x61262bd96d7cf50884e8ce61a5cf978d748417d28d3d76aea889346f050a2fbb - amount: "0.000479716904346335" - blockHeight: 12561779 - sender: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d - recipient: 0xef7cfdee2f0ef5ae5e0c60098c8838fa7822754e - operationType: CALL - parentHash: 0x92bb77e16444e0417c8b50dfab68e89c7ad27d4140a766c3bbd4d0ac195f12fc - timestamp: 1622726449 + confirmedBalance: + amount: "3.5" + unit: BTC + sequence: 25648975 + incomingTransactionsCount: 2 + totalSpent: + amount: "2.1" + unit: BTC + totalReceived: + amount: "5.6" + unit: BTC + outgoingTransactionsCount: 2 + transactionsCount: 5 properties: - amount: - description: Defines the specific amount of the transaction. - example: "0.000479716904346335" - type: string - blockHash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 0x61262bd96d7cf50884e8ce61a5cf978d748417d28d3d76aea889346f050a2fbb - type: string - blockHeight: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 12561779 + incomingTransactionsCount: + description: Defines the count of the incoming transactions. + example: 2 type: integer - operationType: - description: Defines the specific type of the operation. - example: CALL - type: string - parentHash: - description: Defines the specific hash of the parent transaction. - example: 0x92bb77e16444e0417c8b50dfab68e89c7ad27d4140a766c3bbd4d0ac195f12fc - type: string - recipient: - description: Represents the recipient address with the respective amount. - example: 0xef7cfdee2f0ef5ae5e0c60098c8838fa7822754e - type: string - sender: - description: Represents the sender address with the respective amount. - example: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d - type: string - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1622726449 + outgoingTransactionsCount: + description: Defines the count of the outgoing transactions. + example: 2 + type: integer + transactionsCount: + description: "Represents the total number of confirmed coins transactions\ + \ for this address, both incoming and outgoing. Applies for coins only\ + \ **and not** tokens transfers e.g. for Ethereum. `transactionsCount`\ + \ could result as less than incoming and outgoing transactions put together\ + \ (e.g. in Bitcoin), due to the fact that one and the same address could\ + \ be in senders and receivers addresses." + example: 5 + type: integer + confirmedBalance: + $ref: '#/components/schemas/GetAddressDetailsRI_confirmedBalance' + totalReceived: + $ref: '#/components/schemas/GetAddressDetailsFromCallbackRI_totalReceived' + totalSpent: + $ref: '#/components/schemas/GetAddressDetailsFromCallbackRI_totalSpent' + sequence: + description: "Defines the transaction input's sequence as an integer, which\ + \ is is used when transactions are replaced with newer versions before\ + \ LockTime." + example: 25648975 + format: int64 type: integer required: - - amount - - blockHash - - blockHeight - - operationType - - parentHash - - recipient - - sender - - timestamp + - confirmedBalance + - incomingTransactionsCount + - outgoingTransactionsCount + - transactionsCount type: object - GetInternalTransactionByTransactionHashAndOperationIdR: + GetAddressDetailsFromCallbackR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - blockHash: 0x61262bd96d7cf50884e8ce61a5cf978d748417d28d3d76aea889346f050a2fbb - amount: "0.000479716904346335" - blockHeight: 12561779 - sender: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d - recipient: 0xef7cfdee2f0ef5ae5e0c60098c8838fa7822754e - operationType: CALL - parentHash: 0x92bb77e16444e0417c8b50dfab68e89c7ad27d4140a766c3bbd4d0ac195f12fc - timestamp: 1622726449 + confirmedBalance: + amount: "3.5" + unit: BTC + sequence: 25648975 + incomingTransactionsCount: 2 + totalSpent: + amount: "2.1" + unit: BTC + totalReceived: + amount: "5.6" + unit: BTC + outgoingTransactionsCount: 2 + transactionsCount: 5 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -28242,45 +36440,44 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetInternalTransactionByTransactionHashAndOperationIdR_data' + $ref: '#/components/schemas/GetAddressDetailsFromCallbackR_data' required: - apiVersion - data - requestId type: object - GetInternalTransactionByTransactionHashAndOperationIdE401: + GetAddressDetailsFromCallbackE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetInternalTransactionByTransactionHashAndOperationIdE400: + GetAddressDetailsFromCallbackE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetInternalTransactionByTransactionHashAndOperationIdE403: + GetAddressDetailsFromCallbackE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - BlockchainDataInternalTransactionNotFound: - description: blockchain_data_internal_transaction_not_found + BlockchainDataAddressEventSubscriptionNotFound: + description: blockchain_data_address_event_subscription_not_found properties: code: - description: Specifies an error code, e.g. error 404. - example: blockchain_data_internal_transaction_not_found + description: "Specifies an error code, e.g. error 404." + example: blockchain_data_address_event_subscription_not_found type: string message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The specified internal transaction has not been found on the specific - blockchain. + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The provided address has no subscriptions. type: string details: items: @@ -28290,540 +36487,598 @@ components: - code - message type: object - ListInternalTransactionsByAddressRI: + GetTransactionDetailsByTransactionIDFromCallbackRIBSB: + description: Bitcoin properties: - amount: - description: Defines the specific amount of the transaction. - example: "0.089286906469667626" - type: string - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 0x85ce0aa9628726c60db14526be8a2b823084b1f4c3dcccdc10b0235f23a49e66 - type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 11135508 + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + format: int64 type: integer - operationID: - description: Represents the unique internal transaction ID in regards to - the parent transaction (type trace address). - example: call_1 - type: string - operationType: - description: Defines the call type of the internal transaction. - example: CALL - type: string - parentHash: - description: Defines the specific hash of the parent transaction. - example: 0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a - type: string - recipient: - description: Represents the recipient address with the respective amount. - example: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 - type: string - sender: - description: Represents the sender address with the respective amount. - example: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d - type: string - timestamp: - example: 1582202940 + size: + description: Represents the total size of this transaction. + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 223 + type: integer + version: + description: Represents the transaction version number. + example: 2 type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSB_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB_vout' + type: array required: - - amount - - minedInBlockHash - - minedInBlockHeight - - operationID - - operationType - - parentHash - - recipient - - sender - - timestamp + - locktime + - size + - vSize + - version + - vin + - vout type: object - ListInternalTransactionsByAddressR: - example: - apiVersion: "2.0" - data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetTransactionDetailsByTransactionIDFromCallbackRIBSE: + description: Ethereum properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSE_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "24673" + type: string + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer + transactionStatus: + description: Represents the status of this transaction. + example: 0x1 type: string - data: - $ref: '#/components/schemas/ListInternalTransactionsByAddressR_data' required: - - apiVersion - - data - - requestId - type: object - ListInternalTransactionsByAddressE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListInternalTransactionsByAddressE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce + - transactionStatus type: object - ListInternalTransactionsByAddressE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + GetTransactionDetailsByTransactionIDFromCallbackRIBSBC: + description: Bitcoin Cash + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 1781965 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 248 + type: integer + version: + description: Represents transaction version number. + example: 1 + type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vout' + type: array + required: + - locktime + - size + - version + - vin + - vout type: object - ListUnspentTransactionOutputsByAddressRI: + GetTransactionDetailsByTransactionIDFromCallbackRIBSL: + description: Litecoin properties: - index: - description: Represents the index position of the transaction in the block. + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 2 + format: int64 + type: integer + size: + description: Represents the total size of this transaction. + example: 223 + type: integer + vSize: + description: Represents the virtual size of this transaction. + example: 141 + type: integer + version: + description: Represents transaction version number. example: 1 type: integer + vin: + description: Represents the transaction inputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vin' + type: array + vout: + description: Represents the transaction outputs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' + type: array + required: + - locktime + - size + - vSize + - version + - vin + - vout + type: object + GetTransactionDetailsByTransactionIDFromCallbackRIBSD: + description: Dash + properties: locktime: description: Represents the time at which a particular transaction can be - added to the blockchain - example: 1781965 + added to the blockchain. + example: 0 + format: int64 type: integer - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db - type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 1903849 + size: + description: Represents the total size of this transaction. + example: 125 + type: integer + version: + description: Represents transaction version number. + example: 1 type: integer - recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. + vin: + description: Represents the transaction inputs. items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRI_recipients' + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD_vin' type: array - senders: - description: Object Array representation of transaction senders + vout: + description: Represents the transaction outputs. items: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressRI_senders' + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2_vout' type: array - size: - description: Represents the total size of this transaction - example: 248 + required: + - locktime + - size + - version + - vin + - vout + type: object + GetTransactionDetailsByTransactionIDFromCallbackRIBSD2: + description: Dogecoin + properties: + locktime: + description: Represents the time at which a particular transaction can be + added to the blockchain. + example: 0 + format: int64 type: integer - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1582202940 + size: + description: Represents the total size of this transaction. + example: 266 type: integer - transactionHash: - description: Represents the same as `transactionId` for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` - for SegWit transactions. - example: d52da8685adf02b11b72ca8dcf26b38b257bb04a1666cb7195400a3cfc87ae17 - type: string - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250 - type: string version: - description: Represents the transaction version number. + description: Represents transaction version number. example: 1 type: integer vin: description: Represents the transaction inputs. items: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressRI_vin' + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2_vin' type: array vout: description: Represents the transaction outputs. items: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressRIBSB_vout' + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2_vout' type: array - fee: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressRI_fee' - blockchainSpecific: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressRI_blockchainSpecific' required: - - blockchainSpecific - - fee - - index - locktime - - minedInBlockHash - - minedInBlockHeight - - recipients - - senders - size - - timestamp - - transactionHash - - transactionId - version - vin - vout type: object - ListUnspentTransactionOutputsByAddressR: - example: - apiVersion: "2.0" - data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetTransactionDetailsByTransactionIDFromCallbackRIBSZ: + description: Zcash properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + bindingSig: + description: "It is used to enforce balance of Spend and Output transfers,\ + \ in order to prevent their replay across transactions." + example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + expiryHeight: + description: Represents a block height after which the transaction will + expire. + example: 0 + type: integer + joinSplitPubKey: + description: Represents an encoding of a JoinSplitSig public validating + key. + example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + joinSplitSig: + description: Is used to sign transactions that contain at least one JoinSplit + description. + example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a type: string - data: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressR_data' + locktime: + description: "Represents the locktime on the transaction on the specific\ + \ blockchain, i.e. the blockheight at which the transaction is valid." + example: 1781965 + format: int64 + type: integer + overwintered: + description: '"Overwinter" is the network upgrade for the Zcash blockchain.' + example: true + type: boolean + size: + description: Represents the total size of this transaction. + example: 234 + type: integer + vJoinSplit: + description: Represents a sequence of JoinSplit descriptions using BCTV14 + proofs. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vJoinSplit' + type: array + vShieldedOutput: + description: Object Array representation of transaction output descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' + type: array + vShieldedSpend: + description: Object Array representation of transaction spend descriptions + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' + type: array + valueBalance: + description: String representation of the transaction value balance + example: "0" + type: string + version: + description: Defines the version of the transaction. + example: 1 + type: integer + versionGroupId: + description: Represents the transaction version group ID + example: 0x892f2085 + type: string + vin: + description: Object Array representation of transaction inputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vin' + type: array + vout: + description: Object Array representation of transaction outputs + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' + type: array required: - - apiVersion - - data - - requestId - type: object - ListUnspentTransactionOutputsByAddressE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListUnspentTransactionOutputsByAddressE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListUnspentTransactionOutputsByAddressE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - bindingSig + - expiryHeight + - joinSplitPubKey + - joinSplitSig + - locktime + - overwintered + - size + - vJoinSplit + - vShieldedOutput + - vShieldedSpend + - valueBalance + - version + - versionGroupId + - vin + - vout type: object - GetFeeRecommendationsRI: - example: - standard: "0.00000021" - unit: BTC - fast: "0.00000021" - slow: "0.00000021" + GetTransactionDetailsByTransactionIDFromCallbackRIBSEC: + description: Ethereum Classic properties: - unit: - description: Defines the unit of the fee, e.g. BTC. - example: BTC + contract: + description: Represents the specific transaction contract. + example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 type: string - fast: - description: Fast fee per byte calculated from unconfirmed transactions - example: "0.00000021" + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "552020" type: string - slow: - description: Slow fee per byte calculated from unconfirmed transactions - example: "0.00000021" + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSEC_gasPrice' + gasUsed: + description: Represents the exact unit of gas that was used for the transaction. + example: "24673" type: string - standard: - description: Standard fee per byte calculated from unconfirmed transactions - example: "0.00000021" + inputData: + description: Represents additional information that is required for the + transaction. + example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 + type: integer required: - - fast - - slow - - standard - - unit + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce type: object - GetFeeRecommendationsR: - example: - apiVersion: "2.0" - data: - item: - standard: "0.00000021" - unit: BTC - fast: "0.00000021" - slow: "0.00000021" - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC: + description: Binance Smart Chain properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + contract: + description: Represents the specific transaction contract + example: 0x0000000000000000000000000000000000001000 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "21000" type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBSC_gasPrice' + gasUsed: + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." + example: "21000" type: string - data: - $ref: '#/components/schemas/GetFeeRecommendationsR_data' + inputData: + description: Represents additional information that is required for the + transaction. + example: 0x + type: string + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 25341 + type: integer required: - - apiVersion - - data - - requestId - type: object - GetFeeRecommendationsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetFeeRecommendationsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetFeeRecommendationsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - contract + - gasLimit + - gasPrice + - gasUsed + - inputData + - nonce type: object - ListTokensTransfersByTransactionHashRI: + GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2: + description: Zilliqa properties: - contractAddress: - description: Represents the contract address of the token, which controls - its logic. It is not the address that holds the tokens. - example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - type: string - minedInBlockHeight: - description: Defines the block height in which this transaction was confirmed/mined. - example: 9841271 + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 552020 type: integer - recipientAddress: - description: Defines the address to which the recipient receives the transferred - tokens. - example: 0x9e91eb3a35b96f0f0fe71f3c17fe8d29eb406b16 - type: string - senderAddress: - description: Defines the address from which the sender transfers tokens. - example: 0x9df8a6441e8a3dda75019595d431f9aa0dec475c - type: string - tokenDecimals: - description: Defines the decimals of the token, i.e. the number of digits - that come after the decimal coma of the token. - example: 6 + gasPrice: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2_gasPrice' + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 24673 type: integer - tokenName: - description: Defines the token's name as a string. - example: Tether USD - type: string - tokenSymbol: - description: Defines the token symbol by which the token contract is known. - It is usually 3-4 characters in length. - example: BAND - type: string - tokenType: - description: Defines the specific token type. - example: ERC-20 - type: string - tokensAmount: - description: Defines the token amount of the transfer. - example: "0.0012" - type: string - transactionHash: - description: Represents the hash of the transaction, which is its unique - identifier. It represents a cryptographic digital fingerprint made by - hashing the block header twice through the SHA256 algorithm. - example: 0x60ba3dded833e61f63b6b6d62afe5c7526c5ca09c6744749f13eef11afde2cb4 - type: string - transactionTimestamp: - description: Defines the specific time/date when the transaction was created - in Unix Timestamp. - example: 1615818368 + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: 16 type: integer + transactionStatus: + description: Represents the status of this transaction. + example: 0x1 + type: string required: - - contractAddress - - minedInBlockHeight - - recipientAddress - - senderAddress - - tokenDecimals - - tokenName - - tokenSymbol - - tokenType - - tokensAmount - - transactionHash - - transactionTimestamp + - gasLimit + - gasPrice + - gasUsed + - nonce + - transactionStatus type: object - ListTokensTransfersByTransactionHashR: - example: - apiVersion: "2.0" - data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetTransactionDetailsByTransactionIDFromCallbackRIBSX: + description: XRP properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + additionalData: + description: Represents additional data that may be needed. + example: rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + destinationTag: + description: Defines the destination tag value. + example: 3999472835 + format: int64 + type: integer + offer: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_offer' + receive: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_receive' + sequence: + description: "Defines the transaction input's sequence as an integer, which\ + \ is is used when transactions are replaced with newer versions before\ + \ LockTime." + example: 4294967295 + format: int64 + type: integer + status: + description: Defines the status of the transaction. + example: tesSUCCESS type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + type: + description: Defines the type of the transaction. + example: Payment type: string - data: - $ref: '#/components/schemas/ListTokensTransfersByTransactionHashR_data' + value: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSX_value' required: - - apiVersion - - data - - requestId - type: object - ListTokensTransfersByTransactionHashE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListTokensTransfersByTransactionHashE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListTokensTransfersByTransactionHashE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - additionalData + - offer + - receive + - sequence + - status + - type + - value type: object - ListConfirmedTokensTransfersByAddressRI: + GetTransactionDetailsByTransactionIDFromCallbackRI: + example: + recipients: + - amount: "0.00001600" + address: 2NGHH9qxCADY5eTNFUKobi1xiMWoW6FYSCd + - amount: "0.00001600" + address: 2NGHH9qxCADY5eTNFUKobi1xiMWoW6FYSCd + fee: + amount: "0.00000300" + unit: BTC + minedInBlockHeight: 2105197 + index: 44 + minedInBlockHash: 00000000cc8c79e1a80d14873ee7e319f8d2525354be26ace50796444a1e0764 + isConfirmed: true + blockchainSpecific: null + senders: + - amount: "0.00002000" + address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb + - amount: "0.00002000" + address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb + transactionHash: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 + timestamp: 1637751304 properties: - contractAddress: - description: Represents the contract address of the token, which controls - its logic. It is not the address that holds the tokens. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 - type: string - minedInBlockHeight: - description: Defines the block height in which this transaction was confirmed/mined. - example: 12046964 + index: + description: Represents the index position of the transaction in the specific + block. + example: 44 type: integer - recipientAddress: - description: Defines the address to which the recipient receives the transferred - tokens. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 - type: string - senderAddress: - description: Defines the address from which the sender transfers tokens. - example: 0x65b895f400dae5541d70cbbec07527210158f6e2 + minedInBlockHash: + description: Represents the hash of the block where this transaction was + mined/confirmed for first time. The hash is defined as a cryptographic + digital fingerprint made by hashing the block header twice through the + SHA256 algorithm. + example: 00000000cc8c79e1a80d14873ee7e319f8d2525354be26ace50796444a1e0764 type: string - tokenDecimals: - description: Defines the decimals of the token, i.e. the number of digits - that come after the decimal coma of the token. - example: 6 + minedInBlockHeight: + description: Represents the hight of the block where this transaction was + mined/confirmed for first time. The height is defined as the number of + blocks in the blockchain preceding this specific block. + example: 2105197 + type: integer + recipients: + description: Represents a list of recipient addresses with the respective + amounts. In account-based protocols like Ethereum there is only one address + in this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRI_recipients' + type: array + senders: + description: Represents a list of sender addresses with the respective amounts. + In account-based protocols like Ethereum there is only one address in + this list. + items: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRI_senders' + type: array + timestamp: + description: "Defines the exact date/time in Unix Timestamp when this transaction\ + \ was mined, confirmed or first seen in Mempool, if it is unconfirmed." + example: 1637751304 type: integer - tokenId: - description: Represents the unique token identifier. - example: "16721" - type: string - tokenName: - description: Defines the token's name as a string. - example: Tether USD - type: string - tokenSymbol: - description: Defines the token symbol by which the token contract is known. - It is usually 3-4 characters in length. - example: USDT - type: string - tokenType: - description: Defines the specific token type. - example: ERC-20 - type: string - tokensAmount: - description: Defines the token amount of the transfer. - example: "9.146383" - type: string transactionHash: - description: Represents the hash of the transaction, which is its unique - identifier. It represents a cryptographic digital fingerprint made by - hashing the block header twice through the SHA256 algorithm. - example: 0x32de09d747bcbed41e8162681a72b2a6c760cf2116ce372fcd357c260909838a + description: "Represents the same as transactionId for account-based protocols\ + \ like Ethereum, while it could be different in UTXO-based protocols like\ + \ Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId\ + \ for SegWit transactions." + example: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 type: string - transactionTimestamp: - description: Defines the specific time/date when the transaction was created - in Unix Timestamp. - example: 1615861410 - type: integer + fee: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRI_fee' + isConfirmed: + example: true + type: boolean + blockchainSpecific: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBS' required: - - contractAddress + - blockchainSpecific + - fee + - index + - isConfirmed + - minedInBlockHash - minedInBlockHeight - - recipientAddress - - senderAddress - - tokenDecimals - - tokenName - - tokenSymbol - - tokenType + - recipients + - senders + - timestamp - transactionHash - - transactionTimestamp type: object - ListConfirmedTokensTransfersByAddressR: + GetTransactionDetailsByTransactionIDFromCallbackRIBS: + oneOf: + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSB' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSE' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSBC' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSL' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSEC' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2' + - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSX' + type: object + GetTransactionDetailsByTransactionIDFromCallbackR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + recipients: + - amount: "0.00001600" + address: 2NGHH9qxCADY5eTNFUKobi1xiMWoW6FYSCd + - amount: "0.00001600" + address: 2NGHH9qxCADY5eTNFUKobi1xiMWoW6FYSCd + fee: + amount: "0.00000300" + unit: BTC + minedInBlockHeight: 2105197 + index: 44 + minedInBlockHash: 00000000cc8c79e1a80d14873ee7e319f8d2525354be26ace50796444a1e0764 + isConfirmed: true + blockchainSpecific: null + senders: + - amount: "0.00002000" + address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb + - amount: "0.00002000" + address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb + transactionHash: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 + timestamp: 1637751304 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -28835,646 +37090,686 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressR_data' + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackR_data' required: - apiVersion - data - requestId type: object - ListConfirmedTokensTransfersByAddressE401: + GetTransactionDetailsByTransactionIDFromCallbackE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListConfirmedTokensTransfersByAddressE400: + GetTransactionDetailsByTransactionIDFromCallbackE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListConfirmedTokensTransfersByAddressE403: + GetTransactionDetailsByTransactionIDFromCallbackE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ListTokensByAddressRI: + GetBlockDetailsByBlockHashFromCallbackRIBSB: + description: Bitcoin properties: - confirmedBalance: - description: Defines the token balance that has been confirmed. - example: "287090.926632" + bits: + description: "A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and\ + \ is the same as microbitcoin (μBTC). Bits have two-decimal precision." + example: "386689514" type: string - contractAddress: - description: Represents the contract address of the token, which controls - its logic. It is not the address that holds the tokens. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 00000000000000000000000000000000000000001932c1bc515b0c0e0dee2040 type: string - name: - description: Defines the token's name as a string. - example: Tether USD + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string - symbol: - description: Defines the token symbol by which the token contract is known. - It is usually 3-4 characters in length. - example: USDT + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 02754414626473fa39a0cfbf8d1960fc17ba932ab586340f61f039114053e851 type: string - type: - description: Defines the specific token type. - example: ERC-20 + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 2113101077 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 925958 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536928256 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "2000000" type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 3999412 + type: integer required: - - confirmedBalance - - contractAddress - - name - - symbol - - type + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize + - version + - versionHex + - weight type: object - ListTokensByAddressR: - example: - apiVersion: "2.0" - data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHashFromCallbackRIBSBC: + description: Bitcoin Cash properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + bits: + description: "A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and\ + \ is the same as microbitcoincash (μBCH). Bits have two-decimal precision." + example: "386689514" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000015dc8754d8bfaedfffbb3bd type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "5399792.015244232" + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 543872ba53c13183f951d76dd5933f98900a1bf9b3eef716857dfcc3c0534dfb + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 1923421957 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 191 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 545259520 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" type: string - data: - $ref: '#/components/schemas/ListTokensByAddressR_data' required: - - apiVersion - - data - - requestId - type: object - ListTokensByAddressE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListTokensByAddressE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListTokensByAddressE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + - versionHex type: object - GetTokenDetailsByContractAddressRI: - example: - tokenSymbol: BAND - tokenDecimals: "18" - totalSupply: "1000000" - tokenName: Band Protocol - tokenType: ERC-20 + GetBlockDetailsByBlockHashFromCallbackRIBSL: + description: Litecoin properties: - tokenDecimals: - description: Defines the number of decimals that the token possesses. - example: "18" + bits: + description: Represents a specific sub-unit of Litecoin. Bits have two-decimal + precision. + example: "436301753" type: string - tokenName: - description: Specifies the token's name. - example: Band Protocol + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000006c61f0fce4b57f08ff4 type: string - tokenSymbol: - description: Defines the unique symbol of the token. - example: BAND + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "11679731.14248383" type: string - tokenType: - description: Defines the type of the token. - example: ERC-20 + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 0ea8cea078d2338ce92e62d3275c92682d0a1879ddf861a7ce16889a24deccd2 type: string - totalSupply: - description: Defines the total number of tokens created that exist on the - market minus the ones that have been burned. - example: "1000000" + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 3021194134 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 300998 + type: integer + strippedsize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 220208 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536870916 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000004" type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 961622 + type: integer required: - - tokenDecimals - - tokenType - - totalSupply + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedsize + - version + - versionHex + - weight type: object - GetTokenDetailsByContractAddressR: - example: - apiVersion: "2.0" - data: - item: - tokenSymbol: BAND - tokenDecimals: "18" - totalSupply: "1000000" - tokenName: Band Protocol - tokenType: ERC-20 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHashFromCallbackRIBSD: + description: Dash properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + bits: + description: Represents a specific sub-unit of Dash. Bits have two-decimal + precision. + example: "421808151" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000065cbab6e72cb49a0c2f7 type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "118376853.4818659" + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 1cee8c0df02427cbcfd2d2a88678848b4c08eb89d580df34a52464a6fed4df7f + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 3850564744 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 26171 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" type: string - data: - $ref: '#/components/schemas/GetTokenDetailsByContractAddressR_data' required: - - apiVersion - - data - - requestId - type: object - GetTokenDetailsByContractAddressE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetTokenDetailsByContractAddressE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetTokenDetailsByContractAddressE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + - versionHex type: object - NewUnconfirmedCoinsTransactionsRI: - example: - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + GetBlockDetailsByBlockHashFromCallbackRIBSD2: + description: Dogecoin properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + bits: + description: Represents a specific sub-unit of Doge. Bits have two-decimal + precision. + example: "436384320" type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000000624fe5552df3fb55362 type: string - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1611238648 - type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_COINS_TRANSACTION_UNCONFIRMED + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "6222240.869250271" type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 2d043569a81467a8113e25345a7e43021d6afb6520f9e8d0ea2df0c03eec0a17 type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 0 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 12125 + type: integer + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 12125 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 6422788 + type: integer + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 48500 + type: integer required: - - callbackSecretKey - - callbackUrl - - createdTimestamp - - eventType - - isActive - - referenceId - type: object - NewUnconfirmedCoinsTransactionsR: - example: - apiVersion: "2.0" - data: - item: - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize + - version + - weight + type: object + GetBlockDetailsByBlockHashFromCallbackRIBSE: + description: Ethereum properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "12499653" type: string - data: - $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsR_data' - required: - - apiVersion - - data - - requestId - type: object - NewUnconfirmedCoinsTransactionsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - NewUnconfirmedCoinsTransactionsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - NewUnconfirmedCoinsTransactionsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' - type: object - NewUnconfirmedCoinsTransactionsE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' - type: object - BlockchainEventsCallbacksLimitReached: - description: blockchain_events_callbacks_limit_reached - properties: - code: - description: Specifies an error code, e.g. error 404. - example: blockchain_events_callbacks_limit_reached + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "12488144" type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: You have reached the maximum number of active Blockchain Events - subscriptions which is {callbacks_limit} now. Please upgrade your plan - to be get higher number of active subscriptions. + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 17 + type: integer + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" type: string - details: + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 + type: integer + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "4794080996481072" + type: string + uncles: items: - $ref: '#/components/schemas/BannedIpAddress_details' + description: String array representation of the block uncles + type: string type: array required: - - code - - message + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty type: object - NewUnconfirmedTokensTransactionsRI: - example: - address: 0x65b895f400dae5541d70cbbec07527210158f6e2 - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED - isActive: true - referenceId: c748624f-1843-4738-a7de-8258ada0f524 + GetBlockDetailsByBlockHashFromCallbackRIBSBSC: + description: Binance Smart Chain properties: - address: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: 0x65b895f400dae5541d70cbbec07527210158f6e2 + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" type: string - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd883010105846765746888676f312e31352e35856c696e75780000005865ba3cf692868cb6a780f2bdcc54d5a8d673aaf8bc134cacaabbe933b2ddc92bfea4984b5620d1c5800cd75dd333c86b1cdcf784ca42f204d77c2b82554ced2ec6445b01 type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "29999542" type: string - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1611238648 + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "896567" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in second + example: 2 type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 0x0000000000000000 type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: c748624f-1843-4738-a7de-8258ada0f524 + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + size: + description: Represents the total size of the block in Bytes. + example: 2611 + type: integer + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block" + example: "28671700" type: string + uncles: + items: + description: Representats of the block uncles + type: string + type: array required: - - address - - callbackSecretKey - - callbackUrl - - createdTimestamp - - eventType - - isActive - - referenceId + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty type: object - NewUnconfirmedTokensTransactionsR: - example: - apiVersion: "2.0" - data: - item: - address: 0x65b895f400dae5541d70cbbec07527210158f6e2 - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED - isActive: true - referenceId: c748624f-1843-4738-a7de-8258ada0f524 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHashFromCallbackRIBSEC: + description: Ethereum Classic properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "1180819" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd983010203844765746887676f312e342e328777696e646f7773 type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "7999992" type: string - data: - $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsR_data' - required: - - apiVersion - - data - - requestId - type: object - NewUnconfirmedTokensTransactionsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - NewUnconfirmedTokensTransactionsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - NewUnconfirmedTokensTransactionsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' - type: object - NewUnconfirmedTokensTransactionsE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' - type: object - NewConfirmedCoinsTransactionsRI: - example: - address: mfo7jkvcoSNxpRBM7XfcseZGQf9PmmU8TZ - createdTimestamp: 1236238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa - properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: mfo7jkvcoSNxpRBM7XfcseZGQf9PmmU8TZ + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "6494" type: string - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs 2.0. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 6 + type: integer + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 0xba281617ac015e5c type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 type: string - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1236238648 + size: + description: Represents the total size of the block in Bytes. + example: 537 type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_COINS_TRANSACTION_CONFIRMED - type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "1086033282060494457577" type: string + uncles: + items: + description: Representats of the block uncles + type: string + type: array required: - - address - - callbackSecretKey - - callbackUrl - - createdTimestamp - - eventType - - isActive - - referenceId + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty type: object - NewConfirmedCoinsTransactionsR: - example: - apiVersion: "2.0" - data: - item: - address: mfo7jkvcoSNxpRBM7XfcseZGQf9PmmU8TZ - createdTimestamp: 1236238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHashFromCallbackRIBSZ: + description: Zilliqa properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Defines how difficult it is for a specific miner to mine the + block. + example: "41.375" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + dsBlock: + description: Represents the Directory Service block which contains metadata + about the miners who participate in the consensus protocol. + example: 12443 + type: integer + dsDifficulty: + description: Defines how difficult it is to mine the dsBlocks. + example: "48.625" type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + dsLeader: + description: Represents a part of the DS Committee which leads the consensus + protocol for the epoch. + example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj type: string - data: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsR_data' + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 + type: integer + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 10028 + type: integer + microBlocks: + items: + description: Micro blocks are validated simultaneously with other smaller + components called "shards" in order to form the final txBlock. + example: "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + type: string + type: array required: - - apiVersion - - data - - requestId - type: object - NewConfirmedCoinsTransactionsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - NewConfirmedCoinsTransactionsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - NewConfirmedCoinsTransactionsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' + - difficulty + - dsBlock + - dsDifficulty + - dsLeader + - gasLimit + - gasUsed + - microBlocks type: object - NewConfirmedCoinsTransactionsE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' + GetBlockDetailsByBlockHashFromCallbackRIBSX: + description: XRP + properties: + totalCoins: + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalCoins' + totalFees: + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalFees' + required: + - totalCoins + - totalFees type: object - NewConfirmedTokensTransactionsRI: - example: - address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED - isActive: true - referenceId: c748624f-1843-4738-a7de-8258ada0f524 + GetBlockDetailsByBlockHashFromCallbackRIBSZ2: + description: Zcash properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + bits: + description: Represents a specific sub-unit of Zcash. Bits have two-decimal + precision + example: "524517883" type: string - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000000000000000262b072797 type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 type: string - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1611238648 + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + version: + description: Represents the transaction version number. + example: 4 + type: integer + required: + - bits + - chainwork + - merkleRoot + - nonce + - size + - version + type: object + GetBlockDetailsByBlockHashFromCallbackRI: + example: + previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null + hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f + transactionsCount: 2755 + height: 673852 + timestamp: 1610365615 + properties: + hash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: c748624f-1843-4738-a7de-8258ada0f524 + height: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 673852 + type: integer + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f type: string + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1610365615 + type: integer + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 2755 + type: integer + blockchainSpecific: + $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBS' required: - - address - - callbackSecretKey - - callbackUrl - - createdTimestamp - - eventType - - isActive - - referenceId + - blockchainSpecific + - hash + - height + - previousBlockHash + - timestamp + - transactionsCount type: object - NewConfirmedTokensTransactionsR: + GetBlockDetailsByBlockHashFromCallbackRIBS: + oneOf: + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSB' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSBC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSL' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSD' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSD2' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSE' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSBSC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSEC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSZ' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSX' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSZ2' + type: object + GetBlockDetailsByBlockHashFromCallbackR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED - isActive: true - referenceId: c748624f-1843-4738-a7de-8258ada0f524 + previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null + hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f + transactionsCount: 2755 + height: 673852 + timestamp: 1610365615 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -29486,581 +37781,687 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsR_data' + $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackR_data' required: - apiVersion - data - requestId type: object - NewConfirmedTokensTransactionsE401: + GetBlockDetailsByBlockHashFromCallbackE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - NewConfirmedTokensTransactionsE400: + GetBlockDetailsByBlockHashFromCallbackE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - NewConfirmedTokensTransactionsE403: + GetBlockDetailsByBlockHashFromCallbackE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' - type: object - NewConfirmedTokensTransactionsE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' type: object - NewConfirmedTokensTransactionsAndEachConfirmationRI: - example: - confirmationsCount: 3 - address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - createdTimestamp: 1236238648 - callbackUrl: https://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRAMTION - referenceId: c748624f-1843-4738-a7de-8258ada0f524 + GetBlockDetailsByBlockHeightFromCallbackRIBSB: + description: Bitcoin properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + bits: + description: "A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and\ + \ is the same as microbitcoin (μBTC). Bits have two-decimal precision." + example: "386689514" type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 00000000000000000000000000000000000000001932c1bc515b0c0e0dee2040 type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "21448277761059.71" + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 02754414626473fa39a0cfbf8d1960fc17ba932ab586340f61f039114053e851 + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 2113101077 type: integer - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1236238648 + size: + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRAMTION - type: string - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: c748624f-1843-4738-a7de-8258ada0f524 + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 925958 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536928256 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "2000000" type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 3999412 + type: integer required: - - address - - callbackUrl - - createdTimestamp - - eventType - - referenceId + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize + - version + - versionHex + - weight type: object - NewConfirmedTokensTransactionsAndEachConfirmationR: - example: - apiVersion: "2.0" - data: - item: - confirmationsCount: 3 - address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - createdTimestamp: 1236238648 - callbackUrl: https://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRAMTION - referenceId: c748624f-1843-4738-a7de-8258ada0f524 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHeightFromCallbackRIBSBC: + description: Bitcoin Cash properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + bits: + description: "A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and\ + \ is the same as microbitcoincash (μBCH). Bits have two-decimal precision." + example: "386689514" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000015dc8754d8bfaedfffbb3bd type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "5399792.015244232" + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 543872ba53c13183f951d76dd5933f98900a1bf9b3eef716857dfcc3c0534dfb + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 1923421957 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 191 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 545259520 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" type: string - data: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationR_data' required: - - apiVersion - - data - - requestId - type: object - NewConfirmedTokensTransactionsAndEachConfirmationE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - NewConfirmedTokensTransactionsAndEachConfirmationE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - NewConfirmedTokensTransactionsAndEachConfirmationE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' - type: object - NewConfirmedTokensTransactionsAndEachConfirmationE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + - versionHex type: object - NewConfirmedCoinsTransactionsAndEachConfirmationRI: - example: - confirmationsCount: 3 - address: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + GetBlockDetailsByBlockHeightFromCallbackRIBSL: + description: Litecoin properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU + bits: + description: Represents a specific sub-unit of Litecoin. Bits have two-decimal + precision. + example: "436301753" type: string - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000006c61f0fce4b57f08ff4 type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "11679731.14248383" type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 0ea8cea078d2338ce92e62d3275c92682d0a1879ddf861a7ce16889a24deccd2 + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 3021194134 type: integer - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1611238648 + size: + description: Represents the total size of the block in Bytes. + example: 300998 type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + strippedsize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 220208 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536870916 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000004" type: string + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 961622 + type: integer required: - - address - - callbackSecretKey - - callbackUrl - - confirmationsCount - - createdTimestamp - - eventType - - isActive - - referenceId + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedsize + - version + - versionHex + - weight type: object - NewConfirmedCoinsTransactionsAndEachConfirmationR: - example: - apiVersion: "2.0" - data: - item: - confirmationsCount: 3 - address: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHeightFromCallbackRIBSD: + description: Dash properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + bits: + description: Represents a specific sub-unit of Dash. Bits have two-decimal + precision. + example: "421808151" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 0000000000000000000000000000000000000000000065cbab6e72cb49a0c2f7 type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "118376853.4818659" + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 1cee8c0df02427cbcfd2d2a88678848b4c08eb89d580df34a52464a6fed4df7f + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 3850564744 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 26171 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 536870912 + type: integer + versionHex: + description: Is the hexadecimal string representation of the block's version. + example: "20000000" type: string - data: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationR_data' required: - - apiVersion - - data - - requestId - type: object - NewConfirmedCoinsTransactionsAndEachConfirmationE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - NewConfirmedCoinsTransactionsAndEachConfirmationE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - NewConfirmedCoinsTransactionsAndEachConfirmationE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' - type: object - NewConfirmedCoinsTransactionsAndEachConfirmationE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - version + - versionHex type: object - MinedTransactionRI: - example: - confirmationsCount: 2 - address: 2NCQH4pN7nf6Jb8iGoh69dgVLcVPQXBYHHk - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: TRANSACTION_MINED - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa - transactionId: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 + GetBlockDetailsByBlockHeightFromCallbackRIBSD2: + description: Dogecoin + properties: + bits: + description: Represents a specific sub-unit of Doge. Bits have two-decimal + precision. + example: "436384320" + type: string + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000000624fe5552df3fb55362 + type: string + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "6222240.869250271" + type: string + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 2d043569a81467a8113e25345a7e43021d6afb6520f9e8d0ea2df0c03eec0a17 + type: string + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 0 + type: integer + size: + description: Represents the total size of the block in Bytes. + example: 12125 + type: integer + strippedSize: + description: Defines the numeric representation of the block size excluding + the witness data. + example: 12125 + type: integer + version: + description: Represents the version of the specific block on the blockchain. + example: 6422788 + type: integer + weight: + description: Represents a measurement to compare the size of different transactions + to each other in proportion to the block size limit. + example: 48500 + type: integer + required: + - bits + - chainwork + - difficulty + - merkleRoot + - nonce + - size + - strippedSize + - version + - weight + type: object + GetBlockDetailsByBlockHeightFromCallbackRIBSE: + description: Ethereum properties: - address: - description: Represents the address of the transaction. - example: 2NCQH4pN7nf6Jb8iGoh69dgVLcVPQXBYHHk + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "209515044.4071968" type: string - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "12499653" type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 2 - type: integer - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1611238648 + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "12488144" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 17 type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: TRANSACTION_MINED + nonce: + description: "Represents the sequential running number for an address, starting\ + \ from 0 for the first transaction. E.g., if the nonce of a transaction\ + \ is 10, it would be the 11th transaction sent from the sender's address." + example: "16" type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 type: string - transactionId: - description: Represents the unique identification string that defines the - transaction. - example: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 + size: + description: Represents the total size of the block in Bytes. + example: 7105 + type: integer + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "4794080996481072" type: string + uncles: + items: + description: String array representation of the block uncles + type: string + type: array required: - - address - - callbackSecretKey - - callbackUrl - - confirmationsCount - - createdTimestamp - - eventType - - isActive - - referenceId - - transactionId + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty type: object - MinedTransactionR: - example: - apiVersion: "2.0" - data: - item: - confirmationsCount: 2 - address: 2NCQH4pN7nf6Jb8iGoh69dgVLcVPQXBYHHk - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: TRANSACTION_MINED - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa - transactionId: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHeightFromCallbackRIBSBSC: + description: Binance Smart Chain properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "2" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd883010105846765746888676f312e31352e35856c696e75780000005865ba3cf692868cb6a780f2bdcc54d5a8d673aaf8bc134cacaabbe933b2ddc92bfea4984b5620d1c5800cd75dd333c86b1cdcf784ca42f204d77c2b82554ced2ec6445b01 type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "29999542" type: string - data: - $ref: '#/components/schemas/MinedTransactionR_data' + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "896567" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in second + example: 3 + type: integer + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 0x0000000000000000 + type: string + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + size: + description: Represents the total size of the block in Bytes. + example: 2611 + type: integer + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block" + example: "28671700" + type: string + uncles: + items: + description: Representats of the block uncles + type: string + type: array required: - - apiVersion - - data - - requestId - type: object - MinedTransactionE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - MinedTransactionE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - MinedTransactionE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' - type: object - MinedTransactionE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty type: object - NewBlockRI: - example: - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: http://yourURL.com - isActive: true - referenceId: 4c530a43-5602-41d9-bc69-156a0372f9aa + GetBlockDetailsByBlockHeightFromCallbackRIBSEC: + description: Ethereum Classic properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + difficulty: + description: Represents a mathematical value of how hard it is to find a + valid hash for this block. + example: "1180819" type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: http://yourURL.com + extraData: + description: Represents any data that can be included by the miner in the + block. + example: 0xd983010203844765746887676f312e342e328777696e646f7773 type: string - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1611238648 + gasLimit: + description: Defines the total gas limit of all transactions in the block. + example: "7999992" + type: string + gasUsed: + description: Represents the total amount of gas used by all transactions + in this block. + example: "6494" + type: string + minedInSeconds: + description: Specifies the amount of time required for the block to be mined + in seconds. + example: 6 type: integer - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 4c530a43-5602-41d9-bc69-156a0372f9aa + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: 0x5a8d218547d0713b + type: string + sha3Uncles: + description: Defines the combined hash of all uncles for a given parent. + example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + type: string + size: + description: Represents the total size of the block in Bytes. + example: 537 + type: integer + totalDifficulty: + description: "Defines the total difficulty of the chain until this block,\ + \ i.e. how difficult it is for a specific miner to mine a new block." + example: "1086033282060494457577" type: string + uncles: + items: + description: Representats of the block uncles + type: string + type: array required: - - callbackSecretKey - - callbackUrl - - createdTimestamp - - isActive - - referenceId + - difficulty + - extraData + - gasLimit + - gasUsed + - minedInSeconds + - nonce + - sha3Uncles + - size + - totalDifficulty type: object - NewBlockR: - example: - apiVersion: "2.0" - data: - item: - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: http://yourURL.com - isActive: true - referenceId: 4c530a43-5602-41d9-bc69-156a0372f9aa - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + GetBlockDetailsByBlockHeightFromCallbackRIBSZ: + description: Zilliqa properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + difficulty: + description: Defines how difficult it is for a specific miner to mine the + block. + example: "41.375" type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + dsBlock: + description: Represents the Directory Service block which contains metadata + about the miners who participate in the consensus protocol. + example: 12443 + type: integer + dsDifficulty: + description: Defines how difficult it is to mine the dsBlocks. + example: "48.625" type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + dsLeader: + description: Represents a part of the DS Committee which leads the consensus + protocol for the epoch. + example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj type: string - data: - $ref: '#/components/schemas/NewBlockR_data' + gasLimit: + description: Represents the maximum amount of gas allowed in the block in + order to determine how many transactions it can fit. + example: 550000 + type: integer + gasUsed: + description: Defines how much of the gas for the block has been used. + example: 10028 + type: integer + microBlocks: + items: + description: Micro blocks are validated simultaneously with other smaller + components called "shards" in order to form the final txBlock. + example: "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + type: string + type: array required: - - apiVersion - - data - - requestId - type: object - NewBlockE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - NewBlockE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - NewBlockE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' + - difficulty + - dsBlock + - dsDifficulty + - dsLeader + - gasLimit + - gasUsed + - microBlocks type: object - NewBlockE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' + GetBlockDetailsByBlockHeightFromCallbackRIBSX: + description: XRP + properties: + totalCoins: + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalCoins' + totalFees: + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalFees' + required: + - totalCoins + - totalFees type: object - ListBlockchainEventsSubscriptionsRI: + GetBlockDetailsByBlockHeightFromCallbackRIBSZ2: + description: Zcash properties: - address: - description: Represents the address of the transaction. - example: tb1qtm44m6xmuasy4sc7nl7thvuxcerau2dfvkkgsc + bits: + description: Represents a specific sub-unit of Zcash. Bits have two-decimal + precision + example: "524517883" type: string - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + chainwork: + description: "Represents a hexadecimal number of all the hashes necessary\ + \ to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd\ + \ to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes." + example: 000000000000000000000000000000000000000000000000000000262b072797 type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + merkleRoot: + description: Defines the single and final (root) node of a Merkle tree. + It is the combined hash of all transactions' hashes that are part of a + blockchain block. + example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 5 + nonce: + description: Represents a random value that can be adjusted to satisfy the + proof of work + example: "2113101077" + type: string + size: + description: Represents the total size of the block in Bytes. + example: 1408113 type: integer - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1966238648 + version: + description: Represents the transaction version number. + example: 536870916 type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: BLOCK_MINED - type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + required: + - bits + - chainwork + - merkleRoot + - nonce + - size + - version + type: object + GetBlockDetailsByBlockHeightFromCallbackRI: + example: + previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null + hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f + transactionsCount: 2755 + height: 673852 + timestamp: 1610365615 + properties: + hash: + description: "Represents the hash of the block, which is its unique identifier.\ + \ It represents a cryptographic digital fingerprint made by hashing the\ + \ block header twice through the SHA256 algorithm." + example: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f type: string - transactionId: - description: Represents the unique identification string that defines the - transaction. - example: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 + height: + description: Represents the number of blocks in the blockchain preceding + this specific block. Block numbers have no gaps. A blockchain usually + starts with block 0 called the "Genesis block". + example: 673852 + type: integer + previousBlockHash: + description: "Represents the hash of the previous block, also known as the\ + \ parent block." + example: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f type: string + timestamp: + description: Defines the exact date/time when this block was mined in Unix + Timestamp. + example: 1610365615 + type: integer + transactionsCount: + description: Represents the total number of all transactions as part of + this block. + example: 2755 + type: integer + blockchainSpecific: + $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBS' required: - - address - - callbackSecretKey - - callbackUrl - - confirmationsCount - - createdTimestamp - - eventType - - isActive - - referenceId - - transactionId + - blockchainSpecific + - hash + - height + - previousBlockHash + - timestamp + - transactionsCount type: object - ListBlockchainEventsSubscriptionsR: + GetBlockDetailsByBlockHeightFromCallbackRIBS: + oneOf: + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSB' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSBC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSL' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSD' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSD2' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSE' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSBSC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSEC' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSZ' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSX' + - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSZ2' + type: object + GetBlockDetailsByBlockHeightFromCallbackR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null + hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f + transactionsCount: 2755 + height: 673852 + timestamp: 1610365615 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -30072,350 +38473,114 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsR_data' + $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackR_data' required: - apiVersion - data - requestId type: object - ListBlockchainEventsSubscriptionsE401: + GetBlockDetailsByBlockHeightFromCallbackE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListBlockchainEventsSubscriptionsE400: + GetBlockDetailsByBlockHeightFromCallbackE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListBlockchainEventsSubscriptionsE403: + GetBlockDetailsByBlockHeightFromCallbackE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ActivateBlockchainEventSubscriptionRI: + NewConfirmedInternalTransactionsRI: example: - confirmationsCount: 2 - address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - blockchain: bitcoin - createdTimestamp: 1611238648 + address: 0xbcc817f057950b0df41206c5d7125e6225cae18e + createdTimestamp: 1236238648 callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + callbackUrl: https://example.com + receiveCallbackOn: 3 + eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED isActive: true referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa - transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 - network: testnet properties: address: - description: Represents the address of the transaction, per which the result - is returned. - example: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - type: string - blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. - example: bitcoin + description: Defines the specific address of the internal transaction. + example: 0xbcc817f057950b0df41206c5d7125e6225cae18e type: string callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our Documentation. + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs 2.0. For\ + \ more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." example: yourSecretKey type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 2 - type: integer createdTimestamp: description: Defines the specific time/date when the subscription was created in Unix Timestamp. - example: 1611238648 + example: 1236238648 type: integer eventType: description: Defines the type of the specific event available for the customer to subscribe to for callback notification. - example: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + example: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED type: string isActive: description: Defines whether the subscription is active or not. Set as boolean. example: true type: boolean - network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. - example: testnet - type: string + receiveCallbackOn: + description: "Represents the exact confirmation, on which the user wants\ + \ to receive callback." + example: 3 + type: integer referenceId: description: Represents a unique ID used to reference the specific callback subscription. example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string - transactionId: - description: Represents the unique identification string that defines the - transaction. - example: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 - type: string required: - address - - blockchain - callbackSecretKey - callbackUrl - - confirmationsCount - createdTimestamp - eventType - isActive - - network + - receiveCallbackOn - referenceId - - transactionId type: object - ActivateBlockchainEventSubscriptionR: + NewConfirmedInternalTransactionsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - confirmationsCount: 2 - address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - blockchain: bitcoin - createdTimestamp: 1611238648 + address: 0xbcc817f057950b0df41206c5d7125e6225cae18e + createdTimestamp: 1236238648 callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + callbackUrl: https://example.com + receiveCallbackOn: 3 + eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED isActive: true referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa - transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 - network: testnet - requestId: 601c1710034ed6d407996b30 - context: You can add any text here - properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" - type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 - type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here - type: string - data: - $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionR_data' - required: - - apiVersion - - data - - requestId - type: object - ActivateBlockchainEventSubscriptionE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ActivateBlockchainEventSubscriptionE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ActivateBlockchainEventSubscriptionE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - type: object - DeleteBlockchainEventSubscriptionRI: - example: - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED - referenceId: 6de9a6ae-1463-458c-81a5-16d68d108012 - properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey - type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com - type: string - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1611238648 - type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_COINS_TRANSACTION_UNCONFIRMED - type: string - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 6de9a6ae-1463-458c-81a5-16d68d108012 - type: string - required: - - callbackSecretKey - - callbackUrl - - createdTimestamp - - eventType - - referenceId - type: object - DeleteBlockchainEventSubscriptionR: - example: - apiVersion: "2.0" - data: - item: - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED - referenceId: 6de9a6ae-1463-458c-81a5-16d68d108012 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here - properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" - type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 - type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here - type: string - data: - $ref: '#/components/schemas/DeleteBlockchainEventSubscriptionR_data' - required: - - apiVersion - - data - - requestId - type: object - DeleteBlockchainEventSubscriptionE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - DeleteBlockchainEventSubscriptionE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - DeleteBlockchainEventSubscriptionE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - type: object - GetAddressDetailsFromCallbackRI: - example: - confirmedBalance: - amount: "3.5" - unit: BTC - sequence: 25648975 - incomingTransactionsCount: 2 - totalSpent: - amount: "2.1" - unit: BTC - totalReceived: - amount: "5.6" - unit: BTC - outgoingTransactionsCount: 2 - transactionsCount: 5 - properties: - incomingTransactionsCount: - description: Defines the count of the incoming transactions. - example: 2 - type: integer - outgoingTransactionsCount: - description: Defines the count of the outgoing transactions. - example: 2 - type: integer - transactionsCount: - description: Represents the total number of confirmed coins transactions - for this address, both incoming and outgoing. Applies for coins only **and - not** tokens transfers e.g. for Ethereum. `transactionsCount` could result - as less than incoming and outgoing transactions put together (e.g. in - Bitcoin), due to the fact that one and the same address could be in senders - and receivers addresses. - example: 5 - type: integer - confirmedBalance: - $ref: '#/components/schemas/GetAddressDetailsRI_confirmedBalance' - totalReceived: - $ref: '#/components/schemas/GetAddressDetailsFromCallbackRI_totalReceived' - totalSpent: - $ref: '#/components/schemas/GetAddressDetailsFromCallbackRI_totalSpent' - sequence: - description: Defines the transaction input's sequence as an integer, which - is is used when transactions are replaced with newer versions before LockTime. - example: 25648975 - type: integer - required: - - confirmedBalance - - incomingTransactionsCount - - outgoingTransactionsCount - - transactionsCount - type: object - GetAddressDetailsFromCallbackR: - example: - apiVersion: "2.0" - data: - item: - confirmedBalance: - amount: "3.5" - unit: BTC - sequence: 25648975 - incomingTransactionsCount: 2 - totalSpent: - amount: "2.1" - unit: BTC - totalReceived: - amount: "5.6" - unit: BTC - outgoingTransactionsCount: 2 - transactionsCount: 5 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -30424,637 +38589,387 @@ components: type: string context: description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here - type: string - data: - $ref: '#/components/schemas/GetAddressDetailsFromCallbackR_data' - required: - - apiVersion - - data - - requestId - type: object - GetAddressDetailsFromCallbackE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetAddressDetailsFromCallbackE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetAddressDetailsFromCallbackE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - type: object - BlockchainDataAddressEventSubscriptionNotFound: - description: blockchain_data_address_event_subscription_not_found - properties: - code: - description: Specifies an error code, e.g. error 404. - example: blockchain_data_address_event_subscription_not_found - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: The provided address has no subscriptions. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message - type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSB: - description: Bitcoin - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 223 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 223 - type: integer - version: - description: Represents the transaction version number. - example: 2 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSB_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSE: - description: Ethereum - properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "552020" - type: string - gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSE_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "24673" - type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x67a5cd0600000000000000000000000031f42841c2db5173425b5223809cf3a38fede360 - type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer - transactionStatus: - description: Represents the status of this transaction. - example: 0x1 - type: string - required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce - - transactionStatus - type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSBC: - description: Bitcoin Cash - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 1781965 - type: integer - size: - description: Represents the total size of this transaction. - example: 248 - type: integer - version: - description: Represents transaction version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBC_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSL: - description: Litecoin - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 2 - type: integer - size: - description: Represents the total size of this transaction. - example: 223 - type: integer - vSize: - description: Represents the virtual size of this transaction. - example: 141 - type: integer - version: - description: Represents transaction version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSL_vout' - type: array - required: - - locktime - - size - - vSize - - version - - vin - - vout - type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSD: - description: Dash - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 125 - type: integer - version: - description: Represents transaction version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSD2_vout' - type: array - required: - - locktime - - size - - version - - vin - - vout - type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSD2: - description: Dogecoin - properties: - locktime: - description: Represents the time at which a particular transaction can be - added to the blockchain. - example: 0 - type: integer - size: - description: Represents the total size of this transaction. - example: 266 - type: integer - version: - description: Represents transaction version number. - example: 1 - type: integer - vin: - description: Represents the transaction inputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2_vin' - type: array - vout: - description: Represents the transaction outputs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2_vout' - type: array + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/NewConfirmedInternalTransactionsR_data' required: - - locktime - - size - - version - - vin - - vout + - apiVersion + - data + - requestId type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSZ: - description: Zcash + NewConfirmedInternalTransactionsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + NewConfirmedInternalTransactionsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + NewConfirmedInternalTransactionsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' + type: object + NewConfirmedInternalTransactionsE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + NewConfirmedInternalTransactionsAndEachConfirmationRI: + example: + confirmationsCount: 3 + address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa properties: - bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. - example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 + address: + description: Defines the specific address of the internal transaction. + example: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 type: string - expiryHeight: - description: Represents a block height after which the transaction will - expire. - example: 0 - type: integer - joinSplitPubKey: - description: Represents an encoding of a JoinSplitSig public validating - key. - example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - joinSplitSig: - description: Is used to sign transactions that contain at least one JoinSplit - description. - example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - locktime: - description: Represents the locktime on the transaction on the specific - blockchain, i.e. the blockheight at which the transaction is valid. - example: 1781965 + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 type: integer - overwintered: - description: '"Overwinter" is the network upgrade for the Zcash blockchain.' - example: true - type: boolean - size: - description: Represents the total size of this transaction. - example: 234 + createdTimestamp: + description: Defines the specific time/date when the subscription was created + in Unix Timestamp. + example: 1611238648 type: integer - vJoinSplit: - description: Represents a sequence of JoinSplit descriptions using BCTV14 - proofs. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vJoinSplit' - type: array - vShieldedOutput: - description: Object Array representation of transaction output descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' - type: array - vShieldedSpend: - description: Object Array representation of transaction spend descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedSpend' - type: array - valueBalance: - description: String representation of the transaction value balance - example: "0" + eventType: + description: Defines the type of the specific event available for the customer + to subscribe to for callback notification. + example: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION type: string - version: - description: Defines the version of the transaction. - example: 1 - type: integer - versionGroupId: - description: Represents the transaction version group ID - example: 0x892f2085 + isActive: + description: Defines whether the subscription is active or not. Set as boolean. + example: true + type: boolean + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: bc243c86-0902-4386-b30d-e6b30fa1f2aa type: string - vin: - description: Object Array representation of transaction inputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vin' - type: array - vout: - description: Object Array representation of transaction outputs - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vout' - type: array required: - - bindingSig - - expiryHeight - - joinSplitPubKey - - joinSplitSig - - locktime - - overwintered - - size - - vJoinSplit - - vShieldedOutput - - vShieldedSpend - - valueBalance - - version - - versionGroupId - - vin - - vout + - address + - callbackSecretKey + - callbackUrl + - confirmationsCount + - createdTimestamp + - eventType + - isActive + - referenceId type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSEC: - description: Ethereum Classic + NewConfirmedInternalTransactionsAndEachConfirmationR: + example: + apiVersion: 2.0.0 + data: + item: + confirmationsCount: 3 + address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + createdTimestamp: 1611238648 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + isActive: true + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - contract: - description: Represents the specific transaction contract. - example: 0x20fe562d797a42dcb3399062ae9546cd06f63280 - type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "552020" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSEC_gasPrice' - gasUsed: - description: Represents the exact unit of gas that was used for the transaction. - example: "24673" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0xa9059cbb000000000000000000000000acc59ec2f7119dc7a9e69dcd124cff75caae05bf0000000000000000000000000000000000000000000000000000000000989680 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer + data: + $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationR_data' required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce + - apiVersion + - data + - requestId type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC: - description: Binance Smart Chain + NewConfirmedInternalTransactionsAndEachConfirmationE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + NewConfirmedInternalTransactionsAndEachConfirmationE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + NewConfirmedInternalTransactionsAndEachConfirmationE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' + type: object + NewConfirmedInternalTransactionsAndEachConfirmationE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + CreateAutomaticCoinsForwardingRI: + example: + confirmationsCount: 3 + feePriority: standard + createdTimestamp: 1611238648 + minimumTransferAmount: "0.0002" + callbackUrl: https://example.com + fromAddress: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB + toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + referenceId: 6017c964973cdcf4d4f69e29 properties: - contract: - description: Represents the specific transaction contract - example: 0x0000000000000000000000000000000000001000 + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - gasLimit: - description: Represents the amount of gas used by this specific transaction - alone. - example: "21000" + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 + type: integer + createdTimestamp: + description: Defines the specific time/date when the automatic forwarding + was created in Unix Timestamp. + example: 1611238648 + type: integer + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" OR \"FAST\"." + enum: + - slow + - standard + - fast + example: standard type: string - gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSBSC_gasPrice' - gasUsed: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. - example: "21000" + fromAddress: + description: Represents the hash of the address that forwards the currency. + example: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB type: string - inputData: - description: Represents additional information that is required for the - transaction. - example: 0x + minimumTransferAmount: + description: Represents the minimum transfer amount of the currency in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.0002" + type: string + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 6017c964973cdcf4d4f69e29 + type: string + toAddress: + description: Represents the hash of the address the currency is forwarded + to. + example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 type: string - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 25341 - type: integer required: - - contract - - gasLimit - - gasPrice - - gasUsed - - inputData - - nonce + - callbackUrl + - confirmationsCount + - createdTimestamp + - feePriority + - fromAddress + - minimumTransferAmount + - referenceId + - toAddress type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2: - description: Zilliqa + CreateAutomaticCoinsForwardingR: + example: + apiVersion: 2.0.0 + data: + item: + confirmationsCount: 3 + feePriority: standard + createdTimestamp: 1611238648 + minimumTransferAmount: "0.0002" + callbackUrl: https://example.com + fromAddress: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB + toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + referenceId: 6017c964973cdcf4d4f69e29 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 552020 - type: integer - gasPrice: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2_gasPrice' - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 24673 - type: integer - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: 16 - type: integer - transactionStatus: - description: Represents the status of this transaction. - example: 0x1 + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + data: + $ref: '#/components/schemas/CreateAutomaticCoinsForwardingR_data' required: - - gasLimit - - gasPrice - - gasUsed - - nonce - - transactionStatus + - apiVersion + - data + - requestId type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBSX: - description: XRP + CreateAutomaticCoinsForwardingE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + CreateAutomaticCoinsForwardingE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + CreateAutomaticCoinsForwardingE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/CoinsForwardingAutomationsLimitReached' + type: object + CreateAutomaticCoinsForwardingE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + CoinsForwardingAutomationsLimitReached: + description: coins_forwarding_automations_limit_reached properties: - additionalData: - description: Represents additional data that may be needed. - example: rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu - type: string - destinationTag: - description: Defines the destination tag value. - example: 3999472835 - type: integer - offer: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_offer' - receive: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDRI_receive' - sequence: - description: Defines the transaction input's sequence as an integer, which - is is used when transactions are replaced with newer versions before LockTime. - example: 4294967295 - type: integer - status: - description: Defines the status of the transaction. - example: tesSUCCESS + code: + description: "Specifies an error code, e.g. error 404." + example: coins_forwarding_automations_limit_reached type: string - type: - description: Defines the type of the transaction. - example: Payment + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "Your current package plan coins forwarding automations limit of\ + \ {automations_limit} reached. Please contact us if you need more or upgrade\ + \ your plan." type: string - value: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSX_value' + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array required: - - additionalData - - offer - - receive - - sequence - - status - - type - - value + - code + - message type: object - GetTransactionDetailsByTransactionIDFromCallbackRI: - example: - recipients: - - amount: "0.00001600" - address: 2NGHH9qxCADY5eTNFUKobi1xiMWoW6FYSCd - - amount: "0.00001600" - address: 2NGHH9qxCADY5eTNFUKobi1xiMWoW6FYSCd - fee: - amount: "0.00000300" - unit: BTC - minedInBlockHeight: 2105197 - index: 44 - minedInBlockHash: 00000000cc8c79e1a80d14873ee7e319f8d2525354be26ace50796444a1e0764 - isConfirmed: true - senders: - - amount: "0.00002000" - address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb - - amount: "0.00002000" - address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb - transactionHash: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 - timestamp: 1637751304 + ListCoinsForwardingAutomationsRI: properties: - index: - description: Represents the index position of the transaction in the specific - block. - example: 44 - type: integer - minedInBlockHash: - description: Represents the hash of the block where this transaction was - mined/confirmed for first time. The hash is defined as a cryptographic - digital fingerprint made by hashing the block header twice through the - SHA256 algorithm. - example: 00000000cc8c79e1a80d14873ee7e319f8d2525354be26ace50796444a1e0764 + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - minedInBlockHeight: - description: Represents the hight of the block where this transaction was - mined/confirmed for first time. The height is defined as the number of - blocks in the blockchain preceding this specific block. - example: 2105197 + confirmationsCountTrigger: + description: Represents the total count of the transaction confirmations + before triggering the event. + example: 3 type: integer - recipients: - description: Represents a list of recipient addresses with the respective - amounts. In account-based protocols like Ethereum there is only one address - in this list. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRI_recipients' - type: array - senders: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRI_senders' - type: array - timestamp: - description: Defines the exact date/time in Unix Timestamp when this transaction - was mined, confirmed or first seen in Mempool, if it is unconfirmed. - example: 1637751304 + createdTimestamp: + description: Defines the specific time/date when the automatic forwarding + was created in Unix Timestamp. + example: 1611238648 type: integer - transactionHash: - description: Represents the same as transactionId for account-based protocols - like Ethereum, while it could be different in UTXO-based protocols like - Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId - for SegWit transactions. - example: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" OR \"FAST\"." + enum: + - slow + - standard + - fast + example: standard + type: string + fromAddress: + description: Represents the hash of the address that forwards the currency. + example: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB + type: string + minimumTransferAmount: + description: Represents the minimum transfer amount of the currency in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.0002" + type: string + referenceId: + description: Represents a unique ID used to reference the specific forwarding + automation. + example: 6017dd02a309213863be9e55 + type: string + toAddress: + description: Represents the hash of the address the currency is forwarded + to. + example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 type: string - fee: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRI_fee' - isConfirmed: - example: true - type: boolean - blockchainSpecific: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBS' required: - - blockchainSpecific - - fee - - index - - isConfirmed - - minedInBlockHash - - minedInBlockHeight - - recipients - - senders - - timestamp - - transactionHash - type: object - GetTransactionDetailsByTransactionIDFromCallbackRIBS: - oneOf: - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSB' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSE' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSBC' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSL' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSEC' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2' - - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackRIBSX' + - callbackUrl + - confirmationsCountTrigger + - createdTimestamp + - feePriority + - fromAddress + - minimumTransferAmount + - referenceId + - toAddress type: object - GetTransactionDetailsByTransactionIDFromCallbackR: + ListCoinsForwardingAutomationsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - recipients: - - amount: "0.00001600" - address: 2NGHH9qxCADY5eTNFUKobi1xiMWoW6FYSCd - - amount: "0.00001600" - address: 2NGHH9qxCADY5eTNFUKobi1xiMWoW6FYSCd - fee: - amount: "0.00000300" - unit: BTC - minedInBlockHeight: 2105197 - index: 44 - minedInBlockHash: 00000000cc8c79e1a80d14873ee7e319f8d2525354be26ace50796444a1e0764 - isConfirmed: true - senders: - - amount: "0.00002000" - address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb - - amount: "0.00002000" - address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb - transactionHash: 8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2 - timestamp: 1637751304 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -31066,684 +38981,603 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackR_data' + $ref: '#/components/schemas/ListCoinsForwardingAutomationsR_data' required: - apiVersion - data - requestId type: object - GetTransactionDetailsByTransactionIDFromCallbackE401: + ListCoinsForwardingAutomationsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetTransactionDetailsByTransactionIDFromCallbackE400: + ListCoinsForwardingAutomationsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetTransactionDetailsByTransactionIDFromCallbackE403: + ListCoinsForwardingAutomationsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetBlockDetailsByBlockHashFromCallbackRIBSB: - description: Bitcoin + DeleteAutomaticCoinsForwardingRI: + example: + confirmationsCount: 3 + feePriority: standard + createdTimestamp: 1611238648 + minimumTransferAmount: "0.00002" + callbackUrl: https://example.com + fromAddress: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB + toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + referenceId: 601c1f23ec4b80f51245e617 properties: - bits: - description: A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and - is the same as microbitcoin (μBTC). Bits have two-decimal precision. - example: "386689514" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 00000000000000000000000000000000000000001932c1bc515b0c0e0dee2040 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 02754414626473fa39a0cfbf8d1960fc17ba932ab586340f61f039114053e851 + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 2113101077 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 925958 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536928256 + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "2000000" - type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 3999412 + createdTimestamp: + description: Defines the specific time/date when the automatic forwarding + was created in Unix Timestamp. + example: 1611238648 type: integer - required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - versionHex - - weight - type: object - GetBlockDetailsByBlockHashFromCallbackRIBSBC: - description: Bitcoin Cash - properties: - bits: - description: A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and - is the same as microbitcoincash (μBCH). Bits have two-decimal precision. - example: "386689514" + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" or \"FAST\"." + enum: + - slow + - standard + - fast + example: standard type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000015dc8754d8bfaedfffbb3bd + fromAddress: + description: Represents the hash of the address that forwards the currency. + example: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "5399792.015244232" + minimumTransferAmount: + description: Represents the minimum transfer amount of the currency in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.00002" type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 543872ba53c13183f951d76dd5933f98900a1bf9b3eef716857dfcc3c0534dfb + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 601c1f23ec4b80f51245e617 type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 1923421957 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 191 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 545259520 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" + toAddress: + description: Represents the hash of the address the currency is forwarded + to. + example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 type: string required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex + - callbackUrl + - confirmationsCount + - createdTimestamp + - feePriority + - fromAddress + - minimumTransferAmount + - referenceId + - toAddress type: object - GetBlockDetailsByBlockHashFromCallbackRIBSL: - description: Litecoin + DeleteAutomaticCoinsForwardingR: + example: + apiVersion: 2.0.0 + data: + item: + confirmationsCount: 3 + feePriority: standard + createdTimestamp: 1611238648 + minimumTransferAmount: "0.00002" + callbackUrl: https://example.com + fromAddress: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB + toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + referenceId: 601c1f23ec4b80f51245e617 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - bits: - description: Represents a specific sub-unit of Litecoin. Bits have two-decimal - precision. - example: "436301753" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000006c61f0fce4b57f08ff4 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "11679731.14248383" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 0ea8cea078d2338ce92e62d3275c92682d0a1879ddf861a7ce16889a24deccd2 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 3021194134 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 300998 - type: integer - strippedsize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 220208 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870916 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000004" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 961622 + data: + $ref: '#/components/schemas/DeleteAutomaticCoinsForwardingR_data' + required: + - apiVersion + - data + - requestId + type: object + DeleteAutomaticCoinsForwardingE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + DeleteAutomaticCoinsForwardingE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + DeleteAutomaticCoinsForwardingE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + CreateAutomaticTokensForwardingRITSBOT: + description: Bitcoin Omni Token + properties: + propertyId: + description: Defines the `propertyId` of the Omni Layer token. + example: 31 type: integer required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedsize - - version - - versionHex - - weight + - propertyId type: object - GetBlockDetailsByBlockHashFromCallbackRIBSD: - description: Dash + CreateAutomaticTokensForwardingRITSET: + description: Ethereum Token properties: - bits: - description: Represents a specific sub-unit of Dash. Bits have two-decimal - precision. - example: "421808151" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000065cbab6e72cb49a0c2f7 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "118376853.4818659" + contractAddress: + description: Represents the specific `contractAddress` of the Token that + will be forwarded. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 1cee8c0df02427cbcfd2d2a88678848b4c08eb89d580df34a52464a6fed4df7f + required: + - contractAddress + type: object + CreateAutomaticTokensForwardingRI: + example: + confirmationsCount: 2 + feePriority: standard + tokenData: null + createdTimestamp: 1611238648 + feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ + minimumTransferAmount: "0.5" + callbackUrl: https://example.com + fromAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + referenceId: 6017dd02a309213863be9e55 + properties: + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 3850564744 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 26171 + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 2 type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 + createdTimestamp: + description: Defines the specific time/date when the automatic forwarding + was created in Unix Timestamp. + example: 1611238648 type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" + feeAddress: + description: "Represents the specific fee address, which is always automatically\ + \ generated. Users must fund it." + example: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ type: string - required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex - type: object - GetBlockDetailsByBlockHashFromCallbackRIBSD2: - description: Dogecoin - properties: - bits: - description: Represents a specific sub-unit of Doge. Bits have two-decimal - precision. - example: "436384320" + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" or \"FAST\"." + enum: + - slow + - standard + - fast + example: standard type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000000624fe5552df3fb55362 + fromAddress: + description: Represents the hash of the address that forwards the tokens. + example: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "6222240.869250271" + minimumTransferAmount: + description: Represents the minimum transfer amount of the tokens in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.5" type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 2d043569a81467a8113e25345a7e43021d6afb6520f9e8d0ea2df0c03eec0a17 + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 6017dd02a309213863be9e55 type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 0 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 12125 - type: integer - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 12125 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 6422788 - type: integer - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 48500 - type: integer + toAddress: + description: Represents the hash of the address the tokens are forwarded + to. + example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + type: string + tokenData: + $ref: '#/components/schemas/CreateAutomaticTokensForwardingRITS' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - weight + - callbackUrl + - confirmationsCount + - createdTimestamp + - feeAddress + - feePriority + - fromAddress + - minimumTransferAmount + - referenceId + - toAddress + - tokenData + type: object + CreateAutomaticTokensForwardingRITS: + oneOf: + - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRITSBOT' + - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRITSET' type: object - GetBlockDetailsByBlockHashFromCallbackRIBSE: - description: Ethereum + CreateAutomaticTokensForwardingR: + example: + apiVersion: 2.0.0 + data: + item: + confirmationsCount: 2 + feePriority: standard + tokenData: null + createdTimestamp: 1611238648 + feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ + minimumTransferAmount: "0.5" + callbackUrl: https://example.com + fromAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + referenceId: 6017dd02a309213863be9e55 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "12499653" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "12488144" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 17 - type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + data: + $ref: '#/components/schemas/CreateAutomaticTokensForwardingR_data' + required: + - apiVersion + - data + - requestId + type: object + CreateAutomaticTokensForwardingE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + CreateAutomaticTokensForwardingE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + CreateAutomaticTokensForwardingE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/TokensForwardingAutomationsLimitReached' + type: object + TokensForwardingAutomationsLimitReached: + description: tokens_forwarding_automations_limit_reached + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: tokens_forwarding_automations_limit_reached type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "4794080996481072" + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: "Your current package plan tokens forwarding automations limit\ + \ of {automations_limit} reached. Please contact us if you need more or\ + \ upgrade your plan." type: string - uncles: + details: items: - description: String array representation of the block uncles - type: string + $ref: '#/components/schemas/BannedIpAddress_details' type: array required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty + - code + - message type: object - GetBlockDetailsByBlockHashFromCallbackRIBSBSC: - description: Binance Smart Chain + AddTokensToExistingFromAddressRITSBOT: + description: Bitcoin Omni Token properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd883010105846765746888676f312e31352e35856c696e75780000005865ba3cf692868cb6a780f2bdcc54d5a8d673aaf8bc134cacaabbe933b2ddc92bfea4984b5620d1c5800cd75dd333c86b1cdcf784ca42f204d77c2b82554ced2ec6445b01 - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "29999542" - type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "896567" - type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in second + propertyId: + description: Defines the `propertyId` of the Omni Layer token. example: 2 type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 0x0000000000000000 - type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 - type: string - size: - description: Represents the total size of the block in Bytes. - example: 2611 - type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block - example: "28671700" + required: + - propertyId + type: object + AddTokensToExistingFromAddressRITSET: + description: Ethereum Token + properties: + contractAddress: + description: Token contract address to be transferred + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - uncles: - items: - description: Representats of the block uncles - type: string - type: array required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty + - contractAddress type: object - GetBlockDetailsByBlockHashFromCallbackRIBSEC: - description: Ethereum Classic + AddTokensToExistingFromAddressRI: + example: + confirmationsCount: 3 + feePriority: standard + tokenData: null + createdTimestamp: 1611238648 + feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ + minimumTransferAmount: "0.0001" + callbackUrl: https://example.com + fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi + referenceId: 6017dd02a309213863be9e55 properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "1180819" + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd983010203844765746887676f312e342e328777696e646f7773 + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 + type: integer + createdTimestamp: + description: Defines the specific time/date when the automatic forwarding + was created in Unix Timestamp. + example: 1611238648 + type: integer + feeAddress: + description: "Represents the specific fee address, which is always automatically\ + \ generated. Users must fund it." + example: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "7999992" + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" or \"FAST\"." + enum: + - slow + - standard + - fast + example: standard type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "6494" + fromAddress: + description: Represents the hash of the address that forwards the tokens. + example: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 6 - type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 0xba281617ac015e5c + minimumTransferAmount: + description: Represents the minimum transfer amount of the tokens in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.0001" type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 6017dd02a309213863be9e55 type: string - size: - description: Represents the total size of the block in Bytes. - example: 537 - type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "1086033282060494457577" + toAddress: + description: Represents the hash of the address the tokens are forwarded + to. + example: mnumE76iEKN47bUsdni85oped5D1fRwKWi type: string - uncles: - items: - description: Representats of the block uncles - type: string - type: array + tokenData: + $ref: '#/components/schemas/AddTokensToExistingFromAddressRITS' required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty + - callbackUrl + - confirmationsCount + - createdTimestamp + - feeAddress + - feePriority + - fromAddress + - minimumTransferAmount + - referenceId + - toAddress + - tokenData type: object - GetBlockDetailsByBlockHashFromCallbackRIBSZ: - description: Zilliqa + AddTokensToExistingFromAddressRITS: + oneOf: + - $ref: '#/components/schemas/AddTokensToExistingFromAddressRITSBOT' + - $ref: '#/components/schemas/AddTokensToExistingFromAddressRITSET' + type: object + AddTokensToExistingFromAddressR: + example: + apiVersion: 2.0.0 + data: + item: + confirmationsCount: 3 + feePriority: standard + tokenData: null + createdTimestamp: 1611238648 + feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ + minimumTransferAmount: "0.0001" + callbackUrl: https://example.com + fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi + referenceId: 6017dd02a309213863be9e55 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - difficulty: - description: Defines how difficult it is for a specific miner to mine the - block. - example: "41.375" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - dsBlock: - description: Represents the Directory Service block which contains metadata - about the miners who participate in the consensus protocol. - example: 12443 - type: integer - dsDifficulty: - description: Defines how difficult it is to mine the dsBlocks. - example: "48.625" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - dsLeader: - description: Represents a part of the DS Committee which leads the consensus - protocol for the epoch. - example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 - type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 10028 - type: integer - microBlocks: - items: - description: Micro blocks are validated simultaneously with other smaller - components called "shards" in order to form the final txBlock. - example: '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - type: string - type: array + data: + $ref: '#/components/schemas/AddTokensToExistingFromAddressR_data' required: - - difficulty - - dsBlock - - dsDifficulty - - dsLeader - - gasLimit - - gasUsed - - microBlocks + - apiVersion + - data + - requestId type: object - GetBlockDetailsByBlockHashFromCallbackRIBSX: - description: XRP + AddTokensToExistingFromAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + AddTokensToExistingFromAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + AddTokensToExistingFromAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - $ref: '#/components/schemas/TokensForwardingAutomationsLimitReached' + type: object + ListTokensForwardingAutomationsRITSBOT: + description: Bitcoin Omni Token properties: - totalCoins: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalCoins' - totalFees: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalFees' + propertyId: + description: Defines the Property ID of the Omni Layer token. + example: 31 + type: integer required: - - totalCoins - - totalFees + - propertyId type: object - GetBlockDetailsByBlockHashFromCallbackRIBSZ2: - description: Zcash + ListTokensForwardingAutomationsRITSET: + description: Ethereum Token properties: - bits: - description: Represents a specific sub-unit of Zcash. Bits have two-decimal - precision - example: "524517883" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000000000000000262b072797 - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" + contractAddress: + description: Defines the token contract address. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - version: - description: Represents the transaction version number. - example: 4 - type: integer required: - - bits - - chainwork - - merkleRoot - - nonce - - size - - version + - contractAddress type: object - GetBlockDetailsByBlockHashFromCallbackRI: - example: - previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f - hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f - transactionsCount: 2755 - height: 673852 - timestamp: 1610365615 + ListTokensForwardingAutomationsRI: properties: - hash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f - type: string - height: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 673852 - type: integer - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1610365615 + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 2 type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 2755 + createdTimestamp: + description: Defines the specific time/date when the automatic forwarding + was created in Unix Timestamp. + example: 1611238648 type: integer - blockchainSpecific: - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBS' - required: - - blockchainSpecific - - hash - - height - - previousBlockHash - - timestamp - - transactionsCount + feeAddress: + description: "Represents the specific fee address, which is always automatically\ + \ generated. Users must fund it." + example: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ + type: string + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" or \"FAST\"." + enum: + - slow + - standard + - fast + example: standard + type: string + fromAddress: + description: Represents the hash of the address that forwards the tokens. + example: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + type: string + minimumTransferAmount: + description: Represents the minimum transfer amount of the tokens in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.5" + type: string + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 6038ad04c22fba4680361105 + type: string + toAddress: + description: Represents the hash of the address the tokens are forwarded + to. + example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + type: string + tokenData: + $ref: '#/components/schemas/ListTokensForwardingAutomationsRITS' + required: + - callbackUrl + - createdTimestamp + - feeAddress + - feePriority + - fromAddress + - minimumTransferAmount + - referenceId + - toAddress + - tokenData type: object - GetBlockDetailsByBlockHashFromCallbackRIBS: + ListTokensForwardingAutomationsRITS: oneOf: - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSB' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSBC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSL' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSD' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSD2' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSE' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSBSC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSEC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSZ' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSX' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackRIBSZ2' + - $ref: '#/components/schemas/ListTokensForwardingAutomationsRITSBOT' + - $ref: '#/components/schemas/ListTokensForwardingAutomationsRITSET' type: object - GetBlockDetailsByBlockHashFromCallbackR: + ListTokensForwardingAutomationsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f - hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f - transactionsCount: 2755 - height: 673852 - timestamp: 1610365615 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -31755,685 +39589,456 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackR_data' + $ref: '#/components/schemas/ListTokensForwardingAutomationsR_data' required: - apiVersion - data - requestId type: object - GetBlockDetailsByBlockHashFromCallbackE401: + ListTokensForwardingAutomationsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetBlockDetailsByBlockHashFromCallbackE400: + ListTokensForwardingAutomationsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetBlockDetailsByBlockHashFromCallbackE403: + ListTokensForwardingAutomationsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSB: - description: Bitcoin + GetFeeAddressDetailsRI: + example: + address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + balance: + amount: "0.01" + unit: ETH + minimumTransferAmount: "0.0002" properties: - bits: - description: A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and - is the same as microbitcoin (μBTC). Bits have two-decimal precision. - example: "386689514" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 00000000000000000000000000000000000000001932c1bc515b0c0e0dee2040 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "21448277761059.71" - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 02754414626473fa39a0cfbf8d1960fc17ba932ab586340f61f039114053e851 + address: + description: "Represents the specific fee address, which is always automatically\ + \ generated. Users must fund it." + example: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 2113101077 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 925958 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536928256 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "2000000" + balance: + $ref: '#/components/schemas/GetFeeAddressDetailsRI_balance' + minimumTransferAmount: + description: Represents the minimum transfer amount of the currency in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.0002" type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 3999412 - type: integer required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - versionHex - - weight + - address + - balance + - minimumTransferAmount type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSBC: - description: Bitcoin Cash + GetFeeAddressDetailsR: + example: + apiVersion: 2.0.0 + data: + item: + address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + balance: + amount: "0.01" + unit: ETH + minimumTransferAmount: "0.0002" + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - bits: - description: A sub-unit of BCH equal to 0.000001 BCH, or 100 Satoshi, and - is the same as microbitcoincash (μBCH). Bits have two-decimal precision. - example: "386689514" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000015dc8754d8bfaedfffbb3bd - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "5399792.015244232" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 543872ba53c13183f951d76dd5933f98900a1bf9b3eef716857dfcc3c0534dfb + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 1923421957 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 191 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 545259520 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + data: + $ref: '#/components/schemas/GetFeeAddressDetailsR_data' required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex + - apiVersion + - data + - requestId type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSL: - description: Litecoin - properties: - bits: - description: Represents a specific sub-unit of Litecoin. Bits have two-decimal - precision. - example: "436301753" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000006c61f0fce4b57f08ff4 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "11679731.14248383" - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 0ea8cea078d2338ce92e62d3275c92682d0a1879ddf861a7ce16889a24deccd2 - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 3021194134 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 300998 - type: integer - strippedsize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 220208 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870916 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000004" - type: string - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 961622 - type: integer - required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedsize - - version - - versionHex - - weight + GetFeeAddressDetailsE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSD: - description: Dash - properties: - bits: - description: Represents a specific sub-unit of Dash. Bits have two-decimal - precision. - example: "421808151" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 0000000000000000000000000000000000000000000065cbab6e72cb49a0c2f7 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "118376853.4818659" - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 1cee8c0df02427cbcfd2d2a88678848b4c08eb89d580df34a52464a6fed4df7f - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 3850564744 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 26171 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 536870912 - type: integer - versionHex: - description: Is the hexadecimal string representation of the block's version. - example: "20000000" - type: string - required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - version - - versionHex + GetFeeAddressDetailsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSD2: - description: Dogecoin - properties: - bits: - description: Represents a specific sub-unit of Doge. Bits have two-decimal - precision. - example: "436384320" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000000624fe5552df3fb55362 - type: string - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "6222240.869250271" - type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 2d043569a81467a8113e25345a7e43021d6afb6520f9e8d0ea2df0c03eec0a17 - type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 0 - type: integer - size: - description: Represents the total size of the block in Bytes. - example: 12125 - type: integer - strippedSize: - description: Defines the numeric representation of the block size excluding - the witness data. - example: 12125 - type: integer - version: - description: Represents the version of the specific block on the blockchain. - example: 6422788 - type: integer - weight: - description: Represents a measurement to compare the size of different transactions - to each other in proportion to the block size limit. - example: 48500 - type: integer - required: - - bits - - chainwork - - difficulty - - merkleRoot - - nonce - - size - - strippedSize - - version - - weight + GetFeeAddressDetailsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSE: - description: Ethereum + DeleteAutomaticTokensForwardingRITSBOT: + description: Bitcoin Omni Token properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "209515044.4071968" - type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "12499653" - type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "12488144" - type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 17 - type: integer - nonce: - description: Represents the sequential running number for an address, starting - from 0 for the first transaction. E.g., if the nonce of a transaction - is 10, it would be the 11th transaction sent from the sender's address. - example: "16" - type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 - type: string - size: - description: Represents the total size of the block in Bytes. - example: 7105 + propertyId: + description: Defines the `propertyId` of the Omni Layer token. + example: 31 type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "4794080996481072" - type: string - uncles: - items: - description: String array representation of the block uncles - type: string - type: array required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty + - propertyId type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSBSC: - description: Binance Smart Chain + DeleteAutomaticTokensForwardingRITSET: + description: Ethereum Token properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "2" - type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd883010105846765746888676f312e31352e35856c696e75780000005865ba3cf692868cb6a780f2bdcc54d5a8d673aaf8bc134cacaabbe933b2ddc92bfea4984b5620d1c5800cd75dd333c86b1cdcf784ca42f204d77c2b82554ced2ec6445b01 - type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "29999542" - type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "896567" - type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in second - example: 3 - type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 0x0000000000000000 - type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 - type: string - size: - description: Represents the total size of the block in Bytes. - example: 2611 - type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block - example: "28671700" + contractAddress: + description: Represents the specific `contractAddress` of the Token that + will be forwarded. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - uncles: - items: - description: Representats of the block uncles - type: string - type: array required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty + - contractAddress type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSEC: - description: Ethereum Classic + DeleteAutomaticTokensForwardingRI: + example: + confirmationsCount: 2 + feePriority: standard + tokenData: null + createdTimestamp: 1611238648 + feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ + minimumTransferAmount: "0.5" + callbackUrl: https://example.com + fromAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + referenceId: 6017dd02a309213863be9e55 properties: - difficulty: - description: Represents a mathematical value of how hard it is to find a - valid hash for this block. - example: "1180819" + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - extraData: - description: Represents any data that can be included by the miner in the - block. - example: 0xd983010203844765746887676f312e342e328777696e646f7773 + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 2 + type: integer + createdTimestamp: + description: Defines the specific time/date when the automatic forwarding + was created in Unix Timestamp. + example: 1611238648 + type: integer + feeAddress: + description: "Represents the specific fee address, which is always automatically\ + \ generated. Users must fund it." + example: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ type: string - gasLimit: - description: Defines the total gas limit of all transactions in the block. - example: "7999992" + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" or \"FAST\"." + enum: + - slow + - standard + - fast + example: standard type: string - gasUsed: - description: Represents the total amount of gas used by all transactions - in this block. - example: "6494" + fromAddress: + description: Represents the hash of the address that forwards the tokens. + example: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB type: string - minedInSeconds: - description: Specifies the amount of time required for the block to be mined - in seconds. - example: 6 - type: integer - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: 0x5a8d218547d0713b + minimumTransferAmount: + description: Represents the minimum transfer amount of the tokens in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.5" type: string - sha3Uncles: - description: Defines the combined hash of all uncles for a given parent. - example: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 + referenceId: + description: Represents a unique ID used to reference the specific callback + subscription. + example: 6017dd02a309213863be9e55 type: string - size: - description: Represents the total size of the block in Bytes. - example: 537 - type: integer - totalDifficulty: - description: Defines the total difficulty of the chain until this block, - i.e. how difficult it is for a specific miner to mine a new block. - example: "1086033282060494457577" + toAddress: + description: Represents the hash of the address the tokens are forwarded + to. + example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 type: string - uncles: - items: - description: Representats of the block uncles - type: string - type: array + tokenData: + $ref: '#/components/schemas/DeleteAutomaticTokensForwardingRITS' required: - - difficulty - - extraData - - gasLimit - - gasUsed - - minedInSeconds - - nonce - - sha3Uncles - - size - - totalDifficulty + - callbackUrl + - confirmationsCount + - createdTimestamp + - feeAddress + - feePriority + - fromAddress + - minimumTransferAmount + - referenceId + - toAddress + - tokenData type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSZ: - description: Zilliqa + DeleteAutomaticTokensForwardingRITS: + oneOf: + - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingRITSBOT' + - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingRITSET' + type: object + DeleteAutomaticTokensForwardingR: + example: + apiVersion: 2.0.0 + data: + item: + confirmationsCount: 2 + feePriority: standard + tokenData: null + createdTimestamp: 1611238648 + feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ + minimumTransferAmount: "0.5" + callbackUrl: https://example.com + fromAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + referenceId: 6017dd02a309213863be9e55 + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - difficulty: - description: Defines how difficult it is for a specific miner to mine the - block. - example: "41.375" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - dsBlock: - description: Represents the Directory Service block which contains metadata - about the miners who participate in the consensus protocol. - example: 12443 - type: integer - dsDifficulty: - description: Defines how difficult it is to mine the dsBlocks. - example: "48.625" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - dsLeader: - description: Represents a part of the DS Committee which leads the consensus - protocol for the epoch. - example: zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - gasLimit: - description: Represents the maximum amount of gas allowed in the block in - order to determine how many transactions it can fit. - example: 550000 - type: integer - gasUsed: - description: Defines how much of the gas for the block has been used. - example: 10028 - type: integer - microBlocks: - items: - description: Micro blocks are validated simultaneously with other smaller - components called "shards" in order to form the final txBlock. - example: '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c - [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e - [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - type: string - type: array + data: + $ref: '#/components/schemas/DeleteAutomaticTokensForwardingR_data' required: - - difficulty - - dsBlock - - dsDifficulty - - dsLeader - - gasLimit - - gasUsed - - microBlocks + - apiVersion + - data + - requestId type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSX: - description: XRP + DeleteAutomaticTokensForwardingE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + DeleteAutomaticTokensForwardingE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + DeleteAutomaticTokensForwardingE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + ValidateAddressRI: + example: + address: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU + isValid: true properties: - totalCoins: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalCoins' - totalFees: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockRI_totalFees' + address: + description: Represents the specific address that will be checked if it's + valid or not. + example: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU + type: string + isValid: + description: Defines whether the address is valid or not. Set as boolean. + example: true + type: boolean required: - - totalCoins - - totalFees + - address + - isValid type: object - GetBlockDetailsByBlockHeightFromCallbackRIBSZ2: - description: Zcash + ValidateAddressR: + example: + apiVersion: 2.0.0 + data: + item: + address: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU + isValid: true + requestId: 601c1710034ed6d407996b30 + context: yourExampleString properties: - bits: - description: Represents a specific sub-unit of Zcash. Bits have two-decimal - precision - example: "524517883" - type: string - chainwork: - description: Represents a hexadecimal number of all the hashes necessary - to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd - to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes. - example: 000000000000000000000000000000000000000000000000000000262b072797 + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - merkleRoot: - description: Defines the single and final (root) node of a Merkle tree. - It is the combined hash of all transactions' hashes that are part of a - blockchain block. - example: 961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - nonce: - description: Represents a random value that can be adjusted to satisfy the - proof of work - example: "2113101077" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - size: - description: Represents the total size of the block in Bytes. - example: 1408113 - type: integer - version: - description: Represents the transaction version number. - example: 536870916 - type: integer + data: + $ref: '#/components/schemas/ValidateAddressR_data' required: - - bits - - chainwork - - merkleRoot - - nonce - - size - - version + - apiVersion + - data + - requestId type: object - GetBlockDetailsByBlockHeightFromCallbackRI: + ValidateAddressE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + ValidateAddressE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + ValidateAddressE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + GetEIP1559FeeRecommendationsRI: example: - previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f - hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f - transactionsCount: 2755 - height: 673852 - timestamp: 1610365615 + baseFeePerGas: + unit: WEI + value: "45265143502" + maxPriorityFeePerGas: + standard: "41987372497" + unit: WEI + fast: "47085140300" + slow: "37331114417" + maxFeePerGas: + standard: "69996407508" + unit: WEI + fast: "75235090892" + slow: "67416761254" properties: - hash: - description: Represents the hash of the block, which is its unique identifier. - It represents a cryptographic digital fingerprint made by hashing the - block header twice through the SHA256 algorithm. - example: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f + baseFeePerGas: + $ref: '#/components/schemas/GetEIP1559FeeRecommendationsRI_baseFeePerGas' + maxFeePerGas: + $ref: '#/components/schemas/GetEIP1559FeeRecommendationsRI_maxFeePerGas' + maxPriorityFeePerGas: + $ref: '#/components/schemas/GetEIP1559FeeRecommendationsRI_maxPriorityFeePerGas' + required: + - baseFeePerGas + - maxFeePerGas + - maxPriorityFeePerGas + type: object + GetEIP1559FeeRecommendationsR: + example: + apiVersion: 2.0.0 + data: + item: + baseFeePerGas: + unit: WEI + value: "45265143502" + maxPriorityFeePerGas: + standard: "41987372497" + unit: WEI + fast: "47085140300" + slow: "37331114417" + maxFeePerGas: + standard: "69996407508" + unit: WEI + fast: "75235090892" + slow: "67416761254" + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - height: - description: Represents the number of blocks in the blockchain preceding - this specific block. Block numbers have no gaps. A blockchain usually - starts with block 0 called the "Genesis block". - example: 673852 - type: integer - previousBlockHash: - description: Represents the hash of the previous block, also known as the - parent block. - example: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - timestamp: - description: Defines the exact date/time when this block was mined in Unix - Timestamp. - example: 1610365615 - type: integer - transactionsCount: - description: Represents the total number of all transactions as part of - this block. - example: 2755 - type: integer - blockchainSpecific: - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBS' + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + data: + $ref: '#/components/schemas/GetEIP1559FeeRecommendationsR_data' required: - - blockchainSpecific - - hash - - height - - previousBlockHash - - timestamp - - transactionsCount + - apiVersion + - data + - requestId type: object - GetBlockDetailsByBlockHeightFromCallbackRIBS: + GetEIP1559FeeRecommendationsE401: oneOf: - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSB' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSBC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSL' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSD' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSD2' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSE' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSBSC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSEC' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSZ' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSX' - - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackRIBSZ2' + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' type: object - GetBlockDetailsByBlockHeightFromCallbackR: + GetEIP1559FeeRecommendationsE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + GetEIP1559FeeRecommendationsE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + BroadcastLocallySignedTransactionRI: + example: + transactionId: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 + properties: + transactionId: + description: "Represents the unique identifier of a transaction, i.e. it\ + \ could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction\ + \ `hash` in Ethereum blockchain." + example: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 + type: string + required: + - transactionId + type: object + BroadcastLocallySignedTransactionR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f - hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f - transactionsCount: 2755 - height: 673852 - timestamp: 1610365615 + transactionId: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -32445,106 +40050,124 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackR_data' + $ref: '#/components/schemas/BroadcastLocallySignedTransactionR_data' required: - apiVersion - data - requestId type: object - GetBlockDetailsByBlockHeightFromCallbackE401: + BroadcastLocallySignedTransactionE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetBlockDetailsByBlockHeightFromCallbackE400: + BroadcastLocallySignedTransactionE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetBlockDetailsByBlockHeightFromCallbackE403: + BroadcastLocallySignedTransactionE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - NewConfirmedInternalTransactionsRI: + BroadcastLocallySignedTransactionE409: + oneOf: + - $ref: '#/components/schemas/InvalidData' + - $ref: '#/components/schemas/AlreadyExists' + type: object + EstimateGasLimitRI: example: - address: 0xbcc817f057950b0df41206c5d7125e6225cae18e - createdTimestamp: 1236238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + gasLimit: "550000" properties: - address: - description: Defines the specific address of the internal transaction. - example: 0xbcc817f057950b0df41206c5d7125e6225cae18e + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "550000" type: string - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs 2.0. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + required: + - gasLimit + type: object + EstimateGasLimitR: + example: + apiVersion: 2.0.0 + data: + item: + gasLimit: "550000" + requestId: 601c1710034ed6d407996b30 + context: yourExampleString + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1236238648 - type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + data: + $ref: '#/components/schemas/EstimateGasLimitR_data' + required: + - apiVersion + - data + - requestId + type: object + EstimateGasLimitE401: + oneOf: + - $ref: '#/components/schemas/MissingApiKey' + - $ref: '#/components/schemas/InvalidApiKey' + type: object + EstimateGasLimitE400: + oneOf: + - $ref: '#/components/schemas/UriNotFound' + - $ref: '#/components/schemas/LimitGreaterThanAllowed' + - $ref: '#/components/schemas/InvalidPagination' + type: object + EstimateGasLimitE403: + oneOf: + - $ref: '#/components/schemas/BannedIpAddress' + - $ref: '#/components/schemas/EndpointNotAllowedForPlan' + - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' + - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + type: object + EstimateTokenGasLimitRI: + example: + gasLimit: "550000" + properties: + gasLimit: + description: Represents the amount of gas used by this specific transaction + alone. + example: "550000" type: string required: - - address - - callbackSecretKey - - callbackUrl - - createdTimestamp - - eventType - - isActive - - referenceId + - gasLimit type: object - NewConfirmedInternalTransactionsR: + EstimateTokenGasLimitR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - address: 0xbcc817f057950b0df41206c5d7125e6225cae18e - createdTimestamp: 1236238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + gasLimit: "550000" requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -32556,120 +40179,68 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsR_data' + $ref: '#/components/schemas/EstimateTokenGasLimitR_data' required: - apiVersion - data - requestId type: object - NewConfirmedInternalTransactionsE401: + EstimateTokenGasLimitE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - NewConfirmedInternalTransactionsE400: + EstimateTokenGasLimitE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - NewConfirmedInternalTransactionsE403: + EstimateTokenGasLimitE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' - type: object - NewConfirmedInternalTransactionsE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' type: object - NewConfirmedInternalTransactionsAndEachConfirmationRI: + DecodeRawTransactionHexRI: example: - confirmationsCount: 3 - address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + size: 248 + blockchainSpeficicData: null + transactionId: 00a8a090a7c78f64e4626e6720b305edd95fcd7865b5b45864a88070a8079cea properties: - address: - description: Defines the specific address of the internal transaction. - example: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 - type: string - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey - type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer - createdTimestamp: - description: Defines the specific time/date when the subscription was created - in Unix Timestamp. - example: 1611238648 + blockchainSpeficicData: + $ref: '#/components/schemas/DecodeRawTransactionHexRIS' + size: + description: Represents the total size of this transaction. + example: 248 type: integer - eventType: - description: Defines the type of the specific event available for the customer - to subscribe to for callback notification. - example: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - type: string - isActive: - description: Defines whether the subscription is active or not. Set as boolean. - example: true - type: boolean - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: bc243c86-0902-4386-b30d-e6b30fa1f2aa + transactionId: + description: Represents the decoded transaction hex. + example: 00a8a090a7c78f64e4626e6720b305edd95fcd7865b5b45864a88070a8079cea type: string required: - - address - - callbackSecretKey - - callbackUrl - - confirmationsCount - - createdTimestamp - - eventType - - isActive - - referenceId + - blockchainSpeficicData + - size + - transactionId type: object - NewConfirmedInternalTransactionsAndEachConfirmationR: + DecodeRawTransactionHexR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - confirmationsCount: 3 - address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 - createdTimestamp: 1611238648 - callbackSecretKey: yourSecretKey - callbackUrl: https://example.com - eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - isActive: true - referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + size: 248 + blockchainSpeficicData: null + transactionId: 00a8a090a7c78f64e4626e6720b305edd95fcd7865b5b45864a88070a8079cea requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -32681,123 +40252,88 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationR_data' + $ref: '#/components/schemas/DecodeRawTransactionHexR_data' required: - apiVersion - data - requestId type: object - NewConfirmedInternalTransactionsAndEachConfirmationE401: + DecodeRawTransactionHexE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - NewConfirmedInternalTransactionsAndEachConfirmationE400: + DecodeRawTransactionHexE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/InvalidBlockchain' + - $ref: '#/components/schemas/InvalidNetwork' + - $ref: '#/components/schemas/InvalidTransactionHex' type: object - NewConfirmedInternalTransactionsAndEachConfirmationE403: + DecodeRawTransactionHexE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/BlockchainEventsCallbacksLimitReached' type: object - NewConfirmedInternalTransactionsAndEachConfirmationE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' + InvalidTransactionHex: + description: invalid_transaction_hex + properties: + code: + description: "Specifies an error code, e.g. error 404." + example: invalid_transaction_hex + type: string + message: + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: The transaction Hex is invalid! + type: string + details: + items: + $ref: '#/components/schemas/BannedIpAddress_details' + type: array + required: + - code + - message type: object - CreateAutomaticCoinsForwardingRI: + DecodeX-AddressRI: example: - confirmationsCount: 3 - feePriority: standard - createdTimestamp: 1611238648 - minimumTransferAmount: "0.0002" - callbackUrl: https://example.com - fromAddress: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB - toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 - referenceId: 6017c964973cdcf4d4f69e29 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z properties: - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer - createdTimestamp: - description: Defines the specific time/date when the automatic forwarding - was created in Unix Timestamp. - example: 1611238648 + addressTag: + description: Defines a specific Tag that is an additional XRP address feature. + It helps identifying a transaction recipient beyond a wallet address. + example: 3999472835 type: integer - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" OR "FAST". - enum: - - slow - - standard - - fast - example: standard - type: string - fromAddress: - description: Represents the hash of the address that forwards the currency. - example: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB - type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the currency in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.0002" - type: string - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 6017c964973cdcf4d4f69e29 - type: string - toAddress: - description: Represents the hash of the address the currency is forwarded - to. - example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + classicAddress: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z type: string required: - - callbackUrl - - confirmationsCount - - createdTimestamp - - feePriority - - fromAddress - - minimumTransferAmount - - referenceId - - toAddress + - addressTag + - classicAddress type: object - CreateAutomaticCoinsForwardingR: + DecodeX-AddressR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - confirmationsCount: 3 - feePriority: standard - createdTimestamp: 1611238648 - minimumTransferAmount: "0.0002" - callbackUrl: https://example.com - fromAddress: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB - toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 - referenceId: 6017c964973cdcf4d4f69e29 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -32809,131 +40345,59 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/CreateAutomaticCoinsForwardingR_data' + $ref: '#/components/schemas/DecodeX_AddressR_data' required: - apiVersion - data - requestId type: object - CreateAutomaticCoinsForwardingE401: + DecodeX-AddressE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - CreateAutomaticCoinsForwardingE400: + DecodeX-AddressE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/InvalidBlockchain' + - $ref: '#/components/schemas/InvalidNetwork' type: object - CreateAutomaticCoinsForwardingE403: + DecodeX-AddressE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/CoinsForwardingAutomationsLimitReached' - type: object - CreateAutomaticCoinsForwardingE409: - oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' - type: object - CoinsForwardingAutomationsLimitReached: - description: coins_forwarding_automations_limit_reached - properties: - code: - description: Specifies an error code, e.g. error 404. - example: coins_forwarding_automations_limit_reached - type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Your current package plan coins forwarding automations limit of - {automations_limit} reached. Please contact us if you need more or upgrade - your plan. - type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array - required: - - code - - message type: object - ListCoinsForwardingAutomationsRI: + EncodeX-AddressRI: + example: + xAddress: TVTMSyg6nRscAm2JtRd8hnpF9nD21CgZx6ibb9iy3EWHotV properties: - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCountTrigger: - description: Represents the total count of the transaction confirmations - before triggering the event. - example: 3 - type: integer - createdTimestamp: - description: Defines the specific time/date when the automatic forwarding - was created in Unix Timestamp. - example: 1611238648 - type: integer - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" OR "FAST". - enum: - - slow - - standard - - fast - example: standard - type: string - fromAddress: - description: Represents the hash of the address that forwards the currency. - example: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB - type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the currency in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.0002" - type: string - referenceId: - description: Represents a unique ID used to reference the specific forwarding - automation. - example: 6017dd02a309213863be9e55 - type: string - toAddress: - description: Represents the hash of the address the currency is forwarded - to. - example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + xAddress: + description: Represents the encoded classic address with its destination + tag. + example: TVTMSyg6nRscAm2JtRd8hnpF9nD21CgZx6ibb9iy3EWHotV type: string required: - - callbackUrl - - confirmationsCountTrigger - - createdTimestamp - - feePriority - - fromAddress - - minimumTransferAmount - - referenceId - - toAddress + - xAddress type: object - ListCoinsForwardingAutomationsR: + EncodeX-AddressR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] + item: + xAddress: TVTMSyg6nRscAm2JtRd8hnpF9nD21CgZx6ibb9iy3EWHotV requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -32945,117 +40409,83 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListCoinsForwardingAutomationsR_data' + $ref: '#/components/schemas/EncodeX_AddressR_data' required: - apiVersion - data - requestId type: object - ListCoinsForwardingAutomationsE401: + EncodeX-AddressE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListCoinsForwardingAutomationsE400: + EncodeX-AddressE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' + - $ref: '#/components/schemas/InvalidBlockchain' + - $ref: '#/components/schemas/InvalidNetwork' type: object - ListCoinsForwardingAutomationsE403: + EncodeX-AddressE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - DeleteAutomaticCoinsForwardingRI: - example: - confirmationsCount: 3 - feePriority: standard - createdTimestamp: 1611238648 - minimumTransferAmount: "0.00002" - callbackUrl: https://example.com - fromAddress: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB - toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 - referenceId: 601c1f23ec4b80f51245e617 + ListSupportedAssetsRI: properties: - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer - createdTimestamp: - description: Defines the specific time/date when the automatic forwarding - was created in Unix Timestamp. - example: 1611238648 - type: integer - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" or "FAST". - enum: - - slow - - standard - - fast - example: standard + assetId: + description: Defines the unique ID of the specific asset. + example: 5b1ea92e584bf50020130615 type: string - fromAddress: - description: Represents the hash of the address that forwards the currency. - example: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB + assetName: + description: Specifies the name of the asset in question. + example: Bitcoin type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the currency in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.00002" + assetSymbol: + description: Specifies the asset's unique symbol in the Crypto APIs listings. + example: BTC type: string - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 601c1f23ec4b80f51245e617 + assetType: + description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + enum: + - fiat + - crypto + example: crypto type: string - toAddress: - description: Represents the hash of the address the currency is forwarded - to. - example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + originalSymbol: + description: Specifies the asset's original symbol as introduced by its + founders. + example: BTC type: string required: - - callbackUrl - - confirmationsCount - - createdTimestamp - - feePriority - - fromAddress - - minimumTransferAmount - - referenceId - - toAddress + - assetId + - assetName + - assetSymbol + - assetType + - originalSymbol type: object - DeleteAutomaticCoinsForwardingR: + ListSupportedAssetsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - item: - confirmationsCount: 3 - feePriority: standard - createdTimestamp: 1611238648 - minimumTransferAmount: "0.00002" - callbackUrl: https://example.com - fromAddress: mzAsK3csTnozLnYVdca4gaoH1btBZBC6QB - toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 - referenceId: 601c1f23ec4b80f51245e617 + total: 100 + offset: 0 + limit: 50 + items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -33067,154 +40497,96 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/DeleteAutomaticCoinsForwardingR_data' + $ref: '#/components/schemas/ListSupportedAssetsR_data' required: - apiVersion - data - requestId type: object - DeleteAutomaticCoinsForwardingE401: + ListSupportedAssetsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - DeleteAutomaticCoinsForwardingE400: + ListSupportedAssetsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - DeleteAutomaticCoinsForwardingE403: + ListSupportedAssetsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - CreateAutomaticTokensForwardingRITSBOT: - description: Bitcoin Omni Token - properties: - propertyId: - description: Defines the `propertyId` of the Omni Layer token. - example: 31 - type: integer - required: - - propertyId - type: object - CreateAutomaticTokensForwardingRITSET: - description: Ethereum Token - properties: - contractAddress: - description: Represents the specific `contractAddress` of the Token that - will be forwarded. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 - type: string - required: - - contractAddress - type: object - CreateAutomaticTokensForwardingRI: + GetExchangeRateByAssetSymbolsRI: example: - confirmationsCount: 2 - feePriority: standard - createdTimestamp: 1611238648 - feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - minimumTransferAmount: "0.5" - callbackUrl: https://example.com - fromAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 - referenceId: 6017dd02a309213863be9e55 + rate: "54768.26745499848" + fromAssetSymbol: BTC + fromAssetId: 5b1ea92e584bf50020130612 + toAssetSymbol: USD + calculationTimestamp: 1618577849 + toAssetId: 5b1ea92e584bf50020130615 properties: - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 2 - type: integer - createdTimestamp: - description: Defines the specific time/date when the automatic forwarding - was created in Unix Timestamp. - example: 1611238648 + calculationTimestamp: + description: Defines the time of the market data used to calculate the exchange + rate in UNIX Timestamp. + example: 1618577849 type: integer - feeAddress: - description: Represents the specific fee address, which is always automatically - generated. Users must fund it. - example: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" or "FAST". - enum: - - slow - - standard - - fast - example: standard + fromAssetId: + description: Defines the base asset Reference ID to get a rate for. + example: 5b1ea92e584bf50020130612 type: string - fromAddress: - description: Represents the hash of the address that forwards the tokens. - example: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + fromAssetSymbol: + description: Defines the base asset symbol to get a rate for. + example: BTC type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the tokens in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.5" + rate: + description: Defines the exchange rate between assets calculated by weighted + average of the last trades in every exchange for the last 24 hours by + giving more weight to exchanges with higher volume. + example: "54768.26745499848" type: string - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 6017dd02a309213863be9e55 + toAssetId: + description: Defines the relation asset Reference ID in which the base asset + rate will be displayed. + example: 5b1ea92e584bf50020130615 type: string - toAddress: - description: Represents the hash of the address the tokens are forwarded - to. - example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + toAssetSymbol: + description: Defines the relation asset symbol in which the base asset rate + will be displayed. + example: USD type: string - tokenData: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRITS' required: - - callbackUrl - - confirmationsCount - - createdTimestamp - - feeAddress - - feePriority - - fromAddress - - minimumTransferAmount - - referenceId - - toAddress - - tokenData - type: object - CreateAutomaticTokensForwardingRITS: - oneOf: - - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRITSBOT' - - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRITSET' + - calculationTimestamp + - fromAssetId + - fromAssetSymbol + - rate + - toAssetId + - toAssetSymbol type: object - CreateAutomaticTokensForwardingR: + GetExchangeRateByAssetSymbolsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - confirmationsCount: 2 - feePriority: standard - createdTimestamp: 1611238648 - feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - minimumTransferAmount: "0.5" - callbackUrl: https://example.com - fromAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 - referenceId: 6017dd02a309213863be9e55 + rate: "54768.26745499848" + fromAssetSymbol: BTC + fromAssetId: 5b1ea92e584bf50020130612 + toAssetSymbol: USD + calculationTimestamp: 1618577849 + toAssetId: 5b1ea92e584bf50020130615 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -33226,47 +40598,44 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingR_data' + $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsR_data' required: - apiVersion - data - requestId type: object - CreateAutomaticTokensForwardingE401: + GetExchangeRateByAssetSymbolsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - CreateAutomaticTokensForwardingE400: + GetExchangeRateByAssetSymbolsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - CreateAutomaticTokensForwardingE403: + GetExchangeRateByAssetSymbolsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/TokensForwardingAutomationsLimitReached' type: object - TokensForwardingAutomationsLimitReached: - description: tokens_forwarding_automations_limit_reached + CouldNotCalculateRateForPair: + description: could_not_calculate_rate_for_pair properties: code: - description: Specifies an error code, e.g. error 404. - example: tokens_forwarding_automations_limit_reached + description: "Specifies an error code, e.g. error 404." + example: could_not_calculate_rate_for_pair type: string message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Your current package plan tokens forwarding automations limit of - {automations_limit} reached. Please contact us if you need more or upgrade - your plan. + description: "Specifies the message of the error, i.e. why the error was\ + \ returned, e.g. error 404 stands for “not found”." + example: Rate could not be calculated due to not enough pair trades data. type: string details: items: @@ -33276,126 +40645,74 @@ components: - code - message type: object - AddTokensToExistingFromAddressRITSBOT: - description: Bitcoin Omni Token - properties: - propertyId: - description: Defines the `propertyId` of the Omni Layer token. - example: 2 - type: integer - required: - - propertyId - type: object - AddTokensToExistingFromAddressRITSET: - description: Ethereum Token - properties: - contractAddress: - description: Token contract address to be transferred - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 - type: string - required: - - contractAddress + GetExchangeRateByAssetSymbolsE422: + oneOf: + - $ref: '#/components/schemas/InvalidRequestBodyStructure' + - $ref: '#/components/schemas/CouldNotCalculateRateForPair' type: object - AddTokensToExistingFromAddressRI: + GetExchangeRateByAssetsIDsRI: example: - confirmationsCount: 3 - feePriority: standard - createdTimestamp: 1611238648 - feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - minimumTransferAmount: "0.0001" - callbackUrl: https://example.com - fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr - toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi - referenceId: 6017dd02a309213863be9e55 + rate: "54691.40481689715" + fromAssetSymbol: BTC + fromAssetId: 5b1ea92e584bf50020130612 + toAssetSymbol: USD + calculationTimestamp: 1618577849 + toAssetId: 5b1ea92e584bf50020130615 properties: - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer - createdTimestamp: - description: Defines the specific time/date when the automatic forwarding - was created in Unix Timestamp. - example: 1611238648 + calculationTimestamp: + description: Defines the time of the market data used to calculate the exchange + rate in UNIX Timestamp. + example: 1618577849 type: integer - feeAddress: - description: Represents the specific fee address, which is always automatically - generated. Users must fund it. - example: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" or "FAST". - enum: - - slow - - standard - - fast - example: standard + fromAssetId: + description: Defines the base asset Reference ID to get a rate for. + example: 5b1ea92e584bf50020130612 type: string - fromAddress: - description: Represents the hash of the address that forwards the tokens. - example: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + fromAssetSymbol: + description: Defines the base asset symbol to get a rate for. + example: BTC type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the tokens in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.0001" + rate: + description: Defines the exchange rate between assets calculated by weighted + average of the last trades in every exchange for the last 24 hours by + giving more weight to exchanges with higher volume. + example: "54691.40481689715" type: string - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 6017dd02a309213863be9e55 + toAssetId: + description: Defines the relation asset Reference ID in which the base asset + rate will be displayed. + example: 5b1ea92e584bf50020130615 type: string - toAddress: - description: Represents the hash of the address the tokens are forwarded - to. - example: mnumE76iEKN47bUsdni85oped5D1fRwKWi + toAssetSymbol: + description: Defines the relation asset symbol in which the base asset rate + will be displayed. + example: USD type: string - tokenData: - $ref: '#/components/schemas/AddTokensToExistingFromAddressRITS' required: - - callbackUrl - - confirmationsCount - - createdTimestamp - - feeAddress - - feePriority - - fromAddress - - minimumTransferAmount - - referenceId - - toAddress - - tokenData - type: object - AddTokensToExistingFromAddressRITS: - oneOf: - - $ref: '#/components/schemas/AddTokensToExistingFromAddressRITSBOT' - - $ref: '#/components/schemas/AddTokensToExistingFromAddressRITSET' + - calculationTimestamp + - fromAssetId + - fromAssetSymbol + - rate + - toAssetId + - toAssetSymbol type: object - AddTokensToExistingFromAddressR: + GetExchangeRateByAssetsIDsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - confirmationsCount: 3 - feePriority: standard - createdTimestamp: 1611238648 - feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - minimumTransferAmount: "0.0001" - callbackUrl: https://example.com - fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr - toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi - referenceId: 6017dd02a309213863be9e55 + rate: "54691.40481689715" + fromAssetSymbol: BTC + fromAssetId: 5b1ea92e584bf50020130612 + toAssetSymbol: USD + calculationTimestamp: 1618577849 + toAssetId: 5b1ea92e584bf50020130615 requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -33407,137 +40724,99 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/AddTokensToExistingFromAddressR_data' + $ref: '#/components/schemas/GetExchangeRateByAssetsIDsR_data' required: - apiVersion - data - requestId type: object - AddTokensToExistingFromAddressE401: + GetExchangeRateByAssetsIDsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - AddTokensToExistingFromAddressE400: + GetExchangeRateByAssetsIDsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - AddTokensToExistingFromAddressE403: + GetExchangeRateByAssetsIDsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - - $ref: '#/components/schemas/TokensForwardingAutomationsLimitReached' - type: object - ListTokensForwardingAutomationsRITSBOT: - description: Bitcoin Omni Token - properties: - propertyId: - description: Defines the Property ID of the Omni Layer token. - example: 31 - type: integer - required: - - propertyId type: object - ListTokensForwardingAutomationsRITSET: - description: Ethereum Token - properties: - contractAddress: - description: Defines the token contract address. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 - type: string - required: - - contractAddress + GetExchangeRateByAssetsIDsE422: + oneOf: + - $ref: '#/components/schemas/InvalidRequestBodyStructure' + - $ref: '#/components/schemas/CouldNotCalculateRateForPair' type: object - ListTokensForwardingAutomationsRI: + ListAssetsDetailsRI: properties: - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 2 - type: integer - createdTimestamp: - description: Defines the specific time/date when the automatic forwarding - was created in Unix Timestamp. - example: 1611238648 - type: integer - feeAddress: - description: Represents the specific fee address, which is always automatically - generated. Users must fund it. - example: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ + assetId: + description: Defines the unique ID of the specific asset. + example: 5b1ea92e584bf50020130615 type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" or "FAST". - enum: - - slow - - standard - - fast - example: standard + assetLogo: + $ref: '#/components/schemas/ListAssetsDetailsRI_assetLogo' + assetName: + description: Specifies the name of the asset in question. + example: Bitcoin type: string - fromAddress: - description: Represents the hash of the address that forwards the tokens. - example: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + assetOriginalSymbol: + description: Specifies the asset's original symbol as introduced by its + founders. + example: BTC type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the tokens in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.5" + assetSymbol: + description: Specifies the asset's unique symbol in the Crypto APIs listings. + example: BTC type: string - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 6038ad04c22fba4680361105 + assetType: + description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + enum: + - fiat + - crypto + example: crypto type: string - toAddress: - description: Represents the hash of the address the tokens are forwarded - to. - example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + latestRate: + $ref: '#/components/schemas/ListAssetsDetailsRI_latestRate' + slug: + description: Represents the asset`s unique slug string in Crypto APIs listings. + example: tether type: string - tokenData: - $ref: '#/components/schemas/ListTokensForwardingAutomationsRITS' + specificData: + $ref: '#/components/schemas/ListAssetsDetailsRIS' required: - - callbackUrl - - createdTimestamp - - feeAddress - - feePriority - - fromAddress - - minimumTransferAmount - - referenceId - - toAddress - - tokenData - type: object - ListTokensForwardingAutomationsRITS: - oneOf: - - $ref: '#/components/schemas/ListTokensForwardingAutomationsRITSBOT' - - $ref: '#/components/schemas/ListTokensForwardingAutomationsRITSET' + - assetId + - assetLogo + - assetName + - assetOriginalSymbol + - assetSymbol + - assetType + - latestRate + - specificData type: object - ListTokensForwardingAutomationsR: + ListAssetsDetailsR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: total: 100 offset: 0 limit: 50 items: [] requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -33549,74 +40828,122 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/ListTokensForwardingAutomationsR_data' + $ref: '#/components/schemas/ListAssetsDetailsR_data' required: - apiVersion - data - requestId type: object - ListTokensForwardingAutomationsE401: + ListAssetsDetailsE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - ListTokensForwardingAutomationsE400: + ListAssetsDetailsE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - ListTokensForwardingAutomationsE403: + ListAssetsDetailsE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - GetFeeAddressDetailsRI: + GetAssetDetailsByAssetIDRI: example: - address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 - balance: - amount: "0.01" - unit: ETH - minimumTransferAmount: "0.0002" + assetSymbol: BTC + assetId: 5b1ea92e584bf50020130615 + assetLogo: + imageData: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= + mimeType: image/svg+xml + encoding: base64 + assetName: Bitcoin + latestRate: + amount: "61704.20995670996" + unit: USD + calculationTimestamp: 1636107864 + assetOriginalSymbol: BTC + slug: bitcoin + assetType: crypto + specificData: null properties: - address: - description: Represents the specific fee address, which is always automatically - generated. Users must fund it. - example: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 + assetId: + description: Defines the unique ID of the specific asset. + example: 5b1ea92e584bf50020130615 type: string - balance: - $ref: '#/components/schemas/GetFeeAddressDetailsRI_balance' - minimumTransferAmount: - description: Represents the minimum transfer amount of the currency in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.0002" + assetLogo: + $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI_assetLogo' + assetName: + description: Specifies the name of the asset in question. + example: Bitcoin + type: string + assetOriginalSymbol: + description: Specifies the asset's original symbol as introduced by its + founders. + example: BTC + type: string + assetSymbol: + description: Specifies the asset's unique symbol in the Crypto APIs listings. + example: BTC + type: string + assetType: + description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + enum: + - fiat + - crypto + example: crypto type: string + latestRate: + $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI_latestRate' + slug: + description: Represents the asset`s unique slug string in Crypto APIs listings. + example: bitcoin + type: string + specificData: + $ref: '#/components/schemas/GetAssetDetailsByAssetIDRIS' required: - - address - - balance - - minimumTransferAmount + - assetId + - assetLogo + - assetName + - assetOriginalSymbol + - assetSymbol + - assetType + - latestRate + - specificData type: object - GetFeeAddressDetailsR: + GetAssetDetailsByAssetIDR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036 - balance: - amount: "0.01" - unit: ETH - minimumTransferAmount: "0.0002" + assetSymbol: BTC + assetId: 5b1ea92e584bf50020130615 + assetLogo: + imageData: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= + mimeType: image/svg+xml + encoding: base64 + assetName: Bitcoin + latestRate: + amount: "61704.20995670996" + unit: USD + calculationTimestamp: 1636107864 + assetOriginalSymbol: BTC + slug: bitcoin + assetType: crypto + specificData: null requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -33628,154 +40955,122 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/GetFeeAddressDetailsR_data' + $ref: '#/components/schemas/GetAssetDetailsByAssetIDR_data' required: - apiVersion - data - requestId type: object - GetFeeAddressDetailsE401: + GetAssetDetailsByAssetIDE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - GetFeeAddressDetailsE400: + GetAssetDetailsByAssetIDE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - GetFeeAddressDetailsE403: + GetAssetDetailsByAssetIDE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - DeleteAutomaticTokensForwardingRITSBOT: - description: Bitcoin Omni Token - properties: - propertyId: - description: Defines the `propertyId` of the Omni Layer token. - example: 31 - type: integer - required: - - propertyId - type: object - DeleteAutomaticTokensForwardingRITSET: - description: Ethereum Token - properties: - contractAddress: - description: Represents the specific `contractAddress` of the Token that - will be forwarded. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 - type: string - required: - - contractAddress - type: object - DeleteAutomaticTokensForwardingRI: + GetAssetDetailsByAssetSymbolRI: example: - confirmationsCount: 2 - feePriority: standard - createdTimestamp: 1611238648 - feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - minimumTransferAmount: "0.5" - callbackUrl: https://example.com - fromAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 - referenceId: 6017dd02a309213863be9e55 + assetSymbol: BTC + assetId: 5b1ea92e584bf50020130615 + assetLogo: + imageData: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= + mimeType: image/svg+xml + encoding: base64 + assetName: Bitcoin + latestRate: + amount: "61704.20995670996" + unit: USD + calculationTimestamp: 1636107864 + assetOriginalSymbol: BTC + slug: bitcoin + assetType: crypto + specificData: null properties: - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 2 - type: integer - createdTimestamp: - description: Defines the specific time/date when the automatic forwarding - was created in Unix Timestamp. - example: 1611238648 - type: integer - feeAddress: - description: Represents the specific fee address, which is always automatically - generated. Users must fund it. - example: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" or "FAST". - enum: - - slow - - standard - - fast - example: standard + assetId: + description: Defines the unique ID of the specific asset. + example: 5b1ea92e584bf50020130615 type: string - fromAddress: - description: Represents the hash of the address that forwards the tokens. - example: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + assetLogo: + $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI_assetLogo' + assetName: + description: Specifies the name of the asset in question. + example: Bitcoin type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the tokens in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.5" + assetOriginalSymbol: + description: Specifies the asset's original symbol as introduced by its + founders. + example: BTC type: string - referenceId: - description: Represents a unique ID used to reference the specific callback - subscription. - example: 6017dd02a309213863be9e55 + assetSymbol: + description: Specifies the asset's unique symbol in the Crypto APIs listings. + example: BTC type: string - toAddress: - description: Represents the hash of the address the tokens are forwarded - to. - example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + assetType: + description: Defines the type of the supported asset. This could be either + "crypto" or "fiat". + enum: + - fiat + - crypto + example: crypto type: string - tokenData: - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingRITS' - required: - - callbackUrl - - confirmationsCount - - createdTimestamp - - feeAddress - - feePriority - - fromAddress - - minimumTransferAmount - - referenceId - - toAddress - - tokenData - type: object - DeleteAutomaticTokensForwardingRITS: - oneOf: - - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingRITSBOT' - - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingRITSET' + latestRate: + $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI_latestRate' + slug: + description: Represents the asset`s unique slug string in Crypto APIs listings. + example: bitcoin + type: string + specificData: + $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolRIS' + required: + - assetId + - assetLogo + - assetName + - assetOriginalSymbol + - assetSymbol + - assetType + - latestRate + - specificData type: object - DeleteAutomaticTokensForwardingR: + GetAssetDetailsByAssetSymbolR: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: item: - confirmationsCount: 2 - feePriority: standard - createdTimestamp: 1611238648 - feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ - minimumTransferAmount: "0.5" - callbackUrl: https://example.com - fromAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 - referenceId: 6017dd02a309213863be9e55 + assetSymbol: BTC + assetId: 5b1ea92e584bf50020130615 + assetLogo: + imageData: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= + mimeType: image/svg+xml + encoding: base64 + assetName: Bitcoin + latestRate: + amount: "61704.20995670996" + unit: USD + calculationTimestamp: 1636107864 + assetOriginalSymbol: BTC + slug: bitcoin + assetType: crypto + specificData: null requestId: 601c1710034ed6d407996b30 - context: You can add any text here + context: yourExampleString properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -33787,950 +41082,880 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string data: - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingR_data' + $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolR_data' required: - apiVersion - data - requestId type: object - DeleteAutomaticTokensForwardingE401: + GetAssetDetailsByAssetSymbolE401: oneOf: - $ref: '#/components/schemas/MissingApiKey' - $ref: '#/components/schemas/InvalidApiKey' type: object - DeleteAutomaticTokensForwardingE400: + GetAssetDetailsByAssetSymbolE400: oneOf: - $ref: '#/components/schemas/UriNotFound' - $ref: '#/components/schemas/LimitGreaterThanAllowed' - $ref: '#/components/schemas/InvalidPagination' type: object - DeleteAutomaticTokensForwardingE403: + GetAssetDetailsByAssetSymbolE403: oneOf: - $ref: '#/components/schemas/BannedIpAddress' - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' type: object - ValidateAddressRI: + TransactionRequestApproval: example: - address: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU - isValid: true + apiVersion: 2.0.0 + data: + product: WALLET_AS_A_SERVICE + item: + requiredApprovals: 2 + currentRejections: 0 + blockchain: ethereum + requiredRejections: 2 + network: ropsten + currentApprovals: 1 + event: TRANSACTION_REQUEST_APPROVAL + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: - address: - description: Represents the specific address that will be checked if it's - valid or not. - example: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - isValid: - description: Defines whether the address is valid or not. Set as boolean. - example: true - type: boolean + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c + type: string + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + type: string + data: + $ref: '#/components/schemas/TransactionRequestApproval_data' required: - - address - - isValid + - apiVersion + - data + - idempotencyKey + - referenceId type: object - ValidateAddressR: + TransactionRequestRejection: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: + product: WALLET_AS_A_SERVICE item: - address: 15XyNC88pujwuuur8DCsXBCfEhJJMzHayU - isValid: true - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + requiredApprovals: 2 + currentRejections: 2 + blockchain: ethereum + requiredRejections: 2 + network: ropsten + currentApprovals: 0 + event: TRANSACTION_REQUEST_REJECTION + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/ValidateAddressR_data' + $ref: '#/components/schemas/TransactionRequestRejection_data' required: - apiVersion - data - - requestId - type: object - ValidateAddressE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ValidateAddressE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ValidateAddressE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - idempotencyKey + - referenceId type: object - GetEIP1559FeeRecommendationsRI: + TransactionRequestBroadcasted: example: - baseFeePerGas: - unit: WEI - value: "45265143502" - maxPriorityFeePerGas: - standard: "41987372497" - unit: WEI - fast: "47085140300" - slow: "37331114417" - maxFeePerGas: - standard: "69996407508" - unit: WEI - fast: "75235090892" - slow: "67416761254" + apiVersion: 2.0.0 + data: + product: WALLET_AS_A_SERVICE + item: + requiredApprovals: 5 + currentRejections: 1 + blockchain: Bitcoin/Ethereum (whichever applicable) + requiredRejections: 2 + transactionId: 4e78f606bc42534744e223f54b85d5bbd54a3949f54eb8fac31d73028c286e31 + network: Testnet/Mainnet (whichever applicable) + currentApprovals: 2 + event: TRANSACTION_REQUEST_BROADCASTED + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: - baseFeePerGas: - $ref: '#/components/schemas/GetEIP1559FeeRecommendationsRI_baseFeePerGas' - maxFeePerGas: - $ref: '#/components/schemas/GetEIP1559FeeRecommendationsRI_maxFeePerGas' - maxPriorityFeePerGas: - $ref: '#/components/schemas/GetEIP1559FeeRecommendationsRI_maxPriorityFeePerGas' + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c + type: string + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + type: string + data: + $ref: '#/components/schemas/TransactionRequestBroadcasted_data' required: - - baseFeePerGas - - maxFeePerGas - - maxPriorityFeePerGas + - apiVersion + - data + - idempotencyKey + - referenceId type: object - GetEIP1559FeeRecommendationsR: + TransactionRequestMined: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: + product: WALLET_AS_A_SERVICE item: - baseFeePerGas: - unit: WEI - value: "45265143502" - maxPriorityFeePerGas: - standard: "41987372497" - unit: WEI - fast: "47085140300" - slow: "37331114417" - maxFeePerGas: - standard: "69996407508" - unit: WEI - fast: "75235090892" - slow: "67416761254" - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + requiredApprovals: 5 + currentRejections: 1 + blockchain: Bitcoin/Ethereum (whichever applicable) + requiredRejections: 2 + transactionId: 4e78f606bc42534744e223f54b85d5bbd54a3949f54eb8fac31d73028c286e31 + network: Testnet/Mainnet (whichever applicable) + currentApprovals: 2 + event: TRANSACTION_REQUEST_MINED + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/GetEIP1559FeeRecommendationsR_data' + $ref: '#/components/schemas/TransactionRequestMined_data' required: - apiVersion - data - - requestId - type: object - GetEIP1559FeeRecommendationsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetEIP1559FeeRecommendationsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetEIP1559FeeRecommendationsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - idempotencyKey + - referenceId type: object - BroadcastLocallySignedTransactionRI: + TransactionRequestFail: example: - transactionId: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 + apiVersion: 2.0.0 + data: + product: WALLET_AS_A_SERVICE + item: + requiredApprovals: 2 + currentRejections: 0 + blockchain: ethereum + requiredRejections: 2 + errorMessage: Transaction_Request_Failed + network: ropsten + currentApprovals: 0 + event: TRANSACTION_REQUEST_FAIL + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: - transactionId: - description: Represents the unique identifier of a transaction, i.e. it - could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction - `hash` in Ethereum blockchain. - example: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c + type: string + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + type: string + data: + $ref: '#/components/schemas/TransactionRequestFail_data' required: - - transactionId + - apiVersion + - data + - idempotencyKey + - referenceId type: object - BroadcastLocallySignedTransactionR: + AddressCoinsTransactionUnconfirmed: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: + product: BLOCKCHAIN_EVENTS item: - transactionId: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + amount: "0.6508984" + unit: BTC + address: 3CzKAnCXt7ePb5NCp5qrAEimrxjY81oLoT + blockchain: bitcoin + firstSeenInMempoolTimestamp: 1610365615 + transactionId: 4b2159770f75a7200ea168eb56ebbf3303b025d838f743fb6e785bc32d5ac65b + network: testnet + direction: incoming + event: ADDRESS_COINS_TRANSACTION_UNCONFIRMED + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionR_data' + $ref: '#/components/schemas/AddressCoinsTransactionUnconfirmed_data' required: - apiVersion - data - - requestId + - idempotencyKey + - referenceId type: object - BroadcastLocallySignedTransactionE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' + AddressTokensTransactionUnconfirmedErc-20: + description: ERC-20 + properties: + name: + description: Specifies the name of the token. + example: Tether USD + type: string + symbol: + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." + example: USDT + type: string + decimals: + description: Defines how many decimals can be used to break the token. + example: "6" + type: string + amount: + description: Defines the amount of tokens sent with the transaction that + is pending confirmation. + example: "10.5" + type: string + contractAddress: + description: Defines the address of the contract. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + type: string + required: + - amount + - contractAddress + - name + - symbol type: object - BroadcastLocallySignedTransactionE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' + AddressTokensTransactionUnconfirmedErc-721: + description: ERC-721 + properties: + name: + description: Specifies the name of the token. + example: Wonky Stonks + type: string + symbol: + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." + example: WSTK + type: string + tokenId: + description: Specifies the unique ID of the token. + example: "5027" + type: string + contractAddress: + description: Specifies the address of the contract. + example: 0x518ba36f1ca6dfe3bb1b098b8dd0444030e79d9f + type: string + required: + - contractAddress + - name + - symbol + - tokenId type: object - BroadcastLocallySignedTransactionE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + AddressTokensTransactionUnconfirmedOmni: + description: OMNI + properties: + name: + description: Specifies the name of the token. + example: TetherUSDT + type: string + propertyId: + description: Defines the ID of the property for Omni Layer. + example: "31" + type: string + transactionType: + description: Defines the type of the transaction made. + example: "Simple Send, DEx Purchase etc." + type: string + createdByTransactionId: + description: The transaction ID used to create the token. + example: be5be71feac9e7019fbcdea5a87098a7862a0ee8c60bd5809b4d3b0cda940ddc + type: string + amount: + description: Defines the amount of tokens sent with the transaction that + is pending confirmation. + example: "110.531723" + type: string + required: + - amount + - createdByTransactionId + - name + - propertyId + - transactionType type: object - BroadcastLocallySignedTransactionE409: + AddressTokensTransactionUnconfirmedToken: oneOf: - - $ref: '#/components/schemas/InvalidData' - - $ref: '#/components/schemas/AlreadyExists' + - $ref: '#/components/schemas/AddressTokensTransactionUnconfirmedErc-20' + - $ref: '#/components/schemas/AddressTokensTransactionUnconfirmedErc-721' + - $ref: '#/components/schemas/AddressTokensTransactionUnconfirmedOmni' type: object - ListSupportedAssetsRI: + AddressTokensTransactionUnconfirmed: + example: + apiVersion: 2.0.0 + data: + product: BLOCKCHAIN_EVENTS + item: + address: 0x65b895f400dae5541d70cbbec07527210158f6e2 + blockchain: ethereum + firstSeenInMempoolTimestamp: 1210363220 + tokenType: ERC-20 + transactionId: 0x76670f3bb45c09e69173fe74834face446edf251c5f02ec30384a0957fce482b + network: ropsten + token: null + direction: incoming + event: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: - assetId: - description: Defines the unique ID of the specific asset. - example: 5b1ea92e584bf50020130615 - type: string - assetName: - description: Specifies the name of the asset in question. - example: Bitcoin - type: string - assetSymbol: - description: Specifies the asset's unique symbol in the Crypto APIs listings. - example: BTC + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - assetType: - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". - enum: - - fiat - - crypto - example: crypto + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - originalSymbol: - description: Specifies the asset's original symbol as introduced by its - founders. - example: BTC + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string + data: + $ref: '#/components/schemas/AddressTokensTransactionUnconfirmed_data' required: - - assetId - - assetName - - assetSymbol - - assetType - - originalSymbol + - apiVersion + - data + - idempotencyKey + - referenceId type: object - ListSupportedAssetsR: + AddressCoinsTransactionConfirmed: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + product: BLOCKCHAIN_EVENTS + item: + minedInBlock: + hash: b00d27cccd5e4f4fa1b28824d9a1e5fef88e6c37cdeb09e37eb39aa1d3d63448 + height: 667861 + timestamp: 1610365213 + amount: "0.0315" + unit: BTC + address: bc1qmjhy4exylset37e6sfjdtfksm8kpcrxknj7cag + blockchain: bitcoin + transactionId: b00d27cccd5e4f4fa1b28824d9a1e5fef88e6c37cdeb09e37eb39aa1d3d63448 + network: testnet + direction: incoming + event: ADDRESS_COINS_TRANSACTION_CONFIRMED + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/ListSupportedAssetsR_data' + $ref: '#/components/schemas/AddressCoinsTransactionConfirmed_data' required: - apiVersion - data - - requestId - type: object - ListSupportedAssetsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListSupportedAssetsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListSupportedAssetsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - idempotencyKey + - referenceId type: object - GetExchangeRateByAssetSymbolsRI: - example: - rate: "54768.26745499848" - fromAssetSymbol: BTC - fromAssetId: 5b1ea92e584bf50020130612 - toAssetSymbol: USD - calculationTimestamp: 1618577849 - toAssetId: 5b1ea92e584bf50020130615 + AddressTokensTransactionConfirmedErc-20: + description: ERC-20 properties: - calculationTimestamp: - description: Defines the time of the market data used to calculate the exchange - rate in UNIX Timestamp. - example: 1618577849 - type: integer - fromAssetId: - description: Defines the base asset Reference ID to get a rate for. - example: 5b1ea92e584bf50020130612 + name: + description: Specifies the name of the token. + example: Tether USD type: string - fromAssetSymbol: - description: Defines the base asset symbol to get a rate for. - example: BTC + symbol: + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." + example: USDT type: string - rate: - description: Defines the exchange rate between assets calculated by weighted - average of the last trades in every exchange for the last 24 hours by - giving more weight to exchanges with higher volume. - example: "54768.26745499848" + decimals: + description: Defines how many decimals can be used to break the token. + example: "6" type: string - toAssetId: - description: Defines the relation asset Reference ID in which the base asset - rate will be displayed. - example: 5b1ea92e584bf50020130615 + amount: + description: Defines the amount of tokens sent with the confirmed transaction. + example: "0.00039" type: string - toAssetSymbol: - description: Defines the relation asset symbol in which the base asset rate - will be displayed. - example: USD + contractAddress: + description: Defines the address of the contract. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string required: - - calculationTimestamp - - fromAssetId - - fromAssetSymbol - - rate - - toAssetId - - toAssetSymbol + - amount + - contractAddress + - name + - symbol type: object - GetExchangeRateByAssetSymbolsR: - example: - apiVersion: "2.0" - data: - item: - rate: "54768.26745499848" - fromAssetSymbol: BTC - fromAssetId: 5b1ea92e584bf50020130612 - toAssetSymbol: USD - calculationTimestamp: 1618577849 - toAssetId: 5b1ea92e584bf50020130615 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + AddressTokensTransactionConfirmedErc-721: + description: ERC-721 properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + name: + description: Specifies the name of the token. + example: Wonky Stonks type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + symbol: + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." + example: WSTK type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + tokenId: + description: Specifies the ID of the token. + example: "5027" + type: string + contractAddress: + description: Specifies the address of the contract. + example: 0x518ba36f1ca6dfe3bb1b098b8dd0444030e79d9f type: string - data: - $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsR_data' required: - - apiVersion - - data - - requestId - type: object - GetExchangeRateByAssetSymbolsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetExchangeRateByAssetSymbolsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetExchangeRateByAssetSymbolsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - contractAddress + - name + - symbol + - tokenId type: object - CouldNotCalculateRateForPair: - description: could_not_calculate_rate_for_pair + AddressTokensTransactionConfirmedOmni: + description: OMNI properties: - code: - description: Specifies an error code, e.g. error 404. - example: could_not_calculate_rate_for_pair + name: + description: Specifies the name of the token. + example: Tether-USDT type: string - message: - description: Specifies the message of the error, i.e. why the error was - returned, e.g. error 404 stands for “not found”. - example: Rate could not be calculated due to not enough pair trades data. + propertyId: + description: Defines the ID of the property for Omni Layer. + example: "31" + type: string + transactionType: + description: Defines the type of the transaction. + example: "Simple Send, DEx Purchase etc." + type: string + createdByTransactionId: + description: The transaction ID used to create the token. + example: be5be71feac9e7019fbcdea5a87098a7862a0ee8c60bd5809b4d3b0cda940ddc + type: string + amount: + description: Defines the amount of tokens sent with the confirmed transaction. + example: "110.531723" type: string - details: - items: - $ref: '#/components/schemas/BannedIpAddress_details' - type: array required: - - code - - message - type: object - GetExchangeRateByAssetSymbolsE422: - oneOf: - - $ref: '#/components/schemas/InvalidRequestBodyStructure' - - $ref: '#/components/schemas/CouldNotCalculateRateForPair' + - amount + - createdByTransactionId + - name + - propertyId + - transactionType type: object - GetExchangeRateByAssetsIDsRI: - example: - rate: "54691.40481689715" - fromAssetSymbol: BTC - fromAssetId: 5b1ea92e584bf50020130612 - toAssetSymbol: USD - calculationTimestamp: 1618577849 - toAssetId: 5b1ea92e584bf50020130615 + AddressTokensTransactionConfirmedBep-20: + description: BEP-20 properties: - calculationTimestamp: - description: Defines the time of the market data used to calculate the exchange - rate in UNIX Timestamp. - example: 1618577849 - type: integer - fromAssetId: - description: Defines the base asset Reference ID to get a rate for. - example: 5b1ea92e584bf50020130612 + name: + description: Specifies the name of the token. + example: BEP-20 type: string - fromAssetSymbol: - description: Defines the base asset symbol to get a rate for. - example: BTC + symbol: + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." + example: BEST type: string - rate: - description: Defines the exchange rate between assets calculated by weighted - average of the last trades in every exchange for the last 24 hours by - giving more weight to exchanges with higher volume. - example: "54691.40481689715" + decimals: + description: Defines how many decimals can be used to break the token. + example: "8" type: string - toAssetId: - description: Defines the relation asset Reference ID in which the base asset - rate will be displayed. - example: 5b1ea92e584bf50020130615 + amount: + description: Defines the amount of tokens sent with the confirmed transaction. + example: "0.00039" type: string - toAssetSymbol: - description: Defines the relation asset symbol in which the base asset rate - will be displayed. - example: USD + contractAddress: + description: Defines the address of the contract. + example: 0xc4a9f4217748390f597e79050de41a39293345d2 type: string required: - - calculationTimestamp - - fromAssetId - - fromAssetSymbol - - rate - - toAssetId - - toAssetSymbol + - amount + - contractAddress + - name + - symbol type: object - GetExchangeRateByAssetsIDsR: + AddressTokensTransactionConfirmedToken: + oneOf: + - $ref: '#/components/schemas/AddressTokensTransactionConfirmedErc-20' + - $ref: '#/components/schemas/AddressTokensTransactionConfirmedErc-721' + - $ref: '#/components/schemas/AddressTokensTransactionConfirmedOmni' + - $ref: '#/components/schemas/AddressTokensTransactionConfirmedBep-20' + type: object + AddressTokensTransactionConfirmed: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: + product: BLOCKCHAIN_EVENTS item: - rate: "54691.40481689715" - fromAssetSymbol: BTC - fromAssetId: 5b1ea92e584bf50020130612 - toAssetSymbol: USD - calculationTimestamp: 1618577849 - toAssetId: 5b1ea92e584bf50020130615 - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + minedInBlock: + hash: 269b0de44db95beddb6aecc520b375ba8f91f3dc5558a24aa4c26979eb00c7e2 + height: 657915 + timestamp: 1586365500 + address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + blockchain: ethereum + tokenType: ERC-20 + transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 + network: ropsten + token: null + direction: incoming + event: ADDRESS_TOKENS_TRANSACTION_CONFIRMED + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/GetExchangeRateByAssetsIDsR_data' + $ref: '#/components/schemas/AddressTokensTransactionConfirmed_data' required: - apiVersion - data - - requestId - type: object - GetExchangeRateByAssetsIDsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetExchangeRateByAssetsIDsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetExchangeRateByAssetsIDsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - type: object - GetExchangeRateByAssetsIDsE422: - oneOf: - - $ref: '#/components/schemas/InvalidRequestBodyStructure' - - $ref: '#/components/schemas/CouldNotCalculateRateForPair' + - idempotencyKey + - referenceId type: object - ListAssetsDetailsRI: + AddressTokensTransactionConfirmedEachConfirmationErc-20: + description: ERC-20 properties: - assetId: - description: Defines the unique ID of the specific asset. - example: 5b1ea92e584bf50020130615 - type: string - assetLogo: - $ref: '#/components/schemas/ListAssetsDetailsRI_assetLogo' - assetName: - description: Specifies the name of the asset in question. - example: Bitcoin + name: + description: Specifies the name of the token. + example: Tether USD type: string - assetOriginalSymbol: - description: Specifies the asset's original symbol as introduced by its - founders. - example: BTC + symbol: + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." + example: USDT type: string - assetSymbol: - description: Specifies the asset's unique symbol in the Crypto APIs listings. - example: BTC + decimals: + description: Defines how many decimals can be used to break the token. + example: "6" type: string - assetType: - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". - enum: - - fiat - - crypto - example: crypto + amount: + description: Defines the amount of tokens sent with the confirmed transaction. + example: "11.9" type: string - latestRate: - $ref: '#/components/schemas/ListAssetsDetailsRI_latestRate' - slug: - description: Represents the asset`s unique slug string in Crypto APIs listings. - example: tether + contractAddress: + description: Defines the address of the contract. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 type: string - specificData: - $ref: '#/components/schemas/ListAssetsDetailsRIS' required: - - assetId - - assetLogo - - assetName - - assetOriginalSymbol - - assetSymbol - - assetType - - latestRate - - specificData + - amount + - contractAddress + - name + - symbol type: object - ListAssetsDetailsR: - example: - apiVersion: "2.0" - data: - total: 100 - offset: 0 - limit: 50 - items: [] - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + AddressTokensTransactionConfirmedEachConfirmationErc-721: + description: ERC-721 properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + name: + description: Specifies the name of the token. + example: Wonky Stonks type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + symbol: + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." + example: WSTK type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + tokenId: + description: Specifies the ID of the token. + example: "5027" + type: string + contractAddress: + description: Specifies the address of the contract. + example: 0x518ba36f1ca6dfe3bb1b098b8dd0444030e79d9f type: string - data: - $ref: '#/components/schemas/ListAssetsDetailsR_data' required: - - apiVersion - - data - - requestId - type: object - ListAssetsDetailsE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - ListAssetsDetailsE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - ListAssetsDetailsE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - contractAddress + - name + - symbol + - tokenId type: object - GetAssetDetailsByAssetIDRI: - example: - assetSymbol: BTC - assetId: 5b1ea92e584bf50020130615 - assetLogo: - imageData: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= - mimeType: image/svg+xml - encoding: base64 - assetName: Bitcoin - latestRate: - amount: "61704.20995670996" - unit: USD - calculationTimestamp: 1636107864 - assetOriginalSymbol: BTC - slug: bitcoin - assetType: crypto + AddressTokensTransactionConfirmedEachConfirmationOmni: + description: OMNI + properties: + name: + description: Specifies the name of the token. + example: TetherUSDT + type: string + propertyId: + description: Defines the ID of the property for Omni Layer. + example: "31" + type: string + transactionType: + description: Defines the type of the transaction. + example: "Simple Send, DEx Purchase etc." + type: string + createdByTransactionId: + description: The transaction ID used to create the token. + example: be5be71feac9e7019fbcdea5a87098a7862a0ee8c60bd5809b4d3b0cda940ddc + type: string + amount: + description: Defines the amount of tokens sent with the confirmed transaction. + example: "190.531725" + type: string + required: + - amount + - createdByTransactionId + - name + - propertyId + - transactionType + type: object + AddressTokensTransactionConfirmedEachConfirmationBep-20: + description: BEP-20 properties: - assetId: - description: Defines the unique ID of the specific asset. - example: 5b1ea92e584bf50020130615 - type: string - assetLogo: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI_assetLogo' - assetName: - description: Specifies the name of the asset in question. - example: Bitcoin + name: + description: Specifies the name of the token. + example: BEP-20 type: string - assetOriginalSymbol: - description: Specifies the asset's original symbol as introduced by its - founders. - example: BTC + symbol: + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." + example: BEST type: string - assetSymbol: - description: Specifies the asset's unique symbol in the Crypto APIs listings. - example: BTC + decimals: + description: Defines how many decimals can be used to break the token. + example: "8" type: string - assetType: - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". - enum: - - fiat - - crypto - example: crypto + amount: + description: Defines the amount of tokens sent with the confirmed transaction. + example: "0.00039" type: string - latestRate: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI_latestRate' - slug: - description: Represents the asset`s unique slug string in Crypto APIs listings. - example: bitcoin + contractAddress: + description: Defines the address of the contract. + example: 0xc4a9f4217748390f597e79050de41a39293345d2 type: string - specificData: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDRIS' required: - - assetId - - assetLogo - - assetName - - assetOriginalSymbol - - assetSymbol - - assetType - - latestRate - - specificData + - amount + - contractAddress + - name + - symbol type: object - GetAssetDetailsByAssetIDR: + AddressTokensTransactionConfirmedEachConfirmationToken: + oneOf: + - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmationErc-20' + - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmationErc-721' + - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmationOmni' + - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmationBep-20' + type: object + AddressTokensTransactionConfirmedEachConfirmation: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: + product: BLOCKCHAIN_EVENTS item: - assetSymbol: BTC - assetId: 5b1ea92e584bf50020130615 - assetLogo: - imageData: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= - mimeType: image/svg+xml - encoding: base64 - assetName: Bitcoin - latestRate: - amount: "61704.20995670996" - unit: USD - calculationTimestamp: 1636107864 - assetOriginalSymbol: BTC - slug: bitcoin - assetType: crypto - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + currentConfirmations: 2 + minedInBlock: + hash: 269b0de44db95beddb6aecc520b375ba8f91f3dc5558a24aa4c26979eb00c7e2 + height: 657915 + timestamp: 1586365500 + address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 + blockchain: ethereum + tokenType: ERC-20 + transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 + network: ropsten + targetConfirmations: 3 + token: null + direction: incoming + event: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDR_data' + $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmation_data' required: - apiVersion - data - - requestId - type: object - GetAssetDetailsByAssetIDE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetAssetDetailsByAssetIDE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetAssetDetailsByAssetIDE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' - type: object - GetAssetDetailsByAssetSymbolRI: - example: - assetSymbol: BTC - assetId: 5b1ea92e584bf50020130615 - assetLogo: - imageData: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= - mimeType: image/svg+xml - encoding: base64 - assetName: Bitcoin - latestRate: - amount: "61704.20995670996" - unit: USD - calculationTimestamp: 1636107864 - assetOriginalSymbol: BTC - slug: bitcoin - assetType: crypto - properties: - assetId: - description: Defines the unique ID of the specific asset. - example: 5b1ea92e584bf50020130615 - type: string - assetLogo: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI_assetLogo' - assetName: - description: Specifies the name of the asset in question. - example: Bitcoin - type: string - assetOriginalSymbol: - description: Specifies the asset's original symbol as introduced by its - founders. - example: BTC - type: string - assetSymbol: - description: Specifies the asset's unique symbol in the Crypto APIs listings. - example: BTC - type: string - assetType: - description: Defines the type of the supported asset. This could be either - "crypto" or "fiat". - enum: - - fiat - - crypto - example: crypto - type: string - latestRate: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI_latestRate' - slug: - description: Represents the asset`s unique slug string in Crypto APIs listings. - example: bitcoin - type: string - specificData: - $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolRIS' - required: - - assetId - - assetLogo - - assetName - - assetOriginalSymbol - - assetSymbol - - assetType - - latestRate - - specificData + - idempotencyKey + - referenceId type: object - GetAssetDetailsByAssetSymbolR: + AddressCoinsTransactionConfirmedEachConfirmation: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: + product: BLOCKCHAIN_EVENTS item: - assetSymbol: BTC - assetId: 5b1ea92e584bf50020130615 - assetLogo: - imageData: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= - mimeType: image/svg+xml - encoding: base64 - assetName: Bitcoin - latestRate: - amount: "61704.20995670996" - unit: USD - calculationTimestamp: 1636107864 - assetOriginalSymbol: BTC - slug: bitcoin - assetType: crypto - requestId: 601c1710034ed6d407996b30 - context: You can add any text here + currentConfirmations: 8 + minedInBlock: + hash: dfe45f6724b550c281107ffaa5880cb280878fb4dbaa742aa21449f3d2340c13 + height: 667754 + timestamp: 1610365314 + amount: "0.0611" + unit: BTC + address: 15282N4BYEwYh3j1dTgJu64Ey5qWn9Po9F + blockchain: bitcoin + transactionId: cbd3dea703bd2bc78bca69ee61ca14e6ffcdd809d07ebbc3b8fea3c30ea38f33 + network: testnet + targetConfirmations: 12 + direction: incoming + event: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolR_data' + $ref: '#/components/schemas/AddressCoinsTransactionConfirmedEachConfirmation_data' required: - apiVersion - data - - requestId - type: object - GetAssetDetailsByAssetSymbolE401: - oneOf: - - $ref: '#/components/schemas/MissingApiKey' - - $ref: '#/components/schemas/InvalidApiKey' - type: object - GetAssetDetailsByAssetSymbolE400: - oneOf: - - $ref: '#/components/schemas/UriNotFound' - - $ref: '#/components/schemas/LimitGreaterThanAllowed' - - $ref: '#/components/schemas/InvalidPagination' - type: object - GetAssetDetailsByAssetSymbolE403: - oneOf: - - $ref: '#/components/schemas/BannedIpAddress' - - $ref: '#/components/schemas/EndpointNotAllowedForPlan' - - $ref: '#/components/schemas/EndpointNotAllowedForApiKey' - - $ref: '#/components/schemas/FeatureMainnetsNotAllowedForPlan' + - idempotencyKey + - referenceId type: object - TransactionRequestApproval: + TransactionMined: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - product: WALLET_AS_A_SERVICE + product: BLOCKCHAIN_EVENTS item: - requiredApprovals: 2 - currentRejections: 0 - blockchain: ethereum - requiredRejections: 2 - network: ropsten - currentApprovals: 1 - event: TRANSACTION_REQUEST_APPROVAL + minedInBlock: + hash: e9da0c8ce1861050c20f40fb660df4d13399f50b882e85bcd98126eb1173cc50 + height: 667900 + timestamp: 1610355613 + blockchain: bitcoin + transactionId: e6439461e5bf8920e75740896d4b47730b844837295e8c3f2dbf441542aebcb6 + network: testnet + event: TRANSACTION_MINED idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." example: 6038d09050653d1f0e40584c type: string idempotencyKey: @@ -34741,37 +41966,36 @@ components: example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/TransactionRequestApproval_data' + $ref: '#/components/schemas/TransactionMined_data' required: - apiVersion - data - idempotencyKey - referenceId type: object - TransactionRequestRejection: + BlockMined: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - product: WALLET_AS_A_SERVICE + product: BLOCKCHAIN_EVENTS item: - requiredApprovals: 2 - currentRejections: 2 - blockchain: ethereum - requiredRejections: 2 - network: ropsten - currentApprovals: 0 - event: TRANSACTION_REQUEST_REJECTION + blockchain: bitcoin + hash: 00000000000000000006ddb5e854505f8b792122b0ac9469c07eb26db414f6fb + network: testnet + height: 570008 + timestamp: 1610365615 + event: BLOCK_MINED idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." example: 6038d09050653d1f0e40584c type: string idempotencyKey: @@ -34782,38 +42006,43 @@ components: example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/TransactionRequestRejection_data' + $ref: '#/components/schemas/BlockMined_data' required: - apiVersion - data - idempotencyKey - referenceId type: object - TransactionRequestBroadcasted: + AddressInternalTransactionConfirmed: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - product: WALLET_AS_A_SERVICE + product: BLOCKCHAIN_DATA item: - requiredApprovals: 5 - currentRejections: 1 - blockchain: Bitcoin/Ethereum (whichever applicable) - requiredRejections: 2 - transactionId: 4e78f606bc42534744e223f54b85d5bbd54a3949f54eb8fac31d73028c286e31 - network: Testnet/Mainnet (whichever applicable) - currentApprovals: 2 - event: TRANSACTION_REQUEST_BROADCASTED + minedInBlock: + hash: 0xa787415dc7c7025a43b87542a57872d1127f30f95daa87097cf5f26ef79d6950 + height: 12567093 + timestamp: 1622797821 + amount: "0.94891479938916527" + unit: ETH + address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 + blockchain: ethereum + operationId: call_5_0 + network: mainnet + parentTransactionId: 0xc3be8371b32fa2238c44271643446b14c87ff11b77d58f9a1bceb1d1253e79b2 + direction: outgoing + event: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." example: 6038d09050653d1f0e40584c type: string idempotencyKey: @@ -34824,38 +42053,45 @@ components: example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/TransactionRequestBroadcasted_data' + $ref: '#/components/schemas/AddressInternalTransactionConfirmed_data' required: - apiVersion - data - idempotencyKey - referenceId type: object - TransactionRequestMined: + AddressInternalTransactionConfirmedEachConfirmation: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - product: WALLET_AS_A_SERVICE + product: BLOCKCHAIN_DATA item: - requiredApprovals: 5 - currentRejections: 1 - blockchain: Bitcoin/Ethereum (whichever applicable) - requiredRejections: 2 - transactionId: 4e78f606bc42534744e223f54b85d5bbd54a3949f54eb8fac31d73028c286e31 - network: Testnet/Mainnet (whichever applicable) - currentApprovals: 2 - event: TRANSACTION_REQUEST_MINED + currentConfirmations: 2 + minedInBlock: + hash: 0x936a34ef544e6fc9fc5f68fb086b9e8ea0e5eca52cb45cb67b27d174bccc35a5 + height: 12566992 + timestamp: 1622796751 + amount: "0.05710541741945074" + unit: ETH + address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 + blockchain: ethereum + operationId: call_1_0_1_0_3_0 + network: mainnet + parentTransactionId: 0x5fc77216fdfb8c966387030be7bda4bacce0232f7115722ef5b228a223974784 + targetConfirmations: 3 + direction: outgoing + event: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." example: 6038d09050653d1f0e40584c type: string idempotencyKey: @@ -34866,38 +42102,41 @@ components: example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/TransactionRequestMined_data' + $ref: '#/components/schemas/AddressInternalTransactionConfirmedEachConfirmation_data' required: - apiVersion - data - idempotencyKey - referenceId type: object - TransactionRequestFail: + CoinsForwardingSuccess: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - product: WALLET_AS_A_SERVICE + product: BLOCKCHAIN_AUTOMATIONS item: - requiredApprovals: 2 - currentRejections: 0 - blockchain: ethereum - requiredRejections: 2 - errorMessage: Transaction_Request_Failed - network: ropsten - currentApprovals: 0 - event: TRANSACTION_REQUEST_FAIL + spentFeesUnit: BTC + forwardedUnit: BTC + spentFeesAmount: "0.00022827" + blockchain: bitcoin + forwardingTransactionId: 2241b5264fac8acb92e9fc597035b99cdd22f6578d63c6f52b099729f7c4f979 + fromAddress: mmd963W1fECjLyaDCHcioSCZYHkRwjkGST + forwardedAmount: "00059441" + toAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB + network: testnet + triggerTransactionId: 86a7546bde4ac28b34504909d138592a6d6fc1277ea1f8f2f9c75dc04bdf3b7b + event: COINS_FORWARDING_SUCCESS idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." example: 6038d09050653d1f0e40584c type: string idempotencyKey: @@ -34908,39 +42147,38 @@ components: example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/TransactionRequestFail_data' + $ref: '#/components/schemas/CoinsForwardingSuccess_data' required: - apiVersion - data - idempotencyKey - referenceId type: object - AddressCoinsTransactionUnconfirmed: + CoinsForwardingFail: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - product: BLOCKCHAIN_EVENTS + product: BLOCKCHAIN_AUTOMATIONS item: - amount: "0.6508984" - unit: BTC - address: 3CzKAnCXt7ePb5NCp5qrAEimrxjY81oLoT blockchain: bitcoin - firstSeenInMempoolTimestamp: 1610365615 - transactionId: 4b2159770f75a7200ea168eb56ebbf3303b025d838f743fb6e785bc32d5ac65b + errorMessage: Address not found + errorCode: blockchain_data_address_not_found + fromAddress: 38RTQQ8915tEmKFMjpPJPfrh9yV5HbJCRb + toAddress: 1PkLrGoEGiGdmqNXX8daYNFvVVTjmWjc7m network: testnet - direction: incoming - event: ADDRESS_COINS_TRANSACTION_UNCONFIRMED + triggerTransactionId: 7e56c9cfaec36c77049ce5298bc153bb03b0b6b5dae760a62915617015f8e2a6 + event: COINS_FORWARDING_FAIL idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." example: 6038d09050653d1f0e40584c type: string idempotencyKey: @@ -34951,14 +42189,14 @@ components: example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/AddressCoinsTransactionUnconfirmed_data' + $ref: '#/components/schemas/CoinsForwardingFail_data' required: - apiVersion - data - idempotencyKey - referenceId type: object - AddressTokensTransactionUnconfirmedErc-20: + TokensForwardingSuccessErc-20: description: ERC-20 properties: name: @@ -34966,8 +42204,8 @@ components: example: Tether USD type: string symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." example: USDT type: string decimals: @@ -34975,9 +42213,8 @@ components: example: "6" type: string amount: - description: Defines the amount of tokens sent with the transaction that - is pending confirmation. - example: "10.5" + description: Defines the amount of tokens sent with the confirmed transaction. + example: "0.00039" type: string contractAddress: description: Defines the address of the contract. @@ -34989,7 +42226,7 @@ components: - name - symbol type: object - AddressTokensTransactionUnconfirmedErc-721: + TokensForwardingSuccessErc-721: description: ERC-721 properties: name: @@ -34997,12 +42234,12 @@ components: example: Wonky Stonks type: string symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. + description: "Specifies an identifier of the token, where up to five alphanumeric\ + \ characters can be used for it." example: WSTK type: string tokenId: - description: Specifies the unique ID of the token. + description: Specifies the ID of the token. example: "5027" type: string contractAddress: @@ -35015,68 +42252,150 @@ components: - symbol - tokenId type: object - AddressTokensTransactionUnconfirmedOmni: + TokensForwardingSuccessOmni: description: OMNI properties: - name: - description: Specifies the name of the token. - example: TetherUSDT - type: string - propertyId: - description: Defines the ID of the property for Omni Layer. - example: "31" - type: string - transactionType: - description: Defines the type of the transaction made. - example: Simple Send, DEx Purchase etc. + name: + description: Specifies the name of the token. + example: TetherUSDT + type: string + propertyId: + description: Defines the ID of the property for Omni Layer. + example: "31" + type: string + transactionType: + description: Defines the type of the transaction. + example: "Simple Send, DEx Purchase etc." + type: string + createdByTransactionId: + description: The transaction ID used to create the token. + example: be5be71feac9e7019fbcdea5a87098a7862a0ee8c60bd5809b4d3b0cda940ddc + type: string + amount: + description: Defines the amount of tokens sent with the confirmed transaction. + example: "110.531723" + type: string + required: + - amount + - createdByTransactionId + - name + - propertyId + - transactionType + type: object + TokensForwardingSuccessToken: + oneOf: + - $ref: '#/components/schemas/TokensForwardingSuccessErc-20' + - $ref: '#/components/schemas/TokensForwardingSuccessErc-721' + - $ref: '#/components/schemas/TokensForwardingSuccessOmni' + type: object + TokensForwardingSuccess: + example: + apiVersion: 2.0.0 + data: + product: BLOCKCHAIN_AUTOMATIONS + item: + spentFeesUnit: BTC + spentFeesAmount: "0.00013601" + blockchain: bitcoin + forwardingTransactionId: b15ab5bbaf5107d551ae1b50181f4c55959205c4ff843e3c10d86d00e690fc72 + fromAddress: mySJoZ6wsjrKXZQRWpGoeBW5KkdKGL79Xz + tokenType: OMNI + toAddress: mmd963W1fECjLyaDCHcioSCZYHkRwjkGST + network: testnet + triggerTransactionId: 6ed1f1c8f2887a78ee8c45a975d928ca63eafc7b63def56324606ddd3cc9854f + token: null + event: TOKENS_FORWARDING_SUCCESS + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c + type: string + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + type: string + data: + $ref: '#/components/schemas/TokensForwardingSuccess_data' + required: + - apiVersion + - data + - idempotencyKey + - referenceId + type: object + TokensForwardingFail: + example: + apiVersion: 2.0.0 + data: + product: BLOCKCHAIN_AUTOMATIONS + item: + blockchain: bitcoin + errorMessage: You have insufficient credits. + errorCode: FEE_ADDRESS_OUT_OF_FUNDS + fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi + network: testnet + triggerTransactionId: ba1a4e661d36457abc46ea0effef0105f639912119fc64df8fb866118ce7c0d8 + event: TOKENS_FORWARDING_FAIL + idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + referenceId: 6038d09050653d1f0e40584c + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - createdByTransactionId: - description: The transaction ID used to create the token. - example: be5be71feac9e7019fbcdea5a87098a7862a0ee8c60bd5809b4d3b0cda940ddc + referenceId: + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." + example: 6038d09050653d1f0e40584c type: string - amount: - description: Defines the amount of tokens sent with the transaction that - is pending confirmation. - example: "110.531723" + idempotencyKey: + description: Specifies a unique ID generated by the system and attached + to each callback. It is used by the server to recognize consecutive requests + with the same data with the purpose not to perform the same operation + twice. + example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string + data: + $ref: '#/components/schemas/TokensForwardingFail_data' required: - - amount - - createdByTransactionId - - name - - propertyId - - transactionType - type: object - AddressTokensTransactionUnconfirmedToken: - oneOf: - - $ref: '#/components/schemas/AddressTokensTransactionUnconfirmedErc-20' - - $ref: '#/components/schemas/AddressTokensTransactionUnconfirmedErc-721' - - $ref: '#/components/schemas/AddressTokensTransactionUnconfirmedOmni' + - apiVersion + - data + - idempotencyKey + - referenceId type: object - AddressTokensTransactionUnconfirmed: + BroadcastTransactionSuccess: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - product: BLOCKCHAIN_EVENTS + product: BLOCKCHAIN_TOOLS item: - address: 0x65b895f400dae5541d70cbbec07527210158f6e2 - blockchain: ethereum - firstSeenInMempoolTimestamp: 1210363220 - tokenType: ERC-20 - transactionId: 0x76670f3bb45c09e69173fe74834face446edf251c5f02ec30384a0957fce482b - network: ropsten - direction: incoming - event: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED + blockchain: Bitcoin/Ethereum (whichever applicable) + transactionId: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 + network: Testnet/Mainnet (whichever applicable) + event: BROADCAST_TRANSACTION_SUCCESS idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." example: 6038d09050653d1f0e40584c type: string idempotencyKey: @@ -35087,42 +42406,35 @@ components: example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/AddressTokensTransactionUnconfirmed_data' + $ref: '#/components/schemas/BroadcastTransactionSuccess_data' required: - apiVersion - data - idempotencyKey - referenceId type: object - AddressCoinsTransactionConfirmed: + BroadcastTransactionFail: example: - apiVersion: "2.0" + apiVersion: 2.0.0 data: - product: BLOCKCHAIN_EVENTS + product: BLOCKCHAIN_TOOLS item: - minedInBlock: - hash: b00d27cccd5e4f4fa1b28824d9a1e5fef88e6c37cdeb09e37eb39aa1d3d63448 - height: 667861 - timestamp: 1610365213 - amount: "0.0315" - unit: BTC - address: bc1qmjhy4exylset37e6sfjdtfksm8kpcrxknj7cag - blockchain: bitcoin - transactionId: b00d27cccd5e4f4fa1b28824d9a1e5fef88e6c37cdeb09e37eb39aa1d3d63448 - network: testnet - direction: incoming - event: ADDRESS_COINS_TRANSACTION_CONFIRMED + blockchain: Bitcoin/Ethereum (whichever applicable) + errorMessage: Transaction already in block chain + transactionId: d83c75dd0f73425a1a85023ba25bc7ff47333c823a0ea19fac28d4abe59fd612 + network: Testnet/Mainnet (whichever applicable) + event: BROADCAST_TRANSACTION_FAIL idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c referenceId: 6038d09050653d1f0e40584c properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. + description: "Represents a unique identifier that serves as reference to\ + \ the specific request which prompts a callback, e.g. Blockchain Events\ + \ Subscription, Blockchain Automation, etc." example: 6038d09050653d1f0e40584c type: string idempotencyKey: @@ -35133,924 +42445,893 @@ components: example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c type: string data: - $ref: '#/components/schemas/AddressCoinsTransactionConfirmed_data' + $ref: '#/components/schemas/BroadcastTransactionFail_data' required: - apiVersion - data - idempotencyKey - referenceId type: object - AddressTokensTransactionConfirmedErc-20: - description: ERC-20 + inline_response_400: properties: - name: - description: Specifies the name of the token. - example: Tether-USD + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. - example: USDT + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - decimals: - description: Defines how many decimals can be used to break the token. - example: "6" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - amount: - description: Defines the amount of tokens sent with the confirmed transaction. - example: "0.00039" + error: + $ref: '#/components/schemas/GetAddressDetailsE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - contractAddress: - description: Defines the address of the contract. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/GetAddressDetailsE401' required: - - amount - - contractAddress - - name - - symbol + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmedErc-721: - description: ERC-721 + inline_response_402: properties: - name: - description: Specifies the name of the token. - example: Wonky Stonks + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. - example: WSTK + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - tokenId: - description: Specifies the ID of the token. - example: "5027" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - contractAddress: - description: Specifies the address of the contract. - example: 0x518ba36f1ca6dfe3bb1b098b8dd0444030e79d9f + error: + $ref: '#/components/schemas/InsufficientCredits' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/GetAddressDetailsE403' required: - - contractAddress - - name - - symbol - - tokenId + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmedOmni: - description: OMNI + inline_response_409: properties: - name: - description: Specifies the name of the token. - example: Tether-USDT + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - propertyId: - description: Defines the ID of the property for Omni Layer. - example: "31" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - transactionType: - description: Defines the type of the transaction. - example: Simple Send, DEx Purchase etc. + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - createdByTransactionId: - description: The transaction ID used to create the token. - example: be5be71feac9e7019fbcdea5a87098a7862a0ee8c60bd5809b4d3b0cda940ddc + error: + $ref: '#/components/schemas/InvalidData' + required: + - apiVersion + - error + - requestId + type: object + inline_response_415: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - amount: - description: Defines the amount of tokens sent with the confirmed transaction. - example: "110.531723" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/UnsupportedMediaType' required: - - amount - - createdByTransactionId - - name - - propertyId - - transactionType + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmedBep-20: - description: BEP-20 + inline_response_422: properties: - name: - description: Specifies the name of the token. - example: BEP-20 + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. - example: BEST + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - decimals: - description: Defines how many decimals can be used to break the token. - example: "8" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - amount: - description: Defines the amount of tokens sent with the confirmed transaction. - example: "0.00039" + error: + $ref: '#/components/schemas/InvalidRequestBodyStructure' + required: + - apiVersion + - error + - requestId + type: object + inline_response_429: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - contractAddress: - description: Defines the address of the contract. - example: 0xc4a9f4217748390f597e79050de41a39293345d2 + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/RequestLimitReached' required: - - amount - - contractAddress - - name - - symbol + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmedToken: - oneOf: - - $ref: '#/components/schemas/AddressTokensTransactionConfirmedErc-20' - - $ref: '#/components/schemas/AddressTokensTransactionConfirmedErc-721' - - $ref: '#/components/schemas/AddressTokensTransactionConfirmedOmni' - - $ref: '#/components/schemas/AddressTokensTransactionConfirmedBep-20' + inline_response_500: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/UnexpectedServerError' + required: + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmed: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_EVENTS - item: - minedInBlock: - hash: 269b0de44db95beddb6aecc520b375ba8f91f3dc5558a24aa4c26979eb00c7e2 - height: 657915 - timestamp: 1586365500 - address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - blockchain: ethereum - tokenType: ERC-20 - transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 - network: ropsten - direction: incoming - event: ADDRESS_TOKENS_TRANSACTION_CONFIRMED - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_400_1: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/ListOmniTokensByAddressE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_1: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/ListOmniTokensByAddressE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_1: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/ListOmniTokensByAddressE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_2: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetXRPRippleAddressDetailsE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_2: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetXRPRippleAddressDetailsE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_2: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetXRPRippleAddressDetailsE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_3: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - data: - $ref: '#/components/schemas/AddressTokensTransactionConfirmed_data' + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetZilliqaAddressDetailsE400' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - AddressTokensTransactionConfirmedEachConfirmationErc-20: - description: ERC-20 + inline_response_401_3: properties: - name: - description: Specifies the name of the token. - example: Tether USD - type: string - symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. - example: USDT - type: string - decimals: - description: Defines how many decimals can be used to break the token. - example: "6" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - amount: - description: Defines the amount of tokens sent with the confirmed transaction. - example: "11.9" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - contractAddress: - description: Defines the address of the contract. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/GetZilliqaAddressDetailsE401' required: - - amount - - contractAddress - - name - - symbol + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmedEachConfirmationErc-721: - description: ERC-721 + inline_response_403_3: properties: - name: - description: Specifies the name of the token. - example: Wonky Stonks - type: string - symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. - example: WSTK + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - tokenId: - description: Specifies the ID of the token. - example: "5027" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - contractAddress: - description: Specifies the address of the contract. - example: 0x518ba36f1ca6dfe3bb1b098b8dd0444030e79d9f + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/GetZilliqaAddressDetailsE403' required: - - contractAddress - - name - - symbol - - tokenId + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmedEachConfirmationOmni: - description: OMNI + inline_response_400_4: properties: - name: - description: Specifies the name of the token. - example: TetherUSDT - type: string - propertyId: - description: Defines the ID of the property for Omni Layer. - example: "31" - type: string - transactionType: - description: Defines the type of the transaction. - example: Simple Send, DEx Purchase etc. + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - createdByTransactionId: - description: The transaction ID used to create the token. - example: be5be71feac9e7019fbcdea5a87098a7862a0ee8c60bd5809b4d3b0cda940ddc + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - amount: - description: Defines the amount of tokens sent with the confirmed transaction. - example: "190.531725" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDE400' required: - - amount - - createdByTransactionId - - name - - propertyId - - transactionType + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmedEachConfirmationBep-20: - description: BEP-20 + inline_response_401_4: properties: - name: - description: Specifies the name of the token. - example: BEP-20 - type: string - symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. - example: BEST - type: string - decimals: - description: Defines how many decimals can be used to break the token. - example: "8" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - amount: - description: Defines the amount of tokens sent with the confirmed transaction. - example: "0.00039" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - contractAddress: - description: Defines the address of the contract. - example: 0xc4a9f4217748390f597e79050de41a39293345d2 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDE401' required: - - amount - - contractAddress - - name - - symbol - type: object - AddressTokensTransactionConfirmedEachConfirmationToken: - oneOf: - - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmationErc-20' - - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmationErc-721' - - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmationOmni' - - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmationBep-20' + - apiVersion + - error + - requestId type: object - AddressTokensTransactionConfirmedEachConfirmation: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_EVENTS - item: - currentConfirmations: 2 - minedInBlock: - hash: 269b0de44db95beddb6aecc520b375ba8f91f3dc5558a24aa4c26979eb00c7e2 - height: 657915 - timestamp: 1586365500 - address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 - blockchain: ethereum - tokenType: ERC-20 - transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 - network: ropsten - targetConfirmations: 3 - direction: incoming - event: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_403_4: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/AddressTokensTransactionConfirmedEachConfirmation_data' + error: + $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDE403' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - AddressCoinsTransactionConfirmedEachConfirmation: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_EVENTS - item: - currentConfirmations: 8 - minedInBlock: - hash: dfe45f6724b550c281107ffaa5880cb280878fb4dbaa742aa21449f3d2340c13 - height: 667754 - timestamp: 1610365314 - amount: "0.0611" - unit: BTC - address: 15282N4BYEwYh3j1dTgJu64Ey5qWn9Po9F - blockchain: bitcoin - transactionId: cbd3dea703bd2bc78bca69ee61ca14e6ffcdd809d07ebbc3b8fea3c30ea38f33 - network: testnet - targetConfirmations: 12 - direction: incoming - event: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_404: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/AddressCoinsTransactionConfirmedEachConfirmation_data' + error: + $ref: '#/components/schemas/BlockchainDataTransactionNotFound' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - TransactionMined: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_EVENTS - item: - minedInBlock: - hash: e9da0c8ce1861050c20f40fb660df4d13399f50b882e85bcd98126eb1173cc50 - height: 667900 - timestamp: 1610355613 - blockchain: bitcoin - transactionId: e6439461e5bf8920e75740896d4b47730b844837295e8c3f2dbf441542aebcb6 - network: testnet - event: TRANSACTION_MINED - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_400_5: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/TransactionMined_data' + error: + $ref: '#/components/schemas/ListOmniTransactionsByAddressE400' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - BlockMined: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_EVENTS - item: - blockchain: bitcoin - hash: 00000000000000000006ddb5e854505f8b792122b0ac9469c07eb26db414f6fb - network: testnet - height: 570008 - timestamp: 1610365615 - event: BLOCK_MINED - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_401_5: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/BlockMined_data' + error: + $ref: '#/components/schemas/ListOmniTransactionsByAddressE401' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - AddressInternalTransactionConfirmed: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_DATA - item: - minedInBlock: - hash: 0xa787415dc7c7025a43b87542a57872d1127f30f95daa87097cf5f26ef79d6950 - height: 12567093 - timestamp: 1622797821 - amount: "0.94891479938916527" - unit: ETH - address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 - blockchain: ethereum - operationId: call_5_0 - network: mainnet - parentTransactionId: 0xc3be8371b32fa2238c44271643446b14c87ff11b77d58f9a1bceb1d1253e79b2 - direction: outgoing - event: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_403_5: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/AddressInternalTransactionConfirmed_data' + error: + $ref: '#/components/schemas/ListOmniTransactionsByAddressE403' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - AddressInternalTransactionConfirmedEachConfirmation: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_DATA - item: - currentConfirmations: 2 - minedInBlock: - hash: 0x936a34ef544e6fc9fc5f68fb086b9e8ea0e5eca52cb45cb67b27d174bccc35a5 - height: 12566992 - timestamp: 1622796751 - amount: "0.05710541741945074" - unit: ETH - address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 - blockchain: ethereum - operationId: call_1_0_1_0_3_0 - network: mainnet - parentTransactionId: 0x5fc77216fdfb8c966387030be7bda4bacce0232f7115722ef5b228a223974784 - targetConfirmations: 3 - direction: outgoing - event: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_400_6: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/AddressInternalTransactionConfirmedEachConfirmation_data' + error: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDE400' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - CoinsForwardingSuccess: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_AUTOMATIONS - item: - spentFeesUnit: BTC - forwardedUnit: BTC - spentFeesAmount: "0.00022827" - blockchain: bitcoin - forwardingTransactionId: 2241b5264fac8acb92e9fc597035b99cdd22f6578d63c6f52b099729f7c4f979 - fromAddress: mmd963W1fECjLyaDCHcioSCZYHkRwjkGST - forwardedAmount: "00059441" - toAddress: ms4KNsbNpoU8g424pzmEjbkFbfAHae1msB - network: testnet - triggerTransactionId: 86a7546bde4ac28b34504909d138592a6d6fc1277ea1f8f2f9c75dc04bdf3b7b - event: COINS_FORWARDING_SUCCESS - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_401_6: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/CoinsForwardingSuccess_data' + error: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDE401' required: - apiVersion - - data - - idempotencyKey - - referenceId - type: object - CoinsForwardingFail: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_AUTOMATIONS - item: - blockchain: bitcoin - errorMessage: Address not found - errorCode: blockchain_data_address_not_found - fromAddress: 38RTQQ8915tEmKFMjpPJPfrh9yV5HbJCRb - toAddress: 1PkLrGoEGiGdmqNXX8daYNFvVVTjmWjc7m - network: testnet - triggerTransactionId: 7e56c9cfaec36c77049ce5298bc153bb03b0b6b5dae760a62915617015f8e2a6 - event: COINS_FORWARDING_FAIL - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + - error + - requestId + type: object + inline_response_403_6: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/CoinsForwardingFail_data' + error: + $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDE403' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - TokensForwardingSuccessErc-20: - description: ERC-20 + inline_response_404_1: properties: - name: - description: Specifies the name of the token. - example: Tether USD - type: string - symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. - example: USDT - type: string - decimals: - description: Defines how many decimals can be used to break the token. - example: "6" + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - amount: - description: Defines the amount of tokens sent with the confirmed transaction. - example: "0.00039" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - contractAddress: - description: Defines the address of the contract. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/ResourceNotFound' required: - - amount - - contractAddress - - name - - symbol + - apiVersion + - error + - requestId type: object - TokensForwardingSuccessErc-721: - description: ERC-721 + inline_response_400_7: properties: - name: - description: Specifies the name of the token. - example: Wonky Stonks - type: string - symbol: - description: Specifies an identifier of the token, where up to five alphanumeric - characters can be used for it. - example: WSTK + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - tokenId: - description: Specifies the ID of the token. - example: "5027" + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - contractAddress: - description: Specifies the address of the contract. - example: 0x518ba36f1ca6dfe3bb1b098b8dd0444030e79d9f + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/ListDepositAddressesE400' required: - - contractAddress - - name - - symbol - - tokenId + - apiVersion + - error + - requestId type: object - TokensForwardingSuccessOmni: - description: OMNI + inline_response_401_7: properties: - name: - description: Specifies the name of the token. - example: TetherUSDT - type: string - propertyId: - description: Defines the ID of the property for Omni Layer. - example: "31" - type: string - transactionType: - description: Defines the type of the transaction. - example: Simple Send, DEx Purchase etc. + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 type: string - createdByTransactionId: - description: The transaction ID used to create the token. - example: be5be71feac9e7019fbcdea5a87098a7862a0ee8c60bd5809b4d3b0cda940ddc + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - amount: - description: Defines the amount of tokens sent with the confirmed transaction. - example: "110.531723" + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string + error: + $ref: '#/components/schemas/ListDepositAddressesE401' required: - - amount - - createdByTransactionId - - name - - propertyId - - transactionType - type: object - TokensForwardingSuccessToken: - oneOf: - - $ref: '#/components/schemas/TokensForwardingSuccessErc-20' - - $ref: '#/components/schemas/TokensForwardingSuccessErc-721' - - $ref: '#/components/schemas/TokensForwardingSuccessOmni' + - apiVersion + - error + - requestId type: object - TokensForwardingSuccess: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_AUTOMATIONS - item: - spentFeesUnit: BTC - spentFeesAmount: "0.00013601" - blockchain: bitcoin - forwardingTransactionId: b15ab5bbaf5107d551ae1b50181f4c55959205c4ff843e3c10d86d00e690fc72 - fromAddress: mySJoZ6wsjrKXZQRWpGoeBW5KkdKGL79Xz - tokenType: OMNI - toAddress: mmd963W1fECjLyaDCHcioSCZYHkRwjkGST - network: testnet - triggerTransactionId: 6ed1f1c8f2887a78ee8c45a975d928ca63eafc7b63def56324606ddd3cc9854f - event: TOKENS_FORWARDING_SUCCESS - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_403_7: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/TokensForwardingSuccess_data' + error: + $ref: '#/components/schemas/ListDepositAddressesE403' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - TokensForwardingFail: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_AUTOMATIONS - item: - blockchain: bitcoin - errorMessage: You have insufficient credits. - errorCode: FEE_ADDRESS_OUT_OF_FUNDS - fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr - toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi - network: testnet - triggerTransactionId: ba1a4e661d36457abc46ea0effef0105f639912119fc64df8fb866118ce7c0d8 - event: TOKENS_FORWARDING_FAIL - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_400_8: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/TokensForwardingFail_data' + error: + $ref: '#/components/schemas/GenerateDepositAddressE400' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - BroadcastTransactionSuccess: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_TOOLS - item: - blockchain: Bitcoin/Ethereum (whichever applicable) - transactionId: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 - network: Testnet/Mainnet (whichever applicable) - event: BROADCAST_TRANSACTION_SUCCESS - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_401_8: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/BroadcastTransactionSuccess_data' + error: + $ref: '#/components/schemas/GenerateDepositAddressE401' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - BroadcastTransactionFail: - example: - apiVersion: "2.0" - data: - product: BLOCKCHAIN_TOOLS - item: - blockchain: Bitcoin/Ethereum (whichever applicable) - errorMessage: Transaction already in block chain - transactionId: d83c75dd0f73425a1a85023ba25bc7ff47333c823a0ea19fac28d4abe59fd612 - network: Testnet/Mainnet (whichever applicable) - event: BROADCAST_TRANSACTION_FAIL - idempotencyKey: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c - referenceId: 6038d09050653d1f0e40584c + inline_response_403_8: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string - referenceId: - description: Represents a unique identifier that serves as reference to - the specific request which prompts a callback, e.g. Blockchain Events - Subscription, Blockchain Automation, etc. - example: 6038d09050653d1f0e40584c + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 type: string - idempotencyKey: - description: Specifies a unique ID generated by the system and attached - to each callback. It is used by the server to recognize consecutive requests - with the same data with the purpose not to perform the same operation - twice. - example: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string - data: - $ref: '#/components/schemas/BroadcastTransactionFail_data' + error: + $ref: '#/components/schemas/GenerateDepositAddressE403' required: - apiVersion - - data - - idempotencyKey - - referenceId + - error + - requestId type: object - inline_response_400: + inline_response_400_9: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36062,20 +43343,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetAddressDetailsE400' + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDE400' required: - apiVersion - error - requestId type: object - inline_response_401: + inline_response_401_9: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36087,20 +43368,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetAddressDetailsE401' + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDE401' required: - apiVersion - error - requestId type: object - inline_response_402: + inline_response_403_9: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36112,20 +43393,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/InsufficientCredits' + $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDE403' required: - apiVersion - error - requestId type: object - inline_response_403: + inline_response_400_10: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36137,20 +43418,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetAddressDetailsE403' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_409: + inline_response_401_10: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36162,20 +43443,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/InvalidData' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_415: + inline_response_403_10: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36187,20 +43468,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/UnsupportedMediaType' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_422: + inline_response_400_11: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36212,20 +43493,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/InvalidRequestBodyStructure' + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_429: + inline_response_401_11: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36237,20 +43518,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/RequestLimitReached' + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_500: + inline_response_403_11: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36262,20 +43543,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/UnexpectedServerError' + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_400_1: + inline_response_400_12: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36287,20 +43568,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTokensByAddressE400' + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_401_1: + inline_response_401_12: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36312,20 +43593,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTokensByAddressE401' + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_403_1: + inline_response_403_12: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36337,20 +43618,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTokensByAddressE403' + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_400_2: + inline_response_400_13: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36362,20 +43643,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleAddressDetailsE400' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletE400' required: - apiVersion - error - requestId type: object - inline_response_401_2: + inline_response_401_13: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36387,20 +43668,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleAddressDetailsE401' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletE401' required: - apiVersion - error - requestId type: object - inline_response_403_2: + inline_response_403_13: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36412,20 +43693,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleAddressDetailsE403' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletE403' required: - apiVersion - error - requestId type: object - inline_response_400_3: + inline_response_409_1: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36437,20 +43718,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaAddressDetailsE400' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletE409' required: - apiVersion - error - requestId type: object - inline_response_401_3: + inline_response_400_14: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36462,20 +43743,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaAddressDetailsE401' + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_403_3: + inline_response_401_14: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36487,20 +43768,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaAddressDetailsE403' + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_400_4: + inline_response_403_14: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36512,20 +43793,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDE400' + $ref: '#/components/schemas/ListZilliqaTransactionsByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_401_4: + inline_response_400_15: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36537,20 +43818,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDE401' + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_403_4: + inline_response_401_15: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36562,20 +43843,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDE403' + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_404: + inline_response_403_15: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36587,20 +43868,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/BlockchainDataTransactionNotFound' + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_400_5: + inline_response_400_16: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36612,20 +43893,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByAddressE400' + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressAndTimeRangeE400' required: - apiVersion - error - requestId type: object - inline_response_401_5: + inline_response_401_16: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36637,20 +43918,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByAddressE401' + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressAndTimeRangeE401' required: - apiVersion - error - requestId type: object - inline_response_403_5: + inline_response_403_16: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36662,20 +43943,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByAddressE403' + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressAndTimeRangeE403' required: - apiVersion - error - requestId type: object - inline_response_400_6: + inline_response_400_17: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36687,20 +43968,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDE400' + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsE400' required: - apiVersion - error - requestId type: object - inline_response_401_6: + inline_response_401_17: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36712,20 +43993,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDE401' + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsE401' required: - apiVersion - error - requestId type: object - inline_response_403_6: + inline_response_403_17: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36737,20 +44018,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleTransactionDetailsByTransactionIDE403' + $ref: '#/components/schemas/ListAllUnconfirmedTransactionsE403' required: - apiVersion - error - requestId type: object - inline_response_404_1: + inline_response_400_18: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36762,20 +44043,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ResourceNotFound' + $ref: '#/components/schemas/ListTransactionsByBlockHashE400' required: - apiVersion - error - requestId type: object - inline_response_400_7: + inline_response_401_18: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36787,20 +44068,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListDepositAddressesE400' + $ref: '#/components/schemas/ListTransactionsByBlockHashE401' required: - apiVersion - error - requestId type: object - inline_response_401_7: + inline_response_403_18: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36812,20 +44093,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListDepositAddressesE401' + $ref: '#/components/schemas/ListTransactionsByBlockHashE403' required: - apiVersion - error - requestId type: object - inline_response_403_7: + inline_response_400_19: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36837,20 +44118,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListDepositAddressesE403' + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashE400' required: - apiVersion - error - requestId type: object - inline_response_400_8: + inline_response_401_19: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36862,20 +44143,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GenerateDepositAddressE400' + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashE401' required: - apiVersion - error - requestId type: object - inline_response_401_8: + inline_response_403_19: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36887,20 +44168,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GenerateDepositAddressE401' + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashE403' required: - apiVersion - error - requestId type: object - inline_response_403_8: + inline_response_400_20: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36912,20 +44193,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GenerateDepositAddressE403' + $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidE400' required: - apiVersion - error - requestId type: object - inline_response_400_9: + inline_response_401_20: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36937,20 +44218,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDE400' + $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidE401' required: - apiVersion - error - requestId type: object - inline_response_401_9: + inline_response_403_20: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36962,20 +44243,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDE401' + $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidE403' required: - apiVersion - error - requestId type: object - inline_response_403_9: + inline_response_400_21: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -36987,20 +44268,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaTransactionDetailsByTransactionIDE403' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressE400' required: - apiVersion - error - requestId type: object - inline_response_400_10: + inline_response_401_21: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37012,20 +44293,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressE400' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressE401' required: - apiVersion - error - requestId type: object - inline_response_401_10: + inline_response_403_21: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37037,20 +44318,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressE401' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressE403' required: - apiVersion - error - requestId type: object - inline_response_403_10: + inline_response_409_2: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37062,20 +44343,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListConfirmedTransactionsByAddressE403' + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressE409' required: - apiVersion - error - requestId type: object - inline_response_400_11: + inline_response_400_22: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37087,20 +44368,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressE400' + $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHashE400' required: - apiVersion - error - requestId type: object - inline_response_401_11: + inline_response_401_22: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37112,20 +44393,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressE401' + $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHashE401' required: - apiVersion - error - requestId type: object - inline_response_403_11: + inline_response_403_22: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37137,20 +44418,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressE403' + $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHashE403' required: - apiVersion - error - requestId type: object - inline_response_400_12: + inline_response_400_23: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37162,20 +44443,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressE400' + $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHeightE400' required: - apiVersion - error - requestId type: object - inline_response_401_12: + inline_response_401_23: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37187,20 +44468,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressE401' + $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHeightE401' required: - apiVersion - error - requestId type: object - inline_response_403_12: + inline_response_403_23: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37212,20 +44493,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByAddressE403' + $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHeightE403' required: - apiVersion - error - requestId type: object - inline_response_400_13: + inline_response_400_24: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37237,20 +44518,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletE400' + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightE400' required: - apiVersion - error - requestId type: object - inline_response_401_13: + inline_response_401_24: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37262,20 +44543,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletE401' + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightE401' required: - apiVersion - error - requestId type: object - inline_response_403_13: + inline_response_403_24: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37287,20 +44568,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletE403' + $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightE403' required: - apiVersion - error - requestId type: object - inline_response_409_1: + inline_response_400_25: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37312,20 +44593,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletE409' + $ref: '#/components/schemas/ListTransactionsByBlockHeightE400' required: - apiVersion - error - requestId type: object - inline_response_400_14: + inline_response_401_25: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37337,20 +44618,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressE400' + $ref: '#/components/schemas/ListTransactionsByBlockHeightE401' required: - apiVersion - error - requestId type: object - inline_response_401_14: + inline_response_403_25: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37362,20 +44643,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressE401' + $ref: '#/components/schemas/ListTransactionsByBlockHeightE403' required: - apiVersion - error - requestId type: object - inline_response_403_14: + inline_response_404_2: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37387,20 +44668,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByAddressE403' + $ref: '#/components/schemas/BlockchainDataBlockNotFound' required: - apiVersion - error - requestId type: object - inline_response_400_15: + inline_response_400_26: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37412,20 +44693,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressE400' + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountE400' required: - apiVersion - error - requestId type: object - inline_response_401_15: + inline_response_401_26: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37437,20 +44718,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressE401' + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountE401' required: - apiVersion - error - requestId type: object - inline_response_403_15: + inline_response_403_26: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37462,20 +44743,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressE403' + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountE403' required: - apiVersion - error - requestId type: object - inline_response_400_16: + inline_response_409_3: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37487,20 +44768,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsE400' + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountE409' required: - apiVersion - error - requestId type: object - inline_response_401_16: + inline_response_400_27: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37512,20 +44793,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsE401' + $ref: '#/components/schemas/GetBlockDetailsByBlockHeightE400' required: - apiVersion - error - requestId type: object - inline_response_403_16: + inline_response_401_27: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37537,20 +44818,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListAllUnconfirmedTransactionsE403' + $ref: '#/components/schemas/GetBlockDetailsByBlockHeightE401' required: - apiVersion - error - requestId type: object - inline_response_400_17: + inline_response_403_27: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37562,20 +44843,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTransactionsByBlockHashE400' + $ref: '#/components/schemas/GetBlockDetailsByBlockHeightE403' required: - apiVersion - error - requestId type: object - inline_response_401_17: + inline_response_400_28: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37587,20 +44868,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTransactionsByBlockHashE401' + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightE400' required: - apiVersion - error - requestId type: object - inline_response_403_17: + inline_response_401_28: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37612,20 +44893,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTransactionsByBlockHashE403' + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightE401' required: - apiVersion - error - requestId type: object - inline_response_400_18: + inline_response_403_28: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37637,20 +44918,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashE400' + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightE403' required: - apiVersion - error - requestId type: object - inline_response_401_18: + inline_response_400_29: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37662,20 +44943,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashE401' + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByPropertyIDE400' required: - apiVersion - error - requestId type: object - inline_response_403_18: + inline_response_401_29: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37687,20 +44968,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHashE403' + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByPropertyIDE401' required: - apiVersion - error - requestId type: object - inline_response_400_19: + inline_response_403_29: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37712,20 +44993,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidE400' + $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByPropertyIDE403' required: - apiVersion - error - requestId type: object - inline_response_401_19: + inline_response_400_30: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37737,20 +45018,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidE401' + $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHeightE400' required: - apiVersion - error - requestId type: object - inline_response_403_19: + inline_response_401_30: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37762,20 +45043,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetUnconfirmedOmniTransactionByTransactionIDTxidE403' + $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHeightE401' required: - apiVersion - error - requestId type: object - inline_response_400_20: + inline_response_403_30: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37787,20 +45068,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressE400' + $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHeightE403' required: - apiVersion - error - requestId type: object - inline_response_401_20: + inline_response_400_31: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37812,20 +45093,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressE401' + $ref: '#/components/schemas/GetBlockDetailsByBlockHashE400' required: - apiVersion - error - requestId type: object - inline_response_403_20: + inline_response_401_31: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37837,20 +45118,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressE403' + $ref: '#/components/schemas/GetBlockDetailsByBlockHashE401' required: - apiVersion - error - requestId type: object - inline_response_409_2: + inline_response_403_31: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37862,20 +45143,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressE409' + $ref: '#/components/schemas/GetBlockDetailsByBlockHashE403' required: - apiVersion - error - requestId type: object - inline_response_400_21: + inline_response_400_32: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37887,20 +45168,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHashE400' + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashE400' required: - apiVersion - error - requestId type: object - inline_response_401_21: + inline_response_401_32: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37912,20 +45193,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHashE401' + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashE401' required: - apiVersion - error - requestId type: object - inline_response_403_21: + inline_response_403_32: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37937,20 +45218,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHashE403' + $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashE403' required: - apiVersion - error - requestId type: object - inline_response_400_22: + inline_response_400_33: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37962,20 +45243,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHeightE400' + $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidE400' required: - apiVersion - error - requestId type: object - inline_response_401_22: + inline_response_401_33: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -37987,20 +45268,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHeightE401' + $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidE401' required: - apiVersion - error - requestId type: object - inline_response_403_22: + inline_response_403_33: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38012,20 +45293,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListZilliqaTransactionsByBlockHeightE403' + $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidE403' required: - apiVersion - error - requestId type: object - inline_response_400_23: + inline_response_400_34: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38037,20 +45318,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightE400' + $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHashE400' required: - apiVersion - error - requestId type: object - inline_response_401_23: + inline_response_401_34: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38062,20 +45343,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightE401' + $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHashE401' required: - apiVersion - error - requestId type: object - inline_response_403_23: + inline_response_403_34: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38087,20 +45368,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListXRPRippleTransactionsByBlockHeightE403' + $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHashE403' required: - apiVersion - error - requestId type: object - inline_response_400_24: + inline_response_400_35: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38112,20 +45393,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTransactionsByBlockHeightE400' + $ref: '#/components/schemas/ListSupportedTokensE400' required: - apiVersion - error - requestId type: object - inline_response_401_24: + inline_response_401_35: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38137,20 +45418,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTransactionsByBlockHeightE401' + $ref: '#/components/schemas/ListSupportedTokensE401' required: - apiVersion - error - requestId type: object - inline_response_403_24: + inline_response_403_35: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38162,20 +45443,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTransactionsByBlockHeightE403' + $ref: '#/components/schemas/ListSupportedTokensE403' required: - apiVersion - error - requestId type: object - inline_response_404_2: + inline_response_400_36: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38187,20 +45468,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/BlockchainDataBlockNotFound' + $ref: '#/components/schemas/GetWalletAssetDetailsE400' required: - apiVersion - error - requestId type: object - inline_response_400_25: + inline_response_401_36: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38212,20 +45493,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountE400' + $ref: '#/components/schemas/GetWalletAssetDetailsE401' required: - apiVersion - error - requestId type: object - inline_response_401_25: + inline_response_403_36: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38237,20 +45518,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountE401' + $ref: '#/components/schemas/GetWalletAssetDetailsE403' required: - apiVersion - error - requestId type: object - inline_response_403_25: + inline_response_400_37: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38262,20 +45543,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountE403' + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressE400' required: - apiVersion - error - requestId type: object - inline_response_409_3: + inline_response_401_37: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38287,20 +45568,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountE409' + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressE401' required: - apiVersion - error - requestId type: object - inline_response_400_26: + inline_response_403_37: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38312,20 +45593,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightE400' + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressE403' required: - apiVersion - error - requestId type: object - inline_response_401_26: + inline_response_409_4: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38337,20 +45618,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightE401' + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressE409' required: - apiVersion - error - requestId type: object - inline_response_403_26: + inline_response_400_38: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38362,20 +45643,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetBlockDetailsByBlockHeightE403' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsE400' required: - apiVersion - error - requestId type: object - inline_response_400_27: + inline_response_401_38: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38387,20 +45668,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightE400' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsE401' required: - apiVersion - error - requestId type: object - inline_response_401_27: + inline_response_403_38: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38412,20 +45693,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightE401' + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsE403' required: - apiVersion - error - requestId type: object - inline_response_403_27: + inline_response_400_39: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38437,20 +45718,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHeightE403' + $ref: '#/components/schemas/ListAllAssetsByWalletIDE400' required: - apiVersion - error - requestId type: object - inline_response_400_28: + inline_response_401_39: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38462,20 +45743,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByPropertyIDE400' + $ref: '#/components/schemas/ListAllAssetsByWalletIDE401' required: - apiVersion - error - requestId type: object - inline_response_401_28: + inline_response_403_39: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38487,20 +45768,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByPropertyIDE401' + $ref: '#/components/schemas/ListAllAssetsByWalletIDE403' required: - apiVersion - error - requestId type: object - inline_response_403_28: + inline_response_400_40: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38512,20 +45793,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnconfirmedOmniTransactionsByPropertyIDE403' + $ref: '#/components/schemas/GetLastMinedBlockE400' required: - apiVersion - error - requestId type: object - inline_response_400_29: + inline_response_401_40: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38537,20 +45818,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHeightE400' + $ref: '#/components/schemas/GetLastMinedBlockE401' required: - apiVersion - error - requestId type: object - inline_response_401_29: + inline_response_403_40: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38562,20 +45843,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHeightE401' + $ref: '#/components/schemas/GetLastMinedBlockE403' required: - apiVersion - error - requestId type: object - inline_response_403_29: + inline_response_400_41: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38587,20 +45868,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHeightE403' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightE400' required: - apiVersion - error - requestId type: object - inline_response_400_30: + inline_response_401_41: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38612,20 +45893,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetBlockDetailsByBlockHashE400' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightE401' required: - apiVersion - error - requestId type: object - inline_response_401_30: + inline_response_403_41: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38637,20 +45918,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetBlockDetailsByBlockHashE401' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightE403' required: - apiVersion - error - requestId type: object - inline_response_403_30: + inline_response_400_42: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38662,20 +45943,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetBlockDetailsByBlockHashE403' + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockE400' required: - apiVersion - error - requestId type: object - inline_response_400_31: + inline_response_401_42: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38687,20 +45968,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashE400' + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockE401' required: - apiVersion - error - requestId type: object - inline_response_401_31: + inline_response_403_42: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38712,20 +45993,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashE401' + $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockE403' required: - apiVersion - error - requestId type: object - inline_response_403_31: + inline_response_400_43: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38737,20 +46018,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetXRPRippleBlockDetailsByBlockHashE403' + $ref: '#/components/schemas/GetLatestMinedZilliqaBlockE400' required: - apiVersion - error - requestId type: object - inline_response_400_32: + inline_response_401_43: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38762,20 +46043,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidE400' + $ref: '#/components/schemas/GetLatestMinedZilliqaBlockE401' required: - apiVersion - error - requestId type: object - inline_response_401_32: + inline_response_403_43: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38787,20 +46068,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidE401' + $ref: '#/components/schemas/GetLatestMinedZilliqaBlockE403' required: - apiVersion - error - requestId type: object - inline_response_403_32: + inline_response_400_44: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38812,20 +46093,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetOmniTransactionDetailsByTransactionIDTxidE403' + $ref: '#/components/schemas/GetTransactionRequestDetailsE400' required: - apiVersion - error - requestId type: object - inline_response_400_33: + inline_response_401_44: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38837,20 +46118,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHashE400' + $ref: '#/components/schemas/GetTransactionRequestDetailsE401' required: - apiVersion - error - requestId type: object - inline_response_401_33: + inline_response_403_44: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38862,20 +46143,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHashE401' + $ref: '#/components/schemas/GetTransactionRequestDetailsE403' required: - apiVersion - error - requestId type: object - inline_response_403_33: + inline_response_400_45: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38887,20 +46168,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetZilliqaBlockDetailsByBlockHashE403' + $ref: '#/components/schemas/ListLatestMinedBlocksE400' required: - apiVersion - error - requestId type: object - inline_response_400_34: + inline_response_401_45: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38912,20 +46193,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListSupportedTokensE400' + $ref: '#/components/schemas/ListLatestMinedBlocksE401' required: - apiVersion - error - requestId type: object - inline_response_401_34: + inline_response_403_45: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38937,20 +46218,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListSupportedTokensE401' + $ref: '#/components/schemas/ListLatestMinedBlocksE403' required: - apiVersion - error - requestId type: object - inline_response_403_34: + inline_response_400_46: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38962,20 +46243,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListSupportedTokensE403' + $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE400' required: - apiVersion - error - requestId type: object - inline_response_400_35: + inline_response_401_46: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -38987,20 +46268,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetWalletAssetDetailsE400' + $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE401' required: - apiVersion - error - requestId type: object - inline_response_401_35: + inline_response_403_46: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39012,20 +46293,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetWalletAssetDetailsE401' + $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE403' required: - apiVersion - error - requestId type: object - inline_response_403_35: + inline_response_409_5: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39037,20 +46318,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetWalletAssetDetailsE403' + $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE409' required: - apiVersion - error - requestId type: object - inline_response_400_36: + inline_response_422_1: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39062,20 +46343,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressE400' + $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE422' required: - apiVersion - error - requestId type: object - inline_response_401_36: + inline_response_400_47: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39087,20 +46368,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressE401' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHashE400' required: - apiVersion - error - requestId type: object - inline_response_403_36: + inline_response_401_47: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39112,20 +46393,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressE403' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHashE401' required: - apiVersion - error - requestId type: object - inline_response_409_4: + inline_response_403_47: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39137,20 +46418,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressE409' + $ref: '#/components/schemas/ListOmniTransactionsByBlockHashE403' required: - apiVersion - error - requestId type: object - inline_response_400_37: + inline_response_400_48: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39162,20 +46443,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLastMinedBlockE400' + $ref: '#/components/schemas/ListWalletTransactionsE400' required: - apiVersion - error - requestId type: object - inline_response_401_37: + inline_response_401_48: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39187,20 +46468,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLastMinedBlockE401' + $ref: '#/components/schemas/ListWalletTransactionsE401' required: - apiVersion - error - requestId type: object - inline_response_403_37: + inline_response_403_48: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39212,20 +46493,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLastMinedBlockE403' + $ref: '#/components/schemas/ListWalletTransactionsE403' required: - apiVersion - error - requestId type: object - inline_response_400_38: + inline_response_400_49: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39237,20 +46518,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightE400' + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDE400' required: - apiVersion - error - requestId type: object - inline_response_401_38: + inline_response_401_49: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39262,20 +46543,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightE401' + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDE401' required: - apiVersion - error - requestId type: object - inline_response_403_38: + inline_response_403_49: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39287,20 +46568,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHeightE403' + $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDE403' required: - apiVersion - error - requestId type: object - inline_response_400_39: + inline_response_400_50: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39312,20 +46593,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockE400' + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsE400' required: - apiVersion - error - requestId type: object - inline_response_401_39: + inline_response_401_50: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39337,20 +46618,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockE401' + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsE401' required: - apiVersion - error - requestId type: object - inline_response_403_39: + inline_response_403_50: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39362,20 +46643,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLatestMinedXRPRippleBlockE403' + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsE403' required: - apiVersion - error - requestId type: object - inline_response_400_40: + inline_response_422_2: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39387,20 +46668,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLatestMinedZilliqaBlockE400' + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsE422' required: - apiVersion - error - requestId type: object - inline_response_401_40: + inline_response_400_51: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39412,20 +46693,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLatestMinedZilliqaBlockE401' + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsE400' required: - apiVersion - error - requestId type: object - inline_response_403_40: + inline_response_401_51: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39437,20 +46718,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetLatestMinedZilliqaBlockE403' + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsE401' required: - apiVersion - error - requestId type: object - inline_response_400_41: + inline_response_403_51: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39462,20 +46743,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetTransactionRequestDetailsE400' + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsE403' required: - apiVersion - error - requestId type: object - inline_response_401_41: + inline_response_422_3: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39487,20 +46768,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetTransactionRequestDetailsE401' + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsE422' required: - apiVersion - error - requestId type: object - inline_response_403_41: + inline_response_400_52: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39512,20 +46793,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetTransactionRequestDetailsE403' + $ref: '#/components/schemas/ListInternalTransactionDetailsByTransactionHashE400' required: - apiVersion - error - requestId type: object - inline_response_400_42: + inline_response_401_52: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39537,20 +46818,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListLatestMinedBlocksE400' + $ref: '#/components/schemas/ListInternalTransactionDetailsByTransactionHashE401' required: - apiVersion - error - requestId type: object - inline_response_401_42: + inline_response_403_52: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39562,20 +46843,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListLatestMinedBlocksE401' + $ref: '#/components/schemas/ListInternalTransactionDetailsByTransactionHashE403' required: - apiVersion - error - requestId type: object - inline_response_403_42: + inline_response_400_53: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39587,20 +46868,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListLatestMinedBlocksE403' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsE400' required: - apiVersion - error - requestId type: object - inline_response_400_43: + inline_response_401_53: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39612,20 +46893,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE400' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsE401' required: - apiVersion - error - requestId type: object - inline_response_401_43: + inline_response_403_53: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39637,20 +46918,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE401' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsE403' required: - apiVersion - error - requestId type: object - inline_response_403_43: + inline_response_422_4: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39662,20 +46943,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE403' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsE422' required: - apiVersion - error - requestId type: object - inline_response_409_5: + inline_response_400_54: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39687,20 +46968,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE409' + $ref: '#/components/schemas/GetInternalTransactionByTransactionHashAndOperationIdE400' required: - apiVersion - error - requestId type: object - inline_response_422_1: + inline_response_401_54: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39712,20 +46993,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubE422' + $ref: '#/components/schemas/GetInternalTransactionByTransactionHashAndOperationIdE401' required: - apiVersion - error - requestId type: object - inline_response_400_44: + inline_response_403_54: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39737,20 +47018,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHashE400' + $ref: '#/components/schemas/GetInternalTransactionByTransactionHashAndOperationIdE403' required: - apiVersion - error - requestId type: object - inline_response_401_44: + inline_response_404_3: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39762,20 +47043,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHashE401' + $ref: '#/components/schemas/BlockchainDataInternalTransactionNotFound' required: - apiVersion - error - requestId type: object - inline_response_403_44: + inline_response_400_55: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39787,20 +47068,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListOmniTransactionsByBlockHashE403' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubUTXOsE400' required: - apiVersion - error - requestId type: object - inline_response_400_45: + inline_response_401_55: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39812,20 +47093,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListWalletTransactionsE400' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubUTXOsE401' required: - apiVersion - error - requestId type: object - inline_response_401_45: + inline_response_403_55: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39837,20 +47118,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListWalletTransactionsE401' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubUTXOsE403' required: - apiVersion - error - requestId type: object - inline_response_403_45: + inline_response_422_5: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39862,20 +47143,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListWalletTransactionsE403' + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubUTXOsE422' required: - apiVersion - error - requestId type: object - inline_response_400_46: + inline_response_400_56: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39887,20 +47168,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDE400' + $ref: '#/components/schemas/ListInternalTransactionsByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_401_46: + inline_response_401_56: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39912,20 +47193,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDE401' + $ref: '#/components/schemas/ListInternalTransactionsByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_403_46: + inline_response_403_56: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39937,20 +47218,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetWalletTransactionDetailsByTransactionIDE403' + $ref: '#/components/schemas/ListInternalTransactionsByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_400_47: + inline_response_400_57: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39962,20 +47243,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsE400' + $ref: '#/components/schemas/GetFeeRecommendationsE400' required: - apiVersion - error - requestId type: object - inline_response_401_47: + inline_response_401_57: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -39987,20 +47268,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsE401' + $ref: '#/components/schemas/GetFeeRecommendationsE401' required: - apiVersion - error - requestId type: object - inline_response_403_47: + inline_response_403_57: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40012,20 +47293,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsE403' + $ref: '#/components/schemas/GetFeeRecommendationsE403' required: - apiVersion - error - requestId type: object - inline_response_422_2: + inline_response_400_58: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40037,20 +47318,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetHDWalletXPubYPubZPubDetailsE422' + $ref: '#/components/schemas/GetNextAvailableNonceE400' required: - apiVersion - error - requestId type: object - inline_response_400_48: + inline_response_401_58: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40062,20 +47343,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListInternalTransactionDetailsByTransactionHashE400' + $ref: '#/components/schemas/GetNextAvailableNonceE401' required: - apiVersion - error - requestId type: object - inline_response_401_48: + inline_response_403_58: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40087,20 +47368,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListInternalTransactionDetailsByTransactionHashE401' + $ref: '#/components/schemas/GetNextAvailableNonceE403' required: - apiVersion - error - requestId type: object - inline_response_403_48: + inline_response_400_59: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40112,20 +47393,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListInternalTransactionDetailsByTransactionHashE403' + $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_400_49: + inline_response_401_59: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40137,20 +47418,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsE400' + $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_401_49: + inline_response_403_59: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40162,20 +47443,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsE401' + $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_403_49: + inline_response_400_60: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40187,20 +47468,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsE403' + $ref: '#/components/schemas/ListTokensTransfersByTransactionHashE400' required: - apiVersion - error - requestId type: object - inline_response_422_3: + inline_response_401_60: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40212,20 +47493,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListHDWalletXPubYPubZPubTransactionsE422' + $ref: '#/components/schemas/ListTokensTransfersByTransactionHashE401' required: - apiVersion - error - requestId type: object - inline_response_400_50: + inline_response_403_60: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40237,20 +47518,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetInternalTransactionByTransactionHashAndOperationIdE400' + $ref: '#/components/schemas/ListTokensTransfersByTransactionHashE403' required: - apiVersion - error - requestId type: object - inline_response_401_50: + inline_response_400_61: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40262,20 +47543,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetInternalTransactionByTransactionHashAndOperationIdE401' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeE400' required: - apiVersion - error - requestId type: object - inline_response_403_50: + inline_response_401_61: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40287,20 +47568,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetInternalTransactionByTransactionHashAndOperationIdE403' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeE401' required: - apiVersion - error - requestId type: object - inline_response_404_3: + inline_response_403_61: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40312,20 +47593,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/BlockchainDataInternalTransactionNotFound' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeE403' required: - apiVersion - error - requestId type: object - inline_response_400_51: + inline_response_400_62: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40337,20 +47618,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListInternalTransactionsByAddressE400' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressAndTimeRangeE400' required: - apiVersion - error - requestId type: object - inline_response_401_51: + inline_response_401_62: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40362,20 +47643,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListInternalTransactionsByAddressE401' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressAndTimeRangeE401' required: - apiVersion - error - requestId type: object - inline_response_403_51: + inline_response_403_62: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40387,20 +47668,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListInternalTransactionsByAddressE403' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressAndTimeRangeE403' required: - apiVersion - error - requestId type: object - inline_response_400_52: + inline_response_400_63: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40412,20 +47693,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressE400' + $ref: '#/components/schemas/ListInternalTransactionsByAddressAndTimeRangeE400' required: - apiVersion - error - requestId type: object - inline_response_401_52: + inline_response_401_63: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40437,20 +47718,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressE401' + $ref: '#/components/schemas/ListInternalTransactionsByAddressAndTimeRangeE401' required: - apiVersion - error - requestId type: object - inline_response_403_52: + inline_response_403_63: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40462,20 +47743,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressE403' + $ref: '#/components/schemas/ListInternalTransactionsByAddressAndTimeRangeE403' required: - apiVersion - error - requestId type: object - inline_response_400_53: + inline_response_400_64: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40487,20 +47768,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetFeeRecommendationsE400' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_401_53: + inline_response_401_64: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40512,20 +47793,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetFeeRecommendationsE401' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_403_53: + inline_response_403_64: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40537,20 +47818,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetFeeRecommendationsE403' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_400_54: + inline_response_400_65: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40562,20 +47843,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTokensTransfersByTransactionHashE400' + $ref: '#/components/schemas/GetRawTransactionDataE400' required: - apiVersion - error - requestId type: object - inline_response_401_54: + inline_response_401_65: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40587,20 +47868,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTokensTransfersByTransactionHashE401' + $ref: '#/components/schemas/GetRawTransactionDataE401' required: - apiVersion - error - requestId type: object - inline_response_403_54: + inline_response_403_65: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40612,20 +47893,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTokensTransfersByTransactionHashE403' + $ref: '#/components/schemas/GetRawTransactionDataE403' required: - apiVersion - error - requestId type: object - inline_response_400_55: + inline_response_400_66: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40637,20 +47918,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressE400' + $ref: '#/components/schemas/ListUnconfirmedTokensTransfersByAddressE400' required: - apiVersion - error - requestId type: object - inline_response_401_55: + inline_response_401_66: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40662,20 +47943,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressE401' + $ref: '#/components/schemas/ListUnconfirmedTokensTransfersByAddressE401' required: - apiVersion - error - requestId type: object - inline_response_403_55: + inline_response_403_66: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40687,20 +47968,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressE403' + $ref: '#/components/schemas/ListUnconfirmedTokensTransfersByAddressE403' required: - apiVersion - error - requestId type: object - inline_response_400_56: + inline_response_400_67: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40712,7 +47993,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListTokensByAddressE400' @@ -40721,11 +48002,11 @@ components: - error - requestId type: object - inline_response_401_56: + inline_response_401_67: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40737,7 +48018,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListTokensByAddressE401' @@ -40746,11 +48027,11 @@ components: - error - requestId type: object - inline_response_403_56: + inline_response_403_67: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40762,7 +48043,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListTokensByAddressE403' @@ -40771,11 +48052,111 @@ components: - error - requestId type: object - inline_response_400_57: + inline_response_400_68: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/EstimateTransactionSmartFeeE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_68: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/EstimateTransactionSmartFeeE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_68: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/EstimateTransactionSmartFeeE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_501: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/Unimplemented' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_69: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40787,7 +48168,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetTokenDetailsByContractAddressE400' @@ -40796,11 +48177,11 @@ components: - error - requestId type: object - inline_response_401_57: + inline_response_401_69: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40812,7 +48193,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetTokenDetailsByContractAddressE401' @@ -40821,11 +48202,11 @@ components: - error - requestId type: object - inline_response_403_57: + inline_response_403_69: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40837,7 +48218,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetTokenDetailsByContractAddressE403' @@ -40846,11 +48227,11 @@ components: - error - requestId type: object - inline_response_400_58: + inline_response_400_70: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40862,7 +48243,82 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_70: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_70: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_71: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString type: string error: $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsE400' @@ -40871,11 +48327,11 @@ components: - error - requestId type: object - inline_response_401_58: + inline_response_401_71: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40887,7 +48343,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsE401' @@ -40896,11 +48352,11 @@ components: - error - requestId type: object - inline_response_403_58: + inline_response_403_71: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40912,7 +48368,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsE403' @@ -40925,7 +48381,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40937,7 +48393,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsE409' @@ -40946,11 +48402,11 @@ components: - error - requestId type: object - inline_response_400_59: + inline_response_400_72: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40962,7 +48418,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsE400' @@ -40971,11 +48427,11 @@ components: - error - requestId type: object - inline_response_401_59: + inline_response_401_72: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -40987,7 +48443,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsE401' @@ -40996,11 +48452,11 @@ components: - error - requestId type: object - inline_response_403_59: + inline_response_403_72: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41012,7 +48468,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsE403' @@ -41025,7 +48481,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41037,7 +48493,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsE409' @@ -41046,11 +48502,11 @@ components: - error - requestId type: object - inline_response_400_60: + inline_response_400_73: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41062,7 +48518,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedCoinsTransactionsE400' @@ -41071,11 +48527,11 @@ components: - error - requestId type: object - inline_response_401_60: + inline_response_401_73: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41087,7 +48543,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedCoinsTransactionsE401' @@ -41096,11 +48552,11 @@ components: - error - requestId type: object - inline_response_403_60: + inline_response_403_73: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41112,7 +48568,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedCoinsTransactionsE403' @@ -41125,7 +48581,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41137,7 +48593,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedCoinsTransactionsE409' @@ -41146,11 +48602,11 @@ components: - error - requestId type: object - inline_response_400_61: + inline_response_400_74: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41162,7 +48618,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedTokensTransactionsE400' @@ -41171,11 +48627,11 @@ components: - error - requestId type: object - inline_response_401_61: + inline_response_401_74: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41187,7 +48643,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedTokensTransactionsE401' @@ -41196,11 +48652,11 @@ components: - error - requestId type: object - inline_response_403_61: + inline_response_403_74: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41212,7 +48668,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedTokensTransactionsE403' @@ -41225,7 +48681,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41237,7 +48693,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedTokensTransactionsE409' @@ -41246,11 +48702,11 @@ components: - error - requestId type: object - inline_response_400_62: + inline_response_400_75: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41262,7 +48718,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationE400' @@ -41271,11 +48727,11 @@ components: - error - requestId type: object - inline_response_401_62: + inline_response_401_75: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41287,7 +48743,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationE401' @@ -41296,11 +48752,11 @@ components: - error - requestId type: object - inline_response_403_62: + inline_response_403_75: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41312,7 +48768,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationE403' @@ -41325,7 +48781,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41337,7 +48793,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationE409' @@ -41346,11 +48802,11 @@ components: - error - requestId type: object - inline_response_400_63: + inline_response_400_76: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41362,7 +48818,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationE400' @@ -41371,11 +48827,11 @@ components: - error - requestId type: object - inline_response_401_63: + inline_response_401_76: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41387,7 +48843,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationE401' @@ -41396,11 +48852,11 @@ components: - error - requestId type: object - inline_response_403_63: + inline_response_403_76: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41412,7 +48868,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationE403' @@ -41425,7 +48881,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41437,7 +48893,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationE409' @@ -41446,11 +48902,11 @@ components: - error - requestId type: object - inline_response_400_64: + inline_response_400_77: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41462,7 +48918,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/MinedTransactionE400' @@ -41471,11 +48927,11 @@ components: - error - requestId type: object - inline_response_401_64: + inline_response_401_77: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41487,7 +48943,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/MinedTransactionE401' @@ -41496,11 +48952,11 @@ components: - error - requestId type: object - inline_response_403_64: + inline_response_403_77: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41512,7 +48968,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/MinedTransactionE403' @@ -41525,7 +48981,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41537,7 +48993,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/MinedTransactionE409' @@ -41546,11 +49002,11 @@ components: - error - requestId type: object - inline_response_400_65: + inline_response_400_78: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41562,7 +49018,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewBlockE400' @@ -41571,11 +49027,11 @@ components: - error - requestId type: object - inline_response_401_65: + inline_response_401_78: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41587,7 +49043,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewBlockE401' @@ -41596,11 +49052,11 @@ components: - error - requestId type: object - inline_response_403_65: + inline_response_403_78: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41612,7 +49068,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewBlockE403' @@ -41625,7 +49081,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41637,7 +49093,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewBlockE409' @@ -41646,11 +49102,11 @@ components: - error - requestId type: object - inline_response_400_66: + inline_response_400_79: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41662,7 +49118,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsE400' @@ -41671,11 +49127,11 @@ components: - error - requestId type: object - inline_response_401_66: + inline_response_401_79: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41687,7 +49143,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsE401' @@ -41696,11 +49152,11 @@ components: - error - requestId type: object - inline_response_403_66: + inline_response_403_79: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41712,7 +49168,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListBlockchainEventsSubscriptionsE403' @@ -41721,11 +49177,86 @@ components: - error - requestId type: object - inline_response_400_67: + inline_response_400_80: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetBlockchainEventSubscriptionDetailsByReferenceIDE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_80: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetBlockchainEventSubscriptionDetailsByReferenceIDE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_80: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetBlockchainEventSubscriptionDetailsByReferenceIDE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_81: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41737,7 +49268,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionE400' @@ -41746,11 +49277,11 @@ components: - error - requestId type: object - inline_response_401_67: + inline_response_401_81: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41762,7 +49293,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionE401' @@ -41771,11 +49302,11 @@ components: - error - requestId type: object - inline_response_403_67: + inline_response_403_81: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41787,7 +49318,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ActivateBlockchainEventSubscriptionE403' @@ -41796,11 +49327,11 @@ components: - error - requestId type: object - inline_response_400_68: + inline_response_400_82: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41812,7 +49343,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/DeleteBlockchainEventSubscriptionE400' @@ -41821,11 +49352,11 @@ components: - error - requestId type: object - inline_response_401_68: + inline_response_401_82: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41837,7 +49368,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/DeleteBlockchainEventSubscriptionE401' @@ -41846,11 +49377,11 @@ components: - error - requestId type: object - inline_response_403_68: + inline_response_403_82: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41862,7 +49393,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/DeleteBlockchainEventSubscriptionE403' @@ -41871,11 +49402,11 @@ components: - error - requestId type: object - inline_response_400_69: + inline_response_400_83: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41887,7 +49418,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetAddressDetailsFromCallbackE400' @@ -41896,11 +49427,11 @@ components: - error - requestId type: object - inline_response_401_69: + inline_response_401_83: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41912,7 +49443,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetAddressDetailsFromCallbackE401' @@ -41921,11 +49452,11 @@ components: - error - requestId type: object - inline_response_403_69: + inline_response_403_83: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41937,7 +49468,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetAddressDetailsFromCallbackE403' @@ -41950,7 +49481,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41962,7 +49493,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/BlockchainDataAddressEventSubscriptionNotFound' @@ -41971,11 +49502,11 @@ components: - error - requestId type: object - inline_response_400_70: + inline_response_400_84: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -41987,7 +49518,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackE400' @@ -41996,11 +49527,11 @@ components: - error - requestId type: object - inline_response_401_70: + inline_response_401_84: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42012,7 +49543,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackE401' @@ -42021,11 +49552,11 @@ components: - error - requestId type: object - inline_response_403_70: + inline_response_403_84: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42037,7 +49568,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDFromCallbackE403' @@ -42046,11 +49577,11 @@ components: - error - requestId type: object - inline_response_400_71: + inline_response_400_85: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42062,7 +49593,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackE400' @@ -42071,11 +49602,11 @@ components: - error - requestId type: object - inline_response_401_71: + inline_response_401_85: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42087,7 +49618,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackE401' @@ -42096,11 +49627,11 @@ components: - error - requestId type: object - inline_response_403_71: + inline_response_403_85: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42112,7 +49643,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetBlockDetailsByBlockHashFromCallbackE403' @@ -42121,11 +49652,11 @@ components: - error - requestId type: object - inline_response_400_72: + inline_response_400_86: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42137,7 +49668,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackE400' @@ -42146,11 +49677,11 @@ components: - error - requestId type: object - inline_response_401_72: + inline_response_401_86: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42162,7 +49693,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackE401' @@ -42171,11 +49702,11 @@ components: - error - requestId type: object - inline_response_403_72: + inline_response_403_86: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42187,7 +49718,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/GetBlockDetailsByBlockHeightFromCallbackE403' @@ -42196,11 +49727,11 @@ components: - error - requestId type: object - inline_response_400_73: + inline_response_400_87: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42212,7 +49743,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedInternalTransactionsE400' @@ -42221,11 +49752,11 @@ components: - error - requestId type: object - inline_response_401_73: + inline_response_401_87: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42237,7 +49768,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedInternalTransactionsE401' @@ -42246,11 +49777,11 @@ components: - error - requestId type: object - inline_response_403_73: + inline_response_403_87: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42262,7 +49793,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedInternalTransactionsE403' @@ -42275,7 +49806,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42287,7 +49818,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedInternalTransactionsE409' @@ -42296,11 +49827,11 @@ components: - error - requestId type: object - inline_response_400_74: + inline_response_400_88: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42312,7 +49843,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationE400' @@ -42321,11 +49852,11 @@ components: - error - requestId type: object - inline_response_401_74: + inline_response_401_88: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42337,7 +49868,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationE401' @@ -42346,11 +49877,11 @@ components: - error - requestId type: object - inline_response_403_74: + inline_response_403_88: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42362,7 +49893,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationE403' @@ -42375,7 +49906,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42387,7 +49918,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationE409' @@ -42396,11 +49927,11 @@ components: - error - requestId type: object - inline_response_400_75: + inline_response_400_89: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42412,7 +49943,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListCoinsForwardingAutomationsE400' @@ -42421,11 +49952,11 @@ components: - error - requestId type: object - inline_response_401_75: + inline_response_401_89: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42437,7 +49968,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListCoinsForwardingAutomationsE401' @@ -42446,11 +49977,11 @@ components: - error - requestId type: object - inline_response_403_75: + inline_response_403_89: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42462,7 +49993,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListCoinsForwardingAutomationsE403' @@ -42471,11 +50002,11 @@ components: - error - requestId type: object - inline_response_400_76: + inline_response_400_90: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42487,7 +50018,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/CreateAutomaticCoinsForwardingE400' @@ -42496,11 +50027,11 @@ components: - error - requestId type: object - inline_response_401_76: + inline_response_401_90: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42512,7 +50043,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/CreateAutomaticCoinsForwardingE401' @@ -42521,11 +50052,11 @@ components: - error - requestId type: object - inline_response_403_76: + inline_response_403_90: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42537,7 +50068,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/CreateAutomaticCoinsForwardingE403' @@ -42550,7 +50081,7 @@ components: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42562,7 +50093,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/CreateAutomaticCoinsForwardingE409' @@ -42571,11 +50102,11 @@ components: - error - requestId type: object - inline_response_400_77: + inline_response_400_91: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42587,7 +50118,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/DeleteAutomaticCoinsForwardingE400' @@ -42596,11 +50127,11 @@ components: - error - requestId type: object - inline_response_401_77: + inline_response_401_91: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42612,7 +50143,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/DeleteAutomaticCoinsForwardingE401' @@ -42621,11 +50152,11 @@ components: - error - requestId type: object - inline_response_403_77: + inline_response_403_91: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42637,7 +50168,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/DeleteAutomaticCoinsForwardingE403' @@ -42646,11 +50177,11 @@ components: - error - requestId type: object - inline_response_400_78: + inline_response_400_92: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42662,7 +50193,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListTokensForwardingAutomationsE400' @@ -42671,11 +50202,11 @@ components: - error - requestId type: object - inline_response_401_78: + inline_response_401_92: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42687,7 +50218,7 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: $ref: '#/components/schemas/ListTokensForwardingAutomationsE401' @@ -42696,11 +50227,436 @@ components: - error - requestId type: object - inline_response_403_78: + inline_response_403_92: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/ListTokensForwardingAutomationsE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_93: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/CreateAutomaticTokensForwardingE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_93: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/CreateAutomaticTokensForwardingE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_93: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/CreateAutomaticTokensForwardingE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_94: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/AddTokensToExistingFromAddressE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_94: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/AddTokensToExistingFromAddressE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_94: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/AddTokensToExistingFromAddressE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_95: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetFeeAddressDetailsE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_95: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetFeeAddressDetailsE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_95: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetFeeAddressDetailsE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_96: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/DeleteAutomaticTokensForwardingE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_96: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/DeleteAutomaticTokensForwardingE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_96: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/DeleteAutomaticTokensForwardingE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_97: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/ValidateAddressE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_97: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/ValidateAddressE401' + required: + - apiVersion + - error + - requestId + type: object + inline_response_403_97: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/ValidateAddressE403' + required: + - apiVersion + - error + - requestId + type: object + inline_response_400_98: + properties: + apiVersion: + description: Specifies the version of the API that incorporates this endpoint. + example: 2.0.0 + type: string + requestId: + description: Defines the ID of the request. The `requestId` is generated + by Crypto APIs and it's unique for every request. + example: 601c1710034ed6d407996b30 + type: string + context: + description: In batch situations the user can use the context to correlate + responses with requests. This property is present regardless of whether + the response was successful or returned as an error. `context` is specified + by the user. + example: yourExampleString + type: string + error: + $ref: '#/components/schemas/GetEIP1559FeeRecommendationsE400' + required: + - apiVersion + - error + - requestId + type: object + inline_response_401_98: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42712,20 +50668,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListTokensForwardingAutomationsE403' + $ref: '#/components/schemas/GetEIP1559FeeRecommendationsE401' required: - apiVersion - error - requestId type: object - inline_response_400_79: + inline_response_403_98: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42737,20 +50693,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingE400' + $ref: '#/components/schemas/GetEIP1559FeeRecommendationsE403' required: - apiVersion - error - requestId type: object - inline_response_401_79: + inline_response_400_99: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42762,20 +50718,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingE401' + $ref: '#/components/schemas/BroadcastLocallySignedTransactionE400' required: - apiVersion - error - requestId type: object - inline_response_403_79: + inline_response_401_99: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42787,20 +50743,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingE403' + $ref: '#/components/schemas/BroadcastLocallySignedTransactionE401' required: - apiVersion - error - requestId type: object - inline_response_400_80: + inline_response_403_99: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42812,20 +50768,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/AddTokensToExistingFromAddressE400' + $ref: '#/components/schemas/BroadcastLocallySignedTransactionE403' required: - apiVersion - error - requestId type: object - inline_response_401_80: + inline_response_409_17: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42837,20 +50793,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/AddTokensToExistingFromAddressE401' + $ref: '#/components/schemas/BroadcastLocallySignedTransactionE409' required: - apiVersion - error - requestId type: object - inline_response_403_80: + inline_response_400_100: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42862,20 +50818,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/AddTokensToExistingFromAddressE403' + $ref: '#/components/schemas/EstimateGasLimitE400' required: - apiVersion - error - requestId type: object - inline_response_400_81: + inline_response_401_100: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42887,20 +50843,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetFeeAddressDetailsE400' + $ref: '#/components/schemas/EstimateGasLimitE401' required: - apiVersion - error - requestId type: object - inline_response_401_81: + inline_response_403_100: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42912,20 +50868,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetFeeAddressDetailsE401' + $ref: '#/components/schemas/EstimateGasLimitE403' required: - apiVersion - error - requestId type: object - inline_response_403_81: + inline_response_400_101: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42937,20 +50893,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetFeeAddressDetailsE403' + $ref: '#/components/schemas/EstimateTokenGasLimitE400' required: - apiVersion - error - requestId type: object - inline_response_400_82: + inline_response_401_101: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42962,20 +50918,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingE400' + $ref: '#/components/schemas/EstimateTokenGasLimitE401' required: - apiVersion - error - requestId type: object - inline_response_401_82: + inline_response_403_101: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -42987,20 +50943,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingE401' + $ref: '#/components/schemas/EstimateTokenGasLimitE403' required: - apiVersion - error - requestId type: object - inline_response_403_82: + inline_response_400_102: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43012,20 +50968,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/DeleteAutomaticTokensForwardingE403' + $ref: '#/components/schemas/DecodeRawTransactionHexE400' required: - apiVersion - error - requestId type: object - inline_response_400_83: + inline_response_401_102: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43037,20 +50993,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ValidateAddressE400' + $ref: '#/components/schemas/DecodeRawTransactionHexE401' required: - apiVersion - error - requestId type: object - inline_response_401_83: + inline_response_403_102: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43062,20 +51018,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ValidateAddressE401' + $ref: '#/components/schemas/DecodeRawTransactionHexE403' required: - apiVersion - error - requestId type: object - inline_response_403_83: + inline_response_400_103: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43087,20 +51043,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ValidateAddressE403' + $ref: '#/components/schemas/DecodeX-AddressE400' required: - apiVersion - error - requestId type: object - inline_response_400_84: + inline_response_401_103: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43112,20 +51068,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetEIP1559FeeRecommendationsE400' + $ref: '#/components/schemas/DecodeX-AddressE401' required: - apiVersion - error - requestId type: object - inline_response_401_84: + inline_response_403_103: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43137,20 +51093,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetEIP1559FeeRecommendationsE401' + $ref: '#/components/schemas/DecodeX-AddressE403' required: - apiVersion - error - requestId type: object - inline_response_403_84: + inline_response_400_104: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43162,20 +51118,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetEIP1559FeeRecommendationsE403' + $ref: '#/components/schemas/EncodeX-AddressE400' required: - apiVersion - error - requestId type: object - inline_response_400_85: + inline_response_401_104: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43187,20 +51143,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionE400' + $ref: '#/components/schemas/EncodeX-AddressE401' required: - apiVersion - error - requestId type: object - inline_response_401_85: + inline_response_403_104: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43212,20 +51168,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionE401' + $ref: '#/components/schemas/EncodeX-AddressE403' required: - apiVersion - error - requestId type: object - inline_response_403_85: + inline_response_400_105: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43237,20 +51193,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionE403' + $ref: '#/components/schemas/ListSupportedAssetsE400' required: - apiVersion - error - requestId type: object - inline_response_409_17: + inline_response_401_105: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43262,20 +51218,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionE409' + $ref: '#/components/schemas/ListSupportedAssetsE401' required: - apiVersion - error - requestId type: object - inline_response_400_86: + inline_response_403_105: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43287,20 +51243,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListSupportedAssetsE400' + $ref: '#/components/schemas/ListSupportedAssetsE403' required: - apiVersion - error - requestId type: object - inline_response_401_86: + inline_response_400_106: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43312,20 +51268,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListSupportedAssetsE401' + $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsE400' required: - apiVersion - error - requestId type: object - inline_response_403_86: + inline_response_401_106: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43337,20 +51293,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListSupportedAssetsE403' + $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsE401' required: - apiVersion - error - requestId type: object - inline_response_400_87: + inline_response_403_106: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43362,20 +51318,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsE400' + $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsE403' required: - apiVersion - error - requestId type: object - inline_response_401_87: + inline_response_422_6: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43387,20 +51343,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsE401' + $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsE422' required: - apiVersion - error - requestId type: object - inline_response_403_87: + inline_response_400_107: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43412,20 +51368,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsE403' + $ref: '#/components/schemas/GetExchangeRateByAssetsIDsE400' required: - apiVersion - error - requestId type: object - inline_response_422_4: + inline_response_401_107: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43437,20 +51393,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetExchangeRateByAssetSymbolsE422' + $ref: '#/components/schemas/GetExchangeRateByAssetsIDsE401' required: - apiVersion - error - requestId type: object - inline_response_400_88: + inline_response_403_107: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43462,20 +51418,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetExchangeRateByAssetsIDsE400' + $ref: '#/components/schemas/GetExchangeRateByAssetsIDsE403' required: - apiVersion - error - requestId type: object - inline_response_401_88: + inline_response_422_7: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43487,20 +51443,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetExchangeRateByAssetsIDsE401' + $ref: '#/components/schemas/GetExchangeRateByAssetsIDsE422' required: - apiVersion - error - requestId type: object - inline_response_403_88: + inline_response_400_108: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43512,20 +51468,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetExchangeRateByAssetsIDsE403' + $ref: '#/components/schemas/ListAssetsDetailsE400' required: - apiVersion - error - requestId type: object - inline_response_422_5: + inline_response_401_108: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43537,20 +51493,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetExchangeRateByAssetsIDsE422' + $ref: '#/components/schemas/ListAssetsDetailsE401' required: - apiVersion - error - requestId type: object - inline_response_400_89: + inline_response_403_108: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43562,20 +51518,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListAssetsDetailsE400' + $ref: '#/components/schemas/ListAssetsDetailsE403' required: - apiVersion - error - requestId type: object - inline_response_401_89: + inline_response_400_109: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43587,20 +51543,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListAssetsDetailsE401' + $ref: '#/components/schemas/GetAssetDetailsByAssetIDE400' required: - apiVersion - error - requestId type: object - inline_response_403_89: + inline_response_401_109: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43612,20 +51568,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/ListAssetsDetailsE403' + $ref: '#/components/schemas/GetAssetDetailsByAssetIDE401' required: - apiVersion - error - requestId type: object - inline_response_400_90: + inline_response_403_109: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43637,20 +51593,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDE400' + $ref: '#/components/schemas/GetAssetDetailsByAssetIDE403' required: - apiVersion - error - requestId type: object - inline_response_401_90: + inline_response_400_110: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43662,20 +51618,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDE401' + $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolE400' required: - apiVersion - error - requestId type: object - inline_response_403_90: + inline_response_401_110: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43687,20 +51643,20 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetAssetDetailsByAssetIDE403' + $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolE401' required: - apiVersion - error - requestId type: object - inline_response_400_91: + inline_response_403_110: properties: apiVersion: description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + example: 2.0.0 type: string requestId: description: Defines the ID of the request. The `requestId` is generated @@ -43712,1183 +51668,1736 @@ components: responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. - example: You can add any text here + example: yourExampleString type: string error: - $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolE400' + $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolE403' + required: + - apiVersion + - error + - requestId + type: object + GenerateDepositAddressRB_data_item: + example: + label: yourLabelStringHere + properties: + label: + description: Represents a custom tag that customers can set up for their + Wallets and addresses. E.g. custom label named "Special addresses". + example: yourLabelStringHere + type: string + required: + - label + type: object + GenerateDepositAddressRB_data: + example: + item: + label: yourLabelStringHere + properties: + item: + $ref: '#/components/schemas/GenerateDepositAddressRB_data_item' + required: + - item + type: object + CreateCoinsTransactionRequestFromWalletRB_data_item_recipients: + example: + amount: "0.125" + address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + properties: + address: + description: Defines the specific recipient/destination address. + example: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + type: string + amount: + description: Represents the specific amount of the transaction's destination. + example: "0.125" + type: string + required: + - address + - amount + type: object + CreateCoinsTransactionRequestFromWalletRB_data_item: + example: + feePriority: standard + note: yourAdditionalInformationhere + recipients: + - amount: "0.125" + address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + - amount: "0.125" + address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + prepareStrategy: minimize-dust + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + properties: + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." + enum: + - slow + - standard + - fast + example: standard + type: string + note: + description: "Represents an optional note to add a free text in, explaining\ + \ or providing additional detail on the transaction request." + example: yourAdditionalInformationhere + type: string + prepareStrategy: + default: minimize-dust + description: "Refers to a model of a UTXO spending strategy, where customers\ + \ can choose how to spend their transaction outputs from multiple Bitcoin\ + \ addresses. Two options available - \"minimize-dust\" (select lower amounts\ + \ from multiple addresses) or \"optimize-size\" (select higher amounts\ + \ from less addresses)." + enum: + - minimize-dust + - optimize-size + example: minimize-dust + type: string + recipients: + description: "Defines the destination of the transaction, whether it is\ + \ incoming or outgoing." + items: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletRB_data_item_recipients' + type: array + required: + - feePriority + - recipients + type: object + CreateCoinsTransactionRequestFromWalletRB_data: + example: + item: + feePriority: standard + note: yourAdditionalInformationhere + recipients: + - amount: "0.125" + address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + - amount: "0.125" + address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + prepareStrategy: minimize-dust + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + properties: + item: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletRB_data_item' + required: + - item + type: object + CreateCoinsTransactionRequestFromAddressRB_data_item: + example: + feePriority: slow + note: yourAdditionalInformationhere + amount: "0.2" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + properties: + amount: + description: Represents the specific amount of the transaction. + example: "0.2" + type: string + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretString + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." + enum: + - slow + - standard + - fast + example: slow + type: string + note: + description: "Represents an optional note to add a free text in, explaining\ + \ or providing additional detail on the transaction request." + example: yourAdditionalInformationhere + type: string + recipientAddress: + description: Defines the specific recipient address for the transaction. + For XRP we also support the X-address format. + example: 0xc065b539490f81b6c297c37b1925c3be2f190732 + type: string + required: + - amount + - feePriority + - recipientAddress + type: object + CreateCoinsTransactionRequestFromAddressRB_data: + example: + item: + feePriority: slow + note: yourAdditionalInformationhere + amount: "0.2" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + properties: + item: + $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressRB_data_item' + required: + - item + type: object + CreateCoinsTransactionFromAddressForWholeAmountRB_data_item: + example: + feePriority: standard + note: yourAdditionalInformationhere + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + properties: + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretString + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." + enum: + - slow + - standard + - fast + example: standard + type: string + note: + description: "Represents an optional note to add a free text in, explaining\ + \ or providing additional detail on the transaction request." + example: yourAdditionalInformationhere + type: string + recipientAddress: + description: Defines the specific recipient address for the transaction. + example: 0xc065b539490f81b6c297c37b1925c3be2f190732 + type: string + required: + - feePriority + - recipientAddress + type: object + CreateCoinsTransactionFromAddressForWholeAmountRB_data: + example: + item: + feePriority: standard + note: yourAdditionalInformationhere + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + properties: + item: + $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountRB_data_item' + required: + - item + type: object + CreateFungibleTokensTransactionRequestFromAddressRB_data_item: + example: + feePriority: standard + note: yourAdditionalInformationhere + amount: "0.2" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + tokenIdentifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + properties: + amount: + description: Represents the specific amount of the transaction. + example: "0.2" + type: string + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretString + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." + enum: + - slow + - standard + - fast + example: standard + type: string + note: + description: "Represents an optional note to add a free text in, explaining\ + \ or providing additional detail on the transaction request." + example: yourAdditionalInformationhere + type: string + recipientAddress: + description: Defines the specific recipient address for the transaction. + example: 0xc065b539490f81b6c297c37b1925c3be2f190732 + type: string + tokenIdentifier: + description: Defines the specific token identifier. For Bitcoin-based transactions + it should be the `propertyId` and for Ethereum-based transactions - the + `contract`. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + type: string + required: + - amount + - feePriority + - recipientAddress + - tokenIdentifier + type: object + CreateFungibleTokensTransactionRequestFromAddressRB_data: + example: + item: + feePriority: standard + note: yourAdditionalInformationhere + amount: "0.2" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + tokenIdentifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + properties: + item: + $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRB_data_item' + required: + - item + type: object + SyncHDWalletXPubYPubZPubRB_data_item: + example: + extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + properties: + extendedPublicKey: + description: Defines the account extended publicly known key which is used + to derive all child public keys. + example: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + type: string + required: + - extendedPublicKey + type: object + SyncHDWalletXPubYPubZPubRB_data: + example: + item: + extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + properties: + item: + $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubRB_data_item' + required: + - item + type: object + NewUnconfirmedCoinsTransactionsRB_data_item: + example: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + properties: + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + type: string + allowDuplicates: + default: false + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: true + type: boolean + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs 2.0. For\ + \ more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + required: + - address + - callbackUrl + type: object + NewUnconfirmedCoinsTransactionsRB_data: + example: + item: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + properties: + item: + $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsRB_data_item' + required: + - item + type: object + NewUnconfirmedTokensTransactionsRB_data_item: + example: + address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + properties: + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + type: string + allowDuplicates: + default: false + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: true + type: boolean + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + required: + - address + - callbackUrl + type: object + NewUnconfirmedTokensTransactionsRB_data: + example: + item: + address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + properties: + item: + $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsRB_data_item' + required: + - item + type: object + NewConfirmedCoinsTransactionsRB_data_item: + example: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackURL: https://example.com + receiveCallbackOn: 3 + allowDuplicates: true + properties: + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + type: string + allowDuplicates: + default: false + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: true + type: boolean + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackURL: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + receiveCallbackOn: + description: "Represents the exact confirmation, on which the user wants\ + \ to receive callback." + example: 3 + type: integer required: - - apiVersion - - error - - requestId + - address + - callbackURL type: object - inline_response_401_91: + NewConfirmedCoinsTransactionsRB_data: + example: + item: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackURL: https://example.com + receiveCallbackOn: 3 + allowDuplicates: true properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" - type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 - type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here - type: string - error: - $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolE401' + item: + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsRB_data_item' required: - - apiVersion - - error - - requestId + - item type: object - inline_response_403_91: + NewConfirmedTokensTransactionsRB_data_item: + example: + address: 0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + allowDuplicates: true properties: - apiVersion: - description: Specifies the version of the API that incorporates this endpoint. - example: "2.0" + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: 0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2 type: string - requestId: - description: Defines the ID of the request. The `requestId` is generated - by Crypto APIs and it's unique for every request. - example: 601c1710034ed6d407996b30 + allowDuplicates: + default: false + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: true + type: boolean + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - context: - description: In batch situations the user can use the context to correlate - responses with requests. This property is present regardless of whether - the response was successful or returned as an error. `context` is specified - by the user. - example: You can add any text here + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string - error: - $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolE403' + receiveCallbackOn: + description: "Represents the exact confirmation, on which the user wants\ + \ to receive callback." + example: 3 + type: integer required: - - apiVersion - - error - - requestId + - address + - callbackUrl type: object - GenerateDepositAddressRB_data_item: + NewConfirmedTokensTransactionsRB_data: example: - label: yourLabelStringHere + item: + address: 0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + allowDuplicates: true properties: - label: - description: Represents a custom tag that customers can set up for their - Wallets and addresses. E.g. custom label named "Special addresses". - example: yourLabelStringHere + item: + $ref: '#/components/schemas/NewConfirmedTokensTransactionsRB_data_item' + required: + - item + type: object + NewConfirmedTokensTransactionsAndEachConfirmationRB_data_item: + example: + confirmationsCount: 3 + address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + properties: + address: + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + type: string + allowDuplicates: + default: false + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: true + type: boolean + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 + type: integer required: - - label + - address + - callbackUrl type: object - GenerateDepositAddressRB_data: + NewConfirmedTokensTransactionsAndEachConfirmationRB_data: example: item: - label: yourLabelStringHere + confirmationsCount: 3 + address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true properties: item: - $ref: '#/components/schemas/GenerateDepositAddressRB_data_item' + $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationRB_data_item' required: - item type: object - CreateCoinsTransactionRequestFromWalletRB_data_item_recipients: + NewConfirmedCoinsTransactionsAndEachConfirmationRB_data_item: example: - amount: "0.125" - address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + confirmationsCount: 3 + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true properties: address: - description: Defines the specific recipient/destination address. - example: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 + description: "Represents the address of the transaction, per which the result\ + \ is returned." + example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 type: string - amount: - description: Represents the specific amount of the transaction's destination. - example: "0.125" + allowDuplicates: + default: false + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: true + type: boolean + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey + type: string + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 + type: integer required: - address - - amount + - callbackUrl + - confirmationsCount type: object - CreateCoinsTransactionRequestFromWalletRB_data_item: + NewConfirmedCoinsTransactionsAndEachConfirmationRB_data: + example: + item: + confirmationsCount: 3 + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + properties: + item: + $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationRB_data_item' + required: + - item + type: object + MinedTransactionRB_data_item: example: - feePriority: standard - note: yourAdditionalInformationhere - recipients: - - amount: "0.125" - address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 - - amount: "0.125" - address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 - prepareStrategy: minimize-dust callbackSecretKey: yourSecretKey callbackUrl: https://example.com + allowDuplicates: false + transactionId: df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc properties: + allowDuplicates: + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: false + type: boolean callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." example: yourSecretKey type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. + and when the event occurs. `We support ONLY httpS type of protocol`. example: https://example.com type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". - enum: - - slow - - standard - - fast - example: standard - type: string - note: - description: Represents an optional note to add a free text in, explaining - or providing additional detail on the transaction request. - example: yourAdditionalInformationhere - type: string - prepareStrategy: - default: minimize-dust - description: Refers to a model of a UTXO spending strategy, where customers - can choose how to spend their transaction outputs from multiple Bitcoin - addresses. Two options available - "minimize-dust" (select lower amounts - from multiple addresses) or "optimize-size" (select higher amounts from - less addresses). - enum: - - minimize-dust - - optimize-size - example: minimize-dust + transactionId: + description: Represents the unique identification string that defines the + transaction. + example: df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc type: string - recipients: - description: Defines the destination of the transaction, whether it is incoming - or outgoing. - items: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletRB_data_item_recipients' - type: array required: - - feePriority - - recipients + - callbackUrl + - transactionId type: object - CreateCoinsTransactionRequestFromWalletRB_data: + MinedTransactionRB_data: example: item: - feePriority: standard - note: yourAdditionalInformationhere - recipients: - - amount: "0.125" - address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 - - amount: "0.125" - address: 2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66 - prepareStrategy: minimize-dust callbackSecretKey: yourSecretKey callbackUrl: https://example.com + allowDuplicates: false + transactionId: df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc properties: item: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromWalletRB_data_item' + $ref: '#/components/schemas/MinedTransactionRB_data_item' required: - item type: object - CreateCoinsTransactionRequestFromAddressRB_data_item: + NewBlockRB_data_item: example: - feePriority: slow - note: yourAdditionalInformationhere - amount: "0.2" - callbackSecretKey: yourSecretString + callbackSecretKey: yourSecretKey callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + allowDuplicates: true properties: - amount: - description: Represents the specific amount of the transaction. - example: "0.2" - type: string + allowDuplicates: + default: false + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: true + type: boolean callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretString + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. + and when the event occurs. `We support ONLY httpS type of protocol`. example: https://example.com type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". - enum: - - slow - - standard - - fast - example: slow + required: + - callbackUrl + type: object + NewBlockRB_data: + example: + item: + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + allowDuplicates: true + properties: + item: + $ref: '#/components/schemas/NewBlockRB_data_item' + required: + - item + type: object + ActivateBlockchainEventSubscriptionRB_data: + example: + item: "{}" + properties: + item: + properties: {} + type: object + required: + - item + type: object + NewConfirmedInternalTransactionsRB_data_item: + example: + address: 0xbcc817f057950b0df41206c5d7125e6225cae18e + callbackSecretKey: yourSecretKey + callbackUrl: https://example.com + receiveCallbackOn: 3 + allowDuplicates: true + properties: + address: + description: Defines the specific address of the internal transaction. + example: 0xbcc817f057950b0df41206c5d7125e6225cae18e type: string - note: - description: Represents an optional note to add a free text in, explaining - or providing additional detail on the transaction request. - example: yourAdditionalInformationhere + allowDuplicates: + default: false + description: Flag that permits or denies creation of duplicates + example: true + type: boolean + callbackSecretKey: + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretKey type: string - recipientAddress: - description: Defines the specific recipient address for the transaction. - example: 0xc065b539490f81b6c297c37b1925c3be2f190732 + callbackUrl: + description: Represents the URL that is set by the customer where the callback + will be received at. The callback notification will be received only if + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com type: string + receiveCallbackOn: + description: "Represents the exact confirmation, on which the user wants\ + \ to receive callback." + example: 3 + type: integer required: - - amount - - feePriority - - recipientAddress + - address + - allowDuplicates + - callbackSecretKey + - callbackUrl type: object - CreateCoinsTransactionRequestFromAddressRB_data: + NewConfirmedInternalTransactionsRB_data: example: item: - feePriority: slow - note: yourAdditionalInformationhere - amount: "0.2" - callbackSecretKey: yourSecretString + address: 0xbcc817f057950b0df41206c5d7125e6225cae18e + callbackSecretKey: yourSecretKey callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + receiveCallbackOn: 3 + allowDuplicates: true properties: item: - $ref: '#/components/schemas/CreateCoinsTransactionRequestFromAddressRB_data_item' + $ref: '#/components/schemas/NewConfirmedInternalTransactionsRB_data_item' required: - item type: object - CreateCoinsTransactionFromAddressForWholeAmountRB_data_item: + NewConfirmedInternalTransactionsAndEachConfirmationRB_data_item: example: - feePriority: standard - note: yourAdditionalInformationhere + confirmationsCount: 3 + address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 callbackSecretKey: yourSecretString callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + allowDuplicates: true properties: + address: + description: Defines the specific address of the internal transaction. + example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 + type: string + allowDuplicates: + default: false + description: Specifies a flag that permits or denies the creation of duplicate + addresses. + example: true + type: boolean callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." example: yourSecretString type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. + and when the event occurs. `We support ONLY httpS type of protocol`. example: https://example.com type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". - enum: - - slow - - standard - - fast - example: standard - type: string - note: - description: Represents an optional note to add a free text in, explaining - or providing additional detail on the transaction request. - example: yourAdditionalInformationhere - type: string - recipientAddress: - description: Defines the specific recipient address for the transaction. - example: 0xc065b539490f81b6c297c37b1925c3be2f190732 - type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 + type: integer required: - - feePriority - - recipientAddress + - address + - allowDuplicates + - callbackSecretKey + - callbackUrl + - confirmationsCount type: object - CreateCoinsTransactionFromAddressForWholeAmountRB_data: + NewConfirmedInternalTransactionsAndEachConfirmationRB_data: example: item: - feePriority: standard - note: yourAdditionalInformationhere + confirmationsCount: 3 + address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 callbackSecretKey: yourSecretString callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 + allowDuplicates: true properties: item: - $ref: '#/components/schemas/CreateCoinsTransactionFromAddressForWholeAmountRB_data_item' + $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationRB_data_item' required: - item type: object - CreateFungibleTokensTransactionRequestFromAddressRB_data_item: + CreateAutomaticCoinsForwardingRB_data_item: example: + confirmationsCount: 3 feePriority: standard - note: yourAdditionalInformationhere - amount: "0.2" + minimumTransferAmount: "0.02" callbackSecretKey: yourSecretString callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 - tokenIdentifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 properties: - amount: - description: Represents the specific amount of the transaction. - example: "0.2" - type: string callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." example: yourSecretString type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. + and when the event occurs. `We support ONLY httpS type of protocol`. example: https://example.com type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 + type: integer feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". + description: "Represents the fee priority of the automation, whether it\ + \ is \"slow\", \"standard\" or \"fast\"." enum: - slow - standard - fast example: standard type: string - note: - description: Represents an optional note to add a free text in, explaining - or providing additional detail on the transaction request. - example: yourAdditionalInformationhere - type: string - recipientAddress: - description: Defines the specific recipient address for the transaction. - example: 0xc065b539490f81b6c297c37b1925c3be2f190732 + minimumTransferAmount: + description: Represents the minimum transfer amount of the currency in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.02" type: string - tokenIdentifier: - description: Defines the specific token identifier. For Bitcoin-based transactions - it should be the `propertyId` and for Ethereum-based transactions - the - `contract`. - example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + toAddress: + description: Represents the hash of the address the currency is forwarded + to. + example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 type: string required: - - amount + - callbackSecretKey + - callbackUrl + - confirmationsCount - feePriority - - recipientAddress - - tokenIdentifier + - minimumTransferAmount + - toAddress type: object - CreateFungibleTokensTransactionRequestFromAddressRB_data: + CreateAutomaticCoinsForwardingRB_data: example: item: + confirmationsCount: 3 feePriority: standard - note: yourAdditionalInformationhere - amount: "0.2" + minimumTransferAmount: "0.02" callbackSecretKey: yourSecretString callbackUrl: https://example.com - recipientAddress: 0xc065b539490f81b6c297c37b1925c3be2f190732 - tokenIdentifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 - properties: - item: - $ref: '#/components/schemas/CreateFungibleTokensTransactionRequestFromAddressRB_data_item' - required: - - item - type: object - SyncHDWalletXPubYPubZPubRB_data_item: - example: - extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ - properties: - extendedPublicKey: - description: Defines the account extended publicly known key which is used - to derive all child public keys. - example: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ - type: string - required: - - extendedPublicKey - type: object - SyncHDWalletXPubYPubZPubRB_data: - example: - item: - extendedPublicKey: upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ + toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 properties: item: - $ref: '#/components/schemas/SyncHDWalletXPubYPubZPubRB_data_item' + $ref: '#/components/schemas/CreateAutomaticCoinsForwardingRB_data_item' required: - item type: object - NewUnconfirmedCoinsTransactionsRB_data_item: + CreateAutomaticTokensForwardingRB_data_item: example: - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + confirmationsCount: "3" + feePriority: standard + tokenData: null + minimumTransferAmount: "0.00002" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - type: string - allowDuplicates: - default: false - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: true - type: boolean callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs 2.0. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretString type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: "3" + type: string + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" or \"FAST\"." + enum: + - slow + - standard + - fast + example: standard + type: string + minimumTransferAmount: + description: Represents the minimum transfer amount of the currency in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.00002" type: string + toAddress: + description: Represents the hash of the address the currency is forwarded + to. + example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + type: string + tokenData: + $ref: '#/components/schemas/CreateAutomaticTokensForwardingRBTokenData' required: - - address - callbackUrl + - confirmationsCount + - feePriority + - minimumTransferAmount + - toAddress + - tokenData type: object - NewUnconfirmedCoinsTransactionsRB_data: + CreateAutomaticTokensForwardingRB_data: example: item: - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + confirmationsCount: "3" + feePriority: standard + tokenData: null + minimumTransferAmount: "0.00002" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 properties: item: - $ref: '#/components/schemas/NewUnconfirmedCoinsTransactionsRB_data_item' + $ref: '#/components/schemas/CreateAutomaticTokensForwardingRB_data_item' required: - item type: object - NewUnconfirmedTokensTransactionsRB_data_item: + AddTokensToExistingFromAddressRB_data_item: example: - address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + confirmationsCount: 3 + feePriority: standard + tokenData: null + minimumTransferAmount: "0.00001" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 - type: string - allowDuplicates: - default: false - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: true - type: boolean callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretString type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + confirmationsCount: + description: "Represents the number of confirmations, i.e. the amount of\ + \ blocks that have been built on top of this block." + example: 3 + type: integer + feePriority: + description: "Represents the fee priority of the automation, whether it\ + \ is \"SLOW\", \"STANDARD\" or \"FAST\"." + enum: + - slow + - standard + - fast + example: standard type: string + fromAddress: + description: Represents the hash of the address that forwards the tokens. + example: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + type: string + minimumTransferAmount: + description: Represents the minimum transfer amount of the currency in the + `fromAddress` that can be allowed for an automatic forwarding. + example: "0.00001" + type: string + toAddress: + description: Represents the hash of the address the currency is forwarded + to. + example: mnumE76iEKN47bUsdni85oped5D1fRwKWi + type: string + tokenData: + $ref: '#/components/schemas/AddTokensToExistingFromAddressRBTokenData' required: - - address - callbackUrl + - confirmationsCount + - feePriority + - fromAddress + - minimumTransferAmount + - toAddress + - tokenData type: object - NewUnconfirmedTokensTransactionsRB_data: + AddTokensToExistingFromAddressRB_data: example: item: - address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + confirmationsCount: 3 + feePriority: standard + tokenData: null + minimumTransferAmount: "0.00001" + callbackSecretKey: yourSecretString + callbackUrl: https://example.com + fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi properties: item: - $ref: '#/components/schemas/NewUnconfirmedTokensTransactionsRB_data_item' + $ref: '#/components/schemas/AddTokensToExistingFromAddressRB_data_item' required: - item type: object - NewConfirmedCoinsTransactionsRB_data_item: + ValidateAddressRB_data_item: example: address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - callbackSecretKey: yourSecretKey - callbackURL: http://example.com - allowDuplicates: true properties: address: - description: Represents the address of the transaction, per which the result - is returned. + description: Represents the specific address that will be checked if it's + valid or not. example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 type: string - allowDuplicates: - default: false - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: true - type: boolean - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey - type: string - callbackURL: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com - type: string required: - address - - callbackURL type: object - NewConfirmedCoinsTransactionsRB_data: + ValidateAddressRB_data: example: item: address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - callbackSecretKey: yourSecretKey - callbackURL: http://example.com - allowDuplicates: true properties: item: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsRB_data_item' + $ref: '#/components/schemas/ValidateAddressRB_data_item' required: - item type: object - NewConfirmedTokensTransactionsRB_data_item: + BroadcastLocallySignedTransactionRB_data_item: example: - address: 0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + signedTransactionHex: 0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69 + callbackSecretKey: yourSecretString + callbackUrl: https://example.com properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: 0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2 - type: string - allowDuplicates: - default: false - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: true - type: boolean callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + description: "Represents the Secret Key value provided by the customer.\ + \ This field is used for security purposes during the callback notification,\ + \ in order to prove the sender of the callback as Crypto APIs. For more\ + \ information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security)." + example: yourSecretString type: string callbackUrl: description: Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com + and when the event occurs. `We support ONLY httpS type of protocol`. + example: https://example.com + type: string + signedTransactionHex: + description: Represents the signed transaction's specific hex. + example: 0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69 type: string required: - - address - - callbackUrl + - signedTransactionHex type: object - NewConfirmedTokensTransactionsRB_data: + BroadcastLocallySignedTransactionRB_data: example: item: - address: 0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + signedTransactionHex: 0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69 + callbackSecretKey: yourSecretString + callbackUrl: https://example.com properties: item: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsRB_data_item' + $ref: '#/components/schemas/BroadcastLocallySignedTransactionRB_data_item' required: - item type: object - NewConfirmedTokensTransactionsAndEachConfirmationRB_data_item: + EstimateGasLimitRB_data_item: example: - confirmationsCount: 3 - address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + amount: "0.002" + sender: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 + recipient: 0xc065b539490f81b6c297c37b1925c3be2f190738 + additionalData: yourAdditionalString properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 + additionalData: + description: Represents an optional field to add additonal data. + example: yourAdditionalString type: string - allowDuplicates: - default: false - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: true - type: boolean - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + amount: + description: Represents transactions' amount. + example: "0.002" type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com + recipient: + description: The address which receives this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one recipient. + example: 0xc065b539490f81b6c297c37b1925c3be2f190738 + type: string + sender: + description: Represents the address which sends this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one sender. + example: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer required: - - address - - callbackUrl + - amount + - recipient + - sender type: object - NewConfirmedTokensTransactionsAndEachConfirmationRB_data: + EstimateGasLimitRB_data: example: item: - confirmationsCount: 3 - address: 0x033ef6db9fbd0ee60e2931906b987fe0280471a0 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + amount: "0.002" + sender: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 + recipient: 0xc065b539490f81b6c297c37b1925c3be2f190738 + additionalData: yourAdditionalString properties: item: - $ref: '#/components/schemas/NewConfirmedTokensTransactionsAndEachConfirmationRB_data_item' + $ref: '#/components/schemas/EstimateGasLimitRB_data_item' required: - item type: object - NewConfirmedCoinsTransactionsAndEachConfirmationRB_data_item: + EstimateTokenGasLimitRB_data_item: example: - confirmationsCount: 3 - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + amount: "0.12" + sender: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 + contractType: ERC-20 + contract: 0x092de782a7e1e0a92991ad829a0a33aef3c7545e + recipient: 0xc065b539490f81b6c297c37b1925c3be2f190738 properties: - address: - description: Represents the address of the transaction, per which the result - is returned. - example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + amount: + description: Represents transactions' amount. + example: "0.12" type: string - allowDuplicates: - default: false - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: true - type: boolean - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + contract: + description: Defines the specific token identifier. For Ethereum-based + transactions it is the contract. + example: 0x092de782a7e1e0a92991ad829a0a33aef3c7545e type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com + contractType: + description: Represents the ERC contract type. It can be ERC20 or ERC721 + example: ERC-20 + type: string + recipient: + description: The address which receives this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one recipient. + example: 0xc065b539490f81b6c297c37b1925c3be2f190738 + type: string + sender: + description: Represents the address which sends this transaction. In UTXO-based + protocols like Bitcoin there could be several senders while in account-based + protocols like Ethereum there is always only one sender. + example: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer required: - - address - - callbackUrl - - confirmationsCount + - amount + - contract + - contractType + - recipient + - sender type: object - NewConfirmedCoinsTransactionsAndEachConfirmationRB_data: + EstimateTokenGasLimitRB_data: example: item: - confirmationsCount: 3 - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + amount: "0.12" + sender: 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5 + contractType: ERC-20 + contract: 0x092de782a7e1e0a92991ad829a0a33aef3c7545e + recipient: 0xc065b539490f81b6c297c37b1925c3be2f190738 properties: item: - $ref: '#/components/schemas/NewConfirmedCoinsTransactionsAndEachConfirmationRB_data_item' + $ref: '#/components/schemas/EstimateTokenGasLimitRB_data_item' required: - item type: object - MinedTransactionRB_data_item: + DecodeRawTransactionHexRB_data_item: example: - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: false - transactionId: df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc + rawTransactionHex: 0100000001f3f6a909f8521adb57d898d2985834e632374e770fd9e2b98656f1bf1fdfd427010000006b48304502203a776322ebf8eb8b58cc6ced4f2574f4c73aa664edce0b0022690f2f6f47c521022100b82353305988cb0ebd443089a173ceec93fe4dbfe98d74419ecc84a6a698e31d012103c5c1bc61f60ce3d6223a63cedbece03b12ef9f0068f2f3c4a7e7f06c523c3664ffffffff0260e31600000000001976a914977ae6e32349b99b72196cb62b5ef37329ed81b488ac063d1000000000001976a914f76bc4190f3d8e2315e5c11c59cfc8be9df747e388ac00000000 properties: - allowDuplicates: - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: false - type: boolean - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey - type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com - type: string - transactionId: - description: Represents the unique identification string that defines the - transaction. - example: df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc + rawTransactionHex: + description: Represents the raw transaction Hex that has to be decoded. + example: 0100000001f3f6a909f8521adb57d898d2985834e632374e770fd9e2b98656f1bf1fdfd427010000006b48304502203a776322ebf8eb8b58cc6ced4f2574f4c73aa664edce0b0022690f2f6f47c521022100b82353305988cb0ebd443089a173ceec93fe4dbfe98d74419ecc84a6a698e31d012103c5c1bc61f60ce3d6223a63cedbece03b12ef9f0068f2f3c4a7e7f06c523c3664ffffffff0260e31600000000001976a914977ae6e32349b99b72196cb62b5ef37329ed81b488ac063d1000000000001976a914f76bc4190f3d8e2315e5c11c59cfc8be9df747e388ac00000000 type: string required: - - callbackUrl - - transactionId + - rawTransactionHex type: object - MinedTransactionRB_data: + DecodeRawTransactionHexRB_data: example: item: - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: false - transactionId: df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc + rawTransactionHex: 0100000001f3f6a909f8521adb57d898d2985834e632374e770fd9e2b98656f1bf1fdfd427010000006b48304502203a776322ebf8eb8b58cc6ced4f2574f4c73aa664edce0b0022690f2f6f47c521022100b82353305988cb0ebd443089a173ceec93fe4dbfe98d74419ecc84a6a698e31d012103c5c1bc61f60ce3d6223a63cedbece03b12ef9f0068f2f3c4a7e7f06c523c3664ffffffff0260e31600000000001976a914977ae6e32349b99b72196cb62b5ef37329ed81b488ac063d1000000000001976a914f76bc4190f3d8e2315e5c11c59cfc8be9df747e388ac00000000 properties: item: - $ref: '#/components/schemas/MinedTransactionRB_data_item' + $ref: '#/components/schemas/DecodeRawTransactionHexRB_data_item' required: - item type: object - NewBlockRB_data_item: - example: - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + DecodeRawTransactionHexRISB_scriptSig: + description: Specifies the required signatures. properties: - allowDuplicates: - default: false - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: true - type: boolean - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + asm: + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: 0014daaf6d5cb86befe42df851a4d1df052e663754c1 type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com + hex: + description: Represents the hex of the public key of the address. + example: 160014daaf6d5cb86befe42df851a4d1df052e663754c1 + type: string + type: + description: Represents the script type of the reference transaction identifier. + example: scripthash + type: string + type: object + DecodeRawTransactionHexRISB_vin: + properties: + address: + description: Represents the address which send/receive the amount. + example: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 type: string + inputHash: + description: Represents the transaction inputs' indentifier. + example: 108c523cba933520905136262f6cdef87d68a1fa4ffb95b1a73f69a07ed2aed3 + type: string + outputIndex: + description: Represents the output of a transaction. + example: 3 + type: integer + scriptSig: + $ref: '#/components/schemas/DecodeRawTransactionHexRISB_scriptSig' + sequence: + description: Represents the script sequence number. + example: "4294967295" + type: string + txinwitness: + items: + description: Represents an array hex-encoded witness data (if there is + any) as strings. + example: 3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901 + type: string + type: array required: - - callbackUrl + - scriptSig type: object - NewBlockRB_data: - example: - item: - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + DecodeRawTransactionHexRISB_scriptPubKey: + description: Script pub key of the transaction properties: - item: - $ref: '#/components/schemas/NewBlockRB_data_item' + address: + description: Represents the address which send the amount. + example: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV + type: string + asm: + description: Represents the assembly of the script public key of the address. + example: OP_HASH160 507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d15 OP_EQUAL + type: string + hex: + description: Represents the hex of the script public key of the address. + example: a914507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d1587 + type: string + type: + description: Represents the script type. + example: scripthash + type: string required: - - item + - address type: object - ActivateBlockchainEventSubscriptionRB_data: - example: - item: '{}' + DecodeRawTransactionHexRISB_vout: properties: - item: - properties: {} - type: object + scriptPubKey: + $ref: '#/components/schemas/DecodeRawTransactionHexRISB_scriptPubKey' + value: + description: Represents the sent/received amount. + example: "0.00014400" + type: string required: - - item + - scriptPubKey type: object - NewConfirmedInternalTransactionsRB_data_item: - example: - address: 0xbcc817f057950b0df41206c5d7125e6225cae18e - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + DecodeRawTransactionHexRISB2_vin: properties: address: - description: Defines the specific address of the internal transaction. - example: 0xbcc817f057950b0df41206c5d7125e6225cae18e + description: Represents the address which send/receive the amount. + example: bitcoincash:qq0adqyntn2zl9tsyjfagnyda9j2gfjkk574lxyrxd type: string - allowDuplicates: - default: false - description: Flag that permits or denies creation of duplicates - example: true - type: boolean - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretKey + inputHash: + description: Represents the transaction inputs' indentifier. + example: 073c565b56e98cfd53013136e92b9fdcf774409f9dc0daff2cf7afadde3a3f0c type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: http://example.com + outputIndex: + description: Defines the output index of a transaction. + example: "2" + type: string + scriptSig: + $ref: '#/components/schemas/DecodeRawTransactionHexRISB_scriptSig' + sequence: + description: Represents the script sequence number. + example: "4294967295" + type: string + txinwitness: + items: + description: Represents an array hex-encoded witness data (if there is + any) as strings. + example: 3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901 + type: string + type: array + required: + - scriptSig + type: object + DecodeRawTransactionHexRISB2_scriptPubKey: + description: Represents the script public key. + properties: + address: + description: Represents the address which send the amount. + example: 2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV + type: string + asm: + description: Represents the assembly of the script public key of the address. + example: OP_HASH160 507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d15 OP_EQUAL + type: string + hex: + description: Represents the hex of the script public key of the address. + example: a914507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d1587 + type: string + type: + description: Represents the script type. + example: scripthash type: string required: - address - - allowDuplicates - - callbackSecretKey - - callbackUrl type: object - NewConfirmedInternalTransactionsRB_data: - example: - item: - address: 0xbcc817f057950b0df41206c5d7125e6225cae18e - callbackSecretKey: yourSecretKey - callbackUrl: http://example.com - allowDuplicates: true + DecodeRawTransactionHexRISB2_vout: properties: - item: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsRB_data_item' + scriptPubKey: + $ref: '#/components/schemas/DecodeRawTransactionHexRISB2_scriptPubKey' + value: + description: Represents the sent/received amount. + example: "0.00014400" + type: string required: - - item + - scriptPubKey type: object - NewConfirmedInternalTransactionsAndEachConfirmationRB_data_item: - example: - confirmationsCount: 3 - address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - allowDuplicates: true + DecodeRawTransactionHexRISD_scriptSig: + description: Specifies the required signatures. + properties: + asm: + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: OP_DUP OP_HASH160 1fd680935cd42f95702493d44c8de964a42656b5 OP_EQUALVERIFY + OP_CHECKSIG + type: string + hex: + description: Represents the hex of the public key of the address + example: 4197968cb34bfba488b4a2399f7959b823fefad79ca0b5ed3f3a4bec4c0286cab55b896b28bbbcd4e61cf584cecfd47063b18b481d8d680eafbf869ada1a02c52441210237a84e6d70e775f274e4cbd9f30f9f8b1a426e8b08a9f802a851ce501c930011 + type: string + type: + description: Represents the script type of the reference transaction identifier + example: scripthash + type: string + type: object + DecodeRawTransactionHexRISD_vin: properties: address: - description: Defines the specific address of the internal transaction. - example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 + description: Represents the address which send/receive the amount + example: 7W7gfYstwDR6a2ZCxEidAuvshyomqJ8yXT type: string - allowDuplicates: - default: false - description: Specifies a flag that permits or denies the creation of duplicate - addresses. - example: true - type: boolean - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretString + inputHash: + description: Represents the transaction inputs' indentifier. + example: 5061c34b1c1f40a9328c168f1070915bb9c450dbf2ecd566ae2e34e80651ecb4 + type: string + outputIndex: + description: Defines the output index of a transaction. + example: "1" + type: string + scriptSig: + $ref: '#/components/schemas/DecodeRawTransactionHexRISD_scriptSig' + sequence: + description: Represents the script sequence number. + example: "4294967295" + type: string + txinwitness: + items: + description: Represents an array hex-encoded witness data (if there is + any) as strings. + example: 3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901 + type: string + type: array + required: + - scriptSig + type: object + DecodeRawTransactionHexRISD_scriptPubKey: + description: Represents the script public key. + properties: + address: + description: Represents the addresses which send the amount + example: yP8A3cbdxRtLRduy5mXDsBnJtMzHWs6ZXr type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + asm: + description: Represents the assembly of the script public key of the address. + example: OP_DUP OP_HASH160 4112d3f2cc01db043c0e638bb6338c83a7b9aa8f OP_EQUALVERIFY + OP_CHECKSIG + type: string + hex: + description: Represents the hex of the script public key of the address. + example: 76a9144112d3f2cc01db043c0e638bb6338c83a7b9aa8f88ac + type: string + type: + description: Represents the hex of the script public key of the address. + example: 76a9144112d3f2cc01db043c0e638bb6338c83a7b9aa8f88ac type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer required: - address - - allowDuplicates - - callbackSecretKey - - callbackUrl - - confirmationsCount type: object - NewConfirmedInternalTransactionsAndEachConfirmationRB_data: - example: - item: - confirmationsCount: 3 - address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - allowDuplicates: true + DecodeRawTransactionHexRISD_vout: properties: - item: - $ref: '#/components/schemas/NewConfirmedInternalTransactionsAndEachConfirmationRB_data_item' + scriptPubKey: + $ref: '#/components/schemas/DecodeRawTransactionHexRISD_scriptPubKey' + value: + description: Represents the sent/received amount. + example: "0.5896" + type: string required: - - item + - scriptPubKey type: object - CreateAutomaticCoinsForwardingRB_data_item: - example: - confirmationsCount: 3 - feePriority: standard - minimumTransferAmount: "0.02" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + DecodeRawTransactionHexRISD2_scriptSig: + description: Specifies the required signatures. properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretString - type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer - feePriority: - description: Represents the fee priority of the automation, whether it is - "slow", "standard" or "fast". - enum: - - slow - - standard - - fast - example: standard + asm: + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: 030483ff6271580681f4f7828c01df56d5aebfe982cbaa2922594be9eb6cf40206 type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the currency in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.02" + hex: + description: Represents the hex of the public key of the address. + example: 21030483ff6271580681f4f7828c01df56d5aebfe982cbaa2922594be9eb6cf40206ac type: string - toAddress: - description: Represents the hash of the address the currency is forwarded - to. - example: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + type: + description: Represents the script type of the reference transaction identifier. + example: scripthash type: string - required: - - callbackSecretKey - - callbackUrl - - confirmationsCount - - feePriority - - minimumTransferAmount - - toAddress type: object - CreateAutomaticCoinsForwardingRB_data: - example: - item: - confirmationsCount: 3 - feePriority: standard - minimumTransferAmount: "0.02" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - toAddress: mzYijhgmzZrmuB7wBDazRKirnChKyow4M3 + DecodeRawTransactionHexRISD2_vin: properties: - item: - $ref: '#/components/schemas/CreateAutomaticCoinsForwardingRB_data_item' + address: + description: Represents the addresses which send/receive the amount. + example: DPzdWPsKaGvRn3AH7WjBpnNVHhAPELDY4o + type: string + inputHash: + description: Represents the transaction inputs' indentifier. + example: 746b56225c5eee8c50c0bedd885d18d3fda37b846d59eb7434b5e365e73e4b60 + type: string + outputIndex: + description: Defines the output index of a transaction. + example: "2" + type: string + scriptSig: + $ref: '#/components/schemas/DecodeRawTransactionHexRISD2_scriptSig' + sequence: + description: Represents the script sequence number + example: "4294967295" + type: string + txinwitness: + items: + description: Represents an array hex-encoded witness data (if there is + any) as strings. + example: qpq395ljesqakppupe3chd3n3jp60wd23ue00g66xx + type: string + type: array required: - - item + - scriptSig type: object - CreateAutomaticTokensForwardingRB_data_item: - example: - confirmationsCount: "3" - feePriority: standard - minimumTransferAmount: "0.00002" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + DecodeRawTransactionHexRISD2_scriptPubKey: + description: Represents the script public key. properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretString - type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com - type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: "3" + address: + description: Represents the addresses which send the amount. + example: yd5KMREs3GLMe6mTJYr3YrH1juwNwrFCfB type: string - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" or "FAST". - enum: - - slow - - standard - - fast - example: standard + asm: + description: Represents the assembly of the script public key of the address. + example: OP_DUP OP_HASH160 430158211605af1f0fa26d90405199621bdae5cd OP_EQUALVERIFY + OP_CHECKSIG type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the currency in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.00002" + hex: + description: Represents the hex of the script public key of the address. + example: 76a914430158211605af1f0fa26d90405199621bdae5cd88ac type: string - toAddress: - description: Represents the hash of the address the currency is forwarded - to. - example: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + type: + description: Represents the script type + example: scripthash type: string - tokenData: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRBTokenData' required: - - callbackUrl - - confirmationsCount - - feePriority - - minimumTransferAmount - - toAddress - - tokenData + - address type: object - CreateAutomaticTokensForwardingRB_data: - example: - item: - confirmationsCount: "3" - feePriority: standard - minimumTransferAmount: "0.00002" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - toAddress: tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6 + DecodeRawTransactionHexRISD2_vout: properties: - item: - $ref: '#/components/schemas/CreateAutomaticTokensForwardingRB_data_item' + scriptPubKey: + $ref: '#/components/schemas/DecodeRawTransactionHexRISD2_scriptPubKey' + value: + description: Represents the sent/received amount. + example: "11.25" + type: string required: - - item + - scriptPubKey type: object - AddTokensToExistingFromAddressRB_data_item: - example: - confirmationsCount: 3 - feePriority: standard - minimumTransferAmount: "0.00001" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr - toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi + DecodeRawTransactionHexRISL_scriptSig: + description: Specifies the required signatures. properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretString + asm: + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: 3045022100f031442894c0fd60c195fbdb29c0bf72f143a815689b8840cd31ec31cc6a7721022028f74f0869e4666761c9ba1035cc714528a17de873dfc7b3a541d29f3942a2d8 type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + hex: + description: Represents the hex of the public key of the address. + example: 483045022100f031442894c0fd60c195fbdb29c0bf72f143a815689b8840cd31ec31cc6a7721022028f74f0869e4666761c9ba1035cc714528a17de873dfc7b3a541d29f3942a2d80121028c533b6c0ce0ad714a8af36b64d207c4f61cd6d5af210362447c92b4105a4fab type: string - confirmationsCount: - description: Represents the number of confirmations, i.e. the amount of - blocks that have been built on top of this block. - example: 3 - type: integer - feePriority: - description: Represents the fee priority of the automation, whether it is - "SLOW", "STANDARD" or "FAST". - enum: - - slow - - standard - - fast - example: standard + type: + description: Represents the script type of the reference transaction identifier. + example: scripthash type: string - fromAddress: - description: Represents the hash of the address that forwards the tokens. - example: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr + type: object + DecodeRawTransactionHexRISL_vin: + properties: + address: + description: Represents the addresses which send/receive the amount. + example: LZ891CJWn54CpE6yJ4T3mzP8Xxwrg9gDpH type: string - minimumTransferAmount: - description: Represents the minimum transfer amount of the currency in the - `fromAddress` that can be allowed for an automatic forwarding. - example: "0.00001" + inputHash: + description: Represents the transaction inputs' indentifier. + example: 4c76c153f5de975f94da7526c1b4b4a13380ef93c946f6bed1892f4410600a3d type: string - toAddress: - description: Represents the hash of the address the currency is forwarded - to. - example: mnumE76iEKN47bUsdni85oped5D1fRwKWi + outputIndex: + description: Defines the output index of a transaction. + example: "3" type: string - tokenData: - $ref: '#/components/schemas/AddTokensToExistingFromAddressRBTokenData' - required: - - callbackUrl - - confirmationsCount - - feePriority - - fromAddress - - minimumTransferAmount - - toAddress - - tokenData - type: object - AddTokensToExistingFromAddressRB_data: - example: - item: - confirmationsCount: 3 - feePriority: standard - minimumTransferAmount: "0.00001" - callbackSecretKey: yourSecretString - callbackUrl: https://example.com - fromAddress: mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr - toAddress: mnumE76iEKN47bUsdni85oped5D1fRwKWi - properties: - item: - $ref: '#/components/schemas/AddTokensToExistingFromAddressRB_data_item' + scriptSig: + $ref: '#/components/schemas/DecodeRawTransactionHexRISL_scriptSig' + sequence: + description: Represents the script sequence number. + example: "4294967294" + type: string + txinwitness: + items: + description: Represents an array hex-encoded witness data (if there is + any) as strings. + example: 304402204e88dfe79e58b640908812c496ea74d2941c23e70ee3d93ebd469dbd136afe0c02203d7631427c0b5cb96e8a8b23b6c8c0c8112ecb5fb020ee2a7a70841564ed679b01 + type: string + type: array required: - - item + - scriptSig type: object - ValidateAddressRB_data_item: - example: - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + DecodeRawTransactionHexRISL_scriptPubKey: + description: Represents the script public key. properties: address: - description: Represents the specific address that will be checked if it's - valid or not. - example: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + description: Represents the addresses which send the amount. + example: 3LAAY4fp88RsNHkVW5DZJgqUdbMD5rVoqZ + type: string + asm: + description: Represents the assembly of the script public key of the address. + example: OP_HASH160 ca94af32587de4e5006685ffffc65a818ccd3fbc OP_EQUAL + type: string + hex: + description: Represents the hex of the script public key of the address. + example: a914ca94af32587de4e5006685ffffc65a818ccd3fbc87 + type: string + type: + description: Represents the script type. + example: scripthash type: string required: - address type: object - ValidateAddressRB_data: - example: - item: - address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 + DecodeRawTransactionHexRISL_vout: properties: - item: - $ref: '#/components/schemas/ValidateAddressRB_data_item' + scriptPubKey: + $ref: '#/components/schemas/DecodeRawTransactionHexRISL_scriptPubKey' + value: + description: Represents the sent/received amount. + example: "0.03505975" + type: string required: - - item + - scriptPubKey type: object - BroadcastLocallySignedTransactionRB_data_item: - example: - signedTransactionHex: 0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69 - callbackSecretKey: yourSecretString - callbackUrl: https://example.com + DecodeRawTransactionHexRISZ_scriptSig: + description: Specifies the required signatures. properties: - callbackSecretKey: - description: Represents the Secret Key value provided by the customer. This - field is used for security purposes during the callback notification, - in order to prove the sender of the callback as Crypto APIs. For more - information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - example: yourSecretString + asm: + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: OP_HASH160 ef775f1f997f122a062fff1a2d7443abd1f9c642 OP_EQUAL type: string - callbackUrl: - description: Represents the URL that is set by the customer where the callback - will be received at. The callback notification will be received only if - and when the event occurs. - example: https://example.com + hex: + description: Represents the hex of the public key of the address. + example: a914ef775f1f997f122a062fff1a2d7443abd1f9c64287 type: string - signedTransactionHex: - description: Represents the signed transaction's specific hex. - example: 0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69 + type: + description: Represents the script type of the reference transaction identifier. + example: pubkeyhash + type: string + type: object + DecodeRawTransactionHexRISZ_vin: + properties: + address: + description: Represents the addresses which send/receive the amount. + example: t1ajyFP7GnauoDFaM8MqJx9ouQjKS3tbA7g + type: string + inputHash: + description: Represents the transaction inputs' indentifier. + example: 9dcaee77cd1806c4f9b0bac9ba17e4713fd04032f33be27b630ce499f7a35bd7 + type: string + outputIndex: + description: Defines the output index of a transaction. + example: "1" + type: string + scriptSig: + $ref: '#/components/schemas/DecodeRawTransactionHexRISZ_scriptSig' + sequence: + description: Represents the script sequence number. + example: "4294967295" type: string required: - - signedTransactionHex + - scriptSig type: object - BroadcastLocallySignedTransactionRB_data: - example: - item: - signedTransactionHex: 0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69 - callbackSecretKey: yourSecretString - callbackUrl: https://example.com + DecodeRawTransactionHexRISZ_scriptPubKey: + description: Represents the script public key. properties: - item: - $ref: '#/components/schemas/BroadcastLocallySignedTransactionRB_data_item' + address: + description: Represents the address which send the amount. + example: t1ajyFP7GnauoDFaM8MqJx9ouQjKS3tbA7g + type: string + asm: + description: Represents the assembly of the script public key of the address. + example: OP_HASH160 ef775f1f997f122a062fff1a2d7443abd1f9c642 OP_EQUAL + type: string + hex: + description: Represents the hex of the script public key of the address. + example: a914ef775f1f997f122a062fff1a2d7443abd1f9c64287 + type: string + type: + description: Represents the script type. + example: pubkeyhash + type: string + type: object + DecodeRawTransactionHexRISZ_vout: + properties: + scriptPubKey: + $ref: '#/components/schemas/DecodeRawTransactionHexRISZ_scriptPubKey' + value: + description: Defines the specific amount. + example: "2.50003291" + type: string required: - - item + - scriptPubKey type: object GetAddressDetailsRI_confirmedBalance: example: @@ -44914,8 +53423,8 @@ components: unit: BTC properties: amount: - description: Defines the total amount of all coins received to the address, - based on confirmed transactions. + description: "Defines the total amount of all coins received to the address,\ + \ based on confirmed transactions." example: "5.6" type: string unit: @@ -44932,8 +53441,8 @@ components: unit: BTC properties: amount: - description: Defines the total amount of all spent by this address coins, - based on confirmed transactions. + description: "Defines the total amount of all spent by this address coins,\ + \ based on confirmed transactions." example: "2.1" type: string unit: @@ -44953,11 +53462,11 @@ components: totalSpent: amount: "2.1" unit: BTC - incomingTransactionsCount: 1 + incomingTransactionsCount: 2 totalReceived: amount: "5.6" unit: BTC - outgoingTransactionsCount: 2 + outgoingTransactionsCount: 6 transactionsCount: 3 properties: item: @@ -44986,16 +53495,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -45082,8 +53591,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 0014daaf6d5cb86befe42df851a4d1df052e663754c1 type: string hex: @@ -45116,6 +53625,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -45209,6 +53719,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -45290,10 +53801,10 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. - example: 3045022100f031442894c0fd60c195fbdb29c0bf72f143a815689b8840cd31ec31cc6a7721022028f74f0869e4666761c9ba1035cc714528a17de873dfc7b3a541d29f3942a2d8[ALL] - 028c533b6c0ce0ad714a8af36b64d207c4f61cd6d5af210362447c92b4105a4fab + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: "3045022100f031442894c0fd60c195fbdb29c0bf72f143a815689b8840cd31ec31cc6a7721022028f74f0869e4666761c9ba1035cc714528a17de873dfc7b3a541d29f3942a2d8[ALL]\ + \ 028c533b6c0ce0ad714a8af36b64d207c4f61cd6d5af210362447c92b4105a4fab" type: string hex: description: Represents the hex of the public key of the address. @@ -45325,6 +53836,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967294 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -45405,8 +53917,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 030483ff6271580681f4f7828c01df56d5aebfe982cbaa2922594be9eb6cf40206 OP_CHECKSIG type: string @@ -45440,6 +53952,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -45521,8 +54034,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: OP_DUP OP_HASH160 1fd680935cd42f95702493d44c8de964a42656b5 OP_EQUALVERIFY OP_CHECKSIG type: string @@ -45556,6 +54069,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -45640,7 +54154,7 @@ components: example: "2994782927" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: WEI type: string required: @@ -45655,7 +54169,7 @@ components: example: "2994782934" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: WEI type: string required: @@ -45670,7 +54184,7 @@ components: example: "20000000000" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: BNB type: string required: @@ -45765,9 +54279,9 @@ components: example: 04c59e908296aeac1160ba8def90916988bf8389564343e6fb3b9e52c27fba0a type: string outCipherText: - description: Represents a ciphertext component that allows the holder of - the outgoing cipher key to recover the diversified transmission key pkd - and ephemeral private key esk, hence the entire note plaintext. + description: "Represents a ciphertext component that allows the holder of\ + \ the outgoing cipher key to recover the diversified transmission key\ + \ pkd and ephemeral private key esk, hence the entire note plaintext." example: b3f02b333a61b69e63dfeaf1ad430534985cd6958abe92664abe85449ca68b5c145f536e9a636a881aab5e314b4f550b2b8f5600dc1ed636f643b11e00bb6c469bf5205f16197372dcf5e4b0871e42f4 type: string proof: @@ -45823,8 +54337,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: OP_HASH160 ef775f1f997f122a062fff1a2d7443abd1f9c642 OP_EQUAL type: string hex: @@ -45853,6 +54367,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -46005,6 +54520,7 @@ components: index: 1 isConfirmed: true minedInBlockHash: 00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db + blockchainSpecific: null senders: - amount: "0.00873472" address: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 @@ -46072,16 +54588,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -46373,8 +54889,8 @@ components: example: "0.00873472" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -46465,8 +54981,8 @@ components: example: "0.00873472" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -46482,8 +54998,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 0 eab6ff0ee1158241737dfa5c78449dc06cf021cc type: string hex: @@ -46533,8 +55049,8 @@ components: example: "0.0225" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -46548,8 +55064,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 030483ff6271580681f4f7828c01df56d5aebfe982cbaa2922594be9eb6cf40206 OP_CHECKSIG type: string @@ -46616,8 +55132,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: OP_DUP OP_HASH160 1ec5c66e9789c655ae068d35088b4073345fe0b0 OP_EQUALVERIFY OP_CHECKSIG type: string @@ -46737,7 +55253,7 @@ components: example: "21000" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: ETC type: string required: @@ -46752,7 +55268,7 @@ components: example: "2994782927" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: WEI type: string required: @@ -46767,7 +55283,7 @@ components: example: "20000000000" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: BNB type: string required: @@ -46858,6 +55374,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -46910,16 +55427,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -46998,16 +55515,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -47062,16 +55579,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -47161,16 +55678,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -47190,10 +55707,10 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. - example: 304402203862a918653adb03c5dcd82965b2e6c658b5cabdecba315231975873c5a12aa102203101f4d9b4b1cae943c04054b53d2dc8a359776963e9d029fdf0ddba785ab71f[ALL] - 027970a92cad2023bc5e83dc4199333a5c6f45a15a141963ac61a3c773940b0115 + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: "304402203862a918653adb03c5dcd82965b2e6c658b5cabdecba315231975873c5a12aa102203101f4d9b4b1cae943c04054b53d2dc8a359776963e9d029fdf0ddba785ab71f[ALL]\ + \ 027970a92cad2023bc5e83dc4199333a5c6f45a15a141963ac61a3c773940b0115" type: string hex: description: Represents the hex of the public key of the address. @@ -47237,8 +55754,8 @@ components: example: "0.19163773" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -47326,8 +55843,8 @@ components: example: "0.00873472" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -47393,8 +55910,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 0 eab6ff0ee1158241737dfa5c78449dc06cf021cc type: string hex: @@ -47440,8 +55957,8 @@ components: example: "0.0225" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -47482,6 +55999,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -47605,7 +56123,7 @@ components: example: "21000" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: ETH type: string required: @@ -47650,16 +56168,48 @@ components: limit: 50 items: [] properties: + limit: + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer + total: + description: Defines the total number of items returned in the response. + example: 100 + type: integer + items: + example: [] + items: + $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI' + type: array + required: + - items + - limit + - offset + - total + type: object + ListXRPRippleTransactionsByAddressAndTimeRangeR_data: + example: + total: 100 + offset: 0 + limit: 50 + items: [] + properties: limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -47667,7 +56217,7 @@ components: items: example: [] items: - $ref: '#/components/schemas/ListUnconfirmedTransactionsByAddressRI' + $ref: '#/components/schemas/ListXRPRippleTransactionsByAddressAndTimeRangeRI' type: array required: - items @@ -47679,10 +56229,10 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. - example: 304402203862a918653adb03c5dcd82965b2e6c658b5cabdecba315231975873c5a12aa102203101f4d9b4b1cae943c04054b53d2dc8a359776963e9d029fdf0ddba785ab71f[ALL] - 027970a92cad2023bc5e83dc4199333a5c6f45a15a141963ac61a3c773940b0115 + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: "304402203862a918653adb03c5dcd82965b2e6c658b5cabdecba315231975873c5a12aa102203101f4d9b4b1cae943c04054b53d2dc8a359776963e9d029fdf0ddba785ab71f[ALL]\ + \ 027970a92cad2023bc5e83dc4199333a5c6f45a15a141963ac61a3c773940b0115" type: string hex: description: Represents the hex of the public key of the address. @@ -47727,8 +56277,8 @@ components: example: "0.19163773" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -47767,8 +56317,8 @@ components: example: "0.00873472" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -47827,8 +56377,8 @@ components: example: "0.0225" type: string vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. + description: "Defines the vout of the transaction output, i.e. which output\ + \ to spend." example: 1 type: integer required: @@ -47853,6 +56403,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -47977,16 +56528,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -48201,8 +56752,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." type: string hex: description: Represents the hex of the public key of the address. @@ -48410,8 +56961,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: OP_DUP OP_HASH160 1fd680935cd42f95702493d44c8de964a42656b5 OP_EQUALVERIFY OP_CHECKSIG type: string @@ -48531,7 +57082,7 @@ components: example: "21000" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: WEI type: string required: @@ -48624,8 +57175,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: OP_DUP OP_HASH160 4c275e3800739237500ed7c5ee428b9f05909a2e OP_EQUALVERIFY OP_CHECKSIG type: string @@ -48659,6 +57210,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -48744,16 +57296,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -48861,16 +57413,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -48957,21 +57509,36 @@ components: example: amount: "0.0023" address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z properties: address: description: Defines the destination address. example: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 type: string + addressTag: + description: Defines a specific Tag that is an additional XRP address feature. + It helps identify a transaction recipient beyond a wallet address. The + tag that was encoded into the x-Address along with the Source Classic + Address. + example: 3999472835 + type: integer amount: description: Defines the amount sent to the destination address. example: "0.0023" type: string + classicAddress: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key. The classic address is shown when the source address\ + \ is an x-Address." + example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + type: string required: - address - amount type: object CreateCoinsTransactionRequestFromAddressRI_senders: - description: Defines details about the source, i.e. the sender. + description: "Defines details about the source, i.e. the sender." example: address: 0x8798d11a96a2822ae60275f3a0798a2542912a10 properties: @@ -48991,9 +57558,15 @@ components: recipients: - amount: "0.0023" address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z - amount: "0.0023" address: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z transactionRequestId: 6017dd02a309213863be9e55 + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z callbackSecretKey: yourSecretString callbackUrl: https://example.com senders: @@ -49011,16 +57584,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -49043,16 +57616,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -49151,16 +57724,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -49229,8 +57802,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: OP_DUP OP_HASH160 1fd680935cd42f95702493d44c8de964a42656b5 OP_EQUALVERIFY OP_CHECKSIG type: string @@ -49383,10 +57956,10 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. - example: e052170e6a8ca2a891158c2f3a268521ae16bd1927d3cb941d54ff194986263dda8582fbc3d1a38155e366d7bea9e58501e84daf6d84f0ccb99380af36477c4f[ALL|FORKID] - 027774729b977f98bb119fb1cf6fb17cc6b2d78af7acbeb6ad2b49187e8894efba + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: "e052170e6a8ca2a891158c2f3a268521ae16bd1927d3cb941d54ff194986263dda8582fbc3d1a38155e366d7bea9e58501e84daf6d84f0ccb99380af36477c4f[ALL|FORKID]\ + \ 027774729b977f98bb119fb1cf6fb17cc6b2d78af7acbeb6ad2b49187e8894efba" type: string hex: description: Represents the hex of the public key of the address. @@ -49504,7 +58077,7 @@ components: example: "17000000000" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: WEI type: string required: @@ -49519,7 +58092,7 @@ components: example: "17000000000" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: BNB type: string required: @@ -49613,9 +58186,9 @@ components: example: 04c59e908296aeac1160ba8def90916988bf8389564343e6fb3b9e52c27fba0a type: string outCipherText: - description: Represents a ciphertext component that allows the holder of - the outgoing cipher key to recover the diversified transmission key pkd - and ephemeral private key esk, hence the entire note plaintext. + description: "Represents a ciphertext component that allows the holder of\ + \ the outgoing cipher key to recover the diversified transmission key\ + \ pkd and ephemeral private key esk, hence the entire note plaintext." example: b3f02b333a61b69e63dfeaf1ad430534985cd6958abe92664abe85449ca68b5c145f536e9a636a881aab5e314b4f550b2b8f5600dc1ed636f643b11e00bb6c469bf5205f16197372dcf5e4b0871e42f4 type: string proof: @@ -49634,8 +58207,8 @@ components: description: Object representation of the script properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: OP_HASH160 ef775f1f997f122a062fff1a2d7443abd1f9c642 OP_EQUAL type: string hex: @@ -49668,6 +58241,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -49769,16 +58343,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -49850,6 +58424,7 @@ components: item: previousBlockHash: 00000000b8c2337ed1221d1861105ad227dfff93b0a1798e78fb6edff58925f5 nextBlockHash: 000000000000000e2f2e4fab8eaaa6bb39632a79a825d34169d451a86959fe04 + blockchainSpecific: null hash: 000000000000000cf507214c4f86a5048449230bc5c5dbbed59aa74421553f26 transactionsCount: 12 height: 1939743 @@ -49925,16 +58500,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -49986,8 +58561,8 @@ components: example: USDT type: string tokenDecimals: - description: Defines the decimals of the token, i.e. the number of digits - that come after the decimal coma of the token. + description: "Defines the decimals of the token, i.e. the number of digits\ + \ that come after the decimal coma of the token." example: 6 type: integer type: @@ -50040,16 +58615,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -50082,12 +58657,14 @@ components: transactionsCount: 1 dsBlock: 12443 microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] - 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] - 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" timestamp: 1616069434 properties: item: @@ -50100,6 +58677,7 @@ components: item: previousBlockHash: 00000000844434fd86a630ba8e29503d5396a2b6c4003d69bf0a08d96169d4cd nextBlockHash: 0000000000000003b08ca90b701da447fb3e7c5c6b43acd33a5e4062fe98dea5 + blockchainSpecific: null hash: 0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c transactionsCount: 145 height: 1941208 @@ -50216,12 +58794,14 @@ components: transactionsCount: 0 dsBlock: 12443 microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] - 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] - 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" timestamp: 1616069434 properties: item: @@ -50236,16 +58816,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -50430,7 +59010,7 @@ components: - amount type: object CreateFungibleTokensTransactionRequestFromAddressRI_senders: - description: Defines details about the source, i.e. the sender. + description: "Defines details about the source, i.e. the sender." example: 0x8798d11a96a2822ae60275f3a0798a2542912a10 properties: address: @@ -50447,6 +59027,7 @@ components: note: yourAdditionalInformationhere recipients: 0x1316bea88fb7cd4ccc4a57e2f9f4f43d1a86ee59 transactionRequestId: 6038d09050653d1f0e40584c + tokenTypeSpecificData: null callbackSecretKey: yourSecretString callbackUrl: https://example.com senders: 0x8798d11a96a2822ae60275f3a0798a2542912a10 @@ -50456,10 +59037,235 @@ components: required: - item type: object + ListAllAssetsFromAllWalletsRI_coins: + example: + confirmedBalance: "0.00009179" + unit: BTC + totalSpent: "2.1" + blockchain: bitcoin + totalReceived: "5.6" + network: testnet + properties: + blockchain: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: bitcoin + type: string + confirmedBalance: + description: Defines the total balance of the address that is confirmed. + It doesn't include unconfirmed transactions. + example: "0.00009179" + type: string + network: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + example: testnet + type: string + totalReceived: + description: "Defines the total amount of all coins received to the address,\ + \ based on confirmed transactions." + example: "5.6" + type: string + totalSpent: + description: "Defines the total amount of all spent by this address coins,\ + \ based on confirmed transactions." + example: "2.1" + type: string + unit: + description: Represents the unit of the confirmed balance. + example: BTC + type: string + required: + - blockchain + - confirmedBalance + - network + - totalReceived + - totalSpent + - unit + type: object + ListAllAssetsFromAllWalletsRI_fungibleTokens: + example: + identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + amount: "0.254" + blockchain: ethereum + type: ERC-20 + network: mainnet + properties: + amount: + description: Defines the amount of the fungible tokens. + example: "0.254" + type: string + blockchain: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum + type: string + identifier: + description: Defines the specific token identifier. For Bitcoin-based transactions + it should be the propertyId and for Ethereum-based transactions - the + contract. + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + type: string + network: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + example: mainnet + type: string + symbol: + description: Defines the symbol of the fungible tokens. + example: USDT + type: string + type: + description: Defines the specific token type. + example: ERC-20 + type: string + required: + - amount + - blockchain + - identifier + - network + - symbol + - type + type: object + ListAllAssetsFromAllWalletsRI_nonFungibleTokens: + example: + identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + blockchain: ethereum + type: ERC-721 + network: ropsten + properties: + blockchain: + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." + example: ethereum + type: string + identifier: + description: Defines the specific token identifier. For Bitcoin-based transactions + it should be the propertyId and for Ethereum-based transactions - the + contract. + example: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + type: string + network: + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." + example: ropsten + type: string + symbol: + description: Defines the symbol of the non-fungible tokens. + example: ENS + type: string + tokenId: + description: Represents tokens' unique identifier. + example: 0x000000000000000000000000000000000000000000000000000000000000195b + type: string + type: + description: Defines the specific token type. + example: ERC-721 + type: string + required: + - blockchain + - identifier + - network + - symbol + - tokenId + - type + type: object + ListAllAssetsFromAllWalletsR_data: + example: + total: 100 + offset: 0 + limit: 50 + items: [] + properties: + limit: + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + total: + description: Defines the total number of items returned in the response. + example: 100 + type: integer + items: + example: [] + items: + $ref: '#/components/schemas/ListAllAssetsFromAllWalletsRI' + type: array + required: + - items + - limit + - offset + - total + type: object + ListAllAssetsByWalletIDR_data: + example: + item: + fungibleTokens: + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + amount: "0.254" + blockchain: ethereum + type: ERC-20 + network: mainnet + - identifier: 0xdac17f958d2ee523a2206206994597c13d831ec7 + symbol: USDT + amount: "0.254" + blockchain: ethereum + type: ERC-20 + network: mainnet + walletId: 60c9d9921c38030006675ff6 + coins: + - confirmedBalance: "0.00009179" + unit: BTC + totalSpent: "2.1" + blockchain: bitcoin + totalReceived: "5.6" + network: testnet + - confirmedBalance: "0.00009179" + unit: BTC + totalSpent: "2.1" + blockchain: bitcoin + totalReceived: "5.6" + network: testnet + walletName: exampleName + nonFungibleTokens: + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + blockchain: ethereum + type: ERC-721 + network: ropsten + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: ENS + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + blockchain: ethereum + type: ERC-721 + network: ropsten + properties: + item: + $ref: '#/components/schemas/ListAllAssetsByWalletIDRI' + required: + - item + type: object GetLastMinedBlockR_data: example: item: previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f transactionsCount: 2755 height: 673852 @@ -50520,16 +59326,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -50615,12 +59421,14 @@ components: transactionsCount: 1 dsBlock: 12443 microBlocks: - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] - 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' - - '[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 - [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] - 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297' + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" + - "[0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119\ + \ [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c\ + \ [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e\ + \ [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297" timestamp: 1616069434 properties: item: @@ -50633,6 +59441,8 @@ components: amount: "0.001" unit: BTC address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z properties: address: description: The address which receives this transaction. In UTXO-based @@ -50640,10 +59450,22 @@ components: protocols like Ethereum there is always only one recipient. example: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR type: string + addressTag: + description: Defines a specific Tag that is an additional XRP address feature. + It helps identify a transaction recipient beyond a wallet address. The + tag that was encoded into the x-Address along with the Classic Address. + example: 3999472835 + type: integer amount: description: Represents the amount received to this address. example: "0.001" type: string + classicAddress: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key. A classic address is shown when the destination\ + \ address is an x-Address." + example: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + type: string unit: description: Defines the unit of the amount. example: BTC @@ -50667,10 +59489,15 @@ components: - amount: "0.001" unit: BTC address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z - amount: "0.001" unit: BTC address: mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z additionalDetails: yourExampleStringHere + transactionId: 61922aa68f192800067a8404 network: testnet properties: item: @@ -50713,16 +59540,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -50769,16 +59596,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -50853,8 +59680,8 @@ components: example: BTC type: string tokenDecimals: - description: Defines the decimals of the token, i.e. the number of digits - that come after the decimal coma of the token. + description: "Defines the decimals of the token, i.e. the number of digits\ + \ that come after the decimal coma of the token." example: 6 type: integer type: @@ -51029,16 +59856,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -51058,8 +59885,8 @@ components: description: Object representation of the script properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 00148b3ed2c15710b61a43cb354a7e637dc6bbd448ce type: string hex: @@ -51092,6 +59919,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -51177,7 +60005,7 @@ components: example: "10354241269" type: string unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: WEI type: string required: @@ -51188,10 +60016,10 @@ components: description: Object representation of the script properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. - example: 3045022100f031442894c0fd60c195fbdb29c0bf72f143a815689b8840cd31ec31cc6a7721022028f74f0869e4666761c9ba1035cc714528a17de873dfc7b3a541d29f3942a2d8[ALL] - 028c533b6c0ce0ad714a8af36b64d207c4f61cd6d5af210362447c92b4105a4fab + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." + example: "3045022100f031442894c0fd60c195fbdb29c0bf72f143a815689b8840cd31ec31cc6a7721022028f74f0869e4666761c9ba1035cc714528a17de873dfc7b3a541d29f3942a2d8[ALL]\ + \ 028c533b6c0ce0ad714a8af36b64d207c4f61cd6d5af210362447c92b4105a4fab" type: string hex: description: Represents the hex of the public key of the address. @@ -51223,6 +60051,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967294 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -51257,8 +60086,8 @@ components: description: Object representation of the script properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 0014daaf6d5cb86befe42df851a4d1df052e663754c1 type: string hex: @@ -51291,6 +60120,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -51372,8 +60202,8 @@ components: description: Object representation of the script properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 030483ff6271580681f4f7828c01df56d5aebfe982cbaa2922594be9eb6cf40206 OP_CHECKSIG type: string @@ -51407,6 +60237,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -51450,6 +60281,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -51489,6 +60321,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -51590,6 +60423,7 @@ components: index: 21 isConfirmed: true minedInBlockHash: 0000000000503b5200a935cfa9e7740783b5f2292aaad3bf273554abfb3d91ce + blockchainSpecific: null senders: - amount: "0.00001681" address: 2NDxh6gwyx33zCxocteVXo9znPny1GrUuHF @@ -51604,6 +60438,112 @@ components: required: - item type: object + GetHDWalletXPubYPubZPubAssetsRI_fungibleTokens: + example: + identifier: 0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa + symbol: WEENUS + amount: "0.100000000000000000" + type: ERC-20 + properties: + amount: + description: Defines the amount of the fungible tokens. + example: "0.100000000000000000" + type: string + identifier: + description: Represents tokens' contract address. + example: 0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa + type: string + symbol: + description: Defines the symbol of the fungible token. + example: WEENUS + type: string + type: + description: Defines the specific token type. + example: ERC-20 + type: string + required: + - amount + - identifier + - symbol + - type + type: object + GetHDWalletXPubYPubZPubAssetsRI_nonFungibleTokens: + example: + identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: GA + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + properties: + identifier: + description: Represents tokens' contract address. + example: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + type: string + symbol: + description: Defines the symbol of the non-fungible token. + example: GA + type: string + tokenId: + description: Represents tokens' unique identifier. + example: 0x000000000000000000000000000000000000000000000000000000000000195b + type: string + type: + description: Defines the specific token type. + example: ERC-721 + type: string + required: + - identifier + - symbol + - tokenId + - type + type: object + GetHDWalletXPubYPubZPubAssetsRI_confirmedBalance: + example: + amount: "0.008516447598774679" + unit: ETH + properties: + amount: + description: Represents the confirmed balance for the specified blockchain + protocol. + example: "0.008516447598774679" + type: string + unit: + description: Specifies the unit of the amount of the confirmed balance. + example: ETH + type: string + required: + - amount + - unit + type: object + GetHDWalletXPubYPubZPubAssetsR_data: + example: + item: + fungibleTokens: + - identifier: 0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa + symbol: WEENUS + amount: "0.100000000000000000" + type: ERC-20 + - identifier: 0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa + symbol: WEENUS + amount: "0.100000000000000000" + type: ERC-20 + confirmedBalance: + amount: "0.008516447598774679" + unit: ETH + nonFungibleTokens: + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: GA + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + - identifier: 0x90ca8a3eb2574f937f514749ce619fdcca187d45 + symbol: GA + tokenId: 0x000000000000000000000000000000000000000000000000000000000000195b + type: ERC-721 + properties: + item: + $ref: '#/components/schemas/GetHDWalletXPubYPubZPubAssetsRI' + required: + - item + type: object GetHDWalletXPubYPubZPubDetailsR_data: example: item: @@ -51623,16 +60563,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -51661,8 +60601,8 @@ components: example: "0.000144" type: string isMember: - description: Defines whether an address is a child address derived from - the HD wallet (xPub, yPub, zPub) as boolean. + description: "Defines whether an address is a child address derived from\ + \ the HD wallet (xPub, yPub, zPub) as boolean." example: false type: boolean required: @@ -51683,8 +60623,8 @@ components: example: "0.00873472" type: string isMember: - description: Defines whether an address is a child address derived from - the HD wallet (xPub, yPub, zPub) as boolean. + description: "Defines whether an address is a child address derived from\ + \ the HD wallet (xPub, yPub, zPub) as boolean." example: true type: boolean required: @@ -51708,16 +60648,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -51750,23 +60690,55 @@ components: required: - item type: object - ListInternalTransactionsByAddressR_data: + ListHDWalletXPubYPubZPubUTXOsR_data: example: total: 100 offset: 0 limit: 50 items: [] properties: + limit: + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer + total: + description: Defines the total number of items returned in the response. + example: 100 + type: integer + items: + example: [] + items: + $ref: '#/components/schemas/ListHDWalletXPubYPubZPubUTXOsRI' + type: array + required: + - items + - limit + - offset + - total + type: object + ListInternalTransactionsByAddressR_data: + example: + total: 100 + offset: 0 + limit: 50 + items: [] + properties: limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -51782,267 +60754,158 @@ components: - offset - total type: object - ListUnspentTransactionOutputsByAddressRI_senders: + GetFeeRecommendationsR_data: + example: + item: + standard: '"0.000015' + unit: BTC + feeCushionMultiplier: "1.2" + fast: "0.000025" + slow: "0.000010" properties: - address: - description: Represents a list of sender addresses with the respective amounts. - In account-based protocols like Ethereum there is only one address in - this list. - example: mwDuExdjRewYKYoR454sZGvd15LnJVsmoR - type: string - amount: - description: Represents the total amount sent by this address including - the fee. - example: "0.00873472" - type: string + item: + $ref: '#/components/schemas/GetFeeRecommendationsRI' required: - - address - - amount + - item type: object - ListUnspentTransactionOutputsByAddressRI_vin: + GetNextAvailableNonceR_data: + example: + item: + nextAvailableNonce: 16 properties: - addresses: - items: - description: Represents the addresses which send/receive the amount. - example: 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1 - type: string - type: array - coinbase: - description: Represents the coinbase hex. - example: 0399991d20706f6f6c2e656e6a6f79626f646965732e636f6d20393963336532346234374747a53e994c4a000001 - type: string - scriptSig: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSB_scriptSig' - sequence: - description: Represents the script sequence number. - example: "4294967295" - type: string - txid: - description: Represents the reference transaction identifier. - example: caee978cae255bbe303ac86152679e46113a8b12925aa3afaa312d89d11ccbf8 - type: string - txinwitness: + item: + $ref: '#/components/schemas/GetNextAvailableNonceRI' + required: + - item + type: object + ListUnspentTransactionOutputsByAddressR_data: + example: + total: 100 + offset: 0 + limit: 50 + items: [] + properties: + limit: + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + total: + description: Defines the total number of items returned in the response. + example: 100 + type: integer + items: + example: [] items: - description: Represents an array hex-encoded witness data (if there is - any) as strings. - example: 3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901 - type: string + $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressRI' type: array - value: - description: Represents the sent/received amount. - example: "0.00873472" - type: string - vout: - description: Defines the vout of the transaction output, i.e. which output - to spend. - example: 1 - type: integer required: - - addresses - - scriptSig - - sequence - - txid - - value + - items + - limit + - offset + - total type: object - ListUnspentTransactionOutputsByAddressRI_fee: + ListTokensTransfersByTransactionHashRI_transactionFee: properties: amount: - description: String representation of the fee value - example: "0.00016932" + description: Represents the total fee of a transaction which includes token + transfers. + example: "0.0000051873" type: string unit: - description: Defines the specific unit of the fee. - example: BTC + description: Represents the unit of the fee. + example: ETH type: string required: - amount - unit type: object - ListUnspentTransactionOutputsByAddressRI_blockchainSpecific_vJoinSplit: + ListTokensTransfersByTransactionHashR_data: + example: + total: 100 + offset: 0 + limit: 50 + items: [] properties: - anchor: - description: Defines a Merkle tree root of a note commitment tree which - uniquely identifies a note commitment tree state given the assumed security - properties of the Merkle tree’s hash function. - example: d32ddbaf0d9dc8c10783c01fd9ba5bd0bc2e5efe3d1665d7d6771eb4393736b4 - type: string - cipherTexts: - items: - description: String array representation of the cipher texts - example: 988a182a3e561e0cca18e38e3273b3c538c3e6f79077867eca4305e48cbc5e6d3ff680de602e44fb8869f1a8747d9e3775f2418d33c41233e3612d6ecf277346b85bcd0c1fbdf4c4c0da107bf84e02c82588bf02f4a6c23ed36f70a436f69a6fe6cc38634d69e34e3d3942ff06a7921153689b4b50e3799f0ce3d8a35d165beaecc0c91018e9a8c618ff7036fd14b95641229e42974054c70d1e080c909c382297c5698b9af9b9291d6851c718d3e771e6376bd6dd52f4624ad024b4d85426e32fcf531019eeea547fda3ecca87aceaa80982e8fe22db152c01635d24fe4f59d1979610cad898c169d88559bcd8847f82b2ac5ab2f8623eed55b0273982297a52e9cbb4523d6411a0d40f59faf0ff9f23783790027d5f5153d421d897c11b9da48e7218b7ce64c653283ecaffab78006b771aec20e05761d768f9347f96c566d47014eff083268622e81ce6c17e1e66227ee795cd3a7efb77c3b5b4a896d75111a2a846be94c0fcdaab69ca2101a499c817590c4d1ea8b39145f0168210af4ac86cc6018e95c0699a6f1275c2934cbe1cf84bbeee12ed77b54fe4c2f6b1c0187e7ab31750e03cf72467e9bf7c8a89bb8f4160b5d56def4cb24f595303bcdf065bf2ec7161c8165a6be7252b7cd8c3aa9bf9baf78690f19c1d4fc1d39e558bd4f4fdb3e56fb1b2e287cf67b0e0cf8df5c28c7bb94393cb837c180d380814a63e7db94e4e9652933e67f28f93dd92ee45be8f824cd9469dd0a872e130d4c1621a56d2a33ffb51c04b4151f0a471472a977d771b0eb13bf9fde44804ef755b97e1cae1e8d807f5eb692d7ffc20d8e451ce9ccd75b1a270836db80 - type: string - type: array - commitments: - items: - description: String array representation of the commitments - example: 2f7f341d6af9a75b317d0753d2fc0514baf38bb602cd66dc7d221aa371e6062c - type: string - type: array - macs: - items: - description: String array representation of the macs - example: 52f677a49eb36bcce6b30f94bee481d73c4fdd61963bda54b68f3a90ca007b59 - type: string - type: array - nullifiers: + limit: + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer + total: + description: Defines the total number of items returned in the response. + example: 100 + type: integer + items: + example: [] items: - description: String array representation of the nullifiers - example: 30e41a9a6605933a75ec42439ab65eb347025002f6486e5549abb82438447dbe - type: string + $ref: '#/components/schemas/ListTokensTransfersByTransactionHashRI' type: array - oneTimePubKey: - description: Defines the one time public key. - example: 0a2e7ba03903480af852cb47d8ce76eb6546aef69bdb35b28b8ae815012d4d13 - type: string - proof: - description: Defines the proof. - example: 8dd9c988c9f337bd55c07fa9e2fa405cf4dda2cb915214fc0b5924870eed0f0187a0db001b5d8ea43a537e423d91d0fc868a456fa3e0bf9e99d1b04f43c6983a05a99458a69903add73ccaa4177844df9056d40c5a71ae14a70835cb30ca7d810fa1d48c9180ddec2ca1cecfaa8706ab514d6e8fe2dd228d7dc012d9407517523b774107a6a78dc972b175b94d1681b980e2b9ba7d39f880973787080a12bf14dc3f038333245a60bbcd9cb1fe2baba30ed083535752cc26ea0c57134e0c774e - type: string - randomSeed: - description: Represents a 256-bit seed that must be chosen independently - at random for each JoinSplit description. - type: string - vPubNew: - description: Defines the value that the joinSplit transfer will insert into - the transparent transaction value pool. - example: "50.02989193" - type: string - vPubOld: - description: Defines the value that the joinSplit transfer will remove from - the transparent transaction value pool. - example: "0" - type: string required: - - anchor - - cipherTexts - - commitments - - macs - - nullifiers - - oneTimePubKey - - proof - - randomSeed - - vPubNew - - vPubOld - type: object - ListUnspentTransactionOutputsByAddressRI_blockchainSpecific_vShieldedSpend: - properties: - anchor: - description: Defines a Merkle tree root of a note commitment tree which - uniquely identifies a note commitment tree state given the assumed security - properties of the Merkle tree’s hash function. - example: d32ddbaf0d9dc8c10783c01fd9ba5bd0bc2e5efe3d1665d7d6771eb4393736b4 - type: string - cv: - description: Defines a value commitment to the value of the input note. - example: 547a9cef4937304f97acacfcd9827b5aa1b2e5b1ae32e360fae828b955564a0e - type: string - nullifier: - description: Represents a sequence of nullifiers of the input notes. - example: 30e41a9a6605933a75ec42439ab65eb347025002f6486e5549abb82438447dbe - type: string - proof: - description: Represents the proof. - example: 030ff7fdb006db7f9acb0d2d6fae180e4395f0b6a979f6ddf48a349bc03ad2e7bb0324a5c3c7e6be131c34126ad22c74138f45f6f77bba706dfc87335a9adffcfef20a03e47751f403a37f9c5e1874aa50818c3eef09304c57c77b111057c09ed2112a7ed310ad285e0b778a4f44b654032b642b8b2df3be16bea011da7a2221bc0f0a0309f51f87caef2ea0f665f1a77d0dd50766d835d181e534818d8c3413b4d555990222574d9c92f81f17ff0af7a0583e76b3d3d4df2927561f37e57e15bc07b3f5d70306a9624c496d0bcb40085894bf32ef05db6469ec145c0ce5529e2697b6a0252c0216930cf7b3a7381762a6a91868e9d2bf823bfc7fb885de1fbd6a6cacae02db590318ffeb357ffd6832893ab0ccd3b15cef1df0fef45c091cf33fccee43a2834d44 - type: string - rk: - description: Represents the randomized validating key for spendAuthSig. - example: 39bdf742e16c4d1533a56df956bebe4d0214d4a361820db58a293847b6344d30 - type: string - spendAuthSig: - description: Used to prove knowledge of the spending key authorizing spending - of an input note. - example: 0f3b38a91fffbbf58f99d2d070002c0868be6804204b7bf4be0df47f62ee5e0d43222776a71fd7e1421ec54502194192d73681701b743ad427573ca18a95a405 - type: string - required: - - anchor - - cv - - nullifier - - proof - - rk - - spendAuthSig + - items + - limit + - offset + - total type: object - ListUnspentTransactionOutputsByAddressRI_blockchainSpecific: + ListConfirmedTransactionsByAddressAndTimeRangeR_data: + example: + total: 100 + offset: 0 + limit: 50 + items: [] properties: - vSize: - description: Represents the virtual size of this transaction - example: 125 + limit: + description: Defines how many items should be returned in the response per + page basis. + example: 50 type: integer - bindingSig: - description: It is used to enforce balance of Spend and Output transfers, - in order to prevent their replay across transactions. - example: 603624b3e78e0de0415dea320797a107076a9f7aabd39f44bc4957803330e9891cb33744ac2ec749c2d2d341f29467c49c0ae35bf34765e2fb7c4cda68584804 - type: string - expiryHeight: - description: Represents a block height after which the transaction will - expire. + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer - joinSplitPubKey: - description: Represents an encoding of a JoinSplitSig public validating - key. - example: 5d2673b4c727241410e42f214a39218e4f13354d77db8ec31243a7be7ed8e2b7 - type: string - joinSplitSig: - description: Is used to sign transactions that contain at least one JoinSplit - description. - example: 8b06b926d619ead780b0769e5997ded93f9851fd0efd4b667afc5bcc2792b26cd4a565b4efa7733535fdc09fa566ca59042785d7fd8043d37fdf9e144465080a - type: string - overwintered: - description: '"Overwinter" is the network upgrade for the Zcash blockchain.' - example: true - type: boolean - vJoinSplit: - description: Represents a sequence of JoinSplit descriptions using BCTV14 - proofs. - items: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressRI_blockchainSpecific_vJoinSplit' - type: array - vShieldedOutput: - description: Object Array representation of transaction output descriptions - items: - $ref: '#/components/schemas/GetTransactionDetailsByTransactionIDRIBSZ_vShieldedOutput' - type: array - vShieldedSpend: - description: Object Array representation of transaction spend descriptions + total: + description: Defines the total number of items returned in the response. + example: 100 + type: integer + items: + example: [] items: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressRI_blockchainSpecific_vShieldedSpend' + $ref: '#/components/schemas/ListConfirmedTransactionsByAddressAndTimeRangeRI' type: array - valueBalance: - description: Defines the transaction value balance. - example: "0" - type: string - versionGroupId: - description: Represents the transaction version group ID. - example: 0x892f2085 - type: string required: - - bindingSig - - expiryHeight - - joinSplitPubKey - - joinSplitSig - - overwintered - - vShieldedSpend - - vSize - - valueBalance - - versionGroupId + - items + - limit + - offset + - total type: object - ListUnspentTransactionOutputsByAddressR_data: + ListConfirmedTokensTransfersByAddressAndTimeRangeR_data: example: total: 100 offset: 0 limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -52050,7 +60913,7 @@ components: items: example: [] items: - $ref: '#/components/schemas/ListUnspentTransactionOutputsByAddressRI' + $ref: '#/components/schemas/ListConfirmedTokensTransfersByAddressAndTimeRangeRI' type: array required: - items @@ -52058,36 +60921,23 @@ components: - offset - total type: object - GetFeeRecommendationsR_data: - example: - item: - standard: "0.00000021" - unit: BTC - fast: "0.00000021" - slow: "0.00000021" - properties: - item: - $ref: '#/components/schemas/GetFeeRecommendationsRI' - required: - - item - type: object - ListTokensTransfersByTransactionHashR_data: + ListInternalTransactionsByAddressAndTimeRangeR_data: example: total: 100 offset: 0 limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -52095,7 +60945,7 @@ components: items: example: [] items: - $ref: '#/components/schemas/ListTokensTransfersByTransactionHashRI' + $ref: '#/components/schemas/ListInternalTransactionsByAddressAndTimeRangeRI' type: array required: - items @@ -52110,16 +60960,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -52135,23 +60985,65 @@ components: - offset - total type: object - ListTokensByAddressR_data: + GetRawTransactionDataR_data: + example: + item: + transactionHex: 01000000000101f8cb1cd1892d31aaafa35a92128b3a11469e675261c83a30be5b25ae8c97eeca0100000017160014daaf6d5cb86befe42df851a4d1df052e663754c1ffffffff02403800000000000017a914507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d15879cd90c000000000017a91475eb14fa1dc2c72637df3c58bc22d925ca0753af8702483045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901210287e995526aa6ccb96141bb598fc7f73323279e026c55039d15f0cfbda5dea84100000000 + properties: + item: + $ref: '#/components/schemas/GetRawTransactionDataRI' + required: + - item + type: object + ListUnconfirmedTokensTransfersByAddressR_data: example: total: 100 offset: 0 limit: 50 items: [] properties: + limit: + description: Defines how many items should be returned in the response per + page basis. + example: 50 + type: integer offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." example: 0 type: integer + total: + description: Defines the total number of items returned in the response. + example: 100 + type: integer + items: + example: [] + items: + $ref: '#/components/schemas/ListUnconfirmedTokensTransfersByAddressRI' + type: array + required: + - items + - limit + - offset + - total + type: object + ListTokensByAddressR_data: + example: + total: 100 + offset: 0 + limit: 50 + items: [] + properties: limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -52167,6 +61059,18 @@ components: - offset - total type: object + EstimateTransactionSmartFeeR_data: + example: + item: + unit: BTC + confirmationTarget: 2 + feeRate: "0.00001" + properties: + item: + $ref: '#/components/schemas/EstimateTransactionSmartFeeRI' + required: + - item + type: object GetTokenDetailsByContractAddressR_data: example: item: @@ -52181,9 +61085,43 @@ components: required: - item type: object + DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI_addresses: + example: + address: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + index: 1 + properties: + address: + description: "Represents the public address, which is a compressed and shortened\ + \ form of a public key." + example: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + type: string + index: + description: Represents the output index. It refers to the UTXO sequence + in the transaction outputs (vout). + example: 1 + type: integer + required: + - address + - index + type: object + DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR_data: + example: + item: + addresses: + - address: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + index: 1 + - address: muZxmnQiz8gZgpYmUoTHpD2CFTHWYEjTwB + index: 1 + properties: + item: + $ref: '#/components/schemas/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI' + required: + - item + type: object NewUnconfirmedCoinsTransactionsR_data: example: item: + address: mho4jHBcrNCncKt38trJahXakuaBnS7LK5 createdTimestamp: 1611238648 callbackSecretKey: yourSecretKey callbackUrl: https://example.com @@ -52219,6 +61157,7 @@ components: createdTimestamp: 1236238648 callbackSecretKey: yourSecretKey callbackUrl: https://example.com + receiveCallbackOn: 3 eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED isActive: true referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa @@ -52235,6 +61174,7 @@ components: createdTimestamp: 1611238648 callbackSecretKey: yourSecretKey callbackUrl: https://example.com + receiveCallbackOn: 3 eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED isActive: true referenceId: c748624f-1843-4738-a7de-8258ada0f524 @@ -52250,8 +61190,10 @@ components: confirmationsCount: 3 address: 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5 createdTimestamp: 1236238648 + callbackSecretKey: yourSecretKey callbackUrl: https://example.com - eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRAMTION + eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION + isActive: true referenceId: c748624f-1843-4738-a7de-8258ada0f524 properties: item: @@ -52279,8 +61221,6 @@ components: MinedTransactionR_data: example: item: - confirmationsCount: 2 - address: 2NCQH4pN7nf6Jb8iGoh69dgVLcVPQXBYHHk createdTimestamp: 1611238648 callbackSecretKey: yourSecretKey callbackUrl: https://example.com @@ -52299,7 +61239,7 @@ components: item: createdTimestamp: 1611238648 callbackSecretKey: yourSecretKey - callbackUrl: http://yourURL.com + callbackUrl: https://yourURL.com isActive: true referenceId: 4c530a43-5602-41d9-bc69-156a0372f9aa properties: @@ -52308,6 +61248,23 @@ components: required: - item type: object + ListBlockchainEventsSubscriptionsRI_deactivationReasons: + example: + reason: maximum_retry_attempts_reached + timestamp: 1642102581 + properties: + reason: + description: Defines the deactivation reason as a message. + example: maximum_retry_attempts_reached + type: string + timestamp: + description: Represents the time of the subscription deactivation. + example: 1642102581 + type: integer + required: + - reason + - timestamp + type: object ListBlockchainEventsSubscriptionsR_data: example: total: 100 @@ -52315,16 +61272,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -52340,6 +61297,31 @@ components: - offset - total type: object + GetBlockchainEventSubscriptionDetailsByReferenceIDR_data: + example: + item: + confirmationsCount: 5 + address: tb1qtm44m6xmuasy4sc7nl7thvuxcerau2dfvkkgsc + blockchain: bitcoin + deactivationReasons: + - reason: maximum_retry_attempts_reached + timestamp: 1642102581 + - reason: maximum_retry_attempts_reached + timestamp: 1642102581 + createdTimestamp: 1966238648 + callbackSecretKey: yourSecretKey + callbackUrl: http://example.com + eventType: ADDRESS_COINS_TRANSACTION_CONFIRMED + isActive: false + referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa + transactionId: 742b4a8d54a663d372fa16abf74093595ae6fc950f2fa2bb7388c7f4d061d7b8 + network: testnet + properties: + item: + $ref: '#/components/schemas/GetBlockchainEventSubscriptionDetailsByReferenceIDRI' + required: + - item + type: object ActivateBlockchainEventSubscriptionR_data: example: item: @@ -52348,7 +61330,7 @@ components: blockchain: bitcoin createdTimestamp: 1611238648 callbackSecretKey: yourSecretKey - callbackUrl: http://example.com + callbackUrl: https://example.com eventType: ADDRESS_TOKENS_TRANSACTION_CONFIRMED isActive: true referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa @@ -52365,7 +61347,7 @@ components: item: createdTimestamp: 1611238648 callbackSecretKey: yourSecretKey - callbackUrl: http://example.com + callbackUrl: https://example.com eventType: ADDRESS_COINS_TRANSACTION_UNCONFIRMED referenceId: 6de9a6ae-1463-458c-81a5-16d68d108012 properties: @@ -52380,8 +61362,8 @@ components: unit: BTC properties: amount: - description: Defines the total amount of all coins received to the address, - based on confirmed transactions. + description: "Defines the total amount of all coins received to the address,\ + \ based on confirmed transactions." example: "5.6" type: string unit: @@ -52395,8 +61377,8 @@ components: unit: BTC properties: amount: - description: Defines the total amount of all spent by this address coins, - based on confirmed transactions. + description: "Defines the total amount of all spent by this address coins,\ + \ based on confirmed transactions." example: "2.1" type: string unit: @@ -52430,8 +61412,8 @@ components: description: Specifies the required signatures. properties: asm: - description: The asm strands for assembly, which is the symbolic representation - of the Bitcoin's Script language op-codes. + description: "The asm strands for assembly, which is the symbolic representation\ + \ of the Bitcoin's Script language op-codes." example: 304402202eb16569b2c1f5898c1ab5b23d41e0783ae37943bc6745784fb810f955deafbd02203562872c3a3c7c2423a752f27ba6ae01e66ffc56fe8e463a90498dd5659f8d90 type: string hex: @@ -52464,6 +61446,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -52508,6 +61491,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: String representation of the txid @@ -52552,6 +61536,7 @@ components: sequence: description: Represents the script sequence number. example: 4294967295 + format: int64 type: integer txid: description: Represents the reference transaction identifier. @@ -52602,9 +61587,10 @@ components: amount: description: Defines the price of the gas. example: 2994782927 + format: int64 type: integer unit: - description: Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. + description: "Defines the unit of the gas price amount, e.g. BTC, ETH, XRP." example: ZIL type: string required: @@ -52698,6 +61684,7 @@ components: index: 44 minedInBlockHash: 00000000cc8c79e1a80d14873ee7e319f8d2525354be26ace50796444a1e0764 isConfirmed: true + blockchainSpecific: null senders: - amount: "0.00002000" address: mtFYoSowT3i649wnBDYjCjewenh8AuofQb @@ -52715,6 +61702,7 @@ components: example: item: previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f transactionsCount: 2755 height: 673852 @@ -52729,6 +61717,7 @@ components: example: item: previousBlockHash: 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f + blockchainSpecific: null hash: 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f transactionsCount: 2755 height: 673852 @@ -52746,6 +61735,7 @@ components: createdTimestamp: 1236238648 callbackSecretKey: yourSecretKey callbackUrl: https://example.com + receiveCallbackOn: 3 eventType: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED isActive: true referenceId: bc243c86-0902-4386-b30d-e6b30fa1f2aa @@ -52796,16 +61786,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -52843,6 +61833,7 @@ components: item: confirmationsCount: 2 feePriority: standard + tokenData: null createdTimestamp: 1611238648 feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ minimumTransferAmount: "0.5" @@ -52861,6 +61852,7 @@ components: item: confirmationsCount: 3 feePriority: standard + tokenData: null createdTimestamp: 1611238648 feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ minimumTransferAmount: "0.0001" @@ -52881,16 +61873,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -52917,8 +61909,8 @@ components: example: "0.01" type: string unit: - description: Represents the unit of the fee spent for the forwarded tokens, - e.g. BTC. + description: "Represents the unit of the fee spent for the forwarded tokens,\ + \ e.g. BTC." example: ETH type: string required: @@ -52944,6 +61936,7 @@ components: item: confirmationsCount: 2 feePriority: standard + tokenData: null createdTimestamp: 1611238648 feeAddress: mojjR51gMXLJ4B3SBPhEXXRFDX7U5UWXNQ minimumTransferAmount: "0.5" @@ -52978,8 +61971,8 @@ components: example: WEI type: string value: - description: Represents the expected base fee per gas of the upcoming block, - calculated from the previous block data. + description: "Represents the expected base fee per gas of the upcoming block,\ + \ calculated from the previous block data." example: "45265143502" type: string required: @@ -52994,18 +61987,18 @@ components: slow: "67416761254" properties: fast: - description: Represents the fast maximum fee per gas, calculated from unconfirmed - transactions. + description: "Represents the fast maximum fee per gas, calculated from unconfirmed\ + \ transactions." example: "75235090892" type: string slow: - description: Represents the slow maximum fee per gas, calculated from unconfirmed - transactions. + description: "Represents the slow maximum fee per gas, calculated from unconfirmed\ + \ transactions." example: "67416761254" type: string standard: - description: Represents the standard maximum fee per gas, calculated from - unconfirmed transactions. + description: "Represents the standard maximum fee per gas, calculated from\ + \ unconfirmed transactions." example: "69996407508" type: string unit: @@ -53026,18 +62019,18 @@ components: slow: "37331114417" properties: fast: - description: Represents the fast maximum priority fee per gas, calculated - from unconfirmed transactions. + description: "Represents the fast maximum priority fee per gas, calculated\ + \ from unconfirmed transactions." example: "47085140300" type: string slow: - description: Represents the slow maximum priority fee per gas, calculated - from unconfirmed transactions. + description: "Represents the slow maximum priority fee per gas, calculated\ + \ from unconfirmed transactions." example: "37331114417" type: string standard: - description: Represents the standard maximum priority fee per gas, calculated - from unconfirmed transactions. + description: "Represents the standard maximum priority fee per gas, calculated\ + \ from unconfirmed transactions." example: "41987372497" type: string unit: @@ -53082,6 +62075,59 @@ components: required: - item type: object + EstimateGasLimitR_data: + example: + item: + gasLimit: "550000" + properties: + item: + $ref: '#/components/schemas/EstimateGasLimitRI' + required: + - item + type: object + EstimateTokenGasLimitR_data: + example: + item: + gasLimit: "550000" + properties: + item: + $ref: '#/components/schemas/EstimateTokenGasLimitRI' + required: + - item + type: object + DecodeRawTransactionHexR_data: + example: + item: + size: 248 + blockchainSpeficicData: null + transactionId: 00a8a090a7c78f64e4626e6720b305edd95fcd7865b5b45864a88070a8079cea + properties: + item: + $ref: '#/components/schemas/DecodeRawTransactionHexRI' + required: + - item + type: object + DecodeX_AddressR_data: + example: + item: + addressTag: 3999472835 + classicAddress: rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z + properties: + item: + $ref: '#/components/schemas/DecodeX-AddressRI' + required: + - item + type: object + EncodeX_AddressR_data: + example: + item: + xAddress: TVTMSyg6nRscAm2JtRd8hnpF9nD21CgZx6ibb9iy3EWHotV + properties: + item: + $ref: '#/components/schemas/EncodeX-AddressRI' + required: + - item + type: object ListSupportedAssetsR_data: example: total: 100 @@ -53089,16 +62135,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -53156,7 +62202,7 @@ components: example: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iIzYyN0VFQSIvPjxnIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZmlsbC1vcGFjaXR5PSIuNjAyIiBkPSJNMTYuNDk4IDR2OC44N2w3LjQ5NyAzLjM1eiIvPjxwYXRoIGQ9Ik0xNi40OTggNEw5IDE2LjIybDcuNDk4LTMuMzV6Ii8+PHBhdGggZmlsbC1vcGFjaXR5PSIuNjAyIiBkPSJNMTYuNDk4IDIxLjk2OHY2LjAyN0wyNCAxNy42MTZ6Ii8+PHBhdGggZD0iTTE2LjQ5OCAyNy45OTV2LTYuMDI4TDkgMTcuNjE2eiIvPjxwYXRoIGZpbGwtb3BhY2l0eT0iLjIiIGQ9Ik0xNi40OTggMjAuNTczbDcuNDk3LTQuMzUzLTcuNDk3LTMuMzQ4eiIvPjxwYXRoIGZpbGwtb3BhY2l0eT0iLjYwMiIgZD0iTTkgMTYuMjJsNy40OTggNC4zNTN2LTcuNzAxeiIvPjwvZz48L2c+PC9zdmc+ type: string mimeType: - description: Defines the image type of the logo - jpg, png, svg, etc. + description: "Defines the image type of the logo - jpg, png, svg, etc." example: '"image/svg+xml"' type: string required: @@ -53190,16 +62236,16 @@ components: limit: 50 items: [] properties: - offset: - description: The starting index of the response items, i.e. where the response - should start listing the returned items. - example: 0 - type: integer limit: description: Defines how many items should be returned in the response per page basis. example: 50 type: integer + offset: + description: "The starting index of the response items, i.e. where the response\ + \ should start listing the returned items." + example: 0 + type: integer total: description: Defines the total number of items returned in the response. example: 100 @@ -53230,7 +62276,7 @@ components: example: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgZmlsbD0iI0Y3OTMxQSIvPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIzLjE4OSAxNC4wMmMuMzE0LTIuMDk2LTEuMjgzLTMuMjIzLTMuNDY1LTMuOTc1bC43MDgtMi44NC0xLjcyOC0uNDMtLjY5IDIuNzY1Yy0uNDU0LS4xMTQtLjkyLS4yMi0xLjM4NS0uMzI2bC42OTUtMi43ODNMMTUuNTk2IDZsLS43MDggMi44MzljLS4zNzYtLjA4Ni0uNzQ2LS4xNy0xLjEwNC0uMjZsLjAwMi0uMDA5LTIuMzg0LS41OTUtLjQ2IDEuODQ2czEuMjgzLjI5NCAxLjI1Ni4zMTJjLjcuMTc1LjgyNi42MzguODA1IDEuMDA2bC0uODA2IDMuMjM1Yy4wNDguMDEyLjExLjAzLjE4LjA1N2wtLjE4My0uMDQ1LTEuMTMgNC41MzJjLS4wODYuMjEyLS4zMDMuNTMxLS43OTMuNDEuMDE4LjAyNS0xLjI1Ni0uMzEzLTEuMjU2LS4zMTNsLS44NTggMS45NzggMi4yNS41NjFjLjQxOC4xMDUuODI4LjIxNSAxLjIzMS4zMThsLS43MTUgMi44NzIgMS43MjcuNDMuNzA4LTIuODRjLjQ3Mi4xMjcuOTMuMjQ1IDEuMzc4LjM1N2wtLjcwNiAyLjgyOCAxLjcyOC40My43MTUtMi44NjZjMi45NDguNTU4IDUuMTY0LjMzMyA2LjA5Ny0yLjMzMy43NTItMi4xNDYtLjAzNy0zLjM4NS0xLjU4OC00LjE5MiAxLjEzLS4yNiAxLjk4LTEuMDAzIDIuMjA3LTIuNTM4em0tMy45NSA1LjUzOGMtLjUzMyAyLjE0Ny00LjE0OC45ODYtNS4zMi42OTVsLjk1LTMuODA1YzEuMTcyLjI5MyA0LjkyOS44NzIgNC4zNyAzLjExem0uNTM1LTUuNTY5Yy0uNDg3IDEuOTUzLTMuNDk1Ljk2LTQuNDcuNzE3bC44Ni0zLjQ1Yy45NzUuMjQzIDQuMTE4LjY5NiAzLjYxIDIuNzMzeiIvPjwvZz48L3N2Zz4= type: string mimeType: - description: Defines the image type of the logo - jpg, png, svg, etc. + description: "Defines the image type of the logo - jpg, png, svg, etc." example: image/svg+xml type: string required: @@ -53278,6 +62324,7 @@ components: assetOriginalSymbol: BTC slug: bitcoin assetType: crypto + specificData: null properties: item: $ref: '#/components/schemas/GetAssetDetailsByAssetIDRI' @@ -53301,6 +62348,7 @@ components: assetOriginalSymbol: BTC slug: bitcoin assetType: crypto + specificData: null properties: item: $ref: '#/components/schemas/GetAssetDetailsByAssetSymbolRI' @@ -53318,15 +62366,15 @@ components: currentApprovals: 1 properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: ropsten type: string requiredApprovals: @@ -53354,8 +62402,8 @@ components: - requiredRejections type: object TransactionRequestApproval_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: WALLET_AS_A_SERVICE item: @@ -53372,8 +62420,8 @@ components: example: WALLET_AS_A_SERVICE type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: TRANSACTION_REQUEST_APPROVAL type: string item: @@ -53394,15 +62442,15 @@ components: currentApprovals: 0 properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: ropsten type: string requiredApprovals: @@ -53430,8 +62478,8 @@ components: - requiredRejections type: object TransactionRequestRejection_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: WALLET_AS_A_SERVICE item: @@ -53448,8 +62496,8 @@ components: example: WALLET_AS_A_SERVICE type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: TRANSACTION_REQUEST_REJECTION type: string item: @@ -53471,15 +62519,15 @@ components: currentApprovals: 2 properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: Bitcoin/Ethereum (whichever applicable) type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: Testnet/Mainnet (whichever applicable) type: string requiredApprovals: @@ -53499,8 +62547,8 @@ components: example: 1 type: integer transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: 4e78f606bc42534744e223f54b85d5bbd54a3949f54eb8fac31d73028c286e31 type: string required: @@ -53513,8 +62561,8 @@ components: - transactionId type: object TransactionRequestBroadcasted_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: WALLET_AS_A_SERVICE item: @@ -53532,8 +62580,8 @@ components: example: WALLET_AS_A_SERVICE type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: TRANSACTION_REQUEST_BROADCASTED type: string item: @@ -53544,8 +62592,8 @@ components: - product type: object TransactionRequestMined_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: WALLET_AS_A_SERVICE item: @@ -53563,8 +62611,8 @@ components: example: WALLET_AS_A_SERVICE type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: TRANSACTION_REQUEST_MINED type: string item: @@ -53586,15 +62634,15 @@ components: currentApprovals: 0 properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: ropsten type: string requiredApprovals: @@ -53627,8 +62675,8 @@ components: - requiredRejections type: object TransactionRequestFail_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: WALLET_AS_A_SERVICE item: @@ -53646,8 +62694,8 @@ components: example: WALLET_AS_A_SERVICE type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: TRANSACTION_REQUEST_FAIL type: string item: @@ -53670,15 +62718,15 @@ components: direction: incoming properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: testnet type: string address: @@ -53687,8 +62735,8 @@ components: example: 3CzKAnCXt7ePb5NCp5qrAEimrxjY81oLoT type: string transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: 4b2159770f75a7200ea168eb56ebbf3303b025d838f743fb6e785bc32d5ac65b type: string amount: @@ -53697,7 +62745,7 @@ components: example: "0.6508984" type: string unit: - description: Defines the unit of the transaction, e.g. BTC. + description: "Defines the unit of the transaction, e.g. BTC." enum: - btc - satoshi @@ -53734,8 +62782,8 @@ components: - unit type: object AddressCoinsTransactionUnconfirmed_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_EVENTS item: @@ -53754,8 +62802,8 @@ components: example: BLOCKCHAIN_EVENTS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: ADDRESS_COINS_TRANSACTION_UNCONFIRMED type: string item: @@ -53774,18 +62822,19 @@ components: tokenType: ERC-20 transactionId: 0x76670f3bb45c09e69173fe74834face446edf251c5f02ec30384a0957fce482b network: ropsten + token: null direction: incoming properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: ropsten type: string address: @@ -53794,13 +62843,13 @@ components: example: 0x65b895f400dae5541d70cbbec07527210158f6e2 type: string transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: 0x76670f3bb45c09e69173fe74834face446edf251c5f02ec30384a0957fce482b type: string tokenType: - description: Defines the type of token sent with the transaction, e.g. ERC - 20. + description: "Defines the type of token sent with the transaction, e.g.\ + \ ERC 20." enum: - ERC-20 - ERC-721 @@ -53832,8 +62881,8 @@ components: - transactionId type: object AddressTokensTransactionUnconfirmed_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_EVENTS item: @@ -53843,6 +62892,7 @@ components: tokenType: ERC-20 transactionId: 0x76670f3bb45c09e69173fe74834face446edf251c5f02ec30384a0957fce482b network: ropsten + token: null direction: incoming event: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED properties: @@ -53851,8 +62901,8 @@ components: example: BLOCKCHAIN_EVENTS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: ADDRESS_TOKENS_TRANSACTION_UNCONFIRMED type: string item: @@ -53876,8 +62926,8 @@ components: example: 667861 type: integer hash: - description: Represents the hash of the block's header, i.e. an output that - has a fixed length. + description: "Represents the hash of the block's header, i.e. an output\ + \ that has a fixed length." example: b00d27cccd5e4f4fa1b28824d9a1e5fef88e6c37cdeb09e37eb39aa1d3d63448 type: string timestamp: @@ -53906,15 +62956,15 @@ components: direction: incoming properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: testnet type: string address: @@ -53925,8 +62975,8 @@ components: minedInBlock: $ref: '#/components/schemas/AddressCoinsTransactionConfirmed_data_item_minedInBlock' transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: b00d27cccd5e4f4fa1b28824d9a1e5fef88e6c37cdeb09e37eb39aa1d3d63448 type: string amount: @@ -53934,7 +62984,7 @@ components: example: "0.0315" type: string unit: - description: Defines the unit of the transaction, e.g. BTC. + description: "Defines the unit of the transaction, e.g. BTC." example: BTC type: string direction: @@ -53955,8 +63005,8 @@ components: - unit type: object AddressCoinsTransactionConfirmed_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_EVENTS item: @@ -53978,8 +63028,8 @@ components: example: BLOCKCHAIN_EVENTS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: ADDRESS_COINS_TRANSACTION_CONFIRMED type: string item: @@ -54002,8 +63052,8 @@ components: example: 657915 type: integer hash: - description: Represents the hash of the block's header, i.e. an output that - has a fixed length. + description: "Represents the hash of the block's header, i.e. an output\ + \ that has a fixed length." example: 269b0de44db95beddb6aecc520b375ba8f91f3dc5558a24aa4c26979eb00c7e2 type: string timestamp: @@ -54028,18 +63078,19 @@ components: tokenType: ERC-20 transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 network: ropsten + token: null direction: incoming properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", are test networks." example: ropsten type: string address: @@ -54050,13 +63101,13 @@ components: minedInBlock: $ref: '#/components/schemas/AddressTokensTransactionConfirmed_data_item_minedInBlock' transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 type: string tokenType: - description: Defines the type of token sent with the transaction, e.g. ERC - 20. + description: "Defines the type of token sent with the transaction, e.g.\ + \ ERC 20." enum: - ERC-20 - ERC-721 @@ -54084,8 +63135,8 @@ components: - transactionId type: object AddressTokensTransactionConfirmed_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_EVENTS item: @@ -54098,6 +63149,7 @@ components: tokenType: ERC-20 transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 network: ropsten + token: null direction: incoming event: ADDRESS_TOKENS_TRANSACTION_CONFIRMED properties: @@ -54106,8 +63158,8 @@ components: example: BLOCKCHAIN_EVENTS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: ADDRESS_TOKENS_TRANSACTION_CONFIRMED type: string item: @@ -54131,18 +63183,19 @@ components: transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 network: ropsten targetConfirmations: 3 + token: null direction: incoming properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", are test networks." example: ropsten type: string address: @@ -54153,8 +63206,8 @@ components: minedInBlock: $ref: '#/components/schemas/AddressTokensTransactionConfirmed_data_item_minedInBlock' transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 type: string currentConfirmations: @@ -54163,13 +63216,13 @@ components: example: 2 type: integer targetConfirmations: - description: Defines the number of confirmation transactions requested as - callbacks, i.e. the system can notify till the n-th confirmation. + description: "Defines the number of confirmation transactions requested\ + \ as callbacks, i.e. the system can notify till the n-th confirmation." example: 3 type: integer tokenType: - description: Defines the type of token sent with the transaction, e.g. ERC - 20. + description: "Defines the type of token sent with the transaction, e.g.\ + \ ERC 20." enum: - ERC-20 - ERC-721 @@ -54199,8 +63252,8 @@ components: - transactionId type: object AddressTokensTransactionConfirmedEachConfirmation_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_EVENTS item: @@ -54215,6 +63268,7 @@ components: transactionId: 0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33 network: ropsten targetConfirmations: 3 + token: null direction: incoming event: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION properties: @@ -54223,8 +63277,8 @@ components: example: BLOCKCHAIN_EVENTS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: ADDRESS_TOKENS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION type: string item: @@ -54247,8 +63301,8 @@ components: example: 667754 type: integer hash: - description: Represents the hash of the block's header, i.e. an output that - has a fixed length. + description: "Represents the hash of the block's header, i.e. an output\ + \ that has a fixed length." example: dfe45f6724b550c281107ffaa5880cb280878fb4dbaa742aa21449f3d2340c13 type: string timestamp: @@ -54279,15 +63333,15 @@ components: direction: incoming properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: testnet type: string address: @@ -54298,8 +63352,8 @@ components: minedInBlock: $ref: '#/components/schemas/AddressCoinsTransactionConfirmedEachConfirmation_data_item_minedInBlock' transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: cbd3dea703bd2bc78bca69ee61ca14e6ffcdd809d07ebbc3b8fea3c30ea38f33 type: string currentConfirmations: @@ -54308,8 +63362,8 @@ components: example: 8 type: integer targetConfirmations: - description: Defines the number of confirmation transactions requested as - callbacks, i.e. the system can notify till the n-th confirmation. + description: "Defines the number of confirmation transactions requested\ + \ as callbacks, i.e. the system can notify till the n-th confirmation." example: 12 type: integer amount: @@ -54317,7 +63371,7 @@ components: example: "0.0611" type: string unit: - description: Defines the unit of the transaction, e.g. BTC. + description: "Defines the unit of the transaction, e.g. BTC." example: BTC type: string direction: @@ -54340,8 +63394,8 @@ components: - unit type: object AddressCoinsTransactionConfirmedEachConfirmation_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_EVENTS item: @@ -54365,8 +63419,8 @@ components: example: BLOCKCHAIN_EVENTS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: ADDRESS_COINS_TRANSACTION_CONFIRMED_EACH_CONFIRMATION type: string item: @@ -54389,8 +63443,8 @@ components: example: 667900 type: integer hash: - description: Represents the hash of the block's header, i.e. an output that - has a fixed length. + description: "Represents the hash of the block's header, i.e. an output\ + \ that has a fixed length." example: e9da0c8ce1861050c20f40fb660df4d13399f50b882e85bcd98126eb1173cc50 type: string timestamp: @@ -54415,20 +63469,20 @@ components: network: testnet properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: testnet type: string transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: e6439461e5bf8920e75740896d4b47730b844837295e8c3f2dbf441542aebcb6 type: string minedInBlock: @@ -54440,8 +63494,8 @@ components: - transactionId type: object TransactionMined_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_EVENTS item: @@ -54459,8 +63513,8 @@ components: example: BLOCKCHAIN_EVENTS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: TRANSACTION_MINED type: string item: @@ -54480,15 +63534,15 @@ components: timestamp: 1610365615 properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: testnet type: string height: @@ -54497,8 +63551,8 @@ components: example: 570008 type: integer hash: - description: Represents the hash of the block's header, i.e. an output that - has a fixed length. + description: "Represents the hash of the block's header, i.e. an output\ + \ that has a fixed length." example: 00000000000000000006ddb5e854505f8b792122b0ac9469c07eb26db414f6fb type: string timestamp: @@ -54514,8 +63568,8 @@ components: - timestamp type: object BlockMined_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_EVENTS item: @@ -54531,8 +63585,8 @@ components: example: BLOCKCHAIN_EVENTS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: BLOCK_MINED type: string item: @@ -54555,8 +63609,8 @@ components: example: 12567093 type: integer hash: - description: Represents the hash of the block's header, i.e. an output that - has a fixed length. + description: "Represents the hash of the block's header, i.e. an output\ + \ that has a fixed length." example: 0xa787415dc7c7025a43b87542a57872d1127f30f95daa87097cf5f26ef79d6950 type: string timestamp: @@ -54586,15 +63640,15 @@ components: direction: outgoing properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: mainnet type: string address: @@ -54616,7 +63670,7 @@ components: example: "0.94891479938916527" type: string unit: - description: Defines the unit of the transaction, e.g. Gwei. + description: "Defines the unit of the transaction, e.g. Gwei." example: ETH type: string direction: @@ -54638,8 +63692,8 @@ components: - unit type: object AddressInternalTransactionConfirmed_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_DATA item: @@ -54662,8 +63716,8 @@ components: example: BLOCKCHAIN_DATA type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED type: string item: @@ -54686,8 +63740,8 @@ components: example: 12566992 type: integer hash: - description: Represents the hash of the block's header, i.e. an output that - has a fixed length. + description: "Represents the hash of the block's header, i.e. an output\ + \ that has a fixed length." example: 0x936a34ef544e6fc9fc5f68fb086b9e8ea0e5eca52cb45cb67b27d174bccc35a5 type: string timestamp: @@ -54719,15 +63773,15 @@ components: direction: outgoing properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: ethereum type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: mainnet type: string address: @@ -54750,8 +63804,8 @@ components: example: 2 type: integer targetConfirmations: - description: Defines the number of confirmation transactions requested as - callbacks, i.e. the system can notify till the n-th confirmation. + description: "Defines the number of confirmation transactions requested\ + \ as callbacks, i.e. the system can notify till the n-th confirmation." example: 3 type: integer amount: @@ -54759,7 +63813,7 @@ components: example: "0.05710541741945074" type: string unit: - description: Defines the unit of the transaction, e.g. Gwei. + description: "Defines the unit of the transaction, e.g. Gwei." example: ETH type: string direction: @@ -54783,8 +63837,8 @@ components: - unit type: object AddressInternalTransactionConfirmedEachConfirmation_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_DATA item: @@ -54809,8 +63863,8 @@ components: example: BLOCKCHAIN_DATA type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: ADDRESS_INTERNAL_TRANSACTION_CONFIRMED_EACH_CONFIRMATION type: string item: @@ -54835,15 +63889,15 @@ components: triggerTransactionId: 86a7546bde4ac28b34504909d138592a6d6fc1277ea1f8f2f9c75dc04bdf3b7b properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: testnet type: string fromAddress: @@ -54859,8 +63913,8 @@ components: example: "00059441" type: string forwardedUnit: - description: Represents the unit of coins that have been forwarded, e.g. - BTC. + description: "Represents the unit of coins that have been forwarded, e.g.\ + \ BTC." example: BTC type: string spentFeesAmount: @@ -54869,8 +63923,8 @@ components: example: "0.00022827" type: string spentFeesUnit: - description: Represents the unit of the fee spent for the coins to be forwarded, - e.g. BTC. + description: "Represents the unit of the fee spent for the coins to be forwarded,\ + \ e.g. BTC." example: BTC type: string triggerTransactionId: @@ -54894,8 +63948,8 @@ components: - triggerTransactionId type: object CoinsForwardingSuccess_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_AUTOMATIONS item: @@ -54916,8 +63970,8 @@ components: example: BLOCKCHAIN_AUTOMATIONS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: COINS_FORWARDING_SUCCESS type: string item: @@ -54939,15 +63993,15 @@ components: triggerTransactionId: 7e56c9cfaec36c77049ce5298bc153bb03b0b6b5dae760a62915617015f8e2a6 properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: testnet type: string fromAddress: @@ -54983,8 +64037,8 @@ components: - triggerTransactionId type: object CoinsForwardingFail_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_AUTOMATIONS item: @@ -55002,8 +64056,8 @@ components: example: BLOCKCHAIN_AUTOMATIONS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: COINS_FORWARDING_FAIL type: string item: @@ -55025,17 +64079,18 @@ components: toAddress: mmd963W1fECjLyaDCHcioSCZYHkRwjkGST network: testnet triggerTransactionId: 6ed1f1c8f2887a78ee8c45a975d928ca63eafc7b63def56324606ddd3cc9854f + token: null properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\" are test networks." example: testnet type: string fromAddress: @@ -55052,8 +64107,8 @@ components: example: "0.00013601" type: string spentFeesUnit: - description: Represents the unit of the fee spent for the tokens to be forwarded, - e.g. BTC. + description: "Represents the unit of the fee spent for the tokens to be\ + \ forwarded, e.g. BTC." example: BTC type: string triggerTransactionId: @@ -55066,8 +64121,8 @@ components: example: b15ab5bbaf5107d551ae1b50181f4c55959205c4ff843e3c10d86d00e690fc72 type: string tokenType: - description: Defines the type of token sent with the transaction, e.g. ERC - 20. + description: "Defines the type of token sent with the transaction, e.g.\ + \ ERC 20." enum: - ERC-20 - ERC-721 @@ -55089,8 +64144,8 @@ components: - triggerTransactionId type: object TokensForwardingSuccess_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_AUTOMATIONS item: @@ -55103,6 +64158,7 @@ components: toAddress: mmd963W1fECjLyaDCHcioSCZYHkRwjkGST network: testnet triggerTransactionId: 6ed1f1c8f2887a78ee8c45a975d928ca63eafc7b63def56324606ddd3cc9854f + token: null event: TOKENS_FORWARDING_SUCCESS properties: product: @@ -55110,8 +64166,8 @@ components: example: BLOCKCHAIN_AUTOMATIONS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: TOKENS_FORWARDING_SUCCESS type: string item: @@ -55133,15 +64189,15 @@ components: triggerTransactionId: ba1a4e661d36457abc46ea0effef0105f639912119fc64df8fb866118ce7c0d8 properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: bitcoin type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: testnet type: string fromAddress: @@ -55180,8 +64236,8 @@ components: - triggerTransactionId type: object TokensForwardingFail_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_AUTOMATIONS item: @@ -55199,8 +64255,8 @@ components: example: BLOCKCHAIN_AUTOMATIONS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: TOKENS_FORWARDING_FAIL type: string item: @@ -55218,20 +64274,20 @@ components: network: Testnet/Mainnet (whichever applicable) properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: Bitcoin/Ethereum (whichever applicable) type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: Testnet/Mainnet (whichever applicable) type: string transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: 347d96855d41b77f1e23048fff11c18e9fe699ee69b0b402338f34189734e0a2 type: string required: @@ -55240,8 +64296,8 @@ components: - transactionId type: object BroadcastTransactionSuccess_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_TOOLS item: @@ -55255,8 +64311,8 @@ components: example: BLOCKCHAIN_TOOLS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: BROADCAST_TRANSACTION_SUCCESS type: string item: @@ -55275,20 +64331,20 @@ components: network: Testnet/Mainnet (whichever applicable) properties: blockchain: - description: Represents the specific blockchain protocol name, e.g. Ethereum, - Bitcoin, etc. + description: "Represents the specific blockchain protocol name, e.g. Ethereum,\ + \ Bitcoin, etc." example: Bitcoin/Ethereum (whichever applicable) type: string network: - description: Represents the name of the blockchain network used; blockchain - networks are usually identical as technology and software, but they differ - in data, e.g. - "mainnet" is the live network with actual data while networks - like "testnet", "ropsten", "rinkeby" are test networks. + description: "Represents the name of the blockchain network used; blockchain\ + \ networks are usually identical as technology and software, but they\ + \ differ in data, e.g. - \"mainnet\" is the live network with actual data\ + \ while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks." example: Testnet/Mainnet (whichever applicable) type: string transactionId: - description: Defines the unique ID of the specific transaction, i.e. its - identification number. + description: "Defines the unique ID of the specific transaction, i.e. its\ + \ identification number." example: d83c75dd0f73425a1a85023ba25bc7ff47333c823a0ea19fac28d4abe59fd612 type: string errorMessage: @@ -55302,8 +64358,8 @@ components: - transactionId type: object BroadcastTransactionFail_data: - description: Specifies all data, as attributes, included into the callback notification, - which depends on the `event`. + description: "Specifies all data, as attributes, included into the callback\ + \ notification, which depends on the `event`." example: product: BLOCKCHAIN_TOOLS item: @@ -55318,8 +64374,8 @@ components: example: BLOCKCHAIN_TOOLS type: string event: - description: Defines the specific event, for which a callback subscription - is set. + description: "Defines the specific event, for which a callback subscription\ + \ is set." example: BROADCAST_TRANSACTION_FAIL type: string item: @@ -55365,7 +64421,6 @@ x-tagGroups: - Tokens - Internal - HD Wallets - - UTXO Based - XRP (Ripple) - Omni Layer - Zilliqa diff --git a/api_assets.go b/api_assets.go index a6350e3..7aa51df 100644 --- a/api_assets.go +++ b/api_assets.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // AssetsApiService AssetsApi service type AssetsApiService service type ApiGetAssetDetailsByAssetIDRequest struct { - ctx _context.Context + ctx context.Context ApiService *AssetsApiService assetId string context *string @@ -41,7 +37,7 @@ func (r ApiGetAssetDetailsByAssetIDRequest) Context(context string) ApiGetAssetD return r } -func (r ApiGetAssetDetailsByAssetIDRequest) Execute() (GetAssetDetailsByAssetIDR, *_nethttp.Response, error) { +func (r ApiGetAssetDetailsByAssetIDRequest) Execute() (*GetAssetDetailsByAssetIDR, *http.Response, error) { return r.ApiService.GetAssetDetailsByAssetIDExecute(r) } @@ -52,11 +48,11 @@ Through this endpoint users can obtain information on assets by `assetId`. The details returned could include information on the latest rate and rate fluctuation of different periods of time - 24 hours, a week, one hour, the encoding of the logo, and more. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetId Defines the unique ID of the specific asset. @return ApiGetAssetDetailsByAssetIDRequest */ -func (a *AssetsApiService) GetAssetDetailsByAssetID(ctx _context.Context, assetId string) ApiGetAssetDetailsByAssetIDRequest { +func (a *AssetsApiService) GetAssetDetailsByAssetID(ctx context.Context, assetId string) ApiGetAssetDetailsByAssetIDRequest { return ApiGetAssetDetailsByAssetIDRequest{ ApiService: a, ctx: ctx, @@ -66,25 +62,25 @@ func (a *AssetsApiService) GetAssetDetailsByAssetID(ctx _context.Context, assetI // Execute executes the request // @return GetAssetDetailsByAssetIDR -func (a *AssetsApiService) GetAssetDetailsByAssetIDExecute(r ApiGetAssetDetailsByAssetIDRequest) (GetAssetDetailsByAssetIDR, *_nethttp.Response, error) { +func (a *AssetsApiService) GetAssetDetailsByAssetIDExecute(r ApiGetAssetDetailsByAssetIDRequest) (*GetAssetDetailsByAssetIDR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetAssetDetailsByAssetIDR + localVarReturnValue *GetAssetDetailsByAssetIDR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AssetsApiService.GetAssetDetailsByAssetID") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/market-data/assets/assetId/{assetId}" - localVarPath = strings.Replace(localVarPath, "{"+"assetId"+"}", _neturl.PathEscape(parameterToString(r.assetId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"assetId"+"}", url.PathEscape(parameterToString(r.assetId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -130,20 +126,20 @@ func (a *AssetsApiService) GetAssetDetailsByAssetIDExecute(r ApiGetAssetDetailsB return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40090 + var v InlineResponse400109 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -153,7 +149,7 @@ func (a *AssetsApiService) GetAssetDetailsByAssetIDExecute(r ApiGetAssetDetailsB return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40190 + var v InlineResponse401109 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -173,7 +169,7 @@ func (a *AssetsApiService) GetAssetDetailsByAssetIDExecute(r ApiGetAssetDetailsB return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40390 + var v InlineResponse403109 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -236,7 +232,7 @@ func (a *AssetsApiService) GetAssetDetailsByAssetIDExecute(r ApiGetAssetDetailsB err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -247,7 +243,7 @@ func (a *AssetsApiService) GetAssetDetailsByAssetIDExecute(r ApiGetAssetDetailsB } type ApiGetAssetDetailsByAssetSymbolRequest struct { - ctx _context.Context + ctx context.Context ApiService *AssetsApiService assetSymbol string context *string @@ -259,7 +255,7 @@ func (r ApiGetAssetDetailsByAssetSymbolRequest) Context(context string) ApiGetAs return r } -func (r ApiGetAssetDetailsByAssetSymbolRequest) Execute() (GetAssetDetailsByAssetSymbolR, *_nethttp.Response, error) { +func (r ApiGetAssetDetailsByAssetSymbolRequest) Execute() (*GetAssetDetailsByAssetSymbolR, *http.Response, error) { return r.ApiService.GetAssetDetailsByAssetSymbolExecute(r) } @@ -270,11 +266,11 @@ Through this endpoint users can obtain information on assets by asset symbol. The details returned could include information on the latest rate and rate fluctuation of different periods of time - 24 hours, a week, one hour, the encoding of the logo, and more. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param assetSymbol Specifies the asset's unique symbol in the Crypto APIs listings. @return ApiGetAssetDetailsByAssetSymbolRequest */ -func (a *AssetsApiService) GetAssetDetailsByAssetSymbol(ctx _context.Context, assetSymbol string) ApiGetAssetDetailsByAssetSymbolRequest { +func (a *AssetsApiService) GetAssetDetailsByAssetSymbol(ctx context.Context, assetSymbol string) ApiGetAssetDetailsByAssetSymbolRequest { return ApiGetAssetDetailsByAssetSymbolRequest{ ApiService: a, ctx: ctx, @@ -284,25 +280,25 @@ func (a *AssetsApiService) GetAssetDetailsByAssetSymbol(ctx _context.Context, as // Execute executes the request // @return GetAssetDetailsByAssetSymbolR -func (a *AssetsApiService) GetAssetDetailsByAssetSymbolExecute(r ApiGetAssetDetailsByAssetSymbolRequest) (GetAssetDetailsByAssetSymbolR, *_nethttp.Response, error) { +func (a *AssetsApiService) GetAssetDetailsByAssetSymbolExecute(r ApiGetAssetDetailsByAssetSymbolRequest) (*GetAssetDetailsByAssetSymbolR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetAssetDetailsByAssetSymbolR + localVarReturnValue *GetAssetDetailsByAssetSymbolR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AssetsApiService.GetAssetDetailsByAssetSymbol") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/market-data/assets/{assetSymbol}" - localVarPath = strings.Replace(localVarPath, "{"+"assetSymbol"+"}", _neturl.PathEscape(parameterToString(r.assetSymbol, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"assetSymbol"+"}", url.PathEscape(parameterToString(r.assetSymbol, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -348,20 +344,20 @@ func (a *AssetsApiService) GetAssetDetailsByAssetSymbolExecute(r ApiGetAssetDeta return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40091 + var v InlineResponse400110 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -371,7 +367,7 @@ func (a *AssetsApiService) GetAssetDetailsByAssetSymbolExecute(r ApiGetAssetDeta return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40191 + var v InlineResponse401110 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -391,7 +387,7 @@ func (a *AssetsApiService) GetAssetDetailsByAssetSymbolExecute(r ApiGetAssetDeta return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40391 + var v InlineResponse403110 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -454,7 +450,7 @@ func (a *AssetsApiService) GetAssetDetailsByAssetSymbolExecute(r ApiGetAssetDeta err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -465,7 +461,7 @@ func (a *AssetsApiService) GetAssetDetailsByAssetSymbolExecute(r ApiGetAssetDeta } type ApiListAssetsDetailsRequest struct { - ctx _context.Context + ctx context.Context ApiService *AssetsApiService context *string assetType *string @@ -480,33 +476,38 @@ func (r ApiListAssetsDetailsRequest) Context(context string) ApiListAssetsDetail r.context = &context return r } + // Defines the type of the supported asset. This could be either \"crypto\" or \"fiat\". func (r ApiListAssetsDetailsRequest) AssetType(assetType string) ApiListAssetsDetailsRequest { r.assetType = &assetType return r } + // Subtype of the crypto assets. Could be COIN or TOKEN func (r ApiListAssetsDetailsRequest) CryptoType(cryptoType string) ApiListAssetsDetailsRequest { r.cryptoType = &cryptoType return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListAssetsDetailsRequest) Limit(limit int32) ApiListAssetsDetailsRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListAssetsDetailsRequest) Offset(offset int32) ApiListAssetsDetailsRequest { r.offset = &offset return r } + // Show only if WaaS is/not enabled func (r ApiListAssetsDetailsRequest) WaasEnabled(waasEnabled bool) ApiListAssetsDetailsRequest { r.waasEnabled = &waasEnabled return r } -func (r ApiListAssetsDetailsRequest) Execute() (ListAssetsDetailsR, *_nethttp.Response, error) { +func (r ApiListAssetsDetailsRequest) Execute() (*ListAssetsDetailsR, *http.Response, error) { return r.ApiService.ListAssetsDetailsExecute(r) } @@ -517,10 +518,10 @@ This endpoint will return a list of details on assets. These could be cryptocurr The details returned could include information on the latest rate and rate fluctuation of different periods of time - 24 hours, a week, one hour, the encoding of the logo, and more. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListAssetsDetailsRequest */ -func (a *AssetsApiService) ListAssetsDetails(ctx _context.Context) ApiListAssetsDetailsRequest { +func (a *AssetsApiService) ListAssetsDetails(ctx context.Context) ApiListAssetsDetailsRequest { return ApiListAssetsDetailsRequest{ ApiService: a, ctx: ctx, @@ -529,24 +530,24 @@ func (a *AssetsApiService) ListAssetsDetails(ctx _context.Context) ApiListAssets // Execute executes the request // @return ListAssetsDetailsR -func (a *AssetsApiService) ListAssetsDetailsExecute(r ApiListAssetsDetailsRequest) (ListAssetsDetailsR, *_nethttp.Response, error) { +func (a *AssetsApiService) ListAssetsDetailsExecute(r ApiListAssetsDetailsRequest) (*ListAssetsDetailsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListAssetsDetailsR + localVarReturnValue *ListAssetsDetailsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AssetsApiService.ListAssetsDetails") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/market-data/assets/details" localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -607,20 +608,20 @@ func (a *AssetsApiService) ListAssetsDetailsExecute(r ApiListAssetsDetailsReques return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40089 + var v InlineResponse400108 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -630,7 +631,7 @@ func (a *AssetsApiService) ListAssetsDetailsExecute(r ApiListAssetsDetailsReques return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40189 + var v InlineResponse401108 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -650,7 +651,7 @@ func (a *AssetsApiService) ListAssetsDetailsExecute(r ApiListAssetsDetailsReques return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40389 + var v InlineResponse403108 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -713,7 +714,7 @@ func (a *AssetsApiService) ListAssetsDetailsExecute(r ApiListAssetsDetailsReques err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_automatic_coins_forwarding.go b/api_automatic_coins_forwarding.go index 907e591..008543e 100644 --- a/api_automatic_coins_forwarding.go +++ b/api_automatic_coins_forwarding.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // AutomaticCoinsForwardingApiService AutomaticCoinsForwardingApi service type AutomaticCoinsForwardingApiService service type ApiCreateAutomaticCoinsForwardingRequest struct { - ctx _context.Context + ctx context.Context ApiService *AutomaticCoinsForwardingApiService blockchain string network string @@ -42,12 +38,13 @@ func (r ApiCreateAutomaticCoinsForwardingRequest) Context(context string) ApiCre r.context = &context return r } + func (r ApiCreateAutomaticCoinsForwardingRequest) CreateAutomaticCoinsForwardingRB(createAutomaticCoinsForwardingRB CreateAutomaticCoinsForwardingRB) ApiCreateAutomaticCoinsForwardingRequest { r.createAutomaticCoinsForwardingRB = &createAutomaticCoinsForwardingRB return r } -func (r ApiCreateAutomaticCoinsForwardingRequest) Execute() (CreateAutomaticCoinsForwardingR, *_nethttp.Response, error) { +func (r ApiCreateAutomaticCoinsForwardingRequest) Execute() (*CreateAutomaticCoinsForwardingR, *http.Response, error) { return r.ApiService.CreateAutomaticCoinsForwardingExecute(r) } @@ -68,12 +65,12 @@ For this automatic forwarding the customer can set a callback subscription. {note}This endpoint generates a new `fromAddress` each time.{/note} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiCreateAutomaticCoinsForwardingRequest */ -func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwarding(ctx _context.Context, blockchain string, network string) ApiCreateAutomaticCoinsForwardingRequest { +func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwarding(ctx context.Context, blockchain string, network string) ApiCreateAutomaticCoinsForwardingRequest { return ApiCreateAutomaticCoinsForwardingRequest{ ApiService: a, ctx: ctx, @@ -84,26 +81,26 @@ func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwarding(ctx // Execute executes the request // @return CreateAutomaticCoinsForwardingR -func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwardingExecute(r ApiCreateAutomaticCoinsForwardingRequest) (CreateAutomaticCoinsForwardingR, *_nethttp.Response, error) { +func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwardingExecute(r ApiCreateAutomaticCoinsForwardingRequest) (*CreateAutomaticCoinsForwardingR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue CreateAutomaticCoinsForwardingR + localVarReturnValue *CreateAutomaticCoinsForwardingR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutomaticCoinsForwardingApiService.CreateAutomaticCoinsForwarding") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-automations/{blockchain}/{network}/coins-forwarding/automations" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -151,20 +148,20 @@ func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwardingExecu return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40076 + var v InlineResponse40090 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -174,7 +171,7 @@ func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwardingExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40176 + var v InlineResponse40190 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -194,7 +191,7 @@ func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwardingExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40376 + var v InlineResponse40390 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -267,7 +264,7 @@ func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwardingExecu err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -278,7 +275,7 @@ func (a *AutomaticCoinsForwardingApiService) CreateAutomaticCoinsForwardingExecu } type ApiDeleteAutomaticCoinsForwardingRequest struct { - ctx _context.Context + ctx context.Context ApiService *AutomaticCoinsForwardingApiService blockchain string network string @@ -292,7 +289,7 @@ func (r ApiDeleteAutomaticCoinsForwardingRequest) Context(context string) ApiDel return r } -func (r ApiDeleteAutomaticCoinsForwardingRequest) Execute() (DeleteAutomaticCoinsForwardingR, *_nethttp.Response, error) { +func (r ApiDeleteAutomaticCoinsForwardingRequest) Execute() (*DeleteAutomaticCoinsForwardingR, *http.Response, error) { return r.ApiService.DeleteAutomaticCoinsForwardingExecute(r) } @@ -307,13 +304,13 @@ A `feePriority` will be returned which represents the fee priority of the automa {warning}The subscription will work for all incoming transactions until it is deleted. There is no need to do that for every transaction.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param referenceId Represents a unique ID used to reference the specific callback subscription. @return ApiDeleteAutomaticCoinsForwardingRequest */ -func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwarding(ctx _context.Context, blockchain string, network string, referenceId string) ApiDeleteAutomaticCoinsForwardingRequest { +func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwarding(ctx context.Context, blockchain string, network string, referenceId string) ApiDeleteAutomaticCoinsForwardingRequest { return ApiDeleteAutomaticCoinsForwardingRequest{ ApiService: a, ctx: ctx, @@ -325,27 +322,27 @@ func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwarding(ctx // Execute executes the request // @return DeleteAutomaticCoinsForwardingR -func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwardingExecute(r ApiDeleteAutomaticCoinsForwardingRequest) (DeleteAutomaticCoinsForwardingR, *_nethttp.Response, error) { +func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwardingExecute(r ApiDeleteAutomaticCoinsForwardingRequest) (*DeleteAutomaticCoinsForwardingR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodDelete + localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue DeleteAutomaticCoinsForwardingR + localVarReturnValue *DeleteAutomaticCoinsForwardingR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutomaticCoinsForwardingApiService.DeleteAutomaticCoinsForwarding") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-automations/{blockchain}/{network}/coins-forwarding/automations/{referenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", _neturl.PathEscape(parameterToString(r.referenceId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", url.PathEscape(parameterToString(r.referenceId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -391,20 +388,20 @@ func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwardingExecu return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40077 + var v InlineResponse40091 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -414,7 +411,7 @@ func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwardingExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40177 + var v InlineResponse40191 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -434,7 +431,7 @@ func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwardingExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40377 + var v InlineResponse40391 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -507,7 +504,7 @@ func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwardingExecu err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -518,7 +515,7 @@ func (a *AutomaticCoinsForwardingApiService) DeleteAutomaticCoinsForwardingExecu } type ApiListCoinsForwardingAutomationsRequest struct { - ctx _context.Context + ctx context.Context ApiService *AutomaticCoinsForwardingApiService blockchain string network string @@ -532,18 +529,20 @@ func (r ApiListCoinsForwardingAutomationsRequest) Context(context string) ApiLis r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListCoinsForwardingAutomationsRequest) Limit(limit int32) ApiListCoinsForwardingAutomationsRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListCoinsForwardingAutomationsRequest) Offset(offset int32) ApiListCoinsForwardingAutomationsRequest { r.offset = &offset return r } -func (r ApiListCoinsForwardingAutomationsRequest) Execute() (ListCoinsForwardingAutomationsR, *_nethttp.Response, error) { +func (r ApiListCoinsForwardingAutomationsRequest) Execute() (*ListCoinsForwardingAutomationsR, *http.Response, error) { return r.ApiService.ListCoinsForwardingAutomationsExecute(r) } @@ -558,12 +557,12 @@ A `feePriority` will be returned which represents the fee priority of the automa {warning}The subscription will work for all transactions until it is deleted. There is no need to do that for every transaction.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiListCoinsForwardingAutomationsRequest */ -func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomations(ctx _context.Context, blockchain string, network string) ApiListCoinsForwardingAutomationsRequest { +func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomations(ctx context.Context, blockchain string, network string) ApiListCoinsForwardingAutomationsRequest { return ApiListCoinsForwardingAutomationsRequest{ ApiService: a, ctx: ctx, @@ -574,26 +573,26 @@ func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomations(ctx // Execute executes the request // @return ListCoinsForwardingAutomationsR -func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomationsExecute(r ApiListCoinsForwardingAutomationsRequest) (ListCoinsForwardingAutomationsR, *_nethttp.Response, error) { +func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomationsExecute(r ApiListCoinsForwardingAutomationsRequest) (*ListCoinsForwardingAutomationsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListCoinsForwardingAutomationsR + localVarReturnValue *ListCoinsForwardingAutomationsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutomaticCoinsForwardingApiService.ListCoinsForwardingAutomations") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-automations/{blockchain}/{network}/coins-forwarding/automations" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -645,20 +644,20 @@ func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomationsExecu return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40075 + var v InlineResponse40089 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -668,7 +667,7 @@ func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomationsExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40175 + var v InlineResponse40189 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -688,7 +687,7 @@ func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomationsExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40375 + var v InlineResponse40389 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -761,7 +760,7 @@ func (a *AutomaticCoinsForwardingApiService) ListCoinsForwardingAutomationsExecu err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_automatic_tokens_forwarding.go b/api_automatic_tokens_forwarding.go index 4dcab5d..241a86d 100644 --- a/api_automatic_tokens_forwarding.go +++ b/api_automatic_tokens_forwarding.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // AutomaticTokensForwardingApiService AutomaticTokensForwardingApi service type AutomaticTokensForwardingApiService service type ApiAddTokensToExistingFromAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *AutomaticTokensForwardingApiService blockchain string network string @@ -42,12 +38,13 @@ func (r ApiAddTokensToExistingFromAddressRequest) Context(context string) ApiAdd r.context = &context return r } + func (r ApiAddTokensToExistingFromAddressRequest) AddTokensToExistingFromAddressRB(addTokensToExistingFromAddressRB AddTokensToExistingFromAddressRB) ApiAddTokensToExistingFromAddressRequest { r.addTokensToExistingFromAddressRB = &addTokensToExistingFromAddressRB return r } -func (r ApiAddTokensToExistingFromAddressRequest) Execute() (AddTokensToExistingFromAddressR, *_nethttp.Response, error) { +func (r ApiAddTokensToExistingFromAddressRequest) Execute() (*AddTokensToExistingFromAddressR, *http.Response, error) { return r.ApiService.AddTokensToExistingFromAddressExecute(r) } @@ -68,12 +65,12 @@ For this automatic forwarding the customer can set a callback subscription. {warning}The subscription will work for all incoming transactions until it is deleted. There is no need to do that for every transaction.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiAddTokensToExistingFromAddressRequest */ -func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddress(ctx _context.Context, blockchain string, network string) ApiAddTokensToExistingFromAddressRequest { +func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddress(ctx context.Context, blockchain string, network string) ApiAddTokensToExistingFromAddressRequest { return ApiAddTokensToExistingFromAddressRequest{ ApiService: a, ctx: ctx, @@ -84,26 +81,26 @@ func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddress(ctx // Execute executes the request // @return AddTokensToExistingFromAddressR -func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddressExecute(r ApiAddTokensToExistingFromAddressRequest) (AddTokensToExistingFromAddressR, *_nethttp.Response, error) { +func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddressExecute(r ApiAddTokensToExistingFromAddressRequest) (*AddTokensToExistingFromAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue AddTokensToExistingFromAddressR + localVarReturnValue *AddTokensToExistingFromAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutomaticTokensForwardingApiService.AddTokensToExistingFromAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/add-token" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -151,20 +148,20 @@ func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddressExec return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40080 + var v InlineResponse40094 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -174,7 +171,7 @@ func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddressExec return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40180 + var v InlineResponse40194 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -194,7 +191,7 @@ func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddressExec return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40380 + var v InlineResponse40394 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -267,7 +264,7 @@ func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddressExec err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -278,7 +275,7 @@ func (a *AutomaticTokensForwardingApiService) AddTokensToExistingFromAddressExec } type ApiCreateAutomaticTokensForwardingRequest struct { - ctx _context.Context + ctx context.Context ApiService *AutomaticTokensForwardingApiService blockchain string network string @@ -291,12 +288,13 @@ func (r ApiCreateAutomaticTokensForwardingRequest) Context(context string) ApiCr r.context = &context return r } + func (r ApiCreateAutomaticTokensForwardingRequest) CreateAutomaticTokensForwardingRB(createAutomaticTokensForwardingRB CreateAutomaticTokensForwardingRB) ApiCreateAutomaticTokensForwardingRequest { r.createAutomaticTokensForwardingRB = &createAutomaticTokensForwardingRB return r } -func (r ApiCreateAutomaticTokensForwardingRequest) Execute() (CreateAutomaticTokensForwardingR, *_nethttp.Response, error) { +func (r ApiCreateAutomaticTokensForwardingRequest) Execute() (*CreateAutomaticTokensForwardingR, *http.Response, error) { return r.ApiService.CreateAutomaticTokensForwardingExecute(r) } @@ -319,12 +317,12 @@ For this automatic forwarding the customer can set a callback subscription. {note}This endpoint generates a new `fromAddress` each time.{/note} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiCreateAutomaticTokensForwardingRequest */ -func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwarding(ctx _context.Context, blockchain string, network string) ApiCreateAutomaticTokensForwardingRequest { +func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwarding(ctx context.Context, blockchain string, network string) ApiCreateAutomaticTokensForwardingRequest { return ApiCreateAutomaticTokensForwardingRequest{ ApiService: a, ctx: ctx, @@ -335,26 +333,26 @@ func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwarding(ct // Execute executes the request // @return CreateAutomaticTokensForwardingR -func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwardingExecute(r ApiCreateAutomaticTokensForwardingRequest) (CreateAutomaticTokensForwardingR, *_nethttp.Response, error) { +func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwardingExecute(r ApiCreateAutomaticTokensForwardingRequest) (*CreateAutomaticTokensForwardingR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue CreateAutomaticTokensForwardingR + localVarReturnValue *CreateAutomaticTokensForwardingR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutomaticTokensForwardingApiService.CreateAutomaticTokensForwarding") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -402,20 +400,20 @@ func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwardingExe return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40079 + var v InlineResponse40093 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -425,7 +423,7 @@ func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwardingExe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40179 + var v InlineResponse40193 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -445,7 +443,7 @@ func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwardingExe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40379 + var v InlineResponse40393 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -518,7 +516,7 @@ func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwardingExe err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -529,7 +527,7 @@ func (a *AutomaticTokensForwardingApiService) CreateAutomaticTokensForwardingExe } type ApiDeleteAutomaticTokensForwardingRequest struct { - ctx _context.Context + ctx context.Context ApiService *AutomaticTokensForwardingApiService blockchain string network string @@ -543,7 +541,7 @@ func (r ApiDeleteAutomaticTokensForwardingRequest) Context(context string) ApiDe return r } -func (r ApiDeleteAutomaticTokensForwardingRequest) Execute() (DeleteAutomaticTokensForwardingR, *_nethttp.Response, error) { +func (r ApiDeleteAutomaticTokensForwardingRequest) Execute() (*DeleteAutomaticTokensForwardingR, *http.Response, error) { return r.ApiService.DeleteAutomaticTokensForwardingExecute(r) } @@ -560,13 +558,13 @@ A `feePriority` will be returned which represents the fee priority of the automa {warning}The subscription will work for all incoming transactions until it is deleted. There is no need to do that for every transaction.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param referenceId Represents a unique ID used to reference the specific callback subscription. @return ApiDeleteAutomaticTokensForwardingRequest */ -func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwarding(ctx _context.Context, blockchain string, network string, referenceId string) ApiDeleteAutomaticTokensForwardingRequest { +func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwarding(ctx context.Context, blockchain string, network string, referenceId string) ApiDeleteAutomaticTokensForwardingRequest { return ApiDeleteAutomaticTokensForwardingRequest{ ApiService: a, ctx: ctx, @@ -578,27 +576,27 @@ func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwarding(ct // Execute executes the request // @return DeleteAutomaticTokensForwardingR -func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwardingExecute(r ApiDeleteAutomaticTokensForwardingRequest) (DeleteAutomaticTokensForwardingR, *_nethttp.Response, error) { +func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwardingExecute(r ApiDeleteAutomaticTokensForwardingRequest) (*DeleteAutomaticTokensForwardingR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodDelete + localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue DeleteAutomaticTokensForwardingR + localVarReturnValue *DeleteAutomaticTokensForwardingR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutomaticTokensForwardingApiService.DeleteAutomaticTokensForwarding") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/{referenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", _neturl.PathEscape(parameterToString(r.referenceId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", url.PathEscape(parameterToString(r.referenceId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -644,20 +642,20 @@ func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwardingExe return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40082 + var v InlineResponse40096 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -667,7 +665,7 @@ func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwardingExe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40182 + var v InlineResponse40196 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -687,7 +685,7 @@ func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwardingExe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40382 + var v InlineResponse40396 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -760,7 +758,7 @@ func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwardingExe err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -771,7 +769,7 @@ func (a *AutomaticTokensForwardingApiService) DeleteAutomaticTokensForwardingExe } type ApiGetFeeAddressDetailsRequest struct { - ctx _context.Context + ctx context.Context ApiService *AutomaticTokensForwardingApiService blockchain string network string @@ -784,7 +782,7 @@ func (r ApiGetFeeAddressDetailsRequest) Context(context string) ApiGetFeeAddress return r } -func (r ApiGetFeeAddressDetailsRequest) Execute() (GetFeeAddressDetailsR, *_nethttp.Response, error) { +func (r ApiGetFeeAddressDetailsRequest) Execute() (*GetFeeAddressDetailsR, *http.Response, error) { return r.ApiService.GetFeeAddressDetailsExecute(r) } @@ -795,12 +793,12 @@ Through this endpoint customers can obtain details about a fee address. Only one {warning}Currently we support fungible tokens (ERC-20) **only**, NFTs (ERC-721) are **not** supported.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiGetFeeAddressDetailsRequest */ -func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetails(ctx _context.Context, blockchain string, network string) ApiGetFeeAddressDetailsRequest { +func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetails(ctx context.Context, blockchain string, network string) ApiGetFeeAddressDetailsRequest { return ApiGetFeeAddressDetailsRequest{ ApiService: a, ctx: ctx, @@ -811,26 +809,26 @@ func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetails(ctx _context. // Execute executes the request // @return GetFeeAddressDetailsR -func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetailsExecute(r ApiGetFeeAddressDetailsRequest) (GetFeeAddressDetailsR, *_nethttp.Response, error) { +func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetailsExecute(r ApiGetFeeAddressDetailsRequest) (*GetFeeAddressDetailsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetFeeAddressDetailsR + localVarReturnValue *GetFeeAddressDetailsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutomaticTokensForwardingApiService.GetFeeAddressDetails") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-automations/{blockchain}/{network}/tokens-forwarding/fee-addresses" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -876,20 +874,20 @@ func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetailsExecute(r ApiG return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40081 + var v InlineResponse40095 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -899,7 +897,7 @@ func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetailsExecute(r ApiG return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40181 + var v InlineResponse40195 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -919,7 +917,7 @@ func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetailsExecute(r ApiG return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40381 + var v InlineResponse40395 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -992,7 +990,7 @@ func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetailsExecute(r ApiG err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1003,7 +1001,7 @@ func (a *AutomaticTokensForwardingApiService) GetFeeAddressDetailsExecute(r ApiG } type ApiListTokensForwardingAutomationsRequest struct { - ctx _context.Context + ctx context.Context ApiService *AutomaticTokensForwardingApiService blockchain string network string @@ -1017,18 +1015,20 @@ func (r ApiListTokensForwardingAutomationsRequest) Context(context string) ApiLi r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListTokensForwardingAutomationsRequest) Limit(limit int32) ApiListTokensForwardingAutomationsRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListTokensForwardingAutomationsRequest) Offset(offset int32) ApiListTokensForwardingAutomationsRequest { r.offset = &offset return r } -func (r ApiListTokensForwardingAutomationsRequest) Execute() (ListTokensForwardingAutomationsR, *_nethttp.Response, error) { +func (r ApiListTokensForwardingAutomationsRequest) Execute() (*ListTokensForwardingAutomationsR, *http.Response, error) { return r.ApiService.ListTokensForwardingAutomationsExecute(r) } @@ -1045,12 +1045,12 @@ A `feePriority` will be returned which represents the fee priority of the automa {warning}The subscription will work for all transactions until it is deleted. There is no need to do that for every transaction.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiListTokensForwardingAutomationsRequest */ -func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomations(ctx _context.Context, blockchain string, network string) ApiListTokensForwardingAutomationsRequest { +func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomations(ctx context.Context, blockchain string, network string) ApiListTokensForwardingAutomationsRequest { return ApiListTokensForwardingAutomationsRequest{ ApiService: a, ctx: ctx, @@ -1061,26 +1061,26 @@ func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomations(ct // Execute executes the request // @return ListTokensForwardingAutomationsR -func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomationsExecute(r ApiListTokensForwardingAutomationsRequest) (ListTokensForwardingAutomationsR, *_nethttp.Response, error) { +func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomationsExecute(r ApiListTokensForwardingAutomationsRequest) (*ListTokensForwardingAutomationsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListTokensForwardingAutomationsR + localVarReturnValue *ListTokensForwardingAutomationsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AutomaticTokensForwardingApiService.ListTokensForwardingAutomations") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1132,20 +1132,20 @@ func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomationsExe return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40078 + var v InlineResponse40092 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1155,7 +1155,7 @@ func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomationsExe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40178 + var v InlineResponse40192 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1175,7 +1175,7 @@ func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomationsExe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40378 + var v InlineResponse40392 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1248,7 +1248,7 @@ func (a *AutomaticTokensForwardingApiService) ListTokensForwardingAutomationsExe err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_callback_data.go b/api_callback_data.go index c967534..4a69ee9 100644 --- a/api_callback_data.go +++ b/api_callback_data.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // CallbackDataApiService CallbackDataApi service type CallbackDataApiService service type ApiGetAddressDetailsFromCallbackRequest struct { - ctx _context.Context + ctx context.Context ApiService *CallbackDataApiService blockchain string network string @@ -43,7 +39,7 @@ func (r ApiGetAddressDetailsFromCallbackRequest) Context(context string) ApiGetA return r } -func (r ApiGetAddressDetailsFromCallbackRequest) Execute() (GetAddressDetailsFromCallbackR, *_nethttp.Response, error) { +func (r ApiGetAddressDetailsFromCallbackRequest) Execute() (*GetAddressDetailsFromCallbackR, *http.Response, error) { return r.ApiService.GetAddressDetailsFromCallbackExecute(r) } @@ -52,13 +48,13 @@ GetAddressDetailsFromCallback Get Address Details From Callback This endpoint creates a shortcut to obtain information from Blockchain data by going through Blockchain Events and a specific Event Subscription. It provides data for a specific address from the Event it takes part in only if the address already exists in the blockchain events subscriptions. It applies only for Events related to that customer. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiGetAddressDetailsFromCallbackRequest */ -func (a *CallbackDataApiService) GetAddressDetailsFromCallback(ctx _context.Context, blockchain string, network string, address string) ApiGetAddressDetailsFromCallbackRequest { +func (a *CallbackDataApiService) GetAddressDetailsFromCallback(ctx context.Context, blockchain string, network string, address string) ApiGetAddressDetailsFromCallbackRequest { return ApiGetAddressDetailsFromCallbackRequest{ ApiService: a, ctx: ctx, @@ -70,27 +66,27 @@ func (a *CallbackDataApiService) GetAddressDetailsFromCallback(ctx _context.Cont // Execute executes the request // @return GetAddressDetailsFromCallbackR -func (a *CallbackDataApiService) GetAddressDetailsFromCallbackExecute(r ApiGetAddressDetailsFromCallbackRequest) (GetAddressDetailsFromCallbackR, *_nethttp.Response, error) { +func (a *CallbackDataApiService) GetAddressDetailsFromCallbackExecute(r ApiGetAddressDetailsFromCallbackRequest) (*GetAddressDetailsFromCallbackR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetAddressDetailsFromCallbackR + localVarReturnValue *GetAddressDetailsFromCallbackR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CallbackDataApiService.GetAddressDetailsFromCallback") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/addresses/{address}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -136,20 +132,20 @@ func (a *CallbackDataApiService) GetAddressDetailsFromCallbackExecute(r ApiGetAd return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40069 + var v InlineResponse40083 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -159,7 +155,7 @@ func (a *CallbackDataApiService) GetAddressDetailsFromCallbackExecute(r ApiGetAd return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40169 + var v InlineResponse40183 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -179,7 +175,7 @@ func (a *CallbackDataApiService) GetAddressDetailsFromCallbackExecute(r ApiGetAd return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40369 + var v InlineResponse40383 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -252,7 +248,7 @@ func (a *CallbackDataApiService) GetAddressDetailsFromCallbackExecute(r ApiGetAd err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -263,7 +259,7 @@ func (a *CallbackDataApiService) GetAddressDetailsFromCallbackExecute(r ApiGetAd } type ApiGetBlockDetailsByBlockHashFromCallbackRequest struct { - ctx _context.Context + ctx context.Context ApiService *CallbackDataApiService blockchain string network string @@ -277,7 +273,7 @@ func (r ApiGetBlockDetailsByBlockHashFromCallbackRequest) Context(context string return r } -func (r ApiGetBlockDetailsByBlockHashFromCallbackRequest) Execute() (GetBlockDetailsByBlockHashFromCallbackR, *_nethttp.Response, error) { +func (r ApiGetBlockDetailsByBlockHashFromCallbackRequest) Execute() (*GetBlockDetailsByBlockHashFromCallbackR, *http.Response, error) { return r.ApiService.GetBlockDetailsByBlockHashFromCallbackExecute(r) } @@ -286,13 +282,13 @@ GetBlockDetailsByBlockHashFromCallback Get Block Details By Block Hash From Call This endpoint creates a shortcut to obtain information from Blockchain data by going through Blockchain Events and a specific Event Subscription. It provides data for a specific block by providing the `blockHash` attribute from the Event it takes part in and after making check that the customer in question does have a subscription for this block. It applies only for Events related to that user. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @return ApiGetBlockDetailsByBlockHashFromCallbackRequest */ -func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallback(ctx _context.Context, blockchain string, network string, blockHash string) ApiGetBlockDetailsByBlockHashFromCallbackRequest { +func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallback(ctx context.Context, blockchain string, network string, blockHash string) ApiGetBlockDetailsByBlockHashFromCallbackRequest { return ApiGetBlockDetailsByBlockHashFromCallbackRequest{ ApiService: a, ctx: ctx, @@ -304,27 +300,27 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallback(ctx _con // Execute executes the request // @return GetBlockDetailsByBlockHashFromCallbackR -func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallbackExecute(r ApiGetBlockDetailsByBlockHashFromCallbackRequest) (GetBlockDetailsByBlockHashFromCallbackR, *_nethttp.Response, error) { +func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallbackExecute(r ApiGetBlockDetailsByBlockHashFromCallbackRequest) (*GetBlockDetailsByBlockHashFromCallbackR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetBlockDetailsByBlockHashFromCallbackR + localVarReturnValue *GetBlockDetailsByBlockHashFromCallbackR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CallbackDataApiService.GetBlockDetailsByBlockHashFromCallback") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockcain-events/{blockchain}/{network}/blocks/hash/{blockHash}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", _neturl.PathEscape(parameterToString(r.blockHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", url.PathEscape(parameterToString(r.blockHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -370,20 +366,20 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallbackExecute(r return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40071 + var v InlineResponse40085 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -393,7 +389,7 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallbackExecute(r return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40171 + var v InlineResponse40185 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -413,7 +409,7 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallbackExecute(r return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40371 + var v InlineResponse40385 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -486,7 +482,7 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallbackExecute(r err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -497,7 +493,7 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHashFromCallbackExecute(r } type ApiGetBlockDetailsByBlockHeightFromCallbackRequest struct { - ctx _context.Context + ctx context.Context ApiService *CallbackDataApiService blockchain string network string @@ -511,7 +507,7 @@ func (r ApiGetBlockDetailsByBlockHeightFromCallbackRequest) Context(context stri return r } -func (r ApiGetBlockDetailsByBlockHeightFromCallbackRequest) Execute() (GetBlockDetailsByBlockHeightFromCallbackR, *_nethttp.Response, error) { +func (r ApiGetBlockDetailsByBlockHeightFromCallbackRequest) Execute() (*GetBlockDetailsByBlockHeightFromCallbackR, *http.Response, error) { return r.ApiService.GetBlockDetailsByBlockHeightFromCallbackExecute(r) } @@ -520,13 +516,13 @@ GetBlockDetailsByBlockHeightFromCallback Get Block Details By Block Height From This endpoint creates a shortcut to obtain information from Blockchain data by going through Blockchain Events and a specific Event Subscription. It provides data for the specific Block by providing the `blockHeight` attribute from the Event it takes part in. It applies only for Events related to that user. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHeight Numeric representation of the block height @return ApiGetBlockDetailsByBlockHeightFromCallbackRequest */ -func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallback(ctx _context.Context, blockchain string, network string, blockHeight string) ApiGetBlockDetailsByBlockHeightFromCallbackRequest { +func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallback(ctx context.Context, blockchain string, network string, blockHeight string) ApiGetBlockDetailsByBlockHeightFromCallbackRequest { return ApiGetBlockDetailsByBlockHeightFromCallbackRequest{ ApiService: a, ctx: ctx, @@ -538,27 +534,27 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallback(ctx _c // Execute executes the request // @return GetBlockDetailsByBlockHeightFromCallbackR -func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallbackExecute(r ApiGetBlockDetailsByBlockHeightFromCallbackRequest) (GetBlockDetailsByBlockHeightFromCallbackR, *_nethttp.Response, error) { +func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallbackExecute(r ApiGetBlockDetailsByBlockHeightFromCallbackRequest) (*GetBlockDetailsByBlockHeightFromCallbackR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetBlockDetailsByBlockHeightFromCallbackR + localVarReturnValue *GetBlockDetailsByBlockHeightFromCallbackR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CallbackDataApiService.GetBlockDetailsByBlockHeightFromCallback") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockcain-events/{blockchain}/{network}/blocks/height/{blockHeight}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", _neturl.PathEscape(parameterToString(r.blockHeight, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", url.PathEscape(parameterToString(r.blockHeight, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -604,20 +600,20 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallbackExecute return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40072 + var v InlineResponse40086 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -627,7 +623,7 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallbackExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40172 + var v InlineResponse40186 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -647,7 +643,7 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallbackExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40372 + var v InlineResponse40386 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -720,7 +716,7 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallbackExecute err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -731,7 +727,7 @@ func (a *CallbackDataApiService) GetBlockDetailsByBlockHeightFromCallbackExecute } type ApiGetTransactionDetailsByTransactionIDFromCallbackRequest struct { - ctx _context.Context + ctx context.Context ApiService *CallbackDataApiService blockchain string network string @@ -745,7 +741,7 @@ func (r ApiGetTransactionDetailsByTransactionIDFromCallbackRequest) Context(cont return r } -func (r ApiGetTransactionDetailsByTransactionIDFromCallbackRequest) Execute() (GetTransactionDetailsByTransactionIDFromCallbackR, *_nethttp.Response, error) { +func (r ApiGetTransactionDetailsByTransactionIDFromCallbackRequest) Execute() (*GetTransactionDetailsByTransactionIDFromCallbackR, *http.Response, error) { return r.ApiService.GetTransactionDetailsByTransactionIDFromCallbackExecute(r) } @@ -754,13 +750,13 @@ GetTransactionDetailsByTransactionIDFromCallback Get Transaction Details By Tran This endpoint creates a shortcut to obtain information from Blockchain data by going through Blockchain Events and a specific Event Subscription. It provides data for a specific transaction from the Event it takes part in by providing the `transactionId` attribute. It applies only for Events related to that user. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param transactionId String identifier of the transaction @return ApiGetTransactionDetailsByTransactionIDFromCallbackRequest */ -func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallback(ctx _context.Context, blockchain string, network string, transactionId string) ApiGetTransactionDetailsByTransactionIDFromCallbackRequest { +func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallback(ctx context.Context, blockchain string, network string, transactionId string) ApiGetTransactionDetailsByTransactionIDFromCallbackRequest { return ApiGetTransactionDetailsByTransactionIDFromCallbackRequest{ ApiService: a, ctx: ctx, @@ -772,27 +768,27 @@ func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallbac // Execute executes the request // @return GetTransactionDetailsByTransactionIDFromCallbackR -func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallbackExecute(r ApiGetTransactionDetailsByTransactionIDFromCallbackRequest) (GetTransactionDetailsByTransactionIDFromCallbackR, *_nethttp.Response, error) { +func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallbackExecute(r ApiGetTransactionDetailsByTransactionIDFromCallbackRequest) (*GetTransactionDetailsByTransactionIDFromCallbackR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetTransactionDetailsByTransactionIDFromCallbackR + localVarReturnValue *GetTransactionDetailsByTransactionIDFromCallbackR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CallbackDataApiService.GetTransactionDetailsByTransactionIDFromCallback") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/transactions/{transactionId}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", _neturl.PathEscape(parameterToString(r.transactionId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", url.PathEscape(parameterToString(r.transactionId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -838,20 +834,20 @@ func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallbac return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40070 + var v InlineResponse40084 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -861,7 +857,7 @@ func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallbac return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40170 + var v InlineResponse40184 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -881,7 +877,7 @@ func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallbac return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40370 + var v InlineResponse40384 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -954,7 +950,7 @@ func (a *CallbackDataApiService) GetTransactionDetailsByTransactionIDFromCallbac err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_create_subscriptions_for.go b/api_create_subscriptions_for.go index aa84127..a11f3f9 100644 --- a/api_create_subscriptions_for.go +++ b/api_create_subscriptions_for.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // CreateSubscriptionsForApiService CreateSubscriptionsForApi service type CreateSubscriptionsForApiService service type ApiMinedTransactionRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -42,12 +38,13 @@ func (r ApiMinedTransactionRequest) Context(context string) ApiMinedTransactionR r.context = &context return r } + func (r ApiMinedTransactionRequest) MinedTransactionRB(minedTransactionRB MinedTransactionRB) ApiMinedTransactionRequest { r.minedTransactionRB = &minedTransactionRB return r } -func (r ApiMinedTransactionRequest) Execute() (MinedTransactionR, *_nethttp.Response, error) { +func (r ApiMinedTransactionRequest) Execute() (*MinedTransactionR, *http.Response, error) { return r.ApiService.MinedTransactionExecute(r) } @@ -62,12 +59,12 @@ A transaction is mined when it is included in a new block in the blockchain. {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiMinedTransactionRequest */ -func (a *CreateSubscriptionsForApiService) MinedTransaction(ctx _context.Context, blockchain string, network string) ApiMinedTransactionRequest { +func (a *CreateSubscriptionsForApiService) MinedTransaction(ctx context.Context, blockchain string, network string) ApiMinedTransactionRequest { return ApiMinedTransactionRequest{ ApiService: a, ctx: ctx, @@ -78,26 +75,26 @@ func (a *CreateSubscriptionsForApiService) MinedTransaction(ctx _context.Context // Execute executes the request // @return MinedTransactionR -func (a *CreateSubscriptionsForApiService) MinedTransactionExecute(r ApiMinedTransactionRequest) (MinedTransactionR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) MinedTransactionExecute(r ApiMinedTransactionRequest) (*MinedTransactionR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue MinedTransactionR + localVarReturnValue *MinedTransactionR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.MinedTransaction") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/transaction-mined" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -145,20 +142,20 @@ func (a *CreateSubscriptionsForApiService) MinedTransactionExecute(r ApiMinedTra return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40064 + var v InlineResponse40077 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -168,7 +165,7 @@ func (a *CreateSubscriptionsForApiService) MinedTransactionExecute(r ApiMinedTra return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40164 + var v InlineResponse40177 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -188,7 +185,7 @@ func (a *CreateSubscriptionsForApiService) MinedTransactionExecute(r ApiMinedTra return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40364 + var v InlineResponse40377 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -251,7 +248,7 @@ func (a *CreateSubscriptionsForApiService) MinedTransactionExecute(r ApiMinedTra err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -262,7 +259,7 @@ func (a *CreateSubscriptionsForApiService) MinedTransactionExecute(r ApiMinedTra } type ApiNewBlockRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -275,12 +272,13 @@ func (r ApiNewBlockRequest) Context(context string) ApiNewBlockRequest { r.context = &context return r } + func (r ApiNewBlockRequest) NewBlockRB(newBlockRB NewBlockRB) ApiNewBlockRequest { r.newBlockRB = &newBlockRB return r } -func (r ApiNewBlockRequest) Execute() (NewBlockR, *_nethttp.Response, error) { +func (r ApiNewBlockRequest) Execute() (*NewBlockR, *http.Response, error) { return r.ApiService.NewBlockExecute(r) } @@ -295,12 +293,12 @@ A new block is mined when it is added to the chain once a consensus is reached b {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewBlockRequest */ -func (a *CreateSubscriptionsForApiService) NewBlock(ctx _context.Context, blockchain string, network string) ApiNewBlockRequest { +func (a *CreateSubscriptionsForApiService) NewBlock(ctx context.Context, blockchain string, network string) ApiNewBlockRequest { return ApiNewBlockRequest{ ApiService: a, ctx: ctx, @@ -311,26 +309,26 @@ func (a *CreateSubscriptionsForApiService) NewBlock(ctx _context.Context, blockc // Execute executes the request // @return NewBlockR -func (a *CreateSubscriptionsForApiService) NewBlockExecute(r ApiNewBlockRequest) (NewBlockR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewBlockExecute(r ApiNewBlockRequest) (*NewBlockR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewBlockR + localVarReturnValue *NewBlockR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewBlock") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/block-mined" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -378,20 +376,20 @@ func (a *CreateSubscriptionsForApiService) NewBlockExecute(r ApiNewBlockRequest) return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40065 + var v InlineResponse40078 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -401,7 +399,7 @@ func (a *CreateSubscriptionsForApiService) NewBlockExecute(r ApiNewBlockRequest) return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40165 + var v InlineResponse40178 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -421,7 +419,7 @@ func (a *CreateSubscriptionsForApiService) NewBlockExecute(r ApiNewBlockRequest) return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40365 + var v InlineResponse40378 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -484,7 +482,7 @@ func (a *CreateSubscriptionsForApiService) NewBlockExecute(r ApiNewBlockRequest) err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -495,7 +493,7 @@ func (a *CreateSubscriptionsForApiService) NewBlockExecute(r ApiNewBlockRequest) } type ApiNewConfirmedCoinsTransactionsRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -508,12 +506,13 @@ func (r ApiNewConfirmedCoinsTransactionsRequest) Context(context string) ApiNewC r.context = &context return r } + func (r ApiNewConfirmedCoinsTransactionsRequest) NewConfirmedCoinsTransactionsRB(newConfirmedCoinsTransactionsRB NewConfirmedCoinsTransactionsRB) ApiNewConfirmedCoinsTransactionsRequest { r.newConfirmedCoinsTransactionsRB = &newConfirmedCoinsTransactionsRB return r } -func (r ApiNewConfirmedCoinsTransactionsRequest) Execute() (NewConfirmedCoinsTransactionsR, *_nethttp.Response, error) { +func (r ApiNewConfirmedCoinsTransactionsRequest) Execute() (*NewConfirmedCoinsTransactionsR, *http.Response, error) { return r.ApiService.NewConfirmedCoinsTransactionsExecute(r) } @@ -530,12 +529,12 @@ Being confirmed means that the transactions are verified by miners and added to {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewConfirmedCoinsTransactionsRequest */ -func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactions(ctx _context.Context, blockchain string, network string) ApiNewConfirmedCoinsTransactionsRequest { +func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactions(ctx context.Context, blockchain string, network string) ApiNewConfirmedCoinsTransactionsRequest { return ApiNewConfirmedCoinsTransactionsRequest{ ApiService: a, ctx: ctx, @@ -546,26 +545,26 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactions(ctx _co // Execute executes the request // @return NewConfirmedCoinsTransactionsR -func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsExecute(r ApiNewConfirmedCoinsTransactionsRequest) (NewConfirmedCoinsTransactionsR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsExecute(r ApiNewConfirmedCoinsTransactionsRequest) (*NewConfirmedCoinsTransactionsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewConfirmedCoinsTransactionsR + localVarReturnValue *NewConfirmedCoinsTransactionsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewConfirmedCoinsTransactions") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -613,20 +612,20 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsExecute( return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40060 + var v InlineResponse40073 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -636,7 +635,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsExecute( return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40160 + var v InlineResponse40173 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -656,7 +655,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsExecute( return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40360 + var v InlineResponse40373 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -719,7 +718,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsExecute( err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -730,7 +729,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsExecute( } type ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -743,12 +742,13 @@ func (r ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest) Context(cont r.context = &context return r } + func (r ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest) NewConfirmedCoinsTransactionsAndEachConfirmationRB(newConfirmedCoinsTransactionsAndEachConfirmationRB NewConfirmedCoinsTransactionsAndEachConfirmationRB) ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest { r.newConfirmedCoinsTransactionsAndEachConfirmationRB = &newConfirmedCoinsTransactionsAndEachConfirmationRB return r } -func (r ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest) Execute() (NewConfirmedCoinsTransactionsAndEachConfirmationR, *_nethttp.Response, error) { +func (r ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest) Execute() (*NewConfirmedCoinsTransactionsAndEachConfirmationR, *http.Response, error) { return r.ApiService.NewConfirmedCoinsTransactionsAndEachConfirmationExecute(r) } @@ -765,12 +765,12 @@ Being confirmed means that the transactions are verified by miners and added to {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest */ -func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachConfirmation(ctx _context.Context, blockchain string, network string) ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest { +func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachConfirmation(ctx context.Context, blockchain string, network string) ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest { return ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest{ ApiService: a, ctx: ctx, @@ -781,26 +781,26 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachC // Execute executes the request // @return NewConfirmedCoinsTransactionsAndEachConfirmationR -func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachConfirmationExecute(r ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest) (NewConfirmedCoinsTransactionsAndEachConfirmationR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachConfirmationExecute(r ApiNewConfirmedCoinsTransactionsAndEachConfirmationRequest) (*NewConfirmedCoinsTransactionsAndEachConfirmationR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewConfirmedCoinsTransactionsAndEachConfirmationR + localVarReturnValue *NewConfirmedCoinsTransactionsAndEachConfirmationR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewConfirmedCoinsTransactionsAndEachConfirmation") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed-each-confirmation" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -848,20 +848,20 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachC return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40063 + var v InlineResponse40076 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -871,7 +871,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachC return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40163 + var v InlineResponse40176 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -891,7 +891,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachC return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40363 + var v InlineResponse40376 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -954,7 +954,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachC err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -965,7 +965,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedCoinsTransactionsAndEachC } type ApiNewConfirmedInternalTransactionsRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -978,12 +978,13 @@ func (r ApiNewConfirmedInternalTransactionsRequest) Context(context string) ApiN r.context = &context return r } + func (r ApiNewConfirmedInternalTransactionsRequest) NewConfirmedInternalTransactionsRB(newConfirmedInternalTransactionsRB NewConfirmedInternalTransactionsRB) ApiNewConfirmedInternalTransactionsRequest { r.newConfirmedInternalTransactionsRB = &newConfirmedInternalTransactionsRB return r } -func (r ApiNewConfirmedInternalTransactionsRequest) Execute() (NewConfirmedInternalTransactionsR, *_nethttp.Response, error) { +func (r ApiNewConfirmedInternalTransactionsRequest) Execute() (*NewConfirmedInternalTransactionsR, *http.Response, error) { return r.ApiService.NewConfirmedInternalTransactionsExecute(r) } @@ -998,12 +999,12 @@ Being confirmed means that the transactions are verified by miners and added to {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewConfirmedInternalTransactionsRequest */ -func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactions(ctx _context.Context, blockchain string, network string) ApiNewConfirmedInternalTransactionsRequest { +func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactions(ctx context.Context, blockchain string, network string) ApiNewConfirmedInternalTransactionsRequest { return ApiNewConfirmedInternalTransactionsRequest{ ApiService: a, ctx: ctx, @@ -1014,26 +1015,26 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactions(ctx // Execute executes the request // @return NewConfirmedInternalTransactionsR -func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsExecute(r ApiNewConfirmedInternalTransactionsRequest) (NewConfirmedInternalTransactionsR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsExecute(r ApiNewConfirmedInternalTransactionsRequest) (*NewConfirmedInternalTransactionsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewConfirmedInternalTransactionsR + localVarReturnValue *NewConfirmedInternalTransactionsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewConfirmedInternalTransactions") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1081,20 +1082,20 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsExecu return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40073 + var v InlineResponse40087 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1104,7 +1105,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40173 + var v InlineResponse40187 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1124,7 +1125,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40373 + var v InlineResponse40387 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1187,7 +1188,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsExecu err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1198,7 +1199,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsExecu } type ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -1211,12 +1212,13 @@ func (r ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest) Context(c r.context = &context return r } + func (r ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest) NewConfirmedInternalTransactionsAndEachConfirmationRB(newConfirmedInternalTransactionsAndEachConfirmationRB NewConfirmedInternalTransactionsAndEachConfirmationRB) ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest { r.newConfirmedInternalTransactionsAndEachConfirmationRB = &newConfirmedInternalTransactionsAndEachConfirmationRB return r } -func (r ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest) Execute() (NewConfirmedInternalTransactionsAndEachConfirmationR, *_nethttp.Response, error) { +func (r ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest) Execute() (*NewConfirmedInternalTransactionsAndEachConfirmationR, *http.Response, error) { return r.ApiService.NewConfirmedInternalTransactionsAndEachConfirmationExecute(r) } @@ -1231,12 +1233,12 @@ Being confirmed means that the transactions are verified by miners and added to {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest */ -func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEachConfirmation(ctx _context.Context, blockchain string, network string) ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest { +func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEachConfirmation(ctx context.Context, blockchain string, network string) ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest { return ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest{ ApiService: a, ctx: ctx, @@ -1247,26 +1249,26 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEa // Execute executes the request // @return NewConfirmedInternalTransactionsAndEachConfirmationR -func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEachConfirmationExecute(r ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest) (NewConfirmedInternalTransactionsAndEachConfirmationR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEachConfirmationExecute(r ApiNewConfirmedInternalTransactionsAndEachConfirmationRequest) (*NewConfirmedInternalTransactionsAndEachConfirmationR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewConfirmedInternalTransactionsAndEachConfirmationR + localVarReturnValue *NewConfirmedInternalTransactionsAndEachConfirmationR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewConfirmedInternalTransactionsAndEachConfirmation") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed-each-confirmation" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1314,20 +1316,20 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEa return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40074 + var v InlineResponse40088 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1337,7 +1339,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEa return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40174 + var v InlineResponse40188 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1357,7 +1359,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEa return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40374 + var v InlineResponse40388 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1420,7 +1422,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEa err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1431,7 +1433,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedInternalTransactionsAndEa } type ApiNewConfirmedTokensTransactionsRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -1444,12 +1446,13 @@ func (r ApiNewConfirmedTokensTransactionsRequest) Context(context string) ApiNew r.context = &context return r } + func (r ApiNewConfirmedTokensTransactionsRequest) NewConfirmedTokensTransactionsRB(newConfirmedTokensTransactionsRB NewConfirmedTokensTransactionsRB) ApiNewConfirmedTokensTransactionsRequest { r.newConfirmedTokensTransactionsRB = &newConfirmedTokensTransactionsRB return r } -func (r ApiNewConfirmedTokensTransactionsRequest) Execute() (NewConfirmedTokensTransactionsR, *_nethttp.Response, error) { +func (r ApiNewConfirmedTokensTransactionsRequest) Execute() (*NewConfirmedTokensTransactionsR, *http.Response, error) { return r.ApiService.NewConfirmedTokensTransactionsExecute(r) } @@ -1464,12 +1467,12 @@ Being confirmed means that the transactions are verified by miners and added to {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewConfirmedTokensTransactionsRequest */ -func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactions(ctx _context.Context, blockchain string, network string) ApiNewConfirmedTokensTransactionsRequest { +func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactions(ctx context.Context, blockchain string, network string) ApiNewConfirmedTokensTransactionsRequest { return ApiNewConfirmedTokensTransactionsRequest{ ApiService: a, ctx: ctx, @@ -1480,26 +1483,26 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactions(ctx _c // Execute executes the request // @return NewConfirmedTokensTransactionsR -func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsExecute(r ApiNewConfirmedTokensTransactionsRequest) (NewConfirmedTokensTransactionsR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsExecute(r ApiNewConfirmedTokensTransactionsRequest) (*NewConfirmedTokensTransactionsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewConfirmedTokensTransactionsR + localVarReturnValue *NewConfirmedTokensTransactionsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewConfirmedTokensTransactions") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1547,20 +1550,20 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsExecute return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40061 + var v InlineResponse40074 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1570,7 +1573,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40161 + var v InlineResponse40174 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1590,7 +1593,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40361 + var v InlineResponse40374 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1653,7 +1656,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsExecute err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1664,7 +1667,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsExecute } type ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -1677,12 +1680,13 @@ func (r ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest) Context(con r.context = &context return r } + func (r ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest) NewConfirmedTokensTransactionsAndEachConfirmationRB(newConfirmedTokensTransactionsAndEachConfirmationRB NewConfirmedTokensTransactionsAndEachConfirmationRB) ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest { r.newConfirmedTokensTransactionsAndEachConfirmationRB = &newConfirmedTokensTransactionsAndEachConfirmationRB return r } -func (r ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest) Execute() (NewConfirmedTokensTransactionsAndEachConfirmationR, *_nethttp.Response, error) { +func (r ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest) Execute() (*NewConfirmedTokensTransactionsAndEachConfirmationR, *http.Response, error) { return r.ApiService.NewConfirmedTokensTransactionsAndEachConfirmationExecute(r) } @@ -1697,12 +1701,12 @@ Being confirmed means that the transactions are verified by miners and added to {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest */ -func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEachConfirmation(ctx _context.Context, blockchain string, network string) ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest { +func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEachConfirmation(ctx context.Context, blockchain string, network string) ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest { return ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest{ ApiService: a, ctx: ctx, @@ -1713,26 +1717,26 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEach // Execute executes the request // @return NewConfirmedTokensTransactionsAndEachConfirmationR -func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEachConfirmationExecute(r ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest) (NewConfirmedTokensTransactionsAndEachConfirmationR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEachConfirmationExecute(r ApiNewConfirmedTokensTransactionsAndEachConfirmationRequest) (*NewConfirmedTokensTransactionsAndEachConfirmationR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewConfirmedTokensTransactionsAndEachConfirmationR + localVarReturnValue *NewConfirmedTokensTransactionsAndEachConfirmationR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewConfirmedTokensTransactionsAndEachConfirmation") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed-each-confirmation" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1780,20 +1784,20 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEach return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40062 + var v InlineResponse40075 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1803,7 +1807,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEach return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40162 + var v InlineResponse40175 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1823,7 +1827,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEach return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40362 + var v InlineResponse40375 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1886,7 +1890,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEach err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1897,7 +1901,7 @@ func (a *CreateSubscriptionsForApiService) NewConfirmedTokensTransactionsAndEach } type ApiNewUnconfirmedCoinsTransactionsRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -1910,12 +1914,13 @@ func (r ApiNewUnconfirmedCoinsTransactionsRequest) Context(context string) ApiNe r.context = &context return r } + func (r ApiNewUnconfirmedCoinsTransactionsRequest) NewUnconfirmedCoinsTransactionsRB(newUnconfirmedCoinsTransactionsRB NewUnconfirmedCoinsTransactionsRB) ApiNewUnconfirmedCoinsTransactionsRequest { r.newUnconfirmedCoinsTransactionsRB = &newUnconfirmedCoinsTransactionsRB return r } -func (r ApiNewUnconfirmedCoinsTransactionsRequest) Execute() (NewUnconfirmedCoinsTransactionsR, *_nethttp.Response, error) { +func (r ApiNewUnconfirmedCoinsTransactionsRequest) Execute() (*NewUnconfirmedCoinsTransactionsR, *http.Response, error) { return r.ApiService.NewUnconfirmedCoinsTransactionsExecute(r) } @@ -1936,12 +1941,12 @@ Unconfirmed coins transactions remain in the mempool (memory pool) until they ar {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewUnconfirmedCoinsTransactionsRequest */ -func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactions(ctx _context.Context, blockchain string, network string) ApiNewUnconfirmedCoinsTransactionsRequest { +func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactions(ctx context.Context, blockchain string, network string) ApiNewUnconfirmedCoinsTransactionsRequest { return ApiNewUnconfirmedCoinsTransactionsRequest{ ApiService: a, ctx: ctx, @@ -1952,26 +1957,26 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactions(ctx _ // Execute executes the request // @return NewUnconfirmedCoinsTransactionsR -func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactionsExecute(r ApiNewUnconfirmedCoinsTransactionsRequest) (NewUnconfirmedCoinsTransactionsR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactionsExecute(r ApiNewUnconfirmedCoinsTransactionsRequest) (*NewUnconfirmedCoinsTransactionsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewUnconfirmedCoinsTransactionsR + localVarReturnValue *NewUnconfirmedCoinsTransactionsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewUnconfirmedCoinsTransactions") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-unconfirmed" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -2019,20 +2024,20 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactionsExecut return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40058 + var v InlineResponse40071 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2042,7 +2047,7 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactionsExecut return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40158 + var v InlineResponse40171 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2062,7 +2067,7 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactionsExecut return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40358 + var v InlineResponse40371 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2125,7 +2130,7 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactionsExecut err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -2136,7 +2141,7 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedCoinsTransactionsExecut } type ApiNewUnconfirmedTokensTransactionsRequest struct { - ctx _context.Context + ctx context.Context ApiService *CreateSubscriptionsForApiService blockchain string network string @@ -2149,12 +2154,13 @@ func (r ApiNewUnconfirmedTokensTransactionsRequest) Context(context string) ApiN r.context = &context return r } + func (r ApiNewUnconfirmedTokensTransactionsRequest) NewUnconfirmedTokensTransactionsRB(newUnconfirmedTokensTransactionsRB NewUnconfirmedTokensTransactionsRB) ApiNewUnconfirmedTokensTransactionsRequest { r.newUnconfirmedTokensTransactionsRB = &newUnconfirmedTokensTransactionsRB return r } -func (r ApiNewUnconfirmedTokensTransactionsRequest) Execute() (NewUnconfirmedTokensTransactionsR, *_nethttp.Response, error) { +func (r ApiNewUnconfirmedTokensTransactionsRequest) Execute() (*NewUnconfirmedTokensTransactionsR, *http.Response, error) { return r.ApiService.NewUnconfirmedTokensTransactionsExecute(r) } @@ -2173,12 +2179,12 @@ Unconfirmed tokens transactions remain in the mempool (memory pool) until they a {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiNewUnconfirmedTokensTransactionsRequest */ -func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactions(ctx _context.Context, blockchain string, network string) ApiNewUnconfirmedTokensTransactionsRequest { +func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactions(ctx context.Context, blockchain string, network string) ApiNewUnconfirmedTokensTransactionsRequest { return ApiNewUnconfirmedTokensTransactionsRequest{ ApiService: a, ctx: ctx, @@ -2189,26 +2195,26 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactions(ctx // Execute executes the request // @return NewUnconfirmedTokensTransactionsR -func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactionsExecute(r ApiNewUnconfirmedTokensTransactionsRequest) (NewUnconfirmedTokensTransactionsR, *_nethttp.Response, error) { +func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactionsExecute(r ApiNewUnconfirmedTokensTransactionsRequest) (*NewUnconfirmedTokensTransactionsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue NewUnconfirmedTokensTransactionsR + localVarReturnValue *NewUnconfirmedTokensTransactionsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CreateSubscriptionsForApiService.NewUnconfirmedTokensTransactions") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-unconfirmed" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -2256,20 +2262,20 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactionsExecu return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40059 + var v InlineResponse40072 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2279,7 +2285,7 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactionsExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40159 + var v InlineResponse40172 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2299,7 +2305,7 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactionsExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40359 + var v InlineResponse40372 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2362,7 +2368,7 @@ func (a *CreateSubscriptionsForApiService) NewUnconfirmedTokensTransactionsExecu err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_exchange_rates.go b/api_exchange_rates.go index 051d98a..694fd03 100644 --- a/api_exchange_rates.go +++ b/api_exchange_rates.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // ExchangeRatesApiService ExchangeRatesApi service type ExchangeRatesApiService service type ApiGetExchangeRateByAssetSymbolsRequest struct { - ctx _context.Context + ctx context.Context ApiService *ExchangeRatesApiService fromAssetSymbol string toAssetSymbol string @@ -42,13 +38,14 @@ func (r ApiGetExchangeRateByAssetSymbolsRequest) Context(context string) ApiGetE r.context = &context return r } + // Defines the time of the market data used to calculate the exchange rate in UNIX Timestamp. func (r ApiGetExchangeRateByAssetSymbolsRequest) CalculationTimestamp(calculationTimestamp int32) ApiGetExchangeRateByAssetSymbolsRequest { r.calculationTimestamp = &calculationTimestamp return r } -func (r ApiGetExchangeRateByAssetSymbolsRequest) Execute() (GetExchangeRateByAssetSymbolsR, *_nethttp.Response, error) { +func (r ApiGetExchangeRateByAssetSymbolsRequest) Execute() (*GetExchangeRateByAssetSymbolsR, *http.Response, error) { return r.ApiService.GetExchangeRateByAssetSymbolsExecute(r) } @@ -57,12 +54,12 @@ GetExchangeRateByAssetSymbols Get Exchange Rate By Asset Symbols Through this endpoint customers can obtain exchange rates by asset symbols. The process represents the exchange rate value of a single unit of one asset versus another one. Data is provided per unique asset symbol. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param fromAssetSymbol Defines the base asset symbol to get a rate for. @param toAssetSymbol Defines the relation asset symbol in which the base asset rate will be displayed. @return ApiGetExchangeRateByAssetSymbolsRequest */ -func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbols(ctx _context.Context, fromAssetSymbol string, toAssetSymbol string) ApiGetExchangeRateByAssetSymbolsRequest { +func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbols(ctx context.Context, fromAssetSymbol string, toAssetSymbol string) ApiGetExchangeRateByAssetSymbolsRequest { return ApiGetExchangeRateByAssetSymbolsRequest{ ApiService: a, ctx: ctx, @@ -73,26 +70,26 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbols(ctx _context.Con // Execute executes the request // @return GetExchangeRateByAssetSymbolsR -func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbolsExecute(r ApiGetExchangeRateByAssetSymbolsRequest) (GetExchangeRateByAssetSymbolsR, *_nethttp.Response, error) { +func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbolsExecute(r ApiGetExchangeRateByAssetSymbolsRequest) (*GetExchangeRateByAssetSymbolsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetExchangeRateByAssetSymbolsR + localVarReturnValue *GetExchangeRateByAssetSymbolsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExchangeRatesApiService.GetExchangeRateByAssetSymbols") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/market-data/exchange-rates/by-symbols/{fromAssetSymbol}/{toAssetSymbol}" - localVarPath = strings.Replace(localVarPath, "{"+"fromAssetSymbol"+"}", _neturl.PathEscape(parameterToString(r.fromAssetSymbol, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"toAssetSymbol"+"}", _neturl.PathEscape(parameterToString(r.toAssetSymbol, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"fromAssetSymbol"+"}", url.PathEscape(parameterToString(r.fromAssetSymbol, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"toAssetSymbol"+"}", url.PathEscape(parameterToString(r.toAssetSymbol, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -141,20 +138,20 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbolsExecute(r ApiGetE return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40087 + var v InlineResponse400106 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -164,7 +161,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbolsExecute(r ApiGetE return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40187 + var v InlineResponse401106 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -184,7 +181,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbolsExecute(r ApiGetE return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40387 + var v InlineResponse403106 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -214,7 +211,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbolsExecute(r ApiGetE return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v InlineResponse4224 + var v InlineResponse4226 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -247,7 +244,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbolsExecute(r ApiGetE err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -258,7 +255,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetSymbolsExecute(r ApiGetE } type ApiGetExchangeRateByAssetsIDsRequest struct { - ctx _context.Context + ctx context.Context ApiService *ExchangeRatesApiService fromAssetId string toAssetId string @@ -271,13 +268,14 @@ func (r ApiGetExchangeRateByAssetsIDsRequest) Context(context string) ApiGetExch r.context = &context return r } + // Defines the time of the market data used to calculate the exchange rate in UNIX Timestamp. func (r ApiGetExchangeRateByAssetsIDsRequest) CalculationTimestamp(calculationTimestamp int32) ApiGetExchangeRateByAssetsIDsRequest { r.calculationTimestamp = &calculationTimestamp return r } -func (r ApiGetExchangeRateByAssetsIDsRequest) Execute() (GetExchangeRateByAssetsIDsR, *_nethttp.Response, error) { +func (r ApiGetExchangeRateByAssetsIDsRequest) Execute() (*GetExchangeRateByAssetsIDsR, *http.Response, error) { return r.ApiService.GetExchangeRateByAssetsIDsExecute(r) } @@ -286,12 +284,12 @@ GetExchangeRateByAssetsIDs Get Exchange Rate By Assets IDs Through this endpoint customers can obtain exchange rates by asset IDs. The process represents the exchange rate value of a single unit of one asset versus another one. Data is provided per unique asset Reference ID. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param fromAssetId Defines the base asset Reference ID to get a rate for. @param toAssetId Defines the relation asset Reference ID in which the base asset rate will be displayed. @return ApiGetExchangeRateByAssetsIDsRequest */ -func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDs(ctx _context.Context, fromAssetId string, toAssetId string) ApiGetExchangeRateByAssetsIDsRequest { +func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDs(ctx context.Context, fromAssetId string, toAssetId string) ApiGetExchangeRateByAssetsIDsRequest { return ApiGetExchangeRateByAssetsIDsRequest{ ApiService: a, ctx: ctx, @@ -302,26 +300,26 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDs(ctx _context.Contex // Execute executes the request // @return GetExchangeRateByAssetsIDsR -func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDsExecute(r ApiGetExchangeRateByAssetsIDsRequest) (GetExchangeRateByAssetsIDsR, *_nethttp.Response, error) { +func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDsExecute(r ApiGetExchangeRateByAssetsIDsRequest) (*GetExchangeRateByAssetsIDsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetExchangeRateByAssetsIDsR + localVarReturnValue *GetExchangeRateByAssetsIDsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExchangeRatesApiService.GetExchangeRateByAssetsIDs") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/market-data/exchange-rates/by-asset-ids/{fromAssetId}/{toAssetId}" - localVarPath = strings.Replace(localVarPath, "{"+"fromAssetId"+"}", _neturl.PathEscape(parameterToString(r.fromAssetId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"toAssetId"+"}", _neturl.PathEscape(parameterToString(r.toAssetId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"fromAssetId"+"}", url.PathEscape(parameterToString(r.fromAssetId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"toAssetId"+"}", url.PathEscape(parameterToString(r.toAssetId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -370,20 +368,20 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDsExecute(r ApiGetExch return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40088 + var v InlineResponse400107 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -393,7 +391,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDsExecute(r ApiGetExch return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40188 + var v InlineResponse401107 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -413,7 +411,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDsExecute(r ApiGetExch return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40388 + var v InlineResponse403107 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -443,7 +441,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDsExecute(r ApiGetExch return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v InlineResponse4225 + var v InlineResponse4227 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -476,7 +474,7 @@ func (a *ExchangeRatesApiService) GetExchangeRateByAssetsIDsExecute(r ApiGetExch err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_features.go b/api_features.go index a367834..236e8e0 100644 --- a/api_features.go +++ b/api_features.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // FeaturesApiService FeaturesApi service type FeaturesApiService service type ApiBroadcastLocallySignedTransactionRequest struct { - ctx _context.Context + ctx context.Context ApiService *FeaturesApiService blockchain string network string @@ -42,12 +38,13 @@ func (r ApiBroadcastLocallySignedTransactionRequest) Context(context string) Api r.context = &context return r } + func (r ApiBroadcastLocallySignedTransactionRequest) BroadcastLocallySignedTransactionRB(broadcastLocallySignedTransactionRB BroadcastLocallySignedTransactionRB) ApiBroadcastLocallySignedTransactionRequest { r.broadcastLocallySignedTransactionRB = &broadcastLocallySignedTransactionRB return r } -func (r ApiBroadcastLocallySignedTransactionRequest) Execute() (BroadcastLocallySignedTransactionR, *_nethttp.Response, error) { +func (r ApiBroadcastLocallySignedTransactionRequest) Execute() (*BroadcastLocallySignedTransactionR, *http.Response, error) { return r.ApiService.BroadcastLocallySignedTransactionExecute(r) } @@ -58,12 +55,12 @@ Through this endpoint customers can broadcast transactions that have been alread {warning}This can be prepared and signed **only** locally, not through the API. We can provide support only for the process of broadcasting.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiBroadcastLocallySignedTransactionRequest */ -func (a *FeaturesApiService) BroadcastLocallySignedTransaction(ctx _context.Context, blockchain string, network string) ApiBroadcastLocallySignedTransactionRequest { +func (a *FeaturesApiService) BroadcastLocallySignedTransaction(ctx context.Context, blockchain string, network string) ApiBroadcastLocallySignedTransactionRequest { return ApiBroadcastLocallySignedTransactionRequest{ ApiService: a, ctx: ctx, @@ -74,26 +71,26 @@ func (a *FeaturesApiService) BroadcastLocallySignedTransaction(ctx _context.Cont // Execute executes the request // @return BroadcastLocallySignedTransactionR -func (a *FeaturesApiService) BroadcastLocallySignedTransactionExecute(r ApiBroadcastLocallySignedTransactionRequest) (BroadcastLocallySignedTransactionR, *_nethttp.Response, error) { +func (a *FeaturesApiService) BroadcastLocallySignedTransactionExecute(r ApiBroadcastLocallySignedTransactionRequest) (*BroadcastLocallySignedTransactionR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue BroadcastLocallySignedTransactionR + localVarReturnValue *BroadcastLocallySignedTransactionR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.BroadcastLocallySignedTransaction") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/transactions/broadcast" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -141,20 +138,20 @@ func (a *FeaturesApiService) BroadcastLocallySignedTransactionExecute(r ApiBroad return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40085 + var v InlineResponse40099 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -164,7 +161,7 @@ func (a *FeaturesApiService) BroadcastLocallySignedTransactionExecute(r ApiBroad return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40185 + var v InlineResponse40199 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -184,7 +181,7 @@ func (a *FeaturesApiService) BroadcastLocallySignedTransactionExecute(r ApiBroad return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40385 + var v InlineResponse40399 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -257,7 +254,7 @@ func (a *FeaturesApiService) BroadcastLocallySignedTransactionExecute(r ApiBroad err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -267,71 +264,77 @@ func (a *FeaturesApiService) BroadcastLocallySignedTransactionExecute(r ApiBroad return localVarReturnValue, localVarHTTPResponse, nil } -type ApiGetEIP1559FeeRecommendationsRequest struct { - ctx _context.Context +type ApiDecodeRawTransactionHexRequest struct { + ctx context.Context ApiService *FeaturesApiService - network string blockchain string + network string context *string + decodeRawTransactionHexRB *DecodeRawTransactionHexRB } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiGetEIP1559FeeRecommendationsRequest) Context(context string) ApiGetEIP1559FeeRecommendationsRequest { +func (r ApiDecodeRawTransactionHexRequest) Context(context string) ApiDecodeRawTransactionHexRequest { r.context = &context return r } -func (r ApiGetEIP1559FeeRecommendationsRequest) Execute() (GetEIP1559FeeRecommendationsR, *_nethttp.Response, error) { - return r.ApiService.GetEIP1559FeeRecommendationsExecute(r) +func (r ApiDecodeRawTransactionHexRequest) DecodeRawTransactionHexRB(decodeRawTransactionHexRB DecodeRawTransactionHexRB) ApiDecodeRawTransactionHexRequest { + r.decodeRawTransactionHexRB = &decodeRawTransactionHexRB + return r +} + +func (r ApiDecodeRawTransactionHexRequest) Execute() (*DecodeRawTransactionHexR, *http.Response, error) { + return r.ApiService.DecodeRawTransactionHexExecute(r) } /* -GetEIP1559FeeRecommendations Get EIP 1559 Fee Recommendations +DecodeRawTransactionHex Decode Raw Transaction Hex -Through this endpoint customers can obtain fee recommendations specifically for EIP 1559. +Through this endpoint customers can decode a raw transaction hex and see the decoded transactions' details. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum. - @return ApiGetEIP1559FeeRecommendationsRequest + @return ApiDecodeRawTransactionHexRequest */ -func (a *FeaturesApiService) GetEIP1559FeeRecommendations(ctx _context.Context, network string, blockchain string) ApiGetEIP1559FeeRecommendationsRequest { - return ApiGetEIP1559FeeRecommendationsRequest{ +func (a *FeaturesApiService) DecodeRawTransactionHex(ctx context.Context, blockchain string, network string) ApiDecodeRawTransactionHexRequest { + return ApiDecodeRawTransactionHexRequest{ ApiService: a, ctx: ctx, - network: network, blockchain: blockchain, + network: network, } } // Execute executes the request -// @return GetEIP1559FeeRecommendationsR -func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559FeeRecommendationsRequest) (GetEIP1559FeeRecommendationsR, *_nethttp.Response, error) { +// @return DecodeRawTransactionHexR +func (a *FeaturesApiService) DecodeRawTransactionHexExecute(r ApiDecodeRawTransactionHexRequest) (*DecodeRawTransactionHexR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetEIP1559FeeRecommendationsR + localVarReturnValue *DecodeRawTransactionHexR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.GetEIP1559FeeRecommendations") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.DecodeRawTransactionHex") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/fees/eip1559" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/decode-raw-transaction" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) } // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -347,6 +350,8 @@ func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559 if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.decodeRawTransactionHexRB if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -371,20 +376,20 @@ func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559 return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40084 + var v InlineResponse400102 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -394,7 +399,7 @@ func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559 return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40184 + var v InlineResponse401102 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -414,7 +419,7 @@ func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559 return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40384 + var v InlineResponse403102 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -423,8 +428,222 @@ func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559 newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v InlineResponse4041 + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiDecodeXAddressRequest struct { + ctx context.Context + ApiService *FeaturesApiService + blockchain string + network string + xAddress string + context *string +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiDecodeXAddressRequest) Context(context string) ApiDecodeXAddressRequest { + r.context = &context + return r +} + +func (r ApiDecodeXAddressRequest) Execute() (*DecodeXAddressR, *http.Response, error) { + return r.ApiService.DecodeXAddressExecute(r) +} + +/* +DecodeXAddress Decode X-Address + +Through this endpoint, customers can decode an encoded XRP address with tag, by providing the specific x-address. The response includes the decoded classic address and the tag. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param xAddress Represents the encoded classic address with its destination tag. + @return ApiDecodeXAddressRequest +*/ +func (a *FeaturesApiService) DecodeXAddress(ctx context.Context, blockchain string, network string, xAddress string) ApiDecodeXAddressRequest { + return ApiDecodeXAddressRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + xAddress: xAddress, + } +} + +// Execute executes the request +// @return DecodeXAddressR +func (a *FeaturesApiService) DecodeXAddressExecute(r ApiDecodeXAddressRequest) (*DecodeXAddressR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DecodeXAddressR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.DecodeXAddress") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/decode-x-address/{xAddress}" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"xAddress"+"}", url.PathEscape(parameterToString(r.xAddress, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse400103 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse401103 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse403103 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -487,7 +706,7 @@ func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559 err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -497,26 +716,1215 @@ func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559 return localVarReturnValue, localVarHTTPResponse, nil } -type ApiValidateAddressRequest struct { - ctx _context.Context +type ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest struct { + ctx context.Context ApiService *FeaturesApiService blockchain string + extendedPublicKey string network string context *string - validateAddressRB *ValidateAddressRB + addressFormat *string + addressesCount *int32 + isChange *bool + startIndex *int32 } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiValidateAddressRequest) Context(context string) ApiValidateAddressRequest { +func (r ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest) Context(context string) ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest { r.context = &context return r } + +// Represents the format of the address. +func (r ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest) AddressFormat(addressFormat string) ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest { + r.addressFormat = &addressFormat + return r +} + +// Represents the addresses count. +func (r ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest) AddressesCount(addressesCount int32) ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest { + r.addressesCount = &addressesCount + return r +} + +// Defines if the specific address is a change or deposit address. If the value is True - it is a change address, if it is False - it is a Deposit address. +func (r ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest) IsChange(isChange bool) ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest { + r.isChange = &isChange + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest) StartIndex(startIndex int32) ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest { + r.startIndex = &startIndex + return r +} + +func (r ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest) Execute() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR, *http.Response, error) { + return r.ApiService.DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesExecute(r) +} + +/* +DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses Derive HD Wallet (xPub, yPub, zPub) Change Or Receiving Addresses + +Through this endpoint, customers can derive up to 10 addresses - both change and receive, from a certain HD Wallet (xPub, yPub, zPub), by providing an extended public key. By default the system creates a receiving/deposit address, unless the isChange attribute is set to 'true'. In that case the system derives a 'change' address. The change address can be derived only for UTXO based blockchains, for all the rest, this endpoint always creates a deposit/receiving address. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param extendedPublicKey Defines the account extended publicly known key which is used to derive all child public keys. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @return ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest +*/ +func (a *FeaturesApiService) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses(ctx context.Context, blockchain string, extendedPublicKey string, network string) ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest { + return ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + extendedPublicKey: extendedPublicKey, + network: network, + } +} + +// Execute executes the request +// @return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR +func (a *FeaturesApiService) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesExecute(r ApiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest) (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/hd/{extendedPublicKey}/addresses/derive-address" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"extendedPublicKey"+"}", url.PathEscape(parameterToString(r.extendedPublicKey, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.addressFormat != nil { + localVarQueryParams.Add("addressFormat", parameterToString(*r.addressFormat, "")) + } + if r.addressesCount != nil { + localVarQueryParams.Add("addressesCount", parameterToString(*r.addressesCount, "")) + } + if r.isChange != nil { + localVarQueryParams.Add("isChange", parameterToString(*r.isChange, "")) + } + if r.startIndex != nil { + localVarQueryParams.Add("startIndex", parameterToString(*r.startIndex, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40070 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40170 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40370 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiEncodeXAddressRequest struct { + ctx context.Context + ApiService *FeaturesApiService + addressTag int32 + blockchain string + classicAddress string + network string + context *string +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiEncodeXAddressRequest) Context(context string) ApiEncodeXAddressRequest { + r.context = &context + return r +} + +func (r ApiEncodeXAddressRequest) Execute() (*EncodeXAddressR, *http.Response, error) { + return r.ApiService.EncodeXAddressExecute(r) +} + +/* +EncodeXAddress Encode X-Address + +Through this endpoint, customers can encode an encoded XRP address with tag, by providing the specific x-address. The response includes the encoded classic address and the tag. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param addressTag Defines a specific Tag that is an additional XRP address feature. It helps identifying a transaction recipient beyond a wallet address. + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param classicAddress Represents the public address, which is a compressed and shortened form of a public key. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @return ApiEncodeXAddressRequest +*/ +func (a *FeaturesApiService) EncodeXAddress(ctx context.Context, addressTag int32, blockchain string, classicAddress string, network string) ApiEncodeXAddressRequest { + return ApiEncodeXAddressRequest{ + ApiService: a, + ctx: ctx, + addressTag: addressTag, + blockchain: blockchain, + classicAddress: classicAddress, + network: network, + } +} + +// Execute executes the request +// @return EncodeXAddressR +func (a *FeaturesApiService) EncodeXAddressExecute(r ApiEncodeXAddressRequest) (*EncodeXAddressR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *EncodeXAddressR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.EncodeXAddress") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/encode-x-address/{classicAddress}/{addressTag}" + localVarPath = strings.Replace(localVarPath, "{"+"addressTag"+"}", url.PathEscape(parameterToString(r.addressTag, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"classicAddress"+"}", url.PathEscape(parameterToString(r.classicAddress, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse400104 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse401104 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse403104 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiEstimateGasLimitRequest struct { + ctx context.Context + ApiService *FeaturesApiService + blockchain string + network string + context *string + estimateGasLimitRB *EstimateGasLimitRB +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiEstimateGasLimitRequest) Context(context string) ApiEstimateGasLimitRequest { + r.context = &context + return r +} + +func (r ApiEstimateGasLimitRequest) EstimateGasLimitRB(estimateGasLimitRB EstimateGasLimitRB) ApiEstimateGasLimitRequest { + r.estimateGasLimitRB = &estimateGasLimitRB + return r +} + +func (r ApiEstimateGasLimitRequest) Execute() (*EstimateGasLimitR, *http.Response, error) { + return r.ApiService.EstimateGasLimitExecute(r) +} + +/* +EstimateGasLimit Estimate Gas Limit + +This endpoint helps customer in estimating the gas limit needed for a transaction. It gives information for gas expenses when sending ether to contracts or making a transaction with additional data in it. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @return ApiEstimateGasLimitRequest +*/ +func (a *FeaturesApiService) EstimateGasLimit(ctx context.Context, blockchain string, network string) ApiEstimateGasLimitRequest { + return ApiEstimateGasLimitRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + } +} + +// Execute executes the request +// @return EstimateGasLimitR +func (a *FeaturesApiService) EstimateGasLimitExecute(r ApiEstimateGasLimitRequest) (*EstimateGasLimitR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *EstimateGasLimitR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.EstimateGasLimit") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/gas-limit" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.estimateGasLimitRB + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse400100 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse401100 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse403100 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v InlineResponse4041 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiEstimateTokenGasLimitRequest struct { + ctx context.Context + ApiService *FeaturesApiService + blockchain string + network string + context *string + estimateTokenGasLimitRB *EstimateTokenGasLimitRB +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiEstimateTokenGasLimitRequest) Context(context string) ApiEstimateTokenGasLimitRequest { + r.context = &context + return r +} + +func (r ApiEstimateTokenGasLimitRequest) EstimateTokenGasLimitRB(estimateTokenGasLimitRB EstimateTokenGasLimitRB) ApiEstimateTokenGasLimitRequest { + r.estimateTokenGasLimitRB = &estimateTokenGasLimitRB + return r +} + +func (r ApiEstimateTokenGasLimitRequest) Execute() (*EstimateTokenGasLimitR, *http.Response, error) { + return r.ApiService.EstimateTokenGasLimitExecute(r) +} + +/* +EstimateTokenGasLimit Estimate Token Gas Limit + +This endpoint helps customer in estimating the Contract Gas Limit needed for a transaction. It gives information for gas expenses for a specific contract when sending ethers or making a transaction with additional data in it. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @return ApiEstimateTokenGasLimitRequest +*/ +func (a *FeaturesApiService) EstimateTokenGasLimit(ctx context.Context, blockchain string, network string) ApiEstimateTokenGasLimitRequest { + return ApiEstimateTokenGasLimitRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + } +} + +// Execute executes the request +// @return EstimateTokenGasLimitR +func (a *FeaturesApiService) EstimateTokenGasLimitExecute(r ApiEstimateTokenGasLimitRequest) (*EstimateTokenGasLimitR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *EstimateTokenGasLimitR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.EstimateTokenGasLimit") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/gas-limit/contract" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.estimateTokenGasLimitRB + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse400101 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse401101 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse403101 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetEIP1559FeeRecommendationsRequest struct { + ctx context.Context + ApiService *FeaturesApiService + network string + blockchain string + context *string +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiGetEIP1559FeeRecommendationsRequest) Context(context string) ApiGetEIP1559FeeRecommendationsRequest { + r.context = &context + return r +} + +func (r ApiGetEIP1559FeeRecommendationsRequest) Execute() (*GetEIP1559FeeRecommendationsR, *http.Response, error) { + return r.ApiService.GetEIP1559FeeRecommendationsExecute(r) +} + +/* +GetEIP1559FeeRecommendations Get EIP 1559 Fee Recommendations + +Through this endpoint customers can obtain fee recommendations specifically for EIP 1559. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum. + @return ApiGetEIP1559FeeRecommendationsRequest +*/ +func (a *FeaturesApiService) GetEIP1559FeeRecommendations(ctx context.Context, network string, blockchain string) ApiGetEIP1559FeeRecommendationsRequest { + return ApiGetEIP1559FeeRecommendationsRequest{ + ApiService: a, + ctx: ctx, + network: network, + blockchain: blockchain, + } +} + +// Execute executes the request +// @return GetEIP1559FeeRecommendationsR +func (a *FeaturesApiService) GetEIP1559FeeRecommendationsExecute(r ApiGetEIP1559FeeRecommendationsRequest) (*GetEIP1559FeeRecommendationsR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetEIP1559FeeRecommendationsR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.GetEIP1559FeeRecommendations") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/fees/eip1559" + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40098 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40198 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40398 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v InlineResponse4041 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiValidateAddressRequest struct { + ctx context.Context + ApiService *FeaturesApiService + blockchain string + network string + context *string + validateAddressRB *ValidateAddressRB +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiValidateAddressRequest) Context(context string) ApiValidateAddressRequest { + r.context = &context + return r +} + func (r ApiValidateAddressRequest) ValidateAddressRB(validateAddressRB ValidateAddressRB) ApiValidateAddressRequest { r.validateAddressRB = &validateAddressRB return r } -func (r ApiValidateAddressRequest) Execute() (ValidateAddressR, *_nethttp.Response, error) { +func (r ApiValidateAddressRequest) Execute() (*ValidateAddressR, *http.Response, error) { return r.ApiService.ValidateAddressExecute(r) } @@ -525,12 +1933,12 @@ ValidateAddress Validate Address This endpoint checks user public addresses whether they are valid or not. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiValidateAddressRequest */ -func (a *FeaturesApiService) ValidateAddress(ctx _context.Context, blockchain string, network string) ApiValidateAddressRequest { +func (a *FeaturesApiService) ValidateAddress(ctx context.Context, blockchain string, network string) ApiValidateAddressRequest { return ApiValidateAddressRequest{ ApiService: a, ctx: ctx, @@ -541,26 +1949,26 @@ func (a *FeaturesApiService) ValidateAddress(ctx _context.Context, blockchain st // Execute executes the request // @return ValidateAddressR -func (a *FeaturesApiService) ValidateAddressExecute(r ApiValidateAddressRequest) (ValidateAddressR, *_nethttp.Response, error) { +func (a *FeaturesApiService) ValidateAddressExecute(r ApiValidateAddressRequest) (*ValidateAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue ValidateAddressR + localVarReturnValue *ValidateAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FeaturesApiService.ValidateAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-tools/{blockchain}/{network}/addresses/validate" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -608,20 +2016,20 @@ func (a *FeaturesApiService) ValidateAddressExecute(r ApiValidateAddressRequest) return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40083 + var v InlineResponse40097 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -631,7 +2039,7 @@ func (a *FeaturesApiService) ValidateAddressExecute(r ApiValidateAddressRequest) return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40183 + var v InlineResponse40197 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -651,7 +2059,7 @@ func (a *FeaturesApiService) ValidateAddressExecute(r ApiValidateAddressRequest) return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40383 + var v InlineResponse40397 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -714,7 +2122,7 @@ func (a *FeaturesApiService) ValidateAddressExecute(r ApiValidateAddressRequest) err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_generating.go b/api_generating.go index ceeffef..fb844a7 100644 --- a/api_generating.go +++ b/api_generating.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // GeneratingApiService GeneratingApi service type GeneratingApiService service type ApiGenerateDepositAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *GeneratingApiService blockchain string network string @@ -43,12 +39,13 @@ func (r ApiGenerateDepositAddressRequest) Context(context string) ApiGenerateDep r.context = &context return r } + func (r ApiGenerateDepositAddressRequest) GenerateDepositAddressRB(generateDepositAddressRB GenerateDepositAddressRB) ApiGenerateDepositAddressRequest { r.generateDepositAddressRB = &generateDepositAddressRB return r } -func (r ApiGenerateDepositAddressRequest) Execute() (GenerateDepositAddressR, *_nethttp.Response, error) { +func (r ApiGenerateDepositAddressRequest) Execute() (*GenerateDepositAddressR, *http.Response, error) { return r.ApiService.GenerateDepositAddressExecute(r) } @@ -57,13 +54,13 @@ GenerateDepositAddress Generate Deposit Address Through this endpoint customers can generate a new Receiving/Deposit Addresses into their Wallet. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param walletId Represents the unique ID of the specific Wallet. @return ApiGenerateDepositAddressRequest */ -func (a *GeneratingApiService) GenerateDepositAddress(ctx _context.Context, blockchain string, network string, walletId string) ApiGenerateDepositAddressRequest { +func (a *GeneratingApiService) GenerateDepositAddress(ctx context.Context, blockchain string, network string, walletId string) ApiGenerateDepositAddressRequest { return ApiGenerateDepositAddressRequest{ ApiService: a, ctx: ctx, @@ -75,27 +72,27 @@ func (a *GeneratingApiService) GenerateDepositAddress(ctx _context.Context, bloc // Execute executes the request // @return GenerateDepositAddressR -func (a *GeneratingApiService) GenerateDepositAddressExecute(r ApiGenerateDepositAddressRequest) (GenerateDepositAddressR, *_nethttp.Response, error) { +func (a *GeneratingApiService) GenerateDepositAddressExecute(r ApiGenerateDepositAddressRequest) (*GenerateDepositAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue GenerateDepositAddressR + localVarReturnValue *GenerateDepositAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GeneratingApiService.GenerateDepositAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", _neturl.PathEscape(parameterToString(r.walletId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -143,15 +140,15 @@ func (a *GeneratingApiService) GenerateDepositAddressExecute(r ApiGenerateDeposi return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -259,7 +256,7 @@ func (a *GeneratingApiService) GenerateDepositAddressExecute(r ApiGenerateDeposi err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_hd_wallets.go b/api_hd_wallets.go index fa82f5d..932e287 100644 --- a/api_hd_wallets.go +++ b/api_hd_wallets.go @@ -13,23 +13,253 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // HDWalletsApiService HDWalletsApi service type HDWalletsApiService service +type ApiGetHDWalletXPubYPubZPubAssetsRequest struct { + ctx context.Context + ApiService *HDWalletsApiService + blockchain string + extendedPublicKey string + network string + context *string + derivation *string +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiGetHDWalletXPubYPubZPubAssetsRequest) Context(context string) ApiGetHDWalletXPubYPubZPubAssetsRequest { + r.context = &context + return r +} + +// The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. +func (r ApiGetHDWalletXPubYPubZPubAssetsRequest) Derivation(derivation string) ApiGetHDWalletXPubYPubZPubAssetsRequest { + r.derivation = &derivation + return r +} + +func (r ApiGetHDWalletXPubYPubZPubAssetsRequest) Execute() (*GetHDWalletXPubYPubZPubAssetsR, *http.Response, error) { + return r.ApiService.GetHDWalletXPubYPubZPubAssetsExecute(r) +} + +/* +GetHDWalletXPubYPubZPubAssets Get HD Wallet (xPub, yPub, zPub) Assets + +This endpoint will return details on assets we support for a specified from the customer extended public key (xPub). These could be cryptocurrencies, fungible or non-fungible (NFT) tokens. Each asset has a unique identifier - assetId, and a unique symbol in the form of a string, e.g. "USDT". + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param extendedPublicKey Defines the account extended publicly known key which is used to derive all child public keys. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @return ApiGetHDWalletXPubYPubZPubAssetsRequest +*/ +func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubAssets(ctx context.Context, blockchain string, extendedPublicKey string, network string) ApiGetHDWalletXPubYPubZPubAssetsRequest { + return ApiGetHDWalletXPubYPubZPubAssetsRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + extendedPublicKey: extendedPublicKey, + network: network, + } +} + +// Execute executes the request +// @return GetHDWalletXPubYPubZPubAssetsR +func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubAssetsExecute(r ApiGetHDWalletXPubYPubZPubAssetsRequest) (*GetHDWalletXPubYPubZPubAssetsR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetHDWalletXPubYPubZPubAssetsR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HDWalletsApiService.GetHDWalletXPubYPubZPubAssets") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/assets" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"extendedPublicKey"+"}", url.PathEscape(parameterToString(r.extendedPublicKey, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.derivation != nil { + localVarQueryParams.Add("derivation", parameterToString(*r.derivation, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40050 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40150 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40350 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse4222 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + type ApiGetHDWalletXPubYPubZPubDetailsRequest struct { - ctx _context.Context + ctx context.Context ApiService *HDWalletsApiService blockchain string extendedPublicKey string @@ -43,13 +273,14 @@ func (r ApiGetHDWalletXPubYPubZPubDetailsRequest) Context(context string) ApiGet r.context = &context return r } + // The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. func (r ApiGetHDWalletXPubYPubZPubDetailsRequest) Derivation(derivation string) ApiGetHDWalletXPubYPubZPubDetailsRequest { r.derivation = &derivation return r } -func (r ApiGetHDWalletXPubYPubZPubDetailsRequest) Execute() (GetHDWalletXPubYPubZPubDetailsR, *_nethttp.Response, error) { +func (r ApiGetHDWalletXPubYPubZPubDetailsRequest) Execute() (*GetHDWalletXPubYPubZPubDetailsR, *http.Response, error) { return r.ApiService.GetHDWalletXPubYPubZPubDetailsExecute(r) } @@ -58,13 +289,13 @@ GetHDWalletXPubYPubZPubDetails Get HD Wallet (xPub, yPub, zPub) Details HD wallet details is useful endpoint to get the most important data about HD wallet without the need to do a lot of calculations, once the HD Wallet is synced using Sync endpoint we keep it up to date and we calculate these details in advance. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param extendedPublicKey Defines the account extended publicly known key which is used to derive all child public keys. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiGetHDWalletXPubYPubZPubDetailsRequest */ -func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetails(ctx _context.Context, blockchain string, extendedPublicKey string, network string) ApiGetHDWalletXPubYPubZPubDetailsRequest { +func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetails(ctx context.Context, blockchain string, extendedPublicKey string, network string) ApiGetHDWalletXPubYPubZPubDetailsRequest { return ApiGetHDWalletXPubYPubZPubDetailsRequest{ ApiService: a, ctx: ctx, @@ -76,27 +307,27 @@ func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetails(ctx _context.Contex // Execute executes the request // @return GetHDWalletXPubYPubZPubDetailsR -func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetailsExecute(r ApiGetHDWalletXPubYPubZPubDetailsRequest) (GetHDWalletXPubYPubZPubDetailsR, *_nethttp.Response, error) { +func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetailsExecute(r ApiGetHDWalletXPubYPubZPubDetailsRequest) (*GetHDWalletXPubYPubZPubDetailsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetHDWalletXPubYPubZPubDetailsR + localVarReturnValue *GetHDWalletXPubYPubZPubDetailsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HDWalletsApiService.GetHDWalletXPubYPubZPubDetails") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/details" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"extendedPublicKey"+"}", _neturl.PathEscape(parameterToString(r.extendedPublicKey, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"extendedPublicKey"+"}", url.PathEscape(parameterToString(r.extendedPublicKey, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -145,20 +376,20 @@ func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetailsExecute(r ApiGetHDWa return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40047 + var v InlineResponse40051 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -168,7 +399,7 @@ func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetailsExecute(r ApiGetHDWa return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40147 + var v InlineResponse40151 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -188,7 +419,7 @@ func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetailsExecute(r ApiGetHDWa return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40347 + var v InlineResponse40351 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -218,7 +449,7 @@ func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetailsExecute(r ApiGetHDWa return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v InlineResponse4222 + var v InlineResponse4223 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -251,7 +482,7 @@ func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetailsExecute(r ApiGetHDWa err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -262,7 +493,7 @@ func (a *HDWalletsApiService) GetHDWalletXPubYPubZPubDetailsExecute(r ApiGetHDWa } type ApiListHDWalletXPubYPubZPubTransactionsRequest struct { - ctx _context.Context + ctx context.Context ApiService *HDWalletsApiService blockchain string extendedPublicKey string @@ -278,23 +509,26 @@ func (r ApiListHDWalletXPubYPubZPubTransactionsRequest) Context(context string) r.context = &context return r } + // The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. func (r ApiListHDWalletXPubYPubZPubTransactionsRequest) Derivation(derivation string) ApiListHDWalletXPubYPubZPubTransactionsRequest { r.derivation = &derivation return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListHDWalletXPubYPubZPubTransactionsRequest) Limit(limit int32) ApiListHDWalletXPubYPubZPubTransactionsRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListHDWalletXPubYPubZPubTransactionsRequest) Offset(offset int32) ApiListHDWalletXPubYPubZPubTransactionsRequest { r.offset = &offset return r } -func (r ApiListHDWalletXPubYPubZPubTransactionsRequest) Execute() (ListHDWalletXPubYPubZPubTransactionsR, *_nethttp.Response, error) { +func (r ApiListHDWalletXPubYPubZPubTransactionsRequest) Execute() (*ListHDWalletXPubYPubZPubTransactionsR, *http.Response, error) { return r.ApiService.ListHDWalletXPubYPubZPubTransactionsExecute(r) } @@ -303,13 +537,13 @@ ListHDWalletXPubYPubZPubTransactions List HD Wallet (xPub, yPub, zPub) Transacti This endpoint will list HD Wallet transactions. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain. @param extendedPublicKey Defines the master public key (xPub) of the account. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiListHDWalletXPubYPubZPubTransactionsRequest */ -func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactions(ctx _context.Context, blockchain string, extendedPublicKey string, network string) ApiListHDWalletXPubYPubZPubTransactionsRequest { +func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactions(ctx context.Context, blockchain string, extendedPublicKey string, network string) ApiListHDWalletXPubYPubZPubTransactionsRequest { return ApiListHDWalletXPubYPubZPubTransactionsRequest{ ApiService: a, ctx: ctx, @@ -321,27 +555,27 @@ func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactions(ctx _context. // Execute executes the request // @return ListHDWalletXPubYPubZPubTransactionsR -func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactionsExecute(r ApiListHDWalletXPubYPubZPubTransactionsRequest) (ListHDWalletXPubYPubZPubTransactionsR, *_nethttp.Response, error) { +func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactionsExecute(r ApiListHDWalletXPubYPubZPubTransactionsRequest) (*ListHDWalletXPubYPubZPubTransactionsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListHDWalletXPubYPubZPubTransactionsR + localVarReturnValue *ListHDWalletXPubYPubZPubTransactionsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HDWalletsApiService.ListHDWalletXPubYPubZPubTransactions") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"extendedPublicKey"+"}", _neturl.PathEscape(parameterToString(r.extendedPublicKey, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"extendedPublicKey"+"}", url.PathEscape(parameterToString(r.extendedPublicKey, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -396,20 +630,20 @@ func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactionsExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40049 + var v InlineResponse40053 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -419,7 +653,7 @@ func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactionsExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40149 + var v InlineResponse40153 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -439,7 +673,7 @@ func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactionsExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40349 + var v InlineResponse40353 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -469,7 +703,261 @@ func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactionsExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v InlineResponse4223 + var v InlineResponse4224 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListHDWalletXPubYPubZPubUTXOsRequest struct { + ctx context.Context + ApiService *HDWalletsApiService + blockchain string + extendedPublicKey string + network string + context *string + derivation *string + limit *int32 + offset *int32 +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListHDWalletXPubYPubZPubUTXOsRequest) Context(context string) ApiListHDWalletXPubYPubZPubUTXOsRequest { + r.context = &context + return r +} + +// The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. +func (r ApiListHDWalletXPubYPubZPubUTXOsRequest) Derivation(derivation string) ApiListHDWalletXPubYPubZPubUTXOsRequest { + r.derivation = &derivation + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListHDWalletXPubYPubZPubUTXOsRequest) Limit(limit int32) ApiListHDWalletXPubYPubZPubUTXOsRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListHDWalletXPubYPubZPubUTXOsRequest) Offset(offset int32) ApiListHDWalletXPubYPubZPubUTXOsRequest { + r.offset = &offset + return r +} + +func (r ApiListHDWalletXPubYPubZPubUTXOsRequest) Execute() (*ListHDWalletXPubYPubZPubUTXOsR, *http.Response, error) { + return r.ApiService.ListHDWalletXPubYPubZPubUTXOsExecute(r) +} + +/* +ListHDWalletXPubYPubZPubUTXOs List HD Wallet (xPub, yPub, zPub) UTXOs + +Through this endpoint you can list HD wallet's UTXOs (Unspent Transaction Outputs) by providing extended public key of an already synced HD wallet. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param extendedPublicKey Defines the account extended publicly known key which is used to derive all child public keys. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @return ApiListHDWalletXPubYPubZPubUTXOsRequest +*/ +func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubUTXOs(ctx context.Context, blockchain string, extendedPublicKey string, network string) ApiListHDWalletXPubYPubZPubUTXOsRequest { + return ApiListHDWalletXPubYPubZPubUTXOsRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + extendedPublicKey: extendedPublicKey, + network: network, + } +} + +// Execute executes the request +// @return ListHDWalletXPubYPubZPubUTXOsR +func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubUTXOsExecute(r ApiListHDWalletXPubYPubZPubUTXOsRequest) (*ListHDWalletXPubYPubZPubUTXOsR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListHDWalletXPubYPubZPubUTXOsR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HDWalletsApiService.ListHDWalletXPubYPubZPubUTXOs") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/utxos" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"extendedPublicKey"+"}", url.PathEscape(parameterToString(r.extendedPublicKey, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.derivation != nil { + localVarQueryParams.Add("derivation", parameterToString(*r.derivation, "")) + } + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40055 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40155 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40355 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse4225 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -502,7 +990,7 @@ func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactionsExecute(r ApiL err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -513,7 +1001,7 @@ func (a *HDWalletsApiService) ListHDWalletXPubYPubZPubTransactionsExecute(r ApiL } type ApiSyncHDWalletXPubYPubZPubRequest struct { - ctx _context.Context + ctx context.Context ApiService *HDWalletsApiService blockchain string network string @@ -526,12 +1014,13 @@ func (r ApiSyncHDWalletXPubYPubZPubRequest) Context(context string) ApiSyncHDWal r.context = &context return r } + func (r ApiSyncHDWalletXPubYPubZPubRequest) SyncHDWalletXPubYPubZPubRB(syncHDWalletXPubYPubZPubRB SyncHDWalletXPubYPubZPubRB) ApiSyncHDWalletXPubYPubZPubRequest { r.syncHDWalletXPubYPubZPubRB = &syncHDWalletXPubYPubZPubRB return r } -func (r ApiSyncHDWalletXPubYPubZPubRequest) Execute() (SyncHDWalletXPubYPubZPubR, *_nethttp.Response, error) { +func (r ApiSyncHDWalletXPubYPubZPubRequest) Execute() (*SyncHDWalletXPubYPubZPubR, *http.Response, error) { return r.ApiService.SyncHDWalletXPubYPubZPubExecute(r) } @@ -540,12 +1029,12 @@ SyncHDWalletXPubYPubZPub Sync HD Wallet (xPub, yPub, zPub) HD wallets usually have a lot of addresses and transactions, getting the data on demand is a heavy operation. That's why we have created this feature, to be able to get HD wallet details or transactions this HD wallet must be synced first. In addition to the initial sync we keep updating the synced HD wallets all the time. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiSyncHDWalletXPubYPubZPubRequest */ -func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPub(ctx _context.Context, blockchain string, network string) ApiSyncHDWalletXPubYPubZPubRequest { +func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPub(ctx context.Context, blockchain string, network string) ApiSyncHDWalletXPubYPubZPubRequest { return ApiSyncHDWalletXPubYPubZPubRequest{ ApiService: a, ctx: ctx, @@ -556,26 +1045,26 @@ func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPub(ctx _context.Context, blo // Execute executes the request // @return SyncHDWalletXPubYPubZPubR -func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPubExecute(r ApiSyncHDWalletXPubYPubZPubRequest) (SyncHDWalletXPubYPubZPubR, *_nethttp.Response, error) { +func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPubExecute(r ApiSyncHDWalletXPubYPubZPubRequest) (*SyncHDWalletXPubYPubZPubR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue SyncHDWalletXPubYPubZPubR + localVarReturnValue *SyncHDWalletXPubYPubZPubR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HDWalletsApiService.SyncHDWalletXPubYPubZPub") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/hd/sync" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -623,20 +1112,20 @@ func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPubExecute(r ApiSyncHDWalletX return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40043 + var v InlineResponse40046 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -646,7 +1135,7 @@ func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPubExecute(r ApiSyncHDWalletX return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40143 + var v InlineResponse40146 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -666,7 +1155,7 @@ func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPubExecute(r ApiSyncHDWalletX return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40343 + var v InlineResponse40346 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -729,7 +1218,7 @@ func (a *HDWalletsApiService) SyncHDWalletXPubYPubZPubExecute(r ApiSyncHDWalletX err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_informative.go b/api_informative.go index 3182ea1..8bee8d7 100644 --- a/api_informative.go +++ b/api_informative.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // InformativeApiService InformativeApi service type InformativeApiService service type ApiGetTransactionRequestDetailsRequest struct { - ctx _context.Context + ctx context.Context ApiService *InformativeApiService transactionRequestId string context *string @@ -41,7 +37,7 @@ func (r ApiGetTransactionRequestDetailsRequest) Context(context string) ApiGetTr return r } -func (r ApiGetTransactionRequestDetailsRequest) Execute() (GetTransactionRequestDetailsR, *_nethttp.Response, error) { +func (r ApiGetTransactionRequestDetailsRequest) Execute() (*GetTransactionRequestDetailsR, *http.Response, error) { return r.ApiService.GetTransactionRequestDetailsExecute(r) } @@ -52,11 +48,11 @@ Through this endpoint customers can obtain details on transaction request. {note}This regards **transaction requests**, which is not to be confused with **transactions**. Transaction requests may not be approved due to any reason, hence a transaction may not occur.{/note} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param transactionRequestId Represents the unique ID of the transaction request. @return ApiGetTransactionRequestDetailsRequest */ -func (a *InformativeApiService) GetTransactionRequestDetails(ctx _context.Context, transactionRequestId string) ApiGetTransactionRequestDetailsRequest { +func (a *InformativeApiService) GetTransactionRequestDetails(ctx context.Context, transactionRequestId string) ApiGetTransactionRequestDetailsRequest { return ApiGetTransactionRequestDetailsRequest{ ApiService: a, ctx: ctx, @@ -66,25 +62,25 @@ func (a *InformativeApiService) GetTransactionRequestDetails(ctx _context.Contex // Execute executes the request // @return GetTransactionRequestDetailsR -func (a *InformativeApiService) GetTransactionRequestDetailsExecute(r ApiGetTransactionRequestDetailsRequest) (GetTransactionRequestDetailsR, *_nethttp.Response, error) { +func (a *InformativeApiService) GetTransactionRequestDetailsExecute(r ApiGetTransactionRequestDetailsRequest) (*GetTransactionRequestDetailsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetTransactionRequestDetailsR + localVarReturnValue *GetTransactionRequestDetailsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InformativeApiService.GetTransactionRequestDetails") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/transactionRequests/{transactionRequestId}" - localVarPath = strings.Replace(localVarPath, "{"+"transactionRequestId"+"}", _neturl.PathEscape(parameterToString(r.transactionRequestId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionRequestId"+"}", url.PathEscape(parameterToString(r.transactionRequestId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -130,20 +126,20 @@ func (a *InformativeApiService) GetTransactionRequestDetailsExecute(r ApiGetTran return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40041 + var v InlineResponse40044 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -153,7 +149,7 @@ func (a *InformativeApiService) GetTransactionRequestDetailsExecute(r ApiGetTran return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40141 + var v InlineResponse40144 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -173,7 +169,7 @@ func (a *InformativeApiService) GetTransactionRequestDetailsExecute(r ApiGetTran return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40341 + var v InlineResponse40344 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -236,7 +232,7 @@ func (a *InformativeApiService) GetTransactionRequestDetailsExecute(r ApiGetTran err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -247,7 +243,7 @@ func (a *InformativeApiService) GetTransactionRequestDetailsExecute(r ApiGetTran } type ApiGetWalletAssetDetailsRequest struct { - ctx _context.Context + ctx context.Context ApiService *InformativeApiService blockchain string network string @@ -261,22 +257,22 @@ func (r ApiGetWalletAssetDetailsRequest) Context(context string) ApiGetWalletAss return r } -func (r ApiGetWalletAssetDetailsRequest) Execute() (GetWalletAssetDetailsR, *_nethttp.Response, error) { +func (r ApiGetWalletAssetDetailsRequest) Execute() (*GetWalletAssetDetailsR, *http.Response, error) { return r.ApiService.GetWalletAssetDetailsExecute(r) } /* GetWalletAssetDetails Get Wallet Asset Details -Through this endpoint customers can obtain details about a specific Wallet/Vault. +Through this endpoint customers can obtain details on all assets (coins, fungible tokens, non-fungible tokens) for the entire Wallet. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param walletId Defines the unique ID of the Wallet. @return ApiGetWalletAssetDetailsRequest */ -func (a *InformativeApiService) GetWalletAssetDetails(ctx _context.Context, blockchain string, network string, walletId string) ApiGetWalletAssetDetailsRequest { +func (a *InformativeApiService) GetWalletAssetDetails(ctx context.Context, blockchain string, network string, walletId string) ApiGetWalletAssetDetailsRequest { return ApiGetWalletAssetDetailsRequest{ ApiService: a, ctx: ctx, @@ -288,27 +284,27 @@ func (a *InformativeApiService) GetWalletAssetDetails(ctx _context.Context, bloc // Execute executes the request // @return GetWalletAssetDetailsR -func (a *InformativeApiService) GetWalletAssetDetailsExecute(r ApiGetWalletAssetDetailsRequest) (GetWalletAssetDetailsR, *_nethttp.Response, error) { +func (a *InformativeApiService) GetWalletAssetDetailsExecute(r ApiGetWalletAssetDetailsRequest) (*GetWalletAssetDetailsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetWalletAssetDetailsR + localVarReturnValue *GetWalletAssetDetailsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InformativeApiService.GetWalletAssetDetails") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", _neturl.PathEscape(parameterToString(r.walletId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -354,20 +350,20 @@ func (a *InformativeApiService) GetWalletAssetDetailsExecute(r ApiGetWalletAsset return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40035 + var v InlineResponse40036 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -377,7 +373,7 @@ func (a *InformativeApiService) GetWalletAssetDetailsExecute(r ApiGetWalletAsset return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40135 + var v InlineResponse40136 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -397,7 +393,7 @@ func (a *InformativeApiService) GetWalletAssetDetailsExecute(r ApiGetWalletAsset return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40335 + var v InlineResponse40336 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -470,7 +466,7 @@ func (a *InformativeApiService) GetWalletAssetDetailsExecute(r ApiGetWalletAsset err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -481,7 +477,7 @@ func (a *InformativeApiService) GetWalletAssetDetailsExecute(r ApiGetWalletAsset } type ApiGetWalletTransactionDetailsByTransactionIDRequest struct { - ctx _context.Context + ctx context.Context ApiService *InformativeApiService blockchain string network string @@ -495,7 +491,7 @@ func (r ApiGetWalletTransactionDetailsByTransactionIDRequest) Context(context st return r } -func (r ApiGetWalletTransactionDetailsByTransactionIDRequest) Execute() (GetWalletTransactionDetailsByTransactionIDR, *_nethttp.Response, error) { +func (r ApiGetWalletTransactionDetailsByTransactionIDRequest) Execute() (*GetWalletTransactionDetailsByTransactionIDR, *http.Response, error) { return r.ApiService.GetWalletTransactionDetailsByTransactionIDExecute(r) } @@ -504,13 +500,13 @@ GetWalletTransactionDetailsByTransactionID Get Wallet Transaction Details By Tra Through this endpoint users can obtain Wallet transaction information by providing a `transactionId`. Customers can receive information only for a transaction that has been made from their own wallet. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param transactionId Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. @return ApiGetWalletTransactionDetailsByTransactionIDRequest */ -func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionID(ctx _context.Context, blockchain string, network string, transactionId string) ApiGetWalletTransactionDetailsByTransactionIDRequest { +func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionID(ctx context.Context, blockchain string, network string, transactionId string) ApiGetWalletTransactionDetailsByTransactionIDRequest { return ApiGetWalletTransactionDetailsByTransactionIDRequest{ ApiService: a, ctx: ctx, @@ -522,27 +518,253 @@ func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionID(ctx _ // Execute executes the request // @return GetWalletTransactionDetailsByTransactionIDR -func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionIDExecute(r ApiGetWalletTransactionDetailsByTransactionIDRequest) (GetWalletTransactionDetailsByTransactionIDR, *_nethttp.Response, error) { +func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionIDExecute(r ApiGetWalletTransactionDetailsByTransactionIDRequest) (*GetWalletTransactionDetailsByTransactionIDR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetWalletTransactionDetailsByTransactionIDR + localVarReturnValue *GetWalletTransactionDetailsByTransactionIDR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InformativeApiService.GetWalletTransactionDetailsByTransactionID") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{blockchain}/{network}/transactions/{transactionId}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", _neturl.PathEscape(parameterToString(r.transactionId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", url.PathEscape(parameterToString(r.transactionId, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40049 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40149 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40349 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v InlineResponse4041 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListAllAssetsByWalletIDRequest struct { + ctx context.Context + ApiService *InformativeApiService + walletId string + context *string +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListAllAssetsByWalletIDRequest) Context(context string) ApiListAllAssetsByWalletIDRequest { + r.context = &context + return r +} + +func (r ApiListAllAssetsByWalletIDRequest) Execute() (*ListAllAssetsByWalletIDR, *http.Response, error) { + return r.ApiService.ListAllAssetsByWalletIDExecute(r) +} + +/* +ListAllAssetsByWalletID List All Assets By Wallet ID + +Through this endpoint customers can obtain information about available assets in one of their wallets, regardless of the blockchain protocol or network, by providing walletId. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param walletId Defines the unique ID of the Wallet. + @return ApiListAllAssetsByWalletIDRequest +*/ +func (a *InformativeApiService) ListAllAssetsByWalletID(ctx context.Context, walletId string) ApiListAllAssetsByWalletIDRequest { + return ApiListAllAssetsByWalletIDRequest{ + ApiService: a, + ctx: ctx, + walletId: walletId, + } +} + +// Execute executes the request +// @return ListAllAssetsByWalletIDR +func (a *InformativeApiService) ListAllAssetsByWalletIDExecute(r ApiListAllAssetsByWalletIDRequest) (*ListAllAssetsByWalletIDR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListAllAssetsByWalletIDR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InformativeApiService.ListAllAssetsByWalletID") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/assets" + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -588,20 +810,20 @@ func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionIDExecut return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40046 + var v InlineResponse40039 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -611,7 +833,7 @@ func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionIDExecut return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40146 + var v InlineResponse40139 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -631,7 +853,7 @@ func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionIDExecut return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40346 + var v InlineResponse40339 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -704,7 +926,239 @@ func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionIDExecut err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListAllAssetsFromAllWalletsRequest struct { + ctx context.Context + ApiService *InformativeApiService + context *string + limit *int32 + offset *int32 +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListAllAssetsFromAllWalletsRequest) Context(context string) ApiListAllAssetsFromAllWalletsRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListAllAssetsFromAllWalletsRequest) Limit(limit int32) ApiListAllAssetsFromAllWalletsRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListAllAssetsFromAllWalletsRequest) Offset(offset int32) ApiListAllAssetsFromAllWalletsRequest { + r.offset = &offset + return r +} + +func (r ApiListAllAssetsFromAllWalletsRequest) Execute() (*ListAllAssetsFromAllWalletsR, *http.Response, error) { + return r.ApiService.ListAllAssetsFromAllWalletsExecute(r) +} + +/* +ListAllAssetsFromAllWallets List All Assets From All Wallets + +Through this endpoint customers can obtain information about available assets in all of their wallets, regardless of the blockchain protocol or network. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListAllAssetsFromAllWalletsRequest +*/ +func (a *InformativeApiService) ListAllAssetsFromAllWallets(ctx context.Context) ApiListAllAssetsFromAllWalletsRequest { + return ApiListAllAssetsFromAllWalletsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ListAllAssetsFromAllWalletsR +func (a *InformativeApiService) ListAllAssetsFromAllWalletsExecute(r ApiListAllAssetsFromAllWalletsRequest) (*ListAllAssetsFromAllWalletsR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListAllAssetsFromAllWalletsR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InformativeApiService.ListAllAssetsFromAllWallets") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/wallet-as-a-service/wallets/all-assets" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40038 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40138 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40338 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -715,7 +1169,7 @@ func (a *InformativeApiService) GetWalletTransactionDetailsByTransactionIDExecut } type ApiListDepositAddressesRequest struct { - ctx _context.Context + ctx context.Context ApiService *InformativeApiService blockchain string network string @@ -729,7 +1183,7 @@ func (r ApiListDepositAddressesRequest) Context(context string) ApiListDepositAd return r } -func (r ApiListDepositAddressesRequest) Execute() (ListDepositAddressesR, *_nethttp.Response, error) { +func (r ApiListDepositAddressesRequest) Execute() (*ListDepositAddressesR, *http.Response, error) { return r.ApiService.ListDepositAddressesExecute(r) } @@ -740,13 +1194,13 @@ Through this endpoint customers can pull a list of Deposit/Receiving Addresses t {note}Please note that listing data from the same type will apply pagination on the results.{/note} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param walletId Represents the unique ID of the specific Wallet. @return ApiListDepositAddressesRequest */ -func (a *InformativeApiService) ListDepositAddresses(ctx _context.Context, blockchain string, network string, walletId string) ApiListDepositAddressesRequest { +func (a *InformativeApiService) ListDepositAddresses(ctx context.Context, blockchain string, network string, walletId string) ApiListDepositAddressesRequest { return ApiListDepositAddressesRequest{ ApiService: a, ctx: ctx, @@ -758,27 +1212,27 @@ func (a *InformativeApiService) ListDepositAddresses(ctx _context.Context, block // Execute executes the request // @return ListDepositAddressesR -func (a *InformativeApiService) ListDepositAddressesExecute(r ApiListDepositAddressesRequest) (ListDepositAddressesR, *_nethttp.Response, error) { +func (a *InformativeApiService) ListDepositAddressesExecute(r ApiListDepositAddressesRequest) (*ListDepositAddressesR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListDepositAddressesR + localVarReturnValue *ListDepositAddressesR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InformativeApiService.ListDepositAddresses") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", _neturl.PathEscape(parameterToString(r.walletId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -824,15 +1278,15 @@ func (a *InformativeApiService) ListDepositAddressesExecute(r ApiListDepositAddr return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -940,7 +1394,7 @@ func (a *InformativeApiService) ListDepositAddressesExecute(r ApiListDepositAddr err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -951,7 +1405,7 @@ func (a *InformativeApiService) ListDepositAddressesExecute(r ApiListDepositAddr } type ApiListSupportedTokensRequest struct { - ctx _context.Context + ctx context.Context ApiService *InformativeApiService blockchain string network string @@ -965,18 +1419,20 @@ func (r ApiListSupportedTokensRequest) Context(context string) ApiListSupportedT r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListSupportedTokensRequest) Limit(limit int32) ApiListSupportedTokensRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListSupportedTokensRequest) Offset(offset int32) ApiListSupportedTokensRequest { r.offset = &offset return r } -func (r ApiListSupportedTokensRequest) Execute() (ListSupportedTokensR, *_nethttp.Response, error) { +func (r ApiListSupportedTokensRequest) Execute() (*ListSupportedTokensR, *http.Response, error) { return r.ApiService.ListSupportedTokensExecute(r) } @@ -985,12 +1441,12 @@ ListSupportedTokens List Supported Tokens Through this endpoint customers can obtain information on multiple tokens at once. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiListSupportedTokensRequest */ -func (a *InformativeApiService) ListSupportedTokens(ctx _context.Context, blockchain string, network string) ApiListSupportedTokensRequest { +func (a *InformativeApiService) ListSupportedTokens(ctx context.Context, blockchain string, network string) ApiListSupportedTokensRequest { return ApiListSupportedTokensRequest{ ApiService: a, ctx: ctx, @@ -1001,26 +1457,26 @@ func (a *InformativeApiService) ListSupportedTokens(ctx _context.Context, blockc // Execute executes the request // @return ListSupportedTokensR -func (a *InformativeApiService) ListSupportedTokensExecute(r ApiListSupportedTokensRequest) (ListSupportedTokensR, *_nethttp.Response, error) { +func (a *InformativeApiService) ListSupportedTokensExecute(r ApiListSupportedTokensRequest) (*ListSupportedTokensR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListSupportedTokensR + localVarReturnValue *ListSupportedTokensR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InformativeApiService.ListSupportedTokens") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/info/{blockchain}/{network}/supported-tokens" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1072,20 +1528,20 @@ func (a *InformativeApiService) ListSupportedTokensExecute(r ApiListSupportedTok return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40034 + var v InlineResponse40035 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1095,7 +1551,7 @@ func (a *InformativeApiService) ListSupportedTokensExecute(r ApiListSupportedTok return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40134 + var v InlineResponse40135 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1115,7 +1571,7 @@ func (a *InformativeApiService) ListSupportedTokensExecute(r ApiListSupportedTok return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40334 + var v InlineResponse40335 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1178,7 +1634,7 @@ func (a *InformativeApiService) ListSupportedTokensExecute(r ApiListSupportedTok err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1189,7 +1645,7 @@ func (a *InformativeApiService) ListSupportedTokensExecute(r ApiListSupportedTok } type ApiListWalletTransactionsRequest struct { - ctx _context.Context + ctx context.Context ApiService *InformativeApiService blockchain string network string @@ -1204,18 +1660,20 @@ func (r ApiListWalletTransactionsRequest) Context(context string) ApiListWalletT r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListWalletTransactionsRequest) Limit(limit int32) ApiListWalletTransactionsRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListWalletTransactionsRequest) Offset(offset int32) ApiListWalletTransactionsRequest { r.offset = &offset return r } -func (r ApiListWalletTransactionsRequest) Execute() (ListWalletTransactionsR, *_nethttp.Response, error) { +func (r ApiListWalletTransactionsRequest) Execute() (*ListWalletTransactionsR, *http.Response, error) { return r.ApiService.ListWalletTransactionsExecute(r) } @@ -1224,13 +1682,13 @@ ListWalletTransactions List Wallet Transactions Through this endpoint customers can list Transactions from and to their Wallet. The data returned will include `transactionId`, `direction` of the transaction - incoming or outgoing, `amount` and more. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param walletId Represents the unique ID of the specific Wallet. @return ApiListWalletTransactionsRequest */ -func (a *InformativeApiService) ListWalletTransactions(ctx _context.Context, blockchain string, network string, walletId string) ApiListWalletTransactionsRequest { +func (a *InformativeApiService) ListWalletTransactions(ctx context.Context, blockchain string, network string, walletId string) ApiListWalletTransactionsRequest { return ApiListWalletTransactionsRequest{ ApiService: a, ctx: ctx, @@ -1242,27 +1700,27 @@ func (a *InformativeApiService) ListWalletTransactions(ctx _context.Context, blo // Execute executes the request // @return ListWalletTransactionsR -func (a *InformativeApiService) ListWalletTransactionsExecute(r ApiListWalletTransactionsRequest) (ListWalletTransactionsR, *_nethttp.Response, error) { +func (a *InformativeApiService) ListWalletTransactionsExecute(r ApiListWalletTransactionsRequest) (*ListWalletTransactionsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListWalletTransactionsR + localVarReturnValue *ListWalletTransactionsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InformativeApiService.ListWalletTransactions") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", _neturl.PathEscape(parameterToString(r.walletId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1314,20 +1772,20 @@ func (a *InformativeApiService) ListWalletTransactionsExecute(r ApiListWalletTra return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40045 + var v InlineResponse40048 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1337,7 +1795,7 @@ func (a *InformativeApiService) ListWalletTransactionsExecute(r ApiListWalletTra return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40145 + var v InlineResponse40148 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1357,7 +1815,7 @@ func (a *InformativeApiService) ListWalletTransactionsExecute(r ApiListWalletTra return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40345 + var v InlineResponse40348 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1430,7 +1888,7 @@ func (a *InformativeApiService) ListWalletTransactionsExecute(r ApiListWalletTra err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_internal.go b/api_internal.go index c951cdf..1b9d536 100644 --- a/api_internal.go +++ b/api_internal.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // InternalApiService InternalApi service type InternalApiService service type ApiGetInternalTransactionByTransactionHashAndOperationIdRequest struct { - ctx _context.Context + ctx context.Context ApiService *InternalApiService blockchain string network string @@ -44,7 +40,7 @@ func (r ApiGetInternalTransactionByTransactionHashAndOperationIdRequest) Context return r } -func (r ApiGetInternalTransactionByTransactionHashAndOperationIdRequest) Execute() (GetInternalTransactionByTransactionHashAndOperationIdR, *_nethttp.Response, error) { +func (r ApiGetInternalTransactionByTransactionHashAndOperationIdRequest) Execute() (*GetInternalTransactionByTransactionHashAndOperationIdR, *http.Response, error) { return r.ApiService.GetInternalTransactionByTransactionHashAndOperationIdExecute(r) } @@ -55,14 +51,14 @@ Through this endpoint customers can obtain detailed information about a specific An internal transaction is the result of a smart contract being triggered by an EOA or a subsequent contract call. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param operationId Represents the unique internal transaction ID in regards to the parent transaction (type trace address). @param transactionHash String identifier of the parent transaction of the internal transaction represented in CryptoAPIs. @return ApiGetInternalTransactionByTransactionHashAndOperationIdRequest */ -func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperationId(ctx _context.Context, blockchain string, network string, operationId string, transactionHash string) ApiGetInternalTransactionByTransactionHashAndOperationIdRequest { +func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperationId(ctx context.Context, blockchain string, network string, operationId string, transactionHash string) ApiGetInternalTransactionByTransactionHashAndOperationIdRequest { return ApiGetInternalTransactionByTransactionHashAndOperationIdRequest{ ApiService: a, ctx: ctx, @@ -75,28 +71,28 @@ func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperation // Execute executes the request // @return GetInternalTransactionByTransactionHashAndOperationIdR -func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperationIdExecute(r ApiGetInternalTransactionByTransactionHashAndOperationIdRequest) (GetInternalTransactionByTransactionHashAndOperationIdR, *_nethttp.Response, error) { +func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperationIdExecute(r ApiGetInternalTransactionByTransactionHashAndOperationIdRequest) (*GetInternalTransactionByTransactionHashAndOperationIdR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetInternalTransactionByTransactionHashAndOperationIdR + localVarReturnValue *GetInternalTransactionByTransactionHashAndOperationIdR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InternalApiService.GetInternalTransactionByTransactionHashAndOperationId") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/internal/{operationId}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"operationId"+"}", _neturl.PathEscape(parameterToString(r.operationId, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", _neturl.PathEscape(parameterToString(r.transactionHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"operationId"+"}", url.PathEscape(parameterToString(r.operationId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", url.PathEscape(parameterToString(r.transactionHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -142,20 +138,20 @@ func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperation return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40050 + var v InlineResponse40054 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -165,7 +161,7 @@ func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperation return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40150 + var v InlineResponse40154 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -185,7 +181,7 @@ func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperation return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40350 + var v InlineResponse40354 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -258,7 +254,7 @@ func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperation err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -269,7 +265,7 @@ func (a *InternalApiService) GetInternalTransactionByTransactionHashAndOperation } type ApiListInternalTransactionDetailsByTransactionHashRequest struct { - ctx _context.Context + ctx context.Context ApiService *InternalApiService blockchain string network string @@ -284,18 +280,20 @@ func (r ApiListInternalTransactionDetailsByTransactionHashRequest) Context(conte r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListInternalTransactionDetailsByTransactionHashRequest) Limit(limit int32) ApiListInternalTransactionDetailsByTransactionHashRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListInternalTransactionDetailsByTransactionHashRequest) Offset(offset int32) ApiListInternalTransactionDetailsByTransactionHashRequest { r.offset = &offset return r } -func (r ApiListInternalTransactionDetailsByTransactionHashRequest) Execute() (ListInternalTransactionDetailsByTransactionHashR, *_nethttp.Response, error) { +func (r ApiListInternalTransactionDetailsByTransactionHashRequest) Execute() (*ListInternalTransactionDetailsByTransactionHashR, *http.Response, error) { return r.ApiService.ListInternalTransactionDetailsByTransactionHashExecute(r) } @@ -306,13 +304,13 @@ Through this endpoint customers can list internal transactions along with their An internal transaction is the result of a smart contract being triggered by an EOA or a subsequent contract call. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param transactionHash String identifier of the parent transaction of the internal transaction represented in CryptoAPIs. @return ApiListInternalTransactionDetailsByTransactionHashRequest */ -func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHash(ctx _context.Context, blockchain string, network string, transactionHash string) ApiListInternalTransactionDetailsByTransactionHashRequest { +func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHash(ctx context.Context, blockchain string, network string, transactionHash string) ApiListInternalTransactionDetailsByTransactionHashRequest { return ApiListInternalTransactionDetailsByTransactionHashRequest{ ApiService: a, ctx: ctx, @@ -324,27 +322,27 @@ func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHash(ctx // Execute executes the request // @return ListInternalTransactionDetailsByTransactionHashR -func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHashExecute(r ApiListInternalTransactionDetailsByTransactionHashRequest) (ListInternalTransactionDetailsByTransactionHashR, *_nethttp.Response, error) { +func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHashExecute(r ApiListInternalTransactionDetailsByTransactionHashRequest) (*ListInternalTransactionDetailsByTransactionHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListInternalTransactionDetailsByTransactionHashR + localVarReturnValue *ListInternalTransactionDetailsByTransactionHashR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InternalApiService.ListInternalTransactionDetailsByTransactionHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/internal" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", _neturl.PathEscape(parameterToString(r.transactionHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", url.PathEscape(parameterToString(r.transactionHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -396,20 +394,20 @@ func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHashExec return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40048 + var v InlineResponse40052 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -419,7 +417,7 @@ func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHashExec return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40148 + var v InlineResponse40152 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -439,7 +437,7 @@ func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHashExec return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40348 + var v InlineResponse40352 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -502,7 +500,7 @@ func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHashExec err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -513,7 +511,7 @@ func (a *InternalApiService) ListInternalTransactionDetailsByTransactionHashExec } type ApiListInternalTransactionsByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *InternalApiService blockchain string network string @@ -528,18 +526,20 @@ func (r ApiListInternalTransactionsByAddressRequest) Context(context string) Api r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListInternalTransactionsByAddressRequest) Limit(limit int32) ApiListInternalTransactionsByAddressRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListInternalTransactionsByAddressRequest) Offset(offset int32) ApiListInternalTransactionsByAddressRequest { r.offset = &offset return r } -func (r ApiListInternalTransactionsByAddressRequest) Execute() (ListInternalTransactionsByAddressR, *_nethttp.Response, error) { +func (r ApiListInternalTransactionsByAddressRequest) Execute() (*ListInternalTransactionsByAddressR, *http.Response, error) { return r.ApiService.ListInternalTransactionsByAddressExecute(r) } @@ -548,13 +548,13 @@ ListInternalTransactionsByAddress List Internal Transactions By Address Through this endpoint customers can list internal transactions by the `address` attribute. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param address String identifier of the address document represented in CryptoAPIs @return ApiListInternalTransactionsByAddressRequest */ -func (a *InternalApiService) ListInternalTransactionsByAddress(ctx _context.Context, blockchain string, network string, address string) ApiListInternalTransactionsByAddressRequest { +func (a *InternalApiService) ListInternalTransactionsByAddress(ctx context.Context, blockchain string, network string, address string) ApiListInternalTransactionsByAddressRequest { return ApiListInternalTransactionsByAddressRequest{ ApiService: a, ctx: ctx, @@ -566,27 +566,27 @@ func (a *InternalApiService) ListInternalTransactionsByAddress(ctx _context.Cont // Execute executes the request // @return ListInternalTransactionsByAddressR -func (a *InternalApiService) ListInternalTransactionsByAddressExecute(r ApiListInternalTransactionsByAddressRequest) (ListInternalTransactionsByAddressR, *_nethttp.Response, error) { +func (a *InternalApiService) ListInternalTransactionsByAddressExecute(r ApiListInternalTransactionsByAddressRequest) (*ListInternalTransactionsByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListInternalTransactionsByAddressR + localVarReturnValue *ListInternalTransactionsByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InternalApiService.ListInternalTransactionsByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/internal" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -638,20 +638,20 @@ func (a *InternalApiService) ListInternalTransactionsByAddressExecute(r ApiListI return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40051 + var v InlineResponse40056 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -661,7 +661,7 @@ func (a *InternalApiService) ListInternalTransactionsByAddressExecute(r ApiListI return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40151 + var v InlineResponse40156 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -681,7 +681,7 @@ func (a *InternalApiService) ListInternalTransactionsByAddressExecute(r ApiListI return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40351 + var v InlineResponse40356 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -744,7 +744,7 @@ func (a *InternalApiService) ListInternalTransactionsByAddressExecute(r ApiListI err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_manage_subscriptions.go b/api_manage_subscriptions.go index 9d553d1..e6537d6 100644 --- a/api_manage_subscriptions.go +++ b/api_manage_subscriptions.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // ManageSubscriptionsApiService ManageSubscriptionsApi service type ManageSubscriptionsApiService service type ApiActivateBlockchainEventSubscriptionRequest struct { - ctx _context.Context + ctx context.Context ApiService *ManageSubscriptionsApiService referenceId string context *string @@ -41,12 +37,13 @@ func (r ApiActivateBlockchainEventSubscriptionRequest) Context(context string) A r.context = &context return r } + func (r ApiActivateBlockchainEventSubscriptionRequest) ActivateBlockchainEventSubscriptionRB(activateBlockchainEventSubscriptionRB ActivateBlockchainEventSubscriptionRB) ApiActivateBlockchainEventSubscriptionRequest { r.activateBlockchainEventSubscriptionRB = &activateBlockchainEventSubscriptionRB return r } -func (r ApiActivateBlockchainEventSubscriptionRequest) Execute() (ActivateBlockchainEventSubscriptionR, *_nethttp.Response, error) { +func (r ApiActivateBlockchainEventSubscriptionRequest) Execute() (*ActivateBlockchainEventSubscriptionR, *http.Response, error) { return r.ApiService.ActivateBlockchainEventSubscriptionExecute(r) } @@ -55,11 +52,11 @@ ActivateBlockchainEventSubscription Activate Blockchain Event Subscription Through this endpoint customers can reactivate an event subscription (callback) which has been deactivated by the system. Deactivations could happen due to various reasons, most often "maximum retry attempts reached". - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param referenceId Represents a unique ID used to reference the specific callback subscription. @return ApiActivateBlockchainEventSubscriptionRequest */ -func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscription(ctx _context.Context, referenceId string) ApiActivateBlockchainEventSubscriptionRequest { +func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscription(ctx context.Context, referenceId string) ApiActivateBlockchainEventSubscriptionRequest { return ApiActivateBlockchainEventSubscriptionRequest{ ApiService: a, ctx: ctx, @@ -69,25 +66,25 @@ func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscription(ctx // Execute executes the request // @return ActivateBlockchainEventSubscriptionR -func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscriptionExecute(r ApiActivateBlockchainEventSubscriptionRequest) (ActivateBlockchainEventSubscriptionR, *_nethttp.Response, error) { +func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscriptionExecute(r ApiActivateBlockchainEventSubscriptionRequest) (*ActivateBlockchainEventSubscriptionR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue ActivateBlockchainEventSubscriptionR + localVarReturnValue *ActivateBlockchainEventSubscriptionR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManageSubscriptionsApiService.ActivateBlockchainEventSubscription") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/subscriptions/{referenceId}/activate" - localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", _neturl.PathEscape(parameterToString(r.referenceId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", url.PathEscape(parameterToString(r.referenceId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -135,20 +132,20 @@ func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscriptionExecu return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40067 + var v InlineResponse40081 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -158,7 +155,7 @@ func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscriptionExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40167 + var v InlineResponse40181 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -178,7 +175,7 @@ func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscriptionExecu return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40367 + var v InlineResponse40381 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -251,7 +248,7 @@ func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscriptionExecu err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -262,7 +259,7 @@ func (a *ManageSubscriptionsApiService) ActivateBlockchainEventSubscriptionExecu } type ApiDeleteBlockchainEventSubscriptionRequest struct { - ctx _context.Context + ctx context.Context ApiService *ManageSubscriptionsApiService blockchain string network string @@ -276,7 +273,7 @@ func (r ApiDeleteBlockchainEventSubscriptionRequest) Context(context string) Api return r } -func (r ApiDeleteBlockchainEventSubscriptionRequest) Execute() (DeleteBlockchainEventSubscriptionR, *_nethttp.Response, error) { +func (r ApiDeleteBlockchainEventSubscriptionRequest) Execute() (*DeleteBlockchainEventSubscriptionR, *http.Response, error) { return r.ApiService.DeleteBlockchainEventSubscriptionExecute(r) } @@ -291,13 +288,13 @@ Currently Crypto APIs 2.0 offers certain Blockchain event endpoints which allow {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param referenceId Represents a unique ID used to reference the specific callback subscription. @return ApiDeleteBlockchainEventSubscriptionRequest */ -func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscription(ctx _context.Context, blockchain string, network string, referenceId string) ApiDeleteBlockchainEventSubscriptionRequest { +func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscription(ctx context.Context, blockchain string, network string, referenceId string) ApiDeleteBlockchainEventSubscriptionRequest { return ApiDeleteBlockchainEventSubscriptionRequest{ ApiService: a, ctx: ctx, @@ -309,27 +306,27 @@ func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscription(ctx _c // Execute executes the request // @return DeleteBlockchainEventSubscriptionR -func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscriptionExecute(r ApiDeleteBlockchainEventSubscriptionRequest) (DeleteBlockchainEventSubscriptionR, *_nethttp.Response, error) { +func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscriptionExecute(r ApiDeleteBlockchainEventSubscriptionRequest) (*DeleteBlockchainEventSubscriptionR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodDelete + localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue DeleteBlockchainEventSubscriptionR + localVarReturnValue *DeleteBlockchainEventSubscriptionR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManageSubscriptionsApiService.DeleteBlockchainEventSubscription") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions/{referenceId}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", _neturl.PathEscape(parameterToString(r.referenceId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", url.PathEscape(parameterToString(r.referenceId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -375,20 +372,20 @@ func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscriptionExecute return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40068 + var v InlineResponse40082 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -398,7 +395,7 @@ func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscriptionExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40168 + var v InlineResponse40182 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -418,7 +415,7 @@ func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscriptionExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40368 + var v InlineResponse40382 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -491,7 +488,235 @@ func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscriptionExecute err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest struct { + ctx context.Context + ApiService *ManageSubscriptionsApiService + referenceId string + context *string +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest) Context(context string) ApiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest { + r.context = &context + return r +} + +func (r ApiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest) Execute() (*GetBlockchainEventSubscriptionDetailsByReferenceIDR, *http.Response, error) { + return r.ApiService.GetBlockchainEventSubscriptionDetailsByReferenceIDExecute(r) +} + +/* +GetBlockchainEventSubscriptionDetailsByReferenceID Get Blockchain Event Subscription Details By Reference ID + +Through this endpoint the customer can get detailed information for a callback subscription by providing its reference ID. + +Currently Crypto APIs 2.0 offers certain Blockchain event endpoints which allow the user to subscribe for one/a few/all and receive callback notifications when the specific event occurs. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param referenceId Represents a unique ID used to reference the specific callback subscription. + @return ApiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest +*/ +func (a *ManageSubscriptionsApiService) GetBlockchainEventSubscriptionDetailsByReferenceID(ctx context.Context, referenceId string) ApiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest { + return ApiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest{ + ApiService: a, + ctx: ctx, + referenceId: referenceId, + } +} + +// Execute executes the request +// @return GetBlockchainEventSubscriptionDetailsByReferenceIDR +func (a *ManageSubscriptionsApiService) GetBlockchainEventSubscriptionDetailsByReferenceIDExecute(r ApiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest) (*GetBlockchainEventSubscriptionDetailsByReferenceIDR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetBlockchainEventSubscriptionDetailsByReferenceIDR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManageSubscriptionsApiService.GetBlockchainEventSubscriptionDetailsByReferenceID") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-events/subscriptions/{referenceId}" + localVarPath = strings.Replace(localVarPath, "{"+"referenceId"+"}", url.PathEscape(parameterToString(r.referenceId, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40080 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40180 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40380 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v InlineResponse4041 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -502,7 +727,7 @@ func (a *ManageSubscriptionsApiService) DeleteBlockchainEventSubscriptionExecute } type ApiListBlockchainEventsSubscriptionsRequest struct { - ctx _context.Context + ctx context.Context ApiService *ManageSubscriptionsApiService blockchain string network string @@ -516,18 +741,20 @@ func (r ApiListBlockchainEventsSubscriptionsRequest) Context(context string) Api r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListBlockchainEventsSubscriptionsRequest) Limit(limit int32) ApiListBlockchainEventsSubscriptionsRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListBlockchainEventsSubscriptionsRequest) Offset(offset int32) ApiListBlockchainEventsSubscriptionsRequest { r.offset = &offset return r } -func (r ApiListBlockchainEventsSubscriptionsRequest) Execute() (ListBlockchainEventsSubscriptionsR, *_nethttp.Response, error) { +func (r ApiListBlockchainEventsSubscriptionsRequest) Execute() (*ListBlockchainEventsSubscriptionsR, *http.Response, error) { return r.ApiService.ListBlockchainEventsSubscriptionsExecute(r) } @@ -540,12 +767,12 @@ Currently Crypto APIs 2.0 offers certain Blockchain event endpoints which allow {note}To have an operational callback subscription, you need to first verify a domain for the Callback URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiListBlockchainEventsSubscriptionsRequest */ -func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptions(ctx _context.Context, blockchain string, network string) ApiListBlockchainEventsSubscriptionsRequest { +func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptions(ctx context.Context, blockchain string, network string) ApiListBlockchainEventsSubscriptionsRequest { return ApiListBlockchainEventsSubscriptionsRequest{ ApiService: a, ctx: ctx, @@ -556,26 +783,26 @@ func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptions(ctx _c // Execute executes the request // @return ListBlockchainEventsSubscriptionsR -func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptionsExecute(r ApiListBlockchainEventsSubscriptionsRequest) (ListBlockchainEventsSubscriptionsR, *_nethttp.Response, error) { +func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptionsExecute(r ApiListBlockchainEventsSubscriptionsRequest) (*ListBlockchainEventsSubscriptionsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListBlockchainEventsSubscriptionsR + localVarReturnValue *ListBlockchainEventsSubscriptionsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManageSubscriptionsApiService.ListBlockchainEventsSubscriptions") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-events/{blockchain}/{network}/subscriptions" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -627,20 +854,20 @@ func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptionsExecute return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40066 + var v InlineResponse40079 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -650,7 +877,7 @@ func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptionsExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40166 + var v InlineResponse40179 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -670,7 +897,7 @@ func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptionsExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40366 + var v InlineResponse40379 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -733,7 +960,7 @@ func (a *ManageSubscriptionsApiService) ListBlockchainEventsSubscriptionsExecute err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_metadata.go b/api_metadata.go index 64314e5..8ccd016 100644 --- a/api_metadata.go +++ b/api_metadata.go @@ -13,22 +13,18 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" ) -// Linger please -var ( - _ _context.Context -) // MetadataApiService MetadataApi service type MetadataApiService service type ApiListSupportedAssetsRequest struct { - ctx _context.Context + ctx context.Context ApiService *MetadataApiService context *string assetType *string @@ -41,23 +37,26 @@ func (r ApiListSupportedAssetsRequest) Context(context string) ApiListSupportedA r.context = &context return r } + // Defines the type of the supported asset. This could be either \"crypto\" or \"fiat\". func (r ApiListSupportedAssetsRequest) AssetType(assetType string) ApiListSupportedAssetsRequest { r.assetType = &assetType return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListSupportedAssetsRequest) Limit(limit int32) ApiListSupportedAssetsRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListSupportedAssetsRequest) Offset(offset int32) ApiListSupportedAssetsRequest { r.offset = &offset return r } -func (r ApiListSupportedAssetsRequest) Execute() (ListSupportedAssetsR, *_nethttp.Response, error) { +func (r ApiListSupportedAssetsRequest) Execute() (*ListSupportedAssetsR, *http.Response, error) { return r.ApiService.ListSupportedAssetsExecute(r) } @@ -66,10 +65,10 @@ ListSupportedAssets List Supported Assets This endpoint will return a list of supported assets. The asset could be a cryptocurrency or FIAT assets that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. "BTC". - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSupportedAssetsRequest */ -func (a *MetadataApiService) ListSupportedAssets(ctx _context.Context) ApiListSupportedAssetsRequest { +func (a *MetadataApiService) ListSupportedAssets(ctx context.Context) ApiListSupportedAssetsRequest { return ApiListSupportedAssetsRequest{ ApiService: a, ctx: ctx, @@ -78,24 +77,24 @@ func (a *MetadataApiService) ListSupportedAssets(ctx _context.Context) ApiListSu // Execute executes the request // @return ListSupportedAssetsR -func (a *MetadataApiService) ListSupportedAssetsExecute(r ApiListSupportedAssetsRequest) (ListSupportedAssetsR, *_nethttp.Response, error) { +func (a *MetadataApiService) ListSupportedAssetsExecute(r ApiListSupportedAssetsRequest) (*ListSupportedAssetsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListSupportedAssetsR + localVarReturnValue *ListSupportedAssetsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.ListSupportedAssets") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/market-data/assets/supported" localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -150,20 +149,20 @@ func (a *MetadataApiService) ListSupportedAssetsExecute(r ApiListSupportedAssets return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40086 + var v InlineResponse400105 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -173,7 +172,7 @@ func (a *MetadataApiService) ListSupportedAssetsExecute(r ApiListSupportedAssets return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40186 + var v InlineResponse401105 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -193,7 +192,7 @@ func (a *MetadataApiService) ListSupportedAssetsExecute(r ApiListSupportedAssets return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40386 + var v InlineResponse403105 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -256,7 +255,7 @@ func (a *MetadataApiService) ListSupportedAssetsExecute(r ApiListSupportedAssets err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_omni_layer.go b/api_omni_layer.go index 0005beb..a668aad 100644 --- a/api_omni_layer.go +++ b/api_omni_layer.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // OmniLayerApiService OmniLayerApi service type OmniLayerApiService service type ApiGetOmniTransactionDetailsByTransactionIDTxidRequest struct { - ctx _context.Context + ctx context.Context ApiService *OmniLayerApiService network string blockchain string @@ -43,7 +39,7 @@ func (r ApiGetOmniTransactionDetailsByTransactionIDTxidRequest) Context(context return r } -func (r ApiGetOmniTransactionDetailsByTransactionIDTxidRequest) Execute() (GetOmniTransactionDetailsByTransactionIDTxidR, *_nethttp.Response, error) { +func (r ApiGetOmniTransactionDetailsByTransactionIDTxidRequest) Execute() (*GetOmniTransactionDetailsByTransactionIDTxidR, *http.Response, error) { return r.ApiService.GetOmniTransactionDetailsByTransactionIDTxidExecute(r) } @@ -52,13 +48,13 @@ GetOmniTransactionDetailsByTransactionIDTxid Get Omni Transaction Details By Tra Through this endpoint customers can obtain details about an Omni transaction by the transaction's unique identifier. The transaction can return information such as hash, height, time of creation in Unix timestamp, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param transactionId Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. @return ApiGetOmniTransactionDetailsByTransactionIDTxidRequest */ -func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxid(ctx _context.Context, network string, blockchain string, transactionId string) ApiGetOmniTransactionDetailsByTransactionIDTxidRequest { +func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxid(ctx context.Context, network string, blockchain string, transactionId string) ApiGetOmniTransactionDetailsByTransactionIDTxidRequest { return ApiGetOmniTransactionDetailsByTransactionIDTxidRequest{ ApiService: a, ctx: ctx, @@ -70,27 +66,27 @@ func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxid(ctx _ // Execute executes the request // @return GetOmniTransactionDetailsByTransactionIDTxidR -func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxidExecute(r ApiGetOmniTransactionDetailsByTransactionIDTxidRequest) (GetOmniTransactionDetailsByTransactionIDTxidR, *_nethttp.Response, error) { +func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxidExecute(r ApiGetOmniTransactionDetailsByTransactionIDTxidRequest) (*GetOmniTransactionDetailsByTransactionIDTxidR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetOmniTransactionDetailsByTransactionIDTxidR + localVarReturnValue *GetOmniTransactionDetailsByTransactionIDTxidR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OmniLayerApiService.GetOmniTransactionDetailsByTransactionIDTxid") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/omni/transactions/{transactionId}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", _neturl.PathEscape(parameterToString(r.transactionId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", url.PathEscape(parameterToString(r.transactionId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -136,20 +132,20 @@ func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxidExecut return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40032 + var v InlineResponse40033 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -159,7 +155,7 @@ func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxidExecut return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40132 + var v InlineResponse40133 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -179,7 +175,7 @@ func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxidExecut return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40332 + var v InlineResponse40333 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -252,7 +248,7 @@ func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxidExecut err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -263,7 +259,7 @@ func (a *OmniLayerApiService) GetOmniTransactionDetailsByTransactionIDTxidExecut } type ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest struct { - ctx _context.Context + ctx context.Context ApiService *OmniLayerApiService network string blockchain string @@ -277,7 +273,7 @@ func (r ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest) Context(cont return r } -func (r ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest) Execute() (GetUnconfirmedOmniTransactionByTransactionIDTxidR, *_nethttp.Response, error) { +func (r ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest) Execute() (*GetUnconfirmedOmniTransactionByTransactionIDTxidR, *http.Response, error) { return r.ApiService.GetUnconfirmedOmniTransactionByTransactionIDTxidExecute(r) } @@ -288,13 +284,13 @@ Through this endpoint customers can obtain information on unconfirmed Omni trans Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param transactionId Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. @return ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest */ -func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxid(ctx _context.Context, network string, blockchain string, transactionId string) ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest { +func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxid(ctx context.Context, network string, blockchain string, transactionId string) ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest { return ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest{ ApiService: a, ctx: ctx, @@ -306,27 +302,27 @@ func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxid(c // Execute executes the request // @return GetUnconfirmedOmniTransactionByTransactionIDTxidR -func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxidExecute(r ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest) (GetUnconfirmedOmniTransactionByTransactionIDTxidR, *_nethttp.Response, error) { +func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxidExecute(r ApiGetUnconfirmedOmniTransactionByTransactionIDTxidRequest) (*GetUnconfirmedOmniTransactionByTransactionIDTxidR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetUnconfirmedOmniTransactionByTransactionIDTxidR + localVarReturnValue *GetUnconfirmedOmniTransactionByTransactionIDTxidR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OmniLayerApiService.GetUnconfirmedOmniTransactionByTransactionIDTxid") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/omni/transactions-unconfirmed/{transactionId}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", _neturl.PathEscape(parameterToString(r.transactionId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", url.PathEscape(parameterToString(r.transactionId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -372,20 +368,20 @@ func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxidEx return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40019 + var v InlineResponse40020 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -395,7 +391,7 @@ func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxidEx return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40119 + var v InlineResponse40120 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -415,7 +411,7 @@ func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxidEx return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40319 + var v InlineResponse40320 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -488,7 +484,7 @@ func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxidEx err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -499,7 +495,7 @@ func (a *OmniLayerApiService) GetUnconfirmedOmniTransactionByTransactionIDTxidEx } type ApiListOmniTokensByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *OmniLayerApiService network string blockchain string @@ -513,7 +509,7 @@ func (r ApiListOmniTokensByAddressRequest) Context(context string) ApiListOmniTo return r } -func (r ApiListOmniTokensByAddressRequest) Execute() (ListOmniTokensByAddressR, *_nethttp.Response, error) { +func (r ApiListOmniTokensByAddressRequest) Execute() (*ListOmniTokensByAddressR, *http.Response, error) { return r.ApiService.ListOmniTokensByAddressExecute(r) } @@ -522,13 +518,13 @@ ListOmniTokensByAddress List Omni Tokens By Address Through this endpoint the customer can receive basic information about a given Omni address based on confirmed/synced blocks only. In the case where there are any incoming or outgoing **unconfirmed** transactions for the specific address, they **will not** be counted or calculated here. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiListOmniTokensByAddressRequest */ -func (a *OmniLayerApiService) ListOmniTokensByAddress(ctx _context.Context, network string, blockchain string, address string) ApiListOmniTokensByAddressRequest { +func (a *OmniLayerApiService) ListOmniTokensByAddress(ctx context.Context, network string, blockchain string, address string) ApiListOmniTokensByAddressRequest { return ApiListOmniTokensByAddressRequest{ ApiService: a, ctx: ctx, @@ -540,27 +536,27 @@ func (a *OmniLayerApiService) ListOmniTokensByAddress(ctx _context.Context, netw // Execute executes the request // @return ListOmniTokensByAddressR -func (a *OmniLayerApiService) ListOmniTokensByAddressExecute(r ApiListOmniTokensByAddressRequest) (ListOmniTokensByAddressR, *_nethttp.Response, error) { +func (a *OmniLayerApiService) ListOmniTokensByAddressExecute(r ApiListOmniTokensByAddressRequest) (*ListOmniTokensByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListOmniTokensByAddressR + localVarReturnValue *ListOmniTokensByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OmniLayerApiService.ListOmniTokensByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/omni/addresses/{address}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -606,15 +602,15 @@ func (a *OmniLayerApiService) ListOmniTokensByAddressExecute(r ApiListOmniTokens return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -712,7 +708,7 @@ func (a *OmniLayerApiService) ListOmniTokensByAddressExecute(r ApiListOmniTokens err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -723,7 +719,7 @@ func (a *OmniLayerApiService) ListOmniTokensByAddressExecute(r ApiListOmniTokens } type ApiListOmniTransactionsByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *OmniLayerApiService network string blockchain string @@ -738,18 +734,20 @@ func (r ApiListOmniTransactionsByAddressRequest) Context(context string) ApiList r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListOmniTransactionsByAddressRequest) Limit(limit int32) ApiListOmniTransactionsByAddressRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListOmniTransactionsByAddressRequest) Offset(offset int32) ApiListOmniTransactionsByAddressRequest { r.offset = &offset return r } -func (r ApiListOmniTransactionsByAddressRequest) Execute() (ListOmniTransactionsByAddressR, *_nethttp.Response, error) { +func (r ApiListOmniTransactionsByAddressRequest) Execute() (*ListOmniTransactionsByAddressR, *http.Response, error) { return r.ApiService.ListOmniTransactionsByAddressExecute(r) } @@ -758,13 +756,13 @@ ListOmniTransactionsByAddress List Omni Transactions By Address This endpoint will list Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiListOmniTransactionsByAddressRequest */ -func (a *OmniLayerApiService) ListOmniTransactionsByAddress(ctx _context.Context, network string, blockchain string, address string) ApiListOmniTransactionsByAddressRequest { +func (a *OmniLayerApiService) ListOmniTransactionsByAddress(ctx context.Context, network string, blockchain string, address string) ApiListOmniTransactionsByAddressRequest { return ApiListOmniTransactionsByAddressRequest{ ApiService: a, ctx: ctx, @@ -776,27 +774,27 @@ func (a *OmniLayerApiService) ListOmniTransactionsByAddress(ctx _context.Context // Execute executes the request // @return ListOmniTransactionsByAddressR -func (a *OmniLayerApiService) ListOmniTransactionsByAddressExecute(r ApiListOmniTransactionsByAddressRequest) (ListOmniTransactionsByAddressR, *_nethttp.Response, error) { +func (a *OmniLayerApiService) ListOmniTransactionsByAddressExecute(r ApiListOmniTransactionsByAddressRequest) (*ListOmniTransactionsByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListOmniTransactionsByAddressR + localVarReturnValue *ListOmniTransactionsByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OmniLayerApiService.ListOmniTransactionsByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/omni/addresses/{address}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -848,15 +846,15 @@ func (a *OmniLayerApiService) ListOmniTransactionsByAddressExecute(r ApiListOmni return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -954,7 +952,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByAddressExecute(r ApiListOmni err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -965,7 +963,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByAddressExecute(r ApiListOmni } type ApiListOmniTransactionsByBlockHashRequest struct { - ctx _context.Context + ctx context.Context ApiService *OmniLayerApiService network string blockchain string @@ -980,18 +978,20 @@ func (r ApiListOmniTransactionsByBlockHashRequest) Context(context string) ApiLi r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListOmniTransactionsByBlockHashRequest) Limit(limit int32) ApiListOmniTransactionsByBlockHashRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListOmniTransactionsByBlockHashRequest) Offset(offset int32) ApiListOmniTransactionsByBlockHashRequest { r.offset = &offset return r } -func (r ApiListOmniTransactionsByBlockHashRequest) Execute() (ListOmniTransactionsByBlockHashR, *_nethttp.Response, error) { +func (r ApiListOmniTransactionsByBlockHashRequest) Execute() (*ListOmniTransactionsByBlockHashR, *http.Response, error) { return r.ApiService.ListOmniTransactionsByBlockHashExecute(r) } @@ -1000,13 +1000,13 @@ ListOmniTransactionsByBlockHash List Omni Transactions By Block Hash This endpoint will list Omni transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @return ApiListOmniTransactionsByBlockHashRequest */ -func (a *OmniLayerApiService) ListOmniTransactionsByBlockHash(ctx _context.Context, network string, blockchain string, blockHash string) ApiListOmniTransactionsByBlockHashRequest { +func (a *OmniLayerApiService) ListOmniTransactionsByBlockHash(ctx context.Context, network string, blockchain string, blockHash string) ApiListOmniTransactionsByBlockHashRequest { return ApiListOmniTransactionsByBlockHashRequest{ ApiService: a, ctx: ctx, @@ -1018,27 +1018,27 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHash(ctx _context.Conte // Execute executes the request // @return ListOmniTransactionsByBlockHashR -func (a *OmniLayerApiService) ListOmniTransactionsByBlockHashExecute(r ApiListOmniTransactionsByBlockHashRequest) (ListOmniTransactionsByBlockHashR, *_nethttp.Response, error) { +func (a *OmniLayerApiService) ListOmniTransactionsByBlockHashExecute(r ApiListOmniTransactionsByBlockHashRequest) (*ListOmniTransactionsByBlockHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListOmniTransactionsByBlockHashR + localVarReturnValue *ListOmniTransactionsByBlockHashR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OmniLayerApiService.ListOmniTransactionsByBlockHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/omni/blocks/hash/{blockHash}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", _neturl.PathEscape(parameterToString(r.blockHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", url.PathEscape(parameterToString(r.blockHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1090,20 +1090,20 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHashExecute(r ApiListOm return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40044 + var v InlineResponse40047 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1113,7 +1113,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHashExecute(r ApiListOm return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40144 + var v InlineResponse40147 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1133,7 +1133,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHashExecute(r ApiListOm return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40344 + var v InlineResponse40347 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1196,7 +1196,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHashExecute(r ApiListOm err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1207,7 +1207,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHashExecute(r ApiListOm } type ApiListOmniTransactionsByBlockHeightRequest struct { - ctx _context.Context + ctx context.Context ApiService *OmniLayerApiService network string blockchain string @@ -1222,18 +1222,20 @@ func (r ApiListOmniTransactionsByBlockHeightRequest) Context(context string) Api r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListOmniTransactionsByBlockHeightRequest) Limit(limit int32) ApiListOmniTransactionsByBlockHeightRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListOmniTransactionsByBlockHeightRequest) Offset(offset int32) ApiListOmniTransactionsByBlockHeightRequest { r.offset = &offset return r } -func (r ApiListOmniTransactionsByBlockHeightRequest) Execute() (ListOmniTransactionsByBlockHeightR, *_nethttp.Response, error) { +func (r ApiListOmniTransactionsByBlockHeightRequest) Execute() (*ListOmniTransactionsByBlockHeightR, *http.Response, error) { return r.ApiService.ListOmniTransactionsByBlockHeightExecute(r) } @@ -1242,13 +1244,13 @@ ListOmniTransactionsByBlockHeight List Omni Transactions By Block Height This endpoint will list Omni transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param blockHeight Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". @return ApiListOmniTransactionsByBlockHeightRequest */ -func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeight(ctx _context.Context, network string, blockchain string, blockHeight string) ApiListOmniTransactionsByBlockHeightRequest { +func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeight(ctx context.Context, network string, blockchain string, blockHeight string) ApiListOmniTransactionsByBlockHeightRequest { return ApiListOmniTransactionsByBlockHeightRequest{ ApiService: a, ctx: ctx, @@ -1260,27 +1262,27 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeight(ctx _context.Con // Execute executes the request // @return ListOmniTransactionsByBlockHeightR -func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeightExecute(r ApiListOmniTransactionsByBlockHeightRequest) (ListOmniTransactionsByBlockHeightR, *_nethttp.Response, error) { +func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeightExecute(r ApiListOmniTransactionsByBlockHeightRequest) (*ListOmniTransactionsByBlockHeightR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListOmniTransactionsByBlockHeightR + localVarReturnValue *ListOmniTransactionsByBlockHeightR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OmniLayerApiService.ListOmniTransactionsByBlockHeight") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/omni/blocks/height/{blockHeight}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", _neturl.PathEscape(parameterToString(r.blockHeight, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", url.PathEscape(parameterToString(r.blockHeight, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1332,20 +1334,20 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeightExecute(r ApiList return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40038 + var v InlineResponse40041 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1355,7 +1357,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeightExecute(r ApiList return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40138 + var v InlineResponse40141 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1375,7 +1377,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeightExecute(r ApiList return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40338 + var v InlineResponse40341 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1438,7 +1440,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeightExecute(r ApiList err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1449,7 +1451,7 @@ func (a *OmniLayerApiService) ListOmniTransactionsByBlockHeightExecute(r ApiList } type ApiListUnconfirmedOmniTransactionsByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *OmniLayerApiService network string blockchain string @@ -1464,18 +1466,20 @@ func (r ApiListUnconfirmedOmniTransactionsByAddressRequest) Context(context stri r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListUnconfirmedOmniTransactionsByAddressRequest) Limit(limit int32) ApiListUnconfirmedOmniTransactionsByAddressRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListUnconfirmedOmniTransactionsByAddressRequest) Offset(offset int32) ApiListUnconfirmedOmniTransactionsByAddressRequest { r.offset = &offset return r } -func (r ApiListUnconfirmedOmniTransactionsByAddressRequest) Execute() (ListUnconfirmedOmniTransactionsByAddressR, *_nethttp.Response, error) { +func (r ApiListUnconfirmedOmniTransactionsByAddressRequest) Execute() (*ListUnconfirmedOmniTransactionsByAddressR, *http.Response, error) { return r.ApiService.ListUnconfirmedOmniTransactionsByAddressExecute(r) } @@ -1486,13 +1490,13 @@ This endpoint will list unconfirmed Omni transactions by an attribute `address`. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiListUnconfirmedOmniTransactionsByAddressRequest */ -func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByAddress(ctx _context.Context, network string, blockchain string, address string) ApiListUnconfirmedOmniTransactionsByAddressRequest { +func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByAddress(ctx context.Context, network string, blockchain string, address string) ApiListUnconfirmedOmniTransactionsByAddressRequest { return ApiListUnconfirmedOmniTransactionsByAddressRequest{ ApiService: a, ctx: ctx, @@ -1504,27 +1508,27 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByAddress(ctx _cont // Execute executes the request // @return ListUnconfirmedOmniTransactionsByAddressR -func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByAddressExecute(r ApiListUnconfirmedOmniTransactionsByAddressRequest) (ListUnconfirmedOmniTransactionsByAddressR, *_nethttp.Response, error) { +func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByAddressExecute(r ApiListUnconfirmedOmniTransactionsByAddressRequest) (*ListUnconfirmedOmniTransactionsByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListUnconfirmedOmniTransactionsByAddressR + localVarReturnValue *ListUnconfirmedOmniTransactionsByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OmniLayerApiService.ListUnconfirmedOmniTransactionsByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/omni/address-transactions-unconfirmed/{address}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1576,15 +1580,15 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByAddressExecute(r return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -1682,7 +1686,7 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByAddressExecute(r err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1693,7 +1697,7 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByAddressExecute(r } type ApiListUnconfirmedOmniTransactionsByPropertyIDRequest struct { - ctx _context.Context + ctx context.Context ApiService *OmniLayerApiService network string blockchain string @@ -1708,18 +1712,20 @@ func (r ApiListUnconfirmedOmniTransactionsByPropertyIDRequest) Context(context s r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListUnconfirmedOmniTransactionsByPropertyIDRequest) Limit(limit int32) ApiListUnconfirmedOmniTransactionsByPropertyIDRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListUnconfirmedOmniTransactionsByPropertyIDRequest) Offset(offset int32) ApiListUnconfirmedOmniTransactionsByPropertyIDRequest { r.offset = &offset return r } -func (r ApiListUnconfirmedOmniTransactionsByPropertyIDRequest) Execute() (ListUnconfirmedOmniTransactionsByPropertyIDR, *_nethttp.Response, error) { +func (r ApiListUnconfirmedOmniTransactionsByPropertyIDRequest) Execute() (*ListUnconfirmedOmniTransactionsByPropertyIDR, *http.Response, error) { return r.ApiService.ListUnconfirmedOmniTransactionsByPropertyIDExecute(r) } @@ -1730,13 +1736,13 @@ This endpoint will list unconfirmed Omni transactions by an attribute `propertyI Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param propertyId Represents the identifier of the tokens to send. @return ApiListUnconfirmedOmniTransactionsByPropertyIDRequest */ -func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyID(ctx _context.Context, network string, blockchain string, propertyId string) ApiListUnconfirmedOmniTransactionsByPropertyIDRequest { +func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyID(ctx context.Context, network string, blockchain string, propertyId string) ApiListUnconfirmedOmniTransactionsByPropertyIDRequest { return ApiListUnconfirmedOmniTransactionsByPropertyIDRequest{ ApiService: a, ctx: ctx, @@ -1748,27 +1754,27 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyID(ctx _c // Execute executes the request // @return ListUnconfirmedOmniTransactionsByPropertyIDR -func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyIDExecute(r ApiListUnconfirmedOmniTransactionsByPropertyIDRequest) (ListUnconfirmedOmniTransactionsByPropertyIDR, *_nethttp.Response, error) { +func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyIDExecute(r ApiListUnconfirmedOmniTransactionsByPropertyIDRequest) (*ListUnconfirmedOmniTransactionsByPropertyIDR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListUnconfirmedOmniTransactionsByPropertyIDR + localVarReturnValue *ListUnconfirmedOmniTransactionsByPropertyIDR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OmniLayerApiService.ListUnconfirmedOmniTransactionsByPropertyID") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/omni/properties/{propertyId}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"propertyId"+"}", _neturl.PathEscape(parameterToString(r.propertyId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"propertyId"+"}", url.PathEscape(parameterToString(r.propertyId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1820,20 +1826,20 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyIDExecute return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40028 + var v InlineResponse40029 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1843,7 +1849,7 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyIDExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40128 + var v InlineResponse40129 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1863,7 +1869,7 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyIDExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40328 + var v InlineResponse40329 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1926,7 +1932,7 @@ func (a *OmniLayerApiService) ListUnconfirmedOmniTransactionsByPropertyIDExecute err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_tokens.go b/api_tokens.go index e2ea67d..c23c5ca 100644 --- a/api_tokens.go +++ b/api_tokens.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // TokensApiService TokensApi service type TokensApiService service type ApiGetTokenDetailsByContractAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *TokensApiService blockchain string network string @@ -43,7 +39,7 @@ func (r ApiGetTokenDetailsByContractAddressRequest) Context(context string) ApiG return r } -func (r ApiGetTokenDetailsByContractAddressRequest) Execute() (GetTokenDetailsByContractAddressR, *_nethttp.Response, error) { +func (r ApiGetTokenDetailsByContractAddressRequest) Execute() (*GetTokenDetailsByContractAddressR, *http.Response, error) { return r.ApiService.GetTokenDetailsByContractAddressExecute(r) } @@ -54,13 +50,13 @@ Though this endpoint customers can obtain information about token details. This {note}This address is **not** the same as the smart contract creator address.{/note} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param contractAddress Defines the specific address of the contract. @return ApiGetTokenDetailsByContractAddressRequest */ -func (a *TokensApiService) GetTokenDetailsByContractAddress(ctx _context.Context, blockchain string, network string, contractAddress string) ApiGetTokenDetailsByContractAddressRequest { +func (a *TokensApiService) GetTokenDetailsByContractAddress(ctx context.Context, blockchain string, network string, contractAddress string) ApiGetTokenDetailsByContractAddressRequest { return ApiGetTokenDetailsByContractAddressRequest{ ApiService: a, ctx: ctx, @@ -72,27 +68,27 @@ func (a *TokensApiService) GetTokenDetailsByContractAddress(ctx _context.Context // Execute executes the request // @return GetTokenDetailsByContractAddressR -func (a *TokensApiService) GetTokenDetailsByContractAddressExecute(r ApiGetTokenDetailsByContractAddressRequest) (GetTokenDetailsByContractAddressR, *_nethttp.Response, error) { +func (a *TokensApiService) GetTokenDetailsByContractAddressExecute(r ApiGetTokenDetailsByContractAddressRequest) (*GetTokenDetailsByContractAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetTokenDetailsByContractAddressR + localVarReturnValue *GetTokenDetailsByContractAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TokensApiService.GetTokenDetailsByContractAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{contractAddress}/contract" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"contractAddress"+"}", _neturl.PathEscape(parameterToString(r.contractAddress, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"contractAddress"+"}", url.PathEscape(parameterToString(r.contractAddress, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -138,20 +134,20 @@ func (a *TokensApiService) GetTokenDetailsByContractAddressExecute(r ApiGetToken return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40057 + var v InlineResponse40069 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -161,7 +157,7 @@ func (a *TokensApiService) GetTokenDetailsByContractAddressExecute(r ApiGetToken return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40157 + var v InlineResponse40169 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -181,7 +177,7 @@ func (a *TokensApiService) GetTokenDetailsByContractAddressExecute(r ApiGetToken return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40357 + var v InlineResponse40369 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -244,7 +240,7 @@ func (a *TokensApiService) GetTokenDetailsByContractAddressExecute(r ApiGetToken err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -255,7 +251,7 @@ func (a *TokensApiService) GetTokenDetailsByContractAddressExecute(r ApiGetToken } type ApiListConfirmedTokensTransfersByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *TokensApiService blockchain string network string @@ -270,18 +266,20 @@ func (r ApiListConfirmedTokensTransfersByAddressRequest) Context(context string) r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListConfirmedTokensTransfersByAddressRequest) Limit(limit int32) ApiListConfirmedTokensTransfersByAddressRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListConfirmedTokensTransfersByAddressRequest) Offset(offset int32) ApiListConfirmedTokensTransfersByAddressRequest { r.offset = &offset return r } -func (r ApiListConfirmedTokensTransfersByAddressRequest) Execute() (ListConfirmedTokensTransfersByAddressR, *_nethttp.Response, error) { +func (r ApiListConfirmedTokensTransfersByAddressRequest) Execute() (*ListConfirmedTokensTransfersByAddressR, *http.Response, error) { return r.ApiService.ListConfirmedTokensTransfersByAddressExecute(r) } @@ -292,13 +290,13 @@ Through this endpoint customers can obtain a list with **confirmed** token trans {note}This refers only to transfers done for **confirmed tokens** not coins.{/note} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiListConfirmedTokensTransfersByAddressRequest */ -func (a *TokensApiService) ListConfirmedTokensTransfersByAddress(ctx _context.Context, blockchain string, network string, address string) ApiListConfirmedTokensTransfersByAddressRequest { +func (a *TokensApiService) ListConfirmedTokensTransfersByAddress(ctx context.Context, blockchain string, network string, address string) ApiListConfirmedTokensTransfersByAddressRequest { return ApiListConfirmedTokensTransfersByAddressRequest{ ApiService: a, ctx: ctx, @@ -310,27 +308,27 @@ func (a *TokensApiService) ListConfirmedTokensTransfersByAddress(ctx _context.Co // Execute executes the request // @return ListConfirmedTokensTransfersByAddressR -func (a *TokensApiService) ListConfirmedTokensTransfersByAddressExecute(r ApiListConfirmedTokensTransfersByAddressRequest) (ListConfirmedTokensTransfersByAddressR, *_nethttp.Response, error) { +func (a *TokensApiService) ListConfirmedTokensTransfersByAddressExecute(r ApiListConfirmedTokensTransfersByAddressRequest) (*ListConfirmedTokensTransfersByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListConfirmedTokensTransfersByAddressR + localVarReturnValue *ListConfirmedTokensTransfersByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TokensApiService.ListConfirmedTokensTransfersByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -382,20 +380,20 @@ func (a *TokensApiService) ListConfirmedTokensTransfersByAddressExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40055 + var v InlineResponse40064 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -405,7 +403,7 @@ func (a *TokensApiService) ListConfirmedTokensTransfersByAddressExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40155 + var v InlineResponse40164 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -425,7 +423,7 @@ func (a *TokensApiService) ListConfirmedTokensTransfersByAddressExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40355 + var v InlineResponse40364 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -488,7 +486,7 @@ func (a *TokensApiService) ListConfirmedTokensTransfersByAddressExecute(r ApiLis err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -499,7 +497,7 @@ func (a *TokensApiService) ListConfirmedTokensTransfersByAddressExecute(r ApiLis } type ApiListTokensByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *TokensApiService blockchain string network string @@ -514,18 +512,20 @@ func (r ApiListTokensByAddressRequest) Context(context string) ApiListTokensByAd r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListTokensByAddressRequest) Limit(limit int32) ApiListTokensByAddressRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListTokensByAddressRequest) Offset(offset int32) ApiListTokensByAddressRequest { r.offset = &offset return r } -func (r ApiListTokensByAddressRequest) Execute() (ListTokensByAddressR, *_nethttp.Response, error) { +func (r ApiListTokensByAddressRequest) Execute() (*ListTokensByAddressR, *http.Response, error) { return r.ApiService.ListTokensByAddressExecute(r) } @@ -534,13 +534,13 @@ ListTokensByAddress List Tokens By Address Through this endpoint customers can obtain token data by providing an attribute - `address`. The information that can be returned can include the contract address, the token symbol, type and balance. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiListTokensByAddressRequest */ -func (a *TokensApiService) ListTokensByAddress(ctx _context.Context, blockchain string, network string, address string) ApiListTokensByAddressRequest { +func (a *TokensApiService) ListTokensByAddress(ctx context.Context, blockchain string, network string, address string) ApiListTokensByAddressRequest { return ApiListTokensByAddressRequest{ ApiService: a, ctx: ctx, @@ -552,27 +552,27 @@ func (a *TokensApiService) ListTokensByAddress(ctx _context.Context, blockchain // Execute executes the request // @return ListTokensByAddressR -func (a *TokensApiService) ListTokensByAddressExecute(r ApiListTokensByAddressRequest) (ListTokensByAddressR, *_nethttp.Response, error) { +func (a *TokensApiService) ListTokensByAddressExecute(r ApiListTokensByAddressRequest) (*ListTokensByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListTokensByAddressR + localVarReturnValue *ListTokensByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TokensApiService.ListTokensByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/tokens" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -624,20 +624,20 @@ func (a *TokensApiService) ListTokensByAddressExecute(r ApiListTokensByAddressRe return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40056 + var v InlineResponse40067 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -647,7 +647,7 @@ func (a *TokensApiService) ListTokensByAddressExecute(r ApiListTokensByAddressRe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40156 + var v InlineResponse40167 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -667,7 +667,7 @@ func (a *TokensApiService) ListTokensByAddressExecute(r ApiListTokensByAddressRe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40356 + var v InlineResponse40367 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -730,7 +730,7 @@ func (a *TokensApiService) ListTokensByAddressExecute(r ApiListTokensByAddressRe err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -741,7 +741,7 @@ func (a *TokensApiService) ListTokensByAddressExecute(r ApiListTokensByAddressRe } type ApiListTokensTransfersByTransactionHashRequest struct { - ctx _context.Context + ctx context.Context ApiService *TokensApiService blockchain string network string @@ -756,18 +756,20 @@ func (r ApiListTokensTransfersByTransactionHashRequest) Context(context string) r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListTokensTransfersByTransactionHashRequest) Limit(limit int32) ApiListTokensTransfersByTransactionHashRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListTokensTransfersByTransactionHashRequest) Offset(offset int32) ApiListTokensTransfersByTransactionHashRequest { r.offset = &offset return r } -func (r ApiListTokensTransfersByTransactionHashRequest) Execute() (ListTokensTransfersByTransactionHashR, *_nethttp.Response, error) { +func (r ApiListTokensTransfersByTransactionHashRequest) Execute() (*ListTokensTransfersByTransactionHashR, *http.Response, error) { return r.ApiService.ListTokensTransfersByTransactionHashExecute(r) } @@ -778,13 +780,13 @@ Through this endpoint customers can obtain a list with token transfers by the `t {note}This refers only to transfers done for **tokens** not coins.{/note} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param transactionHash Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @return ApiListTokensTransfersByTransactionHashRequest */ -func (a *TokensApiService) ListTokensTransfersByTransactionHash(ctx _context.Context, blockchain string, network string, transactionHash string) ApiListTokensTransfersByTransactionHashRequest { +func (a *TokensApiService) ListTokensTransfersByTransactionHash(ctx context.Context, blockchain string, network string, transactionHash string) ApiListTokensTransfersByTransactionHashRequest { return ApiListTokensTransfersByTransactionHashRequest{ ApiService: a, ctx: ctx, @@ -796,27 +798,273 @@ func (a *TokensApiService) ListTokensTransfersByTransactionHash(ctx _context.Con // Execute executes the request // @return ListTokensTransfersByTransactionHashR -func (a *TokensApiService) ListTokensTransfersByTransactionHashExecute(r ApiListTokensTransfersByTransactionHashRequest) (ListTokensTransfersByTransactionHashR, *_nethttp.Response, error) { +func (a *TokensApiService) ListTokensTransfersByTransactionHashExecute(r ApiListTokensTransfersByTransactionHashRequest) (*ListTokensTransfersByTransactionHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListTokensTransfersByTransactionHashR + localVarReturnValue *ListTokensTransfersByTransactionHashR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TokensApiService.ListTokensTransfersByTransactionHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", _neturl.PathEscape(parameterToString(r.transactionHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", url.PathEscape(parameterToString(r.transactionHash, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40060 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40160 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40360 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListUnconfirmedTokensTransfersByAddressRequest struct { + ctx context.Context + ApiService *TokensApiService + blockchain string + network string + address string + context *string + limit *int32 + offset *int32 +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListUnconfirmedTokensTransfersByAddressRequest) Context(context string) ApiListUnconfirmedTokensTransfersByAddressRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListUnconfirmedTokensTransfersByAddressRequest) Limit(limit int32) ApiListUnconfirmedTokensTransfersByAddressRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListUnconfirmedTokensTransfersByAddressRequest) Offset(offset int32) ApiListUnconfirmedTokensTransfersByAddressRequest { + r.offset = &offset + return r +} + +func (r ApiListUnconfirmedTokensTransfersByAddressRequest) Execute() (*ListUnconfirmedTokensTransfersByAddressR, *http.Response, error) { + return r.ApiService.ListUnconfirmedTokensTransfersByAddressExecute(r) +} + +/* +ListUnconfirmedTokensTransfersByAddress List Unconfirmed Tokens Transfers By Address + +Through this endpoint customers can obtain a list with **unconfirmed** token transfers by the `address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. + +{note}This refers only to transfers done for **unconfirmed tokens** not coins.{/note} + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param address Represents the public address, which is a compressed and shortened form of a public key. + @return ApiListUnconfirmedTokensTransfersByAddressRequest +*/ +func (a *TokensApiService) ListUnconfirmedTokensTransfersByAddress(ctx context.Context, blockchain string, network string, address string) ApiListUnconfirmedTokensTransfersByAddressRequest { + return ApiListUnconfirmedTokensTransfersByAddressRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + address: address, + } +} + +// Execute executes the request +// @return ListUnconfirmedTokensTransfersByAddressR +func (a *TokensApiService) ListUnconfirmedTokensTransfersByAddressExecute(r ApiListUnconfirmedTokensTransfersByAddressRequest) (*ListUnconfirmedTokensTransfersByAddressR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListUnconfirmedTokensTransfersByAddressR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TokensApiService.ListUnconfirmedTokensTransfersByAddress") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-unconfirmed" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -868,20 +1116,20 @@ func (a *TokensApiService) ListTokensTransfersByTransactionHashExecute(r ApiList return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40054 + var v InlineResponse40066 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -891,7 +1139,7 @@ func (a *TokensApiService) ListTokensTransfersByTransactionHashExecute(r ApiList return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40154 + var v InlineResponse40166 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -911,7 +1159,7 @@ func (a *TokensApiService) ListTokensTransfersByTransactionHashExecute(r ApiList return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40354 + var v InlineResponse40366 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -974,7 +1222,7 @@ func (a *TokensApiService) ListTokensTransfersByTransactionHashExecute(r ApiList err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_transactions.go b/api_transactions.go index e27b6d3..bd07678 100644 --- a/api_transactions.go +++ b/api_transactions.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // TransactionsApiService TransactionsApi service type TransactionsApiService service type ApiCreateCoinsTransactionFromAddressForWholeAmountRequest struct { - ctx _context.Context + ctx context.Context ApiService *TransactionsApiService address string blockchain string @@ -44,12 +40,13 @@ func (r ApiCreateCoinsTransactionFromAddressForWholeAmountRequest) Context(conte r.context = &context return r } + func (r ApiCreateCoinsTransactionFromAddressForWholeAmountRequest) CreateCoinsTransactionFromAddressForWholeAmountRB(createCoinsTransactionFromAddressForWholeAmountRB CreateCoinsTransactionFromAddressForWholeAmountRB) ApiCreateCoinsTransactionFromAddressForWholeAmountRequest { r.createCoinsTransactionFromAddressForWholeAmountRB = &createCoinsTransactionFromAddressForWholeAmountRB return r } -func (r ApiCreateCoinsTransactionFromAddressForWholeAmountRequest) Execute() (CreateCoinsTransactionFromAddressForWholeAmountR, *_nethttp.Response, error) { +func (r ApiCreateCoinsTransactionFromAddressForWholeAmountRequest) Execute() (*CreateCoinsTransactionFromAddressForWholeAmountR, *http.Response, error) { return r.ApiService.CreateCoinsTransactionFromAddressForWholeAmountExecute(r) } @@ -58,14 +55,14 @@ CreateCoinsTransactionFromAddressForWholeAmount Create Coins Transaction From Ad Through this endpoint customers can create a new transaction from address for **coins** specifically, which will transfer over the entire available amount. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address Defines the source address. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param walletId Represents the sender's specific and unique Wallet ID of the sender. @return ApiCreateCoinsTransactionFromAddressForWholeAmountRequest */ -func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmount(ctx _context.Context, address string, blockchain string, network string, walletId string) ApiCreateCoinsTransactionFromAddressForWholeAmountRequest { +func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmount(ctx context.Context, address string, blockchain string, network string, walletId string) ApiCreateCoinsTransactionFromAddressForWholeAmountRequest { return ApiCreateCoinsTransactionFromAddressForWholeAmountRequest{ ApiService: a, ctx: ctx, @@ -78,28 +75,28 @@ func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmount // Execute executes the request // @return CreateCoinsTransactionFromAddressForWholeAmountR -func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmountExecute(r ApiCreateCoinsTransactionFromAddressForWholeAmountRequest) (CreateCoinsTransactionFromAddressForWholeAmountR, *_nethttp.Response, error) { +func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmountExecute(r ApiCreateCoinsTransactionFromAddressForWholeAmountRequest) (*CreateCoinsTransactionFromAddressForWholeAmountR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue CreateCoinsTransactionFromAddressForWholeAmountR + localVarReturnValue *CreateCoinsTransactionFromAddressForWholeAmountR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TransactionsApiService.CreateCoinsTransactionFromAddressForWholeAmount") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{address}/all-transaction-requests" - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", _neturl.PathEscape(parameterToString(r.walletId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -147,20 +144,20 @@ func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmount return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40025 + var v InlineResponse40026 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -170,7 +167,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmount return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40125 + var v InlineResponse40126 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -190,7 +187,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmount return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40325 + var v InlineResponse40326 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -253,7 +250,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmount err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -264,7 +261,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionFromAddressForWholeAmount } type ApiCreateCoinsTransactionRequestFromAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *TransactionsApiService address string blockchain string @@ -279,12 +276,13 @@ func (r ApiCreateCoinsTransactionRequestFromAddressRequest) Context(context stri r.context = &context return r } + func (r ApiCreateCoinsTransactionRequestFromAddressRequest) CreateCoinsTransactionRequestFromAddressRB(createCoinsTransactionRequestFromAddressRB CreateCoinsTransactionRequestFromAddressRB) ApiCreateCoinsTransactionRequestFromAddressRequest { r.createCoinsTransactionRequestFromAddressRB = &createCoinsTransactionRequestFromAddressRB return r } -func (r ApiCreateCoinsTransactionRequestFromAddressRequest) Execute() (CreateCoinsTransactionRequestFromAddressR, *_nethttp.Response, error) { +func (r ApiCreateCoinsTransactionRequestFromAddressRequest) Execute() (*CreateCoinsTransactionRequestFromAddressR, *http.Response, error) { return r.ApiService.CreateCoinsTransactionRequestFromAddressExecute(r) } @@ -293,14 +291,14 @@ CreateCoinsTransactionRequestFromAddress Create Coins Transaction Request from A Through this endpoint users can create a new single transaction request from one address to another. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param address Defines the specific source address for the transaction. + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param address Defines the specific source address for the transaction. For XRP we also support the X-address format. @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param walletId Represents the sender's specific and unique Wallet ID of the sender. @return ApiCreateCoinsTransactionRequestFromAddressRequest */ -func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddress(ctx _context.Context, address string, blockchain string, network string, walletId string) ApiCreateCoinsTransactionRequestFromAddressRequest { +func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddress(ctx context.Context, address string, blockchain string, network string, walletId string) ApiCreateCoinsTransactionRequestFromAddressRequest { return ApiCreateCoinsTransactionRequestFromAddressRequest{ ApiService: a, ctx: ctx, @@ -313,28 +311,28 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddress(ctx _c // Execute executes the request // @return CreateCoinsTransactionRequestFromAddressR -func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddressExecute(r ApiCreateCoinsTransactionRequestFromAddressRequest) (CreateCoinsTransactionRequestFromAddressR, *_nethttp.Response, error) { +func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddressExecute(r ApiCreateCoinsTransactionRequestFromAddressRequest) (*CreateCoinsTransactionRequestFromAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue CreateCoinsTransactionRequestFromAddressR + localVarReturnValue *CreateCoinsTransactionRequestFromAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TransactionsApiService.CreateCoinsTransactionRequestFromAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{address}/transaction-requests" - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", _neturl.PathEscape(parameterToString(r.walletId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -382,20 +380,20 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddressExecute return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40020 + var v InlineResponse40021 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -405,7 +403,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddressExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40120 + var v InlineResponse40121 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -425,7 +423,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddressExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40320 + var v InlineResponse40321 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -488,7 +486,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddressExecute err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -499,7 +497,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromAddressExecute } type ApiCreateCoinsTransactionRequestFromWalletRequest struct { - ctx _context.Context + ctx context.Context ApiService *TransactionsApiService blockchain string network string @@ -513,12 +511,13 @@ func (r ApiCreateCoinsTransactionRequestFromWalletRequest) Context(context strin r.context = &context return r } + func (r ApiCreateCoinsTransactionRequestFromWalletRequest) CreateCoinsTransactionRequestFromWalletRB(createCoinsTransactionRequestFromWalletRB CreateCoinsTransactionRequestFromWalletRB) ApiCreateCoinsTransactionRequestFromWalletRequest { r.createCoinsTransactionRequestFromWalletRB = &createCoinsTransactionRequestFromWalletRB return r } -func (r ApiCreateCoinsTransactionRequestFromWalletRequest) Execute() (CreateCoinsTransactionRequestFromWalletR, *_nethttp.Response, error) { +func (r ApiCreateCoinsTransactionRequestFromWalletRequest) Execute() (*CreateCoinsTransactionRequestFromWalletR, *http.Response, error) { return r.ApiService.CreateCoinsTransactionRequestFromWalletExecute(r) } @@ -529,13 +528,13 @@ Through this endpoint users can create a new transaction request from the entire {warning}This is available **only** for UTXO-based protocols such as Bitcoin, Bitcoin Cash, Litecoin, etc. It **is not** available for Account-based protocols like Ethereum.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param walletId Represents the sender's specific and unique Wallet ID of the sender. @return ApiCreateCoinsTransactionRequestFromWalletRequest */ -func (a *TransactionsApiService) CreateCoinsTransactionRequestFromWallet(ctx _context.Context, blockchain string, network string, walletId string) ApiCreateCoinsTransactionRequestFromWalletRequest { +func (a *TransactionsApiService) CreateCoinsTransactionRequestFromWallet(ctx context.Context, blockchain string, network string, walletId string) ApiCreateCoinsTransactionRequestFromWalletRequest { return ApiCreateCoinsTransactionRequestFromWalletRequest{ ApiService: a, ctx: ctx, @@ -547,27 +546,27 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromWallet(ctx _co // Execute executes the request // @return CreateCoinsTransactionRequestFromWalletR -func (a *TransactionsApiService) CreateCoinsTransactionRequestFromWalletExecute(r ApiCreateCoinsTransactionRequestFromWalletRequest) (CreateCoinsTransactionRequestFromWalletR, *_nethttp.Response, error) { +func (a *TransactionsApiService) CreateCoinsTransactionRequestFromWalletExecute(r ApiCreateCoinsTransactionRequestFromWalletRequest) (*CreateCoinsTransactionRequestFromWalletR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue CreateCoinsTransactionRequestFromWalletR + localVarReturnValue *CreateCoinsTransactionRequestFromWalletR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TransactionsApiService.CreateCoinsTransactionRequestFromWallet") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transaction-requests" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", _neturl.PathEscape(parameterToString(r.walletId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -615,15 +614,15 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromWalletExecute( return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -721,7 +720,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromWalletExecute( err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -732,7 +731,7 @@ func (a *TransactionsApiService) CreateCoinsTransactionRequestFromWalletExecute( } type ApiCreateFungibleTokensTransactionRequestFromAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *TransactionsApiService blockchain string network string @@ -747,12 +746,13 @@ func (r ApiCreateFungibleTokensTransactionRequestFromAddressRequest) Context(con r.context = &context return r } + func (r ApiCreateFungibleTokensTransactionRequestFromAddressRequest) CreateFungibleTokensTransactionRequestFromAddressRB(createFungibleTokensTransactionRequestFromAddressRB CreateFungibleTokensTransactionRequestFromAddressRB) ApiCreateFungibleTokensTransactionRequestFromAddressRequest { r.createFungibleTokensTransactionRequestFromAddressRB = &createFungibleTokensTransactionRequestFromAddressRB return r } -func (r ApiCreateFungibleTokensTransactionRequestFromAddressRequest) Execute() (CreateFungibleTokensTransactionRequestFromAddressR, *_nethttp.Response, error) { +func (r ApiCreateFungibleTokensTransactionRequestFromAddressRequest) Execute() (*CreateFungibleTokensTransactionRequestFromAddressR, *http.Response, error) { return r.ApiService.CreateFungibleTokensTransactionRequestFromAddressExecute(r) } @@ -765,14 +765,14 @@ Through this endpoint users can make a single token transaction. {warning}Crypto APIs will notify the user **only when** the event occurs. There are cases when the specific event doesn't happen at all, or takes a long time to do so. A callback notification **will not** be sent if the event does not or cannot occur, or will take long time to occur.{/warning} - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param senderAddress Defines the specific source address for the transaction. @param walletId Defines the unique ID of the Wallet. @return ApiCreateFungibleTokensTransactionRequestFromAddressRequest */ -func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddress(ctx _context.Context, blockchain string, network string, senderAddress string, walletId string) ApiCreateFungibleTokensTransactionRequestFromAddressRequest { +func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddress(ctx context.Context, blockchain string, network string, senderAddress string, walletId string) ApiCreateFungibleTokensTransactionRequestFromAddressRequest { return ApiCreateFungibleTokensTransactionRequestFromAddressRequest{ ApiService: a, ctx: ctx, @@ -785,28 +785,28 @@ func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddre // Execute executes the request // @return CreateFungibleTokensTransactionRequestFromAddressR -func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddressExecute(r ApiCreateFungibleTokensTransactionRequestFromAddressRequest) (CreateFungibleTokensTransactionRequestFromAddressR, *_nethttp.Response, error) { +func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddressExecute(r ApiCreateFungibleTokensTransactionRequestFromAddressRequest) (*CreateFungibleTokensTransactionRequestFromAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodPost + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue CreateFungibleTokensTransactionRequestFromAddressR + localVarReturnValue *CreateFungibleTokensTransactionRequestFromAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TransactionsApiService.CreateFungibleTokensTransactionRequestFromAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{senderAddress}/token-transaction-requests" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"senderAddress"+"}", _neturl.PathEscape(parameterToString(r.senderAddress, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", _neturl.PathEscape(parameterToString(r.walletId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"senderAddress"+"}", url.PathEscape(parameterToString(r.senderAddress, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"walletId"+"}", url.PathEscape(parameterToString(r.walletId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -854,20 +854,20 @@ func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddre return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40036 + var v InlineResponse40037 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -877,7 +877,7 @@ func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddre return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40136 + var v InlineResponse40137 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -897,7 +897,7 @@ func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddre return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40336 + var v InlineResponse40337 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -960,7 +960,7 @@ func (a *TransactionsApiService) CreateFungibleTokensTransactionRequestFromAddre err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_unified_endpoints.go b/api_unified_endpoints.go index 587406a..4ec61ae 100644 --- a/api_unified_endpoints.go +++ b/api_unified_endpoints.go @@ -13,88 +13,100 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // UnifiedEndpointsApiService UnifiedEndpointsApi service type UnifiedEndpointsApiService service -type ApiGetAddressDetailsRequest struct { - ctx _context.Context +type ApiEstimateTransactionSmartFeeRequest struct { + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string - address string context *string + confirmationTarget *int32 + estimateMode *string } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiGetAddressDetailsRequest) Context(context string) ApiGetAddressDetailsRequest { +func (r ApiEstimateTransactionSmartFeeRequest) Context(context string) ApiEstimateTransactionSmartFeeRequest { r.context = &context return r } -func (r ApiGetAddressDetailsRequest) Execute() (GetAddressDetailsR, *_nethttp.Response, error) { - return r.ApiService.GetAddressDetailsExecute(r) +// Integer representation of confirmation target in blocks that estimation will be valid for +func (r ApiEstimateTransactionSmartFeeRequest) ConfirmationTarget(confirmationTarget int32) ApiEstimateTransactionSmartFeeRequest { + r.confirmationTarget = &confirmationTarget + return r +} + +// String representation of the address +func (r ApiEstimateTransactionSmartFeeRequest) EstimateMode(estimateMode string) ApiEstimateTransactionSmartFeeRequest { + r.estimateMode = &estimateMode + return r +} + +func (r ApiEstimateTransactionSmartFeeRequest) Execute() (*EstimateTransactionSmartFeeR, *http.Response, error) { + return r.ApiService.EstimateTransactionSmartFeeExecute(r) } /* -GetAddressDetails Get Address Details +EstimateTransactionSmartFee Estimate Transaction Smart Fee -Through this endpoint the customer can receive basic information about a given address based on confirmed/synced blocks only. In the case where there are any incoming or outgoing **unconfirmed** transactions for the specific address, they **will not** be counted or calculated here. Applies only for coins. +Through this endpoint, customers can estimate the approximate fee per kilobyte needed for a transaction to begin confirmation within the `confirmationTarget` blocks when possible. After which it will return the number of blocks for which the estimate is valid. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. - @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @param address Represents the public address, which is a compressed and shortened form of a public key. - @return ApiGetAddressDetailsRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain + @param network + @return ApiEstimateTransactionSmartFeeRequest */ -func (a *UnifiedEndpointsApiService) GetAddressDetails(ctx _context.Context, blockchain string, network string, address string) ApiGetAddressDetailsRequest { - return ApiGetAddressDetailsRequest{ +func (a *UnifiedEndpointsApiService) EstimateTransactionSmartFee(ctx context.Context, blockchain string, network string) ApiEstimateTransactionSmartFeeRequest { + return ApiEstimateTransactionSmartFeeRequest{ ApiService: a, ctx: ctx, blockchain: blockchain, network: network, - address: address, } } // Execute executes the request -// @return GetAddressDetailsR -func (a *UnifiedEndpointsApiService) GetAddressDetailsExecute(r ApiGetAddressDetailsRequest) (GetAddressDetailsR, *_nethttp.Response, error) { +// @return EstimateTransactionSmartFeeR +func (a *UnifiedEndpointsApiService) EstimateTransactionSmartFeeExecute(r ApiEstimateTransactionSmartFeeRequest) (*EstimateTransactionSmartFeeR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetAddressDetailsR + localVarReturnValue *EstimateTransactionSmartFeeR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetAddressDetails") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.EstimateTransactionSmartFee") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/estimate-transaction-smart-fee" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) } + if r.confirmationTarget != nil { + localVarQueryParams.Add("confirmationTarget", parameterToString(*r.confirmationTarget, "")) + } + if r.estimateMode != nil { + localVarQueryParams.Add("estimateMode", parameterToString(*r.estimateMode, "")) + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -136,20 +148,20 @@ func (a *UnifiedEndpointsApiService) GetAddressDetailsExecute(r ApiGetAddressDet return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse400 + var v InlineResponse40068 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -159,7 +171,7 @@ func (a *UnifiedEndpointsApiService) GetAddressDetailsExecute(r ApiGetAddressDet return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse401 + var v InlineResponse40168 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -179,7 +191,7 @@ func (a *UnifiedEndpointsApiService) GetAddressDetailsExecute(r ApiGetAddressDet return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse403 + var v InlineResponse40368 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -236,13 +248,23 @@ func (a *UnifiedEndpointsApiService) GetAddressDetailsExecute(r ApiGetAddressDet return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 501 { + var v InlineResponse501 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr } err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -252,71 +274,69 @@ func (a *UnifiedEndpointsApiService) GetAddressDetailsExecute(r ApiGetAddressDet return localVarReturnValue, localVarHTTPResponse, nil } -type ApiGetBlockDetailsByBlockHashRequest struct { - ctx _context.Context +type ApiGetAddressDetailsRequest struct { + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string - blockHash string + address string context *string } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiGetBlockDetailsByBlockHashRequest) Context(context string) ApiGetBlockDetailsByBlockHashRequest { +func (r ApiGetAddressDetailsRequest) Context(context string) ApiGetAddressDetailsRequest { r.context = &context return r } -func (r ApiGetBlockDetailsByBlockHashRequest) Execute() (GetBlockDetailsByBlockHashR, *_nethttp.Response, error) { - return r.ApiService.GetBlockDetailsByBlockHashExecute(r) +func (r ApiGetAddressDetailsRequest) Execute() (*GetAddressDetailsR, *http.Response, error) { + return r.ApiService.GetAddressDetailsExecute(r) } /* -GetBlockDetailsByBlockHash Get Block Details By Block Hash +GetAddressDetails Get Address Details -Through this endpoint customers can obtain basic information about a given mined block, specifically by using the `hash` parameter. These block details could include the hash of the specific, the previous and the next block, its transactions count, its height, etc. - -Blockchain specific data is information such as version, nonce, size, bits, merkleroot, etc. +Through this endpoint the customer can receive basic information about a given address based on confirmed/synced blocks only. In the case where there are any incoming or outgoing **unconfirmed** transactions for the specific address, they **will not** be counted or calculated here. Applies only for coins. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - @return ApiGetBlockDetailsByBlockHashRequest + @param address Represents the public address, which is a compressed and shortened form of a public key. + @return ApiGetAddressDetailsRequest */ -func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHash(ctx _context.Context, blockchain string, network string, blockHash string) ApiGetBlockDetailsByBlockHashRequest { - return ApiGetBlockDetailsByBlockHashRequest{ +func (a *UnifiedEndpointsApiService) GetAddressDetails(ctx context.Context, blockchain string, network string, address string) ApiGetAddressDetailsRequest { + return ApiGetAddressDetailsRequest{ ApiService: a, ctx: ctx, blockchain: blockchain, network: network, - blockHash: blockHash, + address: address, } } // Execute executes the request -// @return GetBlockDetailsByBlockHashR -func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHashExecute(r ApiGetBlockDetailsByBlockHashRequest) (GetBlockDetailsByBlockHashR, *_nethttp.Response, error) { +// @return GetAddressDetailsR +func (a *UnifiedEndpointsApiService) GetAddressDetailsExecute(r ApiGetAddressDetailsRequest) (*GetAddressDetailsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetBlockDetailsByBlockHashR + localVarReturnValue *GetAddressDetailsR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetBlockDetailsByBlockHash") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetAddressDetails") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", _neturl.PathEscape(parameterToString(r.blockHash, "")), -1) + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -362,20 +382,20 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHashExecute(r ApiGetB return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40030 + var v InlineResponse400 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -385,7 +405,7 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHashExecute(r ApiGetB return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40130 + var v InlineResponse401 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -405,17 +425,7 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHashExecute(r ApiGetB return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40330 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v InlineResponse4042 + var v InlineResponse403 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -478,7 +488,7 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHashExecute(r ApiGetB err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -488,71 +498,71 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHashExecute(r ApiGetB return localVarReturnValue, localVarHTTPResponse, nil } -type ApiGetBlockDetailsByBlockHeightRequest struct { - ctx _context.Context +type ApiGetBlockDetailsByBlockHashRequest struct { + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string - height int32 + blockHash string context *string } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiGetBlockDetailsByBlockHeightRequest) Context(context string) ApiGetBlockDetailsByBlockHeightRequest { +func (r ApiGetBlockDetailsByBlockHashRequest) Context(context string) ApiGetBlockDetailsByBlockHashRequest { r.context = &context return r } -func (r ApiGetBlockDetailsByBlockHeightRequest) Execute() (GetBlockDetailsByBlockHeightR, *_nethttp.Response, error) { - return r.ApiService.GetBlockDetailsByBlockHeightExecute(r) +func (r ApiGetBlockDetailsByBlockHashRequest) Execute() (*GetBlockDetailsByBlockHashR, *http.Response, error) { + return r.ApiService.GetBlockDetailsByBlockHashExecute(r) } /* -GetBlockDetailsByBlockHeight Get Block Details By Block Height +GetBlockDetailsByBlockHash Get Block Details By Block Hash -Through this endpoint customers can obtain basic information about a given mined block, specifically by using the `height` parameter. These block details could include the hash of the specific, the previous and the next block, its transactions count, its height, etc. +Through this endpoint customers can obtain basic information about a given mined block, specifically by using the `hash` parameter. These block details could include the hash of the specific, the previous and the next block, its transactions count, its height, etc. Blockchain specific data is information such as version, nonce, size, bits, merkleroot, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @param height Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". - @return ApiGetBlockDetailsByBlockHeightRequest + @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. + @return ApiGetBlockDetailsByBlockHashRequest */ -func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeight(ctx _context.Context, blockchain string, network string, height int32) ApiGetBlockDetailsByBlockHeightRequest { - return ApiGetBlockDetailsByBlockHeightRequest{ +func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHash(ctx context.Context, blockchain string, network string, blockHash string) ApiGetBlockDetailsByBlockHashRequest { + return ApiGetBlockDetailsByBlockHashRequest{ ApiService: a, ctx: ctx, blockchain: blockchain, network: network, - height: height, + blockHash: blockHash, } } // Execute executes the request -// @return GetBlockDetailsByBlockHeightR -func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeightExecute(r ApiGetBlockDetailsByBlockHeightRequest) (GetBlockDetailsByBlockHeightR, *_nethttp.Response, error) { +// @return GetBlockDetailsByBlockHashR +func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHashExecute(r ApiGetBlockDetailsByBlockHashRequest) (*GetBlockDetailsByBlockHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetBlockDetailsByBlockHeightR + localVarReturnValue *GetBlockDetailsByBlockHashR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetBlockDetailsByBlockHeight") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetBlockDetailsByBlockHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/height/{height}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"height"+"}", _neturl.PathEscape(parameterToString(r.height, "")), -1) + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash}" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", url.PathEscape(parameterToString(r.blockHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -598,20 +608,20 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeightExecute(r ApiGe return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40026 + var v InlineResponse40031 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -621,7 +631,7 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeightExecute(r ApiGe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40126 + var v InlineResponse40131 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -641,7 +651,7 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeightExecute(r ApiGe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40326 + var v InlineResponse40331 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -714,7 +724,7 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeightExecute(r ApiGe err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -724,65 +734,71 @@ func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeightExecute(r ApiGe return localVarReturnValue, localVarHTTPResponse, nil } -type ApiGetFeeRecommendationsRequest struct { - ctx _context.Context +type ApiGetBlockDetailsByBlockHeightRequest struct { + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string + height int32 context *string } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiGetFeeRecommendationsRequest) Context(context string) ApiGetFeeRecommendationsRequest { +func (r ApiGetBlockDetailsByBlockHeightRequest) Context(context string) ApiGetBlockDetailsByBlockHeightRequest { r.context = &context return r } -func (r ApiGetFeeRecommendationsRequest) Execute() (GetFeeRecommendationsR, *_nethttp.Response, error) { - return r.ApiService.GetFeeRecommendationsExecute(r) +func (r ApiGetBlockDetailsByBlockHeightRequest) Execute() (*GetBlockDetailsByBlockHeightR, *http.Response, error) { + return r.ApiService.GetBlockDetailsByBlockHeightExecute(r) } /* -GetFeeRecommendations Get Fee Recommendations +GetBlockDetailsByBlockHeight Get Block Details By Block Height -Through this endpoint customers can obtain fee recommendations. Our fees recommendations are based on Mempool data which makes them much more accurate than fees based on already mined blocks. Calculations are done in real time live. Using this endpoint customers can get gas price for Ethereum, fee per byte for Bitcoin, etc. +Through this endpoint customers can obtain basic information about a given mined block, specifically by using the `height` parameter. These block details could include the hash of the specific, the previous and the next block, its transactions count, its height, etc. + +Blockchain specific data is information such as version, nonce, size, bits, merkleroot, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @return ApiGetFeeRecommendationsRequest + @param height Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". + @return ApiGetBlockDetailsByBlockHeightRequest */ -func (a *UnifiedEndpointsApiService) GetFeeRecommendations(ctx _context.Context, blockchain string, network string) ApiGetFeeRecommendationsRequest { - return ApiGetFeeRecommendationsRequest{ +func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeight(ctx context.Context, blockchain string, network string, height int32) ApiGetBlockDetailsByBlockHeightRequest { + return ApiGetBlockDetailsByBlockHeightRequest{ ApiService: a, ctx: ctx, blockchain: blockchain, network: network, + height: height, } } // Execute executes the request -// @return GetFeeRecommendationsR -func (a *UnifiedEndpointsApiService) GetFeeRecommendationsExecute(r ApiGetFeeRecommendationsRequest) (GetFeeRecommendationsR, *_nethttp.Response, error) { +// @return GetBlockDetailsByBlockHeightR +func (a *UnifiedEndpointsApiService) GetBlockDetailsByBlockHeightExecute(r ApiGetBlockDetailsByBlockHeightRequest) (*GetBlockDetailsByBlockHeightR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetFeeRecommendationsR + localVarReturnValue *GetBlockDetailsByBlockHeightR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetFeeRecommendations") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetBlockDetailsByBlockHeight") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/mempool/fees" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/height/{height}" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"height"+"}", url.PathEscape(parameterToString(r.height, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -828,20 +844,20 @@ func (a *UnifiedEndpointsApiService) GetFeeRecommendationsExecute(r ApiGetFeeRec return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40053 + var v InlineResponse40027 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -851,7 +867,7 @@ func (a *UnifiedEndpointsApiService) GetFeeRecommendationsExecute(r ApiGetFeeRec return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40153 + var v InlineResponse40127 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -871,7 +887,7 @@ func (a *UnifiedEndpointsApiService) GetFeeRecommendationsExecute(r ApiGetFeeRec return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40353 + var v InlineResponse40327 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -881,7 +897,7 @@ func (a *UnifiedEndpointsApiService) GetFeeRecommendationsExecute(r ApiGetFeeRec return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v InlineResponse4041 + var v InlineResponse4042 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -944,7 +960,7 @@ func (a *UnifiedEndpointsApiService) GetFeeRecommendationsExecute(r ApiGetFeeRec err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -954,8 +970,8 @@ func (a *UnifiedEndpointsApiService) GetFeeRecommendationsExecute(r ApiGetFeeRec return localVarReturnValue, localVarHTTPResponse, nil } -type ApiGetLastMinedBlockRequest struct { - ctx _context.Context +type ApiGetFeeRecommendationsRequest struct { + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string @@ -963,29 +979,27 @@ type ApiGetLastMinedBlockRequest struct { } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiGetLastMinedBlockRequest) Context(context string) ApiGetLastMinedBlockRequest { +func (r ApiGetFeeRecommendationsRequest) Context(context string) ApiGetFeeRecommendationsRequest { r.context = &context return r } -func (r ApiGetLastMinedBlockRequest) Execute() (GetLastMinedBlockR, *_nethttp.Response, error) { - return r.ApiService.GetLastMinedBlockExecute(r) +func (r ApiGetFeeRecommendationsRequest) Execute() (*GetFeeRecommendationsR, *http.Response, error) { + return r.ApiService.GetFeeRecommendationsExecute(r) } /* -GetLastMinedBlock Get Last Mined Block +GetFeeRecommendations Get Fee Recommendations -Through this endpoint customers can fetch the last mined block in a specific blockchain network, along with its details. These could include the hash of the specific, the previous and the next block, its transactions count, its height, etc. - -Blockchain specific data is information such as version, nonce, size, bits, merkleroot, etc. +Through this endpoint customers can obtain fee recommendations. Our fees recommendations are based on Mempool data which makes them much more accurate than fees based on already mined blocks. Calculations are done in real time live. Using this endpoint customers can get gas price for Ethereum, fee per byte for Bitcoin, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @return ApiGetLastMinedBlockRequest + @return ApiGetFeeRecommendationsRequest */ -func (a *UnifiedEndpointsApiService) GetLastMinedBlock(ctx _context.Context, blockchain string, network string) ApiGetLastMinedBlockRequest { - return ApiGetLastMinedBlockRequest{ +func (a *UnifiedEndpointsApiService) GetFeeRecommendations(ctx context.Context, blockchain string, network string) ApiGetFeeRecommendationsRequest { + return ApiGetFeeRecommendationsRequest{ ApiService: a, ctx: ctx, blockchain: blockchain, @@ -994,27 +1008,27 @@ func (a *UnifiedEndpointsApiService) GetLastMinedBlock(ctx _context.Context, blo } // Execute executes the request -// @return GetLastMinedBlockR -func (a *UnifiedEndpointsApiService) GetLastMinedBlockExecute(r ApiGetLastMinedBlockRequest) (GetLastMinedBlockR, *_nethttp.Response, error) { +// @return GetFeeRecommendationsR +func (a *UnifiedEndpointsApiService) GetFeeRecommendationsExecute(r ApiGetFeeRecommendationsRequest) (*GetFeeRecommendationsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetLastMinedBlockR + localVarReturnValue *GetFeeRecommendationsR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetLastMinedBlock") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetFeeRecommendations") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/last" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/mempool/fees" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1060,20 +1074,20 @@ func (a *UnifiedEndpointsApiService) GetLastMinedBlockExecute(r ApiGetLastMinedB return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40037 + var v InlineResponse40057 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1083,7 +1097,7 @@ func (a *UnifiedEndpointsApiService) GetLastMinedBlockExecute(r ApiGetLastMinedB return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40137 + var v InlineResponse40157 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1103,7 +1117,7 @@ func (a *UnifiedEndpointsApiService) GetLastMinedBlockExecute(r ApiGetLastMinedB return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40337 + var v InlineResponse40357 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1113,7 +1127,7 @@ func (a *UnifiedEndpointsApiService) GetLastMinedBlockExecute(r ApiGetLastMinedB return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v InlineResponse4042 + var v InlineResponse4041 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1176,7 +1190,7 @@ func (a *UnifiedEndpointsApiService) GetLastMinedBlockExecute(r ApiGetLastMinedB err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1186,69 +1200,67 @@ func (a *UnifiedEndpointsApiService) GetLastMinedBlockExecute(r ApiGetLastMinedB return localVarReturnValue, localVarHTTPResponse, nil } -type ApiGetTransactionDetailsByTransactionIDRequest struct { - ctx _context.Context +type ApiGetLastMinedBlockRequest struct { + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string - transactionId string context *string } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiGetTransactionDetailsByTransactionIDRequest) Context(context string) ApiGetTransactionDetailsByTransactionIDRequest { +func (r ApiGetLastMinedBlockRequest) Context(context string) ApiGetLastMinedBlockRequest { r.context = &context return r } -func (r ApiGetTransactionDetailsByTransactionIDRequest) Execute() (GetTransactionDetailsByTransactionIDR, *_nethttp.Response, error) { - return r.ApiService.GetTransactionDetailsByTransactionIDExecute(r) +func (r ApiGetLastMinedBlockRequest) Execute() (*GetLastMinedBlockR, *http.Response, error) { + return r.ApiService.GetLastMinedBlockExecute(r) } /* -GetTransactionDetailsByTransactionID Get Transaction Details By Transaction ID +GetLastMinedBlock Get Last Mined Block -Through this endpoint customers can obtain details about a transaction by the transaction's unique identifier. In UTXO-based protocols like BTC there are attributes such as `transactionId` and transaction `hash`. They still could be different. In protocols like Ethereum there is only one unique value and it's `hash`. +Through this endpoint customers can fetch the last mined block in a specific blockchain network, along with its details. These could include the hash of the specific, the previous and the next block, its transactions count, its height, etc. + +Blockchain specific data is information such as version, nonce, size, bits, merkleroot, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @param transactionId Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. - @return ApiGetTransactionDetailsByTransactionIDRequest + @return ApiGetLastMinedBlockRequest */ -func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionID(ctx _context.Context, blockchain string, network string, transactionId string) ApiGetTransactionDetailsByTransactionIDRequest { - return ApiGetTransactionDetailsByTransactionIDRequest{ +func (a *UnifiedEndpointsApiService) GetLastMinedBlock(ctx context.Context, blockchain string, network string) ApiGetLastMinedBlockRequest { + return ApiGetLastMinedBlockRequest{ ApiService: a, ctx: ctx, blockchain: blockchain, network: network, - transactionId: transactionId, } } // Execute executes the request -// @return GetTransactionDetailsByTransactionIDR -func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionIDExecute(r ApiGetTransactionDetailsByTransactionIDRequest) (GetTransactionDetailsByTransactionIDR, *_nethttp.Response, error) { +// @return GetLastMinedBlockR +func (a *UnifiedEndpointsApiService) GetLastMinedBlockExecute(r ApiGetLastMinedBlockRequest) (*GetLastMinedBlockR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetTransactionDetailsByTransactionIDR + localVarReturnValue *GetLastMinedBlockR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetTransactionDetailsByTransactionID") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetLastMinedBlock") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/transactions/{transactionId}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", _neturl.PathEscape(parameterToString(r.transactionId, "")), -1) + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/last" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1294,20 +1306,20 @@ func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionIDExecute return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse4004 + var v InlineResponse40040 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1317,7 +1329,7 @@ func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionIDExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse4014 + var v InlineResponse40140 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1337,7 +1349,7 @@ func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionIDExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse4034 + var v InlineResponse40340 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1347,7 +1359,7 @@ func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionIDExecute return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v InlineResponse404 + var v InlineResponse4042 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1410,7 +1422,7 @@ func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionIDExecute err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1420,87 +1432,73 @@ func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionIDExecute return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListAllUnconfirmedTransactionsRequest struct { - ctx _context.Context +type ApiGetNextAvailableNonceRequest struct { + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string + address string context *string - limit *int32 - offset *int32 } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiListAllUnconfirmedTransactionsRequest) Context(context string) ApiListAllUnconfirmedTransactionsRequest { +func (r ApiGetNextAvailableNonceRequest) Context(context string) ApiGetNextAvailableNonceRequest { r.context = &context return r } -// Defines how many items should be returned in the response per page basis. -func (r ApiListAllUnconfirmedTransactionsRequest) Limit(limit int32) ApiListAllUnconfirmedTransactionsRequest { - r.limit = &limit - return r -} -// The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListAllUnconfirmedTransactionsRequest) Offset(offset int32) ApiListAllUnconfirmedTransactionsRequest { - r.offset = &offset - return r -} -func (r ApiListAllUnconfirmedTransactionsRequest) Execute() (ListAllUnconfirmedTransactionsR, *_nethttp.Response, error) { - return r.ApiService.ListAllUnconfirmedTransactionsExecute(r) +func (r ApiGetNextAvailableNonceRequest) Execute() (*GetNextAvailableNonceR, *http.Response, error) { + return r.ApiService.GetNextAvailableNonceExecute(r) } /* -ListAllUnconfirmedTransactions List All Unconfirmed Transactions +GetNextAvailableNonce Get Next Available Nonce -Through this endpoint customers can list all **unconfirmed** transactions for a specified blockchain and network. +Through this endpoint customers can get information about the next available nonce by providing the specific blockchain, network and address. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @return ApiListAllUnconfirmedTransactionsRequest + @param address Represents the public address, which is a compressed and shortened form of a public key. + @return ApiGetNextAvailableNonceRequest */ -func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactions(ctx _context.Context, blockchain string, network string) ApiListAllUnconfirmedTransactionsRequest { - return ApiListAllUnconfirmedTransactionsRequest{ +func (a *UnifiedEndpointsApiService) GetNextAvailableNonce(ctx context.Context, blockchain string, network string, address string) ApiGetNextAvailableNonceRequest { + return ApiGetNextAvailableNonceRequest{ ApiService: a, ctx: ctx, blockchain: blockchain, network: network, + address: address, } } // Execute executes the request -// @return ListAllUnconfirmedTransactionsR -func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactionsExecute(r ApiListAllUnconfirmedTransactionsRequest) (ListAllUnconfirmedTransactionsR, *_nethttp.Response, error) { +// @return GetNextAvailableNonceR +func (a *UnifiedEndpointsApiService) GetNextAvailableNonceExecute(r ApiGetNextAvailableNonceRequest) (*GetNextAvailableNonceR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListAllUnconfirmedTransactionsR + localVarReturnValue *GetNextAvailableNonceR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListAllUnconfirmedTransactions") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetNextAvailableNonce") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/next-available-nonce" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) } - if r.limit != nil { - localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) - } - if r.offset != nil { - localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1542,20 +1540,20 @@ func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactionsExecute(r Api return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40016 + var v InlineResponse40058 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1565,7 +1563,7 @@ func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactionsExecute(r Api return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40116 + var v InlineResponse40158 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1585,7 +1583,7 @@ func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactionsExecute(r Api return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40316 + var v InlineResponse40358 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1648,7 +1646,7 @@ func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactionsExecute(r Api err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1658,91 +1656,73 @@ func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactionsExecute(r Api return localVarReturnValue, localVarHTTPResponse, nil } -type ApiListConfirmedTransactionsByAddressRequest struct { - ctx _context.Context +type ApiGetRawTransactionDataRequest struct { + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string - address string + transactionId string context *string - limit *int32 - offset *int32 } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiListConfirmedTransactionsByAddressRequest) Context(context string) ApiListConfirmedTransactionsByAddressRequest { +func (r ApiGetRawTransactionDataRequest) Context(context string) ApiGetRawTransactionDataRequest { r.context = &context return r } -// Defines how many items should be returned in the response per page basis. -func (r ApiListConfirmedTransactionsByAddressRequest) Limit(limit int32) ApiListConfirmedTransactionsByAddressRequest { - r.limit = &limit - return r -} -// The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListConfirmedTransactionsByAddressRequest) Offset(offset int32) ApiListConfirmedTransactionsByAddressRequest { - r.offset = &offset - return r -} -func (r ApiListConfirmedTransactionsByAddressRequest) Execute() (ListConfirmedTransactionsByAddressR, *_nethttp.Response, error) { - return r.ApiService.ListConfirmedTransactionsByAddressExecute(r) +func (r ApiGetRawTransactionDataRequest) Execute() (*GetRawTransactionDataR, *http.Response, error) { + return r.ApiService.GetRawTransactionDataExecute(r) } /* -ListConfirmedTransactionsByAddress List Confirmed Transactions By Address +GetRawTransactionData Get Raw Transaction Data -This endpoint will list transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. +Through this endpoint customers can get information on a transaction in its raw format by providing its `transactionId`. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @param address Represents the public address, which is a compressed and shortened form of a public key. - @return ApiListConfirmedTransactionsByAddressRequest + @param transactionId Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain. + @return ApiGetRawTransactionDataRequest */ -func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddress(ctx _context.Context, blockchain string, network string, address string) ApiListConfirmedTransactionsByAddressRequest { - return ApiListConfirmedTransactionsByAddressRequest{ +func (a *UnifiedEndpointsApiService) GetRawTransactionData(ctx context.Context, blockchain string, network string, transactionId string) ApiGetRawTransactionDataRequest { + return ApiGetRawTransactionDataRequest{ ApiService: a, ctx: ctx, blockchain: blockchain, network: network, - address: address, + transactionId: transactionId, } } // Execute executes the request -// @return ListConfirmedTransactionsByAddressR -func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressExecute(r ApiListConfirmedTransactionsByAddressRequest) (ListConfirmedTransactionsByAddressR, *_nethttp.Response, error) { +// @return GetRawTransactionDataR +func (a *UnifiedEndpointsApiService) GetRawTransactionDataExecute(r ApiGetRawTransactionDataRequest) (*GetRawTransactionDataR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListConfirmedTransactionsByAddressR + localVarReturnValue *GetRawTransactionDataR ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListConfirmedTransactionsByAddress") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetRawTransactionData") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/transactions/{transactionId}/raw-data" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", url.PathEscape(parameterToString(r.transactionId, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) } - if r.limit != nil { - localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) - } - if r.offset != nil { - localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1784,20 +1764,20 @@ func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressExecute(r return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40010 + var v InlineResponse40065 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1807,7 +1787,7 @@ func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressExecute(r return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40110 + var v InlineResponse40165 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1827,7 +1807,17 @@ func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressExecute(r return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40310 + var v InlineResponse40365 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v InlineResponse404 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1890,7 +1880,1525 @@ func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressExecute(r err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiGetTransactionDetailsByTransactionIDRequest struct { + ctx context.Context + ApiService *UnifiedEndpointsApiService + blockchain string + network string + transactionId string + context *string +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiGetTransactionDetailsByTransactionIDRequest) Context(context string) ApiGetTransactionDetailsByTransactionIDRequest { + r.context = &context + return r +} + +func (r ApiGetTransactionDetailsByTransactionIDRequest) Execute() (*GetTransactionDetailsByTransactionIDR, *http.Response, error) { + return r.ApiService.GetTransactionDetailsByTransactionIDExecute(r) +} + +/* +GetTransactionDetailsByTransactionID Get Transaction Details By Transaction ID + +Through this endpoint customers can obtain details about a transaction by the transaction's unique identifier. In UTXO-based protocols like BTC there are attributes such as `transactionId` and transaction `hash`. They still could be different. In protocols like Ethereum there is only one unique value and it's `hash`. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param transactionId Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. + @return ApiGetTransactionDetailsByTransactionIDRequest +*/ +func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionID(ctx context.Context, blockchain string, network string, transactionId string) ApiGetTransactionDetailsByTransactionIDRequest { + return ApiGetTransactionDetailsByTransactionIDRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + transactionId: transactionId, + } +} + +// Execute executes the request +// @return GetTransactionDetailsByTransactionIDR +func (a *UnifiedEndpointsApiService) GetTransactionDetailsByTransactionIDExecute(r ApiGetTransactionDetailsByTransactionIDRequest) (*GetTransactionDetailsByTransactionIDR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetTransactionDetailsByTransactionIDR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.GetTransactionDetailsByTransactionID") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/transactions/{transactionId}" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionId"+"}", url.PathEscape(parameterToString(r.transactionId, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse4004 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse4014 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse4034 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v InlineResponse404 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListAllUnconfirmedTransactionsRequest struct { + ctx context.Context + ApiService *UnifiedEndpointsApiService + blockchain string + network string + context *string + limit *int64 + offset *int64 +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListAllUnconfirmedTransactionsRequest) Context(context string) ApiListAllUnconfirmedTransactionsRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListAllUnconfirmedTransactionsRequest) Limit(limit int64) ApiListAllUnconfirmedTransactionsRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListAllUnconfirmedTransactionsRequest) Offset(offset int64) ApiListAllUnconfirmedTransactionsRequest { + r.offset = &offset + return r +} + +func (r ApiListAllUnconfirmedTransactionsRequest) Execute() (*ListAllUnconfirmedTransactionsR, *http.Response, error) { + return r.ApiService.ListAllUnconfirmedTransactionsExecute(r) +} + +/* +ListAllUnconfirmedTransactions List All Unconfirmed Transactions + +Through this endpoint customers can list all **unconfirmed** transactions for a specified blockchain and network. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @return ApiListAllUnconfirmedTransactionsRequest +*/ +func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactions(ctx context.Context, blockchain string, network string) ApiListAllUnconfirmedTransactionsRequest { + return ApiListAllUnconfirmedTransactionsRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + } +} + +// Execute executes the request +// @return ListAllUnconfirmedTransactionsR +func (a *UnifiedEndpointsApiService) ListAllUnconfirmedTransactionsExecute(r ApiListAllUnconfirmedTransactionsRequest) (*ListAllUnconfirmedTransactionsR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListAllUnconfirmedTransactionsR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListAllUnconfirmedTransactions") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40017 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40117 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40317 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest struct { + ctx context.Context + ApiService *UnifiedEndpointsApiService + blockchain string + network string + address string + fromTimestamp *int32 + toTimestamp *int32 + context *string + limit *int32 + offset *int32 +} + +// Defines the specific time/date from which the results will start being listed. +func (r ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest) FromTimestamp(fromTimestamp int32) ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest { + r.fromTimestamp = &fromTimestamp + return r +} + +// Defines the specific time/date to which the results will be listed. +func (r ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest) ToTimestamp(toTimestamp int32) ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest { + r.toTimestamp = &toTimestamp + return r +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest) Context(context string) ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest) Limit(limit int32) ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest) Offset(offset int32) ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest { + r.offset = &offset + return r +} + +func (r ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest) Execute() (*ListConfirmedTokensTransfersByAddressAndTimeRangeR, *http.Response, error) { + return r.ApiService.ListConfirmedTokensTransfersByAddressAndTimeRangeExecute(r) +} + +/* +ListConfirmedTokensTransfersByAddressAndTimeRange List Confirmed Tokens Transfers By Address And Time Range + +Through this endpoint customers can obtain a list with **confirmed** token transfers by the `address` attribute and the query parameters `fromTimestamp` and `toTimestamp` which gives customers the opportunity to filter the results by a specified time period. + +{note}This refers only to transfers done for **confirmed tokens** not coins.{/note} + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param address Represents the public address, which is a compressed and shortened form of a public key. + @return ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest +*/ +func (a *UnifiedEndpointsApiService) ListConfirmedTokensTransfersByAddressAndTimeRange(ctx context.Context, blockchain string, network string, address string) ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest { + return ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + address: address, + } +} + +// Execute executes the request +// @return ListConfirmedTokensTransfersByAddressAndTimeRangeR +func (a *UnifiedEndpointsApiService) ListConfirmedTokensTransfersByAddressAndTimeRangeExecute(r ApiListConfirmedTokensTransfersByAddressAndTimeRangeRequest) (*ListConfirmedTokensTransfersByAddressAndTimeRangeR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListConfirmedTokensTransfersByAddressAndTimeRangeR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListConfirmedTokensTransfersByAddressAndTimeRange") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-by-time-range" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.fromTimestamp == nil { + return localVarReturnValue, nil, reportError("fromTimestamp is required and must be specified") + } + if r.toTimestamp == nil { + return localVarReturnValue, nil, reportError("toTimestamp is required and must be specified") + } + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + localVarQueryParams.Add("fromTimestamp", parameterToString(*r.fromTimestamp, "")) + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + localVarQueryParams.Add("toTimestamp", parameterToString(*r.toTimestamp, "")) + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40062 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40162 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40362 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListConfirmedTransactionsByAddressRequest struct { + ctx context.Context + ApiService *UnifiedEndpointsApiService + blockchain string + network string + address string + context *string + limit *int64 + offset *int64 +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListConfirmedTransactionsByAddressRequest) Context(context string) ApiListConfirmedTransactionsByAddressRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListConfirmedTransactionsByAddressRequest) Limit(limit int64) ApiListConfirmedTransactionsByAddressRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListConfirmedTransactionsByAddressRequest) Offset(offset int64) ApiListConfirmedTransactionsByAddressRequest { + r.offset = &offset + return r +} + +func (r ApiListConfirmedTransactionsByAddressRequest) Execute() (*ListConfirmedTransactionsByAddressR, *http.Response, error) { + return r.ApiService.ListConfirmedTransactionsByAddressExecute(r) +} + +/* +ListConfirmedTransactionsByAddress List Confirmed Transactions By Address + +This endpoint will list transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param address Represents the public address, which is a compressed and shortened form of a public key. + @return ApiListConfirmedTransactionsByAddressRequest +*/ +func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddress(ctx context.Context, blockchain string, network string, address string) ApiListConfirmedTransactionsByAddressRequest { + return ApiListConfirmedTransactionsByAddressRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + address: address, + } +} + +// Execute executes the request +// @return ListConfirmedTransactionsByAddressR +func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressExecute(r ApiListConfirmedTransactionsByAddressRequest) (*ListConfirmedTransactionsByAddressR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListConfirmedTransactionsByAddressR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListConfirmedTransactionsByAddress") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/transactions" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40010 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40110 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40310 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListConfirmedTransactionsByAddressAndTimeRangeRequest struct { + ctx context.Context + ApiService *UnifiedEndpointsApiService + blockchain string + network string + address string + fromTimestamp *int32 + toTimestamp *int32 + context *string + limit *int64 + offset *int64 +} + +// Defines the specific time/date from which the results will start being listed. +func (r ApiListConfirmedTransactionsByAddressAndTimeRangeRequest) FromTimestamp(fromTimestamp int32) ApiListConfirmedTransactionsByAddressAndTimeRangeRequest { + r.fromTimestamp = &fromTimestamp + return r +} + +// Defines the specific time/date to which the results will be listed. +func (r ApiListConfirmedTransactionsByAddressAndTimeRangeRequest) ToTimestamp(toTimestamp int32) ApiListConfirmedTransactionsByAddressAndTimeRangeRequest { + r.toTimestamp = &toTimestamp + return r +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListConfirmedTransactionsByAddressAndTimeRangeRequest) Context(context string) ApiListConfirmedTransactionsByAddressAndTimeRangeRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListConfirmedTransactionsByAddressAndTimeRangeRequest) Limit(limit int64) ApiListConfirmedTransactionsByAddressAndTimeRangeRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListConfirmedTransactionsByAddressAndTimeRangeRequest) Offset(offset int64) ApiListConfirmedTransactionsByAddressAndTimeRangeRequest { + r.offset = &offset + return r +} + +func (r ApiListConfirmedTransactionsByAddressAndTimeRangeRequest) Execute() (*ListConfirmedTransactionsByAddressAndTimeRangeR, *http.Response, error) { + return r.ApiService.ListConfirmedTransactionsByAddressAndTimeRangeExecute(r) +} + +/* +ListConfirmedTransactionsByAddressAndTimeRange List Confirmed Transactions By Address And Time Range + +This endpoint will list confirmed transactions by the attribute `address` and the query parameters `fromTimestamp` and `toTimestamp` which gives customers the opportunity to filter the results by a specified time period. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param address Represents the public address, which is a compressed and shortened form of a public key. + @return ApiListConfirmedTransactionsByAddressAndTimeRangeRequest +*/ +func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressAndTimeRange(ctx context.Context, blockchain string, network string, address string) ApiListConfirmedTransactionsByAddressAndTimeRangeRequest { + return ApiListConfirmedTransactionsByAddressAndTimeRangeRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + address: address, + } +} + +// Execute executes the request +// @return ListConfirmedTransactionsByAddressAndTimeRangeR +func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressAndTimeRangeExecute(r ApiListConfirmedTransactionsByAddressAndTimeRangeRequest) (*ListConfirmedTransactionsByAddressAndTimeRangeR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListConfirmedTransactionsByAddressAndTimeRangeR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListConfirmedTransactionsByAddressAndTimeRange") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/transactions-by-time-range" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.fromTimestamp == nil { + return localVarReturnValue, nil, reportError("fromTimestamp is required and must be specified") + } + if r.toTimestamp == nil { + return localVarReturnValue, nil, reportError("toTimestamp is required and must be specified") + } + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + localVarQueryParams.Add("fromTimestamp", parameterToString(*r.fromTimestamp, "")) + localVarQueryParams.Add("toTimestamp", parameterToString(*r.toTimestamp, "")) + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40061 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40161 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40361 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListInternalTransactionsByAddressAndTimeRangeRequest struct { + ctx context.Context + ApiService *UnifiedEndpointsApiService + blockchain string + network string + address string + fromTimestamp *int32 + toTimestamp *int32 + context *string + limit *int32 + offset *int32 +} + +// Defines the specific time/date from which the results will start being listed. +func (r ApiListInternalTransactionsByAddressAndTimeRangeRequest) FromTimestamp(fromTimestamp int32) ApiListInternalTransactionsByAddressAndTimeRangeRequest { + r.fromTimestamp = &fromTimestamp + return r +} + +// Defines the specific time/date to which the results will be listed. +func (r ApiListInternalTransactionsByAddressAndTimeRangeRequest) ToTimestamp(toTimestamp int32) ApiListInternalTransactionsByAddressAndTimeRangeRequest { + r.toTimestamp = &toTimestamp + return r +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListInternalTransactionsByAddressAndTimeRangeRequest) Context(context string) ApiListInternalTransactionsByAddressAndTimeRangeRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListInternalTransactionsByAddressAndTimeRangeRequest) Limit(limit int32) ApiListInternalTransactionsByAddressAndTimeRangeRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListInternalTransactionsByAddressAndTimeRangeRequest) Offset(offset int32) ApiListInternalTransactionsByAddressAndTimeRangeRequest { + r.offset = &offset + return r +} + +func (r ApiListInternalTransactionsByAddressAndTimeRangeRequest) Execute() (*ListInternalTransactionsByAddressAndTimeRangeR, *http.Response, error) { + return r.ApiService.ListInternalTransactionsByAddressAndTimeRangeExecute(r) +} + +/* +ListInternalTransactionsByAddressAndTimeRange List Internal Transactions By Address And Time Range + +Through this endpoint customers can list internal transactions by the `address` attribute and the query parameters `fromTimestamp` and `toTimestamp` which gives customers the opportunity to filter the results by a specified time period. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param address String identifier of the address document represented in CryptoAPIs + @return ApiListInternalTransactionsByAddressAndTimeRangeRequest +*/ +func (a *UnifiedEndpointsApiService) ListInternalTransactionsByAddressAndTimeRange(ctx context.Context, blockchain string, network string, address string) ApiListInternalTransactionsByAddressAndTimeRangeRequest { + return ApiListInternalTransactionsByAddressAndTimeRangeRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + address: address, + } +} + +// Execute executes the request +// @return ListInternalTransactionsByAddressAndTimeRangeR +func (a *UnifiedEndpointsApiService) ListInternalTransactionsByAddressAndTimeRangeExecute(r ApiListInternalTransactionsByAddressAndTimeRangeRequest) (*ListInternalTransactionsByAddressAndTimeRangeR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListInternalTransactionsByAddressAndTimeRangeR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListInternalTransactionsByAddressAndTimeRange") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/internal-by-time-range" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.fromTimestamp == nil { + return localVarReturnValue, nil, reportError("fromTimestamp is required and must be specified") + } + if r.toTimestamp == nil { + return localVarReturnValue, nil, reportError("toTimestamp is required and must be specified") + } + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + localVarQueryParams.Add("fromTimestamp", parameterToString(*r.fromTimestamp, "")) + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + localVarQueryParams.Add("toTimestamp", parameterToString(*r.toTimestamp, "")) + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40063 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40163 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40363 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1901,7 +3409,7 @@ func (a *UnifiedEndpointsApiService) ListConfirmedTransactionsByAddressExecute(r } type ApiListLatestMinedBlocksRequest struct { - ctx _context.Context + ctx context.Context ApiService *UnifiedEndpointsApiService network string blockchain string @@ -1915,7 +3423,7 @@ func (r ApiListLatestMinedBlocksRequest) Context(context string) ApiListLatestMi return r } -func (r ApiListLatestMinedBlocksRequest) Execute() (ListLatestMinedBlocksR, *_nethttp.Response, error) { +func (r ApiListLatestMinedBlocksRequest) Execute() (*ListLatestMinedBlocksR, *http.Response, error) { return r.ApiService.ListLatestMinedBlocksExecute(r) } @@ -1924,13 +3432,13 @@ ListLatestMinedBlocks List Latest Mined Blocks Through this endpoint customers can list **up to 50** from the latest blocks that were mined. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param count Specifies how many records were requested. @return ApiListLatestMinedBlocksRequest */ -func (a *UnifiedEndpointsApiService) ListLatestMinedBlocks(ctx _context.Context, network string, blockchain string, count int32) ApiListLatestMinedBlocksRequest { +func (a *UnifiedEndpointsApiService) ListLatestMinedBlocks(ctx context.Context, network string, blockchain string, count int32) ApiListLatestMinedBlocksRequest { return ApiListLatestMinedBlocksRequest{ ApiService: a, ctx: ctx, @@ -1942,27 +3450,27 @@ func (a *UnifiedEndpointsApiService) ListLatestMinedBlocks(ctx _context.Context, // Execute executes the request // @return ListLatestMinedBlocksR -func (a *UnifiedEndpointsApiService) ListLatestMinedBlocksExecute(r ApiListLatestMinedBlocksRequest) (ListLatestMinedBlocksR, *_nethttp.Response, error) { +func (a *UnifiedEndpointsApiService) ListLatestMinedBlocksExecute(r ApiListLatestMinedBlocksRequest) (*ListLatestMinedBlocksR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListLatestMinedBlocksR + localVarReturnValue *ListLatestMinedBlocksR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListLatestMinedBlocks") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/last/{count}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"count"+"}", _neturl.PathEscape(parameterToString(r.count, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"count"+"}", url.PathEscape(parameterToString(r.count, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -2008,20 +3516,20 @@ func (a *UnifiedEndpointsApiService) ListLatestMinedBlocksExecute(r ApiListLates return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40042 + var v InlineResponse40045 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2031,7 +3539,7 @@ func (a *UnifiedEndpointsApiService) ListLatestMinedBlocksExecute(r ApiListLates return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40142 + var v InlineResponse40145 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2051,7 +3559,7 @@ func (a *UnifiedEndpointsApiService) ListLatestMinedBlocksExecute(r ApiListLates return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40342 + var v InlineResponse40345 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2124,7 +3632,7 @@ func (a *UnifiedEndpointsApiService) ListLatestMinedBlocksExecute(r ApiListLates err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -2135,14 +3643,14 @@ func (a *UnifiedEndpointsApiService) ListLatestMinedBlocksExecute(r ApiListLates } type ApiListTransactionsByBlockHashRequest struct { - ctx _context.Context + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string blockHash string context *string - limit *int32 - offset *int32 + limit *int64 + offset *int64 } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. @@ -2150,18 +3658,20 @@ func (r ApiListTransactionsByBlockHashRequest) Context(context string) ApiListTr r.context = &context return r } + // Defines how many items should be returned in the response per page basis. -func (r ApiListTransactionsByBlockHashRequest) Limit(limit int32) ApiListTransactionsByBlockHashRequest { +func (r ApiListTransactionsByBlockHashRequest) Limit(limit int64) ApiListTransactionsByBlockHashRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListTransactionsByBlockHashRequest) Offset(offset int32) ApiListTransactionsByBlockHashRequest { +func (r ApiListTransactionsByBlockHashRequest) Offset(offset int64) ApiListTransactionsByBlockHashRequest { r.offset = &offset return r } -func (r ApiListTransactionsByBlockHashRequest) Execute() (ListTransactionsByBlockHashR, *_nethttp.Response, error) { +func (r ApiListTransactionsByBlockHashRequest) Execute() (*ListTransactionsByBlockHashR, *http.Response, error) { return r.ApiService.ListTransactionsByBlockHashExecute(r) } @@ -2170,13 +3680,13 @@ ListTransactionsByBlockHash List Transactions by Block Hash This endpoint will list transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @return ApiListTransactionsByBlockHashRequest */ -func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHash(ctx _context.Context, blockchain string, network string, blockHash string) ApiListTransactionsByBlockHashRequest { +func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHash(ctx context.Context, blockchain string, network string, blockHash string) ApiListTransactionsByBlockHashRequest { return ApiListTransactionsByBlockHashRequest{ ApiService: a, ctx: ctx, @@ -2188,27 +3698,27 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHash(ctx _context.Co // Execute executes the request // @return ListTransactionsByBlockHashR -func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHashExecute(r ApiListTransactionsByBlockHashRequest) (ListTransactionsByBlockHashR, *_nethttp.Response, error) { +func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHashExecute(r ApiListTransactionsByBlockHashRequest) (*ListTransactionsByBlockHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListTransactionsByBlockHashR + localVarReturnValue *ListTransactionsByBlockHashR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListTransactionsByBlockHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", _neturl.PathEscape(parameterToString(r.blockHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", url.PathEscape(parameterToString(r.blockHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -2260,20 +3770,20 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHashExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40017 + var v InlineResponse40018 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2283,7 +3793,7 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHashExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40117 + var v InlineResponse40118 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2303,7 +3813,7 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHashExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40317 + var v InlineResponse40318 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2366,7 +3876,7 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHashExecute(r ApiLis err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -2377,14 +3887,14 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHashExecute(r ApiLis } type ApiListTransactionsByBlockHeightRequest struct { - ctx _context.Context + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string - height int32 + height int64 context *string - limit *int32 - offset *int32 + limit *int64 + offset *int64 } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. @@ -2392,18 +3902,20 @@ func (r ApiListTransactionsByBlockHeightRequest) Context(context string) ApiList r.context = &context return r } + // Defines how many items should be returned in the response per page basis. -func (r ApiListTransactionsByBlockHeightRequest) Limit(limit int32) ApiListTransactionsByBlockHeightRequest { +func (r ApiListTransactionsByBlockHeightRequest) Limit(limit int64) ApiListTransactionsByBlockHeightRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListTransactionsByBlockHeightRequest) Offset(offset int32) ApiListTransactionsByBlockHeightRequest { +func (r ApiListTransactionsByBlockHeightRequest) Offset(offset int64) ApiListTransactionsByBlockHeightRequest { r.offset = &offset return r } -func (r ApiListTransactionsByBlockHeightRequest) Execute() (ListTransactionsByBlockHeightR, *_nethttp.Response, error) { +func (r ApiListTransactionsByBlockHeightRequest) Execute() (*ListTransactionsByBlockHeightR, *http.Response, error) { return r.ApiService.ListTransactionsByBlockHeightExecute(r) } @@ -2412,13 +3924,13 @@ ListTransactionsByBlockHeight List Transactions by Block Height This endpoint will list transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param height Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". @return ApiListTransactionsByBlockHeightRequest */ -func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeight(ctx _context.Context, blockchain string, network string, height int32) ApiListTransactionsByBlockHeightRequest { +func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeight(ctx context.Context, blockchain string, network string, height int64) ApiListTransactionsByBlockHeightRequest { return ApiListTransactionsByBlockHeightRequest{ ApiService: a, ctx: ctx, @@ -2430,27 +3942,27 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeight(ctx _context. // Execute executes the request // @return ListTransactionsByBlockHeightR -func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeightExecute(r ApiListTransactionsByBlockHeightRequest) (ListTransactionsByBlockHeightR, *_nethttp.Response, error) { +func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeightExecute(r ApiListTransactionsByBlockHeightRequest) (*ListTransactionsByBlockHeightR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListTransactionsByBlockHeightR + localVarReturnValue *ListTransactionsByBlockHeightR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListTransactionsByBlockHeight") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/blocks/height/{height}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"height"+"}", _neturl.PathEscape(parameterToString(r.height, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"height"+"}", url.PathEscape(parameterToString(r.height, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -2502,20 +4014,20 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeightExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40024 + var v InlineResponse40025 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2525,7 +4037,7 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeightExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40124 + var v InlineResponse40125 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2545,7 +4057,7 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeightExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40324 + var v InlineResponse40325 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -2618,7 +4130,7 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeightExecute(r ApiL err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -2629,14 +4141,14 @@ func (a *UnifiedEndpointsApiService) ListTransactionsByBlockHeightExecute(r ApiL } type ApiListUnconfirmedTransactionsByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *UnifiedEndpointsApiService blockchain string network string address string context *string - limit *int32 - offset *int32 + limit *int64 + offset *int64 } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. @@ -2644,18 +4156,20 @@ func (r ApiListUnconfirmedTransactionsByAddressRequest) Context(context string) r.context = &context return r } + // Defines how many items should be returned in the response per page basis. -func (r ApiListUnconfirmedTransactionsByAddressRequest) Limit(limit int32) ApiListUnconfirmedTransactionsByAddressRequest { +func (r ApiListUnconfirmedTransactionsByAddressRequest) Limit(limit int64) ApiListUnconfirmedTransactionsByAddressRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListUnconfirmedTransactionsByAddressRequest) Offset(offset int32) ApiListUnconfirmedTransactionsByAddressRequest { +func (r ApiListUnconfirmedTransactionsByAddressRequest) Offset(offset int64) ApiListUnconfirmedTransactionsByAddressRequest { r.offset = &offset return r } -func (r ApiListUnconfirmedTransactionsByAddressRequest) Execute() (ListUnconfirmedTransactionsByAddressR, *_nethttp.Response, error) { +func (r ApiListUnconfirmedTransactionsByAddressRequest) Execute() (*ListUnconfirmedTransactionsByAddressR, *http.Response, error) { return r.ApiService.ListUnconfirmedTransactionsByAddressExecute(r) } @@ -2664,13 +4178,13 @@ ListUnconfirmedTransactionsByAddress List Unconfirmed Transactions by Address Through this endpoint customers can list transactions by `address` that are **unconfirmed**. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiListUnconfirmedTransactionsByAddressRequest */ -func (a *UnifiedEndpointsApiService) ListUnconfirmedTransactionsByAddress(ctx _context.Context, blockchain string, network string, address string) ApiListUnconfirmedTransactionsByAddressRequest { +func (a *UnifiedEndpointsApiService) ListUnconfirmedTransactionsByAddress(ctx context.Context, blockchain string, network string, address string) ApiListUnconfirmedTransactionsByAddressRequest { return ApiListUnconfirmedTransactionsByAddressRequest{ ApiService: a, ctx: ctx, @@ -2682,27 +4196,27 @@ func (a *UnifiedEndpointsApiService) ListUnconfirmedTransactionsByAddress(ctx _c // Execute executes the request // @return ListUnconfirmedTransactionsByAddressR -func (a *UnifiedEndpointsApiService) ListUnconfirmedTransactionsByAddressExecute(r ApiListUnconfirmedTransactionsByAddressRequest) (ListUnconfirmedTransactionsByAddressR, *_nethttp.Response, error) { +func (a *UnifiedEndpointsApiService) ListUnconfirmedTransactionsByAddressExecute(r ApiListUnconfirmedTransactionsByAddressRequest) (*ListUnconfirmedTransactionsByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListUnconfirmedTransactionsByAddressR + localVarReturnValue *ListUnconfirmedTransactionsByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListUnconfirmedTransactionsByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed/{address}" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -2754,15 +4268,15 @@ func (a *UnifiedEndpointsApiService) ListUnconfirmedTransactionsByAddressExecute return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -2860,7 +4374,251 @@ func (a *UnifiedEndpointsApiService) ListUnconfirmedTransactionsByAddressExecute err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListUnspentTransactionOutputsByAddressRequest struct { + ctx context.Context + ApiService *UnifiedEndpointsApiService + blockchain string + network string + address string + context *string + limit *int32 + offset *int32 +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListUnspentTransactionOutputsByAddressRequest) Context(context string) ApiListUnspentTransactionOutputsByAddressRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListUnspentTransactionOutputsByAddressRequest) Limit(limit int32) ApiListUnspentTransactionOutputsByAddressRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListUnspentTransactionOutputsByAddressRequest) Offset(offset int32) ApiListUnspentTransactionOutputsByAddressRequest { + r.offset = &offset + return r +} + +func (r ApiListUnspentTransactionOutputsByAddressRequest) Execute() (*ListUnspentTransactionOutputsByAddressR, *http.Response, error) { + return r.ApiService.ListUnspentTransactionOutputsByAddressExecute(r) +} + +/* +ListUnspentTransactionOutputsByAddress List Unspent Transaction Outputs By Address + +Through this endpoint customers can list their transactions' unspent outputs by `address`. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param address Represents the address that has unspend funds per which the result is returned. + @return ApiListUnspentTransactionOutputsByAddressRequest +*/ +func (a *UnifiedEndpointsApiService) ListUnspentTransactionOutputsByAddress(ctx context.Context, blockchain string, network string, address string) ApiListUnspentTransactionOutputsByAddressRequest { + return ApiListUnspentTransactionOutputsByAddressRequest{ + ApiService: a, + ctx: ctx, + blockchain: blockchain, + network: network, + address: address, + } +} + +// Execute executes the request +// @return ListUnspentTransactionOutputsByAddressR +func (a *UnifiedEndpointsApiService) ListUnspentTransactionOutputsByAddressExecute(r ApiListUnspentTransactionOutputsByAddressRequest) (*ListUnspentTransactionOutputsByAddressR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListUnspentTransactionOutputsByAddressR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UnifiedEndpointsApiService.ListUnspentTransactionOutputsByAddress") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/unspent-outputs" + localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", url.PathEscape(parameterToString(r.blockchain, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40059 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40159 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40359 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_utxo_based.go b/api_utxo_based.go deleted file mode 100644 index e17b86b..0000000 --- a/api_utxo_based.go +++ /dev/null @@ -1,271 +0,0 @@ -/* -CryptoAPIs - -Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. - -API version: 2.0.0 -Contact: developers@cryptoapis.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cryptoapis - -import ( - "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" - "strings" -) - -// Linger please -var ( - _ _context.Context -) - -// UTXOBasedApiService UTXOBasedApi service -type UTXOBasedApiService service - -type ApiListUnspentTransactionOutputsByAddressRequest struct { - ctx _context.Context - ApiService *UTXOBasedApiService - blockchain string - network string - address string - context *string - limit *int32 - offset *int32 -} - -// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. -func (r ApiListUnspentTransactionOutputsByAddressRequest) Context(context string) ApiListUnspentTransactionOutputsByAddressRequest { - r.context = &context - return r -} -// Defines how many items should be returned in the response per page basis. -func (r ApiListUnspentTransactionOutputsByAddressRequest) Limit(limit int32) ApiListUnspentTransactionOutputsByAddressRequest { - r.limit = &limit - return r -} -// The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListUnspentTransactionOutputsByAddressRequest) Offset(offset int32) ApiListUnspentTransactionOutputsByAddressRequest { - r.offset = &offset - return r -} - -func (r ApiListUnspentTransactionOutputsByAddressRequest) Execute() (ListUnspentTransactionOutputsByAddressR, *_nethttp.Response, error) { - return r.ApiService.ListUnspentTransactionOutputsByAddressExecute(r) -} - -/* -ListUnspentTransactionOutputsByAddress List Unspent Transaction Outputs By Address - -Through this endpoint customers can list their transactions' unspent outputs by `address`. - - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param blockchain Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. - @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - @param address Represents the public address, which is a compressed and shortened form of a public key. - @return ApiListUnspentTransactionOutputsByAddressRequest -*/ -func (a *UTXOBasedApiService) ListUnspentTransactionOutputsByAddress(ctx _context.Context, blockchain string, network string, address string) ApiListUnspentTransactionOutputsByAddressRequest { - return ApiListUnspentTransactionOutputsByAddressRequest{ - ApiService: a, - ctx: ctx, - blockchain: blockchain, - network: network, - address: address, - } -} - -// Execute executes the request -// @return ListUnspentTransactionOutputsByAddressR -func (a *UTXOBasedApiService) ListUnspentTransactionOutputsByAddressExecute(r ApiListUnspentTransactionOutputsByAddressRequest) (ListUnspentTransactionOutputsByAddressR, *_nethttp.Response, error) { - var ( - localVarHTTPMethod = _nethttp.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue ListUnspentTransactionOutputsByAddressR - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UTXOBasedApiService.ListUnspentTransactionOutputsByAddress") - if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/blockchain-data/{blockchain}/{network}/addresses/{address}/unspent" - localVarPath = strings.Replace(localVarPath, "{"+"blockchain"+"}", _neturl.PathEscape(parameterToString(r.blockchain, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} - - if r.context != nil { - localVarQueryParams.Add("context", parameterToString(*r.context, "")) - } - if r.limit != nil { - localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) - } - if r.offset != nil { - localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) - } - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - if r.ctx != nil { - // API Key Authentication - if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { - if apiKey, ok := auth["ApiKey"]; ok { - var key string - if apiKey.Prefix != "" { - key = apiKey.Prefix + " " + apiKey.Key - } else { - key = apiKey.Key - } - localVarHeaderParams["x-api-key"] = key - } - } - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40052 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40152 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 402 { - var v InlineResponse402 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40352 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 409 { - var v InlineResponse409 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 415 { - var v InlineResponse415 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 422 { - var v InlineResponse422 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 429 { - var v InlineResponse429 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 500 { - var v InlineResponse500 - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/api_xrp_ripple.go b/api_xrp_ripple.go index 306f47b..23db2d9 100644 --- a/api_xrp_ripple.go +++ b/api_xrp_ripple.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // XRPRippleApiService XRPRippleApi service type XRPRippleApiService service type ApiGetLatestMinedXRPRippleBlockRequest struct { - ctx _context.Context + ctx context.Context ApiService *XRPRippleApiService network string context *string @@ -41,7 +37,7 @@ func (r ApiGetLatestMinedXRPRippleBlockRequest) Context(context string) ApiGetLa return r } -func (r ApiGetLatestMinedXRPRippleBlockRequest) Execute() (GetLatestMinedXRPRippleBlockR, *_nethttp.Response, error) { +func (r ApiGetLatestMinedXRPRippleBlockRequest) Execute() (*GetLatestMinedXRPRippleBlockR, *http.Response, error) { return r.ApiService.GetLatestMinedXRPRippleBlockExecute(r) } @@ -52,11 +48,11 @@ Through this endpoint customers can fetch the last mined XRP block in the blockc Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiGetLatestMinedXRPRippleBlockRequest */ -func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlock(ctx _context.Context, network string) ApiGetLatestMinedXRPRippleBlockRequest { +func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlock(ctx context.Context, network string) ApiGetLatestMinedXRPRippleBlockRequest { return ApiGetLatestMinedXRPRippleBlockRequest{ ApiService: a, ctx: ctx, @@ -66,25 +62,25 @@ func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlock(ctx _context.Context, // Execute executes the request // @return GetLatestMinedXRPRippleBlockR -func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlockExecute(r ApiGetLatestMinedXRPRippleBlockRequest) (GetLatestMinedXRPRippleBlockR, *_nethttp.Response, error) { +func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlockExecute(r ApiGetLatestMinedXRPRippleBlockRequest) (*GetLatestMinedXRPRippleBlockR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetLatestMinedXRPRippleBlockR + localVarReturnValue *GetLatestMinedXRPRippleBlockR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.GetLatestMinedXRPRippleBlock") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/blocks/last" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -130,20 +126,20 @@ func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlockExecute(r ApiGetLatest return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40039 + var v InlineResponse40042 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -153,7 +149,7 @@ func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlockExecute(r ApiGetLatest return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40139 + var v InlineResponse40142 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -173,7 +169,7 @@ func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlockExecute(r ApiGetLatest return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40339 + var v InlineResponse40342 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -246,7 +242,7 @@ func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlockExecute(r ApiGetLatest err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -257,7 +253,7 @@ func (a *XRPRippleApiService) GetLatestMinedXRPRippleBlockExecute(r ApiGetLatest } type ApiGetXRPRippleAddressDetailsRequest struct { - ctx _context.Context + ctx context.Context ApiService *XRPRippleApiService network string address string @@ -270,7 +266,7 @@ func (r ApiGetXRPRippleAddressDetailsRequest) Context(context string) ApiGetXRPR return r } -func (r ApiGetXRPRippleAddressDetailsRequest) Execute() (GetXRPRippleAddressDetailsR, *_nethttp.Response, error) { +func (r ApiGetXRPRippleAddressDetailsRequest) Execute() (*GetXRPRippleAddressDetailsR, *http.Response, error) { return r.ApiService.GetXRPRippleAddressDetailsExecute(r) } @@ -281,12 +277,12 @@ Through this endpoint the customer can receive basic information about a given X Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", are test networks. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiGetXRPRippleAddressDetailsRequest */ -func (a *XRPRippleApiService) GetXRPRippleAddressDetails(ctx _context.Context, network string, address string) ApiGetXRPRippleAddressDetailsRequest { +func (a *XRPRippleApiService) GetXRPRippleAddressDetails(ctx context.Context, network string, address string) ApiGetXRPRippleAddressDetailsRequest { return ApiGetXRPRippleAddressDetailsRequest{ ApiService: a, ctx: ctx, @@ -297,26 +293,26 @@ func (a *XRPRippleApiService) GetXRPRippleAddressDetails(ctx _context.Context, n // Execute executes the request // @return GetXRPRippleAddressDetailsR -func (a *XRPRippleApiService) GetXRPRippleAddressDetailsExecute(r ApiGetXRPRippleAddressDetailsRequest) (GetXRPRippleAddressDetailsR, *_nethttp.Response, error) { +func (a *XRPRippleApiService) GetXRPRippleAddressDetailsExecute(r ApiGetXRPRippleAddressDetailsRequest) (*GetXRPRippleAddressDetailsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetXRPRippleAddressDetailsR + localVarReturnValue *GetXRPRippleAddressDetailsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.GetXRPRippleAddressDetails") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/addresses/{address}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -362,15 +358,15 @@ func (a *XRPRippleApiService) GetXRPRippleAddressDetailsExecute(r ApiGetXRPRippl return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -468,7 +464,7 @@ func (a *XRPRippleApiService) GetXRPRippleAddressDetailsExecute(r ApiGetXRPRippl err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -479,7 +475,7 @@ func (a *XRPRippleApiService) GetXRPRippleAddressDetailsExecute(r ApiGetXRPRippl } type ApiGetXRPRippleBlockDetailsByBlockHashRequest struct { - ctx _context.Context + ctx context.Context ApiService *XRPRippleApiService network string blockHash string @@ -492,7 +488,7 @@ func (r ApiGetXRPRippleBlockDetailsByBlockHashRequest) Context(context string) A return r } -func (r ApiGetXRPRippleBlockDetailsByBlockHashRequest) Execute() (GetXRPRippleBlockDetailsByBlockHashR, *_nethttp.Response, error) { +func (r ApiGetXRPRippleBlockDetailsByBlockHashRequest) Execute() (*GetXRPRippleBlockDetailsByBlockHashR, *http.Response, error) { return r.ApiService.GetXRPRippleBlockDetailsByBlockHashExecute(r) } @@ -503,12 +499,12 @@ Through this endpoint customers can obtain basic information about a given XRP b Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @return ApiGetXRPRippleBlockDetailsByBlockHashRequest */ -func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHash(ctx _context.Context, network string, blockHash string) ApiGetXRPRippleBlockDetailsByBlockHashRequest { +func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHash(ctx context.Context, network string, blockHash string) ApiGetXRPRippleBlockDetailsByBlockHashRequest { return ApiGetXRPRippleBlockDetailsByBlockHashRequest{ ApiService: a, ctx: ctx, @@ -519,26 +515,26 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHash(ctx _context.C // Execute executes the request // @return GetXRPRippleBlockDetailsByBlockHashR -func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHashExecute(r ApiGetXRPRippleBlockDetailsByBlockHashRequest) (GetXRPRippleBlockDetailsByBlockHashR, *_nethttp.Response, error) { +func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHashExecute(r ApiGetXRPRippleBlockDetailsByBlockHashRequest) (*GetXRPRippleBlockDetailsByBlockHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetXRPRippleBlockDetailsByBlockHashR + localVarReturnValue *GetXRPRippleBlockDetailsByBlockHashR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.GetXRPRippleBlockDetailsByBlockHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", _neturl.PathEscape(parameterToString(r.blockHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", url.PathEscape(parameterToString(r.blockHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -584,20 +580,20 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHashExecute(r ApiGe return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40031 + var v InlineResponse40032 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -607,7 +603,7 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHashExecute(r ApiGe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40131 + var v InlineResponse40132 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -627,7 +623,7 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHashExecute(r ApiGe return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40331 + var v InlineResponse40332 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -700,7 +696,7 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHashExecute(r ApiGe err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -711,7 +707,7 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHashExecute(r ApiGe } type ApiGetXRPRippleBlockDetailsByBlockHeightRequest struct { - ctx _context.Context + ctx context.Context ApiService *XRPRippleApiService network string blockHeight string @@ -724,7 +720,7 @@ func (r ApiGetXRPRippleBlockDetailsByBlockHeightRequest) Context(context string) return r } -func (r ApiGetXRPRippleBlockDetailsByBlockHeightRequest) Execute() (GetXRPRippleBlockDetailsByBlockHeightR, *_nethttp.Response, error) { +func (r ApiGetXRPRippleBlockDetailsByBlockHeightRequest) Execute() (*GetXRPRippleBlockDetailsByBlockHeightR, *http.Response, error) { return r.ApiService.GetXRPRippleBlockDetailsByBlockHeightExecute(r) } @@ -735,12 +731,12 @@ Through this endpoint customers can obtain basic information about a given XRP b Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", are test networks. @param blockHeight Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". @return ApiGetXRPRippleBlockDetailsByBlockHeightRequest */ -func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeight(ctx _context.Context, network string, blockHeight string) ApiGetXRPRippleBlockDetailsByBlockHeightRequest { +func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeight(ctx context.Context, network string, blockHeight string) ApiGetXRPRippleBlockDetailsByBlockHeightRequest { return ApiGetXRPRippleBlockDetailsByBlockHeightRequest{ ApiService: a, ctx: ctx, @@ -751,26 +747,26 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeight(ctx _context // Execute executes the request // @return GetXRPRippleBlockDetailsByBlockHeightR -func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeightExecute(r ApiGetXRPRippleBlockDetailsByBlockHeightRequest) (GetXRPRippleBlockDetailsByBlockHeightR, *_nethttp.Response, error) { +func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeightExecute(r ApiGetXRPRippleBlockDetailsByBlockHeightRequest) (*GetXRPRippleBlockDetailsByBlockHeightR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetXRPRippleBlockDetailsByBlockHeightR + localVarReturnValue *GetXRPRippleBlockDetailsByBlockHeightR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.GetXRPRippleBlockDetailsByBlockHeight") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", _neturl.PathEscape(parameterToString(r.blockHeight, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", url.PathEscape(parameterToString(r.blockHeight, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -816,20 +812,20 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeightExecute(r Api return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40027 + var v InlineResponse40028 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -839,7 +835,7 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeightExecute(r Api return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40127 + var v InlineResponse40128 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -859,7 +855,7 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeightExecute(r Api return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40327 + var v InlineResponse40328 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -932,7 +928,7 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeightExecute(r Api err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -943,7 +939,7 @@ func (a *XRPRippleApiService) GetXRPRippleBlockDetailsByBlockHeightExecute(r Api } type ApiGetXRPRippleTransactionDetailsByTransactionIDRequest struct { - ctx _context.Context + ctx context.Context ApiService *XRPRippleApiService network string transactionHash string @@ -956,7 +952,7 @@ func (r ApiGetXRPRippleTransactionDetailsByTransactionIDRequest) Context(context return r } -func (r ApiGetXRPRippleTransactionDetailsByTransactionIDRequest) Execute() (GetXRPRippleTransactionDetailsByTransactionIDR, *_nethttp.Response, error) { +func (r ApiGetXRPRippleTransactionDetailsByTransactionIDRequest) Execute() (*GetXRPRippleTransactionDetailsByTransactionIDR, *http.Response, error) { return r.ApiService.GetXRPRippleTransactionDetailsByTransactionIDExecute(r) } @@ -967,12 +963,12 @@ Through this endpoint customers can obtain details about a XRP transaction by th Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param transactionHash Represents the same as `transactionId` for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` for SegWit transactions. @return ApiGetXRPRippleTransactionDetailsByTransactionIDRequest */ -func (a *XRPRippleApiService) GetXRPRippleTransactionDetailsByTransactionID(ctx _context.Context, network string, transactionHash string) ApiGetXRPRippleTransactionDetailsByTransactionIDRequest { +func (a *XRPRippleApiService) GetXRPRippleTransactionDetailsByTransactionID(ctx context.Context, network string, transactionHash string) ApiGetXRPRippleTransactionDetailsByTransactionIDRequest { return ApiGetXRPRippleTransactionDetailsByTransactionIDRequest{ ApiService: a, ctx: ctx, @@ -983,26 +979,26 @@ func (a *XRPRippleApiService) GetXRPRippleTransactionDetailsByTransactionID(ctx // Execute executes the request // @return GetXRPRippleTransactionDetailsByTransactionIDR -func (a *XRPRippleApiService) GetXRPRippleTransactionDetailsByTransactionIDExecute(r ApiGetXRPRippleTransactionDetailsByTransactionIDRequest) (GetXRPRippleTransactionDetailsByTransactionIDR, *_nethttp.Response, error) { +func (a *XRPRippleApiService) GetXRPRippleTransactionDetailsByTransactionIDExecute(r ApiGetXRPRippleTransactionDetailsByTransactionIDRequest) (*GetXRPRippleTransactionDetailsByTransactionIDR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetXRPRippleTransactionDetailsByTransactionIDR + localVarReturnValue *GetXRPRippleTransactionDetailsByTransactionIDR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.GetXRPRippleTransactionDetailsByTransactionID") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/transactions/{transactionHash}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", _neturl.PathEscape(parameterToString(r.transactionHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", url.PathEscape(parameterToString(r.transactionHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1048,15 +1044,15 @@ func (a *XRPRippleApiService) GetXRPRippleTransactionDetailsByTransactionIDExecu return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -1164,7 +1160,7 @@ func (a *XRPRippleApiService) GetXRPRippleTransactionDetailsByTransactionIDExecu err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1175,13 +1171,13 @@ func (a *XRPRippleApiService) GetXRPRippleTransactionDetailsByTransactionIDExecu } type ApiListXRPRippleTransactionsByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *XRPRippleApiService network string address string context *string - limit *int32 - offset *int32 + limit *int64 + offset *int64 transactionType *string } @@ -1190,22 +1186,25 @@ func (r ApiListXRPRippleTransactionsByAddressRequest) Context(context string) Ap r.context = &context return r } + // Defines how many items should be returned in the response per page basis. -func (r ApiListXRPRippleTransactionsByAddressRequest) Limit(limit int32) ApiListXRPRippleTransactionsByAddressRequest { +func (r ApiListXRPRippleTransactionsByAddressRequest) Limit(limit int64) ApiListXRPRippleTransactionsByAddressRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListXRPRippleTransactionsByAddressRequest) Offset(offset int32) ApiListXRPRippleTransactionsByAddressRequest { +func (r ApiListXRPRippleTransactionsByAddressRequest) Offset(offset int64) ApiListXRPRippleTransactionsByAddressRequest { r.offset = &offset return r } + func (r ApiListXRPRippleTransactionsByAddressRequest) TransactionType(transactionType string) ApiListXRPRippleTransactionsByAddressRequest { r.transactionType = &transactionType return r } -func (r ApiListXRPRippleTransactionsByAddressRequest) Execute() (ListXRPRippleTransactionsByAddressR, *_nethttp.Response, error) { +func (r ApiListXRPRippleTransactionsByAddressRequest) Execute() (*ListXRPRippleTransactionsByAddressR, *http.Response, error) { return r.ApiService.ListXRPRippleTransactionsByAddressExecute(r) } @@ -1216,12 +1215,12 @@ This endpoint will list XRP transactions by a attribute `address`. The transacti Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param address Represents the public address, which is a compressed and shortened form of a public key. @return ApiListXRPRippleTransactionsByAddressRequest */ -func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddress(ctx _context.Context, network string, address string) ApiListXRPRippleTransactionsByAddressRequest { +func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddress(ctx context.Context, network string, address string) ApiListXRPRippleTransactionsByAddressRequest { return ApiListXRPRippleTransactionsByAddressRequest{ ApiService: a, ctx: ctx, @@ -1232,26 +1231,26 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddress(ctx _context.Co // Execute executes the request // @return ListXRPRippleTransactionsByAddressR -func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddressExecute(r ApiListXRPRippleTransactionsByAddressRequest) (ListXRPRippleTransactionsByAddressR, *_nethttp.Response, error) { +func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddressExecute(r ApiListXRPRippleTransactionsByAddressRequest) (*ListXRPRippleTransactionsByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListXRPRippleTransactionsByAddressR + localVarReturnValue *ListXRPRippleTransactionsByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.ListXRPRippleTransactionsByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/addresses/{address}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1306,15 +1305,15 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddressExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -1412,7 +1411,279 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddressExecute(r ApiLis err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest struct { + ctx context.Context + ApiService *XRPRippleApiService + network string + address string + fromTimestamp *int32 + toTimestamp *int32 + context *string + limit *int64 + offset *int64 + transactionType *string +} + +// Defines the specific time/date from which the results will start being listed. +func (r ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest) FromTimestamp(fromTimestamp int32) ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest { + r.fromTimestamp = &fromTimestamp + return r +} + +// Defines the specific time/date to which the results will be listed. +func (r ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest) ToTimestamp(toTimestamp int32) ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest { + r.toTimestamp = &toTimestamp + return r +} + +// In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. +func (r ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest) Context(context string) ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest { + r.context = &context + return r +} + +// Defines how many items should be returned in the response per page basis. +func (r ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest) Limit(limit int64) ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest { + r.limit = &limit + return r +} + +// The starting index of the response items, i.e. where the response should start listing the returned items. +func (r ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest) Offset(offset int64) ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest { + r.offset = &offset + return r +} + +// Defines the transaction type. +func (r ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest) TransactionType(transactionType string) ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest { + r.transactionType = &transactionType + return r +} + +func (r ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest) Execute() (*ListXRPRippleTransactionsByAddressAndTimeRangeR, *http.Response, error) { + return r.ApiService.ListXRPRippleTransactionsByAddressAndTimeRangeExecute(r) +} + +/* +ListXRPRippleTransactionsByAddressAndTimeRange List XRP (Ripple) Transactions By Address And Time Range + +Тhis endpoint lists XRP transactions by the attribute `address` and the query parameters `fromTimestamp` and `toTimestamp` which gives customers the opportunity to filter the results by a specified time period. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + @param address Represents the public address, which is a compressed and shortened form of a public key. + @return ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest +*/ +func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddressAndTimeRange(ctx context.Context, network string, address string) ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest { + return ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest{ + ApiService: a, + ctx: ctx, + network: network, + address: address, + } +} + +// Execute executes the request +// @return ListXRPRippleTransactionsByAddressAndTimeRangeR +func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddressAndTimeRangeExecute(r ApiListXRPRippleTransactionsByAddressAndTimeRangeRequest) (*ListXRPRippleTransactionsByAddressAndTimeRangeR, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ListXRPRippleTransactionsByAddressAndTimeRangeR + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.ListXRPRippleTransactionsByAddressAndTimeRange") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/addresses/{address}/transactions-by-time-range" + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.fromTimestamp == nil { + return localVarReturnValue, nil, reportError("fromTimestamp is required and must be specified") + } + if r.toTimestamp == nil { + return localVarReturnValue, nil, reportError("toTimestamp is required and must be specified") + } + + if r.context != nil { + localVarQueryParams.Add("context", parameterToString(*r.context, "")) + } + localVarQueryParams.Add("fromTimestamp", parameterToString(*r.fromTimestamp, "")) + if r.limit != nil { + localVarQueryParams.Add("limit", parameterToString(*r.limit, "")) + } + if r.offset != nil { + localVarQueryParams.Add("offset", parameterToString(*r.offset, "")) + } + localVarQueryParams.Add("toTimestamp", parameterToString(*r.toTimestamp, "")) + if r.transactionType != nil { + localVarQueryParams.Add("transactionType", parameterToString(*r.transactionType, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["ApiKey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["x-api-key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v InlineResponse40016 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v InlineResponse40116 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v InlineResponse402 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v InlineResponse40316 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v InlineResponse409 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 415 { + var v InlineResponse415 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v InlineResponse422 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v InlineResponse429 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v InlineResponse500 + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1423,13 +1694,13 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByAddressExecute(r ApiLis } type ApiListXRPRippleTransactionsByBlockHashRequest struct { - ctx _context.Context + ctx context.Context ApiService *XRPRippleApiService network string blockHash string context *string - limit *int32 - offset *int32 + limit *int64 + offset *int64 } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. @@ -1437,18 +1708,20 @@ func (r ApiListXRPRippleTransactionsByBlockHashRequest) Context(context string) r.context = &context return r } + // Defines how many items should be returned in the response per page basis. -func (r ApiListXRPRippleTransactionsByBlockHashRequest) Limit(limit int32) ApiListXRPRippleTransactionsByBlockHashRequest { +func (r ApiListXRPRippleTransactionsByBlockHashRequest) Limit(limit int64) ApiListXRPRippleTransactionsByBlockHashRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListXRPRippleTransactionsByBlockHashRequest) Offset(offset int32) ApiListXRPRippleTransactionsByBlockHashRequest { +func (r ApiListXRPRippleTransactionsByBlockHashRequest) Offset(offset int64) ApiListXRPRippleTransactionsByBlockHashRequest { r.offset = &offset return r } -func (r ApiListXRPRippleTransactionsByBlockHashRequest) Execute() (ListXRPRippleTransactionsByBlockHashR, *_nethttp.Response, error) { +func (r ApiListXRPRippleTransactionsByBlockHashRequest) Execute() (*ListXRPRippleTransactionsByBlockHashR, *http.Response, error) { return r.ApiService.ListXRPRippleTransactionsByBlockHashExecute(r) } @@ -1459,12 +1732,12 @@ This endpoint will list transactions by an attribute `blockHash`. The transactio Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @return ApiListXRPRippleTransactionsByBlockHashRequest */ -func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHash(ctx _context.Context, network string, blockHash string) ApiListXRPRippleTransactionsByBlockHashRequest { +func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHash(ctx context.Context, network string, blockHash string) ApiListXRPRippleTransactionsByBlockHashRequest { return ApiListXRPRippleTransactionsByBlockHashRequest{ ApiService: a, ctx: ctx, @@ -1475,26 +1748,26 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHash(ctx _context. // Execute executes the request // @return ListXRPRippleTransactionsByBlockHashR -func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHashExecute(r ApiListXRPRippleTransactionsByBlockHashRequest) (ListXRPRippleTransactionsByBlockHashR, *_nethttp.Response, error) { +func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHashExecute(r ApiListXRPRippleTransactionsByBlockHashRequest) (*ListXRPRippleTransactionsByBlockHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListXRPRippleTransactionsByBlockHashR + localVarReturnValue *ListXRPRippleTransactionsByBlockHashR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.ListXRPRippleTransactionsByBlockHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", _neturl.PathEscape(parameterToString(r.blockHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", url.PathEscape(parameterToString(r.blockHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1546,20 +1819,20 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHashExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40018 + var v InlineResponse40019 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1569,7 +1842,7 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHashExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40118 + var v InlineResponse40119 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1589,7 +1862,7 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHashExecute(r ApiL return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40318 + var v InlineResponse40319 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1652,7 +1925,7 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHashExecute(r ApiL err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1663,13 +1936,13 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHashExecute(r ApiL } type ApiListXRPRippleTransactionsByBlockHeightRequest struct { - ctx _context.Context + ctx context.Context ApiService *XRPRippleApiService network string - blockHeight int32 + blockHeight int64 context *string - limit *int32 - offset *int32 + limit *int64 + offset *int64 } // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. @@ -1677,18 +1950,20 @@ func (r ApiListXRPRippleTransactionsByBlockHeightRequest) Context(context string r.context = &context return r } + // Defines how many items should be returned in the response per page basis. -func (r ApiListXRPRippleTransactionsByBlockHeightRequest) Limit(limit int32) ApiListXRPRippleTransactionsByBlockHeightRequest { +func (r ApiListXRPRippleTransactionsByBlockHeightRequest) Limit(limit int64) ApiListXRPRippleTransactionsByBlockHeightRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. -func (r ApiListXRPRippleTransactionsByBlockHeightRequest) Offset(offset int32) ApiListXRPRippleTransactionsByBlockHeightRequest { +func (r ApiListXRPRippleTransactionsByBlockHeightRequest) Offset(offset int64) ApiListXRPRippleTransactionsByBlockHeightRequest { r.offset = &offset return r } -func (r ApiListXRPRippleTransactionsByBlockHeightRequest) Execute() (ListXRPRippleTransactionsByBlockHeightR, *_nethttp.Response, error) { +func (r ApiListXRPRippleTransactionsByBlockHeightRequest) Execute() (*ListXRPRippleTransactionsByBlockHeightR, *http.Response, error) { return r.ApiService.ListXRPRippleTransactionsByBlockHeightExecute(r) } @@ -1699,12 +1974,12 @@ This endpoint will list transactions by an attribute `blockHeight`. The transact Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHeight @return ApiListXRPRippleTransactionsByBlockHeightRequest */ -func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeight(ctx _context.Context, network string, blockHeight int32) ApiListXRPRippleTransactionsByBlockHeightRequest { +func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeight(ctx context.Context, network string, blockHeight int64) ApiListXRPRippleTransactionsByBlockHeightRequest { return ApiListXRPRippleTransactionsByBlockHeightRequest{ ApiService: a, ctx: ctx, @@ -1715,26 +1990,26 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeight(ctx _contex // Execute executes the request // @return ListXRPRippleTransactionsByBlockHeightR -func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeightExecute(r ApiListXRPRippleTransactionsByBlockHeightRequest) (ListXRPRippleTransactionsByBlockHeightR, *_nethttp.Response, error) { +func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeightExecute(r ApiListXRPRippleTransactionsByBlockHeightRequest) (*ListXRPRippleTransactionsByBlockHeightR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListXRPRippleTransactionsByBlockHeightR + localVarReturnValue *ListXRPRippleTransactionsByBlockHeightR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "XRPRippleApiService.ListXRPRippleTransactionsByBlockHeight") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", _neturl.PathEscape(parameterToString(r.blockHeight, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", url.PathEscape(parameterToString(r.blockHeight, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1786,20 +2061,20 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeightExecute(r Ap return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40023 + var v InlineResponse40024 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1809,7 +2084,7 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeightExecute(r Ap return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40123 + var v InlineResponse40124 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1829,7 +2104,7 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeightExecute(r Ap return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40323 + var v InlineResponse40324 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1892,7 +2167,7 @@ func (a *XRPRippleApiService) ListXRPRippleTransactionsByBlockHeightExecute(r Ap err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/api_zilliqa.go b/api_zilliqa.go index 1a8ff48..2fbbe56 100644 --- a/api_zilliqa.go +++ b/api_zilliqa.go @@ -13,23 +13,19 @@ package cryptoapis import ( "bytes" - _context "context" - _ioutil "io/ioutil" - _nethttp "net/http" - _neturl "net/url" + "context" + "io/ioutil" + "net/http" + "net/url" "strings" ) -// Linger please -var ( - _ _context.Context -) // ZilliqaApiService ZilliqaApi service type ZilliqaApiService service type ApiGetLatestMinedZilliqaBlockRequest struct { - ctx _context.Context + ctx context.Context ApiService *ZilliqaApiService network string context *string @@ -41,7 +37,7 @@ func (r ApiGetLatestMinedZilliqaBlockRequest) Context(context string) ApiGetLate return r } -func (r ApiGetLatestMinedZilliqaBlockRequest) Execute() (GetLatestMinedZilliqaBlockR, *_nethttp.Response, error) { +func (r ApiGetLatestMinedZilliqaBlockRequest) Execute() (*GetLatestMinedZilliqaBlockR, *http.Response, error) { return r.ApiService.GetLatestMinedZilliqaBlockExecute(r) } @@ -50,11 +46,11 @@ GetLatestMinedZilliqaBlock Get Latest Mined Zilliqa Block Through this endpoint users can obtain information on the latest block that has been mined on the Zilliqa blockchain. Data could include the current and previous block hashes, transaction count, and more. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @return ApiGetLatestMinedZilliqaBlockRequest */ -func (a *ZilliqaApiService) GetLatestMinedZilliqaBlock(ctx _context.Context, network string) ApiGetLatestMinedZilliqaBlockRequest { +func (a *ZilliqaApiService) GetLatestMinedZilliqaBlock(ctx context.Context, network string) ApiGetLatestMinedZilliqaBlockRequest { return ApiGetLatestMinedZilliqaBlockRequest{ ApiService: a, ctx: ctx, @@ -64,25 +60,25 @@ func (a *ZilliqaApiService) GetLatestMinedZilliqaBlock(ctx _context.Context, net // Execute executes the request // @return GetLatestMinedZilliqaBlockR -func (a *ZilliqaApiService) GetLatestMinedZilliqaBlockExecute(r ApiGetLatestMinedZilliqaBlockRequest) (GetLatestMinedZilliqaBlockR, *_nethttp.Response, error) { +func (a *ZilliqaApiService) GetLatestMinedZilliqaBlockExecute(r ApiGetLatestMinedZilliqaBlockRequest) (*GetLatestMinedZilliqaBlockR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetLatestMinedZilliqaBlockR + localVarReturnValue *GetLatestMinedZilliqaBlockR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ZilliqaApiService.GetLatestMinedZilliqaBlock") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/zilliqa-specific/{network}/blocks/last" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -128,20 +124,20 @@ func (a *ZilliqaApiService) GetLatestMinedZilliqaBlockExecute(r ApiGetLatestMine return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40040 + var v InlineResponse40043 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -151,7 +147,7 @@ func (a *ZilliqaApiService) GetLatestMinedZilliqaBlockExecute(r ApiGetLatestMine return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40140 + var v InlineResponse40143 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -171,7 +167,7 @@ func (a *ZilliqaApiService) GetLatestMinedZilliqaBlockExecute(r ApiGetLatestMine return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40340 + var v InlineResponse40343 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -244,7 +240,7 @@ func (a *ZilliqaApiService) GetLatestMinedZilliqaBlockExecute(r ApiGetLatestMine err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -255,7 +251,7 @@ func (a *ZilliqaApiService) GetLatestMinedZilliqaBlockExecute(r ApiGetLatestMine } type ApiGetZilliqaAddressDetailsRequest struct { - ctx _context.Context + ctx context.Context ApiService *ZilliqaApiService network string address string @@ -268,7 +264,7 @@ func (r ApiGetZilliqaAddressDetailsRequest) Context(context string) ApiGetZilliq return r } -func (r ApiGetZilliqaAddressDetailsRequest) Execute() (GetZilliqaAddressDetailsR, *_nethttp.Response, error) { +func (r ApiGetZilliqaAddressDetailsRequest) Execute() (*GetZilliqaAddressDetailsR, *http.Response, error) { return r.ApiService.GetZilliqaAddressDetailsExecute(r) } @@ -277,12 +273,12 @@ GetZilliqaAddressDetails Get Zilliqa Address Details Through this endpoint customers can obtain information address details from the Zilliqa blockchain. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param address Defines the specific transaction's address. @return ApiGetZilliqaAddressDetailsRequest */ -func (a *ZilliqaApiService) GetZilliqaAddressDetails(ctx _context.Context, network string, address string) ApiGetZilliqaAddressDetailsRequest { +func (a *ZilliqaApiService) GetZilliqaAddressDetails(ctx context.Context, network string, address string) ApiGetZilliqaAddressDetailsRequest { return ApiGetZilliqaAddressDetailsRequest{ ApiService: a, ctx: ctx, @@ -293,26 +289,26 @@ func (a *ZilliqaApiService) GetZilliqaAddressDetails(ctx _context.Context, netwo // Execute executes the request // @return GetZilliqaAddressDetailsR -func (a *ZilliqaApiService) GetZilliqaAddressDetailsExecute(r ApiGetZilliqaAddressDetailsRequest) (GetZilliqaAddressDetailsR, *_nethttp.Response, error) { +func (a *ZilliqaApiService) GetZilliqaAddressDetailsExecute(r ApiGetZilliqaAddressDetailsRequest) (*GetZilliqaAddressDetailsR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetZilliqaAddressDetailsR + localVarReturnValue *GetZilliqaAddressDetailsR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ZilliqaApiService.GetZilliqaAddressDetails") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/zilliqa-specific/{network}/addresses/{address}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -358,15 +354,15 @@ func (a *ZilliqaApiService) GetZilliqaAddressDetailsExecute(r ApiGetZilliqaAddre return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -464,7 +460,7 @@ func (a *ZilliqaApiService) GetZilliqaAddressDetailsExecute(r ApiGetZilliqaAddre err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -475,7 +471,7 @@ func (a *ZilliqaApiService) GetZilliqaAddressDetailsExecute(r ApiGetZilliqaAddre } type ApiGetZilliqaBlockDetailsByBlockHashRequest struct { - ctx _context.Context + ctx context.Context ApiService *ZilliqaApiService network string blockHash string @@ -488,7 +484,7 @@ func (r ApiGetZilliqaBlockDetailsByBlockHashRequest) Context(context string) Api return r } -func (r ApiGetZilliqaBlockDetailsByBlockHashRequest) Execute() (GetZilliqaBlockDetailsByBlockHashR, *_nethttp.Response, error) { +func (r ApiGetZilliqaBlockDetailsByBlockHashRequest) Execute() (*GetZilliqaBlockDetailsByBlockHashR, *http.Response, error) { return r.ApiService.GetZilliqaBlockDetailsByBlockHashExecute(r) } @@ -497,12 +493,12 @@ GetZilliqaBlockDetailsByBlockHash Get Zilliqa Block Details By Block Hash Through this endpoint customers can obtain block details from the Zilliqa blockchain by providing the block Hash parameter. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @return ApiGetZilliqaBlockDetailsByBlockHashRequest */ -func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHash(ctx _context.Context, network string, blockHash string) ApiGetZilliqaBlockDetailsByBlockHashRequest { +func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHash(ctx context.Context, network string, blockHash string) ApiGetZilliqaBlockDetailsByBlockHashRequest { return ApiGetZilliqaBlockDetailsByBlockHashRequest{ ApiService: a, ctx: ctx, @@ -513,26 +509,26 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHash(ctx _context.Conte // Execute executes the request // @return GetZilliqaBlockDetailsByBlockHashR -func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHashExecute(r ApiGetZilliqaBlockDetailsByBlockHashRequest) (GetZilliqaBlockDetailsByBlockHashR, *_nethttp.Response, error) { +func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHashExecute(r ApiGetZilliqaBlockDetailsByBlockHashRequest) (*GetZilliqaBlockDetailsByBlockHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetZilliqaBlockDetailsByBlockHashR + localVarReturnValue *GetZilliqaBlockDetailsByBlockHashR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ZilliqaApiService.GetZilliqaBlockDetailsByBlockHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/zilliqa-specific/{network}/blocks/hash/{blockHash}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", _neturl.PathEscape(parameterToString(r.blockHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", url.PathEscape(parameterToString(r.blockHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -578,20 +574,20 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHashExecute(r ApiGetZil return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40033 + var v InlineResponse40034 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -601,7 +597,7 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHashExecute(r ApiGetZil return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40133 + var v InlineResponse40134 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -621,7 +617,7 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHashExecute(r ApiGetZil return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40333 + var v InlineResponse40334 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -694,7 +690,7 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHashExecute(r ApiGetZil err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -705,7 +701,7 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHashExecute(r ApiGetZil } type ApiGetZilliqaBlockDetailsByBlockHeightRequest struct { - ctx _context.Context + ctx context.Context ApiService *ZilliqaApiService network string blockHeight int32 @@ -718,7 +714,7 @@ func (r ApiGetZilliqaBlockDetailsByBlockHeightRequest) Context(context string) A return r } -func (r ApiGetZilliqaBlockDetailsByBlockHeightRequest) Execute() (GetZilliqaBlockDetailsByBlockHeightR, *_nethttp.Response, error) { +func (r ApiGetZilliqaBlockDetailsByBlockHeightRequest) Execute() (*GetZilliqaBlockDetailsByBlockHeightR, *http.Response, error) { return r.ApiService.GetZilliqaBlockDetailsByBlockHeightExecute(r) } @@ -727,12 +723,12 @@ GetZilliqaBlockDetailsByBlockHeight Get Zilliqa Block Details By Block Height Through this endpoint customers can obtain block details from the Zilliqa blockchain by providing the block Height parameter. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHeight Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". @return ApiGetZilliqaBlockDetailsByBlockHeightRequest */ -func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeight(ctx _context.Context, network string, blockHeight int32) ApiGetZilliqaBlockDetailsByBlockHeightRequest { +func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeight(ctx context.Context, network string, blockHeight int32) ApiGetZilliqaBlockDetailsByBlockHeightRequest { return ApiGetZilliqaBlockDetailsByBlockHeightRequest{ ApiService: a, ctx: ctx, @@ -743,26 +739,26 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeight(ctx _context.Con // Execute executes the request // @return GetZilliqaBlockDetailsByBlockHeightR -func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeightExecute(r ApiGetZilliqaBlockDetailsByBlockHeightRequest) (GetZilliqaBlockDetailsByBlockHeightR, *_nethttp.Response, error) { +func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeightExecute(r ApiGetZilliqaBlockDetailsByBlockHeightRequest) (*GetZilliqaBlockDetailsByBlockHeightR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetZilliqaBlockDetailsByBlockHeightR + localVarReturnValue *GetZilliqaBlockDetailsByBlockHeightR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ZilliqaApiService.GetZilliqaBlockDetailsByBlockHeight") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/zilliqa-specific/{network}/blocks/height/{blockHeight}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", _neturl.PathEscape(parameterToString(r.blockHeight, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", url.PathEscape(parameterToString(r.blockHeight, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -808,20 +804,20 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeightExecute(r ApiGetZ return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40029 + var v InlineResponse40030 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -831,7 +827,7 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeightExecute(r ApiGetZ return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40129 + var v InlineResponse40130 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -851,7 +847,7 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeightExecute(r ApiGetZ return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40329 + var v InlineResponse40330 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -924,7 +920,7 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeightExecute(r ApiGetZ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -935,7 +931,7 @@ func (a *ZilliqaApiService) GetZilliqaBlockDetailsByBlockHeightExecute(r ApiGetZ } type ApiGetZilliqaTransactionDetailsByTransactionIDRequest struct { - ctx _context.Context + ctx context.Context ApiService *ZilliqaApiService network string transactionHash string @@ -948,7 +944,7 @@ func (r ApiGetZilliqaTransactionDetailsByTransactionIDRequest) Context(context s return r } -func (r ApiGetZilliqaTransactionDetailsByTransactionIDRequest) Execute() (GetZilliqaTransactionDetailsByTransactionIDR, *_nethttp.Response, error) { +func (r ApiGetZilliqaTransactionDetailsByTransactionIDRequest) Execute() (*GetZilliqaTransactionDetailsByTransactionIDR, *http.Response, error) { return r.ApiService.GetZilliqaTransactionDetailsByTransactionIDExecute(r) } @@ -957,12 +953,12 @@ GetZilliqaTransactionDetailsByTransactionID Get Zilliqa Transaction Details by T Through this endpoint customers can obtain transaction details on the Zilliqa blockchain by providing a Transaction ID parameter. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param transactionHash String identifier of the transaction @return ApiGetZilliqaTransactionDetailsByTransactionIDRequest */ -func (a *ZilliqaApiService) GetZilliqaTransactionDetailsByTransactionID(ctx _context.Context, network string, transactionHash string) ApiGetZilliqaTransactionDetailsByTransactionIDRequest { +func (a *ZilliqaApiService) GetZilliqaTransactionDetailsByTransactionID(ctx context.Context, network string, transactionHash string) ApiGetZilliqaTransactionDetailsByTransactionIDRequest { return ApiGetZilliqaTransactionDetailsByTransactionIDRequest{ ApiService: a, ctx: ctx, @@ -973,26 +969,26 @@ func (a *ZilliqaApiService) GetZilliqaTransactionDetailsByTransactionID(ctx _con // Execute executes the request // @return GetZilliqaTransactionDetailsByTransactionIDR -func (a *ZilliqaApiService) GetZilliqaTransactionDetailsByTransactionIDExecute(r ApiGetZilliqaTransactionDetailsByTransactionIDRequest) (GetZilliqaTransactionDetailsByTransactionIDR, *_nethttp.Response, error) { +func (a *ZilliqaApiService) GetZilliqaTransactionDetailsByTransactionIDExecute(r ApiGetZilliqaTransactionDetailsByTransactionIDRequest) (*GetZilliqaTransactionDetailsByTransactionIDR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue GetZilliqaTransactionDetailsByTransactionIDR + localVarReturnValue *GetZilliqaTransactionDetailsByTransactionIDR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ZilliqaApiService.GetZilliqaTransactionDetailsByTransactionID") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/zilliqa-specific/{network}/transactions/{transactionHash}" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", _neturl.PathEscape(parameterToString(r.transactionHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"transactionHash"+"}", url.PathEscape(parameterToString(r.transactionHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1038,15 +1034,15 @@ func (a *ZilliqaApiService) GetZilliqaTransactionDetailsByTransactionIDExecute(r return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -1154,7 +1150,7 @@ func (a *ZilliqaApiService) GetZilliqaTransactionDetailsByTransactionIDExecute(r err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1165,7 +1161,7 @@ func (a *ZilliqaApiService) GetZilliqaTransactionDetailsByTransactionIDExecute(r } type ApiListZilliqaTransactionsByAddressRequest struct { - ctx _context.Context + ctx context.Context ApiService *ZilliqaApiService network string address string @@ -1179,18 +1175,20 @@ func (r ApiListZilliqaTransactionsByAddressRequest) Context(context string) ApiL r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListZilliqaTransactionsByAddressRequest) Limit(limit int32) ApiListZilliqaTransactionsByAddressRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListZilliqaTransactionsByAddressRequest) Offset(offset int32) ApiListZilliqaTransactionsByAddressRequest { r.offset = &offset return r } -func (r ApiListZilliqaTransactionsByAddressRequest) Execute() (ListZilliqaTransactionsByAddressR, *_nethttp.Response, error) { +func (r ApiListZilliqaTransactionsByAddressRequest) Execute() (*ListZilliqaTransactionsByAddressR, *http.Response, error) { return r.ApiService.ListZilliqaTransactionsByAddressExecute(r) } @@ -1199,12 +1197,12 @@ ListZilliqaTransactionsByAddress List Zilliqa Transactions by Address Through this endpoint customers can list transactions on the Zilliqa blockchain by the address parameter. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param address Defines the specific address of the sender. @return ApiListZilliqaTransactionsByAddressRequest */ -func (a *ZilliqaApiService) ListZilliqaTransactionsByAddress(ctx _context.Context, network string, address string) ApiListZilliqaTransactionsByAddressRequest { +func (a *ZilliqaApiService) ListZilliqaTransactionsByAddress(ctx context.Context, network string, address string) ApiListZilliqaTransactionsByAddressRequest { return ApiListZilliqaTransactionsByAddressRequest{ ApiService: a, ctx: ctx, @@ -1215,26 +1213,26 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByAddress(ctx _context.Contex // Execute executes the request // @return ListZilliqaTransactionsByAddressR -func (a *ZilliqaApiService) ListZilliqaTransactionsByAddressExecute(r ApiListZilliqaTransactionsByAddressRequest) (ListZilliqaTransactionsByAddressR, *_nethttp.Response, error) { +func (a *ZilliqaApiService) ListZilliqaTransactionsByAddressExecute(r ApiListZilliqaTransactionsByAddressRequest) (*ListZilliqaTransactionsByAddressR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListZilliqaTransactionsByAddressR + localVarReturnValue *ListZilliqaTransactionsByAddressR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ZilliqaApiService.ListZilliqaTransactionsByAddress") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/zilliqa-specific/{network}/addresses/{address}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", _neturl.PathEscape(parameterToString(r.address, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"address"+"}", url.PathEscape(parameterToString(r.address, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1286,15 +1284,15 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByAddressExecute(r ApiListZil return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } @@ -1392,7 +1390,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByAddressExecute(r ApiListZil err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1403,7 +1401,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByAddressExecute(r ApiListZil } type ApiListZilliqaTransactionsByBlockHashRequest struct { - ctx _context.Context + ctx context.Context ApiService *ZilliqaApiService network string blockHash string @@ -1417,18 +1415,20 @@ func (r ApiListZilliqaTransactionsByBlockHashRequest) Context(context string) Ap r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListZilliqaTransactionsByBlockHashRequest) Limit(limit int32) ApiListZilliqaTransactionsByBlockHashRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListZilliqaTransactionsByBlockHashRequest) Offset(offset int32) ApiListZilliqaTransactionsByBlockHashRequest { r.offset = &offset return r } -func (r ApiListZilliqaTransactionsByBlockHashRequest) Execute() (ListZilliqaTransactionsByBlockHashR, *_nethttp.Response, error) { +func (r ApiListZilliqaTransactionsByBlockHashRequest) Execute() (*ListZilliqaTransactionsByBlockHashR, *http.Response, error) { return r.ApiService.ListZilliqaTransactionsByBlockHashExecute(r) } @@ -1437,12 +1437,12 @@ ListZilliqaTransactionsByBlockHash List Zilliqa Transactions By Block Hash Through this endpoint customers can list transactions on the Zilliqa blockchain by the block hash parameter. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHash Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @return ApiListZilliqaTransactionsByBlockHashRequest */ -func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHash(ctx _context.Context, network string, blockHash string) ApiListZilliqaTransactionsByBlockHashRequest { +func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHash(ctx context.Context, network string, blockHash string) ApiListZilliqaTransactionsByBlockHashRequest { return ApiListZilliqaTransactionsByBlockHashRequest{ ApiService: a, ctx: ctx, @@ -1453,26 +1453,26 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHash(ctx _context.Cont // Execute executes the request // @return ListZilliqaTransactionsByBlockHashR -func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHashExecute(r ApiListZilliqaTransactionsByBlockHashRequest) (ListZilliqaTransactionsByBlockHashR, *_nethttp.Response, error) { +func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHashExecute(r ApiListZilliqaTransactionsByBlockHashRequest) (*ListZilliqaTransactionsByBlockHashR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListZilliqaTransactionsByBlockHashR + localVarReturnValue *ListZilliqaTransactionsByBlockHashR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ZilliqaApiService.ListZilliqaTransactionsByBlockHash") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/zilliqa-specific/{network}/blocks/hash/{blockHash}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", _neturl.PathEscape(parameterToString(r.blockHash, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHash"+"}", url.PathEscape(parameterToString(r.blockHash, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1524,20 +1524,20 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHashExecute(r ApiListZ return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40021 + var v InlineResponse40022 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1547,7 +1547,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHashExecute(r ApiListZ return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40121 + var v InlineResponse40122 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1567,7 +1567,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHashExecute(r ApiListZ return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40321 + var v InlineResponse40322 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1630,7 +1630,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHashExecute(r ApiListZ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } @@ -1641,7 +1641,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHashExecute(r ApiListZ } type ApiListZilliqaTransactionsByBlockHeightRequest struct { - ctx _context.Context + ctx context.Context ApiService *ZilliqaApiService network string blockHeight int32 @@ -1655,18 +1655,20 @@ func (r ApiListZilliqaTransactionsByBlockHeightRequest) Context(context string) r.context = &context return r } + // Defines how many items should be returned in the response per page basis. func (r ApiListZilliqaTransactionsByBlockHeightRequest) Limit(limit int32) ApiListZilliqaTransactionsByBlockHeightRequest { r.limit = &limit return r } + // The starting index of the response items, i.e. where the response should start listing the returned items. func (r ApiListZilliqaTransactionsByBlockHeightRequest) Offset(offset int32) ApiListZilliqaTransactionsByBlockHeightRequest { r.offset = &offset return r } -func (r ApiListZilliqaTransactionsByBlockHeightRequest) Execute() (ListZilliqaTransactionsByBlockHeightR, *_nethttp.Response, error) { +func (r ApiListZilliqaTransactionsByBlockHeightRequest) Execute() (*ListZilliqaTransactionsByBlockHeightR, *http.Response, error) { return r.ApiService.ListZilliqaTransactionsByBlockHeightExecute(r) } @@ -1675,12 +1677,12 @@ ListZilliqaTransactionsByBlockHeight List Zilliqa Transactions By Block Height Through this endpoint customers can list transactions on the Zilliqa blockchain by the block height parameter. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param network Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. @param blockHeight Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". @return ApiListZilliqaTransactionsByBlockHeightRequest */ -func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeight(ctx _context.Context, network string, blockHeight int32) ApiListZilliqaTransactionsByBlockHeightRequest { +func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeight(ctx context.Context, network string, blockHeight int32) ApiListZilliqaTransactionsByBlockHeightRequest { return ApiListZilliqaTransactionsByBlockHeightRequest{ ApiService: a, ctx: ctx, @@ -1691,26 +1693,26 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeight(ctx _context.Co // Execute executes the request // @return ListZilliqaTransactionsByBlockHeightR -func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeightExecute(r ApiListZilliqaTransactionsByBlockHeightRequest) (ListZilliqaTransactionsByBlockHeightR, *_nethttp.Response, error) { +func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeightExecute(r ApiListZilliqaTransactionsByBlockHeightRequest) (*ListZilliqaTransactionsByBlockHeightR, *http.Response, error) { var ( - localVarHTTPMethod = _nethttp.MethodGet + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue ListZilliqaTransactionsByBlockHeightR + localVarReturnValue *ListZilliqaTransactionsByBlockHeightR ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ZilliqaApiService.ListZilliqaTransactionsByBlockHeight") if err != nil { - return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/blockchain-data/zilliqa-specific/{network}/blocks/height/{blockHeight}/transactions" - localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", _neturl.PathEscape(parameterToString(r.network, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", _neturl.PathEscape(parameterToString(r.blockHeight, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"network"+"}", url.PathEscape(parameterToString(r.network, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"blockHeight"+"}", url.PathEscape(parameterToString(r.blockHeight, "")), -1) localVarHeaderParams := make(map[string]string) - localVarQueryParams := _neturl.Values{} - localVarFormParams := _neturl.Values{} + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} if r.context != nil { localVarQueryParams.Add("context", parameterToString(*r.context, "")) @@ -1762,20 +1764,20 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeightExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, err } - localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body) + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v InlineResponse40022 + var v InlineResponse40023 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1785,7 +1787,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeightExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 401 { - var v InlineResponse40122 + var v InlineResponse40123 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1805,7 +1807,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeightExecute(r ApiLis return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { - var v InlineResponse40322 + var v InlineResponse40323 err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -1868,7 +1870,7 @@ func (a *ZilliqaApiService) ListZilliqaTransactionsByBlockHeightExecute(r ApiLis err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { - newErr := GenericOpenAPIError{ + newErr := &GenericOpenAPIError{ body: localVarBody, error: err.Error(), } diff --git a/client.go b/client.go index 3e03b72..8a24e26 100644 --- a/client.go +++ b/client.go @@ -82,8 +82,6 @@ type APIClient struct { TransactionsApi *TransactionsApiService - UTXOBasedApi *UTXOBasedApiService - UnifiedEndpointsApi *UnifiedEndpointsApiService XRPRippleApi *XRPRippleApiService @@ -123,7 +121,6 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.OmniLayerApi = (*OmniLayerApiService)(&c.common) c.TokensApi = (*TokensApiService)(&c.common) c.TransactionsApi = (*TransactionsApiService)(&c.common) - c.UTXOBasedApi = (*UTXOBasedApiService)(&c.common) c.UnifiedEndpointsApi = (*UnifiedEndpointsApiService)(&c.common) c.XRPRippleApi = (*XRPRippleApiService)(&c.common) c.ZilliqaApi = (*ZilliqaApiService)(&c.common) @@ -480,6 +477,13 @@ func reportError(format string, a ...interface{}) error { return fmt.Errorf(format, a...) } +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + // Set request body from an interface{} func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { if bodyBuf == nil { diff --git a/configuration.go b/configuration.go index eb30bca..33b6a71 100644 --- a/configuration.go +++ b/configuration.go @@ -102,7 +102,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/1.4.0/go", + UserAgent: "OpenAPI-Generator/1.5.0/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/ActivateBlockchainEventSubscriptionRI.md b/docs/ActivateBlockchainEventSubscriptionRI.md index 11e4283..1fcef38 100644 --- a/docs/ActivateBlockchainEventSubscriptionRI.md +++ b/docs/ActivateBlockchainEventSubscriptionRI.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **Blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our Documentation. | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | diff --git a/docs/AddTokensToExistingFromAddressRBDataItem.md b/docs/AddTokensToExistingFromAddressRBDataItem.md index 22d454a..d491d91 100644 --- a/docs/AddTokensToExistingFromAddressRBDataItem.md +++ b/docs/AddTokensToExistingFromAddressRBDataItem.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"SLOW\", \"STANDARD\" or \"FAST\". | **FromAddress** | **string** | Represents the hash of the address that forwards the tokens. | diff --git a/docs/AddTokensToExistingFromAddressRI.md b/docs/AddTokensToExistingFromAddressRI.md index 6419380..85eefdb 100644 --- a/docs/AddTokensToExistingFromAddressRI.md +++ b/docs/AddTokensToExistingFromAddressRI.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the automatic forwarding was created in Unix Timestamp. | **FeeAddress** | **string** | Represents the specific fee address, which is always automatically generated. Users must fund it. | diff --git a/docs/AssetsApi.md b/docs/AssetsApi.md index 102057b..d293e24 100644 --- a/docs/AssetsApi.md +++ b/docs/AssetsApi.md @@ -32,11 +32,11 @@ import ( func main() { assetId := "5b1ea92e584bf50020130612" // string | Defines the unique ID of the specific asset. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AssetsApi.GetAssetDetailsByAssetID(context.Background(), assetId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AssetsApi.GetAssetDetailsByAssetID(context.Background(), assetId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AssetsApi.GetAssetDetailsByAssetID``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -104,11 +104,11 @@ import ( func main() { assetSymbol := "BTC" // string | Specifies the asset's unique symbol in the Crypto APIs listings. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AssetsApi.GetAssetDetailsByAssetSymbol(context.Background(), assetSymbol).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AssetsApi.GetAssetDetailsByAssetSymbol(context.Background(), assetSymbol).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AssetsApi.GetAssetDetailsByAssetSymbol``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -175,16 +175,16 @@ import ( ) func main() { - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) assetType := "crypto" // string | Defines the type of the supported asset. This could be either \"crypto\" or \"fiat\". (optional) cryptoType := "coin" // string | Subtype of the crypto assets. Could be COIN or TOKEN (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) waasEnabled := true // bool | Show only if WaaS is/not enabled (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AssetsApi.ListAssetsDetails(context.Background()).Context(context).AssetType(assetType).CryptoType(cryptoType).Limit(limit).Offset(offset).WaasEnabled(waasEnabled).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AssetsApi.ListAssetsDetails(context.Background()).Context(context).AssetType(assetType).CryptoType(cryptoType).Limit(limit).Offset(offset).WaasEnabled(waasEnabled).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AssetsApi.ListAssetsDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/AutomaticCoinsForwardingApi.md b/docs/AutomaticCoinsForwardingApi.md index 92b19e8..914dd6b 100644 --- a/docs/AutomaticCoinsForwardingApi.md +++ b/docs/AutomaticCoinsForwardingApi.md @@ -33,12 +33,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) createAutomaticCoinsForwardingRB := *openapiclient.NewCreateAutomaticCoinsForwardingRB(*openapiclient.NewCreateAutomaticCoinsForwardingRBData(*openapiclient.NewCreateAutomaticCoinsForwardingRBDataItem("yourSecretString", "https://example.com", int32(3), "standard", "0.02", "mzYijhgmzZrmuB7wBDazRKirnChKyow4M3"))) // CreateAutomaticCoinsForwardingRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AutomaticCoinsForwardingApi.CreateAutomaticCoinsForwarding(context.Background(), blockchain, network).Context(context).CreateAutomaticCoinsForwardingRB(createAutomaticCoinsForwardingRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AutomaticCoinsForwardingApi.CreateAutomaticCoinsForwarding(context.Background(), blockchain, network).Context(context).CreateAutomaticCoinsForwardingRB(createAutomaticCoinsForwardingRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AutomaticCoinsForwardingApi.CreateAutomaticCoinsForwarding``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -111,11 +111,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. referenceId := "600955ea5e75d660e71d3c7d" // string | Represents a unique ID used to reference the specific callback subscription. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AutomaticCoinsForwardingApi.DeleteAutomaticCoinsForwarding(context.Background(), blockchain, network, referenceId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AutomaticCoinsForwardingApi.DeleteAutomaticCoinsForwarding(context.Background(), blockchain, network, referenceId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AutomaticCoinsForwardingApi.DeleteAutomaticCoinsForwarding``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -188,13 +188,13 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AutomaticCoinsForwardingApi.ListCoinsForwardingAutomations(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AutomaticCoinsForwardingApi.ListCoinsForwardingAutomations(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AutomaticCoinsForwardingApi.ListCoinsForwardingAutomations``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/AutomaticTokensForwardingApi.md b/docs/AutomaticTokensForwardingApi.md index 4090648..fddd3a3 100644 --- a/docs/AutomaticTokensForwardingApi.md +++ b/docs/AutomaticTokensForwardingApi.md @@ -35,12 +35,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) addTokensToExistingFromAddressRB := *openapiclient.NewAddTokensToExistingFromAddressRB(*openapiclient.NewAddTokensToExistingFromAddressRBData(*openapiclient.NewAddTokensToExistingFromAddressRBDataItem("https://example.com", int32(3), "standard", "mizRduUBKEbJ6uzYJUegPh78gEGgM3WjAr", "0.00001", "mnumE76iEKN47bUsdni85oped5D1fRwKWi", openapiclient.AddTokensToExistingFromAddressRBTokenData{AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken: openapiclient.NewAddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken(int32(2))}))) // AddTokensToExistingFromAddressRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AutomaticTokensForwardingApi.AddTokensToExistingFromAddress(context.Background(), blockchain, network).Context(context).AddTokensToExistingFromAddressRB(addTokensToExistingFromAddressRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AutomaticTokensForwardingApi.AddTokensToExistingFromAddress(context.Background(), blockchain, network).Context(context).AddTokensToExistingFromAddressRB(addTokensToExistingFromAddressRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AutomaticTokensForwardingApi.AddTokensToExistingFromAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -112,12 +112,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) createAutomaticTokensForwardingRB := *openapiclient.NewCreateAutomaticTokensForwardingRB(*openapiclient.NewCreateAutomaticTokensForwardingRBData(*openapiclient.NewCreateAutomaticTokensForwardingRBDataItem("https://example.com", "3", "standard", "0.00002", "tb1q54j7qcu7kgsrx87yn0r9zjdvsxrnvxg4qua2z6", openapiclient.CreateAutomaticTokensForwardingRBTokenData{CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken: openapiclient.NewCreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken(int32(31))}))) // CreateAutomaticTokensForwardingRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AutomaticTokensForwardingApi.CreateAutomaticTokensForwarding(context.Background(), blockchain, network).Context(context).CreateAutomaticTokensForwardingRB(createAutomaticTokensForwardingRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AutomaticTokensForwardingApi.CreateAutomaticTokensForwarding(context.Background(), blockchain, network).Context(context).CreateAutomaticTokensForwardingRB(createAutomaticTokensForwardingRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AutomaticTokensForwardingApi.CreateAutomaticTokensForwarding``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -190,11 +190,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. referenceId := "6017dd02a309213863be9e55" // string | Represents a unique ID used to reference the specific callback subscription. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AutomaticTokensForwardingApi.DeleteAutomaticTokensForwarding(context.Background(), blockchain, network, referenceId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AutomaticTokensForwardingApi.DeleteAutomaticTokensForwarding(context.Background(), blockchain, network, referenceId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AutomaticTokensForwardingApi.DeleteAutomaticTokensForwarding``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -267,11 +267,11 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AutomaticTokensForwardingApi.GetFeeAddressDetails(context.Background(), blockchain, network).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AutomaticTokensForwardingApi.GetFeeAddressDetails(context.Background(), blockchain, network).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AutomaticTokensForwardingApi.GetFeeAddressDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -342,13 +342,13 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.AutomaticTokensForwardingApi.ListTokensForwardingAutomations(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AutomaticTokensForwardingApi.ListTokensForwardingAutomations(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `AutomaticTokensForwardingApi.ListTokensForwardingAutomations``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/BroadcastLocallySignedTransactionRBDataItem.md b/docs/BroadcastLocallySignedTransactionRBDataItem.md index 831d292..492304d 100644 --- a/docs/BroadcastLocallySignedTransactionRBDataItem.md +++ b/docs/BroadcastLocallySignedTransactionRBDataItem.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | [optional] +**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | [optional] **SignedTransactionHex** | **string** | Represents the signed transaction's specific hex. | ## Methods diff --git a/docs/CallbackDataApi.md b/docs/CallbackDataApi.md index 027b6a9..bc82385 100644 --- a/docs/CallbackDataApi.md +++ b/docs/CallbackDataApi.md @@ -35,11 +35,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "mzYijhgmzZrmuB7wBDazRKirnChKyow4M3" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CallbackDataApi.GetAddressDetailsFromCallback(context.Background(), blockchain, network, address).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CallbackDataApi.GetAddressDetailsFromCallback(context.Background(), blockchain, network, address).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CallbackDataApi.GetAddressDetailsFromCallback``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -113,11 +113,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHash := "000000000000000bdea8ba7df4bfd9f398e428fde8ee47152bcf93834ee48e8a" // string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CallbackDataApi.GetBlockDetailsByBlockHashFromCallback(context.Background(), blockchain, network, blockHash).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CallbackDataApi.GetBlockDetailsByBlockHashFromCallback(context.Background(), blockchain, network, blockHash).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CallbackDataApi.GetBlockDetailsByBlockHashFromCallback``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -191,11 +191,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHeight := "blockHeight_example" // string | Numeric representation of the block height - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CallbackDataApi.GetBlockDetailsByBlockHeightFromCallback(context.Background(), blockchain, network, blockHeight).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CallbackDataApi.GetBlockDetailsByBlockHeightFromCallback(context.Background(), blockchain, network, blockHeight).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CallbackDataApi.GetBlockDetailsByBlockHeightFromCallback``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -269,11 +269,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. transactionId := "8888f6c8168ff69aaf6438ab185c690e8c76c63e5f9c472c1c86f08406ea74f2" // string | String identifier of the transaction - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CallbackDataApi.GetTransactionDetailsByTransactionIDFromCallback(context.Background(), blockchain, network, transactionId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CallbackDataApi.GetTransactionDetailsByTransactionIDFromCallback(context.Background(), blockchain, network, transactionId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CallbackDataApi.GetTransactionDetailsByTransactionIDFromCallback``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/CreateAutomaticCoinsForwardingRBDataItem.md b/docs/CreateAutomaticCoinsForwardingRBDataItem.md index be71894..6f7406e 100644 --- a/docs/CreateAutomaticCoinsForwardingRBDataItem.md +++ b/docs/CreateAutomaticCoinsForwardingRBDataItem.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **MinimumTransferAmount** | **string** | Represents the minimum transfer amount of the currency in the `fromAddress` that can be allowed for an automatic forwarding. | diff --git a/docs/CreateAutomaticCoinsForwardingRI.md b/docs/CreateAutomaticCoinsForwardingRI.md index 4ca80e6..c88a3c7 100644 --- a/docs/CreateAutomaticCoinsForwardingRI.md +++ b/docs/CreateAutomaticCoinsForwardingRI.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the automatic forwarding was created in Unix Timestamp. | **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". | diff --git a/docs/CreateAutomaticTokensForwardingRBDataItem.md b/docs/CreateAutomaticTokensForwardingRBDataItem.md index c28844c..3926aab 100644 --- a/docs/CreateAutomaticTokensForwardingRBDataItem.md +++ b/docs/CreateAutomaticTokensForwardingRBDataItem.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **string** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"SLOW\", \"STANDARD\" or \"FAST\". | **MinimumTransferAmount** | **string** | Represents the minimum transfer amount of the currency in the `fromAddress` that can be allowed for an automatic forwarding. | diff --git a/docs/CreateAutomaticTokensForwardingRI.md b/docs/CreateAutomaticTokensForwardingRI.md index 5a700d6..5c55f13 100644 --- a/docs/CreateAutomaticTokensForwardingRI.md +++ b/docs/CreateAutomaticTokensForwardingRI.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the automatic forwarding was created in Unix Timestamp. | **FeeAddress** | **string** | Represents the specific fee address, which is always automatically generated. Users must fund it. | diff --git a/docs/CreateCoinsTransactionFromAddressForWholeAmountRBDataItem.md b/docs/CreateCoinsTransactionFromAddressForWholeAmountRBDataItem.md index 30cc240..2604e1f 100644 --- a/docs/CreateCoinsTransactionFromAddressForWholeAmountRBDataItem.md +++ b/docs/CreateCoinsTransactionFromAddressForWholeAmountRBDataItem.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | [optional] +**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | [optional] **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **Note** | Pointer to **string** | Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. | [optional] **RecipientAddress** | **string** | Defines the specific recipient address for the transaction. | diff --git a/docs/CreateCoinsTransactionFromAddressForWholeAmountRI.md b/docs/CreateCoinsTransactionFromAddressForWholeAmountRI.md index f9ae1c3..bd3303f 100644 --- a/docs/CreateCoinsTransactionFromAddressForWholeAmountRI.md +++ b/docs/CreateCoinsTransactionFromAddressForWholeAmountRI.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | [optional] +**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | [optional] **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **Note** | Pointer to **string** | Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request.Optional Transaction note with additional details | [optional] **Recipients** | [**[]CreateCoinsTransactionFromAddressForWholeAmountRIRecipients**](CreateCoinsTransactionFromAddressForWholeAmountRIRecipients.md) | Defines the destination for the transaction, i.e. the recipient(s). | diff --git a/docs/CreateCoinsTransactionRequestFromAddressRBDataItem.md b/docs/CreateCoinsTransactionRequestFromAddressRBDataItem.md index f538c7e..0d28216 100644 --- a/docs/CreateCoinsTransactionRequestFromAddressRBDataItem.md +++ b/docs/CreateCoinsTransactionRequestFromAddressRBDataItem.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Amount** | **string** | Represents the specific amount of the transaction. | **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | [optional] +**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | [optional] **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **Note** | Pointer to **string** | Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. | [optional] -**RecipientAddress** | **string** | Defines the specific recipient address for the transaction. | +**RecipientAddress** | **string** | Defines the specific recipient address for the transaction. For XRP we also support the X-address format. | ## Methods diff --git a/docs/CreateCoinsTransactionRequestFromAddressRI.md b/docs/CreateCoinsTransactionRequestFromAddressRI.md index 73da620..2b29ef7 100644 --- a/docs/CreateCoinsTransactionRequestFromAddressRI.md +++ b/docs/CreateCoinsTransactionRequestFromAddressRI.md @@ -4,8 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**AddressTag** | Pointer to **int32** | Defines a specific Tag that is an additional XRP address feature. It helps identify a transaction recipient beyond a wallet address. The tag that was encoded into the x-Address along with the Source Classic Address. | [optional] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | [optional] +**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | [optional] +**ClassicAddress** | Pointer to **string** | Represents the public address, which is a compressed and shortened form of a public key. The classic address is shown when the source address is an x-Address. | [optional] **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **Note** | Pointer to **string** | Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. | [optional] **Recipients** | [**[]CreateCoinsTransactionRequestFromAddressRIRecipients**](CreateCoinsTransactionRequestFromAddressRIRecipients.md) | Defines the destination for the transaction, i.e. the recipient(s). | @@ -32,6 +34,31 @@ NewCreateCoinsTransactionRequestFromAddressRIWithDefaults instantiates a new Cre This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetAddressTag + +`func (o *CreateCoinsTransactionRequestFromAddressRI) GetAddressTag() int32` + +GetAddressTag returns the AddressTag field if non-nil, zero value otherwise. + +### GetAddressTagOk + +`func (o *CreateCoinsTransactionRequestFromAddressRI) GetAddressTagOk() (*int32, bool)` + +GetAddressTagOk returns a tuple with the AddressTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressTag + +`func (o *CreateCoinsTransactionRequestFromAddressRI) SetAddressTag(v int32)` + +SetAddressTag sets AddressTag field to given value. + +### HasAddressTag + +`func (o *CreateCoinsTransactionRequestFromAddressRI) HasAddressTag() bool` + +HasAddressTag returns a boolean if a field has been set. + ### GetCallbackSecretKey `func (o *CreateCoinsTransactionRequestFromAddressRI) GetCallbackSecretKey() string` @@ -82,6 +109,31 @@ SetCallbackUrl sets CallbackUrl field to given value. HasCallbackUrl returns a boolean if a field has been set. +### GetClassicAddress + +`func (o *CreateCoinsTransactionRequestFromAddressRI) GetClassicAddress() string` + +GetClassicAddress returns the ClassicAddress field if non-nil, zero value otherwise. + +### GetClassicAddressOk + +`func (o *CreateCoinsTransactionRequestFromAddressRI) GetClassicAddressOk() (*string, bool)` + +GetClassicAddressOk returns a tuple with the ClassicAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClassicAddress + +`func (o *CreateCoinsTransactionRequestFromAddressRI) SetClassicAddress(v string)` + +SetClassicAddress sets ClassicAddress field to given value. + +### HasClassicAddress + +`func (o *CreateCoinsTransactionRequestFromAddressRI) HasClassicAddress() bool` + +HasClassicAddress returns a boolean if a field has been set. + ### GetFeePriority `func (o *CreateCoinsTransactionRequestFromAddressRI) GetFeePriority() string` diff --git a/docs/CreateCoinsTransactionRequestFromAddressRIRecipients.md b/docs/CreateCoinsTransactionRequestFromAddressRIRecipients.md index 9f431ae..c7b0aff 100644 --- a/docs/CreateCoinsTransactionRequestFromAddressRIRecipients.md +++ b/docs/CreateCoinsTransactionRequestFromAddressRIRecipients.md @@ -5,7 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Defines the destination address. | +**AddressTag** | Pointer to **int32** | Defines a specific Tag that is an additional XRP address feature. It helps identify a transaction recipient beyond a wallet address. The tag that was encoded into the x-Address along with the Source Classic Address. | [optional] **Amount** | **string** | Defines the amount sent to the destination address. | +**ClassicAddress** | Pointer to **string** | Represents the public address, which is a compressed and shortened form of a public key. The classic address is shown when the source address is an x-Address. | [optional] ## Methods @@ -46,6 +48,31 @@ and a boolean to check if the value has been set. SetAddress sets Address field to given value. +### GetAddressTag + +`func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAddressTag() int32` + +GetAddressTag returns the AddressTag field if non-nil, zero value otherwise. + +### GetAddressTagOk + +`func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAddressTagOk() (*int32, bool)` + +GetAddressTagOk returns a tuple with the AddressTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressTag + +`func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) SetAddressTag(v int32)` + +SetAddressTag sets AddressTag field to given value. + +### HasAddressTag + +`func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) HasAddressTag() bool` + +HasAddressTag returns a boolean if a field has been set. + ### GetAmount `func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAmount() string` @@ -66,6 +93,31 @@ and a boolean to check if the value has been set. SetAmount sets Amount field to given value. +### GetClassicAddress + +`func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetClassicAddress() string` + +GetClassicAddress returns the ClassicAddress field if non-nil, zero value otherwise. + +### GetClassicAddressOk + +`func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetClassicAddressOk() (*string, bool)` + +GetClassicAddressOk returns a tuple with the ClassicAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClassicAddress + +`func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) SetClassicAddress(v string)` + +SetClassicAddress sets ClassicAddress field to given value. + +### HasClassicAddress + +`func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) HasClassicAddress() bool` + +HasClassicAddress returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateCoinsTransactionRequestFromWalletRBDataItem.md b/docs/CreateCoinsTransactionRequestFromWalletRBDataItem.md index d3eee85..be20d3d 100644 --- a/docs/CreateCoinsTransactionRequestFromWalletRBDataItem.md +++ b/docs/CreateCoinsTransactionRequestFromWalletRBDataItem.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | [optional] +**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | [optional] **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **Note** | Pointer to **string** | Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. | [optional] **PrepareStrategy** | Pointer to **string** | Refers to a model of a UTXO spending strategy, where customers can choose how to spend their transaction outputs from multiple Bitcoin addresses. Two options available - \"minimize-dust\" (select lower amounts from multiple addresses) or \"optimize-size\" (select higher amounts from less addresses). | [optional] [default to "minimize-dust"] diff --git a/docs/CreateCoinsTransactionRequestFromWalletRI.md b/docs/CreateCoinsTransactionRequestFromWalletRI.md index b968ba4..bbac4dc 100644 --- a/docs/CreateCoinsTransactionRequestFromWalletRI.md +++ b/docs/CreateCoinsTransactionRequestFromWalletRI.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | [optional] +**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | [optional] **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **Note** | Pointer to **string** | Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. | [optional] **Recipients** | [**[]CreateCoinsTransactionRequestFromWalletRIRecipients**](CreateCoinsTransactionRequestFromWalletRIRecipients.md) | Defines the destination of the transaction, whether it is incoming or outgoing. | diff --git a/docs/CreateFungibleTokensTransactionRequestFromAddressRBDataItem.md b/docs/CreateFungibleTokensTransactionRequestFromAddressRBDataItem.md index d25adbf..910fa6e 100644 --- a/docs/CreateFungibleTokensTransactionRequestFromAddressRBDataItem.md +++ b/docs/CreateFungibleTokensTransactionRequestFromAddressRBDataItem.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Amount** | **string** | Represents the specific amount of the transaction. | **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | [optional] +**CallbackUrl** | Pointer to **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | [optional] **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **Note** | Pointer to **string** | Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. | [optional] **RecipientAddress** | **string** | Defines the specific recipient address for the transaction. | diff --git a/docs/CreateFungibleTokensTransactionRequestFromAddressRI.md b/docs/CreateFungibleTokensTransactionRequestFromAddressRI.md index f30aa02..43518ff 100644 --- a/docs/CreateFungibleTokensTransactionRequestFromAddressRI.md +++ b/docs/CreateFungibleTokensTransactionRequestFromAddressRI.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". | **Note** | Pointer to **string** | Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. | [optional] **Recipients** | [**[]CreateFungibleTokensTransactionRequestFromAddressRIRecipients**](CreateFungibleTokensTransactionRequestFromAddressRIRecipients.md) | Defines the destination for the transaction, i.e. the recipient(s). | diff --git a/docs/CreateSubscriptionsForApi.md b/docs/CreateSubscriptionsForApi.md index a768402..96296e9 100644 --- a/docs/CreateSubscriptionsForApi.md +++ b/docs/CreateSubscriptionsForApi.md @@ -40,12 +40,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - minedTransactionRB := *openapiclient.NewMinedTransactionRB(*openapiclient.NewMinedTransactionRBData(*openapiclient.NewMinedTransactionRBDataItem("http://example.com", "df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc"))) // MinedTransactionRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + minedTransactionRB := *openapiclient.NewMinedTransactionRB(*openapiclient.NewMinedTransactionRBData(*openapiclient.NewMinedTransactionRBDataItem("https://example.com", "df2690ff97e72c1f8b0f2102a8cb5c1d0fa8fb8754d543c9bc0edc4d4bc34bfc"))) // MinedTransactionRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.MinedTransaction(context.Background(), blockchain, network).Context(context).MinedTransactionRB(minedTransactionRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.MinedTransaction(context.Background(), blockchain, network).Context(context).MinedTransactionRB(minedTransactionRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.MinedTransaction``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -117,12 +117,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - newBlockRB := *openapiclient.NewNewBlockRB(*openapiclient.NewNewBlockRBData(*openapiclient.NewNewBlockRBDataItem("http://example.com"))) // NewBlockRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + newBlockRB := *openapiclient.NewNewBlockRB(*openapiclient.NewNewBlockRBData(*openapiclient.NewNewBlockRBDataItem("https://example.com"))) // NewBlockRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewBlock(context.Background(), blockchain, network).Context(context).NewBlockRB(newBlockRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewBlock(context.Background(), blockchain, network).Context(context).NewBlockRB(newBlockRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewBlock``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -194,12 +194,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - newConfirmedCoinsTransactionsRB := *openapiclient.NewNewConfirmedCoinsTransactionsRB(*openapiclient.NewNewConfirmedCoinsTransactionsRBData(*openapiclient.NewNewConfirmedCoinsTransactionsRBDataItem("mho4jHBcrNCncKt38trJahXakuaBnS7LK5", "http://example.com"))) // NewConfirmedCoinsTransactionsRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + newConfirmedCoinsTransactionsRB := *openapiclient.NewNewConfirmedCoinsTransactionsRB(*openapiclient.NewNewConfirmedCoinsTransactionsRBData(*openapiclient.NewNewConfirmedCoinsTransactionsRBDataItem("mho4jHBcrNCncKt38trJahXakuaBnS7LK5", "https://example.com"))) // NewConfirmedCoinsTransactionsRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewConfirmedCoinsTransactions(context.Background(), blockchain, network).Context(context).NewConfirmedCoinsTransactionsRB(newConfirmedCoinsTransactionsRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewConfirmedCoinsTransactions(context.Background(), blockchain, network).Context(context).NewConfirmedCoinsTransactionsRB(newConfirmedCoinsTransactionsRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewConfirmedCoinsTransactions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -271,12 +271,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - newConfirmedCoinsTransactionsAndEachConfirmationRB := *openapiclient.NewNewConfirmedCoinsTransactionsAndEachConfirmationRB(*openapiclient.NewNewConfirmedCoinsTransactionsAndEachConfirmationRBData(*openapiclient.NewNewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem("mho4jHBcrNCncKt38trJahXakuaBnS7LK5", "http://example.com", int32(3)))) // NewConfirmedCoinsTransactionsAndEachConfirmationRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + newConfirmedCoinsTransactionsAndEachConfirmationRB := *openapiclient.NewNewConfirmedCoinsTransactionsAndEachConfirmationRB(*openapiclient.NewNewConfirmedCoinsTransactionsAndEachConfirmationRBData(*openapiclient.NewNewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem("mho4jHBcrNCncKt38trJahXakuaBnS7LK5", "https://example.com", int32(3)))) // NewConfirmedCoinsTransactionsAndEachConfirmationRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewConfirmedCoinsTransactionsAndEachConfirmation(context.Background(), blockchain, network).Context(context).NewConfirmedCoinsTransactionsAndEachConfirmationRB(newConfirmedCoinsTransactionsAndEachConfirmationRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewConfirmedCoinsTransactionsAndEachConfirmation(context.Background(), blockchain, network).Context(context).NewConfirmedCoinsTransactionsAndEachConfirmationRB(newConfirmedCoinsTransactionsAndEachConfirmationRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewConfirmedCoinsTransactionsAndEachConfirmation``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -348,12 +348,12 @@ import ( func main() { blockchain := "ethereum-classic" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "mordor" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - newConfirmedInternalTransactionsRB := *openapiclient.NewNewConfirmedInternalTransactionsRB(*openapiclient.NewNewConfirmedInternalTransactionsRBData(*openapiclient.NewNewConfirmedInternalTransactionsRBDataItem("0xbcc817f057950b0df41206c5d7125e6225cae18e", true, "yourSecretKey", "http://example.com"))) // NewConfirmedInternalTransactionsRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + newConfirmedInternalTransactionsRB := *openapiclient.NewNewConfirmedInternalTransactionsRB(*openapiclient.NewNewConfirmedInternalTransactionsRBData(*openapiclient.NewNewConfirmedInternalTransactionsRBDataItem("0xbcc817f057950b0df41206c5d7125e6225cae18e", true, "yourSecretKey", "https://example.com"))) // NewConfirmedInternalTransactionsRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewConfirmedInternalTransactions(context.Background(), blockchain, network).Context(context).NewConfirmedInternalTransactionsRB(newConfirmedInternalTransactionsRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewConfirmedInternalTransactions(context.Background(), blockchain, network).Context(context).NewConfirmedInternalTransactionsRB(newConfirmedInternalTransactionsRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewConfirmedInternalTransactions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -425,12 +425,12 @@ import ( func main() { blockchain := "ethereum-classic" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "mordor" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) newConfirmedInternalTransactionsAndEachConfirmationRB := *openapiclient.NewNewConfirmedInternalTransactionsAndEachConfirmationRB(*openapiclient.NewNewConfirmedInternalTransactionsAndEachConfirmationRBData(*openapiclient.NewNewConfirmedInternalTransactionsAndEachConfirmationRBDataItem("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", true, "yourSecretString", "https://example.com", int32(3)))) // NewConfirmedInternalTransactionsAndEachConfirmationRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewConfirmedInternalTransactionsAndEachConfirmation(context.Background(), blockchain, network).Context(context).NewConfirmedInternalTransactionsAndEachConfirmationRB(newConfirmedInternalTransactionsAndEachConfirmationRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewConfirmedInternalTransactionsAndEachConfirmation(context.Background(), blockchain, network).Context(context).NewConfirmedInternalTransactionsAndEachConfirmationRB(newConfirmedInternalTransactionsAndEachConfirmationRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewConfirmedInternalTransactionsAndEachConfirmation``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -502,12 +502,12 @@ import ( func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - newConfirmedTokensTransactionsRB := *openapiclient.NewNewConfirmedTokensTransactionsRB(*openapiclient.NewNewConfirmedTokensTransactionsRBData(*openapiclient.NewNewConfirmedTokensTransactionsRBDataItem("0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2", "http://example.com"))) // NewConfirmedTokensTransactionsRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + newConfirmedTokensTransactionsRB := *openapiclient.NewNewConfirmedTokensTransactionsRB(*openapiclient.NewNewConfirmedTokensTransactionsRBData(*openapiclient.NewNewConfirmedTokensTransactionsRBDataItem("0xbf16582e53d6fd892f11de8a3e29e8c3b65d77c2", "https://example.com"))) // NewConfirmedTokensTransactionsRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewConfirmedTokensTransactions(context.Background(), blockchain, network).Context(context).NewConfirmedTokensTransactionsRB(newConfirmedTokensTransactionsRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewConfirmedTokensTransactions(context.Background(), blockchain, network).Context(context).NewConfirmedTokensTransactionsRB(newConfirmedTokensTransactionsRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewConfirmedTokensTransactions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -579,12 +579,12 @@ import ( func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - newConfirmedTokensTransactionsAndEachConfirmationRB := *openapiclient.NewNewConfirmedTokensTransactionsAndEachConfirmationRB(*openapiclient.NewNewConfirmedTokensTransactionsAndEachConfirmationRBData(*openapiclient.NewNewConfirmedTokensTransactionsAndEachConfirmationRBDataItem("0x033ef6db9fbd0ee60e2931906b987fe0280471a0", "http://example.com"))) // NewConfirmedTokensTransactionsAndEachConfirmationRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + newConfirmedTokensTransactionsAndEachConfirmationRB := *openapiclient.NewNewConfirmedTokensTransactionsAndEachConfirmationRB(*openapiclient.NewNewConfirmedTokensTransactionsAndEachConfirmationRBData(*openapiclient.NewNewConfirmedTokensTransactionsAndEachConfirmationRBDataItem("0x033ef6db9fbd0ee60e2931906b987fe0280471a0", "https://example.com"))) // NewConfirmedTokensTransactionsAndEachConfirmationRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewConfirmedTokensTransactionsAndEachConfirmation(context.Background(), blockchain, network).Context(context).NewConfirmedTokensTransactionsAndEachConfirmationRB(newConfirmedTokensTransactionsAndEachConfirmationRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewConfirmedTokensTransactionsAndEachConfirmation(context.Background(), blockchain, network).Context(context).NewConfirmedTokensTransactionsAndEachConfirmationRB(newConfirmedTokensTransactionsAndEachConfirmationRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewConfirmedTokensTransactionsAndEachConfirmation``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -656,12 +656,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - newUnconfirmedCoinsTransactionsRB := *openapiclient.NewNewUnconfirmedCoinsTransactionsRB(*openapiclient.NewNewUnconfirmedCoinsTransactionsRBData(*openapiclient.NewNewUnconfirmedCoinsTransactionsRBDataItem("mho4jHBcrNCncKt38trJahXakuaBnS7LK5", "http://example.com"))) // NewUnconfirmedCoinsTransactionsRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + newUnconfirmedCoinsTransactionsRB := *openapiclient.NewNewUnconfirmedCoinsTransactionsRB(*openapiclient.NewNewUnconfirmedCoinsTransactionsRBData(*openapiclient.NewNewUnconfirmedCoinsTransactionsRBDataItem("mho4jHBcrNCncKt38trJahXakuaBnS7LK5", "https://example.com"))) // NewUnconfirmedCoinsTransactionsRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewUnconfirmedCoinsTransactions(context.Background(), blockchain, network).Context(context).NewUnconfirmedCoinsTransactionsRB(newUnconfirmedCoinsTransactionsRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewUnconfirmedCoinsTransactions(context.Background(), blockchain, network).Context(context).NewUnconfirmedCoinsTransactionsRB(newUnconfirmedCoinsTransactionsRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewUnconfirmedCoinsTransactions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -733,12 +733,12 @@ import ( func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - newUnconfirmedTokensTransactionsRB := *openapiclient.NewNewUnconfirmedTokensTransactionsRB(*openapiclient.NewNewUnconfirmedTokensTransactionsRBData(*openapiclient.NewNewUnconfirmedTokensTransactionsRBDataItem("0x033ef6db9fbd0ee60e2931906b987fe0280471a0", "http://example.com"))) // NewUnconfirmedTokensTransactionsRB | (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + newUnconfirmedTokensTransactionsRB := *openapiclient.NewNewUnconfirmedTokensTransactionsRB(*openapiclient.NewNewUnconfirmedTokensTransactionsRBData(*openapiclient.NewNewUnconfirmedTokensTransactionsRBDataItem("0x033ef6db9fbd0ee60e2931906b987fe0280471a0", "https://example.com"))) // NewUnconfirmedTokensTransactionsRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.CreateSubscriptionsForApi.NewUnconfirmedTokensTransactions(context.Background(), blockchain, network).Context(context).NewUnconfirmedTokensTransactionsRB(newUnconfirmedTokensTransactionsRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CreateSubscriptionsForApi.NewUnconfirmedTokensTransactions(context.Background(), blockchain, network).Context(context).NewUnconfirmedTokensTransactionsRB(newUnconfirmedTokensTransactionsRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CreateSubscriptionsForApi.NewUnconfirmedTokensTransactions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/DecodeRawTransactionHexE400.md b/docs/DecodeRawTransactionHexE400.md new file mode 100644 index 0000000..462a71f --- /dev/null +++ b/docs/DecodeRawTransactionHexE400.md @@ -0,0 +1,98 @@ +# DecodeRawTransactionHexE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDecodeRawTransactionHexE400 + +`func NewDecodeRawTransactionHexE400(code string, message string, ) *DecodeRawTransactionHexE400` + +NewDecodeRawTransactionHexE400 instantiates a new DecodeRawTransactionHexE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexE400WithDefaults + +`func NewDecodeRawTransactionHexE400WithDefaults() *DecodeRawTransactionHexE400` + +NewDecodeRawTransactionHexE400WithDefaults instantiates a new DecodeRawTransactionHexE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DecodeRawTransactionHexE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DecodeRawTransactionHexE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DecodeRawTransactionHexE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DecodeRawTransactionHexE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DecodeRawTransactionHexE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DecodeRawTransactionHexE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DecodeRawTransactionHexE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DecodeRawTransactionHexE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DecodeRawTransactionHexE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DecodeRawTransactionHexE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexE401.md b/docs/DecodeRawTransactionHexE401.md new file mode 100644 index 0000000..eb809cf --- /dev/null +++ b/docs/DecodeRawTransactionHexE401.md @@ -0,0 +1,98 @@ +# DecodeRawTransactionHexE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDecodeRawTransactionHexE401 + +`func NewDecodeRawTransactionHexE401(code string, message string, ) *DecodeRawTransactionHexE401` + +NewDecodeRawTransactionHexE401 instantiates a new DecodeRawTransactionHexE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexE401WithDefaults + +`func NewDecodeRawTransactionHexE401WithDefaults() *DecodeRawTransactionHexE401` + +NewDecodeRawTransactionHexE401WithDefaults instantiates a new DecodeRawTransactionHexE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DecodeRawTransactionHexE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DecodeRawTransactionHexE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DecodeRawTransactionHexE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DecodeRawTransactionHexE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DecodeRawTransactionHexE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DecodeRawTransactionHexE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DecodeRawTransactionHexE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DecodeRawTransactionHexE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DecodeRawTransactionHexE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DecodeRawTransactionHexE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexE403.md b/docs/DecodeRawTransactionHexE403.md new file mode 100644 index 0000000..7a69792 --- /dev/null +++ b/docs/DecodeRawTransactionHexE403.md @@ -0,0 +1,98 @@ +# DecodeRawTransactionHexE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDecodeRawTransactionHexE403 + +`func NewDecodeRawTransactionHexE403(code string, message string, ) *DecodeRawTransactionHexE403` + +NewDecodeRawTransactionHexE403 instantiates a new DecodeRawTransactionHexE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexE403WithDefaults + +`func NewDecodeRawTransactionHexE403WithDefaults() *DecodeRawTransactionHexE403` + +NewDecodeRawTransactionHexE403WithDefaults instantiates a new DecodeRawTransactionHexE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DecodeRawTransactionHexE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DecodeRawTransactionHexE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DecodeRawTransactionHexE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DecodeRawTransactionHexE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DecodeRawTransactionHexE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DecodeRawTransactionHexE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DecodeRawTransactionHexE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DecodeRawTransactionHexE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DecodeRawTransactionHexE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DecodeRawTransactionHexE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexR.md b/docs/DecodeRawTransactionHexR.md new file mode 100644 index 0000000..b70a13f --- /dev/null +++ b/docs/DecodeRawTransactionHexR.md @@ -0,0 +1,119 @@ +# DecodeRawTransactionHexR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**DecodeRawTransactionHexRData**](DecodeRawTransactionHexRData.md) | | + +## Methods + +### NewDecodeRawTransactionHexR + +`func NewDecodeRawTransactionHexR(apiVersion string, requestId string, data DecodeRawTransactionHexRData, ) *DecodeRawTransactionHexR` + +NewDecodeRawTransactionHexR instantiates a new DecodeRawTransactionHexR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRWithDefaults + +`func NewDecodeRawTransactionHexRWithDefaults() *DecodeRawTransactionHexR` + +NewDecodeRawTransactionHexRWithDefaults instantiates a new DecodeRawTransactionHexR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *DecodeRawTransactionHexR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *DecodeRawTransactionHexR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *DecodeRawTransactionHexR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *DecodeRawTransactionHexR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *DecodeRawTransactionHexR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *DecodeRawTransactionHexR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *DecodeRawTransactionHexR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *DecodeRawTransactionHexR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *DecodeRawTransactionHexR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *DecodeRawTransactionHexR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *DecodeRawTransactionHexR) GetData() DecodeRawTransactionHexRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *DecodeRawTransactionHexR) GetDataOk() (*DecodeRawTransactionHexRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *DecodeRawTransactionHexR) SetData(v DecodeRawTransactionHexRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRB.md b/docs/DecodeRawTransactionHexRB.md new file mode 100644 index 0000000..5d820c6 --- /dev/null +++ b/docs/DecodeRawTransactionHexRB.md @@ -0,0 +1,77 @@ +# DecodeRawTransactionHexRB + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**DecodeRawTransactionHexRBData**](DecodeRawTransactionHexRBData.md) | | + +## Methods + +### NewDecodeRawTransactionHexRB + +`func NewDecodeRawTransactionHexRB(data DecodeRawTransactionHexRBData, ) *DecodeRawTransactionHexRB` + +NewDecodeRawTransactionHexRB instantiates a new DecodeRawTransactionHexRB object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRBWithDefaults + +`func NewDecodeRawTransactionHexRBWithDefaults() *DecodeRawTransactionHexRB` + +NewDecodeRawTransactionHexRBWithDefaults instantiates a new DecodeRawTransactionHexRB object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContext + +`func (o *DecodeRawTransactionHexRB) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *DecodeRawTransactionHexRB) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *DecodeRawTransactionHexRB) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *DecodeRawTransactionHexRB) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *DecodeRawTransactionHexRB) GetData() DecodeRawTransactionHexRBData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *DecodeRawTransactionHexRB) GetDataOk() (*DecodeRawTransactionHexRBData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *DecodeRawTransactionHexRB) SetData(v DecodeRawTransactionHexRBData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRBData.md b/docs/DecodeRawTransactionHexRBData.md new file mode 100644 index 0000000..d421fec --- /dev/null +++ b/docs/DecodeRawTransactionHexRBData.md @@ -0,0 +1,51 @@ +# DecodeRawTransactionHexRBData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**DecodeRawTransactionHexRBDataItem**](DecodeRawTransactionHexRBDataItem.md) | | + +## Methods + +### NewDecodeRawTransactionHexRBData + +`func NewDecodeRawTransactionHexRBData(item DecodeRawTransactionHexRBDataItem, ) *DecodeRawTransactionHexRBData` + +NewDecodeRawTransactionHexRBData instantiates a new DecodeRawTransactionHexRBData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRBDataWithDefaults + +`func NewDecodeRawTransactionHexRBDataWithDefaults() *DecodeRawTransactionHexRBData` + +NewDecodeRawTransactionHexRBDataWithDefaults instantiates a new DecodeRawTransactionHexRBData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *DecodeRawTransactionHexRBData) GetItem() DecodeRawTransactionHexRBDataItem` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *DecodeRawTransactionHexRBData) GetItemOk() (*DecodeRawTransactionHexRBDataItem, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *DecodeRawTransactionHexRBData) SetItem(v DecodeRawTransactionHexRBDataItem)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRBDataItem.md b/docs/DecodeRawTransactionHexRBDataItem.md new file mode 100644 index 0000000..0ca849c --- /dev/null +++ b/docs/DecodeRawTransactionHexRBDataItem.md @@ -0,0 +1,51 @@ +# DecodeRawTransactionHexRBDataItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RawTransactionHex** | **string** | Represents the raw transaction Hex that has to be decoded. | + +## Methods + +### NewDecodeRawTransactionHexRBDataItem + +`func NewDecodeRawTransactionHexRBDataItem(rawTransactionHex string, ) *DecodeRawTransactionHexRBDataItem` + +NewDecodeRawTransactionHexRBDataItem instantiates a new DecodeRawTransactionHexRBDataItem object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRBDataItemWithDefaults + +`func NewDecodeRawTransactionHexRBDataItemWithDefaults() *DecodeRawTransactionHexRBDataItem` + +NewDecodeRawTransactionHexRBDataItemWithDefaults instantiates a new DecodeRawTransactionHexRBDataItem object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetRawTransactionHex + +`func (o *DecodeRawTransactionHexRBDataItem) GetRawTransactionHex() string` + +GetRawTransactionHex returns the RawTransactionHex field if non-nil, zero value otherwise. + +### GetRawTransactionHexOk + +`func (o *DecodeRawTransactionHexRBDataItem) GetRawTransactionHexOk() (*string, bool)` + +GetRawTransactionHexOk returns a tuple with the RawTransactionHex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRawTransactionHex + +`func (o *DecodeRawTransactionHexRBDataItem) SetRawTransactionHex(v string)` + +SetRawTransactionHex sets RawTransactionHex field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRData.md b/docs/DecodeRawTransactionHexRData.md new file mode 100644 index 0000000..bb9ed4a --- /dev/null +++ b/docs/DecodeRawTransactionHexRData.md @@ -0,0 +1,51 @@ +# DecodeRawTransactionHexRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**DecodeRawTransactionHexRI**](DecodeRawTransactionHexRI.md) | | + +## Methods + +### NewDecodeRawTransactionHexRData + +`func NewDecodeRawTransactionHexRData(item DecodeRawTransactionHexRI, ) *DecodeRawTransactionHexRData` + +NewDecodeRawTransactionHexRData instantiates a new DecodeRawTransactionHexRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRDataWithDefaults + +`func NewDecodeRawTransactionHexRDataWithDefaults() *DecodeRawTransactionHexRData` + +NewDecodeRawTransactionHexRDataWithDefaults instantiates a new DecodeRawTransactionHexRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *DecodeRawTransactionHexRData) GetItem() DecodeRawTransactionHexRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *DecodeRawTransactionHexRData) GetItemOk() (*DecodeRawTransactionHexRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *DecodeRawTransactionHexRData) SetItem(v DecodeRawTransactionHexRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRI.md b/docs/DecodeRawTransactionHexRI.md new file mode 100644 index 0000000..c909dc2 --- /dev/null +++ b/docs/DecodeRawTransactionHexRI.md @@ -0,0 +1,93 @@ +# DecodeRawTransactionHexRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BlockchainSpeficicData** | [**DecodeRawTransactionHexRIS**](DecodeRawTransactionHexRIS.md) | | +**Size** | **int32** | Represents the total size of this transaction. | +**TransactionId** | **string** | Represents the decoded transaction hex. | + +## Methods + +### NewDecodeRawTransactionHexRI + +`func NewDecodeRawTransactionHexRI(blockchainSpeficicData DecodeRawTransactionHexRIS, size int32, transactionId string, ) *DecodeRawTransactionHexRI` + +NewDecodeRawTransactionHexRI instantiates a new DecodeRawTransactionHexRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRIWithDefaults + +`func NewDecodeRawTransactionHexRIWithDefaults() *DecodeRawTransactionHexRI` + +NewDecodeRawTransactionHexRIWithDefaults instantiates a new DecodeRawTransactionHexRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBlockchainSpeficicData + +`func (o *DecodeRawTransactionHexRI) GetBlockchainSpeficicData() DecodeRawTransactionHexRIS` + +GetBlockchainSpeficicData returns the BlockchainSpeficicData field if non-nil, zero value otherwise. + +### GetBlockchainSpeficicDataOk + +`func (o *DecodeRawTransactionHexRI) GetBlockchainSpeficicDataOk() (*DecodeRawTransactionHexRIS, bool)` + +GetBlockchainSpeficicDataOk returns a tuple with the BlockchainSpeficicData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBlockchainSpeficicData + +`func (o *DecodeRawTransactionHexRI) SetBlockchainSpeficicData(v DecodeRawTransactionHexRIS)` + +SetBlockchainSpeficicData sets BlockchainSpeficicData field to given value. + + +### GetSize + +`func (o *DecodeRawTransactionHexRI) GetSize() int32` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *DecodeRawTransactionHexRI) GetSizeOk() (*int32, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *DecodeRawTransactionHexRI) SetSize(v int32)` + +SetSize sets Size field to given value. + + +### GetTransactionId + +`func (o *DecodeRawTransactionHexRI) GetTransactionId() string` + +GetTransactionId returns the TransactionId field if non-nil, zero value otherwise. + +### GetTransactionIdOk + +`func (o *DecodeRawTransactionHexRI) GetTransactionIdOk() (*string, bool)` + +GetTransactionIdOk returns a tuple with the TransactionId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionId + +`func (o *DecodeRawTransactionHexRI) SetTransactionId(v string)` + +SetTransactionId sets TransactionId field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRIS.md b/docs/DecodeRawTransactionHexRIS.md new file mode 100644 index 0000000..238edfa --- /dev/null +++ b/docs/DecodeRawTransactionHexRIS.md @@ -0,0 +1,678 @@ +# DecodeRawTransactionHexRIS + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**TransactionHash** | **string** | Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. | +**VSize** | **int32** | Represents the virtual size of this transaction. | +**Version** | **int32** | Represents the transaction version number. | +**Vin** | [**[]DecodeRawTransactionHexRISZVin**](DecodeRawTransactionHexRISZVin.md) | Represents the Inputs of the transaction | +**Vout** | [**[]DecodeRawTransactionHexRISZVout**](DecodeRawTransactionHexRISZVout.md) | Represents the Inputs of the transaction | +**Weight** | Pointer to **int32** | Represents the size of a block, measured in weight units and including the segwit discount. | [optional] +**ApproximateFee** | Pointer to **string** | Defines the approximate fee value. When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value. | [optional] +**ApproximateMinimumRequiredFee** | Pointer to **string** | Defines the approximate minimum fee that is required for the transaction. | [optional] +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | +**GasPaidForData** | Pointer to **string** | Represents the amount of gas paid for the data in the transaction. | [optional] +**GasPrice** | Pointer to **string** | Represents the price offered to the miner to purchase this amount of gas. | [optional] +**InputData** | Pointer to **string** | Represents additional information that is required for the transaction. | [optional] +**MaxFeePerGas** | Pointer to **string** | Defines the maximum amount that customer is willing to pay per unit of gas to get his transaction included in a block. | [optional] +**MaxFeePriorityPerGas** | Pointer to **string** | Represents determined by the user value that is paid directly to miners. | [optional] +**Nonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | +**R** | Pointer to **string** | Represents output of an ECDSA signature. | [optional] +**Recipient** | **string** | The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. | +**S** | Pointer to **string** | Represents output of an ECDSA signature. | [optional] +**Sender** | **string** | Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. | +**Type** | **int32** | Specifies the transaction type as one from three options: if response returns a `\"0\"` it means the raw transaction includes legacy transaction data, if it is `\"1\"` - includes access lists for EIP2930, and if it is `\"2\"` - EIP1559 data. | +**V** | Pointer to **string** | Defines the the recovery id. | [optional] +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] +**ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | +**Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | +**Saplinged** | **bool** | Defines if the transaction includes sapling or not. | +**ValueBalance** | **string** | Defines the transaction value balance. | +**VersionGroupId** | **string** | Represents the transaction version group ID | + +## Methods + +### NewDecodeRawTransactionHexRIS + +`func NewDecodeRawTransactionHexRIS(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISZVin, vout []DecodeRawTransactionHexRISZVout, gasLimit string, nonce int32, recipient string, sender string, type_ int32, expiryHeight int32, overwintered bool, saplinged bool, valueBalance string, versionGroupId string, ) *DecodeRawTransactionHexRIS` + +NewDecodeRawTransactionHexRIS instantiates a new DecodeRawTransactionHexRIS object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISWithDefaults + +`func NewDecodeRawTransactionHexRISWithDefaults() *DecodeRawTransactionHexRIS` + +NewDecodeRawTransactionHexRISWithDefaults instantiates a new DecodeRawTransactionHexRIS object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *DecodeRawTransactionHexRIS) GetLocktime() int32` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *DecodeRawTransactionHexRIS) GetLocktimeOk() (*int32, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *DecodeRawTransactionHexRIS) SetLocktime(v int32)` + +SetLocktime sets Locktime field to given value. + + +### GetTransactionHash + +`func (o *DecodeRawTransactionHexRIS) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *DecodeRawTransactionHexRIS) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *DecodeRawTransactionHexRIS) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetVSize + +`func (o *DecodeRawTransactionHexRIS) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *DecodeRawTransactionHexRIS) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *DecodeRawTransactionHexRIS) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *DecodeRawTransactionHexRIS) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *DecodeRawTransactionHexRIS) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *DecodeRawTransactionHexRIS) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *DecodeRawTransactionHexRIS) GetVin() []DecodeRawTransactionHexRISZVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *DecodeRawTransactionHexRIS) GetVinOk() (*[]DecodeRawTransactionHexRISZVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *DecodeRawTransactionHexRIS) SetVin(v []DecodeRawTransactionHexRISZVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *DecodeRawTransactionHexRIS) GetVout() []DecodeRawTransactionHexRISZVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *DecodeRawTransactionHexRIS) GetVoutOk() (*[]DecodeRawTransactionHexRISZVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *DecodeRawTransactionHexRIS) SetVout(v []DecodeRawTransactionHexRISZVout)` + +SetVout sets Vout field to given value. + + +### GetWeight + +`func (o *DecodeRawTransactionHexRIS) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *DecodeRawTransactionHexRIS) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *DecodeRawTransactionHexRIS) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *DecodeRawTransactionHexRIS) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### GetApproximateFee + +`func (o *DecodeRawTransactionHexRIS) GetApproximateFee() string` + +GetApproximateFee returns the ApproximateFee field if non-nil, zero value otherwise. + +### GetApproximateFeeOk + +`func (o *DecodeRawTransactionHexRIS) GetApproximateFeeOk() (*string, bool)` + +GetApproximateFeeOk returns a tuple with the ApproximateFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproximateFee + +`func (o *DecodeRawTransactionHexRIS) SetApproximateFee(v string)` + +SetApproximateFee sets ApproximateFee field to given value. + +### HasApproximateFee + +`func (o *DecodeRawTransactionHexRIS) HasApproximateFee() bool` + +HasApproximateFee returns a boolean if a field has been set. + +### GetApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRIS) GetApproximateMinimumRequiredFee() string` + +GetApproximateMinimumRequiredFee returns the ApproximateMinimumRequiredFee field if non-nil, zero value otherwise. + +### GetApproximateMinimumRequiredFeeOk + +`func (o *DecodeRawTransactionHexRIS) GetApproximateMinimumRequiredFeeOk() (*string, bool)` + +GetApproximateMinimumRequiredFeeOk returns a tuple with the ApproximateMinimumRequiredFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRIS) SetApproximateMinimumRequiredFee(v string)` + +SetApproximateMinimumRequiredFee sets ApproximateMinimumRequiredFee field to given value. + +### HasApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRIS) HasApproximateMinimumRequiredFee() bool` + +HasApproximateMinimumRequiredFee returns a boolean if a field has been set. + +### GetGasLimit + +`func (o *DecodeRawTransactionHexRIS) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *DecodeRawTransactionHexRIS) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *DecodeRawTransactionHexRIS) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + +### GetGasPaidForData + +`func (o *DecodeRawTransactionHexRIS) GetGasPaidForData() string` + +GetGasPaidForData returns the GasPaidForData field if non-nil, zero value otherwise. + +### GetGasPaidForDataOk + +`func (o *DecodeRawTransactionHexRIS) GetGasPaidForDataOk() (*string, bool)` + +GetGasPaidForDataOk returns a tuple with the GasPaidForData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPaidForData + +`func (o *DecodeRawTransactionHexRIS) SetGasPaidForData(v string)` + +SetGasPaidForData sets GasPaidForData field to given value. + +### HasGasPaidForData + +`func (o *DecodeRawTransactionHexRIS) HasGasPaidForData() bool` + +HasGasPaidForData returns a boolean if a field has been set. + +### GetGasPrice + +`func (o *DecodeRawTransactionHexRIS) GetGasPrice() string` + +GetGasPrice returns the GasPrice field if non-nil, zero value otherwise. + +### GetGasPriceOk + +`func (o *DecodeRawTransactionHexRIS) GetGasPriceOk() (*string, bool)` + +GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPrice + +`func (o *DecodeRawTransactionHexRIS) SetGasPrice(v string)` + +SetGasPrice sets GasPrice field to given value. + +### HasGasPrice + +`func (o *DecodeRawTransactionHexRIS) HasGasPrice() bool` + +HasGasPrice returns a boolean if a field has been set. + +### GetInputData + +`func (o *DecodeRawTransactionHexRIS) GetInputData() string` + +GetInputData returns the InputData field if non-nil, zero value otherwise. + +### GetInputDataOk + +`func (o *DecodeRawTransactionHexRIS) GetInputDataOk() (*string, bool)` + +GetInputDataOk returns a tuple with the InputData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputData + +`func (o *DecodeRawTransactionHexRIS) SetInputData(v string)` + +SetInputData sets InputData field to given value. + +### HasInputData + +`func (o *DecodeRawTransactionHexRIS) HasInputData() bool` + +HasInputData returns a boolean if a field has been set. + +### GetMaxFeePerGas + +`func (o *DecodeRawTransactionHexRIS) GetMaxFeePerGas() string` + +GetMaxFeePerGas returns the MaxFeePerGas field if non-nil, zero value otherwise. + +### GetMaxFeePerGasOk + +`func (o *DecodeRawTransactionHexRIS) GetMaxFeePerGasOk() (*string, bool)` + +GetMaxFeePerGasOk returns a tuple with the MaxFeePerGas field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxFeePerGas + +`func (o *DecodeRawTransactionHexRIS) SetMaxFeePerGas(v string)` + +SetMaxFeePerGas sets MaxFeePerGas field to given value. + +### HasMaxFeePerGas + +`func (o *DecodeRawTransactionHexRIS) HasMaxFeePerGas() bool` + +HasMaxFeePerGas returns a boolean if a field has been set. + +### GetMaxFeePriorityPerGas + +`func (o *DecodeRawTransactionHexRIS) GetMaxFeePriorityPerGas() string` + +GetMaxFeePriorityPerGas returns the MaxFeePriorityPerGas field if non-nil, zero value otherwise. + +### GetMaxFeePriorityPerGasOk + +`func (o *DecodeRawTransactionHexRIS) GetMaxFeePriorityPerGasOk() (*string, bool)` + +GetMaxFeePriorityPerGasOk returns a tuple with the MaxFeePriorityPerGas field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxFeePriorityPerGas + +`func (o *DecodeRawTransactionHexRIS) SetMaxFeePriorityPerGas(v string)` + +SetMaxFeePriorityPerGas sets MaxFeePriorityPerGas field to given value. + +### HasMaxFeePriorityPerGas + +`func (o *DecodeRawTransactionHexRIS) HasMaxFeePriorityPerGas() bool` + +HasMaxFeePriorityPerGas returns a boolean if a field has been set. + +### GetNonce + +`func (o *DecodeRawTransactionHexRIS) GetNonce() int32` + +GetNonce returns the Nonce field if non-nil, zero value otherwise. + +### GetNonceOk + +`func (o *DecodeRawTransactionHexRIS) GetNonceOk() (*int32, bool)` + +GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonce + +`func (o *DecodeRawTransactionHexRIS) SetNonce(v int32)` + +SetNonce sets Nonce field to given value. + + +### GetR + +`func (o *DecodeRawTransactionHexRIS) GetR() string` + +GetR returns the R field if non-nil, zero value otherwise. + +### GetROk + +`func (o *DecodeRawTransactionHexRIS) GetROk() (*string, bool)` + +GetROk returns a tuple with the R field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetR + +`func (o *DecodeRawTransactionHexRIS) SetR(v string)` + +SetR sets R field to given value. + +### HasR + +`func (o *DecodeRawTransactionHexRIS) HasR() bool` + +HasR returns a boolean if a field has been set. + +### GetRecipient + +`func (o *DecodeRawTransactionHexRIS) GetRecipient() string` + +GetRecipient returns the Recipient field if non-nil, zero value otherwise. + +### GetRecipientOk + +`func (o *DecodeRawTransactionHexRIS) GetRecipientOk() (*string, bool)` + +GetRecipientOk returns a tuple with the Recipient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipient + +`func (o *DecodeRawTransactionHexRIS) SetRecipient(v string)` + +SetRecipient sets Recipient field to given value. + + +### GetS + +`func (o *DecodeRawTransactionHexRIS) GetS() string` + +GetS returns the S field if non-nil, zero value otherwise. + +### GetSOk + +`func (o *DecodeRawTransactionHexRIS) GetSOk() (*string, bool)` + +GetSOk returns a tuple with the S field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetS + +`func (o *DecodeRawTransactionHexRIS) SetS(v string)` + +SetS sets S field to given value. + +### HasS + +`func (o *DecodeRawTransactionHexRIS) HasS() bool` + +HasS returns a boolean if a field has been set. + +### GetSender + +`func (o *DecodeRawTransactionHexRIS) GetSender() string` + +GetSender returns the Sender field if non-nil, zero value otherwise. + +### GetSenderOk + +`func (o *DecodeRawTransactionHexRIS) GetSenderOk() (*string, bool)` + +GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSender + +`func (o *DecodeRawTransactionHexRIS) SetSender(v string)` + +SetSender sets Sender field to given value. + + +### GetType + +`func (o *DecodeRawTransactionHexRIS) GetType() int32` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRIS) GetTypeOk() (*int32, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRIS) SetType(v int32)` + +SetType sets Type field to given value. + + +### GetV + +`func (o *DecodeRawTransactionHexRIS) GetV() string` + +GetV returns the V field if non-nil, zero value otherwise. + +### GetVOk + +`func (o *DecodeRawTransactionHexRIS) GetVOk() (*string, bool)` + +GetVOk returns a tuple with the V field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetV + +`func (o *DecodeRawTransactionHexRIS) SetV(v string)` + +SetV sets V field to given value. + +### HasV + +`func (o *DecodeRawTransactionHexRIS) HasV() bool` + +HasV returns a boolean if a field has been set. + +### GetValue + +`func (o *DecodeRawTransactionHexRIS) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRIS) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRIS) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRIS) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetExpiryHeight + +`func (o *DecodeRawTransactionHexRIS) GetExpiryHeight() int32` + +GetExpiryHeight returns the ExpiryHeight field if non-nil, zero value otherwise. + +### GetExpiryHeightOk + +`func (o *DecodeRawTransactionHexRIS) GetExpiryHeightOk() (*int32, bool)` + +GetExpiryHeightOk returns a tuple with the ExpiryHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpiryHeight + +`func (o *DecodeRawTransactionHexRIS) SetExpiryHeight(v int32)` + +SetExpiryHeight sets ExpiryHeight field to given value. + + +### GetOverwintered + +`func (o *DecodeRawTransactionHexRIS) GetOverwintered() bool` + +GetOverwintered returns the Overwintered field if non-nil, zero value otherwise. + +### GetOverwinteredOk + +`func (o *DecodeRawTransactionHexRIS) GetOverwinteredOk() (*bool, bool)` + +GetOverwinteredOk returns a tuple with the Overwintered field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverwintered + +`func (o *DecodeRawTransactionHexRIS) SetOverwintered(v bool)` + +SetOverwintered sets Overwintered field to given value. + + +### GetSaplinged + +`func (o *DecodeRawTransactionHexRIS) GetSaplinged() bool` + +GetSaplinged returns the Saplinged field if non-nil, zero value otherwise. + +### GetSaplingedOk + +`func (o *DecodeRawTransactionHexRIS) GetSaplingedOk() (*bool, bool)` + +GetSaplingedOk returns a tuple with the Saplinged field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSaplinged + +`func (o *DecodeRawTransactionHexRIS) SetSaplinged(v bool)` + +SetSaplinged sets Saplinged field to given value. + + +### GetValueBalance + +`func (o *DecodeRawTransactionHexRIS) GetValueBalance() string` + +GetValueBalance returns the ValueBalance field if non-nil, zero value otherwise. + +### GetValueBalanceOk + +`func (o *DecodeRawTransactionHexRIS) GetValueBalanceOk() (*string, bool)` + +GetValueBalanceOk returns a tuple with the ValueBalance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValueBalance + +`func (o *DecodeRawTransactionHexRIS) SetValueBalance(v string)` + +SetValueBalance sets ValueBalance field to given value. + + +### GetVersionGroupId + +`func (o *DecodeRawTransactionHexRIS) GetVersionGroupId() string` + +GetVersionGroupId returns the VersionGroupId field if non-nil, zero value otherwise. + +### GetVersionGroupIdOk + +`func (o *DecodeRawTransactionHexRIS) GetVersionGroupIdOk() (*string, bool)` + +GetVersionGroupIdOk returns a tuple with the VersionGroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionGroupId + +`func (o *DecodeRawTransactionHexRIS) SetVersionGroupId(v string)` + +SetVersionGroupId sets VersionGroupId field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISB.md b/docs/DecodeRawTransactionHexRISB.md new file mode 100644 index 0000000..8f3a5b4 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISB.md @@ -0,0 +1,182 @@ +# DecodeRawTransactionHexRISB + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**TransactionHash** | **string** | Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. | +**VSize** | **int32** | Represents the virtual size of this transaction. | +**Version** | **int32** | Represents the transaction version number. | +**Vin** | [**[]DecodeRawTransactionHexRISBVin**](DecodeRawTransactionHexRISBVin.md) | Represents the transaction inputs. | +**Vout** | [**[]DecodeRawTransactionHexRISBVout**](DecodeRawTransactionHexRISBVout.md) | Represents the transaction outputs. | +**Weight** | Pointer to **int32** | Represents the size of Bitcoin block, measured in weight units and including the segwit discount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISB + +`func NewDecodeRawTransactionHexRISB(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISBVin, vout []DecodeRawTransactionHexRISBVout, ) *DecodeRawTransactionHexRISB` + +NewDecodeRawTransactionHexRISB instantiates a new DecodeRawTransactionHexRISB object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISBWithDefaults + +`func NewDecodeRawTransactionHexRISBWithDefaults() *DecodeRawTransactionHexRISB` + +NewDecodeRawTransactionHexRISBWithDefaults instantiates a new DecodeRawTransactionHexRISB object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *DecodeRawTransactionHexRISB) GetLocktime() int32` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *DecodeRawTransactionHexRISB) GetLocktimeOk() (*int32, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *DecodeRawTransactionHexRISB) SetLocktime(v int32)` + +SetLocktime sets Locktime field to given value. + + +### GetTransactionHash + +`func (o *DecodeRawTransactionHexRISB) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *DecodeRawTransactionHexRISB) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *DecodeRawTransactionHexRISB) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetVSize + +`func (o *DecodeRawTransactionHexRISB) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *DecodeRawTransactionHexRISB) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *DecodeRawTransactionHexRISB) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *DecodeRawTransactionHexRISB) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *DecodeRawTransactionHexRISB) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *DecodeRawTransactionHexRISB) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *DecodeRawTransactionHexRISB) GetVin() []DecodeRawTransactionHexRISBVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *DecodeRawTransactionHexRISB) GetVinOk() (*[]DecodeRawTransactionHexRISBVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *DecodeRawTransactionHexRISB) SetVin(v []DecodeRawTransactionHexRISBVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *DecodeRawTransactionHexRISB) GetVout() []DecodeRawTransactionHexRISBVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *DecodeRawTransactionHexRISB) GetVoutOk() (*[]DecodeRawTransactionHexRISBVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *DecodeRawTransactionHexRISB) SetVout(v []DecodeRawTransactionHexRISBVout)` + +SetVout sets Vout field to given value. + + +### GetWeight + +`func (o *DecodeRawTransactionHexRISB) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *DecodeRawTransactionHexRISB) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *DecodeRawTransactionHexRISB) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *DecodeRawTransactionHexRISB) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISB2.md b/docs/DecodeRawTransactionHexRISB2.md new file mode 100644 index 0000000..e1eabc6 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISB2.md @@ -0,0 +1,182 @@ +# DecodeRawTransactionHexRISB2 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**TransactionHash** | **string** | Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. | +**VSize** | **int32** | Represents the virtual size of this transaction. | +**Version** | **int32** | Represents transaction version number. | +**Vin** | [**[]DecodeRawTransactionHexRISB2Vin**](DecodeRawTransactionHexRISB2Vin.md) | Represents the transaction inputs. | +**Vout** | [**[]DecodeRawTransactionHexRISB2Vout**](DecodeRawTransactionHexRISB2Vout.md) | Represents the transaction outputs. | +**Weight** | Pointer to **int32** | Represents the size of a block, measured in weight units and including the segwit discount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISB2 + +`func NewDecodeRawTransactionHexRISB2(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISB2Vin, vout []DecodeRawTransactionHexRISB2Vout, ) *DecodeRawTransactionHexRISB2` + +NewDecodeRawTransactionHexRISB2 instantiates a new DecodeRawTransactionHexRISB2 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISB2WithDefaults + +`func NewDecodeRawTransactionHexRISB2WithDefaults() *DecodeRawTransactionHexRISB2` + +NewDecodeRawTransactionHexRISB2WithDefaults instantiates a new DecodeRawTransactionHexRISB2 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *DecodeRawTransactionHexRISB2) GetLocktime() int32` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *DecodeRawTransactionHexRISB2) GetLocktimeOk() (*int32, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *DecodeRawTransactionHexRISB2) SetLocktime(v int32)` + +SetLocktime sets Locktime field to given value. + + +### GetTransactionHash + +`func (o *DecodeRawTransactionHexRISB2) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *DecodeRawTransactionHexRISB2) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *DecodeRawTransactionHexRISB2) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetVSize + +`func (o *DecodeRawTransactionHexRISB2) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *DecodeRawTransactionHexRISB2) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *DecodeRawTransactionHexRISB2) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *DecodeRawTransactionHexRISB2) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *DecodeRawTransactionHexRISB2) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *DecodeRawTransactionHexRISB2) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *DecodeRawTransactionHexRISB2) GetVin() []DecodeRawTransactionHexRISB2Vin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *DecodeRawTransactionHexRISB2) GetVinOk() (*[]DecodeRawTransactionHexRISB2Vin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *DecodeRawTransactionHexRISB2) SetVin(v []DecodeRawTransactionHexRISB2Vin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *DecodeRawTransactionHexRISB2) GetVout() []DecodeRawTransactionHexRISB2Vout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *DecodeRawTransactionHexRISB2) GetVoutOk() (*[]DecodeRawTransactionHexRISB2Vout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *DecodeRawTransactionHexRISB2) SetVout(v []DecodeRawTransactionHexRISB2Vout)` + +SetVout sets Vout field to given value. + + +### GetWeight + +`func (o *DecodeRawTransactionHexRISB2) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *DecodeRawTransactionHexRISB2) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *DecodeRawTransactionHexRISB2) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *DecodeRawTransactionHexRISB2) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISB22.md b/docs/DecodeRawTransactionHexRISB22.md new file mode 100644 index 0000000..4f06819 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISB22.md @@ -0,0 +1,369 @@ +# DecodeRawTransactionHexRISB22 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApproximateFee** | Pointer to **string** | Defines the approximate fee value. When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value. | [optional] +**ApproximateMinimumRequiredFee** | Pointer to **string** | Defines the approximate minimum fee that is required for the transaction. | [optional] +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | +**GasPaidForData** | Pointer to **string** | Represents the amount of gas paid for the data in the transaction. | [optional] +**GasPrice** | Pointer to **string** | Represents the price offered to the miner to purchase this amount of gas. | [optional] +**InputData** | Pointer to **string** | Represents additional information that is required for the transaction. | [optional] +**Nonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | +**R** | Pointer to **string** | Represents output of an ECDSA signature. | [optional] +**Recipient** | **string** | The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. | +**S** | Pointer to **string** | Represents output of an ECDSA signature. | [optional] +**Sender** | **string** | Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. | +**Type** | **int32** | Specifies the transaction type as one from three options: if response returns a `\"0\"` it means the raw transaction includes legacy transaction data, if it is `\"1\"` - includes access lists for EIP2930, and if it is `\"2\"` - EIP1559 data. | +**V** | Pointer to **string** | Defines the the recovery id. | [optional] +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISB22 + +`func NewDecodeRawTransactionHexRISB22(gasLimit string, nonce int32, recipient string, sender string, type_ int32, ) *DecodeRawTransactionHexRISB22` + +NewDecodeRawTransactionHexRISB22 instantiates a new DecodeRawTransactionHexRISB22 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISB22WithDefaults + +`func NewDecodeRawTransactionHexRISB22WithDefaults() *DecodeRawTransactionHexRISB22` + +NewDecodeRawTransactionHexRISB22WithDefaults instantiates a new DecodeRawTransactionHexRISB22 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApproximateFee + +`func (o *DecodeRawTransactionHexRISB22) GetApproximateFee() string` + +GetApproximateFee returns the ApproximateFee field if non-nil, zero value otherwise. + +### GetApproximateFeeOk + +`func (o *DecodeRawTransactionHexRISB22) GetApproximateFeeOk() (*string, bool)` + +GetApproximateFeeOk returns a tuple with the ApproximateFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproximateFee + +`func (o *DecodeRawTransactionHexRISB22) SetApproximateFee(v string)` + +SetApproximateFee sets ApproximateFee field to given value. + +### HasApproximateFee + +`func (o *DecodeRawTransactionHexRISB22) HasApproximateFee() bool` + +HasApproximateFee returns a boolean if a field has been set. + +### GetApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISB22) GetApproximateMinimumRequiredFee() string` + +GetApproximateMinimumRequiredFee returns the ApproximateMinimumRequiredFee field if non-nil, zero value otherwise. + +### GetApproximateMinimumRequiredFeeOk + +`func (o *DecodeRawTransactionHexRISB22) GetApproximateMinimumRequiredFeeOk() (*string, bool)` + +GetApproximateMinimumRequiredFeeOk returns a tuple with the ApproximateMinimumRequiredFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISB22) SetApproximateMinimumRequiredFee(v string)` + +SetApproximateMinimumRequiredFee sets ApproximateMinimumRequiredFee field to given value. + +### HasApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISB22) HasApproximateMinimumRequiredFee() bool` + +HasApproximateMinimumRequiredFee returns a boolean if a field has been set. + +### GetGasLimit + +`func (o *DecodeRawTransactionHexRISB22) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *DecodeRawTransactionHexRISB22) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *DecodeRawTransactionHexRISB22) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + +### GetGasPaidForData + +`func (o *DecodeRawTransactionHexRISB22) GetGasPaidForData() string` + +GetGasPaidForData returns the GasPaidForData field if non-nil, zero value otherwise. + +### GetGasPaidForDataOk + +`func (o *DecodeRawTransactionHexRISB22) GetGasPaidForDataOk() (*string, bool)` + +GetGasPaidForDataOk returns a tuple with the GasPaidForData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPaidForData + +`func (o *DecodeRawTransactionHexRISB22) SetGasPaidForData(v string)` + +SetGasPaidForData sets GasPaidForData field to given value. + +### HasGasPaidForData + +`func (o *DecodeRawTransactionHexRISB22) HasGasPaidForData() bool` + +HasGasPaidForData returns a boolean if a field has been set. + +### GetGasPrice + +`func (o *DecodeRawTransactionHexRISB22) GetGasPrice() string` + +GetGasPrice returns the GasPrice field if non-nil, zero value otherwise. + +### GetGasPriceOk + +`func (o *DecodeRawTransactionHexRISB22) GetGasPriceOk() (*string, bool)` + +GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPrice + +`func (o *DecodeRawTransactionHexRISB22) SetGasPrice(v string)` + +SetGasPrice sets GasPrice field to given value. + +### HasGasPrice + +`func (o *DecodeRawTransactionHexRISB22) HasGasPrice() bool` + +HasGasPrice returns a boolean if a field has been set. + +### GetInputData + +`func (o *DecodeRawTransactionHexRISB22) GetInputData() string` + +GetInputData returns the InputData field if non-nil, zero value otherwise. + +### GetInputDataOk + +`func (o *DecodeRawTransactionHexRISB22) GetInputDataOk() (*string, bool)` + +GetInputDataOk returns a tuple with the InputData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputData + +`func (o *DecodeRawTransactionHexRISB22) SetInputData(v string)` + +SetInputData sets InputData field to given value. + +### HasInputData + +`func (o *DecodeRawTransactionHexRISB22) HasInputData() bool` + +HasInputData returns a boolean if a field has been set. + +### GetNonce + +`func (o *DecodeRawTransactionHexRISB22) GetNonce() int32` + +GetNonce returns the Nonce field if non-nil, zero value otherwise. + +### GetNonceOk + +`func (o *DecodeRawTransactionHexRISB22) GetNonceOk() (*int32, bool)` + +GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonce + +`func (o *DecodeRawTransactionHexRISB22) SetNonce(v int32)` + +SetNonce sets Nonce field to given value. + + +### GetR + +`func (o *DecodeRawTransactionHexRISB22) GetR() string` + +GetR returns the R field if non-nil, zero value otherwise. + +### GetROk + +`func (o *DecodeRawTransactionHexRISB22) GetROk() (*string, bool)` + +GetROk returns a tuple with the R field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetR + +`func (o *DecodeRawTransactionHexRISB22) SetR(v string)` + +SetR sets R field to given value. + +### HasR + +`func (o *DecodeRawTransactionHexRISB22) HasR() bool` + +HasR returns a boolean if a field has been set. + +### GetRecipient + +`func (o *DecodeRawTransactionHexRISB22) GetRecipient() string` + +GetRecipient returns the Recipient field if non-nil, zero value otherwise. + +### GetRecipientOk + +`func (o *DecodeRawTransactionHexRISB22) GetRecipientOk() (*string, bool)` + +GetRecipientOk returns a tuple with the Recipient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipient + +`func (o *DecodeRawTransactionHexRISB22) SetRecipient(v string)` + +SetRecipient sets Recipient field to given value. + + +### GetS + +`func (o *DecodeRawTransactionHexRISB22) GetS() string` + +GetS returns the S field if non-nil, zero value otherwise. + +### GetSOk + +`func (o *DecodeRawTransactionHexRISB22) GetSOk() (*string, bool)` + +GetSOk returns a tuple with the S field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetS + +`func (o *DecodeRawTransactionHexRISB22) SetS(v string)` + +SetS sets S field to given value. + +### HasS + +`func (o *DecodeRawTransactionHexRISB22) HasS() bool` + +HasS returns a boolean if a field has been set. + +### GetSender + +`func (o *DecodeRawTransactionHexRISB22) GetSender() string` + +GetSender returns the Sender field if non-nil, zero value otherwise. + +### GetSenderOk + +`func (o *DecodeRawTransactionHexRISB22) GetSenderOk() (*string, bool)` + +GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSender + +`func (o *DecodeRawTransactionHexRISB22) SetSender(v string)` + +SetSender sets Sender field to given value. + + +### GetType + +`func (o *DecodeRawTransactionHexRISB22) GetType() int32` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISB22) GetTypeOk() (*int32, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISB22) SetType(v int32)` + +SetType sets Type field to given value. + + +### GetV + +`func (o *DecodeRawTransactionHexRISB22) GetV() string` + +GetV returns the V field if non-nil, zero value otherwise. + +### GetVOk + +`func (o *DecodeRawTransactionHexRISB22) GetVOk() (*string, bool)` + +GetVOk returns a tuple with the V field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetV + +`func (o *DecodeRawTransactionHexRISB22) SetV(v string)` + +SetV sets V field to given value. + +### HasV + +`func (o *DecodeRawTransactionHexRISB22) HasV() bool` + +HasV returns a boolean if a field has been set. + +### GetValue + +`func (o *DecodeRawTransactionHexRISB22) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISB22) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISB22) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISB22) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISB2ScriptPubKey.md b/docs/DecodeRawTransactionHexRISB2ScriptPubKey.md new file mode 100644 index 0000000..42d1429 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISB2ScriptPubKey.md @@ -0,0 +1,129 @@ +# DecodeRawTransactionHexRISB2ScriptPubKey + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the address which send the amount. | +**Asm** | Pointer to **string** | Represents the assembly of the script public key of the address. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the script public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISB2ScriptPubKey + +`func NewDecodeRawTransactionHexRISB2ScriptPubKey(address string, ) *DecodeRawTransactionHexRISB2ScriptPubKey` + +NewDecodeRawTransactionHexRISB2ScriptPubKey instantiates a new DecodeRawTransactionHexRISB2ScriptPubKey object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISB2ScriptPubKeyWithDefaults + +`func NewDecodeRawTransactionHexRISB2ScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISB2ScriptPubKey` + +NewDecodeRawTransactionHexRISB2ScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISB2ScriptPubKey object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetAsm + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISB2ScriptPubKey) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISB2Vin.md b/docs/DecodeRawTransactionHexRISB2Vin.md new file mode 100644 index 0000000..af08e06 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISB2Vin.md @@ -0,0 +1,181 @@ +# DecodeRawTransactionHexRISB2Vin + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | Represents the address which send/receive the amount. | [optional] +**InputHash** | Pointer to **string** | Represents the transaction inputs' indentifier. | [optional] +**OutputIndex** | Pointer to **string** | Defines the output index of a transaction. | [optional] +**ScriptSig** | [**DecodeRawTransactionHexRISBScriptSig**](DecodeRawTransactionHexRISBScriptSig.md) | | +**Sequence** | Pointer to **string** | Represents the script sequence number. | [optional] +**Txinwitness** | Pointer to **[]string** | | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISB2Vin + +`func NewDecodeRawTransactionHexRISB2Vin(scriptSig DecodeRawTransactionHexRISBScriptSig, ) *DecodeRawTransactionHexRISB2Vin` + +NewDecodeRawTransactionHexRISB2Vin instantiates a new DecodeRawTransactionHexRISB2Vin object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISB2VinWithDefaults + +`func NewDecodeRawTransactionHexRISB2VinWithDefaults() *DecodeRawTransactionHexRISB2Vin` + +NewDecodeRawTransactionHexRISB2VinWithDefaults instantiates a new DecodeRawTransactionHexRISB2Vin object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISB2Vin) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISB2Vin) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISB2Vin) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *DecodeRawTransactionHexRISB2Vin) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetInputHash + +`func (o *DecodeRawTransactionHexRISB2Vin) GetInputHash() string` + +GetInputHash returns the InputHash field if non-nil, zero value otherwise. + +### GetInputHashOk + +`func (o *DecodeRawTransactionHexRISB2Vin) GetInputHashOk() (*string, bool)` + +GetInputHashOk returns a tuple with the InputHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputHash + +`func (o *DecodeRawTransactionHexRISB2Vin) SetInputHash(v string)` + +SetInputHash sets InputHash field to given value. + +### HasInputHash + +`func (o *DecodeRawTransactionHexRISB2Vin) HasInputHash() bool` + +HasInputHash returns a boolean if a field has been set. + +### GetOutputIndex + +`func (o *DecodeRawTransactionHexRISB2Vin) GetOutputIndex() string` + +GetOutputIndex returns the OutputIndex field if non-nil, zero value otherwise. + +### GetOutputIndexOk + +`func (o *DecodeRawTransactionHexRISB2Vin) GetOutputIndexOk() (*string, bool)` + +GetOutputIndexOk returns a tuple with the OutputIndex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOutputIndex + +`func (o *DecodeRawTransactionHexRISB2Vin) SetOutputIndex(v string)` + +SetOutputIndex sets OutputIndex field to given value. + +### HasOutputIndex + +`func (o *DecodeRawTransactionHexRISB2Vin) HasOutputIndex() bool` + +HasOutputIndex returns a boolean if a field has been set. + +### GetScriptSig + +`func (o *DecodeRawTransactionHexRISB2Vin) GetScriptSig() DecodeRawTransactionHexRISBScriptSig` + +GetScriptSig returns the ScriptSig field if non-nil, zero value otherwise. + +### GetScriptSigOk + +`func (o *DecodeRawTransactionHexRISB2Vin) GetScriptSigOk() (*DecodeRawTransactionHexRISBScriptSig, bool)` + +GetScriptSigOk returns a tuple with the ScriptSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptSig + +`func (o *DecodeRawTransactionHexRISB2Vin) SetScriptSig(v DecodeRawTransactionHexRISBScriptSig)` + +SetScriptSig sets ScriptSig field to given value. + + +### GetSequence + +`func (o *DecodeRawTransactionHexRISB2Vin) GetSequence() string` + +GetSequence returns the Sequence field if non-nil, zero value otherwise. + +### GetSequenceOk + +`func (o *DecodeRawTransactionHexRISB2Vin) GetSequenceOk() (*string, bool)` + +GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSequence + +`func (o *DecodeRawTransactionHexRISB2Vin) SetSequence(v string)` + +SetSequence sets Sequence field to given value. + +### HasSequence + +`func (o *DecodeRawTransactionHexRISB2Vin) HasSequence() bool` + +HasSequence returns a boolean if a field has been set. + +### GetTxinwitness + +`func (o *DecodeRawTransactionHexRISB2Vin) GetTxinwitness() []string` + +GetTxinwitness returns the Txinwitness field if non-nil, zero value otherwise. + +### GetTxinwitnessOk + +`func (o *DecodeRawTransactionHexRISB2Vin) GetTxinwitnessOk() (*[]string, bool)` + +GetTxinwitnessOk returns a tuple with the Txinwitness field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTxinwitness + +`func (o *DecodeRawTransactionHexRISB2Vin) SetTxinwitness(v []string)` + +SetTxinwitness sets Txinwitness field to given value. + +### HasTxinwitness + +`func (o *DecodeRawTransactionHexRISB2Vin) HasTxinwitness() bool` + +HasTxinwitness returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISB2Vout.md b/docs/DecodeRawTransactionHexRISB2Vout.md new file mode 100644 index 0000000..d666d36 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISB2Vout.md @@ -0,0 +1,77 @@ +# DecodeRawTransactionHexRISB2Vout + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ScriptPubKey** | [**DecodeRawTransactionHexRISB2ScriptPubKey**](DecodeRawTransactionHexRISB2ScriptPubKey.md) | | +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISB2Vout + +`func NewDecodeRawTransactionHexRISB2Vout(scriptPubKey DecodeRawTransactionHexRISB2ScriptPubKey, ) *DecodeRawTransactionHexRISB2Vout` + +NewDecodeRawTransactionHexRISB2Vout instantiates a new DecodeRawTransactionHexRISB2Vout object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISB2VoutWithDefaults + +`func NewDecodeRawTransactionHexRISB2VoutWithDefaults() *DecodeRawTransactionHexRISB2Vout` + +NewDecodeRawTransactionHexRISB2VoutWithDefaults instantiates a new DecodeRawTransactionHexRISB2Vout object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetScriptPubKey + +`func (o *DecodeRawTransactionHexRISB2Vout) GetScriptPubKey() DecodeRawTransactionHexRISB2ScriptPubKey` + +GetScriptPubKey returns the ScriptPubKey field if non-nil, zero value otherwise. + +### GetScriptPubKeyOk + +`func (o *DecodeRawTransactionHexRISB2Vout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISB2ScriptPubKey, bool)` + +GetScriptPubKeyOk returns a tuple with the ScriptPubKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptPubKey + +`func (o *DecodeRawTransactionHexRISB2Vout) SetScriptPubKey(v DecodeRawTransactionHexRISB2ScriptPubKey)` + +SetScriptPubKey sets ScriptPubKey field to given value. + + +### GetValue + +`func (o *DecodeRawTransactionHexRISB2Vout) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISB2Vout) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISB2Vout) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISB2Vout) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISBScriptPubKey.md b/docs/DecodeRawTransactionHexRISBScriptPubKey.md new file mode 100644 index 0000000..b4fb78b --- /dev/null +++ b/docs/DecodeRawTransactionHexRISBScriptPubKey.md @@ -0,0 +1,129 @@ +# DecodeRawTransactionHexRISBScriptPubKey + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the address which send the amount. | +**Asm** | Pointer to **string** | Represents the assembly of the script public key of the address. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the script public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISBScriptPubKey + +`func NewDecodeRawTransactionHexRISBScriptPubKey(address string, ) *DecodeRawTransactionHexRISBScriptPubKey` + +NewDecodeRawTransactionHexRISBScriptPubKey instantiates a new DecodeRawTransactionHexRISBScriptPubKey object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISBScriptPubKeyWithDefaults + +`func NewDecodeRawTransactionHexRISBScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISBScriptPubKey` + +NewDecodeRawTransactionHexRISBScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISBScriptPubKey object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetAsm + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISBScriptPubKey) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISBScriptSig.md b/docs/DecodeRawTransactionHexRISBScriptSig.md new file mode 100644 index 0000000..219ca9c --- /dev/null +++ b/docs/DecodeRawTransactionHexRISBScriptSig.md @@ -0,0 +1,108 @@ +# DecodeRawTransactionHexRISBScriptSig + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Asm** | Pointer to **string** | The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type of the reference transaction identifier. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISBScriptSig + +`func NewDecodeRawTransactionHexRISBScriptSig() *DecodeRawTransactionHexRISBScriptSig` + +NewDecodeRawTransactionHexRISBScriptSig instantiates a new DecodeRawTransactionHexRISBScriptSig object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISBScriptSigWithDefaults + +`func NewDecodeRawTransactionHexRISBScriptSigWithDefaults() *DecodeRawTransactionHexRISBScriptSig` + +NewDecodeRawTransactionHexRISBScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISBScriptSig object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAsm + +`func (o *DecodeRawTransactionHexRISBScriptSig) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISBScriptSig) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISBScriptSig) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISBScriptSig) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISBScriptSig) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISBScriptSig) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISBScriptSig) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISBScriptSig) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISBScriptSig) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISBScriptSig) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISBScriptSig) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISBScriptSig) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISBVin.md b/docs/DecodeRawTransactionHexRISBVin.md new file mode 100644 index 0000000..f835ee8 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISBVin.md @@ -0,0 +1,181 @@ +# DecodeRawTransactionHexRISBVin + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | Represents the address which send/receive the amount. | [optional] +**InputHash** | Pointer to **string** | Represents the transaction inputs' indentifier. | [optional] +**OutputIndex** | Pointer to **int32** | Represents the output of a transaction. | [optional] +**ScriptSig** | [**DecodeRawTransactionHexRISBScriptSig**](DecodeRawTransactionHexRISBScriptSig.md) | | +**Sequence** | Pointer to **string** | Represents the script sequence number. | [optional] +**Txinwitness** | Pointer to **[]string** | | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISBVin + +`func NewDecodeRawTransactionHexRISBVin(scriptSig DecodeRawTransactionHexRISBScriptSig, ) *DecodeRawTransactionHexRISBVin` + +NewDecodeRawTransactionHexRISBVin instantiates a new DecodeRawTransactionHexRISBVin object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISBVinWithDefaults + +`func NewDecodeRawTransactionHexRISBVinWithDefaults() *DecodeRawTransactionHexRISBVin` + +NewDecodeRawTransactionHexRISBVinWithDefaults instantiates a new DecodeRawTransactionHexRISBVin object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISBVin) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISBVin) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISBVin) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *DecodeRawTransactionHexRISBVin) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetInputHash + +`func (o *DecodeRawTransactionHexRISBVin) GetInputHash() string` + +GetInputHash returns the InputHash field if non-nil, zero value otherwise. + +### GetInputHashOk + +`func (o *DecodeRawTransactionHexRISBVin) GetInputHashOk() (*string, bool)` + +GetInputHashOk returns a tuple with the InputHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputHash + +`func (o *DecodeRawTransactionHexRISBVin) SetInputHash(v string)` + +SetInputHash sets InputHash field to given value. + +### HasInputHash + +`func (o *DecodeRawTransactionHexRISBVin) HasInputHash() bool` + +HasInputHash returns a boolean if a field has been set. + +### GetOutputIndex + +`func (o *DecodeRawTransactionHexRISBVin) GetOutputIndex() int32` + +GetOutputIndex returns the OutputIndex field if non-nil, zero value otherwise. + +### GetOutputIndexOk + +`func (o *DecodeRawTransactionHexRISBVin) GetOutputIndexOk() (*int32, bool)` + +GetOutputIndexOk returns a tuple with the OutputIndex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOutputIndex + +`func (o *DecodeRawTransactionHexRISBVin) SetOutputIndex(v int32)` + +SetOutputIndex sets OutputIndex field to given value. + +### HasOutputIndex + +`func (o *DecodeRawTransactionHexRISBVin) HasOutputIndex() bool` + +HasOutputIndex returns a boolean if a field has been set. + +### GetScriptSig + +`func (o *DecodeRawTransactionHexRISBVin) GetScriptSig() DecodeRawTransactionHexRISBScriptSig` + +GetScriptSig returns the ScriptSig field if non-nil, zero value otherwise. + +### GetScriptSigOk + +`func (o *DecodeRawTransactionHexRISBVin) GetScriptSigOk() (*DecodeRawTransactionHexRISBScriptSig, bool)` + +GetScriptSigOk returns a tuple with the ScriptSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptSig + +`func (o *DecodeRawTransactionHexRISBVin) SetScriptSig(v DecodeRawTransactionHexRISBScriptSig)` + +SetScriptSig sets ScriptSig field to given value. + + +### GetSequence + +`func (o *DecodeRawTransactionHexRISBVin) GetSequence() string` + +GetSequence returns the Sequence field if non-nil, zero value otherwise. + +### GetSequenceOk + +`func (o *DecodeRawTransactionHexRISBVin) GetSequenceOk() (*string, bool)` + +GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSequence + +`func (o *DecodeRawTransactionHexRISBVin) SetSequence(v string)` + +SetSequence sets Sequence field to given value. + +### HasSequence + +`func (o *DecodeRawTransactionHexRISBVin) HasSequence() bool` + +HasSequence returns a boolean if a field has been set. + +### GetTxinwitness + +`func (o *DecodeRawTransactionHexRISBVin) GetTxinwitness() []string` + +GetTxinwitness returns the Txinwitness field if non-nil, zero value otherwise. + +### GetTxinwitnessOk + +`func (o *DecodeRawTransactionHexRISBVin) GetTxinwitnessOk() (*[]string, bool)` + +GetTxinwitnessOk returns a tuple with the Txinwitness field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTxinwitness + +`func (o *DecodeRawTransactionHexRISBVin) SetTxinwitness(v []string)` + +SetTxinwitness sets Txinwitness field to given value. + +### HasTxinwitness + +`func (o *DecodeRawTransactionHexRISBVin) HasTxinwitness() bool` + +HasTxinwitness returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISBVout.md b/docs/DecodeRawTransactionHexRISBVout.md new file mode 100644 index 0000000..39e7118 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISBVout.md @@ -0,0 +1,77 @@ +# DecodeRawTransactionHexRISBVout + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ScriptPubKey** | [**DecodeRawTransactionHexRISBScriptPubKey**](DecodeRawTransactionHexRISBScriptPubKey.md) | | +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISBVout + +`func NewDecodeRawTransactionHexRISBVout(scriptPubKey DecodeRawTransactionHexRISBScriptPubKey, ) *DecodeRawTransactionHexRISBVout` + +NewDecodeRawTransactionHexRISBVout instantiates a new DecodeRawTransactionHexRISBVout object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISBVoutWithDefaults + +`func NewDecodeRawTransactionHexRISBVoutWithDefaults() *DecodeRawTransactionHexRISBVout` + +NewDecodeRawTransactionHexRISBVoutWithDefaults instantiates a new DecodeRawTransactionHexRISBVout object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetScriptPubKey + +`func (o *DecodeRawTransactionHexRISBVout) GetScriptPubKey() DecodeRawTransactionHexRISBScriptPubKey` + +GetScriptPubKey returns the ScriptPubKey field if non-nil, zero value otherwise. + +### GetScriptPubKeyOk + +`func (o *DecodeRawTransactionHexRISBVout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISBScriptPubKey, bool)` + +GetScriptPubKeyOk returns a tuple with the ScriptPubKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptPubKey + +`func (o *DecodeRawTransactionHexRISBVout) SetScriptPubKey(v DecodeRawTransactionHexRISBScriptPubKey)` + +SetScriptPubKey sets ScriptPubKey field to given value. + + +### GetValue + +`func (o *DecodeRawTransactionHexRISBVout) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISBVout) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISBVout) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISBVout) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISD.md b/docs/DecodeRawTransactionHexRISD.md new file mode 100644 index 0000000..b396bc6 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISD.md @@ -0,0 +1,182 @@ +# DecodeRawTransactionHexRISD + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**TransactionHash** | **string** | Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. | +**VSize** | **int32** | Represents the virtual size of this transaction. | +**Version** | **int32** | Represents transaction version number. | +**Vin** | [**[]DecodeRawTransactionHexRISDVin**](DecodeRawTransactionHexRISDVin.md) | Represents the transaction inputs. | +**Vout** | [**[]DecodeRawTransactionHexRISDVout**](DecodeRawTransactionHexRISDVout.md) | Represents the transaction outputs. | +**Weight** | Pointer to **int32** | Represents the size of a block, measured in weight units and including the segwit discount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISD + +`func NewDecodeRawTransactionHexRISD(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISDVin, vout []DecodeRawTransactionHexRISDVout, ) *DecodeRawTransactionHexRISD` + +NewDecodeRawTransactionHexRISD instantiates a new DecodeRawTransactionHexRISD object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISDWithDefaults + +`func NewDecodeRawTransactionHexRISDWithDefaults() *DecodeRawTransactionHexRISD` + +NewDecodeRawTransactionHexRISDWithDefaults instantiates a new DecodeRawTransactionHexRISD object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *DecodeRawTransactionHexRISD) GetLocktime() int32` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *DecodeRawTransactionHexRISD) GetLocktimeOk() (*int32, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *DecodeRawTransactionHexRISD) SetLocktime(v int32)` + +SetLocktime sets Locktime field to given value. + + +### GetTransactionHash + +`func (o *DecodeRawTransactionHexRISD) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *DecodeRawTransactionHexRISD) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *DecodeRawTransactionHexRISD) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetVSize + +`func (o *DecodeRawTransactionHexRISD) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *DecodeRawTransactionHexRISD) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *DecodeRawTransactionHexRISD) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *DecodeRawTransactionHexRISD) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *DecodeRawTransactionHexRISD) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *DecodeRawTransactionHexRISD) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *DecodeRawTransactionHexRISD) GetVin() []DecodeRawTransactionHexRISDVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *DecodeRawTransactionHexRISD) GetVinOk() (*[]DecodeRawTransactionHexRISDVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *DecodeRawTransactionHexRISD) SetVin(v []DecodeRawTransactionHexRISDVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *DecodeRawTransactionHexRISD) GetVout() []DecodeRawTransactionHexRISDVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *DecodeRawTransactionHexRISD) GetVoutOk() (*[]DecodeRawTransactionHexRISDVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *DecodeRawTransactionHexRISD) SetVout(v []DecodeRawTransactionHexRISDVout)` + +SetVout sets Vout field to given value. + + +### GetWeight + +`func (o *DecodeRawTransactionHexRISD) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *DecodeRawTransactionHexRISD) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *DecodeRawTransactionHexRISD) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *DecodeRawTransactionHexRISD) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISD2.md b/docs/DecodeRawTransactionHexRISD2.md new file mode 100644 index 0000000..a2276f3 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISD2.md @@ -0,0 +1,182 @@ +# DecodeRawTransactionHexRISD2 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**TransactionHash** | **string** | Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. | +**VSize** | **int32** | Represents the virtual size of this transaction. | +**Version** | **int32** | Represents transaction version number | +**Vin** | [**[]DecodeRawTransactionHexRISD2Vin**](DecodeRawTransactionHexRISD2Vin.md) | Represents the transaction inputs. | +**Vout** | [**[]DecodeRawTransactionHexRISD2Vout**](DecodeRawTransactionHexRISD2Vout.md) | Represents the transaction outputs. | +**Weight** | Pointer to **int32** | Represents the size of a block, measured in weight units and including the segwit discount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISD2 + +`func NewDecodeRawTransactionHexRISD2(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISD2Vin, vout []DecodeRawTransactionHexRISD2Vout, ) *DecodeRawTransactionHexRISD2` + +NewDecodeRawTransactionHexRISD2 instantiates a new DecodeRawTransactionHexRISD2 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISD2WithDefaults + +`func NewDecodeRawTransactionHexRISD2WithDefaults() *DecodeRawTransactionHexRISD2` + +NewDecodeRawTransactionHexRISD2WithDefaults instantiates a new DecodeRawTransactionHexRISD2 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *DecodeRawTransactionHexRISD2) GetLocktime() int32` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *DecodeRawTransactionHexRISD2) GetLocktimeOk() (*int32, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *DecodeRawTransactionHexRISD2) SetLocktime(v int32)` + +SetLocktime sets Locktime field to given value. + + +### GetTransactionHash + +`func (o *DecodeRawTransactionHexRISD2) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *DecodeRawTransactionHexRISD2) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *DecodeRawTransactionHexRISD2) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetVSize + +`func (o *DecodeRawTransactionHexRISD2) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *DecodeRawTransactionHexRISD2) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *DecodeRawTransactionHexRISD2) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *DecodeRawTransactionHexRISD2) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *DecodeRawTransactionHexRISD2) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *DecodeRawTransactionHexRISD2) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *DecodeRawTransactionHexRISD2) GetVin() []DecodeRawTransactionHexRISD2Vin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *DecodeRawTransactionHexRISD2) GetVinOk() (*[]DecodeRawTransactionHexRISD2Vin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *DecodeRawTransactionHexRISD2) SetVin(v []DecodeRawTransactionHexRISD2Vin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *DecodeRawTransactionHexRISD2) GetVout() []DecodeRawTransactionHexRISD2Vout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *DecodeRawTransactionHexRISD2) GetVoutOk() (*[]DecodeRawTransactionHexRISD2Vout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *DecodeRawTransactionHexRISD2) SetVout(v []DecodeRawTransactionHexRISD2Vout)` + +SetVout sets Vout field to given value. + + +### GetWeight + +`func (o *DecodeRawTransactionHexRISD2) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *DecodeRawTransactionHexRISD2) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *DecodeRawTransactionHexRISD2) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *DecodeRawTransactionHexRISD2) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISD2ScriptPubKey.md b/docs/DecodeRawTransactionHexRISD2ScriptPubKey.md new file mode 100644 index 0000000..6dfe0b4 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISD2ScriptPubKey.md @@ -0,0 +1,129 @@ +# DecodeRawTransactionHexRISD2ScriptPubKey + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the addresses which send the amount. | +**Asm** | Pointer to **string** | Represents the assembly of the script public key of the address. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the script public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISD2ScriptPubKey + +`func NewDecodeRawTransactionHexRISD2ScriptPubKey(address string, ) *DecodeRawTransactionHexRISD2ScriptPubKey` + +NewDecodeRawTransactionHexRISD2ScriptPubKey instantiates a new DecodeRawTransactionHexRISD2ScriptPubKey object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISD2ScriptPubKeyWithDefaults + +`func NewDecodeRawTransactionHexRISD2ScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISD2ScriptPubKey` + +NewDecodeRawTransactionHexRISD2ScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISD2ScriptPubKey object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetAsm + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISD2ScriptPubKey) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISD2ScriptSig.md b/docs/DecodeRawTransactionHexRISD2ScriptSig.md new file mode 100644 index 0000000..c0e37f4 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISD2ScriptSig.md @@ -0,0 +1,108 @@ +# DecodeRawTransactionHexRISD2ScriptSig + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Asm** | Pointer to **string** | The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type of the reference transaction identifier. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISD2ScriptSig + +`func NewDecodeRawTransactionHexRISD2ScriptSig() *DecodeRawTransactionHexRISD2ScriptSig` + +NewDecodeRawTransactionHexRISD2ScriptSig instantiates a new DecodeRawTransactionHexRISD2ScriptSig object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISD2ScriptSigWithDefaults + +`func NewDecodeRawTransactionHexRISD2ScriptSigWithDefaults() *DecodeRawTransactionHexRISD2ScriptSig` + +NewDecodeRawTransactionHexRISD2ScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISD2ScriptSig object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAsm + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISD2ScriptSig) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISD2Vin.md b/docs/DecodeRawTransactionHexRISD2Vin.md new file mode 100644 index 0000000..b81f1e7 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISD2Vin.md @@ -0,0 +1,181 @@ +# DecodeRawTransactionHexRISD2Vin + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | Represents the addresses which send/receive the amount. | [optional] +**InputHash** | Pointer to **string** | Represents the transaction inputs' indentifier. | [optional] +**OutputIndex** | Pointer to **string** | Defines the output index of a transaction. | [optional] +**ScriptSig** | [**DecodeRawTransactionHexRISD2ScriptSig**](DecodeRawTransactionHexRISD2ScriptSig.md) | | +**Sequence** | Pointer to **string** | Represents the script sequence number | [optional] +**Txinwitness** | Pointer to **[]string** | | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISD2Vin + +`func NewDecodeRawTransactionHexRISD2Vin(scriptSig DecodeRawTransactionHexRISD2ScriptSig, ) *DecodeRawTransactionHexRISD2Vin` + +NewDecodeRawTransactionHexRISD2Vin instantiates a new DecodeRawTransactionHexRISD2Vin object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISD2VinWithDefaults + +`func NewDecodeRawTransactionHexRISD2VinWithDefaults() *DecodeRawTransactionHexRISD2Vin` + +NewDecodeRawTransactionHexRISD2VinWithDefaults instantiates a new DecodeRawTransactionHexRISD2Vin object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISD2Vin) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISD2Vin) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISD2Vin) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *DecodeRawTransactionHexRISD2Vin) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetInputHash + +`func (o *DecodeRawTransactionHexRISD2Vin) GetInputHash() string` + +GetInputHash returns the InputHash field if non-nil, zero value otherwise. + +### GetInputHashOk + +`func (o *DecodeRawTransactionHexRISD2Vin) GetInputHashOk() (*string, bool)` + +GetInputHashOk returns a tuple with the InputHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputHash + +`func (o *DecodeRawTransactionHexRISD2Vin) SetInputHash(v string)` + +SetInputHash sets InputHash field to given value. + +### HasInputHash + +`func (o *DecodeRawTransactionHexRISD2Vin) HasInputHash() bool` + +HasInputHash returns a boolean if a field has been set. + +### GetOutputIndex + +`func (o *DecodeRawTransactionHexRISD2Vin) GetOutputIndex() string` + +GetOutputIndex returns the OutputIndex field if non-nil, zero value otherwise. + +### GetOutputIndexOk + +`func (o *DecodeRawTransactionHexRISD2Vin) GetOutputIndexOk() (*string, bool)` + +GetOutputIndexOk returns a tuple with the OutputIndex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOutputIndex + +`func (o *DecodeRawTransactionHexRISD2Vin) SetOutputIndex(v string)` + +SetOutputIndex sets OutputIndex field to given value. + +### HasOutputIndex + +`func (o *DecodeRawTransactionHexRISD2Vin) HasOutputIndex() bool` + +HasOutputIndex returns a boolean if a field has been set. + +### GetScriptSig + +`func (o *DecodeRawTransactionHexRISD2Vin) GetScriptSig() DecodeRawTransactionHexRISD2ScriptSig` + +GetScriptSig returns the ScriptSig field if non-nil, zero value otherwise. + +### GetScriptSigOk + +`func (o *DecodeRawTransactionHexRISD2Vin) GetScriptSigOk() (*DecodeRawTransactionHexRISD2ScriptSig, bool)` + +GetScriptSigOk returns a tuple with the ScriptSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptSig + +`func (o *DecodeRawTransactionHexRISD2Vin) SetScriptSig(v DecodeRawTransactionHexRISD2ScriptSig)` + +SetScriptSig sets ScriptSig field to given value. + + +### GetSequence + +`func (o *DecodeRawTransactionHexRISD2Vin) GetSequence() string` + +GetSequence returns the Sequence field if non-nil, zero value otherwise. + +### GetSequenceOk + +`func (o *DecodeRawTransactionHexRISD2Vin) GetSequenceOk() (*string, bool)` + +GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSequence + +`func (o *DecodeRawTransactionHexRISD2Vin) SetSequence(v string)` + +SetSequence sets Sequence field to given value. + +### HasSequence + +`func (o *DecodeRawTransactionHexRISD2Vin) HasSequence() bool` + +HasSequence returns a boolean if a field has been set. + +### GetTxinwitness + +`func (o *DecodeRawTransactionHexRISD2Vin) GetTxinwitness() []string` + +GetTxinwitness returns the Txinwitness field if non-nil, zero value otherwise. + +### GetTxinwitnessOk + +`func (o *DecodeRawTransactionHexRISD2Vin) GetTxinwitnessOk() (*[]string, bool)` + +GetTxinwitnessOk returns a tuple with the Txinwitness field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTxinwitness + +`func (o *DecodeRawTransactionHexRISD2Vin) SetTxinwitness(v []string)` + +SetTxinwitness sets Txinwitness field to given value. + +### HasTxinwitness + +`func (o *DecodeRawTransactionHexRISD2Vin) HasTxinwitness() bool` + +HasTxinwitness returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISD2Vout.md b/docs/DecodeRawTransactionHexRISD2Vout.md new file mode 100644 index 0000000..9b264ae --- /dev/null +++ b/docs/DecodeRawTransactionHexRISD2Vout.md @@ -0,0 +1,77 @@ +# DecodeRawTransactionHexRISD2Vout + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ScriptPubKey** | [**DecodeRawTransactionHexRISD2ScriptPubKey**](DecodeRawTransactionHexRISD2ScriptPubKey.md) | | +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISD2Vout + +`func NewDecodeRawTransactionHexRISD2Vout(scriptPubKey DecodeRawTransactionHexRISD2ScriptPubKey, ) *DecodeRawTransactionHexRISD2Vout` + +NewDecodeRawTransactionHexRISD2Vout instantiates a new DecodeRawTransactionHexRISD2Vout object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISD2VoutWithDefaults + +`func NewDecodeRawTransactionHexRISD2VoutWithDefaults() *DecodeRawTransactionHexRISD2Vout` + +NewDecodeRawTransactionHexRISD2VoutWithDefaults instantiates a new DecodeRawTransactionHexRISD2Vout object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetScriptPubKey + +`func (o *DecodeRawTransactionHexRISD2Vout) GetScriptPubKey() DecodeRawTransactionHexRISD2ScriptPubKey` + +GetScriptPubKey returns the ScriptPubKey field if non-nil, zero value otherwise. + +### GetScriptPubKeyOk + +`func (o *DecodeRawTransactionHexRISD2Vout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISD2ScriptPubKey, bool)` + +GetScriptPubKeyOk returns a tuple with the ScriptPubKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptPubKey + +`func (o *DecodeRawTransactionHexRISD2Vout) SetScriptPubKey(v DecodeRawTransactionHexRISD2ScriptPubKey)` + +SetScriptPubKey sets ScriptPubKey field to given value. + + +### GetValue + +`func (o *DecodeRawTransactionHexRISD2Vout) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISD2Vout) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISD2Vout) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISD2Vout) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISDScriptPubKey.md b/docs/DecodeRawTransactionHexRISDScriptPubKey.md new file mode 100644 index 0000000..f702e1d --- /dev/null +++ b/docs/DecodeRawTransactionHexRISDScriptPubKey.md @@ -0,0 +1,129 @@ +# DecodeRawTransactionHexRISDScriptPubKey + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the addresses which send the amount | +**Asm** | Pointer to **string** | Represents the assembly of the script public key of the address. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the script public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the hex of the script public key of the address. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISDScriptPubKey + +`func NewDecodeRawTransactionHexRISDScriptPubKey(address string, ) *DecodeRawTransactionHexRISDScriptPubKey` + +NewDecodeRawTransactionHexRISDScriptPubKey instantiates a new DecodeRawTransactionHexRISDScriptPubKey object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISDScriptPubKeyWithDefaults + +`func NewDecodeRawTransactionHexRISDScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISDScriptPubKey` + +NewDecodeRawTransactionHexRISDScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISDScriptPubKey object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetAsm + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISDScriptPubKey) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISDScriptSig.md b/docs/DecodeRawTransactionHexRISDScriptSig.md new file mode 100644 index 0000000..c8e2ddc --- /dev/null +++ b/docs/DecodeRawTransactionHexRISDScriptSig.md @@ -0,0 +1,108 @@ +# DecodeRawTransactionHexRISDScriptSig + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Asm** | Pointer to **string** | The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the public key of the address | [optional] +**Type** | Pointer to **string** | Represents the script type of the reference transaction identifier | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISDScriptSig + +`func NewDecodeRawTransactionHexRISDScriptSig() *DecodeRawTransactionHexRISDScriptSig` + +NewDecodeRawTransactionHexRISDScriptSig instantiates a new DecodeRawTransactionHexRISDScriptSig object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISDScriptSigWithDefaults + +`func NewDecodeRawTransactionHexRISDScriptSigWithDefaults() *DecodeRawTransactionHexRISDScriptSig` + +NewDecodeRawTransactionHexRISDScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISDScriptSig object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAsm + +`func (o *DecodeRawTransactionHexRISDScriptSig) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISDScriptSig) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISDScriptSig) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISDScriptSig) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISDScriptSig) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISDScriptSig) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISDScriptSig) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISDScriptSig) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISDScriptSig) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISDScriptSig) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISDScriptSig) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISDScriptSig) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISDVin.md b/docs/DecodeRawTransactionHexRISDVin.md new file mode 100644 index 0000000..f333f8c --- /dev/null +++ b/docs/DecodeRawTransactionHexRISDVin.md @@ -0,0 +1,181 @@ +# DecodeRawTransactionHexRISDVin + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | Represents the address which send/receive the amount | [optional] +**InputHash** | Pointer to **string** | Represents the transaction inputs' indentifier. | [optional] +**OutputIndex** | Pointer to **string** | Defines the output index of a transaction. | [optional] +**ScriptSig** | [**DecodeRawTransactionHexRISDScriptSig**](DecodeRawTransactionHexRISDScriptSig.md) | | +**Sequence** | Pointer to **string** | Represents the script sequence number. | [optional] +**Txinwitness** | Pointer to **[]string** | | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISDVin + +`func NewDecodeRawTransactionHexRISDVin(scriptSig DecodeRawTransactionHexRISDScriptSig, ) *DecodeRawTransactionHexRISDVin` + +NewDecodeRawTransactionHexRISDVin instantiates a new DecodeRawTransactionHexRISDVin object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISDVinWithDefaults + +`func NewDecodeRawTransactionHexRISDVinWithDefaults() *DecodeRawTransactionHexRISDVin` + +NewDecodeRawTransactionHexRISDVinWithDefaults instantiates a new DecodeRawTransactionHexRISDVin object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISDVin) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISDVin) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISDVin) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *DecodeRawTransactionHexRISDVin) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetInputHash + +`func (o *DecodeRawTransactionHexRISDVin) GetInputHash() string` + +GetInputHash returns the InputHash field if non-nil, zero value otherwise. + +### GetInputHashOk + +`func (o *DecodeRawTransactionHexRISDVin) GetInputHashOk() (*string, bool)` + +GetInputHashOk returns a tuple with the InputHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputHash + +`func (o *DecodeRawTransactionHexRISDVin) SetInputHash(v string)` + +SetInputHash sets InputHash field to given value. + +### HasInputHash + +`func (o *DecodeRawTransactionHexRISDVin) HasInputHash() bool` + +HasInputHash returns a boolean if a field has been set. + +### GetOutputIndex + +`func (o *DecodeRawTransactionHexRISDVin) GetOutputIndex() string` + +GetOutputIndex returns the OutputIndex field if non-nil, zero value otherwise. + +### GetOutputIndexOk + +`func (o *DecodeRawTransactionHexRISDVin) GetOutputIndexOk() (*string, bool)` + +GetOutputIndexOk returns a tuple with the OutputIndex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOutputIndex + +`func (o *DecodeRawTransactionHexRISDVin) SetOutputIndex(v string)` + +SetOutputIndex sets OutputIndex field to given value. + +### HasOutputIndex + +`func (o *DecodeRawTransactionHexRISDVin) HasOutputIndex() bool` + +HasOutputIndex returns a boolean if a field has been set. + +### GetScriptSig + +`func (o *DecodeRawTransactionHexRISDVin) GetScriptSig() DecodeRawTransactionHexRISDScriptSig` + +GetScriptSig returns the ScriptSig field if non-nil, zero value otherwise. + +### GetScriptSigOk + +`func (o *DecodeRawTransactionHexRISDVin) GetScriptSigOk() (*DecodeRawTransactionHexRISDScriptSig, bool)` + +GetScriptSigOk returns a tuple with the ScriptSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptSig + +`func (o *DecodeRawTransactionHexRISDVin) SetScriptSig(v DecodeRawTransactionHexRISDScriptSig)` + +SetScriptSig sets ScriptSig field to given value. + + +### GetSequence + +`func (o *DecodeRawTransactionHexRISDVin) GetSequence() string` + +GetSequence returns the Sequence field if non-nil, zero value otherwise. + +### GetSequenceOk + +`func (o *DecodeRawTransactionHexRISDVin) GetSequenceOk() (*string, bool)` + +GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSequence + +`func (o *DecodeRawTransactionHexRISDVin) SetSequence(v string)` + +SetSequence sets Sequence field to given value. + +### HasSequence + +`func (o *DecodeRawTransactionHexRISDVin) HasSequence() bool` + +HasSequence returns a boolean if a field has been set. + +### GetTxinwitness + +`func (o *DecodeRawTransactionHexRISDVin) GetTxinwitness() []string` + +GetTxinwitness returns the Txinwitness field if non-nil, zero value otherwise. + +### GetTxinwitnessOk + +`func (o *DecodeRawTransactionHexRISDVin) GetTxinwitnessOk() (*[]string, bool)` + +GetTxinwitnessOk returns a tuple with the Txinwitness field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTxinwitness + +`func (o *DecodeRawTransactionHexRISDVin) SetTxinwitness(v []string)` + +SetTxinwitness sets Txinwitness field to given value. + +### HasTxinwitness + +`func (o *DecodeRawTransactionHexRISDVin) HasTxinwitness() bool` + +HasTxinwitness returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISDVout.md b/docs/DecodeRawTransactionHexRISDVout.md new file mode 100644 index 0000000..a98bdfc --- /dev/null +++ b/docs/DecodeRawTransactionHexRISDVout.md @@ -0,0 +1,77 @@ +# DecodeRawTransactionHexRISDVout + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ScriptPubKey** | [**DecodeRawTransactionHexRISDScriptPubKey**](DecodeRawTransactionHexRISDScriptPubKey.md) | | +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISDVout + +`func NewDecodeRawTransactionHexRISDVout(scriptPubKey DecodeRawTransactionHexRISDScriptPubKey, ) *DecodeRawTransactionHexRISDVout` + +NewDecodeRawTransactionHexRISDVout instantiates a new DecodeRawTransactionHexRISDVout object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISDVoutWithDefaults + +`func NewDecodeRawTransactionHexRISDVoutWithDefaults() *DecodeRawTransactionHexRISDVout` + +NewDecodeRawTransactionHexRISDVoutWithDefaults instantiates a new DecodeRawTransactionHexRISDVout object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetScriptPubKey + +`func (o *DecodeRawTransactionHexRISDVout) GetScriptPubKey() DecodeRawTransactionHexRISDScriptPubKey` + +GetScriptPubKey returns the ScriptPubKey field if non-nil, zero value otherwise. + +### GetScriptPubKeyOk + +`func (o *DecodeRawTransactionHexRISDVout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISDScriptPubKey, bool)` + +GetScriptPubKeyOk returns a tuple with the ScriptPubKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptPubKey + +`func (o *DecodeRawTransactionHexRISDVout) SetScriptPubKey(v DecodeRawTransactionHexRISDScriptPubKey)` + +SetScriptPubKey sets ScriptPubKey field to given value. + + +### GetValue + +`func (o *DecodeRawTransactionHexRISDVout) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISDVout) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISDVout) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISDVout) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISE.md b/docs/DecodeRawTransactionHexRISE.md new file mode 100644 index 0000000..8e00d9a --- /dev/null +++ b/docs/DecodeRawTransactionHexRISE.md @@ -0,0 +1,421 @@ +# DecodeRawTransactionHexRISE + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApproximateFee** | Pointer to **string** | Defines the approximate fee value. When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value. | [optional] +**ApproximateMinimumRequiredFee** | Pointer to **string** | Defines the approximate minimum fee that is required for the transaction. | [optional] +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | +**GasPaidForData** | Pointer to **string** | Represents the amount of gas paid for the data in the transaction. | [optional] +**GasPrice** | Pointer to **string** | Represents the price offered to the miner to purchase this amount of gas. | [optional] +**InputData** | Pointer to **string** | Represents additional information that is required for the transaction. | [optional] +**MaxFeePerGas** | Pointer to **string** | Defines the maximum amount that customer is willing to pay per unit of gas to get his transaction included in a block. | [optional] +**MaxFeePriorityPerGas** | Pointer to **string** | Represents determined by the user value that is paid directly to miners. | [optional] +**Nonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | +**R** | Pointer to **string** | Represents output of an ECDSA signature. | [optional] +**Recipient** | **string** | The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. | +**S** | Pointer to **string** | Represents output of an ECDSA signature. | [optional] +**Sender** | **string** | Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. | +**Type** | **int32** | Specifies the transaction type as one from three options: if response returns a `\"0\"` it means the raw transaction includes legacy transaction data, if it is `\"1\"` - includes access lists for EIP2930, and if it is `\"2\"` - EIP1559 data. | +**V** | Pointer to **string** | Defines the the recovery id. | [optional] +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISE + +`func NewDecodeRawTransactionHexRISE(gasLimit string, nonce int32, recipient string, sender string, type_ int32, ) *DecodeRawTransactionHexRISE` + +NewDecodeRawTransactionHexRISE instantiates a new DecodeRawTransactionHexRISE object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISEWithDefaults + +`func NewDecodeRawTransactionHexRISEWithDefaults() *DecodeRawTransactionHexRISE` + +NewDecodeRawTransactionHexRISEWithDefaults instantiates a new DecodeRawTransactionHexRISE object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApproximateFee + +`func (o *DecodeRawTransactionHexRISE) GetApproximateFee() string` + +GetApproximateFee returns the ApproximateFee field if non-nil, zero value otherwise. + +### GetApproximateFeeOk + +`func (o *DecodeRawTransactionHexRISE) GetApproximateFeeOk() (*string, bool)` + +GetApproximateFeeOk returns a tuple with the ApproximateFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproximateFee + +`func (o *DecodeRawTransactionHexRISE) SetApproximateFee(v string)` + +SetApproximateFee sets ApproximateFee field to given value. + +### HasApproximateFee + +`func (o *DecodeRawTransactionHexRISE) HasApproximateFee() bool` + +HasApproximateFee returns a boolean if a field has been set. + +### GetApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISE) GetApproximateMinimumRequiredFee() string` + +GetApproximateMinimumRequiredFee returns the ApproximateMinimumRequiredFee field if non-nil, zero value otherwise. + +### GetApproximateMinimumRequiredFeeOk + +`func (o *DecodeRawTransactionHexRISE) GetApproximateMinimumRequiredFeeOk() (*string, bool)` + +GetApproximateMinimumRequiredFeeOk returns a tuple with the ApproximateMinimumRequiredFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISE) SetApproximateMinimumRequiredFee(v string)` + +SetApproximateMinimumRequiredFee sets ApproximateMinimumRequiredFee field to given value. + +### HasApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISE) HasApproximateMinimumRequiredFee() bool` + +HasApproximateMinimumRequiredFee returns a boolean if a field has been set. + +### GetGasLimit + +`func (o *DecodeRawTransactionHexRISE) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *DecodeRawTransactionHexRISE) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *DecodeRawTransactionHexRISE) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + +### GetGasPaidForData + +`func (o *DecodeRawTransactionHexRISE) GetGasPaidForData() string` + +GetGasPaidForData returns the GasPaidForData field if non-nil, zero value otherwise. + +### GetGasPaidForDataOk + +`func (o *DecodeRawTransactionHexRISE) GetGasPaidForDataOk() (*string, bool)` + +GetGasPaidForDataOk returns a tuple with the GasPaidForData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPaidForData + +`func (o *DecodeRawTransactionHexRISE) SetGasPaidForData(v string)` + +SetGasPaidForData sets GasPaidForData field to given value. + +### HasGasPaidForData + +`func (o *DecodeRawTransactionHexRISE) HasGasPaidForData() bool` + +HasGasPaidForData returns a boolean if a field has been set. + +### GetGasPrice + +`func (o *DecodeRawTransactionHexRISE) GetGasPrice() string` + +GetGasPrice returns the GasPrice field if non-nil, zero value otherwise. + +### GetGasPriceOk + +`func (o *DecodeRawTransactionHexRISE) GetGasPriceOk() (*string, bool)` + +GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPrice + +`func (o *DecodeRawTransactionHexRISE) SetGasPrice(v string)` + +SetGasPrice sets GasPrice field to given value. + +### HasGasPrice + +`func (o *DecodeRawTransactionHexRISE) HasGasPrice() bool` + +HasGasPrice returns a boolean if a field has been set. + +### GetInputData + +`func (o *DecodeRawTransactionHexRISE) GetInputData() string` + +GetInputData returns the InputData field if non-nil, zero value otherwise. + +### GetInputDataOk + +`func (o *DecodeRawTransactionHexRISE) GetInputDataOk() (*string, bool)` + +GetInputDataOk returns a tuple with the InputData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputData + +`func (o *DecodeRawTransactionHexRISE) SetInputData(v string)` + +SetInputData sets InputData field to given value. + +### HasInputData + +`func (o *DecodeRawTransactionHexRISE) HasInputData() bool` + +HasInputData returns a boolean if a field has been set. + +### GetMaxFeePerGas + +`func (o *DecodeRawTransactionHexRISE) GetMaxFeePerGas() string` + +GetMaxFeePerGas returns the MaxFeePerGas field if non-nil, zero value otherwise. + +### GetMaxFeePerGasOk + +`func (o *DecodeRawTransactionHexRISE) GetMaxFeePerGasOk() (*string, bool)` + +GetMaxFeePerGasOk returns a tuple with the MaxFeePerGas field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxFeePerGas + +`func (o *DecodeRawTransactionHexRISE) SetMaxFeePerGas(v string)` + +SetMaxFeePerGas sets MaxFeePerGas field to given value. + +### HasMaxFeePerGas + +`func (o *DecodeRawTransactionHexRISE) HasMaxFeePerGas() bool` + +HasMaxFeePerGas returns a boolean if a field has been set. + +### GetMaxFeePriorityPerGas + +`func (o *DecodeRawTransactionHexRISE) GetMaxFeePriorityPerGas() string` + +GetMaxFeePriorityPerGas returns the MaxFeePriorityPerGas field if non-nil, zero value otherwise. + +### GetMaxFeePriorityPerGasOk + +`func (o *DecodeRawTransactionHexRISE) GetMaxFeePriorityPerGasOk() (*string, bool)` + +GetMaxFeePriorityPerGasOk returns a tuple with the MaxFeePriorityPerGas field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxFeePriorityPerGas + +`func (o *DecodeRawTransactionHexRISE) SetMaxFeePriorityPerGas(v string)` + +SetMaxFeePriorityPerGas sets MaxFeePriorityPerGas field to given value. + +### HasMaxFeePriorityPerGas + +`func (o *DecodeRawTransactionHexRISE) HasMaxFeePriorityPerGas() bool` + +HasMaxFeePriorityPerGas returns a boolean if a field has been set. + +### GetNonce + +`func (o *DecodeRawTransactionHexRISE) GetNonce() int32` + +GetNonce returns the Nonce field if non-nil, zero value otherwise. + +### GetNonceOk + +`func (o *DecodeRawTransactionHexRISE) GetNonceOk() (*int32, bool)` + +GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonce + +`func (o *DecodeRawTransactionHexRISE) SetNonce(v int32)` + +SetNonce sets Nonce field to given value. + + +### GetR + +`func (o *DecodeRawTransactionHexRISE) GetR() string` + +GetR returns the R field if non-nil, zero value otherwise. + +### GetROk + +`func (o *DecodeRawTransactionHexRISE) GetROk() (*string, bool)` + +GetROk returns a tuple with the R field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetR + +`func (o *DecodeRawTransactionHexRISE) SetR(v string)` + +SetR sets R field to given value. + +### HasR + +`func (o *DecodeRawTransactionHexRISE) HasR() bool` + +HasR returns a boolean if a field has been set. + +### GetRecipient + +`func (o *DecodeRawTransactionHexRISE) GetRecipient() string` + +GetRecipient returns the Recipient field if non-nil, zero value otherwise. + +### GetRecipientOk + +`func (o *DecodeRawTransactionHexRISE) GetRecipientOk() (*string, bool)` + +GetRecipientOk returns a tuple with the Recipient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipient + +`func (o *DecodeRawTransactionHexRISE) SetRecipient(v string)` + +SetRecipient sets Recipient field to given value. + + +### GetS + +`func (o *DecodeRawTransactionHexRISE) GetS() string` + +GetS returns the S field if non-nil, zero value otherwise. + +### GetSOk + +`func (o *DecodeRawTransactionHexRISE) GetSOk() (*string, bool)` + +GetSOk returns a tuple with the S field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetS + +`func (o *DecodeRawTransactionHexRISE) SetS(v string)` + +SetS sets S field to given value. + +### HasS + +`func (o *DecodeRawTransactionHexRISE) HasS() bool` + +HasS returns a boolean if a field has been set. + +### GetSender + +`func (o *DecodeRawTransactionHexRISE) GetSender() string` + +GetSender returns the Sender field if non-nil, zero value otherwise. + +### GetSenderOk + +`func (o *DecodeRawTransactionHexRISE) GetSenderOk() (*string, bool)` + +GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSender + +`func (o *DecodeRawTransactionHexRISE) SetSender(v string)` + +SetSender sets Sender field to given value. + + +### GetType + +`func (o *DecodeRawTransactionHexRISE) GetType() int32` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISE) GetTypeOk() (*int32, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISE) SetType(v int32)` + +SetType sets Type field to given value. + + +### GetV + +`func (o *DecodeRawTransactionHexRISE) GetV() string` + +GetV returns the V field if non-nil, zero value otherwise. + +### GetVOk + +`func (o *DecodeRawTransactionHexRISE) GetVOk() (*string, bool)` + +GetVOk returns a tuple with the V field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetV + +`func (o *DecodeRawTransactionHexRISE) SetV(v string)` + +SetV sets V field to given value. + +### HasV + +`func (o *DecodeRawTransactionHexRISE) HasV() bool` + +HasV returns a boolean if a field has been set. + +### GetValue + +`func (o *DecodeRawTransactionHexRISE) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISE) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISE) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISE) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISE2.md b/docs/DecodeRawTransactionHexRISE2.md new file mode 100644 index 0000000..a807c2f --- /dev/null +++ b/docs/DecodeRawTransactionHexRISE2.md @@ -0,0 +1,369 @@ +# DecodeRawTransactionHexRISE2 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApproximateFee** | Pointer to **string** | Defines the approximate fee value. When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value. | [optional] +**ApproximateMinimumRequiredFee** | Pointer to **string** | Defines the approximate minimum fee that is required for the transaction. | [optional] +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | +**GasPaidForData** | Pointer to **string** | Represents the amount of gas paid for the data in the transaction. | [optional] +**GasPrice** | Pointer to **string** | Represents the price offered to the miner to purchase this amount of gas. | [optional] +**InputData** | Pointer to **string** | Represents additional information that is required for the transaction. | [optional] +**Nonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | +**R** | Pointer to **string** | Represents output of an ECDSA signature. | [optional] +**Recipient** | **string** | The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. | +**S** | Pointer to **string** | Represents output of an ECDSA signature. | [optional] +**Sender** | **string** | Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. | +**Type** | **int32** | Specifies the transaction type as one from three options: if response returns a `\"0\"` it means the raw transaction includes legacy transaction data, if it is `\"1\"` - includes access lists for EIP2930, and if it is `\"2\"` - EIP1559 data. | +**V** | Pointer to **string** | Defines the the recovery id. | [optional] +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISE2 + +`func NewDecodeRawTransactionHexRISE2(gasLimit string, nonce int32, recipient string, sender string, type_ int32, ) *DecodeRawTransactionHexRISE2` + +NewDecodeRawTransactionHexRISE2 instantiates a new DecodeRawTransactionHexRISE2 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISE2WithDefaults + +`func NewDecodeRawTransactionHexRISE2WithDefaults() *DecodeRawTransactionHexRISE2` + +NewDecodeRawTransactionHexRISE2WithDefaults instantiates a new DecodeRawTransactionHexRISE2 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApproximateFee + +`func (o *DecodeRawTransactionHexRISE2) GetApproximateFee() string` + +GetApproximateFee returns the ApproximateFee field if non-nil, zero value otherwise. + +### GetApproximateFeeOk + +`func (o *DecodeRawTransactionHexRISE2) GetApproximateFeeOk() (*string, bool)` + +GetApproximateFeeOk returns a tuple with the ApproximateFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproximateFee + +`func (o *DecodeRawTransactionHexRISE2) SetApproximateFee(v string)` + +SetApproximateFee sets ApproximateFee field to given value. + +### HasApproximateFee + +`func (o *DecodeRawTransactionHexRISE2) HasApproximateFee() bool` + +HasApproximateFee returns a boolean if a field has been set. + +### GetApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISE2) GetApproximateMinimumRequiredFee() string` + +GetApproximateMinimumRequiredFee returns the ApproximateMinimumRequiredFee field if non-nil, zero value otherwise. + +### GetApproximateMinimumRequiredFeeOk + +`func (o *DecodeRawTransactionHexRISE2) GetApproximateMinimumRequiredFeeOk() (*string, bool)` + +GetApproximateMinimumRequiredFeeOk returns a tuple with the ApproximateMinimumRequiredFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISE2) SetApproximateMinimumRequiredFee(v string)` + +SetApproximateMinimumRequiredFee sets ApproximateMinimumRequiredFee field to given value. + +### HasApproximateMinimumRequiredFee + +`func (o *DecodeRawTransactionHexRISE2) HasApproximateMinimumRequiredFee() bool` + +HasApproximateMinimumRequiredFee returns a boolean if a field has been set. + +### GetGasLimit + +`func (o *DecodeRawTransactionHexRISE2) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *DecodeRawTransactionHexRISE2) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *DecodeRawTransactionHexRISE2) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + +### GetGasPaidForData + +`func (o *DecodeRawTransactionHexRISE2) GetGasPaidForData() string` + +GetGasPaidForData returns the GasPaidForData field if non-nil, zero value otherwise. + +### GetGasPaidForDataOk + +`func (o *DecodeRawTransactionHexRISE2) GetGasPaidForDataOk() (*string, bool)` + +GetGasPaidForDataOk returns a tuple with the GasPaidForData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPaidForData + +`func (o *DecodeRawTransactionHexRISE2) SetGasPaidForData(v string)` + +SetGasPaidForData sets GasPaidForData field to given value. + +### HasGasPaidForData + +`func (o *DecodeRawTransactionHexRISE2) HasGasPaidForData() bool` + +HasGasPaidForData returns a boolean if a field has been set. + +### GetGasPrice + +`func (o *DecodeRawTransactionHexRISE2) GetGasPrice() string` + +GetGasPrice returns the GasPrice field if non-nil, zero value otherwise. + +### GetGasPriceOk + +`func (o *DecodeRawTransactionHexRISE2) GetGasPriceOk() (*string, bool)` + +GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPrice + +`func (o *DecodeRawTransactionHexRISE2) SetGasPrice(v string)` + +SetGasPrice sets GasPrice field to given value. + +### HasGasPrice + +`func (o *DecodeRawTransactionHexRISE2) HasGasPrice() bool` + +HasGasPrice returns a boolean if a field has been set. + +### GetInputData + +`func (o *DecodeRawTransactionHexRISE2) GetInputData() string` + +GetInputData returns the InputData field if non-nil, zero value otherwise. + +### GetInputDataOk + +`func (o *DecodeRawTransactionHexRISE2) GetInputDataOk() (*string, bool)` + +GetInputDataOk returns a tuple with the InputData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputData + +`func (o *DecodeRawTransactionHexRISE2) SetInputData(v string)` + +SetInputData sets InputData field to given value. + +### HasInputData + +`func (o *DecodeRawTransactionHexRISE2) HasInputData() bool` + +HasInputData returns a boolean if a field has been set. + +### GetNonce + +`func (o *DecodeRawTransactionHexRISE2) GetNonce() int32` + +GetNonce returns the Nonce field if non-nil, zero value otherwise. + +### GetNonceOk + +`func (o *DecodeRawTransactionHexRISE2) GetNonceOk() (*int32, bool)` + +GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonce + +`func (o *DecodeRawTransactionHexRISE2) SetNonce(v int32)` + +SetNonce sets Nonce field to given value. + + +### GetR + +`func (o *DecodeRawTransactionHexRISE2) GetR() string` + +GetR returns the R field if non-nil, zero value otherwise. + +### GetROk + +`func (o *DecodeRawTransactionHexRISE2) GetROk() (*string, bool)` + +GetROk returns a tuple with the R field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetR + +`func (o *DecodeRawTransactionHexRISE2) SetR(v string)` + +SetR sets R field to given value. + +### HasR + +`func (o *DecodeRawTransactionHexRISE2) HasR() bool` + +HasR returns a boolean if a field has been set. + +### GetRecipient + +`func (o *DecodeRawTransactionHexRISE2) GetRecipient() string` + +GetRecipient returns the Recipient field if non-nil, zero value otherwise. + +### GetRecipientOk + +`func (o *DecodeRawTransactionHexRISE2) GetRecipientOk() (*string, bool)` + +GetRecipientOk returns a tuple with the Recipient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipient + +`func (o *DecodeRawTransactionHexRISE2) SetRecipient(v string)` + +SetRecipient sets Recipient field to given value. + + +### GetS + +`func (o *DecodeRawTransactionHexRISE2) GetS() string` + +GetS returns the S field if non-nil, zero value otherwise. + +### GetSOk + +`func (o *DecodeRawTransactionHexRISE2) GetSOk() (*string, bool)` + +GetSOk returns a tuple with the S field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetS + +`func (o *DecodeRawTransactionHexRISE2) SetS(v string)` + +SetS sets S field to given value. + +### HasS + +`func (o *DecodeRawTransactionHexRISE2) HasS() bool` + +HasS returns a boolean if a field has been set. + +### GetSender + +`func (o *DecodeRawTransactionHexRISE2) GetSender() string` + +GetSender returns the Sender field if non-nil, zero value otherwise. + +### GetSenderOk + +`func (o *DecodeRawTransactionHexRISE2) GetSenderOk() (*string, bool)` + +GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSender + +`func (o *DecodeRawTransactionHexRISE2) SetSender(v string)` + +SetSender sets Sender field to given value. + + +### GetType + +`func (o *DecodeRawTransactionHexRISE2) GetType() int32` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISE2) GetTypeOk() (*int32, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISE2) SetType(v int32)` + +SetType sets Type field to given value. + + +### GetV + +`func (o *DecodeRawTransactionHexRISE2) GetV() string` + +GetV returns the V field if non-nil, zero value otherwise. + +### GetVOk + +`func (o *DecodeRawTransactionHexRISE2) GetVOk() (*string, bool)` + +GetVOk returns a tuple with the V field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetV + +`func (o *DecodeRawTransactionHexRISE2) SetV(v string)` + +SetV sets V field to given value. + +### HasV + +`func (o *DecodeRawTransactionHexRISE2) HasV() bool` + +HasV returns a boolean if a field has been set. + +### GetValue + +`func (o *DecodeRawTransactionHexRISE2) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISE2) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISE2) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISE2) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISL.md b/docs/DecodeRawTransactionHexRISL.md new file mode 100644 index 0000000..cfd2406 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISL.md @@ -0,0 +1,182 @@ +# DecodeRawTransactionHexRISL + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain | +**TransactionHash** | **string** | Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. | +**VSize** | **int32** | Represents the virtual size of this transaction. | +**Version** | **int32** | Represents transaction version number. | +**Vin** | [**[]DecodeRawTransactionHexRISLVin**](DecodeRawTransactionHexRISLVin.md) | Represents the transaction inputs. | +**Vout** | [**[]DecodeRawTransactionHexRISLVout**](DecodeRawTransactionHexRISLVout.md) | Represents the transaction outputs. | +**Weight** | Pointer to **int32** | Represents the size of a block, measured in weight units and including the segwit discount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISL + +`func NewDecodeRawTransactionHexRISL(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISLVin, vout []DecodeRawTransactionHexRISLVout, ) *DecodeRawTransactionHexRISL` + +NewDecodeRawTransactionHexRISL instantiates a new DecodeRawTransactionHexRISL object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISLWithDefaults + +`func NewDecodeRawTransactionHexRISLWithDefaults() *DecodeRawTransactionHexRISL` + +NewDecodeRawTransactionHexRISLWithDefaults instantiates a new DecodeRawTransactionHexRISL object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *DecodeRawTransactionHexRISL) GetLocktime() int32` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *DecodeRawTransactionHexRISL) GetLocktimeOk() (*int32, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *DecodeRawTransactionHexRISL) SetLocktime(v int32)` + +SetLocktime sets Locktime field to given value. + + +### GetTransactionHash + +`func (o *DecodeRawTransactionHexRISL) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *DecodeRawTransactionHexRISL) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *DecodeRawTransactionHexRISL) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetVSize + +`func (o *DecodeRawTransactionHexRISL) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *DecodeRawTransactionHexRISL) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *DecodeRawTransactionHexRISL) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *DecodeRawTransactionHexRISL) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *DecodeRawTransactionHexRISL) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *DecodeRawTransactionHexRISL) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *DecodeRawTransactionHexRISL) GetVin() []DecodeRawTransactionHexRISLVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *DecodeRawTransactionHexRISL) GetVinOk() (*[]DecodeRawTransactionHexRISLVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *DecodeRawTransactionHexRISL) SetVin(v []DecodeRawTransactionHexRISLVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *DecodeRawTransactionHexRISL) GetVout() []DecodeRawTransactionHexRISLVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *DecodeRawTransactionHexRISL) GetVoutOk() (*[]DecodeRawTransactionHexRISLVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *DecodeRawTransactionHexRISL) SetVout(v []DecodeRawTransactionHexRISLVout)` + +SetVout sets Vout field to given value. + + +### GetWeight + +`func (o *DecodeRawTransactionHexRISL) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *DecodeRawTransactionHexRISL) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *DecodeRawTransactionHexRISL) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *DecodeRawTransactionHexRISL) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISLScriptPubKey.md b/docs/DecodeRawTransactionHexRISLScriptPubKey.md new file mode 100644 index 0000000..98d275f --- /dev/null +++ b/docs/DecodeRawTransactionHexRISLScriptPubKey.md @@ -0,0 +1,129 @@ +# DecodeRawTransactionHexRISLScriptPubKey + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the addresses which send the amount. | +**Asm** | Pointer to **string** | Represents the assembly of the script public key of the address. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the script public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISLScriptPubKey + +`func NewDecodeRawTransactionHexRISLScriptPubKey(address string, ) *DecodeRawTransactionHexRISLScriptPubKey` + +NewDecodeRawTransactionHexRISLScriptPubKey instantiates a new DecodeRawTransactionHexRISLScriptPubKey object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISLScriptPubKeyWithDefaults + +`func NewDecodeRawTransactionHexRISLScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISLScriptPubKey` + +NewDecodeRawTransactionHexRISLScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISLScriptPubKey object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetAsm + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISLScriptPubKey) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISLScriptSig.md b/docs/DecodeRawTransactionHexRISLScriptSig.md new file mode 100644 index 0000000..6fa4724 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISLScriptSig.md @@ -0,0 +1,108 @@ +# DecodeRawTransactionHexRISLScriptSig + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Asm** | Pointer to **string** | The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type of the reference transaction identifier. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISLScriptSig + +`func NewDecodeRawTransactionHexRISLScriptSig() *DecodeRawTransactionHexRISLScriptSig` + +NewDecodeRawTransactionHexRISLScriptSig instantiates a new DecodeRawTransactionHexRISLScriptSig object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISLScriptSigWithDefaults + +`func NewDecodeRawTransactionHexRISLScriptSigWithDefaults() *DecodeRawTransactionHexRISLScriptSig` + +NewDecodeRawTransactionHexRISLScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISLScriptSig object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAsm + +`func (o *DecodeRawTransactionHexRISLScriptSig) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISLScriptSig) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISLScriptSig) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISLScriptSig) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISLScriptSig) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISLScriptSig) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISLScriptSig) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISLScriptSig) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISLScriptSig) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISLScriptSig) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISLScriptSig) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISLScriptSig) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISLVin.md b/docs/DecodeRawTransactionHexRISLVin.md new file mode 100644 index 0000000..720fedd --- /dev/null +++ b/docs/DecodeRawTransactionHexRISLVin.md @@ -0,0 +1,181 @@ +# DecodeRawTransactionHexRISLVin + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | Represents the addresses which send/receive the amount. | [optional] +**InputHash** | Pointer to **string** | Represents the transaction inputs' indentifier. | [optional] +**OutputIndex** | Pointer to **string** | Defines the output index of a transaction. | [optional] +**ScriptSig** | [**DecodeRawTransactionHexRISLScriptSig**](DecodeRawTransactionHexRISLScriptSig.md) | | +**Sequence** | Pointer to **string** | Represents the script sequence number. | [optional] +**Txinwitness** | Pointer to **[]string** | | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISLVin + +`func NewDecodeRawTransactionHexRISLVin(scriptSig DecodeRawTransactionHexRISLScriptSig, ) *DecodeRawTransactionHexRISLVin` + +NewDecodeRawTransactionHexRISLVin instantiates a new DecodeRawTransactionHexRISLVin object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISLVinWithDefaults + +`func NewDecodeRawTransactionHexRISLVinWithDefaults() *DecodeRawTransactionHexRISLVin` + +NewDecodeRawTransactionHexRISLVinWithDefaults instantiates a new DecodeRawTransactionHexRISLVin object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISLVin) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISLVin) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISLVin) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *DecodeRawTransactionHexRISLVin) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetInputHash + +`func (o *DecodeRawTransactionHexRISLVin) GetInputHash() string` + +GetInputHash returns the InputHash field if non-nil, zero value otherwise. + +### GetInputHashOk + +`func (o *DecodeRawTransactionHexRISLVin) GetInputHashOk() (*string, bool)` + +GetInputHashOk returns a tuple with the InputHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputHash + +`func (o *DecodeRawTransactionHexRISLVin) SetInputHash(v string)` + +SetInputHash sets InputHash field to given value. + +### HasInputHash + +`func (o *DecodeRawTransactionHexRISLVin) HasInputHash() bool` + +HasInputHash returns a boolean if a field has been set. + +### GetOutputIndex + +`func (o *DecodeRawTransactionHexRISLVin) GetOutputIndex() string` + +GetOutputIndex returns the OutputIndex field if non-nil, zero value otherwise. + +### GetOutputIndexOk + +`func (o *DecodeRawTransactionHexRISLVin) GetOutputIndexOk() (*string, bool)` + +GetOutputIndexOk returns a tuple with the OutputIndex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOutputIndex + +`func (o *DecodeRawTransactionHexRISLVin) SetOutputIndex(v string)` + +SetOutputIndex sets OutputIndex field to given value. + +### HasOutputIndex + +`func (o *DecodeRawTransactionHexRISLVin) HasOutputIndex() bool` + +HasOutputIndex returns a boolean if a field has been set. + +### GetScriptSig + +`func (o *DecodeRawTransactionHexRISLVin) GetScriptSig() DecodeRawTransactionHexRISLScriptSig` + +GetScriptSig returns the ScriptSig field if non-nil, zero value otherwise. + +### GetScriptSigOk + +`func (o *DecodeRawTransactionHexRISLVin) GetScriptSigOk() (*DecodeRawTransactionHexRISLScriptSig, bool)` + +GetScriptSigOk returns a tuple with the ScriptSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptSig + +`func (o *DecodeRawTransactionHexRISLVin) SetScriptSig(v DecodeRawTransactionHexRISLScriptSig)` + +SetScriptSig sets ScriptSig field to given value. + + +### GetSequence + +`func (o *DecodeRawTransactionHexRISLVin) GetSequence() string` + +GetSequence returns the Sequence field if non-nil, zero value otherwise. + +### GetSequenceOk + +`func (o *DecodeRawTransactionHexRISLVin) GetSequenceOk() (*string, bool)` + +GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSequence + +`func (o *DecodeRawTransactionHexRISLVin) SetSequence(v string)` + +SetSequence sets Sequence field to given value. + +### HasSequence + +`func (o *DecodeRawTransactionHexRISLVin) HasSequence() bool` + +HasSequence returns a boolean if a field has been set. + +### GetTxinwitness + +`func (o *DecodeRawTransactionHexRISLVin) GetTxinwitness() []string` + +GetTxinwitness returns the Txinwitness field if non-nil, zero value otherwise. + +### GetTxinwitnessOk + +`func (o *DecodeRawTransactionHexRISLVin) GetTxinwitnessOk() (*[]string, bool)` + +GetTxinwitnessOk returns a tuple with the Txinwitness field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTxinwitness + +`func (o *DecodeRawTransactionHexRISLVin) SetTxinwitness(v []string)` + +SetTxinwitness sets Txinwitness field to given value. + +### HasTxinwitness + +`func (o *DecodeRawTransactionHexRISLVin) HasTxinwitness() bool` + +HasTxinwitness returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISLVout.md b/docs/DecodeRawTransactionHexRISLVout.md new file mode 100644 index 0000000..44572c3 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISLVout.md @@ -0,0 +1,77 @@ +# DecodeRawTransactionHexRISLVout + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ScriptPubKey** | [**DecodeRawTransactionHexRISLScriptPubKey**](DecodeRawTransactionHexRISLScriptPubKey.md) | | +**Value** | Pointer to **string** | Represents the sent/received amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISLVout + +`func NewDecodeRawTransactionHexRISLVout(scriptPubKey DecodeRawTransactionHexRISLScriptPubKey, ) *DecodeRawTransactionHexRISLVout` + +NewDecodeRawTransactionHexRISLVout instantiates a new DecodeRawTransactionHexRISLVout object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISLVoutWithDefaults + +`func NewDecodeRawTransactionHexRISLVoutWithDefaults() *DecodeRawTransactionHexRISLVout` + +NewDecodeRawTransactionHexRISLVoutWithDefaults instantiates a new DecodeRawTransactionHexRISLVout object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetScriptPubKey + +`func (o *DecodeRawTransactionHexRISLVout) GetScriptPubKey() DecodeRawTransactionHexRISLScriptPubKey` + +GetScriptPubKey returns the ScriptPubKey field if non-nil, zero value otherwise. + +### GetScriptPubKeyOk + +`func (o *DecodeRawTransactionHexRISLVout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISLScriptPubKey, bool)` + +GetScriptPubKeyOk returns a tuple with the ScriptPubKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptPubKey + +`func (o *DecodeRawTransactionHexRISLVout) SetScriptPubKey(v DecodeRawTransactionHexRISLScriptPubKey)` + +SetScriptPubKey sets ScriptPubKey field to given value. + + +### GetValue + +`func (o *DecodeRawTransactionHexRISLVout) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISLVout) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISLVout) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISLVout) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISZ.md b/docs/DecodeRawTransactionHexRISZ.md new file mode 100644 index 0000000..c7c5eb7 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISZ.md @@ -0,0 +1,240 @@ +# DecodeRawTransactionHexRISZ + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | +**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | +**Saplinged** | **bool** | Defines if the transaction includes sapling or not. | +**TransactionHash** | **string** | Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. | +**ValueBalance** | **string** | Defines the transaction value balance. | +**Version** | **int32** | Represents the transaction version number. | +**VersionGroupId** | **string** | Represents the transaction version group ID | +**Vin** | [**[]DecodeRawTransactionHexRISZVin**](DecodeRawTransactionHexRISZVin.md) | Represents the Inputs of the transaction | +**Vout** | [**[]DecodeRawTransactionHexRISZVout**](DecodeRawTransactionHexRISZVout.md) | Represents the Inputs of the transaction | + +## Methods + +### NewDecodeRawTransactionHexRISZ + +`func NewDecodeRawTransactionHexRISZ(expiryHeight int32, locktime int32, overwintered bool, saplinged bool, transactionHash string, valueBalance string, version int32, versionGroupId string, vin []DecodeRawTransactionHexRISZVin, vout []DecodeRawTransactionHexRISZVout, ) *DecodeRawTransactionHexRISZ` + +NewDecodeRawTransactionHexRISZ instantiates a new DecodeRawTransactionHexRISZ object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISZWithDefaults + +`func NewDecodeRawTransactionHexRISZWithDefaults() *DecodeRawTransactionHexRISZ` + +NewDecodeRawTransactionHexRISZWithDefaults instantiates a new DecodeRawTransactionHexRISZ object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetExpiryHeight + +`func (o *DecodeRawTransactionHexRISZ) GetExpiryHeight() int32` + +GetExpiryHeight returns the ExpiryHeight field if non-nil, zero value otherwise. + +### GetExpiryHeightOk + +`func (o *DecodeRawTransactionHexRISZ) GetExpiryHeightOk() (*int32, bool)` + +GetExpiryHeightOk returns a tuple with the ExpiryHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpiryHeight + +`func (o *DecodeRawTransactionHexRISZ) SetExpiryHeight(v int32)` + +SetExpiryHeight sets ExpiryHeight field to given value. + + +### GetLocktime + +`func (o *DecodeRawTransactionHexRISZ) GetLocktime() int32` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *DecodeRawTransactionHexRISZ) GetLocktimeOk() (*int32, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *DecodeRawTransactionHexRISZ) SetLocktime(v int32)` + +SetLocktime sets Locktime field to given value. + + +### GetOverwintered + +`func (o *DecodeRawTransactionHexRISZ) GetOverwintered() bool` + +GetOverwintered returns the Overwintered field if non-nil, zero value otherwise. + +### GetOverwinteredOk + +`func (o *DecodeRawTransactionHexRISZ) GetOverwinteredOk() (*bool, bool)` + +GetOverwinteredOk returns a tuple with the Overwintered field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverwintered + +`func (o *DecodeRawTransactionHexRISZ) SetOverwintered(v bool)` + +SetOverwintered sets Overwintered field to given value. + + +### GetSaplinged + +`func (o *DecodeRawTransactionHexRISZ) GetSaplinged() bool` + +GetSaplinged returns the Saplinged field if non-nil, zero value otherwise. + +### GetSaplingedOk + +`func (o *DecodeRawTransactionHexRISZ) GetSaplingedOk() (*bool, bool)` + +GetSaplingedOk returns a tuple with the Saplinged field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSaplinged + +`func (o *DecodeRawTransactionHexRISZ) SetSaplinged(v bool)` + +SetSaplinged sets Saplinged field to given value. + + +### GetTransactionHash + +`func (o *DecodeRawTransactionHexRISZ) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *DecodeRawTransactionHexRISZ) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *DecodeRawTransactionHexRISZ) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetValueBalance + +`func (o *DecodeRawTransactionHexRISZ) GetValueBalance() string` + +GetValueBalance returns the ValueBalance field if non-nil, zero value otherwise. + +### GetValueBalanceOk + +`func (o *DecodeRawTransactionHexRISZ) GetValueBalanceOk() (*string, bool)` + +GetValueBalanceOk returns a tuple with the ValueBalance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValueBalance + +`func (o *DecodeRawTransactionHexRISZ) SetValueBalance(v string)` + +SetValueBalance sets ValueBalance field to given value. + + +### GetVersion + +`func (o *DecodeRawTransactionHexRISZ) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *DecodeRawTransactionHexRISZ) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *DecodeRawTransactionHexRISZ) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVersionGroupId + +`func (o *DecodeRawTransactionHexRISZ) GetVersionGroupId() string` + +GetVersionGroupId returns the VersionGroupId field if non-nil, zero value otherwise. + +### GetVersionGroupIdOk + +`func (o *DecodeRawTransactionHexRISZ) GetVersionGroupIdOk() (*string, bool)` + +GetVersionGroupIdOk returns a tuple with the VersionGroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionGroupId + +`func (o *DecodeRawTransactionHexRISZ) SetVersionGroupId(v string)` + +SetVersionGroupId sets VersionGroupId field to given value. + + +### GetVin + +`func (o *DecodeRawTransactionHexRISZ) GetVin() []DecodeRawTransactionHexRISZVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *DecodeRawTransactionHexRISZ) GetVinOk() (*[]DecodeRawTransactionHexRISZVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *DecodeRawTransactionHexRISZ) SetVin(v []DecodeRawTransactionHexRISZVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *DecodeRawTransactionHexRISZ) GetVout() []DecodeRawTransactionHexRISZVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *DecodeRawTransactionHexRISZ) GetVoutOk() (*[]DecodeRawTransactionHexRISZVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *DecodeRawTransactionHexRISZ) SetVout(v []DecodeRawTransactionHexRISZVout)` + +SetVout sets Vout field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISZScriptPubKey.md b/docs/DecodeRawTransactionHexRISZScriptPubKey.md new file mode 100644 index 0000000..9b39509 --- /dev/null +++ b/docs/DecodeRawTransactionHexRISZScriptPubKey.md @@ -0,0 +1,134 @@ +# DecodeRawTransactionHexRISZScriptPubKey + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | Represents the address which send the amount. | [optional] +**Asm** | Pointer to **string** | Represents the assembly of the script public key of the address. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the script public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISZScriptPubKey + +`func NewDecodeRawTransactionHexRISZScriptPubKey() *DecodeRawTransactionHexRISZScriptPubKey` + +NewDecodeRawTransactionHexRISZScriptPubKey instantiates a new DecodeRawTransactionHexRISZScriptPubKey object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISZScriptPubKeyWithDefaults + +`func NewDecodeRawTransactionHexRISZScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISZScriptPubKey` + +NewDecodeRawTransactionHexRISZScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISZScriptPubKey object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetAsm + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISZScriptPubKey) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISZScriptSig.md b/docs/DecodeRawTransactionHexRISZScriptSig.md new file mode 100644 index 0000000..d80591e --- /dev/null +++ b/docs/DecodeRawTransactionHexRISZScriptSig.md @@ -0,0 +1,108 @@ +# DecodeRawTransactionHexRISZScriptSig + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Asm** | Pointer to **string** | The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. | [optional] +**Hex** | Pointer to **string** | Represents the hex of the public key of the address. | [optional] +**Type** | Pointer to **string** | Represents the script type of the reference transaction identifier. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISZScriptSig + +`func NewDecodeRawTransactionHexRISZScriptSig() *DecodeRawTransactionHexRISZScriptSig` + +NewDecodeRawTransactionHexRISZScriptSig instantiates a new DecodeRawTransactionHexRISZScriptSig object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISZScriptSigWithDefaults + +`func NewDecodeRawTransactionHexRISZScriptSigWithDefaults() *DecodeRawTransactionHexRISZScriptSig` + +NewDecodeRawTransactionHexRISZScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISZScriptSig object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAsm + +`func (o *DecodeRawTransactionHexRISZScriptSig) GetAsm() string` + +GetAsm returns the Asm field if non-nil, zero value otherwise. + +### GetAsmOk + +`func (o *DecodeRawTransactionHexRISZScriptSig) GetAsmOk() (*string, bool)` + +GetAsmOk returns a tuple with the Asm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsm + +`func (o *DecodeRawTransactionHexRISZScriptSig) SetAsm(v string)` + +SetAsm sets Asm field to given value. + +### HasAsm + +`func (o *DecodeRawTransactionHexRISZScriptSig) HasAsm() bool` + +HasAsm returns a boolean if a field has been set. + +### GetHex + +`func (o *DecodeRawTransactionHexRISZScriptSig) GetHex() string` + +GetHex returns the Hex field if non-nil, zero value otherwise. + +### GetHexOk + +`func (o *DecodeRawTransactionHexRISZScriptSig) GetHexOk() (*string, bool)` + +GetHexOk returns a tuple with the Hex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHex + +`func (o *DecodeRawTransactionHexRISZScriptSig) SetHex(v string)` + +SetHex sets Hex field to given value. + +### HasHex + +`func (o *DecodeRawTransactionHexRISZScriptSig) HasHex() bool` + +HasHex returns a boolean if a field has been set. + +### GetType + +`func (o *DecodeRawTransactionHexRISZScriptSig) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DecodeRawTransactionHexRISZScriptSig) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DecodeRawTransactionHexRISZScriptSig) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DecodeRawTransactionHexRISZScriptSig) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISZVin.md b/docs/DecodeRawTransactionHexRISZVin.md new file mode 100644 index 0000000..b044adf --- /dev/null +++ b/docs/DecodeRawTransactionHexRISZVin.md @@ -0,0 +1,155 @@ +# DecodeRawTransactionHexRISZVin + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | Represents the addresses which send/receive the amount. | [optional] +**InputHash** | Pointer to **string** | Represents the transaction inputs' indentifier. | [optional] +**OutputIndex** | Pointer to **string** | Defines the output index of a transaction. | [optional] +**ScriptSig** | [**DecodeRawTransactionHexRISZScriptSig**](DecodeRawTransactionHexRISZScriptSig.md) | | +**Sequence** | Pointer to **string** | Represents the script sequence number. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISZVin + +`func NewDecodeRawTransactionHexRISZVin(scriptSig DecodeRawTransactionHexRISZScriptSig, ) *DecodeRawTransactionHexRISZVin` + +NewDecodeRawTransactionHexRISZVin instantiates a new DecodeRawTransactionHexRISZVin object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISZVinWithDefaults + +`func NewDecodeRawTransactionHexRISZVinWithDefaults() *DecodeRawTransactionHexRISZVin` + +NewDecodeRawTransactionHexRISZVinWithDefaults instantiates a new DecodeRawTransactionHexRISZVin object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DecodeRawTransactionHexRISZVin) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DecodeRawTransactionHexRISZVin) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DecodeRawTransactionHexRISZVin) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *DecodeRawTransactionHexRISZVin) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetInputHash + +`func (o *DecodeRawTransactionHexRISZVin) GetInputHash() string` + +GetInputHash returns the InputHash field if non-nil, zero value otherwise. + +### GetInputHashOk + +`func (o *DecodeRawTransactionHexRISZVin) GetInputHashOk() (*string, bool)` + +GetInputHashOk returns a tuple with the InputHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputHash + +`func (o *DecodeRawTransactionHexRISZVin) SetInputHash(v string)` + +SetInputHash sets InputHash field to given value. + +### HasInputHash + +`func (o *DecodeRawTransactionHexRISZVin) HasInputHash() bool` + +HasInputHash returns a boolean if a field has been set. + +### GetOutputIndex + +`func (o *DecodeRawTransactionHexRISZVin) GetOutputIndex() string` + +GetOutputIndex returns the OutputIndex field if non-nil, zero value otherwise. + +### GetOutputIndexOk + +`func (o *DecodeRawTransactionHexRISZVin) GetOutputIndexOk() (*string, bool)` + +GetOutputIndexOk returns a tuple with the OutputIndex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOutputIndex + +`func (o *DecodeRawTransactionHexRISZVin) SetOutputIndex(v string)` + +SetOutputIndex sets OutputIndex field to given value. + +### HasOutputIndex + +`func (o *DecodeRawTransactionHexRISZVin) HasOutputIndex() bool` + +HasOutputIndex returns a boolean if a field has been set. + +### GetScriptSig + +`func (o *DecodeRawTransactionHexRISZVin) GetScriptSig() DecodeRawTransactionHexRISZScriptSig` + +GetScriptSig returns the ScriptSig field if non-nil, zero value otherwise. + +### GetScriptSigOk + +`func (o *DecodeRawTransactionHexRISZVin) GetScriptSigOk() (*DecodeRawTransactionHexRISZScriptSig, bool)` + +GetScriptSigOk returns a tuple with the ScriptSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptSig + +`func (o *DecodeRawTransactionHexRISZVin) SetScriptSig(v DecodeRawTransactionHexRISZScriptSig)` + +SetScriptSig sets ScriptSig field to given value. + + +### GetSequence + +`func (o *DecodeRawTransactionHexRISZVin) GetSequence() string` + +GetSequence returns the Sequence field if non-nil, zero value otherwise. + +### GetSequenceOk + +`func (o *DecodeRawTransactionHexRISZVin) GetSequenceOk() (*string, bool)` + +GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSequence + +`func (o *DecodeRawTransactionHexRISZVin) SetSequence(v string)` + +SetSequence sets Sequence field to given value. + +### HasSequence + +`func (o *DecodeRawTransactionHexRISZVin) HasSequence() bool` + +HasSequence returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeRawTransactionHexRISZVout.md b/docs/DecodeRawTransactionHexRISZVout.md new file mode 100644 index 0000000..f13efee --- /dev/null +++ b/docs/DecodeRawTransactionHexRISZVout.md @@ -0,0 +1,77 @@ +# DecodeRawTransactionHexRISZVout + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ScriptPubKey** | [**DecodeRawTransactionHexRISZScriptPubKey**](DecodeRawTransactionHexRISZScriptPubKey.md) | | +**Value** | Pointer to **string** | Defines the specific amount. | [optional] + +## Methods + +### NewDecodeRawTransactionHexRISZVout + +`func NewDecodeRawTransactionHexRISZVout(scriptPubKey DecodeRawTransactionHexRISZScriptPubKey, ) *DecodeRawTransactionHexRISZVout` + +NewDecodeRawTransactionHexRISZVout instantiates a new DecodeRawTransactionHexRISZVout object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeRawTransactionHexRISZVoutWithDefaults + +`func NewDecodeRawTransactionHexRISZVoutWithDefaults() *DecodeRawTransactionHexRISZVout` + +NewDecodeRawTransactionHexRISZVoutWithDefaults instantiates a new DecodeRawTransactionHexRISZVout object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetScriptPubKey + +`func (o *DecodeRawTransactionHexRISZVout) GetScriptPubKey() DecodeRawTransactionHexRISZScriptPubKey` + +GetScriptPubKey returns the ScriptPubKey field if non-nil, zero value otherwise. + +### GetScriptPubKeyOk + +`func (o *DecodeRawTransactionHexRISZVout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISZScriptPubKey, bool)` + +GetScriptPubKeyOk returns a tuple with the ScriptPubKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScriptPubKey + +`func (o *DecodeRawTransactionHexRISZVout) SetScriptPubKey(v DecodeRawTransactionHexRISZScriptPubKey)` + +SetScriptPubKey sets ScriptPubKey field to given value. + + +### GetValue + +`func (o *DecodeRawTransactionHexRISZVout) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DecodeRawTransactionHexRISZVout) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *DecodeRawTransactionHexRISZVout) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DecodeRawTransactionHexRISZVout) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeXAddressE400.md b/docs/DecodeXAddressE400.md new file mode 100644 index 0000000..749a890 --- /dev/null +++ b/docs/DecodeXAddressE400.md @@ -0,0 +1,98 @@ +# DecodeXAddressE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDecodeXAddressE400 + +`func NewDecodeXAddressE400(code string, message string, ) *DecodeXAddressE400` + +NewDecodeXAddressE400 instantiates a new DecodeXAddressE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeXAddressE400WithDefaults + +`func NewDecodeXAddressE400WithDefaults() *DecodeXAddressE400` + +NewDecodeXAddressE400WithDefaults instantiates a new DecodeXAddressE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DecodeXAddressE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DecodeXAddressE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DecodeXAddressE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DecodeXAddressE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DecodeXAddressE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DecodeXAddressE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DecodeXAddressE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DecodeXAddressE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DecodeXAddressE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DecodeXAddressE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeXAddressE401.md b/docs/DecodeXAddressE401.md new file mode 100644 index 0000000..d233c36 --- /dev/null +++ b/docs/DecodeXAddressE401.md @@ -0,0 +1,98 @@ +# DecodeXAddressE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDecodeXAddressE401 + +`func NewDecodeXAddressE401(code string, message string, ) *DecodeXAddressE401` + +NewDecodeXAddressE401 instantiates a new DecodeXAddressE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeXAddressE401WithDefaults + +`func NewDecodeXAddressE401WithDefaults() *DecodeXAddressE401` + +NewDecodeXAddressE401WithDefaults instantiates a new DecodeXAddressE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DecodeXAddressE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DecodeXAddressE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DecodeXAddressE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DecodeXAddressE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DecodeXAddressE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DecodeXAddressE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DecodeXAddressE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DecodeXAddressE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DecodeXAddressE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DecodeXAddressE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeXAddressE403.md b/docs/DecodeXAddressE403.md new file mode 100644 index 0000000..9cc7967 --- /dev/null +++ b/docs/DecodeXAddressE403.md @@ -0,0 +1,98 @@ +# DecodeXAddressE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDecodeXAddressE403 + +`func NewDecodeXAddressE403(code string, message string, ) *DecodeXAddressE403` + +NewDecodeXAddressE403 instantiates a new DecodeXAddressE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeXAddressE403WithDefaults + +`func NewDecodeXAddressE403WithDefaults() *DecodeXAddressE403` + +NewDecodeXAddressE403WithDefaults instantiates a new DecodeXAddressE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DecodeXAddressE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DecodeXAddressE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DecodeXAddressE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DecodeXAddressE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DecodeXAddressE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DecodeXAddressE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DecodeXAddressE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DecodeXAddressE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DecodeXAddressE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DecodeXAddressE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeXAddressR.md b/docs/DecodeXAddressR.md new file mode 100644 index 0000000..298f511 --- /dev/null +++ b/docs/DecodeXAddressR.md @@ -0,0 +1,119 @@ +# DecodeXAddressR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**DecodeXAddressRData**](DecodeXAddressRData.md) | | + +## Methods + +### NewDecodeXAddressR + +`func NewDecodeXAddressR(apiVersion string, requestId string, data DecodeXAddressRData, ) *DecodeXAddressR` + +NewDecodeXAddressR instantiates a new DecodeXAddressR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeXAddressRWithDefaults + +`func NewDecodeXAddressRWithDefaults() *DecodeXAddressR` + +NewDecodeXAddressRWithDefaults instantiates a new DecodeXAddressR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *DecodeXAddressR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *DecodeXAddressR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *DecodeXAddressR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *DecodeXAddressR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *DecodeXAddressR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *DecodeXAddressR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *DecodeXAddressR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *DecodeXAddressR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *DecodeXAddressR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *DecodeXAddressR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *DecodeXAddressR) GetData() DecodeXAddressRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *DecodeXAddressR) GetDataOk() (*DecodeXAddressRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *DecodeXAddressR) SetData(v DecodeXAddressRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeXAddressRData.md b/docs/DecodeXAddressRData.md new file mode 100644 index 0000000..be2eb66 --- /dev/null +++ b/docs/DecodeXAddressRData.md @@ -0,0 +1,51 @@ +# DecodeXAddressRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**DecodeXAddressRI**](DecodeXAddressRI.md) | | + +## Methods + +### NewDecodeXAddressRData + +`func NewDecodeXAddressRData(item DecodeXAddressRI, ) *DecodeXAddressRData` + +NewDecodeXAddressRData instantiates a new DecodeXAddressRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeXAddressRDataWithDefaults + +`func NewDecodeXAddressRDataWithDefaults() *DecodeXAddressRData` + +NewDecodeXAddressRDataWithDefaults instantiates a new DecodeXAddressRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *DecodeXAddressRData) GetItem() DecodeXAddressRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *DecodeXAddressRData) GetItemOk() (*DecodeXAddressRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *DecodeXAddressRData) SetItem(v DecodeXAddressRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodeXAddressRI.md b/docs/DecodeXAddressRI.md new file mode 100644 index 0000000..c4e1eb4 --- /dev/null +++ b/docs/DecodeXAddressRI.md @@ -0,0 +1,72 @@ +# DecodeXAddressRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AddressTag** | **int32** | Defines a specific Tag that is an additional XRP address feature. It helps identifying a transaction recipient beyond a wallet address. | +**ClassicAddress** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | + +## Methods + +### NewDecodeXAddressRI + +`func NewDecodeXAddressRI(addressTag int32, classicAddress string, ) *DecodeXAddressRI` + +NewDecodeXAddressRI instantiates a new DecodeXAddressRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDecodeXAddressRIWithDefaults + +`func NewDecodeXAddressRIWithDefaults() *DecodeXAddressRI` + +NewDecodeXAddressRIWithDefaults instantiates a new DecodeXAddressRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddressTag + +`func (o *DecodeXAddressRI) GetAddressTag() int32` + +GetAddressTag returns the AddressTag field if non-nil, zero value otherwise. + +### GetAddressTagOk + +`func (o *DecodeXAddressRI) GetAddressTagOk() (*int32, bool)` + +GetAddressTagOk returns a tuple with the AddressTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressTag + +`func (o *DecodeXAddressRI) SetAddressTag(v int32)` + +SetAddressTag sets AddressTag field to given value. + + +### GetClassicAddress + +`func (o *DecodeXAddressRI) GetClassicAddress() string` + +GetClassicAddress returns the ClassicAddress field if non-nil, zero value otherwise. + +### GetClassicAddressOk + +`func (o *DecodeXAddressRI) GetClassicAddressOk() (*string, bool)` + +GetClassicAddressOk returns a tuple with the ClassicAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClassicAddress + +`func (o *DecodeXAddressRI) SetClassicAddress(v string)` + +SetClassicAddress sets ClassicAddress field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeleteAutomaticCoinsForwardingRI.md b/docs/DeleteAutomaticCoinsForwardingRI.md index 08e37c6..0e9231e 100644 --- a/docs/DeleteAutomaticCoinsForwardingRI.md +++ b/docs/DeleteAutomaticCoinsForwardingRI.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the automatic forwarding was created in Unix Timestamp. | **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"SLOW\", \"STANDARD\" or \"FAST\". | diff --git a/docs/DeleteAutomaticTokensForwardingRI.md b/docs/DeleteAutomaticTokensForwardingRI.md index a429c5a..2e26e3b 100644 --- a/docs/DeleteAutomaticTokensForwardingRI.md +++ b/docs/DeleteAutomaticTokensForwardingRI.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the automatic forwarding was created in Unix Timestamp. | **FeeAddress** | **string** | Represents the specific fee address, which is always automatically generated. Users must fund it. | diff --git a/docs/DeleteBlockchainEventSubscriptionRI.md b/docs/DeleteBlockchainEventSubscriptionRI.md index 8f095ff..1627a53 100644 --- a/docs/DeleteBlockchainEventSubscriptionRI.md +++ b/docs/DeleteBlockchainEventSubscriptionRI.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **ReferenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | diff --git a/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400.md b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400.md new file mode 100644 index 0000000..a27a8bb --- /dev/null +++ b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400.md @@ -0,0 +1,98 @@ +# DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400(code string, message string, ) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400WithDefaults + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400WithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400WithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401.md b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401.md new file mode 100644 index 0000000..9a17ab8 --- /dev/null +++ b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401.md @@ -0,0 +1,98 @@ +# DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401(code string, message string, ) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401WithDefaults + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401WithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401WithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403.md b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403.md new file mode 100644 index 0000000..7c717f5 --- /dev/null +++ b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403.md @@ -0,0 +1,98 @@ +# DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403(code string, message string, ) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403WithDefaults + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403WithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403WithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR.md b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR.md new file mode 100644 index 0000000..bb5376a --- /dev/null +++ b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR.md @@ -0,0 +1,119 @@ +# DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData**](DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData.md) | | + +## Methods + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR(apiVersion string, requestId string, data DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData, ) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRWithDefaults + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRWithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRWithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetData() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetDataOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) SetData(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData.md b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData.md new file mode 100644 index 0000000..8051f83 --- /dev/null +++ b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData.md @@ -0,0 +1,51 @@ +# DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI**](DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI.md) | | + +## Methods + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData(item DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI, ) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRDataWithDefaults + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRDataWithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRDataWithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) GetItem() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) GetItemOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) SetItem(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI.md b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI.md new file mode 100644 index 0000000..a7084ba --- /dev/null +++ b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI.md @@ -0,0 +1,51 @@ +# DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Addresses** | [**[]DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses**](DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses.md) | Represents the address details. | + +## Methods + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI(addresses []DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses, ) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIWithDefaults + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIWithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIWithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddresses + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) GetAddresses() []DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses` + +GetAddresses returns the Addresses field if non-nil, zero value otherwise. + +### GetAddressesOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) GetAddressesOk() (*[]DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses, bool)` + +GetAddressesOk returns a tuple with the Addresses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddresses + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) SetAddresses(v []DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses)` + +SetAddresses sets Addresses field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses.md b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses.md new file mode 100644 index 0000000..5c979c7 --- /dev/null +++ b/docs/DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses.md @@ -0,0 +1,72 @@ +# DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | +**Index** | **int32** | Represents the output index. It refers to the UTXO sequence in the transaction outputs (vout). | + +## Methods + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses(address string, index int32, ) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddressesWithDefaults + +`func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddressesWithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses` + +NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddressesWithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetIndex + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) GetIndex() int32` + +GetIndex returns the Index field if non-nil, zero value otherwise. + +### GetIndexOk + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) GetIndexOk() (*int32, bool)` + +GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndex + +`func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) SetIndex(v int32)` + +SetIndex sets Index field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EncodeXAddressE400.md b/docs/EncodeXAddressE400.md new file mode 100644 index 0000000..8ed1099 --- /dev/null +++ b/docs/EncodeXAddressE400.md @@ -0,0 +1,98 @@ +# EncodeXAddressE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEncodeXAddressE400 + +`func NewEncodeXAddressE400(code string, message string, ) *EncodeXAddressE400` + +NewEncodeXAddressE400 instantiates a new EncodeXAddressE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEncodeXAddressE400WithDefaults + +`func NewEncodeXAddressE400WithDefaults() *EncodeXAddressE400` + +NewEncodeXAddressE400WithDefaults instantiates a new EncodeXAddressE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EncodeXAddressE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EncodeXAddressE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EncodeXAddressE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EncodeXAddressE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EncodeXAddressE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EncodeXAddressE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EncodeXAddressE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EncodeXAddressE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EncodeXAddressE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EncodeXAddressE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EncodeXAddressE401.md b/docs/EncodeXAddressE401.md new file mode 100644 index 0000000..9317f49 --- /dev/null +++ b/docs/EncodeXAddressE401.md @@ -0,0 +1,98 @@ +# EncodeXAddressE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEncodeXAddressE401 + +`func NewEncodeXAddressE401(code string, message string, ) *EncodeXAddressE401` + +NewEncodeXAddressE401 instantiates a new EncodeXAddressE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEncodeXAddressE401WithDefaults + +`func NewEncodeXAddressE401WithDefaults() *EncodeXAddressE401` + +NewEncodeXAddressE401WithDefaults instantiates a new EncodeXAddressE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EncodeXAddressE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EncodeXAddressE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EncodeXAddressE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EncodeXAddressE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EncodeXAddressE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EncodeXAddressE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EncodeXAddressE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EncodeXAddressE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EncodeXAddressE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EncodeXAddressE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EncodeXAddressE403.md b/docs/EncodeXAddressE403.md new file mode 100644 index 0000000..772e63c --- /dev/null +++ b/docs/EncodeXAddressE403.md @@ -0,0 +1,98 @@ +# EncodeXAddressE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEncodeXAddressE403 + +`func NewEncodeXAddressE403(code string, message string, ) *EncodeXAddressE403` + +NewEncodeXAddressE403 instantiates a new EncodeXAddressE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEncodeXAddressE403WithDefaults + +`func NewEncodeXAddressE403WithDefaults() *EncodeXAddressE403` + +NewEncodeXAddressE403WithDefaults instantiates a new EncodeXAddressE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EncodeXAddressE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EncodeXAddressE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EncodeXAddressE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EncodeXAddressE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EncodeXAddressE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EncodeXAddressE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EncodeXAddressE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EncodeXAddressE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EncodeXAddressE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EncodeXAddressE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EncodeXAddressR.md b/docs/EncodeXAddressR.md new file mode 100644 index 0000000..a65bd03 --- /dev/null +++ b/docs/EncodeXAddressR.md @@ -0,0 +1,119 @@ +# EncodeXAddressR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**EncodeXAddressRData**](EncodeXAddressRData.md) | | + +## Methods + +### NewEncodeXAddressR + +`func NewEncodeXAddressR(apiVersion string, requestId string, data EncodeXAddressRData, ) *EncodeXAddressR` + +NewEncodeXAddressR instantiates a new EncodeXAddressR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEncodeXAddressRWithDefaults + +`func NewEncodeXAddressRWithDefaults() *EncodeXAddressR` + +NewEncodeXAddressRWithDefaults instantiates a new EncodeXAddressR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *EncodeXAddressR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *EncodeXAddressR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *EncodeXAddressR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *EncodeXAddressR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *EncodeXAddressR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *EncodeXAddressR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *EncodeXAddressR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *EncodeXAddressR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *EncodeXAddressR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *EncodeXAddressR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *EncodeXAddressR) GetData() EncodeXAddressRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *EncodeXAddressR) GetDataOk() (*EncodeXAddressRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *EncodeXAddressR) SetData(v EncodeXAddressRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EncodeXAddressRData.md b/docs/EncodeXAddressRData.md new file mode 100644 index 0000000..1105701 --- /dev/null +++ b/docs/EncodeXAddressRData.md @@ -0,0 +1,51 @@ +# EncodeXAddressRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**EncodeXAddressRI**](EncodeXAddressRI.md) | | + +## Methods + +### NewEncodeXAddressRData + +`func NewEncodeXAddressRData(item EncodeXAddressRI, ) *EncodeXAddressRData` + +NewEncodeXAddressRData instantiates a new EncodeXAddressRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEncodeXAddressRDataWithDefaults + +`func NewEncodeXAddressRDataWithDefaults() *EncodeXAddressRData` + +NewEncodeXAddressRDataWithDefaults instantiates a new EncodeXAddressRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *EncodeXAddressRData) GetItem() EncodeXAddressRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *EncodeXAddressRData) GetItemOk() (*EncodeXAddressRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *EncodeXAddressRData) SetItem(v EncodeXAddressRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EncodeXAddressRI.md b/docs/EncodeXAddressRI.md new file mode 100644 index 0000000..dacb4ed --- /dev/null +++ b/docs/EncodeXAddressRI.md @@ -0,0 +1,51 @@ +# EncodeXAddressRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**XAddress** | **string** | Represents the encoded classic address with its destination tag. | + +## Methods + +### NewEncodeXAddressRI + +`func NewEncodeXAddressRI(xAddress string, ) *EncodeXAddressRI` + +NewEncodeXAddressRI instantiates a new EncodeXAddressRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEncodeXAddressRIWithDefaults + +`func NewEncodeXAddressRIWithDefaults() *EncodeXAddressRI` + +NewEncodeXAddressRIWithDefaults instantiates a new EncodeXAddressRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetXAddress + +`func (o *EncodeXAddressRI) GetXAddress() string` + +GetXAddress returns the XAddress field if non-nil, zero value otherwise. + +### GetXAddressOk + +`func (o *EncodeXAddressRI) GetXAddressOk() (*string, bool)` + +GetXAddressOk returns a tuple with the XAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetXAddress + +`func (o *EncodeXAddressRI) SetXAddress(v string)` + +SetXAddress sets XAddress field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitE400.md b/docs/EstimateGasLimitE400.md new file mode 100644 index 0000000..292d8e3 --- /dev/null +++ b/docs/EstimateGasLimitE400.md @@ -0,0 +1,98 @@ +# EstimateGasLimitE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateGasLimitE400 + +`func NewEstimateGasLimitE400(code string, message string, ) *EstimateGasLimitE400` + +NewEstimateGasLimitE400 instantiates a new EstimateGasLimitE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitE400WithDefaults + +`func NewEstimateGasLimitE400WithDefaults() *EstimateGasLimitE400` + +NewEstimateGasLimitE400WithDefaults instantiates a new EstimateGasLimitE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateGasLimitE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateGasLimitE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateGasLimitE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateGasLimitE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateGasLimitE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateGasLimitE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateGasLimitE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateGasLimitE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateGasLimitE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateGasLimitE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitE401.md b/docs/EstimateGasLimitE401.md new file mode 100644 index 0000000..ce671f7 --- /dev/null +++ b/docs/EstimateGasLimitE401.md @@ -0,0 +1,98 @@ +# EstimateGasLimitE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateGasLimitE401 + +`func NewEstimateGasLimitE401(code string, message string, ) *EstimateGasLimitE401` + +NewEstimateGasLimitE401 instantiates a new EstimateGasLimitE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitE401WithDefaults + +`func NewEstimateGasLimitE401WithDefaults() *EstimateGasLimitE401` + +NewEstimateGasLimitE401WithDefaults instantiates a new EstimateGasLimitE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateGasLimitE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateGasLimitE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateGasLimitE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateGasLimitE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateGasLimitE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateGasLimitE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateGasLimitE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateGasLimitE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateGasLimitE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateGasLimitE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitE403.md b/docs/EstimateGasLimitE403.md new file mode 100644 index 0000000..562cc63 --- /dev/null +++ b/docs/EstimateGasLimitE403.md @@ -0,0 +1,98 @@ +# EstimateGasLimitE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateGasLimitE403 + +`func NewEstimateGasLimitE403(code string, message string, ) *EstimateGasLimitE403` + +NewEstimateGasLimitE403 instantiates a new EstimateGasLimitE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitE403WithDefaults + +`func NewEstimateGasLimitE403WithDefaults() *EstimateGasLimitE403` + +NewEstimateGasLimitE403WithDefaults instantiates a new EstimateGasLimitE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateGasLimitE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateGasLimitE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateGasLimitE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateGasLimitE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateGasLimitE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateGasLimitE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateGasLimitE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateGasLimitE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateGasLimitE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateGasLimitE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitR.md b/docs/EstimateGasLimitR.md new file mode 100644 index 0000000..0b80ab7 --- /dev/null +++ b/docs/EstimateGasLimitR.md @@ -0,0 +1,119 @@ +# EstimateGasLimitR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**EstimateGasLimitRData**](EstimateGasLimitRData.md) | | + +## Methods + +### NewEstimateGasLimitR + +`func NewEstimateGasLimitR(apiVersion string, requestId string, data EstimateGasLimitRData, ) *EstimateGasLimitR` + +NewEstimateGasLimitR instantiates a new EstimateGasLimitR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitRWithDefaults + +`func NewEstimateGasLimitRWithDefaults() *EstimateGasLimitR` + +NewEstimateGasLimitRWithDefaults instantiates a new EstimateGasLimitR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *EstimateGasLimitR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *EstimateGasLimitR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *EstimateGasLimitR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *EstimateGasLimitR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *EstimateGasLimitR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *EstimateGasLimitR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *EstimateGasLimitR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *EstimateGasLimitR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *EstimateGasLimitR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *EstimateGasLimitR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *EstimateGasLimitR) GetData() EstimateGasLimitRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *EstimateGasLimitR) GetDataOk() (*EstimateGasLimitRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *EstimateGasLimitR) SetData(v EstimateGasLimitRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitRB.md b/docs/EstimateGasLimitRB.md new file mode 100644 index 0000000..fd1750a --- /dev/null +++ b/docs/EstimateGasLimitRB.md @@ -0,0 +1,77 @@ +# EstimateGasLimitRB + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**EstimateGasLimitRBData**](EstimateGasLimitRBData.md) | | + +## Methods + +### NewEstimateGasLimitRB + +`func NewEstimateGasLimitRB(data EstimateGasLimitRBData, ) *EstimateGasLimitRB` + +NewEstimateGasLimitRB instantiates a new EstimateGasLimitRB object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitRBWithDefaults + +`func NewEstimateGasLimitRBWithDefaults() *EstimateGasLimitRB` + +NewEstimateGasLimitRBWithDefaults instantiates a new EstimateGasLimitRB object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContext + +`func (o *EstimateGasLimitRB) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *EstimateGasLimitRB) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *EstimateGasLimitRB) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *EstimateGasLimitRB) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *EstimateGasLimitRB) GetData() EstimateGasLimitRBData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *EstimateGasLimitRB) GetDataOk() (*EstimateGasLimitRBData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *EstimateGasLimitRB) SetData(v EstimateGasLimitRBData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitRBData.md b/docs/EstimateGasLimitRBData.md new file mode 100644 index 0000000..e6ed6d7 --- /dev/null +++ b/docs/EstimateGasLimitRBData.md @@ -0,0 +1,51 @@ +# EstimateGasLimitRBData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**EstimateGasLimitRBDataItem**](EstimateGasLimitRBDataItem.md) | | + +## Methods + +### NewEstimateGasLimitRBData + +`func NewEstimateGasLimitRBData(item EstimateGasLimitRBDataItem, ) *EstimateGasLimitRBData` + +NewEstimateGasLimitRBData instantiates a new EstimateGasLimitRBData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitRBDataWithDefaults + +`func NewEstimateGasLimitRBDataWithDefaults() *EstimateGasLimitRBData` + +NewEstimateGasLimitRBDataWithDefaults instantiates a new EstimateGasLimitRBData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *EstimateGasLimitRBData) GetItem() EstimateGasLimitRBDataItem` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *EstimateGasLimitRBData) GetItemOk() (*EstimateGasLimitRBDataItem, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *EstimateGasLimitRBData) SetItem(v EstimateGasLimitRBDataItem)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitRBDataItem.md b/docs/EstimateGasLimitRBDataItem.md new file mode 100644 index 0000000..94d9b5e --- /dev/null +++ b/docs/EstimateGasLimitRBDataItem.md @@ -0,0 +1,119 @@ +# EstimateGasLimitRBDataItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AdditionalData** | Pointer to **string** | Represents an optional field to add additonal data. | [optional] +**Amount** | **string** | Represents transactions' amount. | +**Recipient** | **string** | The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. | +**Sender** | **string** | Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. | + +## Methods + +### NewEstimateGasLimitRBDataItem + +`func NewEstimateGasLimitRBDataItem(amount string, recipient string, sender string, ) *EstimateGasLimitRBDataItem` + +NewEstimateGasLimitRBDataItem instantiates a new EstimateGasLimitRBDataItem object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitRBDataItemWithDefaults + +`func NewEstimateGasLimitRBDataItemWithDefaults() *EstimateGasLimitRBDataItem` + +NewEstimateGasLimitRBDataItemWithDefaults instantiates a new EstimateGasLimitRBDataItem object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAdditionalData + +`func (o *EstimateGasLimitRBDataItem) GetAdditionalData() string` + +GetAdditionalData returns the AdditionalData field if non-nil, zero value otherwise. + +### GetAdditionalDataOk + +`func (o *EstimateGasLimitRBDataItem) GetAdditionalDataOk() (*string, bool)` + +GetAdditionalDataOk returns a tuple with the AdditionalData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdditionalData + +`func (o *EstimateGasLimitRBDataItem) SetAdditionalData(v string)` + +SetAdditionalData sets AdditionalData field to given value. + +### HasAdditionalData + +`func (o *EstimateGasLimitRBDataItem) HasAdditionalData() bool` + +HasAdditionalData returns a boolean if a field has been set. + +### GetAmount + +`func (o *EstimateGasLimitRBDataItem) GetAmount() string` + +GetAmount returns the Amount field if non-nil, zero value otherwise. + +### GetAmountOk + +`func (o *EstimateGasLimitRBDataItem) GetAmountOk() (*string, bool)` + +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAmount + +`func (o *EstimateGasLimitRBDataItem) SetAmount(v string)` + +SetAmount sets Amount field to given value. + + +### GetRecipient + +`func (o *EstimateGasLimitRBDataItem) GetRecipient() string` + +GetRecipient returns the Recipient field if non-nil, zero value otherwise. + +### GetRecipientOk + +`func (o *EstimateGasLimitRBDataItem) GetRecipientOk() (*string, bool)` + +GetRecipientOk returns a tuple with the Recipient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipient + +`func (o *EstimateGasLimitRBDataItem) SetRecipient(v string)` + +SetRecipient sets Recipient field to given value. + + +### GetSender + +`func (o *EstimateGasLimitRBDataItem) GetSender() string` + +GetSender returns the Sender field if non-nil, zero value otherwise. + +### GetSenderOk + +`func (o *EstimateGasLimitRBDataItem) GetSenderOk() (*string, bool)` + +GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSender + +`func (o *EstimateGasLimitRBDataItem) SetSender(v string)` + +SetSender sets Sender field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitRData.md b/docs/EstimateGasLimitRData.md new file mode 100644 index 0000000..25615b2 --- /dev/null +++ b/docs/EstimateGasLimitRData.md @@ -0,0 +1,51 @@ +# EstimateGasLimitRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**EstimateGasLimitRI**](EstimateGasLimitRI.md) | | + +## Methods + +### NewEstimateGasLimitRData + +`func NewEstimateGasLimitRData(item EstimateGasLimitRI, ) *EstimateGasLimitRData` + +NewEstimateGasLimitRData instantiates a new EstimateGasLimitRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitRDataWithDefaults + +`func NewEstimateGasLimitRDataWithDefaults() *EstimateGasLimitRData` + +NewEstimateGasLimitRDataWithDefaults instantiates a new EstimateGasLimitRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *EstimateGasLimitRData) GetItem() EstimateGasLimitRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *EstimateGasLimitRData) GetItemOk() (*EstimateGasLimitRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *EstimateGasLimitRData) SetItem(v EstimateGasLimitRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateGasLimitRI.md b/docs/EstimateGasLimitRI.md new file mode 100644 index 0000000..42feefd --- /dev/null +++ b/docs/EstimateGasLimitRI.md @@ -0,0 +1,51 @@ +# EstimateGasLimitRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | + +## Methods + +### NewEstimateGasLimitRI + +`func NewEstimateGasLimitRI(gasLimit string, ) *EstimateGasLimitRI` + +NewEstimateGasLimitRI instantiates a new EstimateGasLimitRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateGasLimitRIWithDefaults + +`func NewEstimateGasLimitRIWithDefaults() *EstimateGasLimitRI` + +NewEstimateGasLimitRIWithDefaults instantiates a new EstimateGasLimitRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetGasLimit + +`func (o *EstimateGasLimitRI) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *EstimateGasLimitRI) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *EstimateGasLimitRI) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitE400.md b/docs/EstimateTokenGasLimitE400.md new file mode 100644 index 0000000..23ac711 --- /dev/null +++ b/docs/EstimateTokenGasLimitE400.md @@ -0,0 +1,98 @@ +# EstimateTokenGasLimitE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateTokenGasLimitE400 + +`func NewEstimateTokenGasLimitE400(code string, message string, ) *EstimateTokenGasLimitE400` + +NewEstimateTokenGasLimitE400 instantiates a new EstimateTokenGasLimitE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitE400WithDefaults + +`func NewEstimateTokenGasLimitE400WithDefaults() *EstimateTokenGasLimitE400` + +NewEstimateTokenGasLimitE400WithDefaults instantiates a new EstimateTokenGasLimitE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateTokenGasLimitE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateTokenGasLimitE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateTokenGasLimitE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateTokenGasLimitE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateTokenGasLimitE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateTokenGasLimitE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateTokenGasLimitE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateTokenGasLimitE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateTokenGasLimitE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateTokenGasLimitE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitE401.md b/docs/EstimateTokenGasLimitE401.md new file mode 100644 index 0000000..c895265 --- /dev/null +++ b/docs/EstimateTokenGasLimitE401.md @@ -0,0 +1,98 @@ +# EstimateTokenGasLimitE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateTokenGasLimitE401 + +`func NewEstimateTokenGasLimitE401(code string, message string, ) *EstimateTokenGasLimitE401` + +NewEstimateTokenGasLimitE401 instantiates a new EstimateTokenGasLimitE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitE401WithDefaults + +`func NewEstimateTokenGasLimitE401WithDefaults() *EstimateTokenGasLimitE401` + +NewEstimateTokenGasLimitE401WithDefaults instantiates a new EstimateTokenGasLimitE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateTokenGasLimitE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateTokenGasLimitE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateTokenGasLimitE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateTokenGasLimitE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateTokenGasLimitE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateTokenGasLimitE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateTokenGasLimitE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateTokenGasLimitE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateTokenGasLimitE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateTokenGasLimitE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitE403.md b/docs/EstimateTokenGasLimitE403.md new file mode 100644 index 0000000..27b79fe --- /dev/null +++ b/docs/EstimateTokenGasLimitE403.md @@ -0,0 +1,98 @@ +# EstimateTokenGasLimitE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateTokenGasLimitE403 + +`func NewEstimateTokenGasLimitE403(code string, message string, ) *EstimateTokenGasLimitE403` + +NewEstimateTokenGasLimitE403 instantiates a new EstimateTokenGasLimitE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitE403WithDefaults + +`func NewEstimateTokenGasLimitE403WithDefaults() *EstimateTokenGasLimitE403` + +NewEstimateTokenGasLimitE403WithDefaults instantiates a new EstimateTokenGasLimitE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateTokenGasLimitE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateTokenGasLimitE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateTokenGasLimitE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateTokenGasLimitE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateTokenGasLimitE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateTokenGasLimitE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateTokenGasLimitE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateTokenGasLimitE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateTokenGasLimitE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateTokenGasLimitE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitR.md b/docs/EstimateTokenGasLimitR.md new file mode 100644 index 0000000..913b478 --- /dev/null +++ b/docs/EstimateTokenGasLimitR.md @@ -0,0 +1,119 @@ +# EstimateTokenGasLimitR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**EstimateTokenGasLimitRData**](EstimateTokenGasLimitRData.md) | | + +## Methods + +### NewEstimateTokenGasLimitR + +`func NewEstimateTokenGasLimitR(apiVersion string, requestId string, data EstimateTokenGasLimitRData, ) *EstimateTokenGasLimitR` + +NewEstimateTokenGasLimitR instantiates a new EstimateTokenGasLimitR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitRWithDefaults + +`func NewEstimateTokenGasLimitRWithDefaults() *EstimateTokenGasLimitR` + +NewEstimateTokenGasLimitRWithDefaults instantiates a new EstimateTokenGasLimitR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *EstimateTokenGasLimitR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *EstimateTokenGasLimitR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *EstimateTokenGasLimitR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *EstimateTokenGasLimitR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *EstimateTokenGasLimitR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *EstimateTokenGasLimitR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *EstimateTokenGasLimitR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *EstimateTokenGasLimitR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *EstimateTokenGasLimitR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *EstimateTokenGasLimitR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *EstimateTokenGasLimitR) GetData() EstimateTokenGasLimitRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *EstimateTokenGasLimitR) GetDataOk() (*EstimateTokenGasLimitRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *EstimateTokenGasLimitR) SetData(v EstimateTokenGasLimitRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitRB.md b/docs/EstimateTokenGasLimitRB.md new file mode 100644 index 0000000..0a7e2da --- /dev/null +++ b/docs/EstimateTokenGasLimitRB.md @@ -0,0 +1,77 @@ +# EstimateTokenGasLimitRB + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**EstimateTokenGasLimitRBData**](EstimateTokenGasLimitRBData.md) | | + +## Methods + +### NewEstimateTokenGasLimitRB + +`func NewEstimateTokenGasLimitRB(data EstimateTokenGasLimitRBData, ) *EstimateTokenGasLimitRB` + +NewEstimateTokenGasLimitRB instantiates a new EstimateTokenGasLimitRB object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitRBWithDefaults + +`func NewEstimateTokenGasLimitRBWithDefaults() *EstimateTokenGasLimitRB` + +NewEstimateTokenGasLimitRBWithDefaults instantiates a new EstimateTokenGasLimitRB object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContext + +`func (o *EstimateTokenGasLimitRB) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *EstimateTokenGasLimitRB) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *EstimateTokenGasLimitRB) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *EstimateTokenGasLimitRB) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *EstimateTokenGasLimitRB) GetData() EstimateTokenGasLimitRBData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *EstimateTokenGasLimitRB) GetDataOk() (*EstimateTokenGasLimitRBData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *EstimateTokenGasLimitRB) SetData(v EstimateTokenGasLimitRBData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitRBData.md b/docs/EstimateTokenGasLimitRBData.md new file mode 100644 index 0000000..75ac2fa --- /dev/null +++ b/docs/EstimateTokenGasLimitRBData.md @@ -0,0 +1,51 @@ +# EstimateTokenGasLimitRBData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**EstimateTokenGasLimitRBDataItem**](EstimateTokenGasLimitRBDataItem.md) | | + +## Methods + +### NewEstimateTokenGasLimitRBData + +`func NewEstimateTokenGasLimitRBData(item EstimateTokenGasLimitRBDataItem, ) *EstimateTokenGasLimitRBData` + +NewEstimateTokenGasLimitRBData instantiates a new EstimateTokenGasLimitRBData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitRBDataWithDefaults + +`func NewEstimateTokenGasLimitRBDataWithDefaults() *EstimateTokenGasLimitRBData` + +NewEstimateTokenGasLimitRBDataWithDefaults instantiates a new EstimateTokenGasLimitRBData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *EstimateTokenGasLimitRBData) GetItem() EstimateTokenGasLimitRBDataItem` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *EstimateTokenGasLimitRBData) GetItemOk() (*EstimateTokenGasLimitRBDataItem, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *EstimateTokenGasLimitRBData) SetItem(v EstimateTokenGasLimitRBDataItem)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitRBDataItem.md b/docs/EstimateTokenGasLimitRBDataItem.md new file mode 100644 index 0000000..8fffedd --- /dev/null +++ b/docs/EstimateTokenGasLimitRBDataItem.md @@ -0,0 +1,135 @@ +# EstimateTokenGasLimitRBDataItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Amount** | **string** | Represents transactions' amount. | +**Contract** | **string** | Defines the specific token identifier. For Ethereum-based transactions it is the contract. | +**ContractType** | **string** | Represents the ERC contract type. It can be ERC20 or ERC721 | +**Recipient** | **string** | The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. | +**Sender** | **string** | Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. | + +## Methods + +### NewEstimateTokenGasLimitRBDataItem + +`func NewEstimateTokenGasLimitRBDataItem(amount string, contract string, contractType string, recipient string, sender string, ) *EstimateTokenGasLimitRBDataItem` + +NewEstimateTokenGasLimitRBDataItem instantiates a new EstimateTokenGasLimitRBDataItem object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitRBDataItemWithDefaults + +`func NewEstimateTokenGasLimitRBDataItemWithDefaults() *EstimateTokenGasLimitRBDataItem` + +NewEstimateTokenGasLimitRBDataItemWithDefaults instantiates a new EstimateTokenGasLimitRBDataItem object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAmount + +`func (o *EstimateTokenGasLimitRBDataItem) GetAmount() string` + +GetAmount returns the Amount field if non-nil, zero value otherwise. + +### GetAmountOk + +`func (o *EstimateTokenGasLimitRBDataItem) GetAmountOk() (*string, bool)` + +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAmount + +`func (o *EstimateTokenGasLimitRBDataItem) SetAmount(v string)` + +SetAmount sets Amount field to given value. + + +### GetContract + +`func (o *EstimateTokenGasLimitRBDataItem) GetContract() string` + +GetContract returns the Contract field if non-nil, zero value otherwise. + +### GetContractOk + +`func (o *EstimateTokenGasLimitRBDataItem) GetContractOk() (*string, bool)` + +GetContractOk returns a tuple with the Contract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContract + +`func (o *EstimateTokenGasLimitRBDataItem) SetContract(v string)` + +SetContract sets Contract field to given value. + + +### GetContractType + +`func (o *EstimateTokenGasLimitRBDataItem) GetContractType() string` + +GetContractType returns the ContractType field if non-nil, zero value otherwise. + +### GetContractTypeOk + +`func (o *EstimateTokenGasLimitRBDataItem) GetContractTypeOk() (*string, bool)` + +GetContractTypeOk returns a tuple with the ContractType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContractType + +`func (o *EstimateTokenGasLimitRBDataItem) SetContractType(v string)` + +SetContractType sets ContractType field to given value. + + +### GetRecipient + +`func (o *EstimateTokenGasLimitRBDataItem) GetRecipient() string` + +GetRecipient returns the Recipient field if non-nil, zero value otherwise. + +### GetRecipientOk + +`func (o *EstimateTokenGasLimitRBDataItem) GetRecipientOk() (*string, bool)` + +GetRecipientOk returns a tuple with the Recipient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipient + +`func (o *EstimateTokenGasLimitRBDataItem) SetRecipient(v string)` + +SetRecipient sets Recipient field to given value. + + +### GetSender + +`func (o *EstimateTokenGasLimitRBDataItem) GetSender() string` + +GetSender returns the Sender field if non-nil, zero value otherwise. + +### GetSenderOk + +`func (o *EstimateTokenGasLimitRBDataItem) GetSenderOk() (*string, bool)` + +GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSender + +`func (o *EstimateTokenGasLimitRBDataItem) SetSender(v string)` + +SetSender sets Sender field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitRData.md b/docs/EstimateTokenGasLimitRData.md new file mode 100644 index 0000000..68b4725 --- /dev/null +++ b/docs/EstimateTokenGasLimitRData.md @@ -0,0 +1,51 @@ +# EstimateTokenGasLimitRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**EstimateTokenGasLimitRI**](EstimateTokenGasLimitRI.md) | | + +## Methods + +### NewEstimateTokenGasLimitRData + +`func NewEstimateTokenGasLimitRData(item EstimateTokenGasLimitRI, ) *EstimateTokenGasLimitRData` + +NewEstimateTokenGasLimitRData instantiates a new EstimateTokenGasLimitRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitRDataWithDefaults + +`func NewEstimateTokenGasLimitRDataWithDefaults() *EstimateTokenGasLimitRData` + +NewEstimateTokenGasLimitRDataWithDefaults instantiates a new EstimateTokenGasLimitRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *EstimateTokenGasLimitRData) GetItem() EstimateTokenGasLimitRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *EstimateTokenGasLimitRData) GetItemOk() (*EstimateTokenGasLimitRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *EstimateTokenGasLimitRData) SetItem(v EstimateTokenGasLimitRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTokenGasLimitRI.md b/docs/EstimateTokenGasLimitRI.md new file mode 100644 index 0000000..a2d82e0 --- /dev/null +++ b/docs/EstimateTokenGasLimitRI.md @@ -0,0 +1,51 @@ +# EstimateTokenGasLimitRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | + +## Methods + +### NewEstimateTokenGasLimitRI + +`func NewEstimateTokenGasLimitRI(gasLimit string, ) *EstimateTokenGasLimitRI` + +NewEstimateTokenGasLimitRI instantiates a new EstimateTokenGasLimitRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTokenGasLimitRIWithDefaults + +`func NewEstimateTokenGasLimitRIWithDefaults() *EstimateTokenGasLimitRI` + +NewEstimateTokenGasLimitRIWithDefaults instantiates a new EstimateTokenGasLimitRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetGasLimit + +`func (o *EstimateTokenGasLimitRI) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *EstimateTokenGasLimitRI) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *EstimateTokenGasLimitRI) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTransactionSmartFeeE400.md b/docs/EstimateTransactionSmartFeeE400.md new file mode 100644 index 0000000..fc7778c --- /dev/null +++ b/docs/EstimateTransactionSmartFeeE400.md @@ -0,0 +1,98 @@ +# EstimateTransactionSmartFeeE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateTransactionSmartFeeE400 + +`func NewEstimateTransactionSmartFeeE400(code string, message string, ) *EstimateTransactionSmartFeeE400` + +NewEstimateTransactionSmartFeeE400 instantiates a new EstimateTransactionSmartFeeE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTransactionSmartFeeE400WithDefaults + +`func NewEstimateTransactionSmartFeeE400WithDefaults() *EstimateTransactionSmartFeeE400` + +NewEstimateTransactionSmartFeeE400WithDefaults instantiates a new EstimateTransactionSmartFeeE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateTransactionSmartFeeE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateTransactionSmartFeeE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateTransactionSmartFeeE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateTransactionSmartFeeE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateTransactionSmartFeeE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateTransactionSmartFeeE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateTransactionSmartFeeE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateTransactionSmartFeeE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateTransactionSmartFeeE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateTransactionSmartFeeE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTransactionSmartFeeE401.md b/docs/EstimateTransactionSmartFeeE401.md new file mode 100644 index 0000000..05bab0c --- /dev/null +++ b/docs/EstimateTransactionSmartFeeE401.md @@ -0,0 +1,98 @@ +# EstimateTransactionSmartFeeE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateTransactionSmartFeeE401 + +`func NewEstimateTransactionSmartFeeE401(code string, message string, ) *EstimateTransactionSmartFeeE401` + +NewEstimateTransactionSmartFeeE401 instantiates a new EstimateTransactionSmartFeeE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTransactionSmartFeeE401WithDefaults + +`func NewEstimateTransactionSmartFeeE401WithDefaults() *EstimateTransactionSmartFeeE401` + +NewEstimateTransactionSmartFeeE401WithDefaults instantiates a new EstimateTransactionSmartFeeE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateTransactionSmartFeeE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateTransactionSmartFeeE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateTransactionSmartFeeE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateTransactionSmartFeeE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateTransactionSmartFeeE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateTransactionSmartFeeE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateTransactionSmartFeeE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateTransactionSmartFeeE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateTransactionSmartFeeE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateTransactionSmartFeeE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTransactionSmartFeeE403.md b/docs/EstimateTransactionSmartFeeE403.md new file mode 100644 index 0000000..f220566 --- /dev/null +++ b/docs/EstimateTransactionSmartFeeE403.md @@ -0,0 +1,98 @@ +# EstimateTransactionSmartFeeE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewEstimateTransactionSmartFeeE403 + +`func NewEstimateTransactionSmartFeeE403(code string, message string, ) *EstimateTransactionSmartFeeE403` + +NewEstimateTransactionSmartFeeE403 instantiates a new EstimateTransactionSmartFeeE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTransactionSmartFeeE403WithDefaults + +`func NewEstimateTransactionSmartFeeE403WithDefaults() *EstimateTransactionSmartFeeE403` + +NewEstimateTransactionSmartFeeE403WithDefaults instantiates a new EstimateTransactionSmartFeeE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *EstimateTransactionSmartFeeE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *EstimateTransactionSmartFeeE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *EstimateTransactionSmartFeeE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *EstimateTransactionSmartFeeE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *EstimateTransactionSmartFeeE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *EstimateTransactionSmartFeeE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *EstimateTransactionSmartFeeE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *EstimateTransactionSmartFeeE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *EstimateTransactionSmartFeeE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *EstimateTransactionSmartFeeE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTransactionSmartFeeR.md b/docs/EstimateTransactionSmartFeeR.md new file mode 100644 index 0000000..38b012f --- /dev/null +++ b/docs/EstimateTransactionSmartFeeR.md @@ -0,0 +1,119 @@ +# EstimateTransactionSmartFeeR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**EstimateTransactionSmartFeeRData**](EstimateTransactionSmartFeeRData.md) | | + +## Methods + +### NewEstimateTransactionSmartFeeR + +`func NewEstimateTransactionSmartFeeR(apiVersion string, requestId string, data EstimateTransactionSmartFeeRData, ) *EstimateTransactionSmartFeeR` + +NewEstimateTransactionSmartFeeR instantiates a new EstimateTransactionSmartFeeR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTransactionSmartFeeRWithDefaults + +`func NewEstimateTransactionSmartFeeRWithDefaults() *EstimateTransactionSmartFeeR` + +NewEstimateTransactionSmartFeeRWithDefaults instantiates a new EstimateTransactionSmartFeeR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *EstimateTransactionSmartFeeR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *EstimateTransactionSmartFeeR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *EstimateTransactionSmartFeeR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *EstimateTransactionSmartFeeR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *EstimateTransactionSmartFeeR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *EstimateTransactionSmartFeeR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *EstimateTransactionSmartFeeR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *EstimateTransactionSmartFeeR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *EstimateTransactionSmartFeeR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *EstimateTransactionSmartFeeR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *EstimateTransactionSmartFeeR) GetData() EstimateTransactionSmartFeeRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *EstimateTransactionSmartFeeR) GetDataOk() (*EstimateTransactionSmartFeeRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *EstimateTransactionSmartFeeR) SetData(v EstimateTransactionSmartFeeRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTransactionSmartFeeRData.md b/docs/EstimateTransactionSmartFeeRData.md new file mode 100644 index 0000000..1f68b4e --- /dev/null +++ b/docs/EstimateTransactionSmartFeeRData.md @@ -0,0 +1,51 @@ +# EstimateTransactionSmartFeeRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**EstimateTransactionSmartFeeRI**](EstimateTransactionSmartFeeRI.md) | | + +## Methods + +### NewEstimateTransactionSmartFeeRData + +`func NewEstimateTransactionSmartFeeRData(item EstimateTransactionSmartFeeRI, ) *EstimateTransactionSmartFeeRData` + +NewEstimateTransactionSmartFeeRData instantiates a new EstimateTransactionSmartFeeRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTransactionSmartFeeRDataWithDefaults + +`func NewEstimateTransactionSmartFeeRDataWithDefaults() *EstimateTransactionSmartFeeRData` + +NewEstimateTransactionSmartFeeRDataWithDefaults instantiates a new EstimateTransactionSmartFeeRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *EstimateTransactionSmartFeeRData) GetItem() EstimateTransactionSmartFeeRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *EstimateTransactionSmartFeeRData) GetItemOk() (*EstimateTransactionSmartFeeRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *EstimateTransactionSmartFeeRData) SetItem(v EstimateTransactionSmartFeeRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EstimateTransactionSmartFeeRI.md b/docs/EstimateTransactionSmartFeeRI.md new file mode 100644 index 0000000..d022cdd --- /dev/null +++ b/docs/EstimateTransactionSmartFeeRI.md @@ -0,0 +1,93 @@ +# EstimateTransactionSmartFeeRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfirmationTarget** | **int32** | Represents the confirmation target in blocks | +**FeeRate** | **string** | Represents the Fee Rate value. | +**Unit** | **string** | Defines the fee unit. | + +## Methods + +### NewEstimateTransactionSmartFeeRI + +`func NewEstimateTransactionSmartFeeRI(confirmationTarget int32, feeRate string, unit string, ) *EstimateTransactionSmartFeeRI` + +NewEstimateTransactionSmartFeeRI instantiates a new EstimateTransactionSmartFeeRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewEstimateTransactionSmartFeeRIWithDefaults + +`func NewEstimateTransactionSmartFeeRIWithDefaults() *EstimateTransactionSmartFeeRI` + +NewEstimateTransactionSmartFeeRIWithDefaults instantiates a new EstimateTransactionSmartFeeRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetConfirmationTarget + +`func (o *EstimateTransactionSmartFeeRI) GetConfirmationTarget() int32` + +GetConfirmationTarget returns the ConfirmationTarget field if non-nil, zero value otherwise. + +### GetConfirmationTargetOk + +`func (o *EstimateTransactionSmartFeeRI) GetConfirmationTargetOk() (*int32, bool)` + +GetConfirmationTargetOk returns a tuple with the ConfirmationTarget field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfirmationTarget + +`func (o *EstimateTransactionSmartFeeRI) SetConfirmationTarget(v int32)` + +SetConfirmationTarget sets ConfirmationTarget field to given value. + + +### GetFeeRate + +`func (o *EstimateTransactionSmartFeeRI) GetFeeRate() string` + +GetFeeRate returns the FeeRate field if non-nil, zero value otherwise. + +### GetFeeRateOk + +`func (o *EstimateTransactionSmartFeeRI) GetFeeRateOk() (*string, bool)` + +GetFeeRateOk returns a tuple with the FeeRate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeeRate + +`func (o *EstimateTransactionSmartFeeRI) SetFeeRate(v string)` + +SetFeeRate sets FeeRate field to given value. + + +### GetUnit + +`func (o *EstimateTransactionSmartFeeRI) GetUnit() string` + +GetUnit returns the Unit field if non-nil, zero value otherwise. + +### GetUnitOk + +`func (o *EstimateTransactionSmartFeeRI) GetUnitOk() (*string, bool)` + +GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnit + +`func (o *EstimateTransactionSmartFeeRI) SetUnit(v string)` + +SetUnit sets Unit field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ExchangeRatesApi.md b/docs/ExchangeRatesApi.md index dfd8957..6327a43 100644 --- a/docs/ExchangeRatesApi.md +++ b/docs/ExchangeRatesApi.md @@ -32,12 +32,12 @@ import ( func main() { fromAssetSymbol := "btc" // string | Defines the base asset symbol to get a rate for. toAssetSymbol := "usd" // string | Defines the relation asset symbol in which the base asset rate will be displayed. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) calculationTimestamp := int32(1635514425) // int32 | Defines the time of the market data used to calculate the exchange rate in UNIX Timestamp. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ExchangeRatesApi.GetExchangeRateByAssetSymbols(context.Background(), fromAssetSymbol, toAssetSymbol).Context(context).CalculationTimestamp(calculationTimestamp).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExchangeRatesApi.GetExchangeRateByAssetSymbols(context.Background(), fromAssetSymbol, toAssetSymbol).Context(context).CalculationTimestamp(calculationTimestamp).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ExchangeRatesApi.GetExchangeRateByAssetSymbols``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -109,12 +109,12 @@ import ( func main() { fromAssetId := "5b1ea92e584bf50020130612" // string | Defines the base asset Reference ID to get a rate for. toAssetId := "5b1ea92e584bf50020130615" // string | Defines the relation asset Reference ID in which the base asset rate will be displayed. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) calculationTimestamp := int32(1618577849) // int32 | Defines the time of the market data used to calculate the exchange rate in UNIX Timestamp. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ExchangeRatesApi.GetExchangeRateByAssetsIDs(context.Background(), fromAssetId, toAssetId).Context(context).CalculationTimestamp(calculationTimestamp).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExchangeRatesApi.GetExchangeRateByAssetsIDs(context.Background(), fromAssetId, toAssetId).Context(context).CalculationTimestamp(calculationTimestamp).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ExchangeRatesApi.GetExchangeRateByAssetsIDs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/FeaturesApi.md b/docs/FeaturesApi.md index afeb43c..52953ef 100644 --- a/docs/FeaturesApi.md +++ b/docs/FeaturesApi.md @@ -5,6 +5,12 @@ All URIs are relative to *https://rest.cryptoapis.io/v2* Method | HTTP request | Description ------------- | ------------- | ------------- [**BroadcastLocallySignedTransaction**](FeaturesApi.md#BroadcastLocallySignedTransaction) | **Post** /blockchain-tools/{blockchain}/{network}/transactions/broadcast | Broadcast Locally Signed Transaction +[**DecodeRawTransactionHex**](FeaturesApi.md#DecodeRawTransactionHex) | **Post** /blockchain-tools/{blockchain}/{network}/decode-raw-transaction | Decode Raw Transaction Hex +[**DecodeXAddress**](FeaturesApi.md#DecodeXAddress) | **Get** /blockchain-tools/{blockchain}/{network}/decode-x-address/{xAddress} | Decode X-Address +[**DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses**](FeaturesApi.md#DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses) | **Get** /blockchain-tools/{blockchain}/{network}/hd/{extendedPublicKey}/addresses/derive-address | Derive HD Wallet (xPub, yPub, zPub) Change Or Receiving Addresses +[**EncodeXAddress**](FeaturesApi.md#EncodeXAddress) | **Get** /blockchain-tools/{blockchain}/{network}/encode-x-address/{classicAddress}/{addressTag} | Encode X-Address +[**EstimateGasLimit**](FeaturesApi.md#EstimateGasLimit) | **Post** /blockchain-tools/{blockchain}/{network}/gas-limit | Estimate Gas Limit +[**EstimateTokenGasLimit**](FeaturesApi.md#EstimateTokenGasLimit) | **Post** /blockchain-tools/{blockchain}/{network}/gas-limit/contract | Estimate Token Gas Limit [**GetEIP1559FeeRecommendations**](FeaturesApi.md#GetEIP1559FeeRecommendations) | **Get** /blockchain-tools/{blockchain}/{network}/fees/eip1559 | Get EIP 1559 Fee Recommendations [**ValidateAddress**](FeaturesApi.md#ValidateAddress) | **Post** /blockchain-tools/{blockchain}/{network}/addresses/validate | Validate Address @@ -33,12 +39,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) broadcastLocallySignedTransactionRB := *openapiclient.NewBroadcastLocallySignedTransactionRB(*openapiclient.NewBroadcastLocallySignedTransactionRBData(*openapiclient.NewBroadcastLocallySignedTransactionRBDataItem("0xf86a22827d00831e8480941b85a43e2e7f52e766ddfdfa2b901c42cb1201be8801b27f33b807c0008029a084ccbf02b27e0842fb1eda7a187a5589c3759be0e969e0ca989dc469a5e5e394a02e111e1156b197f1de4c1d9ba4af26e50665ea6d617d05b3e4047da12b915e69"))) // BroadcastLocallySignedTransactionRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.FeaturesApi.BroadcastLocallySignedTransaction(context.Background(), blockchain, network).Context(context).BroadcastLocallySignedTransactionRB(broadcastLocallySignedTransactionRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.BroadcastLocallySignedTransaction(context.Background(), blockchain, network).Context(context).BroadcastLocallySignedTransactionRB(broadcastLocallySignedTransactionRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.BroadcastLocallySignedTransaction``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -87,6 +93,482 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## DecodeRawTransactionHex + +> DecodeRawTransactionHexR DecodeRawTransactionHex(ctx, blockchain, network).Context(context).DecodeRawTransactionHexRB(decodeRawTransactionHexRB).Execute() + +Decode Raw Transaction Hex + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + decodeRawTransactionHexRB := *openapiclient.NewDecodeRawTransactionHexRB(*openapiclient.NewDecodeRawTransactionHexRBData(*openapiclient.NewDecodeRawTransactionHexRBDataItem("0100000001f3f6a909f8521adb57d898d2985834e632374e770fd9e2b98656f1bf1fdfd427010000006b48304502203a776322ebf8eb8b58cc6ced4f2574f4c73aa664edce0b0022690f2f6f47c521022100b82353305988cb0ebd443089a173ceec93fe4dbfe98d74419ecc84a6a698e31d012103c5c1bc61f60ce3d6223a63cedbece03b12ef9f0068f2f3c4a7e7f06c523c3664ffffffff0260e31600000000001976a914977ae6e32349b99b72196cb62b5ef37329ed81b488ac063d1000000000001976a914f76bc4190f3d8e2315e5c11c59cfc8be9df747e388ac00000000"))) // DecodeRawTransactionHexRB | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.DecodeRawTransactionHex(context.Background(), blockchain, network).Context(context).DecodeRawTransactionHexRB(decodeRawTransactionHexRB).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.DecodeRawTransactionHex``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DecodeRawTransactionHex`: DecodeRawTransactionHexR + fmt.Fprintf(os.Stdout, "Response from `FeaturesApi.DecodeRawTransactionHex`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDecodeRawTransactionHexRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **decodeRawTransactionHexRB** | [**DecodeRawTransactionHexRB**](DecodeRawTransactionHexRB.md) | | + +### Return type + +[**DecodeRawTransactionHexR**](DecodeRawTransactionHexR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DecodeXAddress + +> DecodeXAddressR DecodeXAddress(ctx, blockchain, network, xAddress).Context(context).Execute() + +Decode X-Address + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "xrp" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + xAddress := "TVTMSyg6nRscAm2JtRd8hnpF9nD21CgZx6ibb9iy3EWHotV" // string | Represents the encoded classic address with its destination tag. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.DecodeXAddress(context.Background(), blockchain, network, xAddress).Context(context).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.DecodeXAddress``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DecodeXAddress`: DecodeXAddressR + fmt.Fprintf(os.Stdout, "Response from `FeaturesApi.DecodeXAddress`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**xAddress** | **string** | Represents the encoded classic address with its destination tag. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDecodeXAddressRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + +### Return type + +[**DecodeXAddressR**](DecodeXAddressR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses + +> DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses(ctx, blockchain, extendedPublicKey, network).Context(context).AddressFormat(addressFormat).AddressesCount(addressesCount).IsChange(isChange).StartIndex(startIndex).Execute() + +Derive HD Wallet (xPub, yPub, zPub) Change Or Receiving Addresses + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + extendedPublicKey := "upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ" // string | Defines the account extended publicly known key which is used to derive all child public keys. + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + addressFormat := "p2sh" // string | Represents the format of the address. (optional) + addressesCount := int32(2) // int32 | Represents the addresses count. (optional) + isChange := true // bool | Defines if the specific address is a change or deposit address. If the value is True - it is a change address, if it is False - it is a Deposit address. (optional) + startIndex := int32(3) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses(context.Background(), blockchain, extendedPublicKey, network).Context(context).AddressFormat(addressFormat).AddressesCount(addressesCount).IsChange(isChange).StartIndex(startIndex).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses`: DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR + fmt.Fprintf(os.Stdout, "Response from `FeaturesApi.DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**extendedPublicKey** | **string** | Defines the account extended publicly known key which is used to derive all child public keys. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **addressFormat** | **string** | Represents the format of the address. | + **addressesCount** | **int32** | Represents the addresses count. | + **isChange** | **bool** | Defines if the specific address is a change or deposit address. If the value is True - it is a change address, if it is False - it is a Deposit address. | + **startIndex** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | + +### Return type + +[**DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR**](DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## EncodeXAddress + +> EncodeXAddressR EncodeXAddress(ctx, addressTag, blockchain, classicAddress, network).Context(context).Execute() + +Encode X-Address + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + addressTag := int32(3999472835) // int32 | Defines a specific Tag that is an additional XRP address feature. It helps identifying a transaction recipient beyond a wallet address. + blockchain := "xrp" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + classicAddress := "rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z" // string | Represents the public address, which is a compressed and shortened form of a public key. + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.EncodeXAddress(context.Background(), addressTag, blockchain, classicAddress, network).Context(context).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.EncodeXAddress``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `EncodeXAddress`: EncodeXAddressR + fmt.Fprintf(os.Stdout, "Response from `FeaturesApi.EncodeXAddress`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**addressTag** | **int32** | Defines a specific Tag that is an additional XRP address feature. It helps identifying a transaction recipient beyond a wallet address. | +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**classicAddress** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiEncodeXAddressRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + +### Return type + +[**EncodeXAddressR**](EncodeXAddressR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## EstimateGasLimit + +> EstimateGasLimitR EstimateGasLimit(ctx, blockchain, network).Context(context).EstimateGasLimitRB(estimateGasLimitRB).Execute() + +Estimate Gas Limit + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum. + network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + estimateGasLimitRB := *openapiclient.NewEstimateGasLimitRB(*openapiclient.NewEstimateGasLimitRBData(*openapiclient.NewEstimateGasLimitRBDataItem("0.002", "0xc065b539490f81b6c297c37b1925c3be2f190738", "0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5"))) // EstimateGasLimitRB | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.EstimateGasLimit(context.Background(), blockchain, network).Context(context).EstimateGasLimitRB(estimateGasLimitRB).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.EstimateGasLimit``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `EstimateGasLimit`: EstimateGasLimitR + fmt.Fprintf(os.Stdout, "Response from `FeaturesApi.EstimateGasLimit`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiEstimateGasLimitRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **estimateGasLimitRB** | [**EstimateGasLimitRB**](EstimateGasLimitRB.md) | | + +### Return type + +[**EstimateGasLimitR**](EstimateGasLimitR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## EstimateTokenGasLimit + +> EstimateTokenGasLimitR EstimateTokenGasLimit(ctx, blockchain, network).Context(context).EstimateTokenGasLimitRB(estimateTokenGasLimitRB).Execute() + +Estimate Token Gas Limit + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum. + network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + estimateTokenGasLimitRB := *openapiclient.NewEstimateTokenGasLimitRB(*openapiclient.NewEstimateTokenGasLimitRBData(*openapiclient.NewEstimateTokenGasLimitRBDataItem("0.12", "0x092de782a7e1e0a92991ad829a0a33aef3c7545e", "ERC-20", "0xc065b539490f81b6c297c37b1925c3be2f190738", "0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5"))) // EstimateTokenGasLimitRB | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.EstimateTokenGasLimit(context.Background(), blockchain, network).Context(context).EstimateTokenGasLimitRB(estimateTokenGasLimitRB).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.EstimateTokenGasLimit``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `EstimateTokenGasLimit`: EstimateTokenGasLimitR + fmt.Fprintf(os.Stdout, "Response from `FeaturesApi.EstimateTokenGasLimit`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiEstimateTokenGasLimitRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **estimateTokenGasLimitRB** | [**EstimateTokenGasLimitRB**](EstimateTokenGasLimitRB.md) | | + +### Return type + +[**EstimateTokenGasLimitR**](EstimateTokenGasLimitR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GetEIP1559FeeRecommendations > GetEIP1559FeeRecommendationsR GetEIP1559FeeRecommendations(ctx, network, blockchain).Context(context).Execute() @@ -110,11 +592,11 @@ import ( func main() { network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.FeaturesApi.GetEIP1559FeeRecommendations(context.Background(), network, blockchain).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.GetEIP1559FeeRecommendations(context.Background(), network, blockchain).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.GetEIP1559FeeRecommendations``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -185,12 +667,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) validateAddressRB := *openapiclient.NewValidateAddressRB(*openapiclient.NewValidateAddressRBData(*openapiclient.NewValidateAddressRBDataItem("mho4jHBcrNCncKt38trJahXakuaBnS7LK5"))) // ValidateAddressRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.FeaturesApi.ValidateAddress(context.Background(), blockchain, network).Context(context).ValidateAddressRB(validateAddressRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.FeaturesApi.ValidateAddress(context.Background(), blockchain, network).Context(context).ValidateAddressRB(validateAddressRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `FeaturesApi.ValidateAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/GeneratingApi.md b/docs/GeneratingApi.md index be2e315..ea0835f 100644 --- a/docs/GeneratingApi.md +++ b/docs/GeneratingApi.md @@ -32,12 +32,12 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. walletId := "60c9d9921c38030006675ff6" // string | Represents the unique ID of the specific Wallet. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) generateDepositAddressRB := *openapiclient.NewGenerateDepositAddressRB(*openapiclient.NewGenerateDepositAddressRBData(*openapiclient.NewGenerateDepositAddressRBDataItem("yourLabelStringHere"))) // GenerateDepositAddressRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.GeneratingApi.GenerateDepositAddress(context.Background(), blockchain, network, walletId).Context(context).GenerateDepositAddressRB(generateDepositAddressRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.GeneratingApi.GenerateDepositAddress(context.Background(), blockchain, network, walletId).Context(context).GenerateDepositAddressRB(generateDepositAddressRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `GeneratingApi.GenerateDepositAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/GetAddressDetailsFromCallbackRI.md b/docs/GetAddressDetailsFromCallbackRI.md index 5977aef..77f8338 100644 --- a/docs/GetAddressDetailsFromCallbackRI.md +++ b/docs/GetAddressDetailsFromCallbackRI.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **ConfirmedBalance** | [**GetAddressDetailsRIConfirmedBalance**](GetAddressDetailsRIConfirmedBalance.md) | | **TotalReceived** | Pointer to [**GetAddressDetailsFromCallbackRITotalReceived**](GetAddressDetailsFromCallbackRITotalReceived.md) | | [optional] **TotalSpent** | Pointer to [**GetAddressDetailsFromCallbackRITotalSpent**](GetAddressDetailsFromCallbackRITotalSpent.md) | | [optional] -**Sequence** | Pointer to **int32** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | [optional] +**Sequence** | Pointer to **int64** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | [optional] ## Methods @@ -163,20 +163,20 @@ HasTotalSpent returns a boolean if a field has been set. ### GetSequence -`func (o *GetAddressDetailsFromCallbackRI) GetSequence() int32` +`func (o *GetAddressDetailsFromCallbackRI) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetAddressDetailsFromCallbackRI) GetSequenceOk() (*int32, bool)` +`func (o *GetAddressDetailsFromCallbackRI) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetAddressDetailsFromCallbackRI) SetSequence(v int32)` +`func (o *GetAddressDetailsFromCallbackRI) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetAddressDetailsRI.md b/docs/GetAddressDetailsRI.md index 503177d..e31ec32 100644 --- a/docs/GetAddressDetailsRI.md +++ b/docs/GetAddressDetailsRI.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **ConfirmedBalance** | [**GetAddressDetailsRIConfirmedBalance**](GetAddressDetailsRIConfirmedBalance.md) | | **TotalReceived** | [**GetAddressDetailsRITotalReceived**](GetAddressDetailsRITotalReceived.md) | | **TotalSpent** | [**GetAddressDetailsRITotalSpent**](GetAddressDetailsRITotalSpent.md) | | -**IncomingTransactionsCount** | **int32** | Defines the count of the incoming transactions. | -**OutgoingTransactionsCount** | **int32** | Defines the count of the outgoing transactions. | +**IncomingTransactionsCount** | **int32** | Defines the received transaction count to the address. | +**OutgoingTransactionsCount** | **int32** | Defines the sent transaction count from the address. | ## Methods diff --git a/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE400.md b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE400.md new file mode 100644 index 0000000..c6c115f --- /dev/null +++ b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE400.md @@ -0,0 +1,98 @@ +# GetBlockchainEventSubscriptionDetailsByReferenceIDE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDE400 + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDE400(code string, message string, ) *GetBlockchainEventSubscriptionDetailsByReferenceIDE400` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDE400 instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDE400WithDefaults + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDE400WithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDE400` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDE400WithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE401.md b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE401.md new file mode 100644 index 0000000..7972131 --- /dev/null +++ b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE401.md @@ -0,0 +1,98 @@ +# GetBlockchainEventSubscriptionDetailsByReferenceIDE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDE401 + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDE401(code string, message string, ) *GetBlockchainEventSubscriptionDetailsByReferenceIDE401` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDE401 instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDE401WithDefaults + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDE401WithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDE401` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDE401WithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE403.md b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE403.md new file mode 100644 index 0000000..dda8df7 --- /dev/null +++ b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDE403.md @@ -0,0 +1,98 @@ +# GetBlockchainEventSubscriptionDetailsByReferenceIDE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDE403 + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDE403(code string, message string, ) *GetBlockchainEventSubscriptionDetailsByReferenceIDE403` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDE403 instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDE403WithDefaults + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDE403WithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDE403` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDE403WithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDR.md b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDR.md new file mode 100644 index 0000000..02715e2 --- /dev/null +++ b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDR.md @@ -0,0 +1,119 @@ +# GetBlockchainEventSubscriptionDetailsByReferenceIDR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**GetBlockchainEventSubscriptionDetailsByReferenceIDRData**](GetBlockchainEventSubscriptionDetailsByReferenceIDRData.md) | | + +## Methods + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDR + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDR(apiVersion string, requestId string, data GetBlockchainEventSubscriptionDetailsByReferenceIDRData, ) *GetBlockchainEventSubscriptionDetailsByReferenceIDR` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDR instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDRWithDefaults + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRWithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDR` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDRWithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetData() GetBlockchainEventSubscriptionDetailsByReferenceIDRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetDataOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) SetData(v GetBlockchainEventSubscriptionDetailsByReferenceIDRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDRData.md b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDRData.md new file mode 100644 index 0000000..3c7768c --- /dev/null +++ b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDRData.md @@ -0,0 +1,51 @@ +# GetBlockchainEventSubscriptionDetailsByReferenceIDRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**GetBlockchainEventSubscriptionDetailsByReferenceIDRI**](GetBlockchainEventSubscriptionDetailsByReferenceIDRI.md) | | + +## Methods + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDRData + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRData(item GetBlockchainEventSubscriptionDetailsByReferenceIDRI, ) *GetBlockchainEventSubscriptionDetailsByReferenceIDRData` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDRData instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDRDataWithDefaults + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRDataWithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDRData` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDRDataWithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRData) GetItem() GetBlockchainEventSubscriptionDetailsByReferenceIDRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRData) GetItemOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRData) SetItem(v GetBlockchainEventSubscriptionDetailsByReferenceIDRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDRI.md b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDRI.md new file mode 100644 index 0000000..d036716 --- /dev/null +++ b/docs/GetBlockchainEventSubscriptionDetailsByReferenceIDRI.md @@ -0,0 +1,307 @@ +# GetBlockchainEventSubscriptionDetailsByReferenceIDRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | Represents the address of the transaction. | [optional] +**Blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**ConfirmationsCount** | Pointer to **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | [optional] +**CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | +**DeactivationReasons** | Pointer to [**[]ListBlockchainEventsSubscriptionsRIDeactivationReasons**](ListBlockchainEventsSubscriptionsRIDeactivationReasons.md) | Represents the deactivation reason details, available when a blockchain event subscription has status isActive - false. | [optional] +**EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | +**IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | +**Network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**ReferenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | +**TransactionId** | Pointer to **string** | Represents the unique identification string that defines the transaction. | [optional] + +## Methods + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDRI + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRI(blockchain string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, network string, referenceId string, ) *GetBlockchainEventSubscriptionDetailsByReferenceIDRI` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDRI instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetBlockchainEventSubscriptionDetailsByReferenceIDRIWithDefaults + +`func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRIWithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDRI` + +NewGetBlockchainEventSubscriptionDetailsByReferenceIDRIWithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetBlockchain + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetBlockchain() string` + +GetBlockchain returns the Blockchain field if non-nil, zero value otherwise. + +### GetBlockchainOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetBlockchainOk() (*string, bool)` + +GetBlockchainOk returns a tuple with the Blockchain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBlockchain + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetBlockchain(v string)` + +SetBlockchain sets Blockchain field to given value. + + +### GetCallbackSecretKey + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCallbackSecretKey() string` + +GetCallbackSecretKey returns the CallbackSecretKey field if non-nil, zero value otherwise. + +### GetCallbackSecretKeyOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCallbackSecretKeyOk() (*string, bool)` + +GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCallbackSecretKey + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetCallbackSecretKey(v string)` + +SetCallbackSecretKey sets CallbackSecretKey field to given value. + +### HasCallbackSecretKey + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasCallbackSecretKey() bool` + +HasCallbackSecretKey returns a boolean if a field has been set. + +### GetCallbackUrl + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCallbackUrl() string` + +GetCallbackUrl returns the CallbackUrl field if non-nil, zero value otherwise. + +### GetCallbackUrlOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCallbackUrlOk() (*string, bool)` + +GetCallbackUrlOk returns a tuple with the CallbackUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCallbackUrl + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetCallbackUrl(v string)` + +SetCallbackUrl sets CallbackUrl field to given value. + + +### GetConfirmationsCount + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetConfirmationsCount() int32` + +GetConfirmationsCount returns the ConfirmationsCount field if non-nil, zero value otherwise. + +### GetConfirmationsCountOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetConfirmationsCountOk() (*int32, bool)` + +GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfirmationsCount + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetConfirmationsCount(v int32)` + +SetConfirmationsCount sets ConfirmationsCount field to given value. + +### HasConfirmationsCount + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasConfirmationsCount() bool` + +HasConfirmationsCount returns a boolean if a field has been set. + +### GetCreatedTimestamp + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCreatedTimestamp() int32` + +GetCreatedTimestamp returns the CreatedTimestamp field if non-nil, zero value otherwise. + +### GetCreatedTimestampOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCreatedTimestampOk() (*int32, bool)` + +GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedTimestamp + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetCreatedTimestamp(v int32)` + +SetCreatedTimestamp sets CreatedTimestamp field to given value. + + +### GetDeactivationReasons + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetDeactivationReasons() []ListBlockchainEventsSubscriptionsRIDeactivationReasons` + +GetDeactivationReasons returns the DeactivationReasons field if non-nil, zero value otherwise. + +### GetDeactivationReasonsOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetDeactivationReasonsOk() (*[]ListBlockchainEventsSubscriptionsRIDeactivationReasons, bool)` + +GetDeactivationReasonsOk returns a tuple with the DeactivationReasons field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeactivationReasons + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetDeactivationReasons(v []ListBlockchainEventsSubscriptionsRIDeactivationReasons)` + +SetDeactivationReasons sets DeactivationReasons field to given value. + +### HasDeactivationReasons + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasDeactivationReasons() bool` + +HasDeactivationReasons returns a boolean if a field has been set. + +### GetEventType + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetEventType() string` + +GetEventType returns the EventType field if non-nil, zero value otherwise. + +### GetEventTypeOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetEventTypeOk() (*string, bool)` + +GetEventTypeOk returns a tuple with the EventType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEventType + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetEventType(v string)` + +SetEventType sets EventType field to given value. + + +### GetIsActive + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + + +### GetNetwork + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetNetwork() string` + +GetNetwork returns the Network field if non-nil, zero value otherwise. + +### GetNetworkOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetNetworkOk() (*string, bool)` + +GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNetwork + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetNetwork(v string)` + +SetNetwork sets Network field to given value. + + +### GetReferenceId + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetReferenceId() string` + +GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise. + +### GetReferenceIdOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetReferenceIdOk() (*string, bool)` + +GetReferenceIdOk returns a tuple with the ReferenceId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceId + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetReferenceId(v string)` + +SetReferenceId sets ReferenceId field to given value. + + +### GetTransactionId + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetTransactionId() string` + +GetTransactionId returns the TransactionId field if non-nil, zero value otherwise. + +### GetTransactionIdOk + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetTransactionIdOk() (*string, bool)` + +GetTransactionIdOk returns a tuple with the TransactionId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionId + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetTransactionId(v string)` + +SetTransactionId sets TransactionId field to given value. + +### HasTransactionId + +`func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasTransactionId() bool` + +HasTransactionId returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetFeeRecommendationsRI.md b/docs/GetFeeRecommendationsRI.md index 869441f..83234b4 100644 --- a/docs/GetFeeRecommendationsRI.md +++ b/docs/GetFeeRecommendationsRI.md @@ -8,12 +8,13 @@ Name | Type | Description | Notes **Fast** | **string** | Fast fee per byte calculated from unconfirmed transactions | **Slow** | **string** | Slow fee per byte calculated from unconfirmed transactions | **Standard** | **string** | Standard fee per byte calculated from unconfirmed transactions | +**FeeCushionMultiplier** | **string** | Represents the fee cushion multiplier used to multiply the base fee. | ## Methods ### NewGetFeeRecommendationsRI -`func NewGetFeeRecommendationsRI(unit string, fast string, slow string, standard string, ) *GetFeeRecommendationsRI` +`func NewGetFeeRecommendationsRI(unit string, fast string, slow string, standard string, feeCushionMultiplier string, ) *GetFeeRecommendationsRI` NewGetFeeRecommendationsRI instantiates a new GetFeeRecommendationsRI object This constructor will assign default values to properties that have it defined, @@ -108,6 +109,26 @@ and a boolean to check if the value has been set. SetStandard sets Standard field to given value. +### GetFeeCushionMultiplier + +`func (o *GetFeeRecommendationsRI) GetFeeCushionMultiplier() string` + +GetFeeCushionMultiplier returns the FeeCushionMultiplier field if non-nil, zero value otherwise. + +### GetFeeCushionMultiplierOk + +`func (o *GetFeeRecommendationsRI) GetFeeCushionMultiplierOk() (*string, bool)` + +GetFeeCushionMultiplierOk returns a tuple with the FeeCushionMultiplier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeeCushionMultiplier + +`func (o *GetFeeRecommendationsRI) SetFeeCushionMultiplier(v string)` + +SetFeeCushionMultiplier sets FeeCushionMultiplier field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetHDWalletXPubYPubZPubAssetsE400.md b/docs/GetHDWalletXPubYPubZPubAssetsE400.md new file mode 100644 index 0000000..a0b0516 --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsE400.md @@ -0,0 +1,98 @@ +# GetHDWalletXPubYPubZPubAssetsE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsE400 + +`func NewGetHDWalletXPubYPubZPubAssetsE400(code string, message string, ) *GetHDWalletXPubYPubZPubAssetsE400` + +NewGetHDWalletXPubYPubZPubAssetsE400 instantiates a new GetHDWalletXPubYPubZPubAssetsE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsE400WithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsE400WithDefaults() *GetHDWalletXPubYPubZPubAssetsE400` + +NewGetHDWalletXPubYPubZPubAssetsE400WithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsE401.md b/docs/GetHDWalletXPubYPubZPubAssetsE401.md new file mode 100644 index 0000000..01bd51d --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsE401.md @@ -0,0 +1,98 @@ +# GetHDWalletXPubYPubZPubAssetsE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsE401 + +`func NewGetHDWalletXPubYPubZPubAssetsE401(code string, message string, ) *GetHDWalletXPubYPubZPubAssetsE401` + +NewGetHDWalletXPubYPubZPubAssetsE401 instantiates a new GetHDWalletXPubYPubZPubAssetsE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsE401WithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsE401WithDefaults() *GetHDWalletXPubYPubZPubAssetsE401` + +NewGetHDWalletXPubYPubZPubAssetsE401WithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsE403.md b/docs/GetHDWalletXPubYPubZPubAssetsE403.md new file mode 100644 index 0000000..9c328e5 --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsE403.md @@ -0,0 +1,98 @@ +# GetHDWalletXPubYPubZPubAssetsE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsE403 + +`func NewGetHDWalletXPubYPubZPubAssetsE403(code string, message string, ) *GetHDWalletXPubYPubZPubAssetsE403` + +NewGetHDWalletXPubYPubZPubAssetsE403 instantiates a new GetHDWalletXPubYPubZPubAssetsE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsE403WithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsE403WithDefaults() *GetHDWalletXPubYPubZPubAssetsE403` + +NewGetHDWalletXPubYPubZPubAssetsE403WithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsE422.md b/docs/GetHDWalletXPubYPubZPubAssetsE422.md new file mode 100644 index 0000000..614c205 --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsE422.md @@ -0,0 +1,98 @@ +# GetHDWalletXPubYPubZPubAssetsE422 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsE422 + +`func NewGetHDWalletXPubYPubZPubAssetsE422(code string, message string, ) *GetHDWalletXPubYPubZPubAssetsE422` + +NewGetHDWalletXPubYPubZPubAssetsE422 instantiates a new GetHDWalletXPubYPubZPubAssetsE422 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsE422WithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsE422WithDefaults() *GetHDWalletXPubYPubZPubAssetsE422` + +NewGetHDWalletXPubYPubZPubAssetsE422WithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsE422 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetHDWalletXPubYPubZPubAssetsE422) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsR.md b/docs/GetHDWalletXPubYPubZPubAssetsR.md new file mode 100644 index 0000000..ceb01b5 --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsR.md @@ -0,0 +1,119 @@ +# GetHDWalletXPubYPubZPubAssetsR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**GetHDWalletXPubYPubZPubAssetsRData**](GetHDWalletXPubYPubZPubAssetsRData.md) | | + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsR + +`func NewGetHDWalletXPubYPubZPubAssetsR(apiVersion string, requestId string, data GetHDWalletXPubYPubZPubAssetsRData, ) *GetHDWalletXPubYPubZPubAssetsR` + +NewGetHDWalletXPubYPubZPubAssetsR instantiates a new GetHDWalletXPubYPubZPubAssetsR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsRWithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsRWithDefaults() *GetHDWalletXPubYPubZPubAssetsR` + +NewGetHDWalletXPubYPubZPubAssetsRWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *GetHDWalletXPubYPubZPubAssetsR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *GetHDWalletXPubYPubZPubAssetsR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *GetHDWalletXPubYPubZPubAssetsR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *GetHDWalletXPubYPubZPubAssetsR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *GetHDWalletXPubYPubZPubAssetsR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *GetHDWalletXPubYPubZPubAssetsR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *GetHDWalletXPubYPubZPubAssetsR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *GetHDWalletXPubYPubZPubAssetsR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *GetHDWalletXPubYPubZPubAssetsR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *GetHDWalletXPubYPubZPubAssetsR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *GetHDWalletXPubYPubZPubAssetsR) GetData() GetHDWalletXPubYPubZPubAssetsRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GetHDWalletXPubYPubZPubAssetsR) GetDataOk() (*GetHDWalletXPubYPubZPubAssetsRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GetHDWalletXPubYPubZPubAssetsR) SetData(v GetHDWalletXPubYPubZPubAssetsRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsRData.md b/docs/GetHDWalletXPubYPubZPubAssetsRData.md new file mode 100644 index 0000000..6b54929 --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsRData.md @@ -0,0 +1,51 @@ +# GetHDWalletXPubYPubZPubAssetsRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**GetHDWalletXPubYPubZPubAssetsRI**](GetHDWalletXPubYPubZPubAssetsRI.md) | | + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsRData + +`func NewGetHDWalletXPubYPubZPubAssetsRData(item GetHDWalletXPubYPubZPubAssetsRI, ) *GetHDWalletXPubYPubZPubAssetsRData` + +NewGetHDWalletXPubYPubZPubAssetsRData instantiates a new GetHDWalletXPubYPubZPubAssetsRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsRDataWithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsRDataWithDefaults() *GetHDWalletXPubYPubZPubAssetsRData` + +NewGetHDWalletXPubYPubZPubAssetsRDataWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *GetHDWalletXPubYPubZPubAssetsRData) GetItem() GetHDWalletXPubYPubZPubAssetsRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRData) GetItemOk() (*GetHDWalletXPubYPubZPubAssetsRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *GetHDWalletXPubYPubZPubAssetsRData) SetItem(v GetHDWalletXPubYPubZPubAssetsRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsRI.md b/docs/GetHDWalletXPubYPubZPubAssetsRI.md new file mode 100644 index 0000000..7dc80dd --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsRI.md @@ -0,0 +1,103 @@ +# GetHDWalletXPubYPubZPubAssetsRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FungibleTokens** | Pointer to [**[]GetHDWalletXPubYPubZPubAssetsRIFungibleTokens**](GetHDWalletXPubYPubZPubAssetsRIFungibleTokens.md) | Represents fungible tokens'es detailed information | [optional] +**NonFungibleTokens** | Pointer to [**[]GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens**](GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens.md) | Represents non-fungible tokens'es detailed information. | [optional] +**ConfirmedBalance** | [**GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance**](GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance.md) | | + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsRI + +`func NewGetHDWalletXPubYPubZPubAssetsRI(confirmedBalance GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance, ) *GetHDWalletXPubYPubZPubAssetsRI` + +NewGetHDWalletXPubYPubZPubAssetsRI instantiates a new GetHDWalletXPubYPubZPubAssetsRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsRIWithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsRIWithDefaults() *GetHDWalletXPubYPubZPubAssetsRI` + +NewGetHDWalletXPubYPubZPubAssetsRIWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetFungibleTokens + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) GetFungibleTokens() []GetHDWalletXPubYPubZPubAssetsRIFungibleTokens` + +GetFungibleTokens returns the FungibleTokens field if non-nil, zero value otherwise. + +### GetFungibleTokensOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) GetFungibleTokensOk() (*[]GetHDWalletXPubYPubZPubAssetsRIFungibleTokens, bool)` + +GetFungibleTokensOk returns a tuple with the FungibleTokens field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFungibleTokens + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) SetFungibleTokens(v []GetHDWalletXPubYPubZPubAssetsRIFungibleTokens)` + +SetFungibleTokens sets FungibleTokens field to given value. + +### HasFungibleTokens + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) HasFungibleTokens() bool` + +HasFungibleTokens returns a boolean if a field has been set. + +### GetNonFungibleTokens + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) GetNonFungibleTokens() []GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens` + +GetNonFungibleTokens returns the NonFungibleTokens field if non-nil, zero value otherwise. + +### GetNonFungibleTokensOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) GetNonFungibleTokensOk() (*[]GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens, bool)` + +GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonFungibleTokens + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) SetNonFungibleTokens(v []GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens)` + +SetNonFungibleTokens sets NonFungibleTokens field to given value. + +### HasNonFungibleTokens + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) HasNonFungibleTokens() bool` + +HasNonFungibleTokens returns a boolean if a field has been set. + +### GetConfirmedBalance + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) GetConfirmedBalance() GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance` + +GetConfirmedBalance returns the ConfirmedBalance field if non-nil, zero value otherwise. + +### GetConfirmedBalanceOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) GetConfirmedBalanceOk() (*GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance, bool)` + +GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfirmedBalance + +`func (o *GetHDWalletXPubYPubZPubAssetsRI) SetConfirmedBalance(v GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance)` + +SetConfirmedBalance sets ConfirmedBalance field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance.md b/docs/GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance.md new file mode 100644 index 0000000..03ff3ed --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance.md @@ -0,0 +1,72 @@ +# GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Amount** | **string** | Represents the confirmed balance for the specified blockchain protocol. | +**Unit** | **string** | Specifies the unit of the amount of the confirmed balance. | + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance + +`func NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance(amount string, unit string, ) *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance` + +NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance instantiates a new GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalanceWithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalanceWithDefaults() *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance` + +NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalanceWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAmount + +`func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) GetAmount() string` + +GetAmount returns the Amount field if non-nil, zero value otherwise. + +### GetAmountOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) GetAmountOk() (*string, bool)` + +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAmount + +`func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) SetAmount(v string)` + +SetAmount sets Amount field to given value. + + +### GetUnit + +`func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) GetUnit() string` + +GetUnit returns the Unit field if non-nil, zero value otherwise. + +### GetUnitOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) GetUnitOk() (*string, bool)` + +GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnit + +`func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) SetUnit(v string)` + +SetUnit sets Unit field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsRIFungibleTokens.md b/docs/GetHDWalletXPubYPubZPubAssetsRIFungibleTokens.md new file mode 100644 index 0000000..65b6580 --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsRIFungibleTokens.md @@ -0,0 +1,114 @@ +# GetHDWalletXPubYPubZPubAssetsRIFungibleTokens + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Amount** | **string** | Defines the amount of the fungible tokens. | +**Identifier** | **string** | Represents tokens' contract address. | +**Symbol** | **string** | Defines the symbol of the fungible token. | +**Type** | **string** | Defines the specific token type. | + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokens + +`func NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokens(amount string, identifier string, symbol string, type_ string, ) *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens` + +NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokens instantiates a new GetHDWalletXPubYPubZPubAssetsRIFungibleTokens object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokensWithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokensWithDefaults() *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens` + +NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokensWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRIFungibleTokens object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAmount + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetAmount() string` + +GetAmount returns the Amount field if non-nil, zero value otherwise. + +### GetAmountOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetAmountOk() (*string, bool)` + +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAmount + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) SetAmount(v string)` + +SetAmount sets Amount field to given value. + + +### GetIdentifier + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetIdentifier() string` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetIdentifierOk() (*string, bool)` + +GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifier + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) SetIdentifier(v string)` + +SetIdentifier sets Identifier field to given value. + + +### GetSymbol + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetSymbol() string` + +GetSymbol returns the Symbol field if non-nil, zero value otherwise. + +### GetSymbolOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetSymbolOk() (*string, bool)` + +GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSymbol + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) SetSymbol(v string)` + +SetSymbol sets Symbol field to given value. + + +### GetType + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) SetType(v string)` + +SetType sets Type field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens.md b/docs/GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens.md new file mode 100644 index 0000000..5a67355 --- /dev/null +++ b/docs/GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens.md @@ -0,0 +1,114 @@ +# GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identifier** | **string** | Represents tokens' contract address. | +**Symbol** | **string** | Defines the symbol of the non-fungible token. | +**TokenId** | **string** | Represents tokens' unique identifier. | +**Type** | **string** | Defines the specific token type. | + +## Methods + +### NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens + +`func NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens(identifier string, symbol string, tokenId string, type_ string, ) *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens` + +NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens instantiates a new GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokensWithDefaults + +`func NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokensWithDefaults() *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens` + +NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokensWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIdentifier + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetIdentifier() string` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetIdentifierOk() (*string, bool)` + +GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifier + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) SetIdentifier(v string)` + +SetIdentifier sets Identifier field to given value. + + +### GetSymbol + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetSymbol() string` + +GetSymbol returns the Symbol field if non-nil, zero value otherwise. + +### GetSymbolOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetSymbolOk() (*string, bool)` + +GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSymbol + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) SetSymbol(v string)` + +SetSymbol sets Symbol field to given value. + + +### GetTokenId + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetTokenId() string` + +GetTokenId returns the TokenId field if non-nil, zero value otherwise. + +### GetTokenIdOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetTokenIdOk() (*string, bool)` + +GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenId + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) SetTokenId(v string)` + +SetTokenId sets TokenId field to given value. + + +### GetType + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) SetType(v string)` + +SetType sets Type field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetHDWalletXPubYPubZPubDetailsRI.md b/docs/GetHDWalletXPubYPubZPubDetailsRI.md index b4c2bf2..c7c0a82 100644 --- a/docs/GetHDWalletXPubYPubZPubDetailsRI.md +++ b/docs/GetHDWalletXPubYPubZPubDetailsRI.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ConfirmedBalance** | **string** | Specifies the confirmed coins balance of the Wallet. | -**TotalReceived** | **string** | Defines the total currency received to the Wallet. | -**TotalSpent** | **string** | Defines the total currency spent from the Wallet. | +**TotalReceived** | Pointer to **string** | Defines the total currency received to the Wallet. | [optional] +**TotalSpent** | Pointer to **string** | Defines the total currency spent from the Wallet. | [optional] ## Methods ### NewGetHDWalletXPubYPubZPubDetailsRI -`func NewGetHDWalletXPubYPubZPubDetailsRI(confirmedBalance string, totalReceived string, totalSpent string, ) *GetHDWalletXPubYPubZPubDetailsRI` +`func NewGetHDWalletXPubYPubZPubDetailsRI(confirmedBalance string, ) *GetHDWalletXPubYPubZPubDetailsRI` NewGetHDWalletXPubYPubZPubDetailsRI instantiates a new GetHDWalletXPubYPubZPubDetailsRI object This constructor will assign default values to properties that have it defined, @@ -66,6 +66,11 @@ and a boolean to check if the value has been set. SetTotalReceived sets TotalReceived field to given value. +### HasTotalReceived + +`func (o *GetHDWalletXPubYPubZPubDetailsRI) HasTotalReceived() bool` + +HasTotalReceived returns a boolean if a field has been set. ### GetTotalSpent @@ -86,6 +91,11 @@ and a boolean to check if the value has been set. SetTotalSpent sets TotalSpent field to given value. +### HasTotalSpent + +`func (o *GetHDWalletXPubYPubZPubDetailsRI) HasTotalSpent() bool` + +HasTotalSpent returns a boolean if a field has been set. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetNextAvailableNonceE400.md b/docs/GetNextAvailableNonceE400.md new file mode 100644 index 0000000..50ba2a4 --- /dev/null +++ b/docs/GetNextAvailableNonceE400.md @@ -0,0 +1,98 @@ +# GetNextAvailableNonceE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetNextAvailableNonceE400 + +`func NewGetNextAvailableNonceE400(code string, message string, ) *GetNextAvailableNonceE400` + +NewGetNextAvailableNonceE400 instantiates a new GetNextAvailableNonceE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetNextAvailableNonceE400WithDefaults + +`func NewGetNextAvailableNonceE400WithDefaults() *GetNextAvailableNonceE400` + +NewGetNextAvailableNonceE400WithDefaults instantiates a new GetNextAvailableNonceE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetNextAvailableNonceE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetNextAvailableNonceE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetNextAvailableNonceE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetNextAvailableNonceE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetNextAvailableNonceE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetNextAvailableNonceE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetNextAvailableNonceE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetNextAvailableNonceE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetNextAvailableNonceE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetNextAvailableNonceE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetNextAvailableNonceE401.md b/docs/GetNextAvailableNonceE401.md new file mode 100644 index 0000000..916ee95 --- /dev/null +++ b/docs/GetNextAvailableNonceE401.md @@ -0,0 +1,98 @@ +# GetNextAvailableNonceE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetNextAvailableNonceE401 + +`func NewGetNextAvailableNonceE401(code string, message string, ) *GetNextAvailableNonceE401` + +NewGetNextAvailableNonceE401 instantiates a new GetNextAvailableNonceE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetNextAvailableNonceE401WithDefaults + +`func NewGetNextAvailableNonceE401WithDefaults() *GetNextAvailableNonceE401` + +NewGetNextAvailableNonceE401WithDefaults instantiates a new GetNextAvailableNonceE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetNextAvailableNonceE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetNextAvailableNonceE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetNextAvailableNonceE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetNextAvailableNonceE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetNextAvailableNonceE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetNextAvailableNonceE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetNextAvailableNonceE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetNextAvailableNonceE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetNextAvailableNonceE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetNextAvailableNonceE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetNextAvailableNonceE403.md b/docs/GetNextAvailableNonceE403.md new file mode 100644 index 0000000..76fe845 --- /dev/null +++ b/docs/GetNextAvailableNonceE403.md @@ -0,0 +1,98 @@ +# GetNextAvailableNonceE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetNextAvailableNonceE403 + +`func NewGetNextAvailableNonceE403(code string, message string, ) *GetNextAvailableNonceE403` + +NewGetNextAvailableNonceE403 instantiates a new GetNextAvailableNonceE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetNextAvailableNonceE403WithDefaults + +`func NewGetNextAvailableNonceE403WithDefaults() *GetNextAvailableNonceE403` + +NewGetNextAvailableNonceE403WithDefaults instantiates a new GetNextAvailableNonceE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetNextAvailableNonceE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetNextAvailableNonceE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetNextAvailableNonceE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetNextAvailableNonceE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetNextAvailableNonceE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetNextAvailableNonceE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetNextAvailableNonceE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetNextAvailableNonceE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetNextAvailableNonceE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetNextAvailableNonceE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetNextAvailableNonceR.md b/docs/GetNextAvailableNonceR.md new file mode 100644 index 0000000..05639b5 --- /dev/null +++ b/docs/GetNextAvailableNonceR.md @@ -0,0 +1,119 @@ +# GetNextAvailableNonceR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**GetNextAvailableNonceRData**](GetNextAvailableNonceRData.md) | | + +## Methods + +### NewGetNextAvailableNonceR + +`func NewGetNextAvailableNonceR(apiVersion string, requestId string, data GetNextAvailableNonceRData, ) *GetNextAvailableNonceR` + +NewGetNextAvailableNonceR instantiates a new GetNextAvailableNonceR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetNextAvailableNonceRWithDefaults + +`func NewGetNextAvailableNonceRWithDefaults() *GetNextAvailableNonceR` + +NewGetNextAvailableNonceRWithDefaults instantiates a new GetNextAvailableNonceR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *GetNextAvailableNonceR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *GetNextAvailableNonceR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *GetNextAvailableNonceR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *GetNextAvailableNonceR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *GetNextAvailableNonceR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *GetNextAvailableNonceR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *GetNextAvailableNonceR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *GetNextAvailableNonceR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *GetNextAvailableNonceR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *GetNextAvailableNonceR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *GetNextAvailableNonceR) GetData() GetNextAvailableNonceRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GetNextAvailableNonceR) GetDataOk() (*GetNextAvailableNonceRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GetNextAvailableNonceR) SetData(v GetNextAvailableNonceRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetNextAvailableNonceRData.md b/docs/GetNextAvailableNonceRData.md new file mode 100644 index 0000000..aab4e25 --- /dev/null +++ b/docs/GetNextAvailableNonceRData.md @@ -0,0 +1,51 @@ +# GetNextAvailableNonceRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**GetNextAvailableNonceRI**](GetNextAvailableNonceRI.md) | | + +## Methods + +### NewGetNextAvailableNonceRData + +`func NewGetNextAvailableNonceRData(item GetNextAvailableNonceRI, ) *GetNextAvailableNonceRData` + +NewGetNextAvailableNonceRData instantiates a new GetNextAvailableNonceRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetNextAvailableNonceRDataWithDefaults + +`func NewGetNextAvailableNonceRDataWithDefaults() *GetNextAvailableNonceRData` + +NewGetNextAvailableNonceRDataWithDefaults instantiates a new GetNextAvailableNonceRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *GetNextAvailableNonceRData) GetItem() GetNextAvailableNonceRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *GetNextAvailableNonceRData) GetItemOk() (*GetNextAvailableNonceRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *GetNextAvailableNonceRData) SetItem(v GetNextAvailableNonceRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetNextAvailableNonceRI.md b/docs/GetNextAvailableNonceRI.md new file mode 100644 index 0000000..da10612 --- /dev/null +++ b/docs/GetNextAvailableNonceRI.md @@ -0,0 +1,51 @@ +# GetNextAvailableNonceRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NextAvailableNonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | + +## Methods + +### NewGetNextAvailableNonceRI + +`func NewGetNextAvailableNonceRI(nextAvailableNonce int32, ) *GetNextAvailableNonceRI` + +NewGetNextAvailableNonceRI instantiates a new GetNextAvailableNonceRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetNextAvailableNonceRIWithDefaults + +`func NewGetNextAvailableNonceRIWithDefaults() *GetNextAvailableNonceRI` + +NewGetNextAvailableNonceRIWithDefaults instantiates a new GetNextAvailableNonceRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNextAvailableNonce + +`func (o *GetNextAvailableNonceRI) GetNextAvailableNonce() int32` + +GetNextAvailableNonce returns the NextAvailableNonce field if non-nil, zero value otherwise. + +### GetNextAvailableNonceOk + +`func (o *GetNextAvailableNonceRI) GetNextAvailableNonceOk() (*int32, bool)` + +GetNextAvailableNonceOk returns a tuple with the NextAvailableNonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextAvailableNonce + +`func (o *GetNextAvailableNonceRI) SetNextAvailableNonce(v int32)` + +SetNextAvailableNonce sets NextAvailableNonce field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetRawTransactionDataE400.md b/docs/GetRawTransactionDataE400.md new file mode 100644 index 0000000..13e1d3a --- /dev/null +++ b/docs/GetRawTransactionDataE400.md @@ -0,0 +1,98 @@ +# GetRawTransactionDataE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetRawTransactionDataE400 + +`func NewGetRawTransactionDataE400(code string, message string, ) *GetRawTransactionDataE400` + +NewGetRawTransactionDataE400 instantiates a new GetRawTransactionDataE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetRawTransactionDataE400WithDefaults + +`func NewGetRawTransactionDataE400WithDefaults() *GetRawTransactionDataE400` + +NewGetRawTransactionDataE400WithDefaults instantiates a new GetRawTransactionDataE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetRawTransactionDataE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetRawTransactionDataE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetRawTransactionDataE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetRawTransactionDataE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetRawTransactionDataE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetRawTransactionDataE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetRawTransactionDataE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetRawTransactionDataE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetRawTransactionDataE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetRawTransactionDataE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetRawTransactionDataE401.md b/docs/GetRawTransactionDataE401.md new file mode 100644 index 0000000..78fc48b --- /dev/null +++ b/docs/GetRawTransactionDataE401.md @@ -0,0 +1,98 @@ +# GetRawTransactionDataE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetRawTransactionDataE401 + +`func NewGetRawTransactionDataE401(code string, message string, ) *GetRawTransactionDataE401` + +NewGetRawTransactionDataE401 instantiates a new GetRawTransactionDataE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetRawTransactionDataE401WithDefaults + +`func NewGetRawTransactionDataE401WithDefaults() *GetRawTransactionDataE401` + +NewGetRawTransactionDataE401WithDefaults instantiates a new GetRawTransactionDataE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetRawTransactionDataE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetRawTransactionDataE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetRawTransactionDataE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetRawTransactionDataE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetRawTransactionDataE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetRawTransactionDataE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetRawTransactionDataE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetRawTransactionDataE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetRawTransactionDataE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetRawTransactionDataE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetRawTransactionDataE403.md b/docs/GetRawTransactionDataE403.md new file mode 100644 index 0000000..4aeb1a7 --- /dev/null +++ b/docs/GetRawTransactionDataE403.md @@ -0,0 +1,98 @@ +# GetRawTransactionDataE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewGetRawTransactionDataE403 + +`func NewGetRawTransactionDataE403(code string, message string, ) *GetRawTransactionDataE403` + +NewGetRawTransactionDataE403 instantiates a new GetRawTransactionDataE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetRawTransactionDataE403WithDefaults + +`func NewGetRawTransactionDataE403WithDefaults() *GetRawTransactionDataE403` + +NewGetRawTransactionDataE403WithDefaults instantiates a new GetRawTransactionDataE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *GetRawTransactionDataE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetRawTransactionDataE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetRawTransactionDataE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *GetRawTransactionDataE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *GetRawTransactionDataE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *GetRawTransactionDataE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *GetRawTransactionDataE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *GetRawTransactionDataE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *GetRawTransactionDataE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *GetRawTransactionDataE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetRawTransactionDataR.md b/docs/GetRawTransactionDataR.md new file mode 100644 index 0000000..182386a --- /dev/null +++ b/docs/GetRawTransactionDataR.md @@ -0,0 +1,119 @@ +# GetRawTransactionDataR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**GetRawTransactionDataRData**](GetRawTransactionDataRData.md) | | + +## Methods + +### NewGetRawTransactionDataR + +`func NewGetRawTransactionDataR(apiVersion string, requestId string, data GetRawTransactionDataRData, ) *GetRawTransactionDataR` + +NewGetRawTransactionDataR instantiates a new GetRawTransactionDataR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetRawTransactionDataRWithDefaults + +`func NewGetRawTransactionDataRWithDefaults() *GetRawTransactionDataR` + +NewGetRawTransactionDataRWithDefaults instantiates a new GetRawTransactionDataR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *GetRawTransactionDataR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *GetRawTransactionDataR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *GetRawTransactionDataR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *GetRawTransactionDataR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *GetRawTransactionDataR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *GetRawTransactionDataR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *GetRawTransactionDataR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *GetRawTransactionDataR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *GetRawTransactionDataR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *GetRawTransactionDataR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *GetRawTransactionDataR) GetData() GetRawTransactionDataRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GetRawTransactionDataR) GetDataOk() (*GetRawTransactionDataRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GetRawTransactionDataR) SetData(v GetRawTransactionDataRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetRawTransactionDataRData.md b/docs/GetRawTransactionDataRData.md new file mode 100644 index 0000000..480c5d9 --- /dev/null +++ b/docs/GetRawTransactionDataRData.md @@ -0,0 +1,51 @@ +# GetRawTransactionDataRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**GetRawTransactionDataRI**](GetRawTransactionDataRI.md) | | + +## Methods + +### NewGetRawTransactionDataRData + +`func NewGetRawTransactionDataRData(item GetRawTransactionDataRI, ) *GetRawTransactionDataRData` + +NewGetRawTransactionDataRData instantiates a new GetRawTransactionDataRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetRawTransactionDataRDataWithDefaults + +`func NewGetRawTransactionDataRDataWithDefaults() *GetRawTransactionDataRData` + +NewGetRawTransactionDataRDataWithDefaults instantiates a new GetRawTransactionDataRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *GetRawTransactionDataRData) GetItem() GetRawTransactionDataRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *GetRawTransactionDataRData) GetItemOk() (*GetRawTransactionDataRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *GetRawTransactionDataRData) SetItem(v GetRawTransactionDataRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetRawTransactionDataRI.md b/docs/GetRawTransactionDataRI.md new file mode 100644 index 0000000..42d6629 --- /dev/null +++ b/docs/GetRawTransactionDataRI.md @@ -0,0 +1,51 @@ +# GetRawTransactionDataRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TransactionHex** | **string** | Represents the raw transaction data in hexadecimal format. | + +## Methods + +### NewGetRawTransactionDataRI + +`func NewGetRawTransactionDataRI(transactionHex string, ) *GetRawTransactionDataRI` + +NewGetRawTransactionDataRI instantiates a new GetRawTransactionDataRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetRawTransactionDataRIWithDefaults + +`func NewGetRawTransactionDataRIWithDefaults() *GetRawTransactionDataRI` + +NewGetRawTransactionDataRIWithDefaults instantiates a new GetRawTransactionDataRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTransactionHex + +`func (o *GetRawTransactionDataRI) GetTransactionHex() string` + +GetTransactionHex returns the TransactionHex field if non-nil, zero value otherwise. + +### GetTransactionHexOk + +`func (o *GetRawTransactionDataRI) GetTransactionHexOk() (*string, bool)` + +GetTransactionHexOk returns a tuple with the TransactionHex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHex + +`func (o *GetRawTransactionDataRI) SetTransactionHex(v string)` + +SetTransactionHex sets TransactionHex field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBS.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBS.md index 90da585..ba597d2 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBS.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBS.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Defines the version of the transaction. | @@ -28,10 +28,10 @@ Name | Type | Description | Notes **ValueBalance** | **string** | String representation of the transaction value balance | **VersionGroupId** | **string** | Represents the transaction version group ID | **AdditionalData** | **string** | Represents additional data that may be needed. | -**DestinationTag** | Pointer to **int32** | Defines the destination tag value. | [optional] +**DestinationTag** | Pointer to **int64** | Defines the destination tag value. | [optional] **Offer** | [**GetXRPRippleTransactionDetailsByTransactionIDRIOffer**](GetXRPRippleTransactionDetailsByTransactionIDRIOffer.md) | | **Receive** | [**GetXRPRippleTransactionDetailsByTransactionIDRIReceive**](GetXRPRippleTransactionDetailsByTransactionIDRIReceive.md) | | -**Sequence** | **int32** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | +**Sequence** | **int64** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | **Status** | **string** | Defines the status of the transaction. | **Type** | **string** | Defines the type of the transaction. | **Value** | [**GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue**](GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue.md) | | @@ -40,7 +40,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBS -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBS(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit int32, gasPrice GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice, gasUsed int32, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, additionalData string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, sequence int32, status string, type_ string, value GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBS` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBS(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit int32, gasPrice GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice, gasUsed int32, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, additionalData string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, sequence int64, status string, type_ string, value GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBS` NewGetTransactionDetailsByTransactionIDFromCallbackRIBS instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBS object This constructor will assign default values to properties that have it defined, @@ -57,20 +57,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. @@ -537,20 +537,20 @@ SetAdditionalData sets AdditionalData field to given value. ### GetDestinationTag -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetDestinationTag() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetDestinationTag() int64` GetDestinationTag returns the DestinationTag field if non-nil, zero value otherwise. ### GetDestinationTagOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetDestinationTagOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetDestinationTagOk() (*int64, bool)` GetDestinationTagOk returns a tuple with the DestinationTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDestinationTag -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) SetDestinationTag(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) SetDestinationTag(v int64)` SetDestinationTag sets DestinationTag field to given value. @@ -602,20 +602,20 @@ SetReceive sets Receive field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBS) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSB.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSB.md index 2c00ab2..596fe7d 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSB.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSB.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSB -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSB(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin, vout []GetTransactionDetailsByTransactionIDRIBSBVout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSB` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSB(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin, vout []GetTransactionDetailsByTransactionIDRIBSBVout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSB` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSB instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSB object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSBC.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSBC.md index 20c533d..47010f0 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSBC.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSBC.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]GetTransactionDetailsByTransactionIDRIBSBCVin**](GetTransactionDetailsByTransactionIDRIBSBCVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBC -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBC(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBCVin, vout []GetTransactionDetailsByTransactionIDRIBSBCVout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBC(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBCVin, vout []GetTransactionDetailsByTransactionIDRIBSBCVout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBC instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSBC object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin.md index f3b7766..2d167e1 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig**](GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | **[]string** | | **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBVin -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig, sequence int32, txinwitness []string, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig, sequence int64, txinwitness []string, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBVin instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD.md index a82f0a9..ee09a8f 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin**](GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSD object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2.md index 57d2a18..f482ed4 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin**](GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2 -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2 instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSD2 object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin.md index fb3eef6..bf3cef5 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSDScriptSig**](GetTransactionDetailsByTransactionIDRIBSDScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | **[]string** | | **Value** | **string** | Represents the sent/received amount. | @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int32, txinwitness []string, value string, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int64, txinwitness []string, value string, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin.md index f912e12..4720d3c 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSD2ScriptSig**](GetTransactionDetailsByTransactionIDRIBSD2ScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | String representation of the txid | [optional] **Txinwitness** | **[]string** | | **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSDVin -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSDVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int32, txinwitness []string, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSDVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int64, txinwitness []string, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSDVin instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSL.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSL.md index 09723a8..f6ec0d2 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSL.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSL.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSL -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSL(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSL` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSL(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSL` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSL instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSL object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSX.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSX.md index ca31c91..ab05db1 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSX.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSX.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AdditionalData** | **string** | Represents additional data that may be needed. | -**DestinationTag** | Pointer to **int32** | Defines the destination tag value. | [optional] +**DestinationTag** | Pointer to **int64** | Defines the destination tag value. | [optional] **Offer** | [**GetXRPRippleTransactionDetailsByTransactionIDRIOffer**](GetXRPRippleTransactionDetailsByTransactionIDRIOffer.md) | | **Receive** | [**GetXRPRippleTransactionDetailsByTransactionIDRIReceive**](GetXRPRippleTransactionDetailsByTransactionIDRIReceive.md) | | -**Sequence** | **int32** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | +**Sequence** | **int64** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | **Status** | **string** | Defines the status of the transaction. | **Type** | **string** | Defines the type of the transaction. | **Value** | [**GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue**](GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue.md) | | @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSX -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSX(additionalData string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, sequence int32, status string, type_ string, value GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSX` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSX(additionalData string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, sequence int64, status string, type_ string, value GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSX` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSX instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSX object This constructor will assign default values to properties that have it defined, @@ -54,20 +54,20 @@ SetAdditionalData sets AdditionalData field to given value. ### GetDestinationTag -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTag() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTag() int64` GetDestinationTag returns the DestinationTag field if non-nil, zero value otherwise. ### GetDestinationTagOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTagOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTagOk() (*int64, bool)` GetDestinationTagOk returns a tuple with the DestinationTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDestinationTag -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetDestinationTag(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetDestinationTag(v int64)` SetDestinationTag sets DestinationTag field to given value. @@ -119,20 +119,20 @@ SetReceive sets Receive field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ.md index 5e7f789..e59cd4f 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | **JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | **JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VJoinSplit** | [**[]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit**](GetTransactionDetailsByTransactionIDRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSZ object This constructor will assign default values to properties that have it defined, @@ -121,20 +121,20 @@ SetJoinSplitSig sets JoinSplitSig field to given value. ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice.md b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice.md index 50bbbc3..0396373 100644 --- a/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice.md +++ b/docs/GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Amount** | **int32** | Defines the price of the gas. | +**Amount** | **int64** | Defines the price of the gas. | **Unit** | **string** | Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. | ## Methods ### NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice -`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice(amount int32, unit string, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice` +`func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice(amount int64, unit string, ) *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice` NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice instantiates a new GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice object This constructor will assign default values to properties that have it defined, @@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set ### GetAmount -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmount() int32` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmount() int64` GetAmount returns the Amount field if non-nil, zero value otherwise. ### GetAmountOk -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmountOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmountOk() (*int64, bool)` GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAmount -`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) SetAmount(v int32)` +`func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) SetAmount(v int64)` SetAmount sets Amount field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBS.md b/docs/GetTransactionDetailsByTransactionIDRIBS.md index 1a59fe6..b78424a 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBS.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBS.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Defines the version of the transaction. | @@ -32,7 +32,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBS -`func NewGetTransactionDetailsByTransactionIDRIBS(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit string, gasPrice GetTransactionDetailsByTransactionIDRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *GetTransactionDetailsByTransactionIDRIBS` +`func NewGetTransactionDetailsByTransactionIDRIBS(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit string, gasPrice GetTransactionDetailsByTransactionIDRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *GetTransactionDetailsByTransactionIDRIBS` NewGetTransactionDetailsByTransactionIDRIBS instantiates a new GetTransactionDetailsByTransactionIDRIBS object This constructor will assign default values to properties that have it defined, @@ -49,20 +49,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBS) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBS) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDRIBS) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBS) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBS) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBS) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSB.md b/docs/GetTransactionDetailsByTransactionIDRIBSB.md index 80fd84b..61bde9f 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSB.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSB.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSB -`func NewGetTransactionDetailsByTransactionIDRIBSB(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBVin, vout []GetTransactionDetailsByTransactionIDRIBSBVout, ) *GetTransactionDetailsByTransactionIDRIBSB` +`func NewGetTransactionDetailsByTransactionIDRIBSB(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBVin, vout []GetTransactionDetailsByTransactionIDRIBSBVout, ) *GetTransactionDetailsByTransactionIDRIBSB` NewGetTransactionDetailsByTransactionIDRIBSB instantiates a new GetTransactionDetailsByTransactionIDRIBSB object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSB) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSB) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSBC.md b/docs/GetTransactionDetailsByTransactionIDRIBSBC.md index 69e6eac..2455289 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSBC.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSBC.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]GetTransactionDetailsByTransactionIDRIBSBCVin**](GetTransactionDetailsByTransactionIDRIBSBCVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSBC -`func NewGetTransactionDetailsByTransactionIDRIBSBC(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBCVin, vout []GetTransactionDetailsByTransactionIDRIBSBCVout, ) *GetTransactionDetailsByTransactionIDRIBSBC` +`func NewGetTransactionDetailsByTransactionIDRIBSBC(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBCVin, vout []GetTransactionDetailsByTransactionIDRIBSBCVout, ) *GetTransactionDetailsByTransactionIDRIBSBC` NewGetTransactionDetailsByTransactionIDRIBSBC instantiates a new GetTransactionDetailsByTransactionIDRIBSBC object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSBC) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSBC) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSBCVin.md b/docs/GetTransactionDetailsByTransactionIDRIBSBCVin.md index 8169ac8..08feb54 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSBCVin.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSBCVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSBScriptSig**](GetTransactionDetailsByTransactionIDRIBSBScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | **[]string** | | **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSBCVin -`func NewGetTransactionDetailsByTransactionIDRIBSBCVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int32, txinwitness []string, ) *GetTransactionDetailsByTransactionIDRIBSBCVin` +`func NewGetTransactionDetailsByTransactionIDRIBSBCVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int64, txinwitness []string, ) *GetTransactionDetailsByTransactionIDRIBSBCVin` NewGetTransactionDetailsByTransactionIDRIBSBCVin instantiates a new GetTransactionDetailsByTransactionIDRIBSBCVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSBVin.md b/docs/GetTransactionDetailsByTransactionIDRIBSBVin.md index 93ad19f..8a3bef9 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSBVin.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSBVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSBScriptSig**](GetTransactionDetailsByTransactionIDRIBSBScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | **[]string** | | **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSBVin -`func NewGetTransactionDetailsByTransactionIDRIBSBVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int32, txinwitness []string, ) *GetTransactionDetailsByTransactionIDRIBSBVin` +`func NewGetTransactionDetailsByTransactionIDRIBSBVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int64, txinwitness []string, ) *GetTransactionDetailsByTransactionIDRIBSBVin` NewGetTransactionDetailsByTransactionIDRIBSBVin instantiates a new GetTransactionDetailsByTransactionIDRIBSBVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSBVin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSBVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSD.md b/docs/GetTransactionDetailsByTransactionIDRIBSD.md index 3c68861..c30a0ff 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSD.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSD.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]GetTransactionDetailsByTransactionIDRIBSDVin**](GetTransactionDetailsByTransactionIDRIBSDVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSD -`func NewGetTransactionDetailsByTransactionIDRIBSD(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *GetTransactionDetailsByTransactionIDRIBSD` +`func NewGetTransactionDetailsByTransactionIDRIBSD(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *GetTransactionDetailsByTransactionIDRIBSD` NewGetTransactionDetailsByTransactionIDRIBSD instantiates a new GetTransactionDetailsByTransactionIDRIBSD object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSD) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSD) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSD2.md b/docs/GetTransactionDetailsByTransactionIDRIBSD2.md index e1ee667..4a8c5aa 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSD2.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSD2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]GetTransactionDetailsByTransactionIDRIBSD2Vin**](GetTransactionDetailsByTransactionIDRIBSD2Vin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSD2 -`func NewGetTransactionDetailsByTransactionIDRIBSD2(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout, ) *GetTransactionDetailsByTransactionIDRIBSD2` +`func NewGetTransactionDetailsByTransactionIDRIBSD2(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout, ) *GetTransactionDetailsByTransactionIDRIBSD2` NewGetTransactionDetailsByTransactionIDRIBSD2 instantiates a new GetTransactionDetailsByTransactionIDRIBSD2 object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSD2) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSD2) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSD2Vin.md b/docs/GetTransactionDetailsByTransactionIDRIBSD2Vin.md index 4a4abe6..fbbb910 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSD2Vin.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSD2Vin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSD2ScriptSig**](GetTransactionDetailsByTransactionIDRIBSD2ScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | **[]string** | | **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSD2Vin -`func NewGetTransactionDetailsByTransactionIDRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int32, txinwitness []string, ) *GetTransactionDetailsByTransactionIDRIBSD2Vin` +`func NewGetTransactionDetailsByTransactionIDRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int64, txinwitness []string, ) *GetTransactionDetailsByTransactionIDRIBSD2Vin` NewGetTransactionDetailsByTransactionIDRIBSD2Vin instantiates a new GetTransactionDetailsByTransactionIDRIBSD2Vin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSDVin.md b/docs/GetTransactionDetailsByTransactionIDRIBSDVin.md index f4053d7..5414965 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSDVin.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSDVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSDScriptSig**](GetTransactionDetailsByTransactionIDRIBSDScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | **[]string** | | **Value** | **string** | Represents the sent/received amount. | @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSDVin -`func NewGetTransactionDetailsByTransactionIDRIBSDVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int32, txinwitness []string, value string, ) *GetTransactionDetailsByTransactionIDRIBSDVin` +`func NewGetTransactionDetailsByTransactionIDRIBSDVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int64, txinwitness []string, value string, ) *GetTransactionDetailsByTransactionIDRIBSDVin` NewGetTransactionDetailsByTransactionIDRIBSDVin instantiates a new GetTransactionDetailsByTransactionIDRIBSDVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSDVin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSDVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSL.md b/docs/GetTransactionDetailsByTransactionIDRIBSL.md index 5f9a51f..f48cc30 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSL.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSL.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSL -`func NewGetTransactionDetailsByTransactionIDRIBSL(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *GetTransactionDetailsByTransactionIDRIBSL` +`func NewGetTransactionDetailsByTransactionIDRIBSL(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *GetTransactionDetailsByTransactionIDRIBSL` NewGetTransactionDetailsByTransactionIDRIBSL instantiates a new GetTransactionDetailsByTransactionIDRIBSL object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSL) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSL) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSLVin.md b/docs/GetTransactionDetailsByTransactionIDRIBSLVin.md index 735fcfa..44abf0e 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSLVin.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSLVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSLScriptSig**](GetTransactionDetailsByTransactionIDRIBSLScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | **[]string** | | **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSLVin -`func NewGetTransactionDetailsByTransactionIDRIBSLVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSLScriptSig, sequence int32, txinwitness []string, ) *GetTransactionDetailsByTransactionIDRIBSLVin` +`func NewGetTransactionDetailsByTransactionIDRIBSLVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSLScriptSig, sequence int64, txinwitness []string, ) *GetTransactionDetailsByTransactionIDRIBSLVin` NewGetTransactionDetailsByTransactionIDRIBSLVin instantiates a new GetTransactionDetailsByTransactionIDRIBSLVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSLVin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSLVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSZ.md b/docs/GetTransactionDetailsByTransactionIDRIBSZ.md index 41c4b92..1f463c9 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSZ.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSZ.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | **JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | **JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VJoinSplit** | [**[]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit**](GetTransactionDetailsByTransactionIDRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSZ -`func NewGetTransactionDetailsByTransactionIDRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *GetTransactionDetailsByTransactionIDRIBSZ` +`func NewGetTransactionDetailsByTransactionIDRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *GetTransactionDetailsByTransactionIDRIBSZ` NewGetTransactionDetailsByTransactionIDRIBSZ instantiates a new GetTransactionDetailsByTransactionIDRIBSZ object This constructor will assign default values to properties that have it defined, @@ -121,20 +121,20 @@ SetJoinSplitSig sets JoinSplitSig field to given value. ### GetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktimeOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetTransactionDetailsByTransactionIDRIBSZ) SetLocktime(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSZ) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetTransactionDetailsByTransactionIDRIBSZVin.md b/docs/GetTransactionDetailsByTransactionIDRIBSZVin.md index 9494c5c..37e3766 100644 --- a/docs/GetTransactionDetailsByTransactionIDRIBSZVin.md +++ b/docs/GetTransactionDetailsByTransactionIDRIBSZVin.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Addresses** | **[]string** | | **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSZScriptSig**](GetTransactionDetailsByTransactionIDRIBSZScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | **[]string** | | **Value** | **string** | Defines the specific amount. | @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewGetTransactionDetailsByTransactionIDRIBSZVin -`func NewGetTransactionDetailsByTransactionIDRIBSZVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int32, txid string, txinwitness []string, value string, vout int32, ) *GetTransactionDetailsByTransactionIDRIBSZVin` +`func NewGetTransactionDetailsByTransactionIDRIBSZVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int64, txid string, txinwitness []string, value string, vout int32, ) *GetTransactionDetailsByTransactionIDRIBSZVin` NewGetTransactionDetailsByTransactionIDRIBSZVin instantiates a new GetTransactionDetailsByTransactionIDRIBSZVin object This constructor will assign default values to properties that have it defined, @@ -73,20 +73,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int32` +`func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequenceOk() (*int32, bool)` +`func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetTransactionDetailsByTransactionIDRIBSZVin) SetSequence(v int32)` +`func (o *GetTransactionDetailsByTransactionIDRIBSZVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetTransactionRequestDetailsRI.md b/docs/GetTransactionRequestDetailsRI.md index 1e61416..d35a965 100644 --- a/docs/GetTransactionRequestDetailsRI.md +++ b/docs/GetTransactionRequestDetailsRI.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **Network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | **Recipients** | [**[]GetTransactionRequestDetailsRIRecipients**](GetTransactionRequestDetailsRIRecipients.md) | Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. | **TotalTransactionAmount** | **string** | Defines the total transaction amount. | +**TransactionId** | Pointer to **string** | Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain. | [optional] **TransactionRequestStatus** | **string** | Defines the status of the transaction request, e.g. pending. | **TransactionType** | **string** | Defines the transaction type, if it is for coins or tokens. | **Unit** | **string** | Defines the unit of the amount. | @@ -154,6 +155,31 @@ and a boolean to check if the value has been set. SetTotalTransactionAmount sets TotalTransactionAmount field to given value. +### GetTransactionId + +`func (o *GetTransactionRequestDetailsRI) GetTransactionId() string` + +GetTransactionId returns the TransactionId field if non-nil, zero value otherwise. + +### GetTransactionIdOk + +`func (o *GetTransactionRequestDetailsRI) GetTransactionIdOk() (*string, bool)` + +GetTransactionIdOk returns a tuple with the TransactionId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionId + +`func (o *GetTransactionRequestDetailsRI) SetTransactionId(v string)` + +SetTransactionId sets TransactionId field to given value. + +### HasTransactionId + +`func (o *GetTransactionRequestDetailsRI) HasTransactionId() bool` + +HasTransactionId returns a boolean if a field has been set. + ### GetTransactionRequestStatus `func (o *GetTransactionRequestDetailsRI) GetTransactionRequestStatus() string` diff --git a/docs/GetTransactionRequestDetailsRIRecipients.md b/docs/GetTransactionRequestDetailsRIRecipients.md index 8018c5d..39a69e1 100644 --- a/docs/GetTransactionRequestDetailsRIRecipients.md +++ b/docs/GetTransactionRequestDetailsRIRecipients.md @@ -5,7 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. | +**AddressTag** | Pointer to **int32** | Defines a specific Tag that is an additional XRP address feature. It helps identify a transaction recipient beyond a wallet address. The tag that was encoded into the x-Address along with the Classic Address. | [optional] **Amount** | **string** | Represents the amount received to this address. | +**ClassicAddress** | Pointer to **string** | Represents the public address, which is a compressed and shortened form of a public key. A classic address is shown when the destination address is an x-Address. | [optional] **Unit** | **string** | Defines the unit of the amount. | ## Methods @@ -47,6 +49,31 @@ and a boolean to check if the value has been set. SetAddress sets Address field to given value. +### GetAddressTag + +`func (o *GetTransactionRequestDetailsRIRecipients) GetAddressTag() int32` + +GetAddressTag returns the AddressTag field if non-nil, zero value otherwise. + +### GetAddressTagOk + +`func (o *GetTransactionRequestDetailsRIRecipients) GetAddressTagOk() (*int32, bool)` + +GetAddressTagOk returns a tuple with the AddressTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressTag + +`func (o *GetTransactionRequestDetailsRIRecipients) SetAddressTag(v int32)` + +SetAddressTag sets AddressTag field to given value. + +### HasAddressTag + +`func (o *GetTransactionRequestDetailsRIRecipients) HasAddressTag() bool` + +HasAddressTag returns a boolean if a field has been set. + ### GetAmount `func (o *GetTransactionRequestDetailsRIRecipients) GetAmount() string` @@ -67,6 +94,31 @@ and a boolean to check if the value has been set. SetAmount sets Amount field to given value. +### GetClassicAddress + +`func (o *GetTransactionRequestDetailsRIRecipients) GetClassicAddress() string` + +GetClassicAddress returns the ClassicAddress field if non-nil, zero value otherwise. + +### GetClassicAddressOk + +`func (o *GetTransactionRequestDetailsRIRecipients) GetClassicAddressOk() (*string, bool)` + +GetClassicAddressOk returns a tuple with the ClassicAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClassicAddress + +`func (o *GetTransactionRequestDetailsRIRecipients) SetClassicAddress(v string)` + +SetClassicAddress sets ClassicAddress field to given value. + +### HasClassicAddress + +`func (o *GetTransactionRequestDetailsRIRecipients) HasClassicAddress() bool` + +HasClassicAddress returns a boolean if a field has been set. + ### GetUnit `func (o *GetTransactionRequestDetailsRIRecipients) GetUnit() string` diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBS.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBS.md index 064ce5d..d9e870c 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBS.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBS.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction version number. | @@ -32,7 +32,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBS -`func NewGetWalletTransactionDetailsByTransactionIDRIBS(locktime int32, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout, contract string, gasLimit string, gasPrice GetTransactionDetailsByTransactionIDRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, valueBalance string, versionGroupId string, ) *GetWalletTransactionDetailsByTransactionIDRIBS` +`func NewGetWalletTransactionDetailsByTransactionIDRIBS(locktime int64, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout, contract string, gasLimit string, gasPrice GetTransactionDetailsByTransactionIDRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, valueBalance string, versionGroupId string, ) *GetWalletTransactionDetailsByTransactionIDRIBS` NewGetWalletTransactionDetailsByTransactionIDRIBS instantiates a new GetWalletTransactionDetailsByTransactionIDRIBS object This constructor will assign default values to properties that have it defined, @@ -49,20 +49,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBS) GetLocktime() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBS) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBS) GetLocktimeOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBS) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBS) SetLocktime(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBS) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSB.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSB.md index cf266a2..3b7a882 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSB.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSB.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSB -`func NewGetWalletTransactionDetailsByTransactionIDRIBSB(locktime int32, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSBVin, vout []GetWalletTransactionDetailsByTransactionIDRIBSBVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSB` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSB(locktime int64, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSBVin, vout []GetWalletTransactionDetailsByTransactionIDRIBSBVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSB` NewGetWalletTransactionDetailsByTransactionIDRIBSB instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSB object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktime() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktimeOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) SetLocktime(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSBC.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSBC.md index 85b9f59..1b990b3 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSBC.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSBC.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction version number. | **Vin** | [**[]GetWalletTransactionDetailsByTransactionIDRIBSBCVin**](GetWalletTransactionDetailsByTransactionIDRIBSBCVin.md) | Object Array representation of transaction inputs | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSBC -`func NewGetWalletTransactionDetailsByTransactionIDRIBSBC(locktime int32, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSBCVin, vout []GetWalletTransactionDetailsByTransactionIDRIBSBCVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSBC` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSBC(locktime int64, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSBCVin, vout []GetWalletTransactionDetailsByTransactionIDRIBSBCVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSBC` NewGetWalletTransactionDetailsByTransactionIDRIBSBC instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSBC object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktimeOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) SetLocktime(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSBCVin.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSBCVin.md index 984330c..d133d26 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSBCVin.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSBCVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig**](GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | Pointer to **[]string** | | [optional] **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSBCVin -`func NewGetWalletTransactionDetailsByTransactionIDRIBSBCVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig, sequence int32, txid string, ) *GetWalletTransactionDetailsByTransactionIDRIBSBCVin` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSBCVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig, sequence int64, txid string, ) *GetWalletTransactionDetailsByTransactionIDRIBSBCVin` NewGetWalletTransactionDetailsByTransactionIDRIBSBCVin instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSBCVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequenceOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) SetSequence(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSBVin.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSBVin.md index 10fd35b..3736362 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSBVin.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSBVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig**](GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | Pointer to **[]string** | | [optional] **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSBVin -`func NewGetWalletTransactionDetailsByTransactionIDRIBSBVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int32, txid string, vout int32, ) *GetWalletTransactionDetailsByTransactionIDRIBSBVin` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSBVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int64, txid string, vout int32, ) *GetWalletTransactionDetailsByTransactionIDRIBSBVin` NewGetWalletTransactionDetailsByTransactionIDRIBSBVin instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSBVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequenceOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) SetSequence(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSD.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSD.md index 370f729..59f7d51 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSD.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSD.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction version number. | **Vin** | [**[]GetWalletTransactionDetailsByTransactionIDRIBSDVin**](GetWalletTransactionDetailsByTransactionIDRIBSDVin.md) | Object Array representation of transaction inputs | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSD -`func NewGetWalletTransactionDetailsByTransactionIDRIBSD(locktime int32, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSD` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSD(locktime int64, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSD` NewGetWalletTransactionDetailsByTransactionIDRIBSD instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSD object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktime() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktimeOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) SetLocktime(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSD2.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSD2.md index 53231bc..524de3c 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSD2.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSD2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction version number. | **Vin** | [**[]GetWalletTransactionDetailsByTransactionIDRIBSD2Vin**](GetWalletTransactionDetailsByTransactionIDRIBSD2Vin.md) | Object Array representation of transaction inputs | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSD2 -`func NewGetWalletTransactionDetailsByTransactionIDRIBSD2(locktime int32, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout, ) *GetWalletTransactionDetailsByTransactionIDRIBSD2` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSD2(locktime int64, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout, ) *GetWalletTransactionDetailsByTransactionIDRIBSD2` NewGetWalletTransactionDetailsByTransactionIDRIBSD2 instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSD2 object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktimeOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) SetLocktime(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSD2Vin.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSD2Vin.md index 36892d3..b2b78fd 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSD2Vin.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSD2Vin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSD2ScriptSig**](GetTransactionDetailsByTransactionIDRIBSD2ScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | Pointer to **[]string** | | [optional] **Value** | Pointer to **string** | Represents the sent/received amount. | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSD2Vin -`func NewGetWalletTransactionDetailsByTransactionIDRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int32, ) *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int64, ) *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin` NewGetWalletTransactionDetailsByTransactionIDRIBSD2Vin instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSD2Vin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequenceOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) SetSequence(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSDVin.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSDVin.md index 6a9015f..cd1f347 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSDVin.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSDVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] **ScriptSig** | [**GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig**](GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | Pointer to **[]string** | | [optional] **Value** | **string** | Represents the sent/received amount. | @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSDVin -`func NewGetWalletTransactionDetailsByTransactionIDRIBSDVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int32, value string, ) *GetWalletTransactionDetailsByTransactionIDRIBSDVin` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSDVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int64, value string, ) *GetWalletTransactionDetailsByTransactionIDRIBSDVin` NewGetWalletTransactionDetailsByTransactionIDRIBSDVin instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSDVin object This constructor will assign default values to properties that have it defined, @@ -99,20 +99,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequenceOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) SetSequence(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSL.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSL.md index 23b6e33..43ab1b7 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSL.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSL.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSL -`func NewGetWalletTransactionDetailsByTransactionIDRIBSL(locktime int32, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSL` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSL(locktime int64, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSL` NewGetWalletTransactionDetailsByTransactionIDRIBSL instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSL object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktime() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktimeOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) SetLocktime(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSLVin.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSLVin.md index 2967c29..f932575 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSLVin.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSLVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | **string** | Represents the coinbase hex. | **ScriptSig** | [**GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig**](GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | Pointer to **[]string** | | [optional] **Value** | **string** | Represents the sent/received amount. | @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSLVin -`func NewGetWalletTransactionDetailsByTransactionIDRIBSLVin(addresses []string, coinbase string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig, sequence int32, txid string, value string, vout int32, ) *GetWalletTransactionDetailsByTransactionIDRIBSLVin` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSLVin(addresses []string, coinbase string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig, sequence int64, txid string, value string, vout int32, ) *GetWalletTransactionDetailsByTransactionIDRIBSLVin` NewGetWalletTransactionDetailsByTransactionIDRIBSLVin instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSLVin object This constructor will assign default values to properties that have it defined, @@ -94,20 +94,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequenceOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) SetSequence(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSZ.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSZ.md index 5342d01..f81b29b 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSZ.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSZ.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | **JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | **JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VJoinSplit** | Pointer to [**[]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit**](GetTransactionDetailsByTransactionIDRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | [optional] @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSZ -`func NewGetWalletTransactionDetailsByTransactionIDRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, valueBalance string, version int32, versionGroupId string, vin []GetWalletTransactionDetailsByTransactionIDRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSZ` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, valueBalance string, version int32, versionGroupId string, vin []GetWalletTransactionDetailsByTransactionIDRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout, ) *GetWalletTransactionDetailsByTransactionIDRIBSZ` NewGetWalletTransactionDetailsByTransactionIDRIBSZ instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSZ object This constructor will assign default values to properties that have it defined, @@ -121,20 +121,20 @@ SetJoinSplitSig sets JoinSplitSig field to given value. ### GetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktimeOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) SetLocktime(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/GetWalletTransactionDetailsByTransactionIDRIBSZVin.md b/docs/GetWalletTransactionDetailsByTransactionIDRIBSZVin.md index fc9e1bf..44a128a 100644 --- a/docs/GetWalletTransactionDetailsByTransactionIDRIBSZVin.md +++ b/docs/GetWalletTransactionDetailsByTransactionIDRIBSZVin.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Addresses** | **[]string** | | **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSZScriptSig**](GetTransactionDetailsByTransactionIDRIBSZScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | Pointer to **[]string** | | [optional] **Value** | **string** | Defines the specific amount. | @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewGetWalletTransactionDetailsByTransactionIDRIBSZVin -`func NewGetWalletTransactionDetailsByTransactionIDRIBSZVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int32, txid string, value string, vout int32, ) *GetWalletTransactionDetailsByTransactionIDRIBSZVin` +`func NewGetWalletTransactionDetailsByTransactionIDRIBSZVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int64, txid string, value string, vout int32, ) *GetWalletTransactionDetailsByTransactionIDRIBSZVin` NewGetWalletTransactionDetailsByTransactionIDRIBSZVin instantiates a new GetWalletTransactionDetailsByTransactionIDRIBSZVin object This constructor will assign default values to properties that have it defined, @@ -73,20 +73,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int32` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequenceOk() (*int32, bool)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) SetSequence(v int32)` +`func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetXRPRippleAddressDetailsRI.md b/docs/GetXRPRippleAddressDetailsRI.md index 6d11242..c7e8ece 100644 --- a/docs/GetXRPRippleAddressDetailsRI.md +++ b/docs/GetXRPRippleAddressDetailsRI.md @@ -7,14 +7,14 @@ Name | Type | Description | Notes **Balance** | [**GetXRPRippleAddressDetailsRIBalance**](GetXRPRippleAddressDetailsRIBalance.md) | | **IncomingTransactionsCount** | **int32** | Defines the count of all confirmed incoming transactions from the address for coins. This applies to coins only, not to tokens transfers | **OutgoingTransactionsCount** | **int32** | Defines the count of all confirmed outgoing transactions for coins. This applies to coins only, not to tokens transfers | -**Sequence** | **int32** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | +**Sequence** | **int64** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | **TransactionsCount** | **int32** | Represents the total number of all transactions as part of this block. | ## Methods ### NewGetXRPRippleAddressDetailsRI -`func NewGetXRPRippleAddressDetailsRI(balance GetXRPRippleAddressDetailsRIBalance, incomingTransactionsCount int32, outgoingTransactionsCount int32, sequence int32, transactionsCount int32, ) *GetXRPRippleAddressDetailsRI` +`func NewGetXRPRippleAddressDetailsRI(balance GetXRPRippleAddressDetailsRIBalance, incomingTransactionsCount int32, outgoingTransactionsCount int32, sequence int64, transactionsCount int32, ) *GetXRPRippleAddressDetailsRI` NewGetXRPRippleAddressDetailsRI instantiates a new GetXRPRippleAddressDetailsRI object This constructor will assign default values to properties that have it defined, @@ -91,20 +91,20 @@ SetOutgoingTransactionsCount sets OutgoingTransactionsCount field to given value ### GetSequence -`func (o *GetXRPRippleAddressDetailsRI) GetSequence() int32` +`func (o *GetXRPRippleAddressDetailsRI) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetXRPRippleAddressDetailsRI) GetSequenceOk() (*int32, bool)` +`func (o *GetXRPRippleAddressDetailsRI) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetXRPRippleAddressDetailsRI) SetSequence(v int32)` +`func (o *GetXRPRippleAddressDetailsRI) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/GetXRPRippleTransactionDetailsByTransactionIDRI.md b/docs/GetXRPRippleTransactionDetailsByTransactionIDRI.md index ba1e6ea..f9e7b42 100644 --- a/docs/GetXRPRippleTransactionDetailsByTransactionIDRI.md +++ b/docs/GetXRPRippleTransactionDetailsByTransactionIDRI.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AdditionalData** | **string** | Represents additional data that may be needed. | -**DestinationTag** | Pointer to **int32** | | [optional] +**DestinationTag** | Pointer to **int64** | | [optional] **Index** | **string** | Defines the index of the transaction, i.e. the consecutive place it takes in the blockchain. | **MinedInBlockHash** | **string** | Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | **MinedInBlockHeight** | **string** | Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. | @@ -13,7 +13,7 @@ Name | Type | Description | Notes **Receive** | [**GetXRPRippleTransactionDetailsByTransactionIDRIReceive**](GetXRPRippleTransactionDetailsByTransactionIDRIReceive.md) | | **Recipients** | [**[]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients**](GetXRPRippleTransactionDetailsByTransactionIDRIRecipients.md) | Represents an object of addresses that receive the transactions. | **Senders** | [**[]GetXRPRippleTransactionDetailsByTransactionIDRISenders**](GetXRPRippleTransactionDetailsByTransactionIDRISenders.md) | Represents an object of addresses that provide the funds. | -**Sequence** | **int32** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | +**Sequence** | **int64** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | **Status** | Pointer to **string** | Defines the status of the transaction. | [optional] **Timestamp** | **int32** | Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. | **TransactionHash** | **string** | Represents the same as `transactionId` for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` for SegWit transactions. | @@ -25,7 +25,7 @@ Name | Type | Description | Notes ### NewGetXRPRippleTransactionDetailsByTransactionIDRI -`func NewGetXRPRippleTransactionDetailsByTransactionIDRI(additionalData string, index string, minedInBlockHash string, minedInBlockHeight string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int32, timestamp int32, transactionHash string, type_ string, fee GetXRPRippleTransactionDetailsByTransactionIDRIFee, value GetXRPRippleTransactionDetailsByTransactionIDRIValue, ) *GetXRPRippleTransactionDetailsByTransactionIDRI` +`func NewGetXRPRippleTransactionDetailsByTransactionIDRI(additionalData string, index string, minedInBlockHash string, minedInBlockHeight string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int64, timestamp int32, transactionHash string, type_ string, fee GetXRPRippleTransactionDetailsByTransactionIDRIFee, value GetXRPRippleTransactionDetailsByTransactionIDRIValue, ) *GetXRPRippleTransactionDetailsByTransactionIDRI` NewGetXRPRippleTransactionDetailsByTransactionIDRI instantiates a new GetXRPRippleTransactionDetailsByTransactionIDRI object This constructor will assign default values to properties that have it defined, @@ -62,20 +62,20 @@ SetAdditionalData sets AdditionalData field to given value. ### GetDestinationTag -`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTag() int32` +`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTag() int64` GetDestinationTag returns the DestinationTag field if non-nil, zero value otherwise. ### GetDestinationTagOk -`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTagOk() (*int32, bool)` +`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTagOk() (*int64, bool)` GetDestinationTagOk returns a tuple with the DestinationTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDestinationTag -`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetDestinationTag(v int32)` +`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetDestinationTag(v int64)` SetDestinationTag sets DestinationTag field to given value. @@ -227,20 +227,20 @@ SetSenders sets Senders field to given value. ### GetSequence -`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequence() int32` +`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequenceOk() (*int32, bool)` +`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetSequence(v int32)` +`func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/HDWalletsApi.md b/docs/HDWalletsApi.md index c965fca..25c5c1d 100644 --- a/docs/HDWalletsApi.md +++ b/docs/HDWalletsApi.md @@ -4,12 +4,94 @@ All URIs are relative to *https://rest.cryptoapis.io/v2* Method | HTTP request | Description ------------- | ------------- | ------------- +[**GetHDWalletXPubYPubZPubAssets**](HDWalletsApi.md#GetHDWalletXPubYPubZPubAssets) | **Get** /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/assets | Get HD Wallet (xPub, yPub, zPub) Assets [**GetHDWalletXPubYPubZPubDetails**](HDWalletsApi.md#GetHDWalletXPubYPubZPubDetails) | **Get** /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/details | Get HD Wallet (xPub, yPub, zPub) Details [**ListHDWalletXPubYPubZPubTransactions**](HDWalletsApi.md#ListHDWalletXPubYPubZPubTransactions) | **Get** /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/transactions | List HD Wallet (xPub, yPub, zPub) Transactions +[**ListHDWalletXPubYPubZPubUTXOs**](HDWalletsApi.md#ListHDWalletXPubYPubZPubUTXOs) | **Get** /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/utxos | List HD Wallet (xPub, yPub, zPub) UTXOs [**SyncHDWalletXPubYPubZPub**](HDWalletsApi.md#SyncHDWalletXPubYPubZPub) | **Post** /blockchain-data/{blockchain}/{network}/hd/sync | Sync HD Wallet (xPub, yPub, zPub) +## GetHDWalletXPubYPubZPubAssets + +> GetHDWalletXPubYPubZPubAssetsR GetHDWalletXPubYPubZPubAssets(ctx, blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Execute() + +Get HD Wallet (xPub, yPub, zPub) Assets + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + extendedPublicKey := "xpub68SyZPMPpZUy9QB2fk2J28b5Rwd6jeWKind3K8oziZuVcL7wWZiXZNCPKuh42ejSpTLYngQ9Gbzj9a1Ap2QQmoFs2sMSbUvkEr8D3GW7MrR" // string | Defines the account extended publicly known key which is used to derive all child public keys. + network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + derivation := "account" // string | The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.HDWalletsApi.GetHDWalletXPubYPubZPubAssets(context.Background(), blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HDWalletsApi.GetHDWalletXPubYPubZPubAssets``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetHDWalletXPubYPubZPubAssets`: GetHDWalletXPubYPubZPubAssetsR + fmt.Fprintf(os.Stdout, "Response from `HDWalletsApi.GetHDWalletXPubYPubZPubAssets`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**extendedPublicKey** | **string** | Defines the account extended publicly known key which is used to derive all child public keys. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetHDWalletXPubYPubZPubAssetsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **derivation** | **string** | The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. | + +### Return type + +[**GetHDWalletXPubYPubZPubAssetsR**](GetHDWalletXPubYPubZPubAssetsR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GetHDWalletXPubYPubZPubDetails > GetHDWalletXPubYPubZPubDetailsR GetHDWalletXPubYPubZPubDetails(ctx, blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Execute() @@ -34,12 +116,12 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. extendedPublicKey := "upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ" // string | Defines the account extended publicly known key which is used to derive all child public keys. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) derivation := "derivation_example" // string | The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.HDWalletsApi.GetHDWalletXPubYPubZPubDetails(context.Background(), blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.HDWalletsApi.GetHDWalletXPubYPubZPubDetails(context.Background(), blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `HDWalletsApi.GetHDWalletXPubYPubZPubDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -114,14 +196,14 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain. extendedPublicKey := "tpubD9GMECjiZHCaF9NHSMAeMbQMXnM7CviEJZsYBuztVwsUjPHWjxewWAUXWV2UExaAtoEvQGXDBmVWo6ZHGtj6TsH6Pop7D9DskQwGHA1gu1w" // string | Defines the master public key (xPub) of the account. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) derivation := "derivation_example" // string | The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.HDWalletsApi.ListHDWalletXPubYPubZPubTransactions(context.Background(), blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.HDWalletsApi.ListHDWalletXPubYPubZPubTransactions(context.Background(), blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `HDWalletsApi.ListHDWalletXPubYPubZPubTransactions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -174,6 +256,90 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ListHDWalletXPubYPubZPubUTXOs + +> ListHDWalletXPubYPubZPubUTXOsR ListHDWalletXPubYPubZPubUTXOs(ctx, blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Limit(limit).Offset(offset).Execute() + +List HD Wallet (xPub, yPub, zPub) UTXOs + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + extendedPublicKey := "tpubDDCs6jf3Tg8VTts6EBCNpibVanPQpSkmYRLAXVvuhcuC6ZcbYtEizqERj8D4TBukuvjNSjtjEbKYdtFuRG5WuisrirZG9m5L8wUvf4bHhgQ" // string | Defines the account extended publicly known key which is used to derive all child public keys. + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + derivation := "account" // string | The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. (optional) + limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.HDWalletsApi.ListHDWalletXPubYPubZPubUTXOs(context.Background(), blockchain, extendedPublicKey, network).Context(context).Derivation(derivation).Limit(limit).Offset(offset).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HDWalletsApi.ListHDWalletXPubYPubZPubUTXOs``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListHDWalletXPubYPubZPubUTXOs`: ListHDWalletXPubYPubZPubUTXOsR + fmt.Fprintf(os.Stdout, "Response from `HDWalletsApi.ListHDWalletXPubYPubZPubUTXOs`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**extendedPublicKey** | **string** | Defines the account extended publicly known key which is used to derive all child public keys. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiListHDWalletXPubYPubZPubUTXOsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **derivation** | **string** | The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. | + **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + +### Return type + +[**ListHDWalletXPubYPubZPubUTXOsR**](ListHDWalletXPubYPubZPubUTXOsR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## SyncHDWalletXPubYPubZPub > SyncHDWalletXPubYPubZPubR SyncHDWalletXPubYPubZPub(ctx, blockchain, network).Context(context).SyncHDWalletXPubYPubZPubRB(syncHDWalletXPubYPubZPubRB).Execute() @@ -197,12 +363,12 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) syncHDWalletXPubYPubZPubRB := *openapiclient.NewSyncHDWalletXPubYPubZPubRB(*openapiclient.NewSyncHDWalletXPubYPubZPubRBData(*openapiclient.NewSyncHDWalletXPubYPubZPubRBDataItem("upub5Ei6bRNneqozk6smK7dvtXHC5PjUyEL4ynCfMKvjznLcXi9DQaikETzQjHvJC43XexMvQs64jxB1njMjCHpRZ4xQWAmv3ge9cVtjfsHmbvQ"))) // SyncHDWalletXPubYPubZPubRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.HDWalletsApi.SyncHDWalletXPubYPubZPub(context.Background(), blockchain, network).Context(context).SyncHDWalletXPubYPubZPubRB(syncHDWalletXPubYPubZPubRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.HDWalletsApi.SyncHDWalletXPubYPubZPub(context.Background(), blockchain, network).Context(context).SyncHDWalletXPubYPubZPubRB(syncHDWalletXPubYPubZPubRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `HDWalletsApi.SyncHDWalletXPubYPubZPub``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/InformativeApi.md b/docs/InformativeApi.md index fd188ee..2e9b026 100644 --- a/docs/InformativeApi.md +++ b/docs/InformativeApi.md @@ -7,6 +7,8 @@ Method | HTTP request | Description [**GetTransactionRequestDetails**](InformativeApi.md#GetTransactionRequestDetails) | **Get** /wallet-as-a-service/transactionRequests/{transactionRequestId} | Get Transaction Request Details [**GetWalletAssetDetails**](InformativeApi.md#GetWalletAssetDetails) | **Get** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network} | Get Wallet Asset Details [**GetWalletTransactionDetailsByTransactionID**](InformativeApi.md#GetWalletTransactionDetailsByTransactionID) | **Get** /wallet-as-a-service/wallets/{blockchain}/{network}/transactions/{transactionId} | Get Wallet Transaction Details By Transaction ID +[**ListAllAssetsByWalletID**](InformativeApi.md#ListAllAssetsByWalletID) | **Get** /wallet-as-a-service/wallets/{walletId}/assets | List All Assets By Wallet ID +[**ListAllAssetsFromAllWallets**](InformativeApi.md#ListAllAssetsFromAllWallets) | **Get** /wallet-as-a-service/wallets/all-assets | List All Assets From All Wallets [**ListDepositAddresses**](InformativeApi.md#ListDepositAddresses) | **Get** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses | List Deposit Addresses [**ListSupportedTokens**](InformativeApi.md#ListSupportedTokens) | **Get** /wallet-as-a-service/info/{blockchain}/{network}/supported-tokens | List Supported Tokens [**ListWalletTransactions**](InformativeApi.md#ListWalletTransactions) | **Get** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transactions | List Wallet Transactions @@ -35,11 +37,11 @@ import ( func main() { transactionRequestId := "6115126693397c0006f78eb4" // string | Represents the unique ID of the transaction request. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InformativeApi.GetTransactionRequestDetails(context.Background(), transactionRequestId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InformativeApi.GetTransactionRequestDetails(context.Background(), transactionRequestId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InformativeApi.GetTransactionRequestDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -109,11 +111,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. walletId := "60c9d9921c38030006675ff6" // string | Defines the unique ID of the Wallet. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InformativeApi.GetWalletAssetDetails(context.Background(), blockchain, network, walletId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InformativeApi.GetWalletAssetDetails(context.Background(), blockchain, network, walletId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InformativeApi.GetWalletAssetDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -187,11 +189,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. transactionId := "3e081861494aed897e589cdeab5d9e628d985e571ed1c19896d1aa698cce9d80" // string | Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InformativeApi.GetWalletTransactionDetailsByTransactionID(context.Background(), blockchain, network, transactionId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InformativeApi.GetWalletTransactionDetailsByTransactionID(context.Background(), blockchain, network, transactionId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InformativeApi.GetWalletTransactionDetailsByTransactionID``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -241,6 +243,148 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ListAllAssetsByWalletID + +> ListAllAssetsByWalletIDR ListAllAssetsByWalletID(ctx, walletId).Context(context).Execute() + +List All Assets By Wallet ID + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + walletId := "60c9d9921c38030006675ff6" // string | Defines the unique ID of the Wallet. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InformativeApi.ListAllAssetsByWalletID(context.Background(), walletId).Context(context).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `InformativeApi.ListAllAssetsByWalletID``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListAllAssetsByWalletID`: ListAllAssetsByWalletIDR + fmt.Fprintf(os.Stdout, "Response from `InformativeApi.ListAllAssetsByWalletID`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**walletId** | **string** | Defines the unique ID of the Wallet. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiListAllAssetsByWalletIDRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + +### Return type + +[**ListAllAssetsByWalletIDR**](ListAllAssetsByWalletIDR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListAllAssetsFromAllWallets + +> ListAllAssetsFromAllWalletsR ListAllAssetsFromAllWallets(ctx).Context(context).Limit(limit).Offset(offset).Execute() + +List All Assets From All Wallets + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InformativeApi.ListAllAssetsFromAllWallets(context.Background()).Context(context).Limit(limit).Offset(offset).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `InformativeApi.ListAllAssetsFromAllWallets``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListAllAssetsFromAllWallets`: ListAllAssetsFromAllWalletsR + fmt.Fprintf(os.Stdout, "Response from `InformativeApi.ListAllAssetsFromAllWallets`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListAllAssetsFromAllWalletsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + +### Return type + +[**ListAllAssetsFromAllWalletsR**](ListAllAssetsFromAllWalletsR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## ListDepositAddresses > ListDepositAddressesR ListDepositAddresses(ctx, blockchain, network, walletId).Context(context).Execute() @@ -265,11 +409,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. walletId := "60c9d9921c38030006675ff6" // string | Represents the unique ID of the specific Wallet. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InformativeApi.ListDepositAddresses(context.Background(), blockchain, network, walletId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InformativeApi.ListDepositAddresses(context.Background(), blockchain, network, walletId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InformativeApi.ListDepositAddresses``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -342,13 +486,13 @@ import ( func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InformativeApi.ListSupportedTokens(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InformativeApi.ListSupportedTokens(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InformativeApi.ListSupportedTokens``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -422,13 +566,13 @@ func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. walletId := "60c9d9921c38030006675ff6" // string | Represents the unique ID of the specific Wallet. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InformativeApi.ListWalletTransactions(context.Background(), blockchain, network, walletId).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InformativeApi.ListWalletTransactions(context.Background(), blockchain, network, walletId).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InformativeApi.ListWalletTransactions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/InlineResponse400100.md b/docs/InlineResponse400100.md new file mode 100644 index 0000000..04c2772 --- /dev/null +++ b/docs/InlineResponse400100.md @@ -0,0 +1,119 @@ +# InlineResponse400100 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EstimateGasLimitE400**](EstimateGasLimitE400.md) | | + +## Methods + +### NewInlineResponse400100 + +`func NewInlineResponse400100(apiVersion string, requestId string, error_ EstimateGasLimitE400, ) *InlineResponse400100` + +NewInlineResponse400100 instantiates a new InlineResponse400100 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400100WithDefaults + +`func NewInlineResponse400100WithDefaults() *InlineResponse400100` + +NewInlineResponse400100WithDefaults instantiates a new InlineResponse400100 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400100) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400100) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400100) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400100) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400100) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400100) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400100) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400100) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400100) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400100) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400100) GetError() EstimateGasLimitE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400100) GetErrorOk() (*EstimateGasLimitE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400100) SetError(v EstimateGasLimitE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400101.md b/docs/InlineResponse400101.md new file mode 100644 index 0000000..9795239 --- /dev/null +++ b/docs/InlineResponse400101.md @@ -0,0 +1,119 @@ +# InlineResponse400101 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EstimateTokenGasLimitE400**](EstimateTokenGasLimitE400.md) | | + +## Methods + +### NewInlineResponse400101 + +`func NewInlineResponse400101(apiVersion string, requestId string, error_ EstimateTokenGasLimitE400, ) *InlineResponse400101` + +NewInlineResponse400101 instantiates a new InlineResponse400101 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400101WithDefaults + +`func NewInlineResponse400101WithDefaults() *InlineResponse400101` + +NewInlineResponse400101WithDefaults instantiates a new InlineResponse400101 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400101) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400101) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400101) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400101) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400101) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400101) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400101) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400101) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400101) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400101) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400101) GetError() EstimateTokenGasLimitE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400101) GetErrorOk() (*EstimateTokenGasLimitE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400101) SetError(v EstimateTokenGasLimitE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400102.md b/docs/InlineResponse400102.md new file mode 100644 index 0000000..73ee1ca --- /dev/null +++ b/docs/InlineResponse400102.md @@ -0,0 +1,119 @@ +# InlineResponse400102 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DecodeRawTransactionHexE400**](DecodeRawTransactionHexE400.md) | | + +## Methods + +### NewInlineResponse400102 + +`func NewInlineResponse400102(apiVersion string, requestId string, error_ DecodeRawTransactionHexE400, ) *InlineResponse400102` + +NewInlineResponse400102 instantiates a new InlineResponse400102 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400102WithDefaults + +`func NewInlineResponse400102WithDefaults() *InlineResponse400102` + +NewInlineResponse400102WithDefaults instantiates a new InlineResponse400102 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400102) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400102) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400102) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400102) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400102) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400102) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400102) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400102) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400102) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400102) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400102) GetError() DecodeRawTransactionHexE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400102) GetErrorOk() (*DecodeRawTransactionHexE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400102) SetError(v DecodeRawTransactionHexE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400103.md b/docs/InlineResponse400103.md new file mode 100644 index 0000000..d916309 --- /dev/null +++ b/docs/InlineResponse400103.md @@ -0,0 +1,119 @@ +# InlineResponse400103 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DecodeXAddressE400**](DecodeXAddressE400.md) | | + +## Methods + +### NewInlineResponse400103 + +`func NewInlineResponse400103(apiVersion string, requestId string, error_ DecodeXAddressE400, ) *InlineResponse400103` + +NewInlineResponse400103 instantiates a new InlineResponse400103 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400103WithDefaults + +`func NewInlineResponse400103WithDefaults() *InlineResponse400103` + +NewInlineResponse400103WithDefaults instantiates a new InlineResponse400103 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400103) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400103) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400103) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400103) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400103) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400103) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400103) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400103) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400103) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400103) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400103) GetError() DecodeXAddressE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400103) GetErrorOk() (*DecodeXAddressE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400103) SetError(v DecodeXAddressE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400104.md b/docs/InlineResponse400104.md new file mode 100644 index 0000000..c577de3 --- /dev/null +++ b/docs/InlineResponse400104.md @@ -0,0 +1,119 @@ +# InlineResponse400104 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EncodeXAddressE400**](EncodeXAddressE400.md) | | + +## Methods + +### NewInlineResponse400104 + +`func NewInlineResponse400104(apiVersion string, requestId string, error_ EncodeXAddressE400, ) *InlineResponse400104` + +NewInlineResponse400104 instantiates a new InlineResponse400104 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400104WithDefaults + +`func NewInlineResponse400104WithDefaults() *InlineResponse400104` + +NewInlineResponse400104WithDefaults instantiates a new InlineResponse400104 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400104) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400104) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400104) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400104) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400104) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400104) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400104) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400104) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400104) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400104) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400104) GetError() EncodeXAddressE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400104) GetErrorOk() (*EncodeXAddressE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400104) SetError(v EncodeXAddressE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400105.md b/docs/InlineResponse400105.md new file mode 100644 index 0000000..43eedcf --- /dev/null +++ b/docs/InlineResponse400105.md @@ -0,0 +1,119 @@ +# InlineResponse400105 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListSupportedAssetsE400**](ListSupportedAssetsE400.md) | | + +## Methods + +### NewInlineResponse400105 + +`func NewInlineResponse400105(apiVersion string, requestId string, error_ ListSupportedAssetsE400, ) *InlineResponse400105` + +NewInlineResponse400105 instantiates a new InlineResponse400105 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400105WithDefaults + +`func NewInlineResponse400105WithDefaults() *InlineResponse400105` + +NewInlineResponse400105WithDefaults instantiates a new InlineResponse400105 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400105) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400105) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400105) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400105) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400105) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400105) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400105) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400105) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400105) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400105) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400105) GetError() ListSupportedAssetsE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400105) GetErrorOk() (*ListSupportedAssetsE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400105) SetError(v ListSupportedAssetsE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400106.md b/docs/InlineResponse400106.md new file mode 100644 index 0000000..5067a41 --- /dev/null +++ b/docs/InlineResponse400106.md @@ -0,0 +1,119 @@ +# InlineResponse400106 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetExchangeRateByAssetSymbolsE400**](GetExchangeRateByAssetSymbolsE400.md) | | + +## Methods + +### NewInlineResponse400106 + +`func NewInlineResponse400106(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE400, ) *InlineResponse400106` + +NewInlineResponse400106 instantiates a new InlineResponse400106 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400106WithDefaults + +`func NewInlineResponse400106WithDefaults() *InlineResponse400106` + +NewInlineResponse400106WithDefaults instantiates a new InlineResponse400106 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400106) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400106) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400106) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400106) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400106) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400106) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400106) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400106) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400106) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400106) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400106) GetError() GetExchangeRateByAssetSymbolsE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400106) GetErrorOk() (*GetExchangeRateByAssetSymbolsE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400106) SetError(v GetExchangeRateByAssetSymbolsE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400107.md b/docs/InlineResponse400107.md new file mode 100644 index 0000000..337e56e --- /dev/null +++ b/docs/InlineResponse400107.md @@ -0,0 +1,119 @@ +# InlineResponse400107 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetExchangeRateByAssetsIDsE400**](GetExchangeRateByAssetsIDsE400.md) | | + +## Methods + +### NewInlineResponse400107 + +`func NewInlineResponse400107(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE400, ) *InlineResponse400107` + +NewInlineResponse400107 instantiates a new InlineResponse400107 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400107WithDefaults + +`func NewInlineResponse400107WithDefaults() *InlineResponse400107` + +NewInlineResponse400107WithDefaults instantiates a new InlineResponse400107 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400107) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400107) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400107) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400107) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400107) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400107) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400107) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400107) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400107) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400107) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400107) GetError() GetExchangeRateByAssetsIDsE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400107) GetErrorOk() (*GetExchangeRateByAssetsIDsE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400107) SetError(v GetExchangeRateByAssetsIDsE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400108.md b/docs/InlineResponse400108.md new file mode 100644 index 0000000..295e64d --- /dev/null +++ b/docs/InlineResponse400108.md @@ -0,0 +1,119 @@ +# InlineResponse400108 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListAssetsDetailsE400**](ListAssetsDetailsE400.md) | | + +## Methods + +### NewInlineResponse400108 + +`func NewInlineResponse400108(apiVersion string, requestId string, error_ ListAssetsDetailsE400, ) *InlineResponse400108` + +NewInlineResponse400108 instantiates a new InlineResponse400108 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400108WithDefaults + +`func NewInlineResponse400108WithDefaults() *InlineResponse400108` + +NewInlineResponse400108WithDefaults instantiates a new InlineResponse400108 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400108) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400108) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400108) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400108) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400108) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400108) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400108) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400108) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400108) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400108) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400108) GetError() ListAssetsDetailsE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400108) GetErrorOk() (*ListAssetsDetailsE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400108) SetError(v ListAssetsDetailsE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400109.md b/docs/InlineResponse400109.md new file mode 100644 index 0000000..4147f7e --- /dev/null +++ b/docs/InlineResponse400109.md @@ -0,0 +1,119 @@ +# InlineResponse400109 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetAssetDetailsByAssetIDE400**](GetAssetDetailsByAssetIDE400.md) | | + +## Methods + +### NewInlineResponse400109 + +`func NewInlineResponse400109(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE400, ) *InlineResponse400109` + +NewInlineResponse400109 instantiates a new InlineResponse400109 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400109WithDefaults + +`func NewInlineResponse400109WithDefaults() *InlineResponse400109` + +NewInlineResponse400109WithDefaults instantiates a new InlineResponse400109 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400109) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400109) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400109) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400109) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400109) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400109) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400109) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400109) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400109) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400109) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400109) GetError() GetAssetDetailsByAssetIDE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400109) GetErrorOk() (*GetAssetDetailsByAssetIDE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400109) SetError(v GetAssetDetailsByAssetIDE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse400110.md b/docs/InlineResponse400110.md new file mode 100644 index 0000000..39418d8 --- /dev/null +++ b/docs/InlineResponse400110.md @@ -0,0 +1,119 @@ +# InlineResponse400110 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetAssetDetailsByAssetSymbolE400**](GetAssetDetailsByAssetSymbolE400.md) | | + +## Methods + +### NewInlineResponse400110 + +`func NewInlineResponse400110(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE400, ) *InlineResponse400110` + +NewInlineResponse400110 instantiates a new InlineResponse400110 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse400110WithDefaults + +`func NewInlineResponse400110WithDefaults() *InlineResponse400110` + +NewInlineResponse400110WithDefaults instantiates a new InlineResponse400110 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse400110) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse400110) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse400110) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse400110) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse400110) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse400110) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse400110) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse400110) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse400110) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse400110) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse400110) GetError() GetAssetDetailsByAssetSymbolE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse400110) GetErrorOk() (*GetAssetDetailsByAssetSymbolE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse400110) SetError(v GetAssetDetailsByAssetSymbolE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40016.md b/docs/InlineResponse40016.md index ba40b36..4978a68 100644 --- a/docs/InlineResponse40016.md +++ b/docs/InlineResponse40016.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListAllUnconfirmedTransactionsE400**](ListAllUnconfirmedTransactionsE400.md) | | +**Error** | [**ListXRPRippleTransactionsByAddressAndTimeRangeE400**](ListXRPRippleTransactionsByAddressAndTimeRangeE400.md) | | ## Methods ### NewInlineResponse40016 -`func NewInlineResponse40016(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE400, ) *InlineResponse40016` +`func NewInlineResponse40016(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByAddressAndTimeRangeE400, ) *InlineResponse40016` NewInlineResponse40016 instantiates a new InlineResponse40016 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40016) GetError() ListAllUnconfirmedTransactionsE400` +`func (o *InlineResponse40016) GetError() ListXRPRippleTransactionsByAddressAndTimeRangeE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40016) GetErrorOk() (*ListAllUnconfirmedTransactionsE400, bool)` +`func (o *InlineResponse40016) GetErrorOk() (*ListXRPRippleTransactionsByAddressAndTimeRangeE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40016) SetError(v ListAllUnconfirmedTransactionsE400)` +`func (o *InlineResponse40016) SetError(v ListXRPRippleTransactionsByAddressAndTimeRangeE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40017.md b/docs/InlineResponse40017.md index 8685cab..7694c0c 100644 --- a/docs/InlineResponse40017.md +++ b/docs/InlineResponse40017.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTransactionsByBlockHashE400**](ListTransactionsByBlockHashE400.md) | | +**Error** | [**ListAllUnconfirmedTransactionsE400**](ListAllUnconfirmedTransactionsE400.md) | | ## Methods ### NewInlineResponse40017 -`func NewInlineResponse40017(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE400, ) *InlineResponse40017` +`func NewInlineResponse40017(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE400, ) *InlineResponse40017` NewInlineResponse40017 instantiates a new InlineResponse40017 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40017) GetError() ListTransactionsByBlockHashE400` +`func (o *InlineResponse40017) GetError() ListAllUnconfirmedTransactionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40017) GetErrorOk() (*ListTransactionsByBlockHashE400, bool)` +`func (o *InlineResponse40017) GetErrorOk() (*ListAllUnconfirmedTransactionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40017) SetError(v ListTransactionsByBlockHashE400)` +`func (o *InlineResponse40017) SetError(v ListAllUnconfirmedTransactionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40018.md b/docs/InlineResponse40018.md index de11ffc..ffe8bf6 100644 --- a/docs/InlineResponse40018.md +++ b/docs/InlineResponse40018.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListXRPRippleTransactionsByBlockHashE400**](ListXRPRippleTransactionsByBlockHashE400.md) | | +**Error** | [**ListTransactionsByBlockHashE400**](ListTransactionsByBlockHashE400.md) | | ## Methods ### NewInlineResponse40018 -`func NewInlineResponse40018(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE400, ) *InlineResponse40018` +`func NewInlineResponse40018(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE400, ) *InlineResponse40018` NewInlineResponse40018 instantiates a new InlineResponse40018 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40018) GetError() ListXRPRippleTransactionsByBlockHashE400` +`func (o *InlineResponse40018) GetError() ListTransactionsByBlockHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40018) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE400, bool)` +`func (o *InlineResponse40018) GetErrorOk() (*ListTransactionsByBlockHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40018) SetError(v ListXRPRippleTransactionsByBlockHashE400)` +`func (o *InlineResponse40018) SetError(v ListTransactionsByBlockHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40019.md b/docs/InlineResponse40019.md index 70ded41..1670c16 100644 --- a/docs/InlineResponse40019.md +++ b/docs/InlineResponse40019.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetUnconfirmedOmniTransactionByTransactionIDTxidE400**](GetUnconfirmedOmniTransactionByTransactionIDTxidE400.md) | | +**Error** | [**ListXRPRippleTransactionsByBlockHashE400**](ListXRPRippleTransactionsByBlockHashE400.md) | | ## Methods ### NewInlineResponse40019 -`func NewInlineResponse40019(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE400, ) *InlineResponse40019` +`func NewInlineResponse40019(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE400, ) *InlineResponse40019` NewInlineResponse40019 instantiates a new InlineResponse40019 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40019) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE400` +`func (o *InlineResponse40019) GetError() ListXRPRippleTransactionsByBlockHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40019) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE400, bool)` +`func (o *InlineResponse40019) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40019) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE400)` +`func (o *InlineResponse40019) SetError(v ListXRPRippleTransactionsByBlockHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40020.md b/docs/InlineResponse40020.md index f0b5645..89b0474 100644 --- a/docs/InlineResponse40020.md +++ b/docs/InlineResponse40020.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateCoinsTransactionRequestFromAddressE400**](CreateCoinsTransactionRequestFromAddressE400.md) | | +**Error** | [**GetUnconfirmedOmniTransactionByTransactionIDTxidE400**](GetUnconfirmedOmniTransactionByTransactionIDTxidE400.md) | | ## Methods ### NewInlineResponse40020 -`func NewInlineResponse40020(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE400, ) *InlineResponse40020` +`func NewInlineResponse40020(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE400, ) *InlineResponse40020` NewInlineResponse40020 instantiates a new InlineResponse40020 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40020) GetError() CreateCoinsTransactionRequestFromAddressE400` +`func (o *InlineResponse40020) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40020) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE400, bool)` +`func (o *InlineResponse40020) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40020) SetError(v CreateCoinsTransactionRequestFromAddressE400)` +`func (o *InlineResponse40020) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40021.md b/docs/InlineResponse40021.md index e9c1724..d0b106b 100644 --- a/docs/InlineResponse40021.md +++ b/docs/InlineResponse40021.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListZilliqaTransactionsByBlockHashE400**](ListZilliqaTransactionsByBlockHashE400.md) | | +**Error** | [**CreateCoinsTransactionRequestFromAddressE400**](CreateCoinsTransactionRequestFromAddressE400.md) | | ## Methods ### NewInlineResponse40021 -`func NewInlineResponse40021(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE400, ) *InlineResponse40021` +`func NewInlineResponse40021(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE400, ) *InlineResponse40021` NewInlineResponse40021 instantiates a new InlineResponse40021 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40021) GetError() ListZilliqaTransactionsByBlockHashE400` +`func (o *InlineResponse40021) GetError() CreateCoinsTransactionRequestFromAddressE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40021) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE400, bool)` +`func (o *InlineResponse40021) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40021) SetError(v ListZilliqaTransactionsByBlockHashE400)` +`func (o *InlineResponse40021) SetError(v CreateCoinsTransactionRequestFromAddressE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40022.md b/docs/InlineResponse40022.md index 537b4dd..c97966a 100644 --- a/docs/InlineResponse40022.md +++ b/docs/InlineResponse40022.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListZilliqaTransactionsByBlockHeightE400**](ListZilliqaTransactionsByBlockHeightE400.md) | | +**Error** | [**ListZilliqaTransactionsByBlockHashE400**](ListZilliqaTransactionsByBlockHashE400.md) | | ## Methods ### NewInlineResponse40022 -`func NewInlineResponse40022(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE400, ) *InlineResponse40022` +`func NewInlineResponse40022(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE400, ) *InlineResponse40022` NewInlineResponse40022 instantiates a new InlineResponse40022 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40022) GetError() ListZilliqaTransactionsByBlockHeightE400` +`func (o *InlineResponse40022) GetError() ListZilliqaTransactionsByBlockHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40022) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE400, bool)` +`func (o *InlineResponse40022) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40022) SetError(v ListZilliqaTransactionsByBlockHeightE400)` +`func (o *InlineResponse40022) SetError(v ListZilliqaTransactionsByBlockHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40023.md b/docs/InlineResponse40023.md index 636de56..3c27d46 100644 --- a/docs/InlineResponse40023.md +++ b/docs/InlineResponse40023.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListXRPRippleTransactionsByBlockHeightE400**](ListXRPRippleTransactionsByBlockHeightE400.md) | | +**Error** | [**ListZilliqaTransactionsByBlockHeightE400**](ListZilliqaTransactionsByBlockHeightE400.md) | | ## Methods ### NewInlineResponse40023 -`func NewInlineResponse40023(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE400, ) *InlineResponse40023` +`func NewInlineResponse40023(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE400, ) *InlineResponse40023` NewInlineResponse40023 instantiates a new InlineResponse40023 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40023) GetError() ListXRPRippleTransactionsByBlockHeightE400` +`func (o *InlineResponse40023) GetError() ListZilliqaTransactionsByBlockHeightE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40023) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE400, bool)` +`func (o *InlineResponse40023) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40023) SetError(v ListXRPRippleTransactionsByBlockHeightE400)` +`func (o *InlineResponse40023) SetError(v ListZilliqaTransactionsByBlockHeightE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40024.md b/docs/InlineResponse40024.md index 6faa61b..aed5b14 100644 --- a/docs/InlineResponse40024.md +++ b/docs/InlineResponse40024.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTransactionsByBlockHeightE400**](ListTransactionsByBlockHeightE400.md) | | +**Error** | [**ListXRPRippleTransactionsByBlockHeightE400**](ListXRPRippleTransactionsByBlockHeightE400.md) | | ## Methods ### NewInlineResponse40024 -`func NewInlineResponse40024(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE400, ) *InlineResponse40024` +`func NewInlineResponse40024(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE400, ) *InlineResponse40024` NewInlineResponse40024 instantiates a new InlineResponse40024 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40024) GetError() ListTransactionsByBlockHeightE400` +`func (o *InlineResponse40024) GetError() ListXRPRippleTransactionsByBlockHeightE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40024) GetErrorOk() (*ListTransactionsByBlockHeightE400, bool)` +`func (o *InlineResponse40024) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40024) SetError(v ListTransactionsByBlockHeightE400)` +`func (o *InlineResponse40024) SetError(v ListXRPRippleTransactionsByBlockHeightE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40025.md b/docs/InlineResponse40025.md index f60f7d3..fa9e06e 100644 --- a/docs/InlineResponse40025.md +++ b/docs/InlineResponse40025.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateCoinsTransactionFromAddressForWholeAmountE400**](CreateCoinsTransactionFromAddressForWholeAmountE400.md) | | +**Error** | [**ListTransactionsByBlockHeightE400**](ListTransactionsByBlockHeightE400.md) | | ## Methods ### NewInlineResponse40025 -`func NewInlineResponse40025(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE400, ) *InlineResponse40025` +`func NewInlineResponse40025(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE400, ) *InlineResponse40025` NewInlineResponse40025 instantiates a new InlineResponse40025 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40025) GetError() CreateCoinsTransactionFromAddressForWholeAmountE400` +`func (o *InlineResponse40025) GetError() ListTransactionsByBlockHeightE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40025) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE400, bool)` +`func (o *InlineResponse40025) GetErrorOk() (*ListTransactionsByBlockHeightE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40025) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE400)` +`func (o *InlineResponse40025) SetError(v ListTransactionsByBlockHeightE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40026.md b/docs/InlineResponse40026.md index 1d01f99..1199f51 100644 --- a/docs/InlineResponse40026.md +++ b/docs/InlineResponse40026.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHeightE400**](GetBlockDetailsByBlockHeightE400.md) | | +**Error** | [**CreateCoinsTransactionFromAddressForWholeAmountE400**](CreateCoinsTransactionFromAddressForWholeAmountE400.md) | | ## Methods ### NewInlineResponse40026 -`func NewInlineResponse40026(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE400, ) *InlineResponse40026` +`func NewInlineResponse40026(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE400, ) *InlineResponse40026` NewInlineResponse40026 instantiates a new InlineResponse40026 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40026) GetError() GetBlockDetailsByBlockHeightE400` +`func (o *InlineResponse40026) GetError() CreateCoinsTransactionFromAddressForWholeAmountE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40026) GetErrorOk() (*GetBlockDetailsByBlockHeightE400, bool)` +`func (o *InlineResponse40026) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40026) SetError(v GetBlockDetailsByBlockHeightE400)` +`func (o *InlineResponse40026) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40027.md b/docs/InlineResponse40027.md index 7ad9eb2..03edcbb 100644 --- a/docs/InlineResponse40027.md +++ b/docs/InlineResponse40027.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetXRPRippleBlockDetailsByBlockHeightE400**](GetXRPRippleBlockDetailsByBlockHeightE400.md) | | +**Error** | [**GetBlockDetailsByBlockHeightE400**](GetBlockDetailsByBlockHeightE400.md) | | ## Methods ### NewInlineResponse40027 -`func NewInlineResponse40027(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE400, ) *InlineResponse40027` +`func NewInlineResponse40027(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE400, ) *InlineResponse40027` NewInlineResponse40027 instantiates a new InlineResponse40027 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40027) GetError() GetXRPRippleBlockDetailsByBlockHeightE400` +`func (o *InlineResponse40027) GetError() GetBlockDetailsByBlockHeightE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40027) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE400, bool)` +`func (o *InlineResponse40027) GetErrorOk() (*GetBlockDetailsByBlockHeightE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40027) SetError(v GetXRPRippleBlockDetailsByBlockHeightE400)` +`func (o *InlineResponse40027) SetError(v GetBlockDetailsByBlockHeightE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40028.md b/docs/InlineResponse40028.md index f7da344..f5d92f4 100644 --- a/docs/InlineResponse40028.md +++ b/docs/InlineResponse40028.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListUnconfirmedOmniTransactionsByPropertyIDE400**](ListUnconfirmedOmniTransactionsByPropertyIDE400.md) | | +**Error** | [**GetXRPRippleBlockDetailsByBlockHeightE400**](GetXRPRippleBlockDetailsByBlockHeightE400.md) | | ## Methods ### NewInlineResponse40028 -`func NewInlineResponse40028(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE400, ) *InlineResponse40028` +`func NewInlineResponse40028(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE400, ) *InlineResponse40028` NewInlineResponse40028 instantiates a new InlineResponse40028 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40028) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE400` +`func (o *InlineResponse40028) GetError() GetXRPRippleBlockDetailsByBlockHeightE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40028) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE400, bool)` +`func (o *InlineResponse40028) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40028) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE400)` +`func (o *InlineResponse40028) SetError(v GetXRPRippleBlockDetailsByBlockHeightE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40029.md b/docs/InlineResponse40029.md index 71e9c41..36b6ed2 100644 --- a/docs/InlineResponse40029.md +++ b/docs/InlineResponse40029.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetZilliqaBlockDetailsByBlockHeightE400**](GetZilliqaBlockDetailsByBlockHeightE400.md) | | +**Error** | [**ListUnconfirmedOmniTransactionsByPropertyIDE400**](ListUnconfirmedOmniTransactionsByPropertyIDE400.md) | | ## Methods ### NewInlineResponse40029 -`func NewInlineResponse40029(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE400, ) *InlineResponse40029` +`func NewInlineResponse40029(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE400, ) *InlineResponse40029` NewInlineResponse40029 instantiates a new InlineResponse40029 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40029) GetError() GetZilliqaBlockDetailsByBlockHeightE400` +`func (o *InlineResponse40029) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40029) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE400, bool)` +`func (o *InlineResponse40029) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40029) SetError(v GetZilliqaBlockDetailsByBlockHeightE400)` +`func (o *InlineResponse40029) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40030.md b/docs/InlineResponse40030.md index 4f515ec..d00bbbe 100644 --- a/docs/InlineResponse40030.md +++ b/docs/InlineResponse40030.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHashE400**](GetBlockDetailsByBlockHashE400.md) | | +**Error** | [**GetZilliqaBlockDetailsByBlockHeightE400**](GetZilliqaBlockDetailsByBlockHeightE400.md) | | ## Methods ### NewInlineResponse40030 -`func NewInlineResponse40030(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE400, ) *InlineResponse40030` +`func NewInlineResponse40030(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE400, ) *InlineResponse40030` NewInlineResponse40030 instantiates a new InlineResponse40030 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40030) GetError() GetBlockDetailsByBlockHashE400` +`func (o *InlineResponse40030) GetError() GetZilliqaBlockDetailsByBlockHeightE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40030) GetErrorOk() (*GetBlockDetailsByBlockHashE400, bool)` +`func (o *InlineResponse40030) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40030) SetError(v GetBlockDetailsByBlockHashE400)` +`func (o *InlineResponse40030) SetError(v GetZilliqaBlockDetailsByBlockHeightE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40031.md b/docs/InlineResponse40031.md index 57c5a10..aea8db4 100644 --- a/docs/InlineResponse40031.md +++ b/docs/InlineResponse40031.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetXRPRippleBlockDetailsByBlockHashE400**](GetXRPRippleBlockDetailsByBlockHashE400.md) | | +**Error** | [**GetBlockDetailsByBlockHashE400**](GetBlockDetailsByBlockHashE400.md) | | ## Methods ### NewInlineResponse40031 -`func NewInlineResponse40031(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE400, ) *InlineResponse40031` +`func NewInlineResponse40031(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE400, ) *InlineResponse40031` NewInlineResponse40031 instantiates a new InlineResponse40031 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40031) GetError() GetXRPRippleBlockDetailsByBlockHashE400` +`func (o *InlineResponse40031) GetError() GetBlockDetailsByBlockHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40031) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE400, bool)` +`func (o *InlineResponse40031) GetErrorOk() (*GetBlockDetailsByBlockHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40031) SetError(v GetXRPRippleBlockDetailsByBlockHashE400)` +`func (o *InlineResponse40031) SetError(v GetBlockDetailsByBlockHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40032.md b/docs/InlineResponse40032.md index cf0c5d0..6d94003 100644 --- a/docs/InlineResponse40032.md +++ b/docs/InlineResponse40032.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetOmniTransactionDetailsByTransactionIDTxidE400**](GetOmniTransactionDetailsByTransactionIDTxidE400.md) | | +**Error** | [**GetXRPRippleBlockDetailsByBlockHashE400**](GetXRPRippleBlockDetailsByBlockHashE400.md) | | ## Methods ### NewInlineResponse40032 -`func NewInlineResponse40032(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE400, ) *InlineResponse40032` +`func NewInlineResponse40032(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE400, ) *InlineResponse40032` NewInlineResponse40032 instantiates a new InlineResponse40032 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40032) GetError() GetOmniTransactionDetailsByTransactionIDTxidE400` +`func (o *InlineResponse40032) GetError() GetXRPRippleBlockDetailsByBlockHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40032) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE400, bool)` +`func (o *InlineResponse40032) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40032) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE400)` +`func (o *InlineResponse40032) SetError(v GetXRPRippleBlockDetailsByBlockHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40033.md b/docs/InlineResponse40033.md index dcc5cfe..87061b8 100644 --- a/docs/InlineResponse40033.md +++ b/docs/InlineResponse40033.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetZilliqaBlockDetailsByBlockHashE400**](GetZilliqaBlockDetailsByBlockHashE400.md) | | +**Error** | [**GetOmniTransactionDetailsByTransactionIDTxidE400**](GetOmniTransactionDetailsByTransactionIDTxidE400.md) | | ## Methods ### NewInlineResponse40033 -`func NewInlineResponse40033(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE400, ) *InlineResponse40033` +`func NewInlineResponse40033(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE400, ) *InlineResponse40033` NewInlineResponse40033 instantiates a new InlineResponse40033 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40033) GetError() GetZilliqaBlockDetailsByBlockHashE400` +`func (o *InlineResponse40033) GetError() GetOmniTransactionDetailsByTransactionIDTxidE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40033) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE400, bool)` +`func (o *InlineResponse40033) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40033) SetError(v GetZilliqaBlockDetailsByBlockHashE400)` +`func (o *InlineResponse40033) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40034.md b/docs/InlineResponse40034.md index 7328f2c..84de8c1 100644 --- a/docs/InlineResponse40034.md +++ b/docs/InlineResponse40034.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListSupportedTokensE400**](ListSupportedTokensE400.md) | | +**Error** | [**GetZilliqaBlockDetailsByBlockHashE400**](GetZilliqaBlockDetailsByBlockHashE400.md) | | ## Methods ### NewInlineResponse40034 -`func NewInlineResponse40034(apiVersion string, requestId string, error_ ListSupportedTokensE400, ) *InlineResponse40034` +`func NewInlineResponse40034(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE400, ) *InlineResponse40034` NewInlineResponse40034 instantiates a new InlineResponse40034 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40034) GetError() ListSupportedTokensE400` +`func (o *InlineResponse40034) GetError() GetZilliqaBlockDetailsByBlockHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40034) GetErrorOk() (*ListSupportedTokensE400, bool)` +`func (o *InlineResponse40034) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40034) SetError(v ListSupportedTokensE400)` +`func (o *InlineResponse40034) SetError(v GetZilliqaBlockDetailsByBlockHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40035.md b/docs/InlineResponse40035.md index 439a09d..786992e 100644 --- a/docs/InlineResponse40035.md +++ b/docs/InlineResponse40035.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetWalletAssetDetailsE400**](GetWalletAssetDetailsE400.md) | | +**Error** | [**ListSupportedTokensE400**](ListSupportedTokensE400.md) | | ## Methods ### NewInlineResponse40035 -`func NewInlineResponse40035(apiVersion string, requestId string, error_ GetWalletAssetDetailsE400, ) *InlineResponse40035` +`func NewInlineResponse40035(apiVersion string, requestId string, error_ ListSupportedTokensE400, ) *InlineResponse40035` NewInlineResponse40035 instantiates a new InlineResponse40035 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40035) GetError() GetWalletAssetDetailsE400` +`func (o *InlineResponse40035) GetError() ListSupportedTokensE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40035) GetErrorOk() (*GetWalletAssetDetailsE400, bool)` +`func (o *InlineResponse40035) GetErrorOk() (*ListSupportedTokensE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40035) SetError(v GetWalletAssetDetailsE400)` +`func (o *InlineResponse40035) SetError(v ListSupportedTokensE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40036.md b/docs/InlineResponse40036.md index 1c18c41..bfd0153 100644 --- a/docs/InlineResponse40036.md +++ b/docs/InlineResponse40036.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateFungibleTokensTransactionRequestFromAddressE400**](CreateFungibleTokensTransactionRequestFromAddressE400.md) | | +**Error** | [**GetWalletAssetDetailsE400**](GetWalletAssetDetailsE400.md) | | ## Methods ### NewInlineResponse40036 -`func NewInlineResponse40036(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE400, ) *InlineResponse40036` +`func NewInlineResponse40036(apiVersion string, requestId string, error_ GetWalletAssetDetailsE400, ) *InlineResponse40036` NewInlineResponse40036 instantiates a new InlineResponse40036 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40036) GetError() CreateFungibleTokensTransactionRequestFromAddressE400` +`func (o *InlineResponse40036) GetError() GetWalletAssetDetailsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40036) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE400, bool)` +`func (o *InlineResponse40036) GetErrorOk() (*GetWalletAssetDetailsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40036) SetError(v CreateFungibleTokensTransactionRequestFromAddressE400)` +`func (o *InlineResponse40036) SetError(v GetWalletAssetDetailsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40037.md b/docs/InlineResponse40037.md index ed6e1f0..7765beb 100644 --- a/docs/InlineResponse40037.md +++ b/docs/InlineResponse40037.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLastMinedBlockE400**](GetLastMinedBlockE400.md) | | +**Error** | [**CreateFungibleTokensTransactionRequestFromAddressE400**](CreateFungibleTokensTransactionRequestFromAddressE400.md) | | ## Methods ### NewInlineResponse40037 -`func NewInlineResponse40037(apiVersion string, requestId string, error_ GetLastMinedBlockE400, ) *InlineResponse40037` +`func NewInlineResponse40037(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE400, ) *InlineResponse40037` NewInlineResponse40037 instantiates a new InlineResponse40037 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40037) GetError() GetLastMinedBlockE400` +`func (o *InlineResponse40037) GetError() CreateFungibleTokensTransactionRequestFromAddressE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40037) GetErrorOk() (*GetLastMinedBlockE400, bool)` +`func (o *InlineResponse40037) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40037) SetError(v GetLastMinedBlockE400)` +`func (o *InlineResponse40037) SetError(v CreateFungibleTokensTransactionRequestFromAddressE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40038.md b/docs/InlineResponse40038.md index 1b483ed..5ca383a 100644 --- a/docs/InlineResponse40038.md +++ b/docs/InlineResponse40038.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListOmniTransactionsByBlockHeightE400**](ListOmniTransactionsByBlockHeightE400.md) | | +**Error** | [**ListAllAssetsFromAllWalletsE400**](ListAllAssetsFromAllWalletsE400.md) | | ## Methods ### NewInlineResponse40038 -`func NewInlineResponse40038(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE400, ) *InlineResponse40038` +`func NewInlineResponse40038(apiVersion string, requestId string, error_ ListAllAssetsFromAllWalletsE400, ) *InlineResponse40038` NewInlineResponse40038 instantiates a new InlineResponse40038 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40038) GetError() ListOmniTransactionsByBlockHeightE400` +`func (o *InlineResponse40038) GetError() ListAllAssetsFromAllWalletsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40038) GetErrorOk() (*ListOmniTransactionsByBlockHeightE400, bool)` +`func (o *InlineResponse40038) GetErrorOk() (*ListAllAssetsFromAllWalletsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40038) SetError(v ListOmniTransactionsByBlockHeightE400)` +`func (o *InlineResponse40038) SetError(v ListAllAssetsFromAllWalletsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40039.md b/docs/InlineResponse40039.md index a69b49e..5097245 100644 --- a/docs/InlineResponse40039.md +++ b/docs/InlineResponse40039.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLatestMinedXRPRippleBlockE400**](GetLatestMinedXRPRippleBlockE400.md) | | +**Error** | [**ListAllAssetsByWalletIDE400**](ListAllAssetsByWalletIDE400.md) | | ## Methods ### NewInlineResponse40039 -`func NewInlineResponse40039(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE400, ) *InlineResponse40039` +`func NewInlineResponse40039(apiVersion string, requestId string, error_ ListAllAssetsByWalletIDE400, ) *InlineResponse40039` NewInlineResponse40039 instantiates a new InlineResponse40039 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40039) GetError() GetLatestMinedXRPRippleBlockE400` +`func (o *InlineResponse40039) GetError() ListAllAssetsByWalletIDE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40039) GetErrorOk() (*GetLatestMinedXRPRippleBlockE400, bool)` +`func (o *InlineResponse40039) GetErrorOk() (*ListAllAssetsByWalletIDE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40039) SetError(v GetLatestMinedXRPRippleBlockE400)` +`func (o *InlineResponse40039) SetError(v ListAllAssetsByWalletIDE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40040.md b/docs/InlineResponse40040.md index aec51a4..8cc7a52 100644 --- a/docs/InlineResponse40040.md +++ b/docs/InlineResponse40040.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLatestMinedZilliqaBlockE400**](GetLatestMinedZilliqaBlockE400.md) | | +**Error** | [**GetLastMinedBlockE400**](GetLastMinedBlockE400.md) | | ## Methods ### NewInlineResponse40040 -`func NewInlineResponse40040(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE400, ) *InlineResponse40040` +`func NewInlineResponse40040(apiVersion string, requestId string, error_ GetLastMinedBlockE400, ) *InlineResponse40040` NewInlineResponse40040 instantiates a new InlineResponse40040 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40040) GetError() GetLatestMinedZilliqaBlockE400` +`func (o *InlineResponse40040) GetError() GetLastMinedBlockE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40040) GetErrorOk() (*GetLatestMinedZilliqaBlockE400, bool)` +`func (o *InlineResponse40040) GetErrorOk() (*GetLastMinedBlockE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40040) SetError(v GetLatestMinedZilliqaBlockE400)` +`func (o *InlineResponse40040) SetError(v GetLastMinedBlockE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40041.md b/docs/InlineResponse40041.md index 89a633b..0d80ab6 100644 --- a/docs/InlineResponse40041.md +++ b/docs/InlineResponse40041.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTransactionRequestDetailsE400**](GetTransactionRequestDetailsE400.md) | | +**Error** | [**ListOmniTransactionsByBlockHeightE400**](ListOmniTransactionsByBlockHeightE400.md) | | ## Methods ### NewInlineResponse40041 -`func NewInlineResponse40041(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE400, ) *InlineResponse40041` +`func NewInlineResponse40041(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE400, ) *InlineResponse40041` NewInlineResponse40041 instantiates a new InlineResponse40041 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40041) GetError() GetTransactionRequestDetailsE400` +`func (o *InlineResponse40041) GetError() ListOmniTransactionsByBlockHeightE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40041) GetErrorOk() (*GetTransactionRequestDetailsE400, bool)` +`func (o *InlineResponse40041) GetErrorOk() (*ListOmniTransactionsByBlockHeightE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40041) SetError(v GetTransactionRequestDetailsE400)` +`func (o *InlineResponse40041) SetError(v ListOmniTransactionsByBlockHeightE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40042.md b/docs/InlineResponse40042.md index d2021eb..870fe0a 100644 --- a/docs/InlineResponse40042.md +++ b/docs/InlineResponse40042.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListLatestMinedBlocksE400**](ListLatestMinedBlocksE400.md) | | +**Error** | [**GetLatestMinedXRPRippleBlockE400**](GetLatestMinedXRPRippleBlockE400.md) | | ## Methods ### NewInlineResponse40042 -`func NewInlineResponse40042(apiVersion string, requestId string, error_ ListLatestMinedBlocksE400, ) *InlineResponse40042` +`func NewInlineResponse40042(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE400, ) *InlineResponse40042` NewInlineResponse40042 instantiates a new InlineResponse40042 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40042) GetError() ListLatestMinedBlocksE400` +`func (o *InlineResponse40042) GetError() GetLatestMinedXRPRippleBlockE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40042) GetErrorOk() (*ListLatestMinedBlocksE400, bool)` +`func (o *InlineResponse40042) GetErrorOk() (*GetLatestMinedXRPRippleBlockE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40042) SetError(v ListLatestMinedBlocksE400)` +`func (o *InlineResponse40042) SetError(v GetLatestMinedXRPRippleBlockE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40043.md b/docs/InlineResponse40043.md index 7b43f59..751653b 100644 --- a/docs/InlineResponse40043.md +++ b/docs/InlineResponse40043.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**SyncHDWalletXPubYPubZPubE400**](SyncHDWalletXPubYPubZPubE400.md) | | +**Error** | [**GetLatestMinedZilliqaBlockE400**](GetLatestMinedZilliqaBlockE400.md) | | ## Methods ### NewInlineResponse40043 -`func NewInlineResponse40043(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE400, ) *InlineResponse40043` +`func NewInlineResponse40043(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE400, ) *InlineResponse40043` NewInlineResponse40043 instantiates a new InlineResponse40043 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40043) GetError() SyncHDWalletXPubYPubZPubE400` +`func (o *InlineResponse40043) GetError() GetLatestMinedZilliqaBlockE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40043) GetErrorOk() (*SyncHDWalletXPubYPubZPubE400, bool)` +`func (o *InlineResponse40043) GetErrorOk() (*GetLatestMinedZilliqaBlockE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40043) SetError(v SyncHDWalletXPubYPubZPubE400)` +`func (o *InlineResponse40043) SetError(v GetLatestMinedZilliqaBlockE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40044.md b/docs/InlineResponse40044.md index 0523dff..f4512bc 100644 --- a/docs/InlineResponse40044.md +++ b/docs/InlineResponse40044.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListOmniTransactionsByBlockHashE400**](ListOmniTransactionsByBlockHashE400.md) | | +**Error** | [**GetTransactionRequestDetailsE400**](GetTransactionRequestDetailsE400.md) | | ## Methods ### NewInlineResponse40044 -`func NewInlineResponse40044(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE400, ) *InlineResponse40044` +`func NewInlineResponse40044(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE400, ) *InlineResponse40044` NewInlineResponse40044 instantiates a new InlineResponse40044 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40044) GetError() ListOmniTransactionsByBlockHashE400` +`func (o *InlineResponse40044) GetError() GetTransactionRequestDetailsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40044) GetErrorOk() (*ListOmniTransactionsByBlockHashE400, bool)` +`func (o *InlineResponse40044) GetErrorOk() (*GetTransactionRequestDetailsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40044) SetError(v ListOmniTransactionsByBlockHashE400)` +`func (o *InlineResponse40044) SetError(v GetTransactionRequestDetailsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40045.md b/docs/InlineResponse40045.md index a82eb9e..27bcad3 100644 --- a/docs/InlineResponse40045.md +++ b/docs/InlineResponse40045.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListWalletTransactionsE400**](ListWalletTransactionsE400.md) | | +**Error** | [**ListLatestMinedBlocksE400**](ListLatestMinedBlocksE400.md) | | ## Methods ### NewInlineResponse40045 -`func NewInlineResponse40045(apiVersion string, requestId string, error_ ListWalletTransactionsE400, ) *InlineResponse40045` +`func NewInlineResponse40045(apiVersion string, requestId string, error_ ListLatestMinedBlocksE400, ) *InlineResponse40045` NewInlineResponse40045 instantiates a new InlineResponse40045 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40045) GetError() ListWalletTransactionsE400` +`func (o *InlineResponse40045) GetError() ListLatestMinedBlocksE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40045) GetErrorOk() (*ListWalletTransactionsE400, bool)` +`func (o *InlineResponse40045) GetErrorOk() (*ListLatestMinedBlocksE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40045) SetError(v ListWalletTransactionsE400)` +`func (o *InlineResponse40045) SetError(v ListLatestMinedBlocksE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40046.md b/docs/InlineResponse40046.md index 1694620..8ccb914 100644 --- a/docs/InlineResponse40046.md +++ b/docs/InlineResponse40046.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetWalletTransactionDetailsByTransactionIDE400**](GetWalletTransactionDetailsByTransactionIDE400.md) | | +**Error** | [**SyncHDWalletXPubYPubZPubE400**](SyncHDWalletXPubYPubZPubE400.md) | | ## Methods ### NewInlineResponse40046 -`func NewInlineResponse40046(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE400, ) *InlineResponse40046` +`func NewInlineResponse40046(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE400, ) *InlineResponse40046` NewInlineResponse40046 instantiates a new InlineResponse40046 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40046) GetError() GetWalletTransactionDetailsByTransactionIDE400` +`func (o *InlineResponse40046) GetError() SyncHDWalletXPubYPubZPubE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40046) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE400, bool)` +`func (o *InlineResponse40046) GetErrorOk() (*SyncHDWalletXPubYPubZPubE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40046) SetError(v GetWalletTransactionDetailsByTransactionIDE400)` +`func (o *InlineResponse40046) SetError(v SyncHDWalletXPubYPubZPubE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40047.md b/docs/InlineResponse40047.md index 692d2a6..50e24d0 100644 --- a/docs/InlineResponse40047.md +++ b/docs/InlineResponse40047.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetHDWalletXPubYPubZPubDetailsE400**](GetHDWalletXPubYPubZPubDetailsE400.md) | | +**Error** | [**ListOmniTransactionsByBlockHashE400**](ListOmniTransactionsByBlockHashE400.md) | | ## Methods ### NewInlineResponse40047 -`func NewInlineResponse40047(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE400, ) *InlineResponse40047` +`func NewInlineResponse40047(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE400, ) *InlineResponse40047` NewInlineResponse40047 instantiates a new InlineResponse40047 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40047) GetError() GetHDWalletXPubYPubZPubDetailsE400` +`func (o *InlineResponse40047) GetError() ListOmniTransactionsByBlockHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40047) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE400, bool)` +`func (o *InlineResponse40047) GetErrorOk() (*ListOmniTransactionsByBlockHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40047) SetError(v GetHDWalletXPubYPubZPubDetailsE400)` +`func (o *InlineResponse40047) SetError(v ListOmniTransactionsByBlockHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40048.md b/docs/InlineResponse40048.md index 9ce360f..9d218df 100644 --- a/docs/InlineResponse40048.md +++ b/docs/InlineResponse40048.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListInternalTransactionDetailsByTransactionHashE400**](ListInternalTransactionDetailsByTransactionHashE400.md) | | +**Error** | [**ListWalletTransactionsE400**](ListWalletTransactionsE400.md) | | ## Methods ### NewInlineResponse40048 -`func NewInlineResponse40048(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE400, ) *InlineResponse40048` +`func NewInlineResponse40048(apiVersion string, requestId string, error_ ListWalletTransactionsE400, ) *InlineResponse40048` NewInlineResponse40048 instantiates a new InlineResponse40048 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40048) GetError() ListInternalTransactionDetailsByTransactionHashE400` +`func (o *InlineResponse40048) GetError() ListWalletTransactionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40048) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE400, bool)` +`func (o *InlineResponse40048) GetErrorOk() (*ListWalletTransactionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40048) SetError(v ListInternalTransactionDetailsByTransactionHashE400)` +`func (o *InlineResponse40048) SetError(v ListWalletTransactionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40049.md b/docs/InlineResponse40049.md index 64a8948..57f6e26 100644 --- a/docs/InlineResponse40049.md +++ b/docs/InlineResponse40049.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListHDWalletXPubYPubZPubTransactionsE400**](ListHDWalletXPubYPubZPubTransactionsE400.md) | | +**Error** | [**GetWalletTransactionDetailsByTransactionIDE400**](GetWalletTransactionDetailsByTransactionIDE400.md) | | ## Methods ### NewInlineResponse40049 -`func NewInlineResponse40049(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE400, ) *InlineResponse40049` +`func NewInlineResponse40049(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE400, ) *InlineResponse40049` NewInlineResponse40049 instantiates a new InlineResponse40049 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40049) GetError() ListHDWalletXPubYPubZPubTransactionsE400` +`func (o *InlineResponse40049) GetError() GetWalletTransactionDetailsByTransactionIDE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40049) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE400, bool)` +`func (o *InlineResponse40049) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40049) SetError(v ListHDWalletXPubYPubZPubTransactionsE400)` +`func (o *InlineResponse40049) SetError(v GetWalletTransactionDetailsByTransactionIDE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40050.md b/docs/InlineResponse40050.md index cbab9cc..934c033 100644 --- a/docs/InlineResponse40050.md +++ b/docs/InlineResponse40050.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetInternalTransactionByTransactionHashAndOperationIdE400**](GetInternalTransactionByTransactionHashAndOperationIdE400.md) | | +**Error** | [**GetHDWalletXPubYPubZPubAssetsE400**](GetHDWalletXPubYPubZPubAssetsE400.md) | | ## Methods ### NewInlineResponse40050 -`func NewInlineResponse40050(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE400, ) *InlineResponse40050` +`func NewInlineResponse40050(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubAssetsE400, ) *InlineResponse40050` NewInlineResponse40050 instantiates a new InlineResponse40050 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40050) GetError() GetInternalTransactionByTransactionHashAndOperationIdE400` +`func (o *InlineResponse40050) GetError() GetHDWalletXPubYPubZPubAssetsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40050) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE400, bool)` +`func (o *InlineResponse40050) GetErrorOk() (*GetHDWalletXPubYPubZPubAssetsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40050) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE400)` +`func (o *InlineResponse40050) SetError(v GetHDWalletXPubYPubZPubAssetsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40051.md b/docs/InlineResponse40051.md index bfb8d46..1271676 100644 --- a/docs/InlineResponse40051.md +++ b/docs/InlineResponse40051.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListInternalTransactionsByAddressE400**](ListInternalTransactionsByAddressE400.md) | | +**Error** | [**GetHDWalletXPubYPubZPubDetailsE400**](GetHDWalletXPubYPubZPubDetailsE400.md) | | ## Methods ### NewInlineResponse40051 -`func NewInlineResponse40051(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE400, ) *InlineResponse40051` +`func NewInlineResponse40051(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE400, ) *InlineResponse40051` NewInlineResponse40051 instantiates a new InlineResponse40051 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40051) GetError() ListInternalTransactionsByAddressE400` +`func (o *InlineResponse40051) GetError() GetHDWalletXPubYPubZPubDetailsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40051) GetErrorOk() (*ListInternalTransactionsByAddressE400, bool)` +`func (o *InlineResponse40051) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40051) SetError(v ListInternalTransactionsByAddressE400)` +`func (o *InlineResponse40051) SetError(v GetHDWalletXPubYPubZPubDetailsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40052.md b/docs/InlineResponse40052.md index 7525d50..8c7a227 100644 --- a/docs/InlineResponse40052.md +++ b/docs/InlineResponse40052.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListUnspentTransactionOutputsByAddressE400**](ListUnspentTransactionOutputsByAddressE400.md) | | +**Error** | [**ListInternalTransactionDetailsByTransactionHashE400**](ListInternalTransactionDetailsByTransactionHashE400.md) | | ## Methods ### NewInlineResponse40052 -`func NewInlineResponse40052(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE400, ) *InlineResponse40052` +`func NewInlineResponse40052(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE400, ) *InlineResponse40052` NewInlineResponse40052 instantiates a new InlineResponse40052 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40052) GetError() ListUnspentTransactionOutputsByAddressE400` +`func (o *InlineResponse40052) GetError() ListInternalTransactionDetailsByTransactionHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40052) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE400, bool)` +`func (o *InlineResponse40052) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40052) SetError(v ListUnspentTransactionOutputsByAddressE400)` +`func (o *InlineResponse40052) SetError(v ListInternalTransactionDetailsByTransactionHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40053.md b/docs/InlineResponse40053.md index 299cfb3..bda1354 100644 --- a/docs/InlineResponse40053.md +++ b/docs/InlineResponse40053.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetFeeRecommendationsE400**](GetFeeRecommendationsE400.md) | | +**Error** | [**ListHDWalletXPubYPubZPubTransactionsE400**](ListHDWalletXPubYPubZPubTransactionsE400.md) | | ## Methods ### NewInlineResponse40053 -`func NewInlineResponse40053(apiVersion string, requestId string, error_ GetFeeRecommendationsE400, ) *InlineResponse40053` +`func NewInlineResponse40053(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE400, ) *InlineResponse40053` NewInlineResponse40053 instantiates a new InlineResponse40053 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40053) GetError() GetFeeRecommendationsE400` +`func (o *InlineResponse40053) GetError() ListHDWalletXPubYPubZPubTransactionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40053) GetErrorOk() (*GetFeeRecommendationsE400, bool)` +`func (o *InlineResponse40053) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40053) SetError(v GetFeeRecommendationsE400)` +`func (o *InlineResponse40053) SetError(v ListHDWalletXPubYPubZPubTransactionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40054.md b/docs/InlineResponse40054.md index be29524..5fa7fe8 100644 --- a/docs/InlineResponse40054.md +++ b/docs/InlineResponse40054.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensTransfersByTransactionHashE400**](ListTokensTransfersByTransactionHashE400.md) | | +**Error** | [**GetInternalTransactionByTransactionHashAndOperationIdE400**](GetInternalTransactionByTransactionHashAndOperationIdE400.md) | | ## Methods ### NewInlineResponse40054 -`func NewInlineResponse40054(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE400, ) *InlineResponse40054` +`func NewInlineResponse40054(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE400, ) *InlineResponse40054` NewInlineResponse40054 instantiates a new InlineResponse40054 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40054) GetError() ListTokensTransfersByTransactionHashE400` +`func (o *InlineResponse40054) GetError() GetInternalTransactionByTransactionHashAndOperationIdE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40054) GetErrorOk() (*ListTokensTransfersByTransactionHashE400, bool)` +`func (o *InlineResponse40054) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40054) SetError(v ListTokensTransfersByTransactionHashE400)` +`func (o *InlineResponse40054) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40055.md b/docs/InlineResponse40055.md index 2366c64..1daf42d 100644 --- a/docs/InlineResponse40055.md +++ b/docs/InlineResponse40055.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListConfirmedTokensTransfersByAddressE400**](ListConfirmedTokensTransfersByAddressE400.md) | | +**Error** | [**ListHDWalletXPubYPubZPubUTXOsE400**](ListHDWalletXPubYPubZPubUTXOsE400.md) | | ## Methods ### NewInlineResponse40055 -`func NewInlineResponse40055(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE400, ) *InlineResponse40055` +`func NewInlineResponse40055(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubUTXOsE400, ) *InlineResponse40055` NewInlineResponse40055 instantiates a new InlineResponse40055 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40055) GetError() ListConfirmedTokensTransfersByAddressE400` +`func (o *InlineResponse40055) GetError() ListHDWalletXPubYPubZPubUTXOsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40055) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE400, bool)` +`func (o *InlineResponse40055) GetErrorOk() (*ListHDWalletXPubYPubZPubUTXOsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40055) SetError(v ListConfirmedTokensTransfersByAddressE400)` +`func (o *InlineResponse40055) SetError(v ListHDWalletXPubYPubZPubUTXOsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40056.md b/docs/InlineResponse40056.md index f86de56..13236a4 100644 --- a/docs/InlineResponse40056.md +++ b/docs/InlineResponse40056.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensByAddressE400**](ListTokensByAddressE400.md) | | +**Error** | [**ListInternalTransactionsByAddressE400**](ListInternalTransactionsByAddressE400.md) | | ## Methods ### NewInlineResponse40056 -`func NewInlineResponse40056(apiVersion string, requestId string, error_ ListTokensByAddressE400, ) *InlineResponse40056` +`func NewInlineResponse40056(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE400, ) *InlineResponse40056` NewInlineResponse40056 instantiates a new InlineResponse40056 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40056) GetError() ListTokensByAddressE400` +`func (o *InlineResponse40056) GetError() ListInternalTransactionsByAddressE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40056) GetErrorOk() (*ListTokensByAddressE400, bool)` +`func (o *InlineResponse40056) GetErrorOk() (*ListInternalTransactionsByAddressE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40056) SetError(v ListTokensByAddressE400)` +`func (o *InlineResponse40056) SetError(v ListInternalTransactionsByAddressE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40057.md b/docs/InlineResponse40057.md index 753982f..8464308 100644 --- a/docs/InlineResponse40057.md +++ b/docs/InlineResponse40057.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTokenDetailsByContractAddressE400**](GetTokenDetailsByContractAddressE400.md) | | +**Error** | [**GetFeeRecommendationsE400**](GetFeeRecommendationsE400.md) | | ## Methods ### NewInlineResponse40057 -`func NewInlineResponse40057(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE400, ) *InlineResponse40057` +`func NewInlineResponse40057(apiVersion string, requestId string, error_ GetFeeRecommendationsE400, ) *InlineResponse40057` NewInlineResponse40057 instantiates a new InlineResponse40057 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40057) GetError() GetTokenDetailsByContractAddressE400` +`func (o *InlineResponse40057) GetError() GetFeeRecommendationsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40057) GetErrorOk() (*GetTokenDetailsByContractAddressE400, bool)` +`func (o *InlineResponse40057) GetErrorOk() (*GetFeeRecommendationsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40057) SetError(v GetTokenDetailsByContractAddressE400)` +`func (o *InlineResponse40057) SetError(v GetFeeRecommendationsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40058.md b/docs/InlineResponse40058.md index 644c0b6..795626d 100644 --- a/docs/InlineResponse40058.md +++ b/docs/InlineResponse40058.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewUnconfirmedCoinsTransactionsE400**](NewUnconfirmedCoinsTransactionsE400.md) | | +**Error** | [**GetNextAvailableNonceE400**](GetNextAvailableNonceE400.md) | | ## Methods ### NewInlineResponse40058 -`func NewInlineResponse40058(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE400, ) *InlineResponse40058` +`func NewInlineResponse40058(apiVersion string, requestId string, error_ GetNextAvailableNonceE400, ) *InlineResponse40058` NewInlineResponse40058 instantiates a new InlineResponse40058 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40058) GetError() NewUnconfirmedCoinsTransactionsE400` +`func (o *InlineResponse40058) GetError() GetNextAvailableNonceE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40058) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE400, bool)` +`func (o *InlineResponse40058) GetErrorOk() (*GetNextAvailableNonceE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40058) SetError(v NewUnconfirmedCoinsTransactionsE400)` +`func (o *InlineResponse40058) SetError(v GetNextAvailableNonceE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40059.md b/docs/InlineResponse40059.md index 6f408a8..4f0aa45 100644 --- a/docs/InlineResponse40059.md +++ b/docs/InlineResponse40059.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewUnconfirmedTokensTransactionsE400**](NewUnconfirmedTokensTransactionsE400.md) | | +**Error** | [**ListUnspentTransactionOutputsByAddressE400**](ListUnspentTransactionOutputsByAddressE400.md) | | ## Methods ### NewInlineResponse40059 -`func NewInlineResponse40059(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE400, ) *InlineResponse40059` +`func NewInlineResponse40059(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE400, ) *InlineResponse40059` NewInlineResponse40059 instantiates a new InlineResponse40059 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40059) GetError() NewUnconfirmedTokensTransactionsE400` +`func (o *InlineResponse40059) GetError() ListUnspentTransactionOutputsByAddressE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40059) GetErrorOk() (*NewUnconfirmedTokensTransactionsE400, bool)` +`func (o *InlineResponse40059) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40059) SetError(v NewUnconfirmedTokensTransactionsE400)` +`func (o *InlineResponse40059) SetError(v ListUnspentTransactionOutputsByAddressE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40060.md b/docs/InlineResponse40060.md index 0986ef7..71c5dbe 100644 --- a/docs/InlineResponse40060.md +++ b/docs/InlineResponse40060.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedCoinsTransactionsE400**](NewConfirmedCoinsTransactionsE400.md) | | +**Error** | [**ListTokensTransfersByTransactionHashE400**](ListTokensTransfersByTransactionHashE400.md) | | ## Methods ### NewInlineResponse40060 -`func NewInlineResponse40060(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE400, ) *InlineResponse40060` +`func NewInlineResponse40060(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE400, ) *InlineResponse40060` NewInlineResponse40060 instantiates a new InlineResponse40060 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40060) GetError() NewConfirmedCoinsTransactionsE400` +`func (o *InlineResponse40060) GetError() ListTokensTransfersByTransactionHashE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40060) GetErrorOk() (*NewConfirmedCoinsTransactionsE400, bool)` +`func (o *InlineResponse40060) GetErrorOk() (*ListTokensTransfersByTransactionHashE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40060) SetError(v NewConfirmedCoinsTransactionsE400)` +`func (o *InlineResponse40060) SetError(v ListTokensTransfersByTransactionHashE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40061.md b/docs/InlineResponse40061.md index 8a9e681..e775a96 100644 --- a/docs/InlineResponse40061.md +++ b/docs/InlineResponse40061.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedTokensTransactionsE400**](NewConfirmedTokensTransactionsE400.md) | | +**Error** | [**ListConfirmedTransactionsByAddressAndTimeRangeE400**](ListConfirmedTransactionsByAddressAndTimeRangeE400.md) | | ## Methods ### NewInlineResponse40061 -`func NewInlineResponse40061(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE400, ) *InlineResponse40061` +`func NewInlineResponse40061(apiVersion string, requestId string, error_ ListConfirmedTransactionsByAddressAndTimeRangeE400, ) *InlineResponse40061` NewInlineResponse40061 instantiates a new InlineResponse40061 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40061) GetError() NewConfirmedTokensTransactionsE400` +`func (o *InlineResponse40061) GetError() ListConfirmedTransactionsByAddressAndTimeRangeE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40061) GetErrorOk() (*NewConfirmedTokensTransactionsE400, bool)` +`func (o *InlineResponse40061) GetErrorOk() (*ListConfirmedTransactionsByAddressAndTimeRangeE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40061) SetError(v NewConfirmedTokensTransactionsE400)` +`func (o *InlineResponse40061) SetError(v ListConfirmedTransactionsByAddressAndTimeRangeE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40062.md b/docs/InlineResponse40062.md index f985e41..5c79368 100644 --- a/docs/InlineResponse40062.md +++ b/docs/InlineResponse40062.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedTokensTransactionsAndEachConfirmationE400**](NewConfirmedTokensTransactionsAndEachConfirmationE400.md) | | +**Error** | [**ListConfirmedTokensTransfersByAddressAndTimeRangeE400**](ListConfirmedTokensTransfersByAddressAndTimeRangeE400.md) | | ## Methods ### NewInlineResponse40062 -`func NewInlineResponse40062(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE400, ) *InlineResponse40062` +`func NewInlineResponse40062(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressAndTimeRangeE400, ) *InlineResponse40062` NewInlineResponse40062 instantiates a new InlineResponse40062 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40062) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE400` +`func (o *InlineResponse40062) GetError() ListConfirmedTokensTransfersByAddressAndTimeRangeE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40062) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE400, bool)` +`func (o *InlineResponse40062) GetErrorOk() (*ListConfirmedTokensTransfersByAddressAndTimeRangeE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40062) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE400)` +`func (o *InlineResponse40062) SetError(v ListConfirmedTokensTransfersByAddressAndTimeRangeE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40063.md b/docs/InlineResponse40063.md index 6cbcce4..f11b4ed 100644 --- a/docs/InlineResponse40063.md +++ b/docs/InlineResponse40063.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedCoinsTransactionsAndEachConfirmationE400**](NewConfirmedCoinsTransactionsAndEachConfirmationE400.md) | | +**Error** | [**ListInternalTransactionsByAddressAndTimeRangeE400**](ListInternalTransactionsByAddressAndTimeRangeE400.md) | | ## Methods ### NewInlineResponse40063 -`func NewInlineResponse40063(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE400, ) *InlineResponse40063` +`func NewInlineResponse40063(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressAndTimeRangeE400, ) *InlineResponse40063` NewInlineResponse40063 instantiates a new InlineResponse40063 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40063) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE400` +`func (o *InlineResponse40063) GetError() ListInternalTransactionsByAddressAndTimeRangeE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40063) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE400, bool)` +`func (o *InlineResponse40063) GetErrorOk() (*ListInternalTransactionsByAddressAndTimeRangeE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40063) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE400)` +`func (o *InlineResponse40063) SetError(v ListInternalTransactionsByAddressAndTimeRangeE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40064.md b/docs/InlineResponse40064.md index 045ceec..fcfce4d 100644 --- a/docs/InlineResponse40064.md +++ b/docs/InlineResponse40064.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**MinedTransactionE400**](MinedTransactionE400.md) | | +**Error** | [**ListConfirmedTokensTransfersByAddressE400**](ListConfirmedTokensTransfersByAddressE400.md) | | ## Methods ### NewInlineResponse40064 -`func NewInlineResponse40064(apiVersion string, requestId string, error_ MinedTransactionE400, ) *InlineResponse40064` +`func NewInlineResponse40064(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE400, ) *InlineResponse40064` NewInlineResponse40064 instantiates a new InlineResponse40064 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40064) GetError() MinedTransactionE400` +`func (o *InlineResponse40064) GetError() ListConfirmedTokensTransfersByAddressE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40064) GetErrorOk() (*MinedTransactionE400, bool)` +`func (o *InlineResponse40064) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40064) SetError(v MinedTransactionE400)` +`func (o *InlineResponse40064) SetError(v ListConfirmedTokensTransfersByAddressE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40065.md b/docs/InlineResponse40065.md index a92062f..a4687c2 100644 --- a/docs/InlineResponse40065.md +++ b/docs/InlineResponse40065.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewBlockE400**](NewBlockE400.md) | | +**Error** | [**GetRawTransactionDataE400**](GetRawTransactionDataE400.md) | | ## Methods ### NewInlineResponse40065 -`func NewInlineResponse40065(apiVersion string, requestId string, error_ NewBlockE400, ) *InlineResponse40065` +`func NewInlineResponse40065(apiVersion string, requestId string, error_ GetRawTransactionDataE400, ) *InlineResponse40065` NewInlineResponse40065 instantiates a new InlineResponse40065 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40065) GetError() NewBlockE400` +`func (o *InlineResponse40065) GetError() GetRawTransactionDataE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40065) GetErrorOk() (*NewBlockE400, bool)` +`func (o *InlineResponse40065) GetErrorOk() (*GetRawTransactionDataE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40065) SetError(v NewBlockE400)` +`func (o *InlineResponse40065) SetError(v GetRawTransactionDataE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40066.md b/docs/InlineResponse40066.md index a38d4d1..729f9c8 100644 --- a/docs/InlineResponse40066.md +++ b/docs/InlineResponse40066.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListBlockchainEventsSubscriptionsE400**](ListBlockchainEventsSubscriptionsE400.md) | | +**Error** | [**ListUnconfirmedTokensTransfersByAddressE400**](ListUnconfirmedTokensTransfersByAddressE400.md) | | ## Methods ### NewInlineResponse40066 -`func NewInlineResponse40066(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE400, ) *InlineResponse40066` +`func NewInlineResponse40066(apiVersion string, requestId string, error_ ListUnconfirmedTokensTransfersByAddressE400, ) *InlineResponse40066` NewInlineResponse40066 instantiates a new InlineResponse40066 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40066) GetError() ListBlockchainEventsSubscriptionsE400` +`func (o *InlineResponse40066) GetError() ListUnconfirmedTokensTransfersByAddressE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40066) GetErrorOk() (*ListBlockchainEventsSubscriptionsE400, bool)` +`func (o *InlineResponse40066) GetErrorOk() (*ListUnconfirmedTokensTransfersByAddressE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40066) SetError(v ListBlockchainEventsSubscriptionsE400)` +`func (o *InlineResponse40066) SetError(v ListUnconfirmedTokensTransfersByAddressE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40067.md b/docs/InlineResponse40067.md index 7b81c3f..8a1b311 100644 --- a/docs/InlineResponse40067.md +++ b/docs/InlineResponse40067.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ActivateBlockchainEventSubscriptionE400**](ActivateBlockchainEventSubscriptionE400.md) | | +**Error** | [**ListTokensByAddressE400**](ListTokensByAddressE400.md) | | ## Methods ### NewInlineResponse40067 -`func NewInlineResponse40067(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE400, ) *InlineResponse40067` +`func NewInlineResponse40067(apiVersion string, requestId string, error_ ListTokensByAddressE400, ) *InlineResponse40067` NewInlineResponse40067 instantiates a new InlineResponse40067 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40067) GetError() ActivateBlockchainEventSubscriptionE400` +`func (o *InlineResponse40067) GetError() ListTokensByAddressE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40067) GetErrorOk() (*ActivateBlockchainEventSubscriptionE400, bool)` +`func (o *InlineResponse40067) GetErrorOk() (*ListTokensByAddressE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40067) SetError(v ActivateBlockchainEventSubscriptionE400)` +`func (o *InlineResponse40067) SetError(v ListTokensByAddressE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40068.md b/docs/InlineResponse40068.md index 4c62352..ad0dee6 100644 --- a/docs/InlineResponse40068.md +++ b/docs/InlineResponse40068.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteBlockchainEventSubscriptionE400**](DeleteBlockchainEventSubscriptionE400.md) | | +**Error** | [**EstimateTransactionSmartFeeE400**](EstimateTransactionSmartFeeE400.md) | | ## Methods ### NewInlineResponse40068 -`func NewInlineResponse40068(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE400, ) *InlineResponse40068` +`func NewInlineResponse40068(apiVersion string, requestId string, error_ EstimateTransactionSmartFeeE400, ) *InlineResponse40068` NewInlineResponse40068 instantiates a new InlineResponse40068 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40068) GetError() DeleteBlockchainEventSubscriptionE400` +`func (o *InlineResponse40068) GetError() EstimateTransactionSmartFeeE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40068) GetErrorOk() (*DeleteBlockchainEventSubscriptionE400, bool)` +`func (o *InlineResponse40068) GetErrorOk() (*EstimateTransactionSmartFeeE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40068) SetError(v DeleteBlockchainEventSubscriptionE400)` +`func (o *InlineResponse40068) SetError(v EstimateTransactionSmartFeeE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40069.md b/docs/InlineResponse40069.md index 23c8e5a..a7bc0bd 100644 --- a/docs/InlineResponse40069.md +++ b/docs/InlineResponse40069.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAddressDetailsFromCallbackE400**](GetAddressDetailsFromCallbackE400.md) | | +**Error** | [**GetTokenDetailsByContractAddressE400**](GetTokenDetailsByContractAddressE400.md) | | ## Methods ### NewInlineResponse40069 -`func NewInlineResponse40069(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE400, ) *InlineResponse40069` +`func NewInlineResponse40069(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE400, ) *InlineResponse40069` NewInlineResponse40069 instantiates a new InlineResponse40069 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40069) GetError() GetAddressDetailsFromCallbackE400` +`func (o *InlineResponse40069) GetError() GetTokenDetailsByContractAddressE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40069) GetErrorOk() (*GetAddressDetailsFromCallbackE400, bool)` +`func (o *InlineResponse40069) GetErrorOk() (*GetTokenDetailsByContractAddressE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40069) SetError(v GetAddressDetailsFromCallbackE400)` +`func (o *InlineResponse40069) SetError(v GetTokenDetailsByContractAddressE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40070.md b/docs/InlineResponse40070.md index 96abbf5..47a4217 100644 --- a/docs/InlineResponse40070.md +++ b/docs/InlineResponse40070.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTransactionDetailsByTransactionIDFromCallbackE400**](GetTransactionDetailsByTransactionIDFromCallbackE400.md) | | +**Error** | [**DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400**](DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400.md) | | ## Methods ### NewInlineResponse40070 -`func NewInlineResponse40070(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE400, ) *InlineResponse40070` +`func NewInlineResponse40070(apiVersion string, requestId string, error_ DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400, ) *InlineResponse40070` NewInlineResponse40070 instantiates a new InlineResponse40070 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40070) GetError() GetTransactionDetailsByTransactionIDFromCallbackE400` +`func (o *InlineResponse40070) GetError() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40070) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE400, bool)` +`func (o *InlineResponse40070) GetErrorOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40070) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE400)` +`func (o *InlineResponse40070) SetError(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40071.md b/docs/InlineResponse40071.md index 156c00c..ed5ec4e 100644 --- a/docs/InlineResponse40071.md +++ b/docs/InlineResponse40071.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHashFromCallbackE400**](GetBlockDetailsByBlockHashFromCallbackE400.md) | | +**Error** | [**NewUnconfirmedCoinsTransactionsE400**](NewUnconfirmedCoinsTransactionsE400.md) | | ## Methods ### NewInlineResponse40071 -`func NewInlineResponse40071(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE400, ) *InlineResponse40071` +`func NewInlineResponse40071(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE400, ) *InlineResponse40071` NewInlineResponse40071 instantiates a new InlineResponse40071 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40071) GetError() GetBlockDetailsByBlockHashFromCallbackE400` +`func (o *InlineResponse40071) GetError() NewUnconfirmedCoinsTransactionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40071) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE400, bool)` +`func (o *InlineResponse40071) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40071) SetError(v GetBlockDetailsByBlockHashFromCallbackE400)` +`func (o *InlineResponse40071) SetError(v NewUnconfirmedCoinsTransactionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40072.md b/docs/InlineResponse40072.md index cfc13b7..07c91ea 100644 --- a/docs/InlineResponse40072.md +++ b/docs/InlineResponse40072.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHeightFromCallbackE400**](GetBlockDetailsByBlockHeightFromCallbackE400.md) | | +**Error** | [**NewUnconfirmedTokensTransactionsE400**](NewUnconfirmedTokensTransactionsE400.md) | | ## Methods ### NewInlineResponse40072 -`func NewInlineResponse40072(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE400, ) *InlineResponse40072` +`func NewInlineResponse40072(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE400, ) *InlineResponse40072` NewInlineResponse40072 instantiates a new InlineResponse40072 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40072) GetError() GetBlockDetailsByBlockHeightFromCallbackE400` +`func (o *InlineResponse40072) GetError() NewUnconfirmedTokensTransactionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40072) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE400, bool)` +`func (o *InlineResponse40072) GetErrorOk() (*NewUnconfirmedTokensTransactionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40072) SetError(v GetBlockDetailsByBlockHeightFromCallbackE400)` +`func (o *InlineResponse40072) SetError(v NewUnconfirmedTokensTransactionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40073.md b/docs/InlineResponse40073.md index f9e9f03..1b9d545 100644 --- a/docs/InlineResponse40073.md +++ b/docs/InlineResponse40073.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedInternalTransactionsE400**](NewConfirmedInternalTransactionsE400.md) | | +**Error** | [**NewConfirmedCoinsTransactionsE400**](NewConfirmedCoinsTransactionsE400.md) | | ## Methods ### NewInlineResponse40073 -`func NewInlineResponse40073(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE400, ) *InlineResponse40073` +`func NewInlineResponse40073(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE400, ) *InlineResponse40073` NewInlineResponse40073 instantiates a new InlineResponse40073 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40073) GetError() NewConfirmedInternalTransactionsE400` +`func (o *InlineResponse40073) GetError() NewConfirmedCoinsTransactionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40073) GetErrorOk() (*NewConfirmedInternalTransactionsE400, bool)` +`func (o *InlineResponse40073) GetErrorOk() (*NewConfirmedCoinsTransactionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40073) SetError(v NewConfirmedInternalTransactionsE400)` +`func (o *InlineResponse40073) SetError(v NewConfirmedCoinsTransactionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40074.md b/docs/InlineResponse40074.md index 9369447..124891c 100644 --- a/docs/InlineResponse40074.md +++ b/docs/InlineResponse40074.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedInternalTransactionsAndEachConfirmationE400**](NewConfirmedInternalTransactionsAndEachConfirmationE400.md) | | +**Error** | [**NewConfirmedTokensTransactionsE400**](NewConfirmedTokensTransactionsE400.md) | | ## Methods ### NewInlineResponse40074 -`func NewInlineResponse40074(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE400, ) *InlineResponse40074` +`func NewInlineResponse40074(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE400, ) *InlineResponse40074` NewInlineResponse40074 instantiates a new InlineResponse40074 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40074) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE400` +`func (o *InlineResponse40074) GetError() NewConfirmedTokensTransactionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40074) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE400, bool)` +`func (o *InlineResponse40074) GetErrorOk() (*NewConfirmedTokensTransactionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40074) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE400)` +`func (o *InlineResponse40074) SetError(v NewConfirmedTokensTransactionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40075.md b/docs/InlineResponse40075.md index 88fff5c..f241554 100644 --- a/docs/InlineResponse40075.md +++ b/docs/InlineResponse40075.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListCoinsForwardingAutomationsE400**](ListCoinsForwardingAutomationsE400.md) | | +**Error** | [**NewConfirmedTokensTransactionsAndEachConfirmationE400**](NewConfirmedTokensTransactionsAndEachConfirmationE400.md) | | ## Methods ### NewInlineResponse40075 -`func NewInlineResponse40075(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE400, ) *InlineResponse40075` +`func NewInlineResponse40075(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE400, ) *InlineResponse40075` NewInlineResponse40075 instantiates a new InlineResponse40075 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40075) GetError() ListCoinsForwardingAutomationsE400` +`func (o *InlineResponse40075) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40075) GetErrorOk() (*ListCoinsForwardingAutomationsE400, bool)` +`func (o *InlineResponse40075) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40075) SetError(v ListCoinsForwardingAutomationsE400)` +`func (o *InlineResponse40075) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40076.md b/docs/InlineResponse40076.md index 183bf07..e675179 100644 --- a/docs/InlineResponse40076.md +++ b/docs/InlineResponse40076.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateAutomaticCoinsForwardingE400**](CreateAutomaticCoinsForwardingE400.md) | | +**Error** | [**NewConfirmedCoinsTransactionsAndEachConfirmationE400**](NewConfirmedCoinsTransactionsAndEachConfirmationE400.md) | | ## Methods ### NewInlineResponse40076 -`func NewInlineResponse40076(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE400, ) *InlineResponse40076` +`func NewInlineResponse40076(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE400, ) *InlineResponse40076` NewInlineResponse40076 instantiates a new InlineResponse40076 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40076) GetError() CreateAutomaticCoinsForwardingE400` +`func (o *InlineResponse40076) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40076) GetErrorOk() (*CreateAutomaticCoinsForwardingE400, bool)` +`func (o *InlineResponse40076) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40076) SetError(v CreateAutomaticCoinsForwardingE400)` +`func (o *InlineResponse40076) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40077.md b/docs/InlineResponse40077.md index c98552d..2612431 100644 --- a/docs/InlineResponse40077.md +++ b/docs/InlineResponse40077.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteAutomaticCoinsForwardingE400**](DeleteAutomaticCoinsForwardingE400.md) | | +**Error** | [**MinedTransactionE400**](MinedTransactionE400.md) | | ## Methods ### NewInlineResponse40077 -`func NewInlineResponse40077(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE400, ) *InlineResponse40077` +`func NewInlineResponse40077(apiVersion string, requestId string, error_ MinedTransactionE400, ) *InlineResponse40077` NewInlineResponse40077 instantiates a new InlineResponse40077 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40077) GetError() DeleteAutomaticCoinsForwardingE400` +`func (o *InlineResponse40077) GetError() MinedTransactionE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40077) GetErrorOk() (*DeleteAutomaticCoinsForwardingE400, bool)` +`func (o *InlineResponse40077) GetErrorOk() (*MinedTransactionE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40077) SetError(v DeleteAutomaticCoinsForwardingE400)` +`func (o *InlineResponse40077) SetError(v MinedTransactionE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40078.md b/docs/InlineResponse40078.md index 7b45681..aa79698 100644 --- a/docs/InlineResponse40078.md +++ b/docs/InlineResponse40078.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensForwardingAutomationsE400**](ListTokensForwardingAutomationsE400.md) | | +**Error** | [**NewBlockE400**](NewBlockE400.md) | | ## Methods ### NewInlineResponse40078 -`func NewInlineResponse40078(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE400, ) *InlineResponse40078` +`func NewInlineResponse40078(apiVersion string, requestId string, error_ NewBlockE400, ) *InlineResponse40078` NewInlineResponse40078 instantiates a new InlineResponse40078 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40078) GetError() ListTokensForwardingAutomationsE400` +`func (o *InlineResponse40078) GetError() NewBlockE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40078) GetErrorOk() (*ListTokensForwardingAutomationsE400, bool)` +`func (o *InlineResponse40078) GetErrorOk() (*NewBlockE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40078) SetError(v ListTokensForwardingAutomationsE400)` +`func (o *InlineResponse40078) SetError(v NewBlockE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40079.md b/docs/InlineResponse40079.md index ed0aa34..8538a7d 100644 --- a/docs/InlineResponse40079.md +++ b/docs/InlineResponse40079.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateAutomaticTokensForwardingE400**](CreateAutomaticTokensForwardingE400.md) | | +**Error** | [**ListBlockchainEventsSubscriptionsE400**](ListBlockchainEventsSubscriptionsE400.md) | | ## Methods ### NewInlineResponse40079 -`func NewInlineResponse40079(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE400, ) *InlineResponse40079` +`func NewInlineResponse40079(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE400, ) *InlineResponse40079` NewInlineResponse40079 instantiates a new InlineResponse40079 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40079) GetError() CreateAutomaticTokensForwardingE400` +`func (o *InlineResponse40079) GetError() ListBlockchainEventsSubscriptionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40079) GetErrorOk() (*CreateAutomaticTokensForwardingE400, bool)` +`func (o *InlineResponse40079) GetErrorOk() (*ListBlockchainEventsSubscriptionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40079) SetError(v CreateAutomaticTokensForwardingE400)` +`func (o *InlineResponse40079) SetError(v ListBlockchainEventsSubscriptionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40080.md b/docs/InlineResponse40080.md index aa54e94..4647c5c 100644 --- a/docs/InlineResponse40080.md +++ b/docs/InlineResponse40080.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**AddTokensToExistingFromAddressE400**](AddTokensToExistingFromAddressE400.md) | | +**Error** | [**GetBlockchainEventSubscriptionDetailsByReferenceIDE400**](GetBlockchainEventSubscriptionDetailsByReferenceIDE400.md) | | ## Methods ### NewInlineResponse40080 -`func NewInlineResponse40080(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE400, ) *InlineResponse40080` +`func NewInlineResponse40080(apiVersion string, requestId string, error_ GetBlockchainEventSubscriptionDetailsByReferenceIDE400, ) *InlineResponse40080` NewInlineResponse40080 instantiates a new InlineResponse40080 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40080) GetError() AddTokensToExistingFromAddressE400` +`func (o *InlineResponse40080) GetError() GetBlockchainEventSubscriptionDetailsByReferenceIDE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40080) GetErrorOk() (*AddTokensToExistingFromAddressE400, bool)` +`func (o *InlineResponse40080) GetErrorOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40080) SetError(v AddTokensToExistingFromAddressE400)` +`func (o *InlineResponse40080) SetError(v GetBlockchainEventSubscriptionDetailsByReferenceIDE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40081.md b/docs/InlineResponse40081.md index 4717b76..79cdceb 100644 --- a/docs/InlineResponse40081.md +++ b/docs/InlineResponse40081.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetFeeAddressDetailsE400**](GetFeeAddressDetailsE400.md) | | +**Error** | [**ActivateBlockchainEventSubscriptionE400**](ActivateBlockchainEventSubscriptionE400.md) | | ## Methods ### NewInlineResponse40081 -`func NewInlineResponse40081(apiVersion string, requestId string, error_ GetFeeAddressDetailsE400, ) *InlineResponse40081` +`func NewInlineResponse40081(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE400, ) *InlineResponse40081` NewInlineResponse40081 instantiates a new InlineResponse40081 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40081) GetError() GetFeeAddressDetailsE400` +`func (o *InlineResponse40081) GetError() ActivateBlockchainEventSubscriptionE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40081) GetErrorOk() (*GetFeeAddressDetailsE400, bool)` +`func (o *InlineResponse40081) GetErrorOk() (*ActivateBlockchainEventSubscriptionE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40081) SetError(v GetFeeAddressDetailsE400)` +`func (o *InlineResponse40081) SetError(v ActivateBlockchainEventSubscriptionE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40082.md b/docs/InlineResponse40082.md index ebc3636..6b599db 100644 --- a/docs/InlineResponse40082.md +++ b/docs/InlineResponse40082.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteAutomaticTokensForwardingE400**](DeleteAutomaticTokensForwardingE400.md) | | +**Error** | [**DeleteBlockchainEventSubscriptionE400**](DeleteBlockchainEventSubscriptionE400.md) | | ## Methods ### NewInlineResponse40082 -`func NewInlineResponse40082(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE400, ) *InlineResponse40082` +`func NewInlineResponse40082(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE400, ) *InlineResponse40082` NewInlineResponse40082 instantiates a new InlineResponse40082 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40082) GetError() DeleteAutomaticTokensForwardingE400` +`func (o *InlineResponse40082) GetError() DeleteBlockchainEventSubscriptionE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40082) GetErrorOk() (*DeleteAutomaticTokensForwardingE400, bool)` +`func (o *InlineResponse40082) GetErrorOk() (*DeleteBlockchainEventSubscriptionE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40082) SetError(v DeleteAutomaticTokensForwardingE400)` +`func (o *InlineResponse40082) SetError(v DeleteBlockchainEventSubscriptionE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40083.md b/docs/InlineResponse40083.md index 1f84eae..36f331a 100644 --- a/docs/InlineResponse40083.md +++ b/docs/InlineResponse40083.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ValidateAddressE400**](ValidateAddressE400.md) | | +**Error** | [**GetAddressDetailsFromCallbackE400**](GetAddressDetailsFromCallbackE400.md) | | ## Methods ### NewInlineResponse40083 -`func NewInlineResponse40083(apiVersion string, requestId string, error_ ValidateAddressE400, ) *InlineResponse40083` +`func NewInlineResponse40083(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE400, ) *InlineResponse40083` NewInlineResponse40083 instantiates a new InlineResponse40083 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40083) GetError() ValidateAddressE400` +`func (o *InlineResponse40083) GetError() GetAddressDetailsFromCallbackE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40083) GetErrorOk() (*ValidateAddressE400, bool)` +`func (o *InlineResponse40083) GetErrorOk() (*GetAddressDetailsFromCallbackE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40083) SetError(v ValidateAddressE400)` +`func (o *InlineResponse40083) SetError(v GetAddressDetailsFromCallbackE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40084.md b/docs/InlineResponse40084.md index c329bad..7550ef9 100644 --- a/docs/InlineResponse40084.md +++ b/docs/InlineResponse40084.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetEIP1559FeeRecommendationsE400**](GetEIP1559FeeRecommendationsE400.md) | | +**Error** | [**GetTransactionDetailsByTransactionIDFromCallbackE400**](GetTransactionDetailsByTransactionIDFromCallbackE400.md) | | ## Methods ### NewInlineResponse40084 -`func NewInlineResponse40084(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE400, ) *InlineResponse40084` +`func NewInlineResponse40084(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE400, ) *InlineResponse40084` NewInlineResponse40084 instantiates a new InlineResponse40084 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40084) GetError() GetEIP1559FeeRecommendationsE400` +`func (o *InlineResponse40084) GetError() GetTransactionDetailsByTransactionIDFromCallbackE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40084) GetErrorOk() (*GetEIP1559FeeRecommendationsE400, bool)` +`func (o *InlineResponse40084) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40084) SetError(v GetEIP1559FeeRecommendationsE400)` +`func (o *InlineResponse40084) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40085.md b/docs/InlineResponse40085.md index 48db24c..18c0806 100644 --- a/docs/InlineResponse40085.md +++ b/docs/InlineResponse40085.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**BroadcastLocallySignedTransactionE400**](BroadcastLocallySignedTransactionE400.md) | | +**Error** | [**GetBlockDetailsByBlockHashFromCallbackE400**](GetBlockDetailsByBlockHashFromCallbackE400.md) | | ## Methods ### NewInlineResponse40085 -`func NewInlineResponse40085(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE400, ) *InlineResponse40085` +`func NewInlineResponse40085(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE400, ) *InlineResponse40085` NewInlineResponse40085 instantiates a new InlineResponse40085 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40085) GetError() BroadcastLocallySignedTransactionE400` +`func (o *InlineResponse40085) GetError() GetBlockDetailsByBlockHashFromCallbackE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40085) GetErrorOk() (*BroadcastLocallySignedTransactionE400, bool)` +`func (o *InlineResponse40085) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40085) SetError(v BroadcastLocallySignedTransactionE400)` +`func (o *InlineResponse40085) SetError(v GetBlockDetailsByBlockHashFromCallbackE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40086.md b/docs/InlineResponse40086.md index 92ef2f0..9c91d44 100644 --- a/docs/InlineResponse40086.md +++ b/docs/InlineResponse40086.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListSupportedAssetsE400**](ListSupportedAssetsE400.md) | | +**Error** | [**GetBlockDetailsByBlockHeightFromCallbackE400**](GetBlockDetailsByBlockHeightFromCallbackE400.md) | | ## Methods ### NewInlineResponse40086 -`func NewInlineResponse40086(apiVersion string, requestId string, error_ ListSupportedAssetsE400, ) *InlineResponse40086` +`func NewInlineResponse40086(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE400, ) *InlineResponse40086` NewInlineResponse40086 instantiates a new InlineResponse40086 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40086) GetError() ListSupportedAssetsE400` +`func (o *InlineResponse40086) GetError() GetBlockDetailsByBlockHeightFromCallbackE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40086) GetErrorOk() (*ListSupportedAssetsE400, bool)` +`func (o *InlineResponse40086) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40086) SetError(v ListSupportedAssetsE400)` +`func (o *InlineResponse40086) SetError(v GetBlockDetailsByBlockHeightFromCallbackE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40087.md b/docs/InlineResponse40087.md index 4ffa5e3..022c77a 100644 --- a/docs/InlineResponse40087.md +++ b/docs/InlineResponse40087.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetExchangeRateByAssetSymbolsE400**](GetExchangeRateByAssetSymbolsE400.md) | | +**Error** | [**NewConfirmedInternalTransactionsE400**](NewConfirmedInternalTransactionsE400.md) | | ## Methods ### NewInlineResponse40087 -`func NewInlineResponse40087(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE400, ) *InlineResponse40087` +`func NewInlineResponse40087(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE400, ) *InlineResponse40087` NewInlineResponse40087 instantiates a new InlineResponse40087 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40087) GetError() GetExchangeRateByAssetSymbolsE400` +`func (o *InlineResponse40087) GetError() NewConfirmedInternalTransactionsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40087) GetErrorOk() (*GetExchangeRateByAssetSymbolsE400, bool)` +`func (o *InlineResponse40087) GetErrorOk() (*NewConfirmedInternalTransactionsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40087) SetError(v GetExchangeRateByAssetSymbolsE400)` +`func (o *InlineResponse40087) SetError(v NewConfirmedInternalTransactionsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40088.md b/docs/InlineResponse40088.md index 1bb36ef..4036af8 100644 --- a/docs/InlineResponse40088.md +++ b/docs/InlineResponse40088.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetExchangeRateByAssetsIDsE400**](GetExchangeRateByAssetsIDsE400.md) | | +**Error** | [**NewConfirmedInternalTransactionsAndEachConfirmationE400**](NewConfirmedInternalTransactionsAndEachConfirmationE400.md) | | ## Methods ### NewInlineResponse40088 -`func NewInlineResponse40088(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE400, ) *InlineResponse40088` +`func NewInlineResponse40088(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE400, ) *InlineResponse40088` NewInlineResponse40088 instantiates a new InlineResponse40088 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40088) GetError() GetExchangeRateByAssetsIDsE400` +`func (o *InlineResponse40088) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40088) GetErrorOk() (*GetExchangeRateByAssetsIDsE400, bool)` +`func (o *InlineResponse40088) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40088) SetError(v GetExchangeRateByAssetsIDsE400)` +`func (o *InlineResponse40088) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40089.md b/docs/InlineResponse40089.md index 1a0824a..e5b8ab0 100644 --- a/docs/InlineResponse40089.md +++ b/docs/InlineResponse40089.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListAssetsDetailsE400**](ListAssetsDetailsE400.md) | | +**Error** | [**ListCoinsForwardingAutomationsE400**](ListCoinsForwardingAutomationsE400.md) | | ## Methods ### NewInlineResponse40089 -`func NewInlineResponse40089(apiVersion string, requestId string, error_ ListAssetsDetailsE400, ) *InlineResponse40089` +`func NewInlineResponse40089(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE400, ) *InlineResponse40089` NewInlineResponse40089 instantiates a new InlineResponse40089 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40089) GetError() ListAssetsDetailsE400` +`func (o *InlineResponse40089) GetError() ListCoinsForwardingAutomationsE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40089) GetErrorOk() (*ListAssetsDetailsE400, bool)` +`func (o *InlineResponse40089) GetErrorOk() (*ListCoinsForwardingAutomationsE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40089) SetError(v ListAssetsDetailsE400)` +`func (o *InlineResponse40089) SetError(v ListCoinsForwardingAutomationsE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40090.md b/docs/InlineResponse40090.md index 83942f1..1927a84 100644 --- a/docs/InlineResponse40090.md +++ b/docs/InlineResponse40090.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAssetDetailsByAssetIDE400**](GetAssetDetailsByAssetIDE400.md) | | +**Error** | [**CreateAutomaticCoinsForwardingE400**](CreateAutomaticCoinsForwardingE400.md) | | ## Methods ### NewInlineResponse40090 -`func NewInlineResponse40090(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE400, ) *InlineResponse40090` +`func NewInlineResponse40090(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE400, ) *InlineResponse40090` NewInlineResponse40090 instantiates a new InlineResponse40090 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40090) GetError() GetAssetDetailsByAssetIDE400` +`func (o *InlineResponse40090) GetError() CreateAutomaticCoinsForwardingE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40090) GetErrorOk() (*GetAssetDetailsByAssetIDE400, bool)` +`func (o *InlineResponse40090) GetErrorOk() (*CreateAutomaticCoinsForwardingE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40090) SetError(v GetAssetDetailsByAssetIDE400)` +`func (o *InlineResponse40090) SetError(v CreateAutomaticCoinsForwardingE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40091.md b/docs/InlineResponse40091.md index 661abb1..21860c0 100644 --- a/docs/InlineResponse40091.md +++ b/docs/InlineResponse40091.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAssetDetailsByAssetSymbolE400**](GetAssetDetailsByAssetSymbolE400.md) | | +**Error** | [**DeleteAutomaticCoinsForwardingE400**](DeleteAutomaticCoinsForwardingE400.md) | | ## Methods ### NewInlineResponse40091 -`func NewInlineResponse40091(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE400, ) *InlineResponse40091` +`func NewInlineResponse40091(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE400, ) *InlineResponse40091` NewInlineResponse40091 instantiates a new InlineResponse40091 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40091) GetError() GetAssetDetailsByAssetSymbolE400` +`func (o *InlineResponse40091) GetError() DeleteAutomaticCoinsForwardingE400` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40091) GetErrorOk() (*GetAssetDetailsByAssetSymbolE400, bool)` +`func (o *InlineResponse40091) GetErrorOk() (*DeleteAutomaticCoinsForwardingE400, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40091) SetError(v GetAssetDetailsByAssetSymbolE400)` +`func (o *InlineResponse40091) SetError(v DeleteAutomaticCoinsForwardingE400)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40092.md b/docs/InlineResponse40092.md new file mode 100644 index 0000000..b015069 --- /dev/null +++ b/docs/InlineResponse40092.md @@ -0,0 +1,119 @@ +# InlineResponse40092 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListTokensForwardingAutomationsE400**](ListTokensForwardingAutomationsE400.md) | | + +## Methods + +### NewInlineResponse40092 + +`func NewInlineResponse40092(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE400, ) *InlineResponse40092` + +NewInlineResponse40092 instantiates a new InlineResponse40092 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40092WithDefaults + +`func NewInlineResponse40092WithDefaults() *InlineResponse40092` + +NewInlineResponse40092WithDefaults instantiates a new InlineResponse40092 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40092) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40092) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40092) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40092) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40092) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40092) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40092) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40092) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40092) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40092) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40092) GetError() ListTokensForwardingAutomationsE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40092) GetErrorOk() (*ListTokensForwardingAutomationsE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40092) SetError(v ListTokensForwardingAutomationsE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40093.md b/docs/InlineResponse40093.md new file mode 100644 index 0000000..84c1d11 --- /dev/null +++ b/docs/InlineResponse40093.md @@ -0,0 +1,119 @@ +# InlineResponse40093 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**CreateAutomaticTokensForwardingE400**](CreateAutomaticTokensForwardingE400.md) | | + +## Methods + +### NewInlineResponse40093 + +`func NewInlineResponse40093(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE400, ) *InlineResponse40093` + +NewInlineResponse40093 instantiates a new InlineResponse40093 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40093WithDefaults + +`func NewInlineResponse40093WithDefaults() *InlineResponse40093` + +NewInlineResponse40093WithDefaults instantiates a new InlineResponse40093 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40093) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40093) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40093) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40093) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40093) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40093) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40093) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40093) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40093) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40093) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40093) GetError() CreateAutomaticTokensForwardingE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40093) GetErrorOk() (*CreateAutomaticTokensForwardingE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40093) SetError(v CreateAutomaticTokensForwardingE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40094.md b/docs/InlineResponse40094.md new file mode 100644 index 0000000..5f025e5 --- /dev/null +++ b/docs/InlineResponse40094.md @@ -0,0 +1,119 @@ +# InlineResponse40094 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**AddTokensToExistingFromAddressE400**](AddTokensToExistingFromAddressE400.md) | | + +## Methods + +### NewInlineResponse40094 + +`func NewInlineResponse40094(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE400, ) *InlineResponse40094` + +NewInlineResponse40094 instantiates a new InlineResponse40094 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40094WithDefaults + +`func NewInlineResponse40094WithDefaults() *InlineResponse40094` + +NewInlineResponse40094WithDefaults instantiates a new InlineResponse40094 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40094) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40094) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40094) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40094) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40094) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40094) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40094) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40094) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40094) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40094) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40094) GetError() AddTokensToExistingFromAddressE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40094) GetErrorOk() (*AddTokensToExistingFromAddressE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40094) SetError(v AddTokensToExistingFromAddressE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40095.md b/docs/InlineResponse40095.md new file mode 100644 index 0000000..92e6b67 --- /dev/null +++ b/docs/InlineResponse40095.md @@ -0,0 +1,119 @@ +# InlineResponse40095 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetFeeAddressDetailsE400**](GetFeeAddressDetailsE400.md) | | + +## Methods + +### NewInlineResponse40095 + +`func NewInlineResponse40095(apiVersion string, requestId string, error_ GetFeeAddressDetailsE400, ) *InlineResponse40095` + +NewInlineResponse40095 instantiates a new InlineResponse40095 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40095WithDefaults + +`func NewInlineResponse40095WithDefaults() *InlineResponse40095` + +NewInlineResponse40095WithDefaults instantiates a new InlineResponse40095 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40095) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40095) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40095) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40095) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40095) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40095) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40095) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40095) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40095) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40095) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40095) GetError() GetFeeAddressDetailsE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40095) GetErrorOk() (*GetFeeAddressDetailsE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40095) SetError(v GetFeeAddressDetailsE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40096.md b/docs/InlineResponse40096.md new file mode 100644 index 0000000..aa3dadd --- /dev/null +++ b/docs/InlineResponse40096.md @@ -0,0 +1,119 @@ +# InlineResponse40096 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DeleteAutomaticTokensForwardingE400**](DeleteAutomaticTokensForwardingE400.md) | | + +## Methods + +### NewInlineResponse40096 + +`func NewInlineResponse40096(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE400, ) *InlineResponse40096` + +NewInlineResponse40096 instantiates a new InlineResponse40096 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40096WithDefaults + +`func NewInlineResponse40096WithDefaults() *InlineResponse40096` + +NewInlineResponse40096WithDefaults instantiates a new InlineResponse40096 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40096) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40096) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40096) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40096) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40096) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40096) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40096) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40096) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40096) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40096) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40096) GetError() DeleteAutomaticTokensForwardingE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40096) GetErrorOk() (*DeleteAutomaticTokensForwardingE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40096) SetError(v DeleteAutomaticTokensForwardingE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40097.md b/docs/InlineResponse40097.md new file mode 100644 index 0000000..009107c --- /dev/null +++ b/docs/InlineResponse40097.md @@ -0,0 +1,119 @@ +# InlineResponse40097 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ValidateAddressE400**](ValidateAddressE400.md) | | + +## Methods + +### NewInlineResponse40097 + +`func NewInlineResponse40097(apiVersion string, requestId string, error_ ValidateAddressE400, ) *InlineResponse40097` + +NewInlineResponse40097 instantiates a new InlineResponse40097 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40097WithDefaults + +`func NewInlineResponse40097WithDefaults() *InlineResponse40097` + +NewInlineResponse40097WithDefaults instantiates a new InlineResponse40097 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40097) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40097) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40097) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40097) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40097) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40097) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40097) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40097) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40097) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40097) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40097) GetError() ValidateAddressE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40097) GetErrorOk() (*ValidateAddressE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40097) SetError(v ValidateAddressE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40098.md b/docs/InlineResponse40098.md new file mode 100644 index 0000000..55c380f --- /dev/null +++ b/docs/InlineResponse40098.md @@ -0,0 +1,119 @@ +# InlineResponse40098 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetEIP1559FeeRecommendationsE400**](GetEIP1559FeeRecommendationsE400.md) | | + +## Methods + +### NewInlineResponse40098 + +`func NewInlineResponse40098(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE400, ) *InlineResponse40098` + +NewInlineResponse40098 instantiates a new InlineResponse40098 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40098WithDefaults + +`func NewInlineResponse40098WithDefaults() *InlineResponse40098` + +NewInlineResponse40098WithDefaults instantiates a new InlineResponse40098 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40098) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40098) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40098) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40098) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40098) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40098) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40098) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40098) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40098) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40098) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40098) GetError() GetEIP1559FeeRecommendationsE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40098) GetErrorOk() (*GetEIP1559FeeRecommendationsE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40098) SetError(v GetEIP1559FeeRecommendationsE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40099.md b/docs/InlineResponse40099.md new file mode 100644 index 0000000..2a15b2f --- /dev/null +++ b/docs/InlineResponse40099.md @@ -0,0 +1,119 @@ +# InlineResponse40099 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**BroadcastLocallySignedTransactionE400**](BroadcastLocallySignedTransactionE400.md) | | + +## Methods + +### NewInlineResponse40099 + +`func NewInlineResponse40099(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE400, ) *InlineResponse40099` + +NewInlineResponse40099 instantiates a new InlineResponse40099 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40099WithDefaults + +`func NewInlineResponse40099WithDefaults() *InlineResponse40099` + +NewInlineResponse40099WithDefaults instantiates a new InlineResponse40099 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40099) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40099) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40099) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40099) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40099) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40099) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40099) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40099) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40099) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40099) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40099) GetError() BroadcastLocallySignedTransactionE400` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40099) GetErrorOk() (*BroadcastLocallySignedTransactionE400, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40099) SetError(v BroadcastLocallySignedTransactionE400)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401100.md b/docs/InlineResponse401100.md new file mode 100644 index 0000000..d9a3a8c --- /dev/null +++ b/docs/InlineResponse401100.md @@ -0,0 +1,119 @@ +# InlineResponse401100 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EstimateGasLimitE401**](EstimateGasLimitE401.md) | | + +## Methods + +### NewInlineResponse401100 + +`func NewInlineResponse401100(apiVersion string, requestId string, error_ EstimateGasLimitE401, ) *InlineResponse401100` + +NewInlineResponse401100 instantiates a new InlineResponse401100 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401100WithDefaults + +`func NewInlineResponse401100WithDefaults() *InlineResponse401100` + +NewInlineResponse401100WithDefaults instantiates a new InlineResponse401100 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401100) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401100) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401100) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401100) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401100) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401100) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401100) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401100) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401100) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401100) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401100) GetError() EstimateGasLimitE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401100) GetErrorOk() (*EstimateGasLimitE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401100) SetError(v EstimateGasLimitE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401101.md b/docs/InlineResponse401101.md new file mode 100644 index 0000000..12075f6 --- /dev/null +++ b/docs/InlineResponse401101.md @@ -0,0 +1,119 @@ +# InlineResponse401101 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EstimateTokenGasLimitE401**](EstimateTokenGasLimitE401.md) | | + +## Methods + +### NewInlineResponse401101 + +`func NewInlineResponse401101(apiVersion string, requestId string, error_ EstimateTokenGasLimitE401, ) *InlineResponse401101` + +NewInlineResponse401101 instantiates a new InlineResponse401101 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401101WithDefaults + +`func NewInlineResponse401101WithDefaults() *InlineResponse401101` + +NewInlineResponse401101WithDefaults instantiates a new InlineResponse401101 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401101) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401101) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401101) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401101) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401101) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401101) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401101) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401101) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401101) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401101) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401101) GetError() EstimateTokenGasLimitE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401101) GetErrorOk() (*EstimateTokenGasLimitE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401101) SetError(v EstimateTokenGasLimitE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401102.md b/docs/InlineResponse401102.md new file mode 100644 index 0000000..90f82b0 --- /dev/null +++ b/docs/InlineResponse401102.md @@ -0,0 +1,119 @@ +# InlineResponse401102 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DecodeRawTransactionHexE401**](DecodeRawTransactionHexE401.md) | | + +## Methods + +### NewInlineResponse401102 + +`func NewInlineResponse401102(apiVersion string, requestId string, error_ DecodeRawTransactionHexE401, ) *InlineResponse401102` + +NewInlineResponse401102 instantiates a new InlineResponse401102 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401102WithDefaults + +`func NewInlineResponse401102WithDefaults() *InlineResponse401102` + +NewInlineResponse401102WithDefaults instantiates a new InlineResponse401102 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401102) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401102) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401102) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401102) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401102) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401102) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401102) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401102) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401102) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401102) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401102) GetError() DecodeRawTransactionHexE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401102) GetErrorOk() (*DecodeRawTransactionHexE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401102) SetError(v DecodeRawTransactionHexE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401103.md b/docs/InlineResponse401103.md new file mode 100644 index 0000000..b297a5f --- /dev/null +++ b/docs/InlineResponse401103.md @@ -0,0 +1,119 @@ +# InlineResponse401103 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DecodeXAddressE401**](DecodeXAddressE401.md) | | + +## Methods + +### NewInlineResponse401103 + +`func NewInlineResponse401103(apiVersion string, requestId string, error_ DecodeXAddressE401, ) *InlineResponse401103` + +NewInlineResponse401103 instantiates a new InlineResponse401103 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401103WithDefaults + +`func NewInlineResponse401103WithDefaults() *InlineResponse401103` + +NewInlineResponse401103WithDefaults instantiates a new InlineResponse401103 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401103) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401103) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401103) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401103) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401103) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401103) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401103) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401103) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401103) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401103) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401103) GetError() DecodeXAddressE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401103) GetErrorOk() (*DecodeXAddressE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401103) SetError(v DecodeXAddressE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401104.md b/docs/InlineResponse401104.md new file mode 100644 index 0000000..cf60389 --- /dev/null +++ b/docs/InlineResponse401104.md @@ -0,0 +1,119 @@ +# InlineResponse401104 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EncodeXAddressE401**](EncodeXAddressE401.md) | | + +## Methods + +### NewInlineResponse401104 + +`func NewInlineResponse401104(apiVersion string, requestId string, error_ EncodeXAddressE401, ) *InlineResponse401104` + +NewInlineResponse401104 instantiates a new InlineResponse401104 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401104WithDefaults + +`func NewInlineResponse401104WithDefaults() *InlineResponse401104` + +NewInlineResponse401104WithDefaults instantiates a new InlineResponse401104 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401104) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401104) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401104) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401104) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401104) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401104) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401104) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401104) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401104) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401104) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401104) GetError() EncodeXAddressE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401104) GetErrorOk() (*EncodeXAddressE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401104) SetError(v EncodeXAddressE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401105.md b/docs/InlineResponse401105.md new file mode 100644 index 0000000..4ca8d86 --- /dev/null +++ b/docs/InlineResponse401105.md @@ -0,0 +1,119 @@ +# InlineResponse401105 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListSupportedAssetsE401**](ListSupportedAssetsE401.md) | | + +## Methods + +### NewInlineResponse401105 + +`func NewInlineResponse401105(apiVersion string, requestId string, error_ ListSupportedAssetsE401, ) *InlineResponse401105` + +NewInlineResponse401105 instantiates a new InlineResponse401105 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401105WithDefaults + +`func NewInlineResponse401105WithDefaults() *InlineResponse401105` + +NewInlineResponse401105WithDefaults instantiates a new InlineResponse401105 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401105) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401105) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401105) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401105) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401105) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401105) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401105) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401105) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401105) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401105) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401105) GetError() ListSupportedAssetsE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401105) GetErrorOk() (*ListSupportedAssetsE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401105) SetError(v ListSupportedAssetsE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401106.md b/docs/InlineResponse401106.md new file mode 100644 index 0000000..4207c1d --- /dev/null +++ b/docs/InlineResponse401106.md @@ -0,0 +1,119 @@ +# InlineResponse401106 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetExchangeRateByAssetSymbolsE401**](GetExchangeRateByAssetSymbolsE401.md) | | + +## Methods + +### NewInlineResponse401106 + +`func NewInlineResponse401106(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE401, ) *InlineResponse401106` + +NewInlineResponse401106 instantiates a new InlineResponse401106 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401106WithDefaults + +`func NewInlineResponse401106WithDefaults() *InlineResponse401106` + +NewInlineResponse401106WithDefaults instantiates a new InlineResponse401106 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401106) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401106) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401106) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401106) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401106) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401106) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401106) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401106) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401106) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401106) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401106) GetError() GetExchangeRateByAssetSymbolsE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401106) GetErrorOk() (*GetExchangeRateByAssetSymbolsE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401106) SetError(v GetExchangeRateByAssetSymbolsE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401107.md b/docs/InlineResponse401107.md new file mode 100644 index 0000000..e8f6caa --- /dev/null +++ b/docs/InlineResponse401107.md @@ -0,0 +1,119 @@ +# InlineResponse401107 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetExchangeRateByAssetsIDsE401**](GetExchangeRateByAssetsIDsE401.md) | | + +## Methods + +### NewInlineResponse401107 + +`func NewInlineResponse401107(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE401, ) *InlineResponse401107` + +NewInlineResponse401107 instantiates a new InlineResponse401107 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401107WithDefaults + +`func NewInlineResponse401107WithDefaults() *InlineResponse401107` + +NewInlineResponse401107WithDefaults instantiates a new InlineResponse401107 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401107) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401107) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401107) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401107) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401107) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401107) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401107) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401107) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401107) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401107) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401107) GetError() GetExchangeRateByAssetsIDsE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401107) GetErrorOk() (*GetExchangeRateByAssetsIDsE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401107) SetError(v GetExchangeRateByAssetsIDsE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401108.md b/docs/InlineResponse401108.md new file mode 100644 index 0000000..ef506d6 --- /dev/null +++ b/docs/InlineResponse401108.md @@ -0,0 +1,119 @@ +# InlineResponse401108 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListAssetsDetailsE401**](ListAssetsDetailsE401.md) | | + +## Methods + +### NewInlineResponse401108 + +`func NewInlineResponse401108(apiVersion string, requestId string, error_ ListAssetsDetailsE401, ) *InlineResponse401108` + +NewInlineResponse401108 instantiates a new InlineResponse401108 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401108WithDefaults + +`func NewInlineResponse401108WithDefaults() *InlineResponse401108` + +NewInlineResponse401108WithDefaults instantiates a new InlineResponse401108 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401108) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401108) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401108) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401108) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401108) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401108) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401108) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401108) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401108) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401108) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401108) GetError() ListAssetsDetailsE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401108) GetErrorOk() (*ListAssetsDetailsE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401108) SetError(v ListAssetsDetailsE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401109.md b/docs/InlineResponse401109.md new file mode 100644 index 0000000..629797e --- /dev/null +++ b/docs/InlineResponse401109.md @@ -0,0 +1,119 @@ +# InlineResponse401109 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetAssetDetailsByAssetIDE401**](GetAssetDetailsByAssetIDE401.md) | | + +## Methods + +### NewInlineResponse401109 + +`func NewInlineResponse401109(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE401, ) *InlineResponse401109` + +NewInlineResponse401109 instantiates a new InlineResponse401109 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401109WithDefaults + +`func NewInlineResponse401109WithDefaults() *InlineResponse401109` + +NewInlineResponse401109WithDefaults instantiates a new InlineResponse401109 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401109) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401109) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401109) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401109) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401109) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401109) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401109) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401109) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401109) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401109) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401109) GetError() GetAssetDetailsByAssetIDE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401109) GetErrorOk() (*GetAssetDetailsByAssetIDE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401109) SetError(v GetAssetDetailsByAssetIDE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse401110.md b/docs/InlineResponse401110.md new file mode 100644 index 0000000..28a959d --- /dev/null +++ b/docs/InlineResponse401110.md @@ -0,0 +1,119 @@ +# InlineResponse401110 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetAssetDetailsByAssetSymbolE401**](GetAssetDetailsByAssetSymbolE401.md) | | + +## Methods + +### NewInlineResponse401110 + +`func NewInlineResponse401110(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE401, ) *InlineResponse401110` + +NewInlineResponse401110 instantiates a new InlineResponse401110 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse401110WithDefaults + +`func NewInlineResponse401110WithDefaults() *InlineResponse401110` + +NewInlineResponse401110WithDefaults instantiates a new InlineResponse401110 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse401110) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse401110) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse401110) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse401110) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse401110) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse401110) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse401110) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse401110) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse401110) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse401110) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse401110) GetError() GetAssetDetailsByAssetSymbolE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse401110) GetErrorOk() (*GetAssetDetailsByAssetSymbolE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse401110) SetError(v GetAssetDetailsByAssetSymbolE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40116.md b/docs/InlineResponse40116.md index 5e3d09d..ff1b6d6 100644 --- a/docs/InlineResponse40116.md +++ b/docs/InlineResponse40116.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListAllUnconfirmedTransactionsE401**](ListAllUnconfirmedTransactionsE401.md) | | +**Error** | [**ListXRPRippleTransactionsByAddressAndTimeRangeE401**](ListXRPRippleTransactionsByAddressAndTimeRangeE401.md) | | ## Methods ### NewInlineResponse40116 -`func NewInlineResponse40116(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE401, ) *InlineResponse40116` +`func NewInlineResponse40116(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByAddressAndTimeRangeE401, ) *InlineResponse40116` NewInlineResponse40116 instantiates a new InlineResponse40116 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40116) GetError() ListAllUnconfirmedTransactionsE401` +`func (o *InlineResponse40116) GetError() ListXRPRippleTransactionsByAddressAndTimeRangeE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40116) GetErrorOk() (*ListAllUnconfirmedTransactionsE401, bool)` +`func (o *InlineResponse40116) GetErrorOk() (*ListXRPRippleTransactionsByAddressAndTimeRangeE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40116) SetError(v ListAllUnconfirmedTransactionsE401)` +`func (o *InlineResponse40116) SetError(v ListXRPRippleTransactionsByAddressAndTimeRangeE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40117.md b/docs/InlineResponse40117.md index 4a9cd91..aa116f8 100644 --- a/docs/InlineResponse40117.md +++ b/docs/InlineResponse40117.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTransactionsByBlockHashE401**](ListTransactionsByBlockHashE401.md) | | +**Error** | [**ListAllUnconfirmedTransactionsE401**](ListAllUnconfirmedTransactionsE401.md) | | ## Methods ### NewInlineResponse40117 -`func NewInlineResponse40117(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE401, ) *InlineResponse40117` +`func NewInlineResponse40117(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE401, ) *InlineResponse40117` NewInlineResponse40117 instantiates a new InlineResponse40117 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40117) GetError() ListTransactionsByBlockHashE401` +`func (o *InlineResponse40117) GetError() ListAllUnconfirmedTransactionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40117) GetErrorOk() (*ListTransactionsByBlockHashE401, bool)` +`func (o *InlineResponse40117) GetErrorOk() (*ListAllUnconfirmedTransactionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40117) SetError(v ListTransactionsByBlockHashE401)` +`func (o *InlineResponse40117) SetError(v ListAllUnconfirmedTransactionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40118.md b/docs/InlineResponse40118.md index b70813a..20b7a71 100644 --- a/docs/InlineResponse40118.md +++ b/docs/InlineResponse40118.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListXRPRippleTransactionsByBlockHashE401**](ListXRPRippleTransactionsByBlockHashE401.md) | | +**Error** | [**ListTransactionsByBlockHashE401**](ListTransactionsByBlockHashE401.md) | | ## Methods ### NewInlineResponse40118 -`func NewInlineResponse40118(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE401, ) *InlineResponse40118` +`func NewInlineResponse40118(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE401, ) *InlineResponse40118` NewInlineResponse40118 instantiates a new InlineResponse40118 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40118) GetError() ListXRPRippleTransactionsByBlockHashE401` +`func (o *InlineResponse40118) GetError() ListTransactionsByBlockHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40118) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE401, bool)` +`func (o *InlineResponse40118) GetErrorOk() (*ListTransactionsByBlockHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40118) SetError(v ListXRPRippleTransactionsByBlockHashE401)` +`func (o *InlineResponse40118) SetError(v ListTransactionsByBlockHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40119.md b/docs/InlineResponse40119.md index 3ed1b05..666f8a9 100644 --- a/docs/InlineResponse40119.md +++ b/docs/InlineResponse40119.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetUnconfirmedOmniTransactionByTransactionIDTxidE401**](GetUnconfirmedOmniTransactionByTransactionIDTxidE401.md) | | +**Error** | [**ListXRPRippleTransactionsByBlockHashE401**](ListXRPRippleTransactionsByBlockHashE401.md) | | ## Methods ### NewInlineResponse40119 -`func NewInlineResponse40119(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE401, ) *InlineResponse40119` +`func NewInlineResponse40119(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE401, ) *InlineResponse40119` NewInlineResponse40119 instantiates a new InlineResponse40119 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40119) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE401` +`func (o *InlineResponse40119) GetError() ListXRPRippleTransactionsByBlockHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40119) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE401, bool)` +`func (o *InlineResponse40119) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40119) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE401)` +`func (o *InlineResponse40119) SetError(v ListXRPRippleTransactionsByBlockHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40120.md b/docs/InlineResponse40120.md index ecdfa6c..84b8fe0 100644 --- a/docs/InlineResponse40120.md +++ b/docs/InlineResponse40120.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateCoinsTransactionRequestFromAddressE401**](CreateCoinsTransactionRequestFromAddressE401.md) | | +**Error** | [**GetUnconfirmedOmniTransactionByTransactionIDTxidE401**](GetUnconfirmedOmniTransactionByTransactionIDTxidE401.md) | | ## Methods ### NewInlineResponse40120 -`func NewInlineResponse40120(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE401, ) *InlineResponse40120` +`func NewInlineResponse40120(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE401, ) *InlineResponse40120` NewInlineResponse40120 instantiates a new InlineResponse40120 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40120) GetError() CreateCoinsTransactionRequestFromAddressE401` +`func (o *InlineResponse40120) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40120) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE401, bool)` +`func (o *InlineResponse40120) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40120) SetError(v CreateCoinsTransactionRequestFromAddressE401)` +`func (o *InlineResponse40120) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40121.md b/docs/InlineResponse40121.md index 9047f8b..da7a162 100644 --- a/docs/InlineResponse40121.md +++ b/docs/InlineResponse40121.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListZilliqaTransactionsByBlockHashE401**](ListZilliqaTransactionsByBlockHashE401.md) | | +**Error** | [**CreateCoinsTransactionRequestFromAddressE401**](CreateCoinsTransactionRequestFromAddressE401.md) | | ## Methods ### NewInlineResponse40121 -`func NewInlineResponse40121(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE401, ) *InlineResponse40121` +`func NewInlineResponse40121(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE401, ) *InlineResponse40121` NewInlineResponse40121 instantiates a new InlineResponse40121 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40121) GetError() ListZilliqaTransactionsByBlockHashE401` +`func (o *InlineResponse40121) GetError() CreateCoinsTransactionRequestFromAddressE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40121) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE401, bool)` +`func (o *InlineResponse40121) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40121) SetError(v ListZilliqaTransactionsByBlockHashE401)` +`func (o *InlineResponse40121) SetError(v CreateCoinsTransactionRequestFromAddressE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40122.md b/docs/InlineResponse40122.md index 187b53f..99e9708 100644 --- a/docs/InlineResponse40122.md +++ b/docs/InlineResponse40122.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListZilliqaTransactionsByBlockHeightE401**](ListZilliqaTransactionsByBlockHeightE401.md) | | +**Error** | [**ListZilliqaTransactionsByBlockHashE401**](ListZilliqaTransactionsByBlockHashE401.md) | | ## Methods ### NewInlineResponse40122 -`func NewInlineResponse40122(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE401, ) *InlineResponse40122` +`func NewInlineResponse40122(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE401, ) *InlineResponse40122` NewInlineResponse40122 instantiates a new InlineResponse40122 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40122) GetError() ListZilliqaTransactionsByBlockHeightE401` +`func (o *InlineResponse40122) GetError() ListZilliqaTransactionsByBlockHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40122) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE401, bool)` +`func (o *InlineResponse40122) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40122) SetError(v ListZilliqaTransactionsByBlockHeightE401)` +`func (o *InlineResponse40122) SetError(v ListZilliqaTransactionsByBlockHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40123.md b/docs/InlineResponse40123.md index a217637..00afdc2 100644 --- a/docs/InlineResponse40123.md +++ b/docs/InlineResponse40123.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListXRPRippleTransactionsByBlockHeightE401**](ListXRPRippleTransactionsByBlockHeightE401.md) | | +**Error** | [**ListZilliqaTransactionsByBlockHeightE401**](ListZilliqaTransactionsByBlockHeightE401.md) | | ## Methods ### NewInlineResponse40123 -`func NewInlineResponse40123(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE401, ) *InlineResponse40123` +`func NewInlineResponse40123(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE401, ) *InlineResponse40123` NewInlineResponse40123 instantiates a new InlineResponse40123 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40123) GetError() ListXRPRippleTransactionsByBlockHeightE401` +`func (o *InlineResponse40123) GetError() ListZilliqaTransactionsByBlockHeightE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40123) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE401, bool)` +`func (o *InlineResponse40123) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40123) SetError(v ListXRPRippleTransactionsByBlockHeightE401)` +`func (o *InlineResponse40123) SetError(v ListZilliqaTransactionsByBlockHeightE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40124.md b/docs/InlineResponse40124.md index 02053b2..d983910 100644 --- a/docs/InlineResponse40124.md +++ b/docs/InlineResponse40124.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTransactionsByBlockHeightE401**](ListTransactionsByBlockHeightE401.md) | | +**Error** | [**ListXRPRippleTransactionsByBlockHeightE401**](ListXRPRippleTransactionsByBlockHeightE401.md) | | ## Methods ### NewInlineResponse40124 -`func NewInlineResponse40124(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE401, ) *InlineResponse40124` +`func NewInlineResponse40124(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE401, ) *InlineResponse40124` NewInlineResponse40124 instantiates a new InlineResponse40124 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40124) GetError() ListTransactionsByBlockHeightE401` +`func (o *InlineResponse40124) GetError() ListXRPRippleTransactionsByBlockHeightE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40124) GetErrorOk() (*ListTransactionsByBlockHeightE401, bool)` +`func (o *InlineResponse40124) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40124) SetError(v ListTransactionsByBlockHeightE401)` +`func (o *InlineResponse40124) SetError(v ListXRPRippleTransactionsByBlockHeightE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40125.md b/docs/InlineResponse40125.md index 2620435..6478ffa 100644 --- a/docs/InlineResponse40125.md +++ b/docs/InlineResponse40125.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateCoinsTransactionFromAddressForWholeAmountE401**](CreateCoinsTransactionFromAddressForWholeAmountE401.md) | | +**Error** | [**ListTransactionsByBlockHeightE401**](ListTransactionsByBlockHeightE401.md) | | ## Methods ### NewInlineResponse40125 -`func NewInlineResponse40125(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE401, ) *InlineResponse40125` +`func NewInlineResponse40125(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE401, ) *InlineResponse40125` NewInlineResponse40125 instantiates a new InlineResponse40125 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40125) GetError() CreateCoinsTransactionFromAddressForWholeAmountE401` +`func (o *InlineResponse40125) GetError() ListTransactionsByBlockHeightE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40125) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE401, bool)` +`func (o *InlineResponse40125) GetErrorOk() (*ListTransactionsByBlockHeightE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40125) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE401)` +`func (o *InlineResponse40125) SetError(v ListTransactionsByBlockHeightE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40126.md b/docs/InlineResponse40126.md index 8f3f533..e8c67c5 100644 --- a/docs/InlineResponse40126.md +++ b/docs/InlineResponse40126.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHeightE401**](GetBlockDetailsByBlockHeightE401.md) | | +**Error** | [**CreateCoinsTransactionFromAddressForWholeAmountE401**](CreateCoinsTransactionFromAddressForWholeAmountE401.md) | | ## Methods ### NewInlineResponse40126 -`func NewInlineResponse40126(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE401, ) *InlineResponse40126` +`func NewInlineResponse40126(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE401, ) *InlineResponse40126` NewInlineResponse40126 instantiates a new InlineResponse40126 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40126) GetError() GetBlockDetailsByBlockHeightE401` +`func (o *InlineResponse40126) GetError() CreateCoinsTransactionFromAddressForWholeAmountE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40126) GetErrorOk() (*GetBlockDetailsByBlockHeightE401, bool)` +`func (o *InlineResponse40126) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40126) SetError(v GetBlockDetailsByBlockHeightE401)` +`func (o *InlineResponse40126) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40127.md b/docs/InlineResponse40127.md index afb3627..109d765 100644 --- a/docs/InlineResponse40127.md +++ b/docs/InlineResponse40127.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetXRPRippleBlockDetailsByBlockHeightE401**](GetXRPRippleBlockDetailsByBlockHeightE401.md) | | +**Error** | [**GetBlockDetailsByBlockHeightE401**](GetBlockDetailsByBlockHeightE401.md) | | ## Methods ### NewInlineResponse40127 -`func NewInlineResponse40127(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE401, ) *InlineResponse40127` +`func NewInlineResponse40127(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE401, ) *InlineResponse40127` NewInlineResponse40127 instantiates a new InlineResponse40127 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40127) GetError() GetXRPRippleBlockDetailsByBlockHeightE401` +`func (o *InlineResponse40127) GetError() GetBlockDetailsByBlockHeightE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40127) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE401, bool)` +`func (o *InlineResponse40127) GetErrorOk() (*GetBlockDetailsByBlockHeightE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40127) SetError(v GetXRPRippleBlockDetailsByBlockHeightE401)` +`func (o *InlineResponse40127) SetError(v GetBlockDetailsByBlockHeightE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40128.md b/docs/InlineResponse40128.md index 083336f..3f2f624 100644 --- a/docs/InlineResponse40128.md +++ b/docs/InlineResponse40128.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListUnconfirmedOmniTransactionsByPropertyIDE401**](ListUnconfirmedOmniTransactionsByPropertyIDE401.md) | | +**Error** | [**GetXRPRippleBlockDetailsByBlockHeightE401**](GetXRPRippleBlockDetailsByBlockHeightE401.md) | | ## Methods ### NewInlineResponse40128 -`func NewInlineResponse40128(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE401, ) *InlineResponse40128` +`func NewInlineResponse40128(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE401, ) *InlineResponse40128` NewInlineResponse40128 instantiates a new InlineResponse40128 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40128) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE401` +`func (o *InlineResponse40128) GetError() GetXRPRippleBlockDetailsByBlockHeightE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40128) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE401, bool)` +`func (o *InlineResponse40128) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40128) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE401)` +`func (o *InlineResponse40128) SetError(v GetXRPRippleBlockDetailsByBlockHeightE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40129.md b/docs/InlineResponse40129.md index 28ab1bf..6deeb66 100644 --- a/docs/InlineResponse40129.md +++ b/docs/InlineResponse40129.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetZilliqaBlockDetailsByBlockHeightE401**](GetZilliqaBlockDetailsByBlockHeightE401.md) | | +**Error** | [**ListUnconfirmedOmniTransactionsByPropertyIDE401**](ListUnconfirmedOmniTransactionsByPropertyIDE401.md) | | ## Methods ### NewInlineResponse40129 -`func NewInlineResponse40129(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE401, ) *InlineResponse40129` +`func NewInlineResponse40129(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE401, ) *InlineResponse40129` NewInlineResponse40129 instantiates a new InlineResponse40129 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40129) GetError() GetZilliqaBlockDetailsByBlockHeightE401` +`func (o *InlineResponse40129) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40129) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE401, bool)` +`func (o *InlineResponse40129) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40129) SetError(v GetZilliqaBlockDetailsByBlockHeightE401)` +`func (o *InlineResponse40129) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40130.md b/docs/InlineResponse40130.md index 8e6ed48..776d82a 100644 --- a/docs/InlineResponse40130.md +++ b/docs/InlineResponse40130.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHashE401**](GetBlockDetailsByBlockHashE401.md) | | +**Error** | [**GetZilliqaBlockDetailsByBlockHeightE401**](GetZilliqaBlockDetailsByBlockHeightE401.md) | | ## Methods ### NewInlineResponse40130 -`func NewInlineResponse40130(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE401, ) *InlineResponse40130` +`func NewInlineResponse40130(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE401, ) *InlineResponse40130` NewInlineResponse40130 instantiates a new InlineResponse40130 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40130) GetError() GetBlockDetailsByBlockHashE401` +`func (o *InlineResponse40130) GetError() GetZilliqaBlockDetailsByBlockHeightE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40130) GetErrorOk() (*GetBlockDetailsByBlockHashE401, bool)` +`func (o *InlineResponse40130) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40130) SetError(v GetBlockDetailsByBlockHashE401)` +`func (o *InlineResponse40130) SetError(v GetZilliqaBlockDetailsByBlockHeightE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40131.md b/docs/InlineResponse40131.md index c161640..dc61fb3 100644 --- a/docs/InlineResponse40131.md +++ b/docs/InlineResponse40131.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetXRPRippleBlockDetailsByBlockHashE401**](GetXRPRippleBlockDetailsByBlockHashE401.md) | | +**Error** | [**GetBlockDetailsByBlockHashE401**](GetBlockDetailsByBlockHashE401.md) | | ## Methods ### NewInlineResponse40131 -`func NewInlineResponse40131(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE401, ) *InlineResponse40131` +`func NewInlineResponse40131(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE401, ) *InlineResponse40131` NewInlineResponse40131 instantiates a new InlineResponse40131 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40131) GetError() GetXRPRippleBlockDetailsByBlockHashE401` +`func (o *InlineResponse40131) GetError() GetBlockDetailsByBlockHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40131) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE401, bool)` +`func (o *InlineResponse40131) GetErrorOk() (*GetBlockDetailsByBlockHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40131) SetError(v GetXRPRippleBlockDetailsByBlockHashE401)` +`func (o *InlineResponse40131) SetError(v GetBlockDetailsByBlockHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40132.md b/docs/InlineResponse40132.md index b7f1c1f..54a866d 100644 --- a/docs/InlineResponse40132.md +++ b/docs/InlineResponse40132.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetOmniTransactionDetailsByTransactionIDTxidE401**](GetOmniTransactionDetailsByTransactionIDTxidE401.md) | | +**Error** | [**GetXRPRippleBlockDetailsByBlockHashE401**](GetXRPRippleBlockDetailsByBlockHashE401.md) | | ## Methods ### NewInlineResponse40132 -`func NewInlineResponse40132(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE401, ) *InlineResponse40132` +`func NewInlineResponse40132(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE401, ) *InlineResponse40132` NewInlineResponse40132 instantiates a new InlineResponse40132 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40132) GetError() GetOmniTransactionDetailsByTransactionIDTxidE401` +`func (o *InlineResponse40132) GetError() GetXRPRippleBlockDetailsByBlockHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40132) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE401, bool)` +`func (o *InlineResponse40132) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40132) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE401)` +`func (o *InlineResponse40132) SetError(v GetXRPRippleBlockDetailsByBlockHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40133.md b/docs/InlineResponse40133.md index f61777d..b57fc18 100644 --- a/docs/InlineResponse40133.md +++ b/docs/InlineResponse40133.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetZilliqaBlockDetailsByBlockHashE401**](GetZilliqaBlockDetailsByBlockHashE401.md) | | +**Error** | [**GetOmniTransactionDetailsByTransactionIDTxidE401**](GetOmniTransactionDetailsByTransactionIDTxidE401.md) | | ## Methods ### NewInlineResponse40133 -`func NewInlineResponse40133(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE401, ) *InlineResponse40133` +`func NewInlineResponse40133(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE401, ) *InlineResponse40133` NewInlineResponse40133 instantiates a new InlineResponse40133 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40133) GetError() GetZilliqaBlockDetailsByBlockHashE401` +`func (o *InlineResponse40133) GetError() GetOmniTransactionDetailsByTransactionIDTxidE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40133) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE401, bool)` +`func (o *InlineResponse40133) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40133) SetError(v GetZilliqaBlockDetailsByBlockHashE401)` +`func (o *InlineResponse40133) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40134.md b/docs/InlineResponse40134.md index 445eaf9..97fdecd 100644 --- a/docs/InlineResponse40134.md +++ b/docs/InlineResponse40134.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListSupportedTokensE401**](ListSupportedTokensE401.md) | | +**Error** | [**GetZilliqaBlockDetailsByBlockHashE401**](GetZilliqaBlockDetailsByBlockHashE401.md) | | ## Methods ### NewInlineResponse40134 -`func NewInlineResponse40134(apiVersion string, requestId string, error_ ListSupportedTokensE401, ) *InlineResponse40134` +`func NewInlineResponse40134(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE401, ) *InlineResponse40134` NewInlineResponse40134 instantiates a new InlineResponse40134 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40134) GetError() ListSupportedTokensE401` +`func (o *InlineResponse40134) GetError() GetZilliqaBlockDetailsByBlockHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40134) GetErrorOk() (*ListSupportedTokensE401, bool)` +`func (o *InlineResponse40134) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40134) SetError(v ListSupportedTokensE401)` +`func (o *InlineResponse40134) SetError(v GetZilliqaBlockDetailsByBlockHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40135.md b/docs/InlineResponse40135.md index 5c55bbe..97a0d82 100644 --- a/docs/InlineResponse40135.md +++ b/docs/InlineResponse40135.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetWalletAssetDetailsE401**](GetWalletAssetDetailsE401.md) | | +**Error** | [**ListSupportedTokensE401**](ListSupportedTokensE401.md) | | ## Methods ### NewInlineResponse40135 -`func NewInlineResponse40135(apiVersion string, requestId string, error_ GetWalletAssetDetailsE401, ) *InlineResponse40135` +`func NewInlineResponse40135(apiVersion string, requestId string, error_ ListSupportedTokensE401, ) *InlineResponse40135` NewInlineResponse40135 instantiates a new InlineResponse40135 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40135) GetError() GetWalletAssetDetailsE401` +`func (o *InlineResponse40135) GetError() ListSupportedTokensE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40135) GetErrorOk() (*GetWalletAssetDetailsE401, bool)` +`func (o *InlineResponse40135) GetErrorOk() (*ListSupportedTokensE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40135) SetError(v GetWalletAssetDetailsE401)` +`func (o *InlineResponse40135) SetError(v ListSupportedTokensE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40136.md b/docs/InlineResponse40136.md index 3db2ec3..19f16a8 100644 --- a/docs/InlineResponse40136.md +++ b/docs/InlineResponse40136.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateFungibleTokensTransactionRequestFromAddressE401**](CreateFungibleTokensTransactionRequestFromAddressE401.md) | | +**Error** | [**GetWalletAssetDetailsE401**](GetWalletAssetDetailsE401.md) | | ## Methods ### NewInlineResponse40136 -`func NewInlineResponse40136(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE401, ) *InlineResponse40136` +`func NewInlineResponse40136(apiVersion string, requestId string, error_ GetWalletAssetDetailsE401, ) *InlineResponse40136` NewInlineResponse40136 instantiates a new InlineResponse40136 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40136) GetError() CreateFungibleTokensTransactionRequestFromAddressE401` +`func (o *InlineResponse40136) GetError() GetWalletAssetDetailsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40136) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE401, bool)` +`func (o *InlineResponse40136) GetErrorOk() (*GetWalletAssetDetailsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40136) SetError(v CreateFungibleTokensTransactionRequestFromAddressE401)` +`func (o *InlineResponse40136) SetError(v GetWalletAssetDetailsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40137.md b/docs/InlineResponse40137.md index 2848fbe..4e16f4d 100644 --- a/docs/InlineResponse40137.md +++ b/docs/InlineResponse40137.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLastMinedBlockE401**](GetLastMinedBlockE401.md) | | +**Error** | [**CreateFungibleTokensTransactionRequestFromAddressE401**](CreateFungibleTokensTransactionRequestFromAddressE401.md) | | ## Methods ### NewInlineResponse40137 -`func NewInlineResponse40137(apiVersion string, requestId string, error_ GetLastMinedBlockE401, ) *InlineResponse40137` +`func NewInlineResponse40137(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE401, ) *InlineResponse40137` NewInlineResponse40137 instantiates a new InlineResponse40137 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40137) GetError() GetLastMinedBlockE401` +`func (o *InlineResponse40137) GetError() CreateFungibleTokensTransactionRequestFromAddressE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40137) GetErrorOk() (*GetLastMinedBlockE401, bool)` +`func (o *InlineResponse40137) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40137) SetError(v GetLastMinedBlockE401)` +`func (o *InlineResponse40137) SetError(v CreateFungibleTokensTransactionRequestFromAddressE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40138.md b/docs/InlineResponse40138.md index 812de7a..71acd3e 100644 --- a/docs/InlineResponse40138.md +++ b/docs/InlineResponse40138.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListOmniTransactionsByBlockHeightE401**](ListOmniTransactionsByBlockHeightE401.md) | | +**Error** | [**ListAllAssetsFromAllWalletsE401**](ListAllAssetsFromAllWalletsE401.md) | | ## Methods ### NewInlineResponse40138 -`func NewInlineResponse40138(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE401, ) *InlineResponse40138` +`func NewInlineResponse40138(apiVersion string, requestId string, error_ ListAllAssetsFromAllWalletsE401, ) *InlineResponse40138` NewInlineResponse40138 instantiates a new InlineResponse40138 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40138) GetError() ListOmniTransactionsByBlockHeightE401` +`func (o *InlineResponse40138) GetError() ListAllAssetsFromAllWalletsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40138) GetErrorOk() (*ListOmniTransactionsByBlockHeightE401, bool)` +`func (o *InlineResponse40138) GetErrorOk() (*ListAllAssetsFromAllWalletsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40138) SetError(v ListOmniTransactionsByBlockHeightE401)` +`func (o *InlineResponse40138) SetError(v ListAllAssetsFromAllWalletsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40139.md b/docs/InlineResponse40139.md index bd6bde8..65e4369 100644 --- a/docs/InlineResponse40139.md +++ b/docs/InlineResponse40139.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLatestMinedXRPRippleBlockE401**](GetLatestMinedXRPRippleBlockE401.md) | | +**Error** | [**ListAllAssetsByWalletIDE401**](ListAllAssetsByWalletIDE401.md) | | ## Methods ### NewInlineResponse40139 -`func NewInlineResponse40139(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE401, ) *InlineResponse40139` +`func NewInlineResponse40139(apiVersion string, requestId string, error_ ListAllAssetsByWalletIDE401, ) *InlineResponse40139` NewInlineResponse40139 instantiates a new InlineResponse40139 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40139) GetError() GetLatestMinedXRPRippleBlockE401` +`func (o *InlineResponse40139) GetError() ListAllAssetsByWalletIDE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40139) GetErrorOk() (*GetLatestMinedXRPRippleBlockE401, bool)` +`func (o *InlineResponse40139) GetErrorOk() (*ListAllAssetsByWalletIDE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40139) SetError(v GetLatestMinedXRPRippleBlockE401)` +`func (o *InlineResponse40139) SetError(v ListAllAssetsByWalletIDE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40140.md b/docs/InlineResponse40140.md index 16b2fda..7661636 100644 --- a/docs/InlineResponse40140.md +++ b/docs/InlineResponse40140.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLatestMinedZilliqaBlockE401**](GetLatestMinedZilliqaBlockE401.md) | | +**Error** | [**GetLastMinedBlockE401**](GetLastMinedBlockE401.md) | | ## Methods ### NewInlineResponse40140 -`func NewInlineResponse40140(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE401, ) *InlineResponse40140` +`func NewInlineResponse40140(apiVersion string, requestId string, error_ GetLastMinedBlockE401, ) *InlineResponse40140` NewInlineResponse40140 instantiates a new InlineResponse40140 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40140) GetError() GetLatestMinedZilliqaBlockE401` +`func (o *InlineResponse40140) GetError() GetLastMinedBlockE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40140) GetErrorOk() (*GetLatestMinedZilliqaBlockE401, bool)` +`func (o *InlineResponse40140) GetErrorOk() (*GetLastMinedBlockE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40140) SetError(v GetLatestMinedZilliqaBlockE401)` +`func (o *InlineResponse40140) SetError(v GetLastMinedBlockE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40141.md b/docs/InlineResponse40141.md index 08e7979..072a0a4 100644 --- a/docs/InlineResponse40141.md +++ b/docs/InlineResponse40141.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTransactionRequestDetailsE401**](GetTransactionRequestDetailsE401.md) | | +**Error** | [**ListOmniTransactionsByBlockHeightE401**](ListOmniTransactionsByBlockHeightE401.md) | | ## Methods ### NewInlineResponse40141 -`func NewInlineResponse40141(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE401, ) *InlineResponse40141` +`func NewInlineResponse40141(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE401, ) *InlineResponse40141` NewInlineResponse40141 instantiates a new InlineResponse40141 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40141) GetError() GetTransactionRequestDetailsE401` +`func (o *InlineResponse40141) GetError() ListOmniTransactionsByBlockHeightE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40141) GetErrorOk() (*GetTransactionRequestDetailsE401, bool)` +`func (o *InlineResponse40141) GetErrorOk() (*ListOmniTransactionsByBlockHeightE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40141) SetError(v GetTransactionRequestDetailsE401)` +`func (o *InlineResponse40141) SetError(v ListOmniTransactionsByBlockHeightE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40142.md b/docs/InlineResponse40142.md index 4c4d4f0..ea88b11 100644 --- a/docs/InlineResponse40142.md +++ b/docs/InlineResponse40142.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListLatestMinedBlocksE401**](ListLatestMinedBlocksE401.md) | | +**Error** | [**GetLatestMinedXRPRippleBlockE401**](GetLatestMinedXRPRippleBlockE401.md) | | ## Methods ### NewInlineResponse40142 -`func NewInlineResponse40142(apiVersion string, requestId string, error_ ListLatestMinedBlocksE401, ) *InlineResponse40142` +`func NewInlineResponse40142(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE401, ) *InlineResponse40142` NewInlineResponse40142 instantiates a new InlineResponse40142 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40142) GetError() ListLatestMinedBlocksE401` +`func (o *InlineResponse40142) GetError() GetLatestMinedXRPRippleBlockE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40142) GetErrorOk() (*ListLatestMinedBlocksE401, bool)` +`func (o *InlineResponse40142) GetErrorOk() (*GetLatestMinedXRPRippleBlockE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40142) SetError(v ListLatestMinedBlocksE401)` +`func (o *InlineResponse40142) SetError(v GetLatestMinedXRPRippleBlockE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40143.md b/docs/InlineResponse40143.md index e848169..c2253c7 100644 --- a/docs/InlineResponse40143.md +++ b/docs/InlineResponse40143.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**SyncHDWalletXPubYPubZPubE401**](SyncHDWalletXPubYPubZPubE401.md) | | +**Error** | [**GetLatestMinedZilliqaBlockE401**](GetLatestMinedZilliqaBlockE401.md) | | ## Methods ### NewInlineResponse40143 -`func NewInlineResponse40143(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE401, ) *InlineResponse40143` +`func NewInlineResponse40143(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE401, ) *InlineResponse40143` NewInlineResponse40143 instantiates a new InlineResponse40143 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40143) GetError() SyncHDWalletXPubYPubZPubE401` +`func (o *InlineResponse40143) GetError() GetLatestMinedZilliqaBlockE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40143) GetErrorOk() (*SyncHDWalletXPubYPubZPubE401, bool)` +`func (o *InlineResponse40143) GetErrorOk() (*GetLatestMinedZilliqaBlockE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40143) SetError(v SyncHDWalletXPubYPubZPubE401)` +`func (o *InlineResponse40143) SetError(v GetLatestMinedZilliqaBlockE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40144.md b/docs/InlineResponse40144.md index 2ed9b1f..1c4a49f 100644 --- a/docs/InlineResponse40144.md +++ b/docs/InlineResponse40144.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListOmniTransactionsByBlockHashE401**](ListOmniTransactionsByBlockHashE401.md) | | +**Error** | [**GetTransactionRequestDetailsE401**](GetTransactionRequestDetailsE401.md) | | ## Methods ### NewInlineResponse40144 -`func NewInlineResponse40144(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE401, ) *InlineResponse40144` +`func NewInlineResponse40144(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE401, ) *InlineResponse40144` NewInlineResponse40144 instantiates a new InlineResponse40144 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40144) GetError() ListOmniTransactionsByBlockHashE401` +`func (o *InlineResponse40144) GetError() GetTransactionRequestDetailsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40144) GetErrorOk() (*ListOmniTransactionsByBlockHashE401, bool)` +`func (o *InlineResponse40144) GetErrorOk() (*GetTransactionRequestDetailsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40144) SetError(v ListOmniTransactionsByBlockHashE401)` +`func (o *InlineResponse40144) SetError(v GetTransactionRequestDetailsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40145.md b/docs/InlineResponse40145.md index 15108f8..c0844ea 100644 --- a/docs/InlineResponse40145.md +++ b/docs/InlineResponse40145.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListWalletTransactionsE401**](ListWalletTransactionsE401.md) | | +**Error** | [**ListLatestMinedBlocksE401**](ListLatestMinedBlocksE401.md) | | ## Methods ### NewInlineResponse40145 -`func NewInlineResponse40145(apiVersion string, requestId string, error_ ListWalletTransactionsE401, ) *InlineResponse40145` +`func NewInlineResponse40145(apiVersion string, requestId string, error_ ListLatestMinedBlocksE401, ) *InlineResponse40145` NewInlineResponse40145 instantiates a new InlineResponse40145 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40145) GetError() ListWalletTransactionsE401` +`func (o *InlineResponse40145) GetError() ListLatestMinedBlocksE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40145) GetErrorOk() (*ListWalletTransactionsE401, bool)` +`func (o *InlineResponse40145) GetErrorOk() (*ListLatestMinedBlocksE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40145) SetError(v ListWalletTransactionsE401)` +`func (o *InlineResponse40145) SetError(v ListLatestMinedBlocksE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40146.md b/docs/InlineResponse40146.md index e082fb8..2aa77d6 100644 --- a/docs/InlineResponse40146.md +++ b/docs/InlineResponse40146.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetWalletTransactionDetailsByTransactionIDE401**](GetWalletTransactionDetailsByTransactionIDE401.md) | | +**Error** | [**SyncHDWalletXPubYPubZPubE401**](SyncHDWalletXPubYPubZPubE401.md) | | ## Methods ### NewInlineResponse40146 -`func NewInlineResponse40146(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE401, ) *InlineResponse40146` +`func NewInlineResponse40146(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE401, ) *InlineResponse40146` NewInlineResponse40146 instantiates a new InlineResponse40146 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40146) GetError() GetWalletTransactionDetailsByTransactionIDE401` +`func (o *InlineResponse40146) GetError() SyncHDWalletXPubYPubZPubE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40146) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE401, bool)` +`func (o *InlineResponse40146) GetErrorOk() (*SyncHDWalletXPubYPubZPubE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40146) SetError(v GetWalletTransactionDetailsByTransactionIDE401)` +`func (o *InlineResponse40146) SetError(v SyncHDWalletXPubYPubZPubE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40147.md b/docs/InlineResponse40147.md index ae07864..e252175 100644 --- a/docs/InlineResponse40147.md +++ b/docs/InlineResponse40147.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetHDWalletXPubYPubZPubDetailsE401**](GetHDWalletXPubYPubZPubDetailsE401.md) | | +**Error** | [**ListOmniTransactionsByBlockHashE401**](ListOmniTransactionsByBlockHashE401.md) | | ## Methods ### NewInlineResponse40147 -`func NewInlineResponse40147(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE401, ) *InlineResponse40147` +`func NewInlineResponse40147(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE401, ) *InlineResponse40147` NewInlineResponse40147 instantiates a new InlineResponse40147 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40147) GetError() GetHDWalletXPubYPubZPubDetailsE401` +`func (o *InlineResponse40147) GetError() ListOmniTransactionsByBlockHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40147) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE401, bool)` +`func (o *InlineResponse40147) GetErrorOk() (*ListOmniTransactionsByBlockHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40147) SetError(v GetHDWalletXPubYPubZPubDetailsE401)` +`func (o *InlineResponse40147) SetError(v ListOmniTransactionsByBlockHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40148.md b/docs/InlineResponse40148.md index 7b01403..4b7ec65 100644 --- a/docs/InlineResponse40148.md +++ b/docs/InlineResponse40148.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListInternalTransactionDetailsByTransactionHashE401**](ListInternalTransactionDetailsByTransactionHashE401.md) | | +**Error** | [**ListWalletTransactionsE401**](ListWalletTransactionsE401.md) | | ## Methods ### NewInlineResponse40148 -`func NewInlineResponse40148(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE401, ) *InlineResponse40148` +`func NewInlineResponse40148(apiVersion string, requestId string, error_ ListWalletTransactionsE401, ) *InlineResponse40148` NewInlineResponse40148 instantiates a new InlineResponse40148 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40148) GetError() ListInternalTransactionDetailsByTransactionHashE401` +`func (o *InlineResponse40148) GetError() ListWalletTransactionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40148) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE401, bool)` +`func (o *InlineResponse40148) GetErrorOk() (*ListWalletTransactionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40148) SetError(v ListInternalTransactionDetailsByTransactionHashE401)` +`func (o *InlineResponse40148) SetError(v ListWalletTransactionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40149.md b/docs/InlineResponse40149.md index c914389..cceceb7 100644 --- a/docs/InlineResponse40149.md +++ b/docs/InlineResponse40149.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListHDWalletXPubYPubZPubTransactionsE401**](ListHDWalletXPubYPubZPubTransactionsE401.md) | | +**Error** | [**GetWalletTransactionDetailsByTransactionIDE401**](GetWalletTransactionDetailsByTransactionIDE401.md) | | ## Methods ### NewInlineResponse40149 -`func NewInlineResponse40149(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE401, ) *InlineResponse40149` +`func NewInlineResponse40149(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE401, ) *InlineResponse40149` NewInlineResponse40149 instantiates a new InlineResponse40149 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40149) GetError() ListHDWalletXPubYPubZPubTransactionsE401` +`func (o *InlineResponse40149) GetError() GetWalletTransactionDetailsByTransactionIDE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40149) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE401, bool)` +`func (o *InlineResponse40149) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40149) SetError(v ListHDWalletXPubYPubZPubTransactionsE401)` +`func (o *InlineResponse40149) SetError(v GetWalletTransactionDetailsByTransactionIDE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40150.md b/docs/InlineResponse40150.md index fefa702..a3ce348 100644 --- a/docs/InlineResponse40150.md +++ b/docs/InlineResponse40150.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetInternalTransactionByTransactionHashAndOperationIdE401**](GetInternalTransactionByTransactionHashAndOperationIdE401.md) | | +**Error** | [**GetHDWalletXPubYPubZPubAssetsE401**](GetHDWalletXPubYPubZPubAssetsE401.md) | | ## Methods ### NewInlineResponse40150 -`func NewInlineResponse40150(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE401, ) *InlineResponse40150` +`func NewInlineResponse40150(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubAssetsE401, ) *InlineResponse40150` NewInlineResponse40150 instantiates a new InlineResponse40150 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40150) GetError() GetInternalTransactionByTransactionHashAndOperationIdE401` +`func (o *InlineResponse40150) GetError() GetHDWalletXPubYPubZPubAssetsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40150) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE401, bool)` +`func (o *InlineResponse40150) GetErrorOk() (*GetHDWalletXPubYPubZPubAssetsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40150) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE401)` +`func (o *InlineResponse40150) SetError(v GetHDWalletXPubYPubZPubAssetsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40151.md b/docs/InlineResponse40151.md index 015bc25..6b6c503 100644 --- a/docs/InlineResponse40151.md +++ b/docs/InlineResponse40151.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListInternalTransactionsByAddressE401**](ListInternalTransactionsByAddressE401.md) | | +**Error** | [**GetHDWalletXPubYPubZPubDetailsE401**](GetHDWalletXPubYPubZPubDetailsE401.md) | | ## Methods ### NewInlineResponse40151 -`func NewInlineResponse40151(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE401, ) *InlineResponse40151` +`func NewInlineResponse40151(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE401, ) *InlineResponse40151` NewInlineResponse40151 instantiates a new InlineResponse40151 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40151) GetError() ListInternalTransactionsByAddressE401` +`func (o *InlineResponse40151) GetError() GetHDWalletXPubYPubZPubDetailsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40151) GetErrorOk() (*ListInternalTransactionsByAddressE401, bool)` +`func (o *InlineResponse40151) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40151) SetError(v ListInternalTransactionsByAddressE401)` +`func (o *InlineResponse40151) SetError(v GetHDWalletXPubYPubZPubDetailsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40152.md b/docs/InlineResponse40152.md index a08dc36..d1a97d8 100644 --- a/docs/InlineResponse40152.md +++ b/docs/InlineResponse40152.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListUnspentTransactionOutputsByAddressE401**](ListUnspentTransactionOutputsByAddressE401.md) | | +**Error** | [**ListInternalTransactionDetailsByTransactionHashE401**](ListInternalTransactionDetailsByTransactionHashE401.md) | | ## Methods ### NewInlineResponse40152 -`func NewInlineResponse40152(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE401, ) *InlineResponse40152` +`func NewInlineResponse40152(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE401, ) *InlineResponse40152` NewInlineResponse40152 instantiates a new InlineResponse40152 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40152) GetError() ListUnspentTransactionOutputsByAddressE401` +`func (o *InlineResponse40152) GetError() ListInternalTransactionDetailsByTransactionHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40152) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE401, bool)` +`func (o *InlineResponse40152) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40152) SetError(v ListUnspentTransactionOutputsByAddressE401)` +`func (o *InlineResponse40152) SetError(v ListInternalTransactionDetailsByTransactionHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40153.md b/docs/InlineResponse40153.md index d169795..0795e4c 100644 --- a/docs/InlineResponse40153.md +++ b/docs/InlineResponse40153.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetFeeRecommendationsE401**](GetFeeRecommendationsE401.md) | | +**Error** | [**ListHDWalletXPubYPubZPubTransactionsE401**](ListHDWalletXPubYPubZPubTransactionsE401.md) | | ## Methods ### NewInlineResponse40153 -`func NewInlineResponse40153(apiVersion string, requestId string, error_ GetFeeRecommendationsE401, ) *InlineResponse40153` +`func NewInlineResponse40153(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE401, ) *InlineResponse40153` NewInlineResponse40153 instantiates a new InlineResponse40153 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40153) GetError() GetFeeRecommendationsE401` +`func (o *InlineResponse40153) GetError() ListHDWalletXPubYPubZPubTransactionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40153) GetErrorOk() (*GetFeeRecommendationsE401, bool)` +`func (o *InlineResponse40153) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40153) SetError(v GetFeeRecommendationsE401)` +`func (o *InlineResponse40153) SetError(v ListHDWalletXPubYPubZPubTransactionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40154.md b/docs/InlineResponse40154.md index 365c539..087e787 100644 --- a/docs/InlineResponse40154.md +++ b/docs/InlineResponse40154.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensTransfersByTransactionHashE401**](ListTokensTransfersByTransactionHashE401.md) | | +**Error** | [**GetInternalTransactionByTransactionHashAndOperationIdE401**](GetInternalTransactionByTransactionHashAndOperationIdE401.md) | | ## Methods ### NewInlineResponse40154 -`func NewInlineResponse40154(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE401, ) *InlineResponse40154` +`func NewInlineResponse40154(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE401, ) *InlineResponse40154` NewInlineResponse40154 instantiates a new InlineResponse40154 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40154) GetError() ListTokensTransfersByTransactionHashE401` +`func (o *InlineResponse40154) GetError() GetInternalTransactionByTransactionHashAndOperationIdE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40154) GetErrorOk() (*ListTokensTransfersByTransactionHashE401, bool)` +`func (o *InlineResponse40154) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40154) SetError(v ListTokensTransfersByTransactionHashE401)` +`func (o *InlineResponse40154) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40155.md b/docs/InlineResponse40155.md index 1ec7d94..6686cf7 100644 --- a/docs/InlineResponse40155.md +++ b/docs/InlineResponse40155.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListConfirmedTokensTransfersByAddressE401**](ListConfirmedTokensTransfersByAddressE401.md) | | +**Error** | [**ListHDWalletXPubYPubZPubUTXOsE401**](ListHDWalletXPubYPubZPubUTXOsE401.md) | | ## Methods ### NewInlineResponse40155 -`func NewInlineResponse40155(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE401, ) *InlineResponse40155` +`func NewInlineResponse40155(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubUTXOsE401, ) *InlineResponse40155` NewInlineResponse40155 instantiates a new InlineResponse40155 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40155) GetError() ListConfirmedTokensTransfersByAddressE401` +`func (o *InlineResponse40155) GetError() ListHDWalletXPubYPubZPubUTXOsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40155) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE401, bool)` +`func (o *InlineResponse40155) GetErrorOk() (*ListHDWalletXPubYPubZPubUTXOsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40155) SetError(v ListConfirmedTokensTransfersByAddressE401)` +`func (o *InlineResponse40155) SetError(v ListHDWalletXPubYPubZPubUTXOsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40156.md b/docs/InlineResponse40156.md index fb0ef01..9a5b1e0 100644 --- a/docs/InlineResponse40156.md +++ b/docs/InlineResponse40156.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensByAddressE401**](ListTokensByAddressE401.md) | | +**Error** | [**ListInternalTransactionsByAddressE401**](ListInternalTransactionsByAddressE401.md) | | ## Methods ### NewInlineResponse40156 -`func NewInlineResponse40156(apiVersion string, requestId string, error_ ListTokensByAddressE401, ) *InlineResponse40156` +`func NewInlineResponse40156(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE401, ) *InlineResponse40156` NewInlineResponse40156 instantiates a new InlineResponse40156 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40156) GetError() ListTokensByAddressE401` +`func (o *InlineResponse40156) GetError() ListInternalTransactionsByAddressE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40156) GetErrorOk() (*ListTokensByAddressE401, bool)` +`func (o *InlineResponse40156) GetErrorOk() (*ListInternalTransactionsByAddressE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40156) SetError(v ListTokensByAddressE401)` +`func (o *InlineResponse40156) SetError(v ListInternalTransactionsByAddressE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40157.md b/docs/InlineResponse40157.md index eed5406..d30e8e4 100644 --- a/docs/InlineResponse40157.md +++ b/docs/InlineResponse40157.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTokenDetailsByContractAddressE401**](GetTokenDetailsByContractAddressE401.md) | | +**Error** | [**GetFeeRecommendationsE401**](GetFeeRecommendationsE401.md) | | ## Methods ### NewInlineResponse40157 -`func NewInlineResponse40157(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE401, ) *InlineResponse40157` +`func NewInlineResponse40157(apiVersion string, requestId string, error_ GetFeeRecommendationsE401, ) *InlineResponse40157` NewInlineResponse40157 instantiates a new InlineResponse40157 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40157) GetError() GetTokenDetailsByContractAddressE401` +`func (o *InlineResponse40157) GetError() GetFeeRecommendationsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40157) GetErrorOk() (*GetTokenDetailsByContractAddressE401, bool)` +`func (o *InlineResponse40157) GetErrorOk() (*GetFeeRecommendationsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40157) SetError(v GetTokenDetailsByContractAddressE401)` +`func (o *InlineResponse40157) SetError(v GetFeeRecommendationsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40158.md b/docs/InlineResponse40158.md index 180242b..3f9f9e1 100644 --- a/docs/InlineResponse40158.md +++ b/docs/InlineResponse40158.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewUnconfirmedCoinsTransactionsE401**](NewUnconfirmedCoinsTransactionsE401.md) | | +**Error** | [**GetNextAvailableNonceE401**](GetNextAvailableNonceE401.md) | | ## Methods ### NewInlineResponse40158 -`func NewInlineResponse40158(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE401, ) *InlineResponse40158` +`func NewInlineResponse40158(apiVersion string, requestId string, error_ GetNextAvailableNonceE401, ) *InlineResponse40158` NewInlineResponse40158 instantiates a new InlineResponse40158 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40158) GetError() NewUnconfirmedCoinsTransactionsE401` +`func (o *InlineResponse40158) GetError() GetNextAvailableNonceE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40158) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE401, bool)` +`func (o *InlineResponse40158) GetErrorOk() (*GetNextAvailableNonceE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40158) SetError(v NewUnconfirmedCoinsTransactionsE401)` +`func (o *InlineResponse40158) SetError(v GetNextAvailableNonceE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40159.md b/docs/InlineResponse40159.md index 5c51750..8191609 100644 --- a/docs/InlineResponse40159.md +++ b/docs/InlineResponse40159.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewUnconfirmedTokensTransactionsE401**](NewUnconfirmedTokensTransactionsE401.md) | | +**Error** | [**ListUnspentTransactionOutputsByAddressE401**](ListUnspentTransactionOutputsByAddressE401.md) | | ## Methods ### NewInlineResponse40159 -`func NewInlineResponse40159(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE401, ) *InlineResponse40159` +`func NewInlineResponse40159(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE401, ) *InlineResponse40159` NewInlineResponse40159 instantiates a new InlineResponse40159 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40159) GetError() NewUnconfirmedTokensTransactionsE401` +`func (o *InlineResponse40159) GetError() ListUnspentTransactionOutputsByAddressE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40159) GetErrorOk() (*NewUnconfirmedTokensTransactionsE401, bool)` +`func (o *InlineResponse40159) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40159) SetError(v NewUnconfirmedTokensTransactionsE401)` +`func (o *InlineResponse40159) SetError(v ListUnspentTransactionOutputsByAddressE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40160.md b/docs/InlineResponse40160.md index 5820913..d443272 100644 --- a/docs/InlineResponse40160.md +++ b/docs/InlineResponse40160.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedCoinsTransactionsE401**](NewConfirmedCoinsTransactionsE401.md) | | +**Error** | [**ListTokensTransfersByTransactionHashE401**](ListTokensTransfersByTransactionHashE401.md) | | ## Methods ### NewInlineResponse40160 -`func NewInlineResponse40160(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE401, ) *InlineResponse40160` +`func NewInlineResponse40160(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE401, ) *InlineResponse40160` NewInlineResponse40160 instantiates a new InlineResponse40160 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40160) GetError() NewConfirmedCoinsTransactionsE401` +`func (o *InlineResponse40160) GetError() ListTokensTransfersByTransactionHashE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40160) GetErrorOk() (*NewConfirmedCoinsTransactionsE401, bool)` +`func (o *InlineResponse40160) GetErrorOk() (*ListTokensTransfersByTransactionHashE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40160) SetError(v NewConfirmedCoinsTransactionsE401)` +`func (o *InlineResponse40160) SetError(v ListTokensTransfersByTransactionHashE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40161.md b/docs/InlineResponse40161.md index 8d7ef02..3fca6a7 100644 --- a/docs/InlineResponse40161.md +++ b/docs/InlineResponse40161.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedTokensTransactionsE401**](NewConfirmedTokensTransactionsE401.md) | | +**Error** | [**ListConfirmedTransactionsByAddressAndTimeRangeE401**](ListConfirmedTransactionsByAddressAndTimeRangeE401.md) | | ## Methods ### NewInlineResponse40161 -`func NewInlineResponse40161(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE401, ) *InlineResponse40161` +`func NewInlineResponse40161(apiVersion string, requestId string, error_ ListConfirmedTransactionsByAddressAndTimeRangeE401, ) *InlineResponse40161` NewInlineResponse40161 instantiates a new InlineResponse40161 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40161) GetError() NewConfirmedTokensTransactionsE401` +`func (o *InlineResponse40161) GetError() ListConfirmedTransactionsByAddressAndTimeRangeE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40161) GetErrorOk() (*NewConfirmedTokensTransactionsE401, bool)` +`func (o *InlineResponse40161) GetErrorOk() (*ListConfirmedTransactionsByAddressAndTimeRangeE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40161) SetError(v NewConfirmedTokensTransactionsE401)` +`func (o *InlineResponse40161) SetError(v ListConfirmedTransactionsByAddressAndTimeRangeE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40162.md b/docs/InlineResponse40162.md index 6943a06..bd8f2e6 100644 --- a/docs/InlineResponse40162.md +++ b/docs/InlineResponse40162.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedTokensTransactionsAndEachConfirmationE401**](NewConfirmedTokensTransactionsAndEachConfirmationE401.md) | | +**Error** | [**ListConfirmedTokensTransfersByAddressAndTimeRangeE401**](ListConfirmedTokensTransfersByAddressAndTimeRangeE401.md) | | ## Methods ### NewInlineResponse40162 -`func NewInlineResponse40162(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE401, ) *InlineResponse40162` +`func NewInlineResponse40162(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressAndTimeRangeE401, ) *InlineResponse40162` NewInlineResponse40162 instantiates a new InlineResponse40162 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40162) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE401` +`func (o *InlineResponse40162) GetError() ListConfirmedTokensTransfersByAddressAndTimeRangeE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40162) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE401, bool)` +`func (o *InlineResponse40162) GetErrorOk() (*ListConfirmedTokensTransfersByAddressAndTimeRangeE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40162) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE401)` +`func (o *InlineResponse40162) SetError(v ListConfirmedTokensTransfersByAddressAndTimeRangeE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40163.md b/docs/InlineResponse40163.md index 227fbd1..80a40fd 100644 --- a/docs/InlineResponse40163.md +++ b/docs/InlineResponse40163.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedCoinsTransactionsAndEachConfirmationE401**](NewConfirmedCoinsTransactionsAndEachConfirmationE401.md) | | +**Error** | [**ListInternalTransactionsByAddressAndTimeRangeE401**](ListInternalTransactionsByAddressAndTimeRangeE401.md) | | ## Methods ### NewInlineResponse40163 -`func NewInlineResponse40163(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE401, ) *InlineResponse40163` +`func NewInlineResponse40163(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressAndTimeRangeE401, ) *InlineResponse40163` NewInlineResponse40163 instantiates a new InlineResponse40163 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40163) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE401` +`func (o *InlineResponse40163) GetError() ListInternalTransactionsByAddressAndTimeRangeE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40163) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE401, bool)` +`func (o *InlineResponse40163) GetErrorOk() (*ListInternalTransactionsByAddressAndTimeRangeE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40163) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE401)` +`func (o *InlineResponse40163) SetError(v ListInternalTransactionsByAddressAndTimeRangeE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40164.md b/docs/InlineResponse40164.md index 2039da2..9efb87f 100644 --- a/docs/InlineResponse40164.md +++ b/docs/InlineResponse40164.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**MinedTransactionE401**](MinedTransactionE401.md) | | +**Error** | [**ListConfirmedTokensTransfersByAddressE401**](ListConfirmedTokensTransfersByAddressE401.md) | | ## Methods ### NewInlineResponse40164 -`func NewInlineResponse40164(apiVersion string, requestId string, error_ MinedTransactionE401, ) *InlineResponse40164` +`func NewInlineResponse40164(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE401, ) *InlineResponse40164` NewInlineResponse40164 instantiates a new InlineResponse40164 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40164) GetError() MinedTransactionE401` +`func (o *InlineResponse40164) GetError() ListConfirmedTokensTransfersByAddressE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40164) GetErrorOk() (*MinedTransactionE401, bool)` +`func (o *InlineResponse40164) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40164) SetError(v MinedTransactionE401)` +`func (o *InlineResponse40164) SetError(v ListConfirmedTokensTransfersByAddressE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40165.md b/docs/InlineResponse40165.md index 8a7a75d..ebea4c9 100644 --- a/docs/InlineResponse40165.md +++ b/docs/InlineResponse40165.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewBlockE401**](NewBlockE401.md) | | +**Error** | [**GetRawTransactionDataE401**](GetRawTransactionDataE401.md) | | ## Methods ### NewInlineResponse40165 -`func NewInlineResponse40165(apiVersion string, requestId string, error_ NewBlockE401, ) *InlineResponse40165` +`func NewInlineResponse40165(apiVersion string, requestId string, error_ GetRawTransactionDataE401, ) *InlineResponse40165` NewInlineResponse40165 instantiates a new InlineResponse40165 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40165) GetError() NewBlockE401` +`func (o *InlineResponse40165) GetError() GetRawTransactionDataE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40165) GetErrorOk() (*NewBlockE401, bool)` +`func (o *InlineResponse40165) GetErrorOk() (*GetRawTransactionDataE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40165) SetError(v NewBlockE401)` +`func (o *InlineResponse40165) SetError(v GetRawTransactionDataE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40166.md b/docs/InlineResponse40166.md index 665b62c..e18f3b5 100644 --- a/docs/InlineResponse40166.md +++ b/docs/InlineResponse40166.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListBlockchainEventsSubscriptionsE401**](ListBlockchainEventsSubscriptionsE401.md) | | +**Error** | [**ListUnconfirmedTokensTransfersByAddressE401**](ListUnconfirmedTokensTransfersByAddressE401.md) | | ## Methods ### NewInlineResponse40166 -`func NewInlineResponse40166(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE401, ) *InlineResponse40166` +`func NewInlineResponse40166(apiVersion string, requestId string, error_ ListUnconfirmedTokensTransfersByAddressE401, ) *InlineResponse40166` NewInlineResponse40166 instantiates a new InlineResponse40166 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40166) GetError() ListBlockchainEventsSubscriptionsE401` +`func (o *InlineResponse40166) GetError() ListUnconfirmedTokensTransfersByAddressE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40166) GetErrorOk() (*ListBlockchainEventsSubscriptionsE401, bool)` +`func (o *InlineResponse40166) GetErrorOk() (*ListUnconfirmedTokensTransfersByAddressE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40166) SetError(v ListBlockchainEventsSubscriptionsE401)` +`func (o *InlineResponse40166) SetError(v ListUnconfirmedTokensTransfersByAddressE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40167.md b/docs/InlineResponse40167.md index 9f4f0e0..7a4a9f6 100644 --- a/docs/InlineResponse40167.md +++ b/docs/InlineResponse40167.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ActivateBlockchainEventSubscriptionE401**](ActivateBlockchainEventSubscriptionE401.md) | | +**Error** | [**ListTokensByAddressE401**](ListTokensByAddressE401.md) | | ## Methods ### NewInlineResponse40167 -`func NewInlineResponse40167(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE401, ) *InlineResponse40167` +`func NewInlineResponse40167(apiVersion string, requestId string, error_ ListTokensByAddressE401, ) *InlineResponse40167` NewInlineResponse40167 instantiates a new InlineResponse40167 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40167) GetError() ActivateBlockchainEventSubscriptionE401` +`func (o *InlineResponse40167) GetError() ListTokensByAddressE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40167) GetErrorOk() (*ActivateBlockchainEventSubscriptionE401, bool)` +`func (o *InlineResponse40167) GetErrorOk() (*ListTokensByAddressE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40167) SetError(v ActivateBlockchainEventSubscriptionE401)` +`func (o *InlineResponse40167) SetError(v ListTokensByAddressE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40168.md b/docs/InlineResponse40168.md index cb54d27..b6befe5 100644 --- a/docs/InlineResponse40168.md +++ b/docs/InlineResponse40168.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteBlockchainEventSubscriptionE401**](DeleteBlockchainEventSubscriptionE401.md) | | +**Error** | [**EstimateTransactionSmartFeeE401**](EstimateTransactionSmartFeeE401.md) | | ## Methods ### NewInlineResponse40168 -`func NewInlineResponse40168(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE401, ) *InlineResponse40168` +`func NewInlineResponse40168(apiVersion string, requestId string, error_ EstimateTransactionSmartFeeE401, ) *InlineResponse40168` NewInlineResponse40168 instantiates a new InlineResponse40168 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40168) GetError() DeleteBlockchainEventSubscriptionE401` +`func (o *InlineResponse40168) GetError() EstimateTransactionSmartFeeE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40168) GetErrorOk() (*DeleteBlockchainEventSubscriptionE401, bool)` +`func (o *InlineResponse40168) GetErrorOk() (*EstimateTransactionSmartFeeE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40168) SetError(v DeleteBlockchainEventSubscriptionE401)` +`func (o *InlineResponse40168) SetError(v EstimateTransactionSmartFeeE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40169.md b/docs/InlineResponse40169.md index bf1b22a..7b7f53a 100644 --- a/docs/InlineResponse40169.md +++ b/docs/InlineResponse40169.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAddressDetailsFromCallbackE401**](GetAddressDetailsFromCallbackE401.md) | | +**Error** | [**GetTokenDetailsByContractAddressE401**](GetTokenDetailsByContractAddressE401.md) | | ## Methods ### NewInlineResponse40169 -`func NewInlineResponse40169(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE401, ) *InlineResponse40169` +`func NewInlineResponse40169(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE401, ) *InlineResponse40169` NewInlineResponse40169 instantiates a new InlineResponse40169 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40169) GetError() GetAddressDetailsFromCallbackE401` +`func (o *InlineResponse40169) GetError() GetTokenDetailsByContractAddressE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40169) GetErrorOk() (*GetAddressDetailsFromCallbackE401, bool)` +`func (o *InlineResponse40169) GetErrorOk() (*GetTokenDetailsByContractAddressE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40169) SetError(v GetAddressDetailsFromCallbackE401)` +`func (o *InlineResponse40169) SetError(v GetTokenDetailsByContractAddressE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40170.md b/docs/InlineResponse40170.md index c0fea57..2748256 100644 --- a/docs/InlineResponse40170.md +++ b/docs/InlineResponse40170.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTransactionDetailsByTransactionIDFromCallbackE401**](GetTransactionDetailsByTransactionIDFromCallbackE401.md) | | +**Error** | [**DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401**](DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401.md) | | ## Methods ### NewInlineResponse40170 -`func NewInlineResponse40170(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE401, ) *InlineResponse40170` +`func NewInlineResponse40170(apiVersion string, requestId string, error_ DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401, ) *InlineResponse40170` NewInlineResponse40170 instantiates a new InlineResponse40170 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40170) GetError() GetTransactionDetailsByTransactionIDFromCallbackE401` +`func (o *InlineResponse40170) GetError() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40170) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE401, bool)` +`func (o *InlineResponse40170) GetErrorOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40170) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE401)` +`func (o *InlineResponse40170) SetError(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40171.md b/docs/InlineResponse40171.md index ad28b34..d10923c 100644 --- a/docs/InlineResponse40171.md +++ b/docs/InlineResponse40171.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHashFromCallbackE401**](GetBlockDetailsByBlockHashFromCallbackE401.md) | | +**Error** | [**NewUnconfirmedCoinsTransactionsE401**](NewUnconfirmedCoinsTransactionsE401.md) | | ## Methods ### NewInlineResponse40171 -`func NewInlineResponse40171(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE401, ) *InlineResponse40171` +`func NewInlineResponse40171(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE401, ) *InlineResponse40171` NewInlineResponse40171 instantiates a new InlineResponse40171 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40171) GetError() GetBlockDetailsByBlockHashFromCallbackE401` +`func (o *InlineResponse40171) GetError() NewUnconfirmedCoinsTransactionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40171) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE401, bool)` +`func (o *InlineResponse40171) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40171) SetError(v GetBlockDetailsByBlockHashFromCallbackE401)` +`func (o *InlineResponse40171) SetError(v NewUnconfirmedCoinsTransactionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40172.md b/docs/InlineResponse40172.md index 078e108..8d9bec3 100644 --- a/docs/InlineResponse40172.md +++ b/docs/InlineResponse40172.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHeightFromCallbackE401**](GetBlockDetailsByBlockHeightFromCallbackE401.md) | | +**Error** | [**NewUnconfirmedTokensTransactionsE401**](NewUnconfirmedTokensTransactionsE401.md) | | ## Methods ### NewInlineResponse40172 -`func NewInlineResponse40172(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE401, ) *InlineResponse40172` +`func NewInlineResponse40172(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE401, ) *InlineResponse40172` NewInlineResponse40172 instantiates a new InlineResponse40172 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40172) GetError() GetBlockDetailsByBlockHeightFromCallbackE401` +`func (o *InlineResponse40172) GetError() NewUnconfirmedTokensTransactionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40172) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE401, bool)` +`func (o *InlineResponse40172) GetErrorOk() (*NewUnconfirmedTokensTransactionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40172) SetError(v GetBlockDetailsByBlockHeightFromCallbackE401)` +`func (o *InlineResponse40172) SetError(v NewUnconfirmedTokensTransactionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40173.md b/docs/InlineResponse40173.md index a2fff51..314e798 100644 --- a/docs/InlineResponse40173.md +++ b/docs/InlineResponse40173.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedInternalTransactionsE401**](NewConfirmedInternalTransactionsE401.md) | | +**Error** | [**NewConfirmedCoinsTransactionsE401**](NewConfirmedCoinsTransactionsE401.md) | | ## Methods ### NewInlineResponse40173 -`func NewInlineResponse40173(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE401, ) *InlineResponse40173` +`func NewInlineResponse40173(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE401, ) *InlineResponse40173` NewInlineResponse40173 instantiates a new InlineResponse40173 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40173) GetError() NewConfirmedInternalTransactionsE401` +`func (o *InlineResponse40173) GetError() NewConfirmedCoinsTransactionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40173) GetErrorOk() (*NewConfirmedInternalTransactionsE401, bool)` +`func (o *InlineResponse40173) GetErrorOk() (*NewConfirmedCoinsTransactionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40173) SetError(v NewConfirmedInternalTransactionsE401)` +`func (o *InlineResponse40173) SetError(v NewConfirmedCoinsTransactionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40174.md b/docs/InlineResponse40174.md index c726978..11aa2cc 100644 --- a/docs/InlineResponse40174.md +++ b/docs/InlineResponse40174.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedInternalTransactionsAndEachConfirmationE401**](NewConfirmedInternalTransactionsAndEachConfirmationE401.md) | | +**Error** | [**NewConfirmedTokensTransactionsE401**](NewConfirmedTokensTransactionsE401.md) | | ## Methods ### NewInlineResponse40174 -`func NewInlineResponse40174(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE401, ) *InlineResponse40174` +`func NewInlineResponse40174(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE401, ) *InlineResponse40174` NewInlineResponse40174 instantiates a new InlineResponse40174 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40174) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE401` +`func (o *InlineResponse40174) GetError() NewConfirmedTokensTransactionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40174) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE401, bool)` +`func (o *InlineResponse40174) GetErrorOk() (*NewConfirmedTokensTransactionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40174) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE401)` +`func (o *InlineResponse40174) SetError(v NewConfirmedTokensTransactionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40175.md b/docs/InlineResponse40175.md index 3f32ccc..4d475e6 100644 --- a/docs/InlineResponse40175.md +++ b/docs/InlineResponse40175.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListCoinsForwardingAutomationsE401**](ListCoinsForwardingAutomationsE401.md) | | +**Error** | [**NewConfirmedTokensTransactionsAndEachConfirmationE401**](NewConfirmedTokensTransactionsAndEachConfirmationE401.md) | | ## Methods ### NewInlineResponse40175 -`func NewInlineResponse40175(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE401, ) *InlineResponse40175` +`func NewInlineResponse40175(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE401, ) *InlineResponse40175` NewInlineResponse40175 instantiates a new InlineResponse40175 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40175) GetError() ListCoinsForwardingAutomationsE401` +`func (o *InlineResponse40175) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40175) GetErrorOk() (*ListCoinsForwardingAutomationsE401, bool)` +`func (o *InlineResponse40175) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40175) SetError(v ListCoinsForwardingAutomationsE401)` +`func (o *InlineResponse40175) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40176.md b/docs/InlineResponse40176.md index a14a0e9..f5258f2 100644 --- a/docs/InlineResponse40176.md +++ b/docs/InlineResponse40176.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateAutomaticCoinsForwardingE401**](CreateAutomaticCoinsForwardingE401.md) | | +**Error** | [**NewConfirmedCoinsTransactionsAndEachConfirmationE401**](NewConfirmedCoinsTransactionsAndEachConfirmationE401.md) | | ## Methods ### NewInlineResponse40176 -`func NewInlineResponse40176(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE401, ) *InlineResponse40176` +`func NewInlineResponse40176(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE401, ) *InlineResponse40176` NewInlineResponse40176 instantiates a new InlineResponse40176 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40176) GetError() CreateAutomaticCoinsForwardingE401` +`func (o *InlineResponse40176) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40176) GetErrorOk() (*CreateAutomaticCoinsForwardingE401, bool)` +`func (o *InlineResponse40176) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40176) SetError(v CreateAutomaticCoinsForwardingE401)` +`func (o *InlineResponse40176) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40177.md b/docs/InlineResponse40177.md index 647898c..d9bc2fa 100644 --- a/docs/InlineResponse40177.md +++ b/docs/InlineResponse40177.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteAutomaticCoinsForwardingE401**](DeleteAutomaticCoinsForwardingE401.md) | | +**Error** | [**MinedTransactionE401**](MinedTransactionE401.md) | | ## Methods ### NewInlineResponse40177 -`func NewInlineResponse40177(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE401, ) *InlineResponse40177` +`func NewInlineResponse40177(apiVersion string, requestId string, error_ MinedTransactionE401, ) *InlineResponse40177` NewInlineResponse40177 instantiates a new InlineResponse40177 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40177) GetError() DeleteAutomaticCoinsForwardingE401` +`func (o *InlineResponse40177) GetError() MinedTransactionE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40177) GetErrorOk() (*DeleteAutomaticCoinsForwardingE401, bool)` +`func (o *InlineResponse40177) GetErrorOk() (*MinedTransactionE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40177) SetError(v DeleteAutomaticCoinsForwardingE401)` +`func (o *InlineResponse40177) SetError(v MinedTransactionE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40178.md b/docs/InlineResponse40178.md index 58779b1..24a3b99 100644 --- a/docs/InlineResponse40178.md +++ b/docs/InlineResponse40178.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensForwardingAutomationsE401**](ListTokensForwardingAutomationsE401.md) | | +**Error** | [**NewBlockE401**](NewBlockE401.md) | | ## Methods ### NewInlineResponse40178 -`func NewInlineResponse40178(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE401, ) *InlineResponse40178` +`func NewInlineResponse40178(apiVersion string, requestId string, error_ NewBlockE401, ) *InlineResponse40178` NewInlineResponse40178 instantiates a new InlineResponse40178 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40178) GetError() ListTokensForwardingAutomationsE401` +`func (o *InlineResponse40178) GetError() NewBlockE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40178) GetErrorOk() (*ListTokensForwardingAutomationsE401, bool)` +`func (o *InlineResponse40178) GetErrorOk() (*NewBlockE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40178) SetError(v ListTokensForwardingAutomationsE401)` +`func (o *InlineResponse40178) SetError(v NewBlockE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40179.md b/docs/InlineResponse40179.md index 27aa959..a998cf8 100644 --- a/docs/InlineResponse40179.md +++ b/docs/InlineResponse40179.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateAutomaticTokensForwardingE401**](CreateAutomaticTokensForwardingE401.md) | | +**Error** | [**ListBlockchainEventsSubscriptionsE401**](ListBlockchainEventsSubscriptionsE401.md) | | ## Methods ### NewInlineResponse40179 -`func NewInlineResponse40179(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE401, ) *InlineResponse40179` +`func NewInlineResponse40179(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE401, ) *InlineResponse40179` NewInlineResponse40179 instantiates a new InlineResponse40179 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40179) GetError() CreateAutomaticTokensForwardingE401` +`func (o *InlineResponse40179) GetError() ListBlockchainEventsSubscriptionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40179) GetErrorOk() (*CreateAutomaticTokensForwardingE401, bool)` +`func (o *InlineResponse40179) GetErrorOk() (*ListBlockchainEventsSubscriptionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40179) SetError(v CreateAutomaticTokensForwardingE401)` +`func (o *InlineResponse40179) SetError(v ListBlockchainEventsSubscriptionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40180.md b/docs/InlineResponse40180.md index 32cdf45..5628af7 100644 --- a/docs/InlineResponse40180.md +++ b/docs/InlineResponse40180.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**AddTokensToExistingFromAddressE401**](AddTokensToExistingFromAddressE401.md) | | +**Error** | [**GetBlockchainEventSubscriptionDetailsByReferenceIDE401**](GetBlockchainEventSubscriptionDetailsByReferenceIDE401.md) | | ## Methods ### NewInlineResponse40180 -`func NewInlineResponse40180(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE401, ) *InlineResponse40180` +`func NewInlineResponse40180(apiVersion string, requestId string, error_ GetBlockchainEventSubscriptionDetailsByReferenceIDE401, ) *InlineResponse40180` NewInlineResponse40180 instantiates a new InlineResponse40180 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40180) GetError() AddTokensToExistingFromAddressE401` +`func (o *InlineResponse40180) GetError() GetBlockchainEventSubscriptionDetailsByReferenceIDE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40180) GetErrorOk() (*AddTokensToExistingFromAddressE401, bool)` +`func (o *InlineResponse40180) GetErrorOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40180) SetError(v AddTokensToExistingFromAddressE401)` +`func (o *InlineResponse40180) SetError(v GetBlockchainEventSubscriptionDetailsByReferenceIDE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40181.md b/docs/InlineResponse40181.md index fd71754..0267f55 100644 --- a/docs/InlineResponse40181.md +++ b/docs/InlineResponse40181.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetFeeAddressDetailsE401**](GetFeeAddressDetailsE401.md) | | +**Error** | [**ActivateBlockchainEventSubscriptionE401**](ActivateBlockchainEventSubscriptionE401.md) | | ## Methods ### NewInlineResponse40181 -`func NewInlineResponse40181(apiVersion string, requestId string, error_ GetFeeAddressDetailsE401, ) *InlineResponse40181` +`func NewInlineResponse40181(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE401, ) *InlineResponse40181` NewInlineResponse40181 instantiates a new InlineResponse40181 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40181) GetError() GetFeeAddressDetailsE401` +`func (o *InlineResponse40181) GetError() ActivateBlockchainEventSubscriptionE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40181) GetErrorOk() (*GetFeeAddressDetailsE401, bool)` +`func (o *InlineResponse40181) GetErrorOk() (*ActivateBlockchainEventSubscriptionE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40181) SetError(v GetFeeAddressDetailsE401)` +`func (o *InlineResponse40181) SetError(v ActivateBlockchainEventSubscriptionE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40182.md b/docs/InlineResponse40182.md index f9078b2..9c1b60d 100644 --- a/docs/InlineResponse40182.md +++ b/docs/InlineResponse40182.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteAutomaticTokensForwardingE401**](DeleteAutomaticTokensForwardingE401.md) | | +**Error** | [**DeleteBlockchainEventSubscriptionE401**](DeleteBlockchainEventSubscriptionE401.md) | | ## Methods ### NewInlineResponse40182 -`func NewInlineResponse40182(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE401, ) *InlineResponse40182` +`func NewInlineResponse40182(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE401, ) *InlineResponse40182` NewInlineResponse40182 instantiates a new InlineResponse40182 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40182) GetError() DeleteAutomaticTokensForwardingE401` +`func (o *InlineResponse40182) GetError() DeleteBlockchainEventSubscriptionE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40182) GetErrorOk() (*DeleteAutomaticTokensForwardingE401, bool)` +`func (o *InlineResponse40182) GetErrorOk() (*DeleteBlockchainEventSubscriptionE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40182) SetError(v DeleteAutomaticTokensForwardingE401)` +`func (o *InlineResponse40182) SetError(v DeleteBlockchainEventSubscriptionE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40183.md b/docs/InlineResponse40183.md index a9d38a6..63c1678 100644 --- a/docs/InlineResponse40183.md +++ b/docs/InlineResponse40183.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ValidateAddressE401**](ValidateAddressE401.md) | | +**Error** | [**GetAddressDetailsFromCallbackE401**](GetAddressDetailsFromCallbackE401.md) | | ## Methods ### NewInlineResponse40183 -`func NewInlineResponse40183(apiVersion string, requestId string, error_ ValidateAddressE401, ) *InlineResponse40183` +`func NewInlineResponse40183(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE401, ) *InlineResponse40183` NewInlineResponse40183 instantiates a new InlineResponse40183 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40183) GetError() ValidateAddressE401` +`func (o *InlineResponse40183) GetError() GetAddressDetailsFromCallbackE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40183) GetErrorOk() (*ValidateAddressE401, bool)` +`func (o *InlineResponse40183) GetErrorOk() (*GetAddressDetailsFromCallbackE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40183) SetError(v ValidateAddressE401)` +`func (o *InlineResponse40183) SetError(v GetAddressDetailsFromCallbackE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40184.md b/docs/InlineResponse40184.md index cefaae4..63b532c 100644 --- a/docs/InlineResponse40184.md +++ b/docs/InlineResponse40184.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetEIP1559FeeRecommendationsE401**](GetEIP1559FeeRecommendationsE401.md) | | +**Error** | [**GetTransactionDetailsByTransactionIDFromCallbackE401**](GetTransactionDetailsByTransactionIDFromCallbackE401.md) | | ## Methods ### NewInlineResponse40184 -`func NewInlineResponse40184(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE401, ) *InlineResponse40184` +`func NewInlineResponse40184(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE401, ) *InlineResponse40184` NewInlineResponse40184 instantiates a new InlineResponse40184 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40184) GetError() GetEIP1559FeeRecommendationsE401` +`func (o *InlineResponse40184) GetError() GetTransactionDetailsByTransactionIDFromCallbackE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40184) GetErrorOk() (*GetEIP1559FeeRecommendationsE401, bool)` +`func (o *InlineResponse40184) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40184) SetError(v GetEIP1559FeeRecommendationsE401)` +`func (o *InlineResponse40184) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40185.md b/docs/InlineResponse40185.md index dcd1157..30f2c4d 100644 --- a/docs/InlineResponse40185.md +++ b/docs/InlineResponse40185.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**BroadcastLocallySignedTransactionE401**](BroadcastLocallySignedTransactionE401.md) | | +**Error** | [**GetBlockDetailsByBlockHashFromCallbackE401**](GetBlockDetailsByBlockHashFromCallbackE401.md) | | ## Methods ### NewInlineResponse40185 -`func NewInlineResponse40185(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE401, ) *InlineResponse40185` +`func NewInlineResponse40185(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE401, ) *InlineResponse40185` NewInlineResponse40185 instantiates a new InlineResponse40185 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40185) GetError() BroadcastLocallySignedTransactionE401` +`func (o *InlineResponse40185) GetError() GetBlockDetailsByBlockHashFromCallbackE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40185) GetErrorOk() (*BroadcastLocallySignedTransactionE401, bool)` +`func (o *InlineResponse40185) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40185) SetError(v BroadcastLocallySignedTransactionE401)` +`func (o *InlineResponse40185) SetError(v GetBlockDetailsByBlockHashFromCallbackE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40186.md b/docs/InlineResponse40186.md index ea9ea5d..8891a5c 100644 --- a/docs/InlineResponse40186.md +++ b/docs/InlineResponse40186.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListSupportedAssetsE401**](ListSupportedAssetsE401.md) | | +**Error** | [**GetBlockDetailsByBlockHeightFromCallbackE401**](GetBlockDetailsByBlockHeightFromCallbackE401.md) | | ## Methods ### NewInlineResponse40186 -`func NewInlineResponse40186(apiVersion string, requestId string, error_ ListSupportedAssetsE401, ) *InlineResponse40186` +`func NewInlineResponse40186(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE401, ) *InlineResponse40186` NewInlineResponse40186 instantiates a new InlineResponse40186 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40186) GetError() ListSupportedAssetsE401` +`func (o *InlineResponse40186) GetError() GetBlockDetailsByBlockHeightFromCallbackE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40186) GetErrorOk() (*ListSupportedAssetsE401, bool)` +`func (o *InlineResponse40186) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40186) SetError(v ListSupportedAssetsE401)` +`func (o *InlineResponse40186) SetError(v GetBlockDetailsByBlockHeightFromCallbackE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40187.md b/docs/InlineResponse40187.md index 394021a..3887c03 100644 --- a/docs/InlineResponse40187.md +++ b/docs/InlineResponse40187.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetExchangeRateByAssetSymbolsE401**](GetExchangeRateByAssetSymbolsE401.md) | | +**Error** | [**NewConfirmedInternalTransactionsE401**](NewConfirmedInternalTransactionsE401.md) | | ## Methods ### NewInlineResponse40187 -`func NewInlineResponse40187(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE401, ) *InlineResponse40187` +`func NewInlineResponse40187(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE401, ) *InlineResponse40187` NewInlineResponse40187 instantiates a new InlineResponse40187 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40187) GetError() GetExchangeRateByAssetSymbolsE401` +`func (o *InlineResponse40187) GetError() NewConfirmedInternalTransactionsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40187) GetErrorOk() (*GetExchangeRateByAssetSymbolsE401, bool)` +`func (o *InlineResponse40187) GetErrorOk() (*NewConfirmedInternalTransactionsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40187) SetError(v GetExchangeRateByAssetSymbolsE401)` +`func (o *InlineResponse40187) SetError(v NewConfirmedInternalTransactionsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40188.md b/docs/InlineResponse40188.md index 5dd4349..78b5e53 100644 --- a/docs/InlineResponse40188.md +++ b/docs/InlineResponse40188.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetExchangeRateByAssetsIDsE401**](GetExchangeRateByAssetsIDsE401.md) | | +**Error** | [**NewConfirmedInternalTransactionsAndEachConfirmationE401**](NewConfirmedInternalTransactionsAndEachConfirmationE401.md) | | ## Methods ### NewInlineResponse40188 -`func NewInlineResponse40188(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE401, ) *InlineResponse40188` +`func NewInlineResponse40188(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE401, ) *InlineResponse40188` NewInlineResponse40188 instantiates a new InlineResponse40188 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40188) GetError() GetExchangeRateByAssetsIDsE401` +`func (o *InlineResponse40188) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40188) GetErrorOk() (*GetExchangeRateByAssetsIDsE401, bool)` +`func (o *InlineResponse40188) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40188) SetError(v GetExchangeRateByAssetsIDsE401)` +`func (o *InlineResponse40188) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40189.md b/docs/InlineResponse40189.md index f86699f..013f738 100644 --- a/docs/InlineResponse40189.md +++ b/docs/InlineResponse40189.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListAssetsDetailsE401**](ListAssetsDetailsE401.md) | | +**Error** | [**ListCoinsForwardingAutomationsE401**](ListCoinsForwardingAutomationsE401.md) | | ## Methods ### NewInlineResponse40189 -`func NewInlineResponse40189(apiVersion string, requestId string, error_ ListAssetsDetailsE401, ) *InlineResponse40189` +`func NewInlineResponse40189(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE401, ) *InlineResponse40189` NewInlineResponse40189 instantiates a new InlineResponse40189 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40189) GetError() ListAssetsDetailsE401` +`func (o *InlineResponse40189) GetError() ListCoinsForwardingAutomationsE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40189) GetErrorOk() (*ListAssetsDetailsE401, bool)` +`func (o *InlineResponse40189) GetErrorOk() (*ListCoinsForwardingAutomationsE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40189) SetError(v ListAssetsDetailsE401)` +`func (o *InlineResponse40189) SetError(v ListCoinsForwardingAutomationsE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40190.md b/docs/InlineResponse40190.md index fd82d07..45d34f0 100644 --- a/docs/InlineResponse40190.md +++ b/docs/InlineResponse40190.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAssetDetailsByAssetIDE401**](GetAssetDetailsByAssetIDE401.md) | | +**Error** | [**CreateAutomaticCoinsForwardingE401**](CreateAutomaticCoinsForwardingE401.md) | | ## Methods ### NewInlineResponse40190 -`func NewInlineResponse40190(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE401, ) *InlineResponse40190` +`func NewInlineResponse40190(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE401, ) *InlineResponse40190` NewInlineResponse40190 instantiates a new InlineResponse40190 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40190) GetError() GetAssetDetailsByAssetIDE401` +`func (o *InlineResponse40190) GetError() CreateAutomaticCoinsForwardingE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40190) GetErrorOk() (*GetAssetDetailsByAssetIDE401, bool)` +`func (o *InlineResponse40190) GetErrorOk() (*CreateAutomaticCoinsForwardingE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40190) SetError(v GetAssetDetailsByAssetIDE401)` +`func (o *InlineResponse40190) SetError(v CreateAutomaticCoinsForwardingE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40191.md b/docs/InlineResponse40191.md index 487acd4..bc55efa 100644 --- a/docs/InlineResponse40191.md +++ b/docs/InlineResponse40191.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAssetDetailsByAssetSymbolE401**](GetAssetDetailsByAssetSymbolE401.md) | | +**Error** | [**DeleteAutomaticCoinsForwardingE401**](DeleteAutomaticCoinsForwardingE401.md) | | ## Methods ### NewInlineResponse40191 -`func NewInlineResponse40191(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE401, ) *InlineResponse40191` +`func NewInlineResponse40191(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE401, ) *InlineResponse40191` NewInlineResponse40191 instantiates a new InlineResponse40191 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40191) GetError() GetAssetDetailsByAssetSymbolE401` +`func (o *InlineResponse40191) GetError() DeleteAutomaticCoinsForwardingE401` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40191) GetErrorOk() (*GetAssetDetailsByAssetSymbolE401, bool)` +`func (o *InlineResponse40191) GetErrorOk() (*DeleteAutomaticCoinsForwardingE401, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40191) SetError(v GetAssetDetailsByAssetSymbolE401)` +`func (o *InlineResponse40191) SetError(v DeleteAutomaticCoinsForwardingE401)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40192.md b/docs/InlineResponse40192.md new file mode 100644 index 0000000..eeb4fa7 --- /dev/null +++ b/docs/InlineResponse40192.md @@ -0,0 +1,119 @@ +# InlineResponse40192 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListTokensForwardingAutomationsE401**](ListTokensForwardingAutomationsE401.md) | | + +## Methods + +### NewInlineResponse40192 + +`func NewInlineResponse40192(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE401, ) *InlineResponse40192` + +NewInlineResponse40192 instantiates a new InlineResponse40192 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40192WithDefaults + +`func NewInlineResponse40192WithDefaults() *InlineResponse40192` + +NewInlineResponse40192WithDefaults instantiates a new InlineResponse40192 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40192) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40192) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40192) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40192) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40192) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40192) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40192) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40192) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40192) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40192) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40192) GetError() ListTokensForwardingAutomationsE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40192) GetErrorOk() (*ListTokensForwardingAutomationsE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40192) SetError(v ListTokensForwardingAutomationsE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40193.md b/docs/InlineResponse40193.md new file mode 100644 index 0000000..e2901e4 --- /dev/null +++ b/docs/InlineResponse40193.md @@ -0,0 +1,119 @@ +# InlineResponse40193 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**CreateAutomaticTokensForwardingE401**](CreateAutomaticTokensForwardingE401.md) | | + +## Methods + +### NewInlineResponse40193 + +`func NewInlineResponse40193(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE401, ) *InlineResponse40193` + +NewInlineResponse40193 instantiates a new InlineResponse40193 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40193WithDefaults + +`func NewInlineResponse40193WithDefaults() *InlineResponse40193` + +NewInlineResponse40193WithDefaults instantiates a new InlineResponse40193 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40193) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40193) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40193) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40193) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40193) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40193) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40193) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40193) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40193) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40193) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40193) GetError() CreateAutomaticTokensForwardingE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40193) GetErrorOk() (*CreateAutomaticTokensForwardingE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40193) SetError(v CreateAutomaticTokensForwardingE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40194.md b/docs/InlineResponse40194.md new file mode 100644 index 0000000..2b9c4a5 --- /dev/null +++ b/docs/InlineResponse40194.md @@ -0,0 +1,119 @@ +# InlineResponse40194 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**AddTokensToExistingFromAddressE401**](AddTokensToExistingFromAddressE401.md) | | + +## Methods + +### NewInlineResponse40194 + +`func NewInlineResponse40194(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE401, ) *InlineResponse40194` + +NewInlineResponse40194 instantiates a new InlineResponse40194 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40194WithDefaults + +`func NewInlineResponse40194WithDefaults() *InlineResponse40194` + +NewInlineResponse40194WithDefaults instantiates a new InlineResponse40194 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40194) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40194) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40194) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40194) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40194) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40194) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40194) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40194) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40194) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40194) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40194) GetError() AddTokensToExistingFromAddressE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40194) GetErrorOk() (*AddTokensToExistingFromAddressE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40194) SetError(v AddTokensToExistingFromAddressE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40195.md b/docs/InlineResponse40195.md new file mode 100644 index 0000000..9cd23bc --- /dev/null +++ b/docs/InlineResponse40195.md @@ -0,0 +1,119 @@ +# InlineResponse40195 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetFeeAddressDetailsE401**](GetFeeAddressDetailsE401.md) | | + +## Methods + +### NewInlineResponse40195 + +`func NewInlineResponse40195(apiVersion string, requestId string, error_ GetFeeAddressDetailsE401, ) *InlineResponse40195` + +NewInlineResponse40195 instantiates a new InlineResponse40195 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40195WithDefaults + +`func NewInlineResponse40195WithDefaults() *InlineResponse40195` + +NewInlineResponse40195WithDefaults instantiates a new InlineResponse40195 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40195) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40195) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40195) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40195) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40195) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40195) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40195) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40195) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40195) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40195) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40195) GetError() GetFeeAddressDetailsE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40195) GetErrorOk() (*GetFeeAddressDetailsE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40195) SetError(v GetFeeAddressDetailsE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40196.md b/docs/InlineResponse40196.md new file mode 100644 index 0000000..54c66c6 --- /dev/null +++ b/docs/InlineResponse40196.md @@ -0,0 +1,119 @@ +# InlineResponse40196 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DeleteAutomaticTokensForwardingE401**](DeleteAutomaticTokensForwardingE401.md) | | + +## Methods + +### NewInlineResponse40196 + +`func NewInlineResponse40196(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE401, ) *InlineResponse40196` + +NewInlineResponse40196 instantiates a new InlineResponse40196 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40196WithDefaults + +`func NewInlineResponse40196WithDefaults() *InlineResponse40196` + +NewInlineResponse40196WithDefaults instantiates a new InlineResponse40196 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40196) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40196) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40196) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40196) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40196) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40196) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40196) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40196) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40196) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40196) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40196) GetError() DeleteAutomaticTokensForwardingE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40196) GetErrorOk() (*DeleteAutomaticTokensForwardingE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40196) SetError(v DeleteAutomaticTokensForwardingE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40197.md b/docs/InlineResponse40197.md new file mode 100644 index 0000000..3a6c915 --- /dev/null +++ b/docs/InlineResponse40197.md @@ -0,0 +1,119 @@ +# InlineResponse40197 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ValidateAddressE401**](ValidateAddressE401.md) | | + +## Methods + +### NewInlineResponse40197 + +`func NewInlineResponse40197(apiVersion string, requestId string, error_ ValidateAddressE401, ) *InlineResponse40197` + +NewInlineResponse40197 instantiates a new InlineResponse40197 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40197WithDefaults + +`func NewInlineResponse40197WithDefaults() *InlineResponse40197` + +NewInlineResponse40197WithDefaults instantiates a new InlineResponse40197 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40197) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40197) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40197) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40197) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40197) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40197) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40197) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40197) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40197) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40197) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40197) GetError() ValidateAddressE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40197) GetErrorOk() (*ValidateAddressE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40197) SetError(v ValidateAddressE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40198.md b/docs/InlineResponse40198.md new file mode 100644 index 0000000..f7fe953 --- /dev/null +++ b/docs/InlineResponse40198.md @@ -0,0 +1,119 @@ +# InlineResponse40198 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetEIP1559FeeRecommendationsE401**](GetEIP1559FeeRecommendationsE401.md) | | + +## Methods + +### NewInlineResponse40198 + +`func NewInlineResponse40198(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE401, ) *InlineResponse40198` + +NewInlineResponse40198 instantiates a new InlineResponse40198 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40198WithDefaults + +`func NewInlineResponse40198WithDefaults() *InlineResponse40198` + +NewInlineResponse40198WithDefaults instantiates a new InlineResponse40198 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40198) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40198) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40198) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40198) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40198) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40198) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40198) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40198) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40198) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40198) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40198) GetError() GetEIP1559FeeRecommendationsE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40198) GetErrorOk() (*GetEIP1559FeeRecommendationsE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40198) SetError(v GetEIP1559FeeRecommendationsE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40199.md b/docs/InlineResponse40199.md new file mode 100644 index 0000000..f41b322 --- /dev/null +++ b/docs/InlineResponse40199.md @@ -0,0 +1,119 @@ +# InlineResponse40199 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**BroadcastLocallySignedTransactionE401**](BroadcastLocallySignedTransactionE401.md) | | + +## Methods + +### NewInlineResponse40199 + +`func NewInlineResponse40199(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE401, ) *InlineResponse40199` + +NewInlineResponse40199 instantiates a new InlineResponse40199 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40199WithDefaults + +`func NewInlineResponse40199WithDefaults() *InlineResponse40199` + +NewInlineResponse40199WithDefaults instantiates a new InlineResponse40199 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40199) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40199) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40199) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40199) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40199) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40199) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40199) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40199) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40199) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40199) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40199) GetError() BroadcastLocallySignedTransactionE401` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40199) GetErrorOk() (*BroadcastLocallySignedTransactionE401, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40199) SetError(v BroadcastLocallySignedTransactionE401)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403100.md b/docs/InlineResponse403100.md new file mode 100644 index 0000000..e031a34 --- /dev/null +++ b/docs/InlineResponse403100.md @@ -0,0 +1,119 @@ +# InlineResponse403100 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EstimateGasLimitE403**](EstimateGasLimitE403.md) | | + +## Methods + +### NewInlineResponse403100 + +`func NewInlineResponse403100(apiVersion string, requestId string, error_ EstimateGasLimitE403, ) *InlineResponse403100` + +NewInlineResponse403100 instantiates a new InlineResponse403100 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403100WithDefaults + +`func NewInlineResponse403100WithDefaults() *InlineResponse403100` + +NewInlineResponse403100WithDefaults instantiates a new InlineResponse403100 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403100) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403100) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403100) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403100) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403100) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403100) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403100) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403100) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403100) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403100) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403100) GetError() EstimateGasLimitE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403100) GetErrorOk() (*EstimateGasLimitE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403100) SetError(v EstimateGasLimitE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403101.md b/docs/InlineResponse403101.md new file mode 100644 index 0000000..c82b09f --- /dev/null +++ b/docs/InlineResponse403101.md @@ -0,0 +1,119 @@ +# InlineResponse403101 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EstimateTokenGasLimitE403**](EstimateTokenGasLimitE403.md) | | + +## Methods + +### NewInlineResponse403101 + +`func NewInlineResponse403101(apiVersion string, requestId string, error_ EstimateTokenGasLimitE403, ) *InlineResponse403101` + +NewInlineResponse403101 instantiates a new InlineResponse403101 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403101WithDefaults + +`func NewInlineResponse403101WithDefaults() *InlineResponse403101` + +NewInlineResponse403101WithDefaults instantiates a new InlineResponse403101 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403101) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403101) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403101) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403101) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403101) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403101) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403101) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403101) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403101) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403101) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403101) GetError() EstimateTokenGasLimitE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403101) GetErrorOk() (*EstimateTokenGasLimitE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403101) SetError(v EstimateTokenGasLimitE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403102.md b/docs/InlineResponse403102.md new file mode 100644 index 0000000..f3caa7e --- /dev/null +++ b/docs/InlineResponse403102.md @@ -0,0 +1,119 @@ +# InlineResponse403102 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DecodeRawTransactionHexE403**](DecodeRawTransactionHexE403.md) | | + +## Methods + +### NewInlineResponse403102 + +`func NewInlineResponse403102(apiVersion string, requestId string, error_ DecodeRawTransactionHexE403, ) *InlineResponse403102` + +NewInlineResponse403102 instantiates a new InlineResponse403102 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403102WithDefaults + +`func NewInlineResponse403102WithDefaults() *InlineResponse403102` + +NewInlineResponse403102WithDefaults instantiates a new InlineResponse403102 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403102) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403102) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403102) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403102) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403102) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403102) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403102) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403102) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403102) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403102) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403102) GetError() DecodeRawTransactionHexE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403102) GetErrorOk() (*DecodeRawTransactionHexE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403102) SetError(v DecodeRawTransactionHexE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403103.md b/docs/InlineResponse403103.md new file mode 100644 index 0000000..6802471 --- /dev/null +++ b/docs/InlineResponse403103.md @@ -0,0 +1,119 @@ +# InlineResponse403103 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DecodeXAddressE403**](DecodeXAddressE403.md) | | + +## Methods + +### NewInlineResponse403103 + +`func NewInlineResponse403103(apiVersion string, requestId string, error_ DecodeXAddressE403, ) *InlineResponse403103` + +NewInlineResponse403103 instantiates a new InlineResponse403103 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403103WithDefaults + +`func NewInlineResponse403103WithDefaults() *InlineResponse403103` + +NewInlineResponse403103WithDefaults instantiates a new InlineResponse403103 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403103) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403103) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403103) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403103) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403103) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403103) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403103) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403103) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403103) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403103) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403103) GetError() DecodeXAddressE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403103) GetErrorOk() (*DecodeXAddressE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403103) SetError(v DecodeXAddressE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403104.md b/docs/InlineResponse403104.md new file mode 100644 index 0000000..14609e3 --- /dev/null +++ b/docs/InlineResponse403104.md @@ -0,0 +1,119 @@ +# InlineResponse403104 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**EncodeXAddressE403**](EncodeXAddressE403.md) | | + +## Methods + +### NewInlineResponse403104 + +`func NewInlineResponse403104(apiVersion string, requestId string, error_ EncodeXAddressE403, ) *InlineResponse403104` + +NewInlineResponse403104 instantiates a new InlineResponse403104 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403104WithDefaults + +`func NewInlineResponse403104WithDefaults() *InlineResponse403104` + +NewInlineResponse403104WithDefaults instantiates a new InlineResponse403104 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403104) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403104) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403104) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403104) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403104) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403104) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403104) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403104) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403104) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403104) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403104) GetError() EncodeXAddressE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403104) GetErrorOk() (*EncodeXAddressE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403104) SetError(v EncodeXAddressE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403105.md b/docs/InlineResponse403105.md new file mode 100644 index 0000000..2bd8621 --- /dev/null +++ b/docs/InlineResponse403105.md @@ -0,0 +1,119 @@ +# InlineResponse403105 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListSupportedAssetsE403**](ListSupportedAssetsE403.md) | | + +## Methods + +### NewInlineResponse403105 + +`func NewInlineResponse403105(apiVersion string, requestId string, error_ ListSupportedAssetsE403, ) *InlineResponse403105` + +NewInlineResponse403105 instantiates a new InlineResponse403105 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403105WithDefaults + +`func NewInlineResponse403105WithDefaults() *InlineResponse403105` + +NewInlineResponse403105WithDefaults instantiates a new InlineResponse403105 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403105) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403105) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403105) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403105) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403105) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403105) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403105) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403105) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403105) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403105) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403105) GetError() ListSupportedAssetsE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403105) GetErrorOk() (*ListSupportedAssetsE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403105) SetError(v ListSupportedAssetsE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403106.md b/docs/InlineResponse403106.md new file mode 100644 index 0000000..a256940 --- /dev/null +++ b/docs/InlineResponse403106.md @@ -0,0 +1,119 @@ +# InlineResponse403106 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetExchangeRateByAssetSymbolsE403**](GetExchangeRateByAssetSymbolsE403.md) | | + +## Methods + +### NewInlineResponse403106 + +`func NewInlineResponse403106(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE403, ) *InlineResponse403106` + +NewInlineResponse403106 instantiates a new InlineResponse403106 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403106WithDefaults + +`func NewInlineResponse403106WithDefaults() *InlineResponse403106` + +NewInlineResponse403106WithDefaults instantiates a new InlineResponse403106 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403106) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403106) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403106) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403106) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403106) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403106) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403106) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403106) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403106) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403106) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403106) GetError() GetExchangeRateByAssetSymbolsE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403106) GetErrorOk() (*GetExchangeRateByAssetSymbolsE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403106) SetError(v GetExchangeRateByAssetSymbolsE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403107.md b/docs/InlineResponse403107.md new file mode 100644 index 0000000..d8350b5 --- /dev/null +++ b/docs/InlineResponse403107.md @@ -0,0 +1,119 @@ +# InlineResponse403107 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetExchangeRateByAssetsIDsE403**](GetExchangeRateByAssetsIDsE403.md) | | + +## Methods + +### NewInlineResponse403107 + +`func NewInlineResponse403107(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE403, ) *InlineResponse403107` + +NewInlineResponse403107 instantiates a new InlineResponse403107 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403107WithDefaults + +`func NewInlineResponse403107WithDefaults() *InlineResponse403107` + +NewInlineResponse403107WithDefaults instantiates a new InlineResponse403107 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403107) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403107) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403107) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403107) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403107) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403107) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403107) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403107) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403107) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403107) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403107) GetError() GetExchangeRateByAssetsIDsE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403107) GetErrorOk() (*GetExchangeRateByAssetsIDsE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403107) SetError(v GetExchangeRateByAssetsIDsE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403108.md b/docs/InlineResponse403108.md new file mode 100644 index 0000000..176f7a9 --- /dev/null +++ b/docs/InlineResponse403108.md @@ -0,0 +1,119 @@ +# InlineResponse403108 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListAssetsDetailsE403**](ListAssetsDetailsE403.md) | | + +## Methods + +### NewInlineResponse403108 + +`func NewInlineResponse403108(apiVersion string, requestId string, error_ ListAssetsDetailsE403, ) *InlineResponse403108` + +NewInlineResponse403108 instantiates a new InlineResponse403108 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403108WithDefaults + +`func NewInlineResponse403108WithDefaults() *InlineResponse403108` + +NewInlineResponse403108WithDefaults instantiates a new InlineResponse403108 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403108) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403108) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403108) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403108) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403108) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403108) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403108) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403108) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403108) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403108) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403108) GetError() ListAssetsDetailsE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403108) GetErrorOk() (*ListAssetsDetailsE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403108) SetError(v ListAssetsDetailsE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403109.md b/docs/InlineResponse403109.md new file mode 100644 index 0000000..e01fabd --- /dev/null +++ b/docs/InlineResponse403109.md @@ -0,0 +1,119 @@ +# InlineResponse403109 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetAssetDetailsByAssetIDE403**](GetAssetDetailsByAssetIDE403.md) | | + +## Methods + +### NewInlineResponse403109 + +`func NewInlineResponse403109(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE403, ) *InlineResponse403109` + +NewInlineResponse403109 instantiates a new InlineResponse403109 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403109WithDefaults + +`func NewInlineResponse403109WithDefaults() *InlineResponse403109` + +NewInlineResponse403109WithDefaults instantiates a new InlineResponse403109 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403109) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403109) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403109) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403109) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403109) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403109) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403109) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403109) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403109) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403109) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403109) GetError() GetAssetDetailsByAssetIDE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403109) GetErrorOk() (*GetAssetDetailsByAssetIDE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403109) SetError(v GetAssetDetailsByAssetIDE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse403110.md b/docs/InlineResponse403110.md new file mode 100644 index 0000000..fa7546d --- /dev/null +++ b/docs/InlineResponse403110.md @@ -0,0 +1,119 @@ +# InlineResponse403110 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetAssetDetailsByAssetSymbolE403**](GetAssetDetailsByAssetSymbolE403.md) | | + +## Methods + +### NewInlineResponse403110 + +`func NewInlineResponse403110(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE403, ) *InlineResponse403110` + +NewInlineResponse403110 instantiates a new InlineResponse403110 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse403110WithDefaults + +`func NewInlineResponse403110WithDefaults() *InlineResponse403110` + +NewInlineResponse403110WithDefaults instantiates a new InlineResponse403110 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse403110) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse403110) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse403110) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse403110) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse403110) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse403110) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse403110) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse403110) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse403110) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse403110) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse403110) GetError() GetAssetDetailsByAssetSymbolE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse403110) GetErrorOk() (*GetAssetDetailsByAssetSymbolE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse403110) SetError(v GetAssetDetailsByAssetSymbolE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40316.md b/docs/InlineResponse40316.md index 8e70d27..a83db08 100644 --- a/docs/InlineResponse40316.md +++ b/docs/InlineResponse40316.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListAllUnconfirmedTransactionsE403**](ListAllUnconfirmedTransactionsE403.md) | | +**Error** | [**ListXRPRippleTransactionsByAddressAndTimeRangeE403**](ListXRPRippleTransactionsByAddressAndTimeRangeE403.md) | | ## Methods ### NewInlineResponse40316 -`func NewInlineResponse40316(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE403, ) *InlineResponse40316` +`func NewInlineResponse40316(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByAddressAndTimeRangeE403, ) *InlineResponse40316` NewInlineResponse40316 instantiates a new InlineResponse40316 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40316) GetError() ListAllUnconfirmedTransactionsE403` +`func (o *InlineResponse40316) GetError() ListXRPRippleTransactionsByAddressAndTimeRangeE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40316) GetErrorOk() (*ListAllUnconfirmedTransactionsE403, bool)` +`func (o *InlineResponse40316) GetErrorOk() (*ListXRPRippleTransactionsByAddressAndTimeRangeE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40316) SetError(v ListAllUnconfirmedTransactionsE403)` +`func (o *InlineResponse40316) SetError(v ListXRPRippleTransactionsByAddressAndTimeRangeE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40317.md b/docs/InlineResponse40317.md index dc223c5..419762d 100644 --- a/docs/InlineResponse40317.md +++ b/docs/InlineResponse40317.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTransactionsByBlockHashE403**](ListTransactionsByBlockHashE403.md) | | +**Error** | [**ListAllUnconfirmedTransactionsE403**](ListAllUnconfirmedTransactionsE403.md) | | ## Methods ### NewInlineResponse40317 -`func NewInlineResponse40317(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE403, ) *InlineResponse40317` +`func NewInlineResponse40317(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE403, ) *InlineResponse40317` NewInlineResponse40317 instantiates a new InlineResponse40317 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40317) GetError() ListTransactionsByBlockHashE403` +`func (o *InlineResponse40317) GetError() ListAllUnconfirmedTransactionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40317) GetErrorOk() (*ListTransactionsByBlockHashE403, bool)` +`func (o *InlineResponse40317) GetErrorOk() (*ListAllUnconfirmedTransactionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40317) SetError(v ListTransactionsByBlockHashE403)` +`func (o *InlineResponse40317) SetError(v ListAllUnconfirmedTransactionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40318.md b/docs/InlineResponse40318.md index db3c878..555cded 100644 --- a/docs/InlineResponse40318.md +++ b/docs/InlineResponse40318.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListXRPRippleTransactionsByBlockHashE403**](ListXRPRippleTransactionsByBlockHashE403.md) | | +**Error** | [**ListTransactionsByBlockHashE403**](ListTransactionsByBlockHashE403.md) | | ## Methods ### NewInlineResponse40318 -`func NewInlineResponse40318(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE403, ) *InlineResponse40318` +`func NewInlineResponse40318(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE403, ) *InlineResponse40318` NewInlineResponse40318 instantiates a new InlineResponse40318 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40318) GetError() ListXRPRippleTransactionsByBlockHashE403` +`func (o *InlineResponse40318) GetError() ListTransactionsByBlockHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40318) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE403, bool)` +`func (o *InlineResponse40318) GetErrorOk() (*ListTransactionsByBlockHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40318) SetError(v ListXRPRippleTransactionsByBlockHashE403)` +`func (o *InlineResponse40318) SetError(v ListTransactionsByBlockHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40319.md b/docs/InlineResponse40319.md index 77b690f..726cf6d 100644 --- a/docs/InlineResponse40319.md +++ b/docs/InlineResponse40319.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetUnconfirmedOmniTransactionByTransactionIDTxidE403**](GetUnconfirmedOmniTransactionByTransactionIDTxidE403.md) | | +**Error** | [**ListXRPRippleTransactionsByBlockHashE403**](ListXRPRippleTransactionsByBlockHashE403.md) | | ## Methods ### NewInlineResponse40319 -`func NewInlineResponse40319(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE403, ) *InlineResponse40319` +`func NewInlineResponse40319(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE403, ) *InlineResponse40319` NewInlineResponse40319 instantiates a new InlineResponse40319 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40319) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE403` +`func (o *InlineResponse40319) GetError() ListXRPRippleTransactionsByBlockHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40319) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE403, bool)` +`func (o *InlineResponse40319) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40319) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE403)` +`func (o *InlineResponse40319) SetError(v ListXRPRippleTransactionsByBlockHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40320.md b/docs/InlineResponse40320.md index db870bf..88f79da 100644 --- a/docs/InlineResponse40320.md +++ b/docs/InlineResponse40320.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateCoinsTransactionRequestFromAddressE403**](CreateCoinsTransactionRequestFromAddressE403.md) | | +**Error** | [**GetUnconfirmedOmniTransactionByTransactionIDTxidE403**](GetUnconfirmedOmniTransactionByTransactionIDTxidE403.md) | | ## Methods ### NewInlineResponse40320 -`func NewInlineResponse40320(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE403, ) *InlineResponse40320` +`func NewInlineResponse40320(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE403, ) *InlineResponse40320` NewInlineResponse40320 instantiates a new InlineResponse40320 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40320) GetError() CreateCoinsTransactionRequestFromAddressE403` +`func (o *InlineResponse40320) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40320) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE403, bool)` +`func (o *InlineResponse40320) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40320) SetError(v CreateCoinsTransactionRequestFromAddressE403)` +`func (o *InlineResponse40320) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40321.md b/docs/InlineResponse40321.md index 4aa1934..e8d9fc7 100644 --- a/docs/InlineResponse40321.md +++ b/docs/InlineResponse40321.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListZilliqaTransactionsByBlockHashE403**](ListZilliqaTransactionsByBlockHashE403.md) | | +**Error** | [**CreateCoinsTransactionRequestFromAddressE403**](CreateCoinsTransactionRequestFromAddressE403.md) | | ## Methods ### NewInlineResponse40321 -`func NewInlineResponse40321(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE403, ) *InlineResponse40321` +`func NewInlineResponse40321(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE403, ) *InlineResponse40321` NewInlineResponse40321 instantiates a new InlineResponse40321 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40321) GetError() ListZilliqaTransactionsByBlockHashE403` +`func (o *InlineResponse40321) GetError() CreateCoinsTransactionRequestFromAddressE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40321) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE403, bool)` +`func (o *InlineResponse40321) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40321) SetError(v ListZilliqaTransactionsByBlockHashE403)` +`func (o *InlineResponse40321) SetError(v CreateCoinsTransactionRequestFromAddressE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40322.md b/docs/InlineResponse40322.md index 933979c..2eef3a5 100644 --- a/docs/InlineResponse40322.md +++ b/docs/InlineResponse40322.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListZilliqaTransactionsByBlockHeightE403**](ListZilliqaTransactionsByBlockHeightE403.md) | | +**Error** | [**ListZilliqaTransactionsByBlockHashE403**](ListZilliqaTransactionsByBlockHashE403.md) | | ## Methods ### NewInlineResponse40322 -`func NewInlineResponse40322(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE403, ) *InlineResponse40322` +`func NewInlineResponse40322(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE403, ) *InlineResponse40322` NewInlineResponse40322 instantiates a new InlineResponse40322 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40322) GetError() ListZilliqaTransactionsByBlockHeightE403` +`func (o *InlineResponse40322) GetError() ListZilliqaTransactionsByBlockHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40322) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE403, bool)` +`func (o *InlineResponse40322) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40322) SetError(v ListZilliqaTransactionsByBlockHeightE403)` +`func (o *InlineResponse40322) SetError(v ListZilliqaTransactionsByBlockHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40323.md b/docs/InlineResponse40323.md index 2aece5a..fbba18d 100644 --- a/docs/InlineResponse40323.md +++ b/docs/InlineResponse40323.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListXRPRippleTransactionsByBlockHeightE403**](ListXRPRippleTransactionsByBlockHeightE403.md) | | +**Error** | [**ListZilliqaTransactionsByBlockHeightE403**](ListZilliqaTransactionsByBlockHeightE403.md) | | ## Methods ### NewInlineResponse40323 -`func NewInlineResponse40323(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE403, ) *InlineResponse40323` +`func NewInlineResponse40323(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE403, ) *InlineResponse40323` NewInlineResponse40323 instantiates a new InlineResponse40323 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40323) GetError() ListXRPRippleTransactionsByBlockHeightE403` +`func (o *InlineResponse40323) GetError() ListZilliqaTransactionsByBlockHeightE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40323) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE403, bool)` +`func (o *InlineResponse40323) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40323) SetError(v ListXRPRippleTransactionsByBlockHeightE403)` +`func (o *InlineResponse40323) SetError(v ListZilliqaTransactionsByBlockHeightE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40324.md b/docs/InlineResponse40324.md index 27d3923..25b0b7e 100644 --- a/docs/InlineResponse40324.md +++ b/docs/InlineResponse40324.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTransactionsByBlockHeightE403**](ListTransactionsByBlockHeightE403.md) | | +**Error** | [**ListXRPRippleTransactionsByBlockHeightE403**](ListXRPRippleTransactionsByBlockHeightE403.md) | | ## Methods ### NewInlineResponse40324 -`func NewInlineResponse40324(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE403, ) *InlineResponse40324` +`func NewInlineResponse40324(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE403, ) *InlineResponse40324` NewInlineResponse40324 instantiates a new InlineResponse40324 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40324) GetError() ListTransactionsByBlockHeightE403` +`func (o *InlineResponse40324) GetError() ListXRPRippleTransactionsByBlockHeightE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40324) GetErrorOk() (*ListTransactionsByBlockHeightE403, bool)` +`func (o *InlineResponse40324) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40324) SetError(v ListTransactionsByBlockHeightE403)` +`func (o *InlineResponse40324) SetError(v ListXRPRippleTransactionsByBlockHeightE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40325.md b/docs/InlineResponse40325.md index 9dcc5f6..afae45f 100644 --- a/docs/InlineResponse40325.md +++ b/docs/InlineResponse40325.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateCoinsTransactionFromAddressForWholeAmountE403**](CreateCoinsTransactionFromAddressForWholeAmountE403.md) | | +**Error** | [**ListTransactionsByBlockHeightE403**](ListTransactionsByBlockHeightE403.md) | | ## Methods ### NewInlineResponse40325 -`func NewInlineResponse40325(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE403, ) *InlineResponse40325` +`func NewInlineResponse40325(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE403, ) *InlineResponse40325` NewInlineResponse40325 instantiates a new InlineResponse40325 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40325) GetError() CreateCoinsTransactionFromAddressForWholeAmountE403` +`func (o *InlineResponse40325) GetError() ListTransactionsByBlockHeightE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40325) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE403, bool)` +`func (o *InlineResponse40325) GetErrorOk() (*ListTransactionsByBlockHeightE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40325) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE403)` +`func (o *InlineResponse40325) SetError(v ListTransactionsByBlockHeightE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40326.md b/docs/InlineResponse40326.md index c3ef182..e24eeda 100644 --- a/docs/InlineResponse40326.md +++ b/docs/InlineResponse40326.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHeightE403**](GetBlockDetailsByBlockHeightE403.md) | | +**Error** | [**CreateCoinsTransactionFromAddressForWholeAmountE403**](CreateCoinsTransactionFromAddressForWholeAmountE403.md) | | ## Methods ### NewInlineResponse40326 -`func NewInlineResponse40326(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE403, ) *InlineResponse40326` +`func NewInlineResponse40326(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE403, ) *InlineResponse40326` NewInlineResponse40326 instantiates a new InlineResponse40326 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40326) GetError() GetBlockDetailsByBlockHeightE403` +`func (o *InlineResponse40326) GetError() CreateCoinsTransactionFromAddressForWholeAmountE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40326) GetErrorOk() (*GetBlockDetailsByBlockHeightE403, bool)` +`func (o *InlineResponse40326) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40326) SetError(v GetBlockDetailsByBlockHeightE403)` +`func (o *InlineResponse40326) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40327.md b/docs/InlineResponse40327.md index 45debbd..954cead 100644 --- a/docs/InlineResponse40327.md +++ b/docs/InlineResponse40327.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetXRPRippleBlockDetailsByBlockHeightE403**](GetXRPRippleBlockDetailsByBlockHeightE403.md) | | +**Error** | [**GetBlockDetailsByBlockHeightE403**](GetBlockDetailsByBlockHeightE403.md) | | ## Methods ### NewInlineResponse40327 -`func NewInlineResponse40327(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE403, ) *InlineResponse40327` +`func NewInlineResponse40327(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE403, ) *InlineResponse40327` NewInlineResponse40327 instantiates a new InlineResponse40327 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40327) GetError() GetXRPRippleBlockDetailsByBlockHeightE403` +`func (o *InlineResponse40327) GetError() GetBlockDetailsByBlockHeightE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40327) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE403, bool)` +`func (o *InlineResponse40327) GetErrorOk() (*GetBlockDetailsByBlockHeightE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40327) SetError(v GetXRPRippleBlockDetailsByBlockHeightE403)` +`func (o *InlineResponse40327) SetError(v GetBlockDetailsByBlockHeightE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40328.md b/docs/InlineResponse40328.md index 15486a9..a4acef2 100644 --- a/docs/InlineResponse40328.md +++ b/docs/InlineResponse40328.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListUnconfirmedOmniTransactionsByPropertyIDE403**](ListUnconfirmedOmniTransactionsByPropertyIDE403.md) | | +**Error** | [**GetXRPRippleBlockDetailsByBlockHeightE403**](GetXRPRippleBlockDetailsByBlockHeightE403.md) | | ## Methods ### NewInlineResponse40328 -`func NewInlineResponse40328(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE403, ) *InlineResponse40328` +`func NewInlineResponse40328(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE403, ) *InlineResponse40328` NewInlineResponse40328 instantiates a new InlineResponse40328 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40328) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE403` +`func (o *InlineResponse40328) GetError() GetXRPRippleBlockDetailsByBlockHeightE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40328) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE403, bool)` +`func (o *InlineResponse40328) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40328) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE403)` +`func (o *InlineResponse40328) SetError(v GetXRPRippleBlockDetailsByBlockHeightE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40329.md b/docs/InlineResponse40329.md index f1b1727..0d7fa5d 100644 --- a/docs/InlineResponse40329.md +++ b/docs/InlineResponse40329.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetZilliqaBlockDetailsByBlockHeightE403**](GetZilliqaBlockDetailsByBlockHeightE403.md) | | +**Error** | [**ListUnconfirmedOmniTransactionsByPropertyIDE403**](ListUnconfirmedOmniTransactionsByPropertyIDE403.md) | | ## Methods ### NewInlineResponse40329 -`func NewInlineResponse40329(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE403, ) *InlineResponse40329` +`func NewInlineResponse40329(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE403, ) *InlineResponse40329` NewInlineResponse40329 instantiates a new InlineResponse40329 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40329) GetError() GetZilliqaBlockDetailsByBlockHeightE403` +`func (o *InlineResponse40329) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40329) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE403, bool)` +`func (o *InlineResponse40329) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40329) SetError(v GetZilliqaBlockDetailsByBlockHeightE403)` +`func (o *InlineResponse40329) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40330.md b/docs/InlineResponse40330.md index 202bcd1..f43d8d2 100644 --- a/docs/InlineResponse40330.md +++ b/docs/InlineResponse40330.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHashE403**](GetBlockDetailsByBlockHashE403.md) | | +**Error** | [**GetZilliqaBlockDetailsByBlockHeightE403**](GetZilliqaBlockDetailsByBlockHeightE403.md) | | ## Methods ### NewInlineResponse40330 -`func NewInlineResponse40330(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE403, ) *InlineResponse40330` +`func NewInlineResponse40330(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE403, ) *InlineResponse40330` NewInlineResponse40330 instantiates a new InlineResponse40330 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40330) GetError() GetBlockDetailsByBlockHashE403` +`func (o *InlineResponse40330) GetError() GetZilliqaBlockDetailsByBlockHeightE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40330) GetErrorOk() (*GetBlockDetailsByBlockHashE403, bool)` +`func (o *InlineResponse40330) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40330) SetError(v GetBlockDetailsByBlockHashE403)` +`func (o *InlineResponse40330) SetError(v GetZilliqaBlockDetailsByBlockHeightE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40331.md b/docs/InlineResponse40331.md index 016c7d7..c9a1359 100644 --- a/docs/InlineResponse40331.md +++ b/docs/InlineResponse40331.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetXRPRippleBlockDetailsByBlockHashE403**](GetXRPRippleBlockDetailsByBlockHashE403.md) | | +**Error** | [**GetBlockDetailsByBlockHashE403**](GetBlockDetailsByBlockHashE403.md) | | ## Methods ### NewInlineResponse40331 -`func NewInlineResponse40331(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE403, ) *InlineResponse40331` +`func NewInlineResponse40331(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE403, ) *InlineResponse40331` NewInlineResponse40331 instantiates a new InlineResponse40331 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40331) GetError() GetXRPRippleBlockDetailsByBlockHashE403` +`func (o *InlineResponse40331) GetError() GetBlockDetailsByBlockHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40331) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE403, bool)` +`func (o *InlineResponse40331) GetErrorOk() (*GetBlockDetailsByBlockHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40331) SetError(v GetXRPRippleBlockDetailsByBlockHashE403)` +`func (o *InlineResponse40331) SetError(v GetBlockDetailsByBlockHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40332.md b/docs/InlineResponse40332.md index 65a5a19..b993903 100644 --- a/docs/InlineResponse40332.md +++ b/docs/InlineResponse40332.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetOmniTransactionDetailsByTransactionIDTxidE403**](GetOmniTransactionDetailsByTransactionIDTxidE403.md) | | +**Error** | [**GetXRPRippleBlockDetailsByBlockHashE403**](GetXRPRippleBlockDetailsByBlockHashE403.md) | | ## Methods ### NewInlineResponse40332 -`func NewInlineResponse40332(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE403, ) *InlineResponse40332` +`func NewInlineResponse40332(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE403, ) *InlineResponse40332` NewInlineResponse40332 instantiates a new InlineResponse40332 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40332) GetError() GetOmniTransactionDetailsByTransactionIDTxidE403` +`func (o *InlineResponse40332) GetError() GetXRPRippleBlockDetailsByBlockHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40332) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE403, bool)` +`func (o *InlineResponse40332) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40332) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE403)` +`func (o *InlineResponse40332) SetError(v GetXRPRippleBlockDetailsByBlockHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40333.md b/docs/InlineResponse40333.md index bea53b8..764a71c 100644 --- a/docs/InlineResponse40333.md +++ b/docs/InlineResponse40333.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetZilliqaBlockDetailsByBlockHashE403**](GetZilliqaBlockDetailsByBlockHashE403.md) | | +**Error** | [**GetOmniTransactionDetailsByTransactionIDTxidE403**](GetOmniTransactionDetailsByTransactionIDTxidE403.md) | | ## Methods ### NewInlineResponse40333 -`func NewInlineResponse40333(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE403, ) *InlineResponse40333` +`func NewInlineResponse40333(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE403, ) *InlineResponse40333` NewInlineResponse40333 instantiates a new InlineResponse40333 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40333) GetError() GetZilliqaBlockDetailsByBlockHashE403` +`func (o *InlineResponse40333) GetError() GetOmniTransactionDetailsByTransactionIDTxidE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40333) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE403, bool)` +`func (o *InlineResponse40333) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40333) SetError(v GetZilliqaBlockDetailsByBlockHashE403)` +`func (o *InlineResponse40333) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40334.md b/docs/InlineResponse40334.md index 46a774b..7fea21e 100644 --- a/docs/InlineResponse40334.md +++ b/docs/InlineResponse40334.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListSupportedTokensE403**](ListSupportedTokensE403.md) | | +**Error** | [**GetZilliqaBlockDetailsByBlockHashE403**](GetZilliqaBlockDetailsByBlockHashE403.md) | | ## Methods ### NewInlineResponse40334 -`func NewInlineResponse40334(apiVersion string, requestId string, error_ ListSupportedTokensE403, ) *InlineResponse40334` +`func NewInlineResponse40334(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE403, ) *InlineResponse40334` NewInlineResponse40334 instantiates a new InlineResponse40334 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40334) GetError() ListSupportedTokensE403` +`func (o *InlineResponse40334) GetError() GetZilliqaBlockDetailsByBlockHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40334) GetErrorOk() (*ListSupportedTokensE403, bool)` +`func (o *InlineResponse40334) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40334) SetError(v ListSupportedTokensE403)` +`func (o *InlineResponse40334) SetError(v GetZilliqaBlockDetailsByBlockHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40335.md b/docs/InlineResponse40335.md index 1203c36..1ec45fd 100644 --- a/docs/InlineResponse40335.md +++ b/docs/InlineResponse40335.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetWalletAssetDetailsE403**](GetWalletAssetDetailsE403.md) | | +**Error** | [**ListSupportedTokensE403**](ListSupportedTokensE403.md) | | ## Methods ### NewInlineResponse40335 -`func NewInlineResponse40335(apiVersion string, requestId string, error_ GetWalletAssetDetailsE403, ) *InlineResponse40335` +`func NewInlineResponse40335(apiVersion string, requestId string, error_ ListSupportedTokensE403, ) *InlineResponse40335` NewInlineResponse40335 instantiates a new InlineResponse40335 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40335) GetError() GetWalletAssetDetailsE403` +`func (o *InlineResponse40335) GetError() ListSupportedTokensE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40335) GetErrorOk() (*GetWalletAssetDetailsE403, bool)` +`func (o *InlineResponse40335) GetErrorOk() (*ListSupportedTokensE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40335) SetError(v GetWalletAssetDetailsE403)` +`func (o *InlineResponse40335) SetError(v ListSupportedTokensE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40336.md b/docs/InlineResponse40336.md index 99aa56e..692a4fb 100644 --- a/docs/InlineResponse40336.md +++ b/docs/InlineResponse40336.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateFungibleTokensTransactionRequestFromAddressE403**](CreateFungibleTokensTransactionRequestFromAddressE403.md) | | +**Error** | [**GetWalletAssetDetailsE403**](GetWalletAssetDetailsE403.md) | | ## Methods ### NewInlineResponse40336 -`func NewInlineResponse40336(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE403, ) *InlineResponse40336` +`func NewInlineResponse40336(apiVersion string, requestId string, error_ GetWalletAssetDetailsE403, ) *InlineResponse40336` NewInlineResponse40336 instantiates a new InlineResponse40336 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40336) GetError() CreateFungibleTokensTransactionRequestFromAddressE403` +`func (o *InlineResponse40336) GetError() GetWalletAssetDetailsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40336) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE403, bool)` +`func (o *InlineResponse40336) GetErrorOk() (*GetWalletAssetDetailsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40336) SetError(v CreateFungibleTokensTransactionRequestFromAddressE403)` +`func (o *InlineResponse40336) SetError(v GetWalletAssetDetailsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40337.md b/docs/InlineResponse40337.md index 05ddaa4..e1c11d9 100644 --- a/docs/InlineResponse40337.md +++ b/docs/InlineResponse40337.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLastMinedBlockE403**](GetLastMinedBlockE403.md) | | +**Error** | [**CreateFungibleTokensTransactionRequestFromAddressE403**](CreateFungibleTokensTransactionRequestFromAddressE403.md) | | ## Methods ### NewInlineResponse40337 -`func NewInlineResponse40337(apiVersion string, requestId string, error_ GetLastMinedBlockE403, ) *InlineResponse40337` +`func NewInlineResponse40337(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE403, ) *InlineResponse40337` NewInlineResponse40337 instantiates a new InlineResponse40337 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40337) GetError() GetLastMinedBlockE403` +`func (o *InlineResponse40337) GetError() CreateFungibleTokensTransactionRequestFromAddressE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40337) GetErrorOk() (*GetLastMinedBlockE403, bool)` +`func (o *InlineResponse40337) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40337) SetError(v GetLastMinedBlockE403)` +`func (o *InlineResponse40337) SetError(v CreateFungibleTokensTransactionRequestFromAddressE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40338.md b/docs/InlineResponse40338.md index 583b2d3..9f300d0 100644 --- a/docs/InlineResponse40338.md +++ b/docs/InlineResponse40338.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListOmniTransactionsByBlockHeightE403**](ListOmniTransactionsByBlockHeightE403.md) | | +**Error** | [**ListAllAssetsFromAllWalletsE403**](ListAllAssetsFromAllWalletsE403.md) | | ## Methods ### NewInlineResponse40338 -`func NewInlineResponse40338(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE403, ) *InlineResponse40338` +`func NewInlineResponse40338(apiVersion string, requestId string, error_ ListAllAssetsFromAllWalletsE403, ) *InlineResponse40338` NewInlineResponse40338 instantiates a new InlineResponse40338 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40338) GetError() ListOmniTransactionsByBlockHeightE403` +`func (o *InlineResponse40338) GetError() ListAllAssetsFromAllWalletsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40338) GetErrorOk() (*ListOmniTransactionsByBlockHeightE403, bool)` +`func (o *InlineResponse40338) GetErrorOk() (*ListAllAssetsFromAllWalletsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40338) SetError(v ListOmniTransactionsByBlockHeightE403)` +`func (o *InlineResponse40338) SetError(v ListAllAssetsFromAllWalletsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40339.md b/docs/InlineResponse40339.md index 770eb85..e84cc03 100644 --- a/docs/InlineResponse40339.md +++ b/docs/InlineResponse40339.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLatestMinedXRPRippleBlockE403**](GetLatestMinedXRPRippleBlockE403.md) | | +**Error** | [**ListAllAssetsByWalletIDE403**](ListAllAssetsByWalletIDE403.md) | | ## Methods ### NewInlineResponse40339 -`func NewInlineResponse40339(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE403, ) *InlineResponse40339` +`func NewInlineResponse40339(apiVersion string, requestId string, error_ ListAllAssetsByWalletIDE403, ) *InlineResponse40339` NewInlineResponse40339 instantiates a new InlineResponse40339 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40339) GetError() GetLatestMinedXRPRippleBlockE403` +`func (o *InlineResponse40339) GetError() ListAllAssetsByWalletIDE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40339) GetErrorOk() (*GetLatestMinedXRPRippleBlockE403, bool)` +`func (o *InlineResponse40339) GetErrorOk() (*ListAllAssetsByWalletIDE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40339) SetError(v GetLatestMinedXRPRippleBlockE403)` +`func (o *InlineResponse40339) SetError(v ListAllAssetsByWalletIDE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40340.md b/docs/InlineResponse40340.md index 59f8827..cc4b5b7 100644 --- a/docs/InlineResponse40340.md +++ b/docs/InlineResponse40340.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetLatestMinedZilliqaBlockE403**](GetLatestMinedZilliqaBlockE403.md) | | +**Error** | [**GetLastMinedBlockE403**](GetLastMinedBlockE403.md) | | ## Methods ### NewInlineResponse40340 -`func NewInlineResponse40340(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE403, ) *InlineResponse40340` +`func NewInlineResponse40340(apiVersion string, requestId string, error_ GetLastMinedBlockE403, ) *InlineResponse40340` NewInlineResponse40340 instantiates a new InlineResponse40340 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40340) GetError() GetLatestMinedZilliqaBlockE403` +`func (o *InlineResponse40340) GetError() GetLastMinedBlockE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40340) GetErrorOk() (*GetLatestMinedZilliqaBlockE403, bool)` +`func (o *InlineResponse40340) GetErrorOk() (*GetLastMinedBlockE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40340) SetError(v GetLatestMinedZilliqaBlockE403)` +`func (o *InlineResponse40340) SetError(v GetLastMinedBlockE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40341.md b/docs/InlineResponse40341.md index 935dddf..22d0b22 100644 --- a/docs/InlineResponse40341.md +++ b/docs/InlineResponse40341.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTransactionRequestDetailsE403**](GetTransactionRequestDetailsE403.md) | | +**Error** | [**ListOmniTransactionsByBlockHeightE403**](ListOmniTransactionsByBlockHeightE403.md) | | ## Methods ### NewInlineResponse40341 -`func NewInlineResponse40341(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE403, ) *InlineResponse40341` +`func NewInlineResponse40341(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE403, ) *InlineResponse40341` NewInlineResponse40341 instantiates a new InlineResponse40341 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40341) GetError() GetTransactionRequestDetailsE403` +`func (o *InlineResponse40341) GetError() ListOmniTransactionsByBlockHeightE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40341) GetErrorOk() (*GetTransactionRequestDetailsE403, bool)` +`func (o *InlineResponse40341) GetErrorOk() (*ListOmniTransactionsByBlockHeightE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40341) SetError(v GetTransactionRequestDetailsE403)` +`func (o *InlineResponse40341) SetError(v ListOmniTransactionsByBlockHeightE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40342.md b/docs/InlineResponse40342.md index 7fdd63f..0c44c57 100644 --- a/docs/InlineResponse40342.md +++ b/docs/InlineResponse40342.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListLatestMinedBlocksE403**](ListLatestMinedBlocksE403.md) | | +**Error** | [**GetLatestMinedXRPRippleBlockE403**](GetLatestMinedXRPRippleBlockE403.md) | | ## Methods ### NewInlineResponse40342 -`func NewInlineResponse40342(apiVersion string, requestId string, error_ ListLatestMinedBlocksE403, ) *InlineResponse40342` +`func NewInlineResponse40342(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE403, ) *InlineResponse40342` NewInlineResponse40342 instantiates a new InlineResponse40342 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40342) GetError() ListLatestMinedBlocksE403` +`func (o *InlineResponse40342) GetError() GetLatestMinedXRPRippleBlockE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40342) GetErrorOk() (*ListLatestMinedBlocksE403, bool)` +`func (o *InlineResponse40342) GetErrorOk() (*GetLatestMinedXRPRippleBlockE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40342) SetError(v ListLatestMinedBlocksE403)` +`func (o *InlineResponse40342) SetError(v GetLatestMinedXRPRippleBlockE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40343.md b/docs/InlineResponse40343.md index 00d784d..a879b31 100644 --- a/docs/InlineResponse40343.md +++ b/docs/InlineResponse40343.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**SyncHDWalletXPubYPubZPubE403**](SyncHDWalletXPubYPubZPubE403.md) | | +**Error** | [**GetLatestMinedZilliqaBlockE403**](GetLatestMinedZilliqaBlockE403.md) | | ## Methods ### NewInlineResponse40343 -`func NewInlineResponse40343(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE403, ) *InlineResponse40343` +`func NewInlineResponse40343(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE403, ) *InlineResponse40343` NewInlineResponse40343 instantiates a new InlineResponse40343 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40343) GetError() SyncHDWalletXPubYPubZPubE403` +`func (o *InlineResponse40343) GetError() GetLatestMinedZilliqaBlockE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40343) GetErrorOk() (*SyncHDWalletXPubYPubZPubE403, bool)` +`func (o *InlineResponse40343) GetErrorOk() (*GetLatestMinedZilliqaBlockE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40343) SetError(v SyncHDWalletXPubYPubZPubE403)` +`func (o *InlineResponse40343) SetError(v GetLatestMinedZilliqaBlockE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40344.md b/docs/InlineResponse40344.md index 0dda213..3a57076 100644 --- a/docs/InlineResponse40344.md +++ b/docs/InlineResponse40344.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListOmniTransactionsByBlockHashE403**](ListOmniTransactionsByBlockHashE403.md) | | +**Error** | [**GetTransactionRequestDetailsE403**](GetTransactionRequestDetailsE403.md) | | ## Methods ### NewInlineResponse40344 -`func NewInlineResponse40344(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE403, ) *InlineResponse40344` +`func NewInlineResponse40344(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE403, ) *InlineResponse40344` NewInlineResponse40344 instantiates a new InlineResponse40344 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40344) GetError() ListOmniTransactionsByBlockHashE403` +`func (o *InlineResponse40344) GetError() GetTransactionRequestDetailsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40344) GetErrorOk() (*ListOmniTransactionsByBlockHashE403, bool)` +`func (o *InlineResponse40344) GetErrorOk() (*GetTransactionRequestDetailsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40344) SetError(v ListOmniTransactionsByBlockHashE403)` +`func (o *InlineResponse40344) SetError(v GetTransactionRequestDetailsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40345.md b/docs/InlineResponse40345.md index 2c9767a..c12d4e0 100644 --- a/docs/InlineResponse40345.md +++ b/docs/InlineResponse40345.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListWalletTransactionsE403**](ListWalletTransactionsE403.md) | | +**Error** | [**ListLatestMinedBlocksE403**](ListLatestMinedBlocksE403.md) | | ## Methods ### NewInlineResponse40345 -`func NewInlineResponse40345(apiVersion string, requestId string, error_ ListWalletTransactionsE403, ) *InlineResponse40345` +`func NewInlineResponse40345(apiVersion string, requestId string, error_ ListLatestMinedBlocksE403, ) *InlineResponse40345` NewInlineResponse40345 instantiates a new InlineResponse40345 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40345) GetError() ListWalletTransactionsE403` +`func (o *InlineResponse40345) GetError() ListLatestMinedBlocksE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40345) GetErrorOk() (*ListWalletTransactionsE403, bool)` +`func (o *InlineResponse40345) GetErrorOk() (*ListLatestMinedBlocksE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40345) SetError(v ListWalletTransactionsE403)` +`func (o *InlineResponse40345) SetError(v ListLatestMinedBlocksE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40346.md b/docs/InlineResponse40346.md index f75ef64..7e2eee8 100644 --- a/docs/InlineResponse40346.md +++ b/docs/InlineResponse40346.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetWalletTransactionDetailsByTransactionIDE403**](GetWalletTransactionDetailsByTransactionIDE403.md) | | +**Error** | [**SyncHDWalletXPubYPubZPubE403**](SyncHDWalletXPubYPubZPubE403.md) | | ## Methods ### NewInlineResponse40346 -`func NewInlineResponse40346(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE403, ) *InlineResponse40346` +`func NewInlineResponse40346(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE403, ) *InlineResponse40346` NewInlineResponse40346 instantiates a new InlineResponse40346 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40346) GetError() GetWalletTransactionDetailsByTransactionIDE403` +`func (o *InlineResponse40346) GetError() SyncHDWalletXPubYPubZPubE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40346) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE403, bool)` +`func (o *InlineResponse40346) GetErrorOk() (*SyncHDWalletXPubYPubZPubE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40346) SetError(v GetWalletTransactionDetailsByTransactionIDE403)` +`func (o *InlineResponse40346) SetError(v SyncHDWalletXPubYPubZPubE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40347.md b/docs/InlineResponse40347.md index 07fa2ea..008d866 100644 --- a/docs/InlineResponse40347.md +++ b/docs/InlineResponse40347.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetHDWalletXPubYPubZPubDetailsE403**](GetHDWalletXPubYPubZPubDetailsE403.md) | | +**Error** | [**ListOmniTransactionsByBlockHashE403**](ListOmniTransactionsByBlockHashE403.md) | | ## Methods ### NewInlineResponse40347 -`func NewInlineResponse40347(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE403, ) *InlineResponse40347` +`func NewInlineResponse40347(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE403, ) *InlineResponse40347` NewInlineResponse40347 instantiates a new InlineResponse40347 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40347) GetError() GetHDWalletXPubYPubZPubDetailsE403` +`func (o *InlineResponse40347) GetError() ListOmniTransactionsByBlockHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40347) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE403, bool)` +`func (o *InlineResponse40347) GetErrorOk() (*ListOmniTransactionsByBlockHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40347) SetError(v GetHDWalletXPubYPubZPubDetailsE403)` +`func (o *InlineResponse40347) SetError(v ListOmniTransactionsByBlockHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40348.md b/docs/InlineResponse40348.md index 8d5d102..b1a364d 100644 --- a/docs/InlineResponse40348.md +++ b/docs/InlineResponse40348.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListInternalTransactionDetailsByTransactionHashE403**](ListInternalTransactionDetailsByTransactionHashE403.md) | | +**Error** | [**ListWalletTransactionsE403**](ListWalletTransactionsE403.md) | | ## Methods ### NewInlineResponse40348 -`func NewInlineResponse40348(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE403, ) *InlineResponse40348` +`func NewInlineResponse40348(apiVersion string, requestId string, error_ ListWalletTransactionsE403, ) *InlineResponse40348` NewInlineResponse40348 instantiates a new InlineResponse40348 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40348) GetError() ListInternalTransactionDetailsByTransactionHashE403` +`func (o *InlineResponse40348) GetError() ListWalletTransactionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40348) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE403, bool)` +`func (o *InlineResponse40348) GetErrorOk() (*ListWalletTransactionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40348) SetError(v ListInternalTransactionDetailsByTransactionHashE403)` +`func (o *InlineResponse40348) SetError(v ListWalletTransactionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40349.md b/docs/InlineResponse40349.md index 5204f6a..3d384a9 100644 --- a/docs/InlineResponse40349.md +++ b/docs/InlineResponse40349.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListHDWalletXPubYPubZPubTransactionsE403**](ListHDWalletXPubYPubZPubTransactionsE403.md) | | +**Error** | [**GetWalletTransactionDetailsByTransactionIDE403**](GetWalletTransactionDetailsByTransactionIDE403.md) | | ## Methods ### NewInlineResponse40349 -`func NewInlineResponse40349(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE403, ) *InlineResponse40349` +`func NewInlineResponse40349(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE403, ) *InlineResponse40349` NewInlineResponse40349 instantiates a new InlineResponse40349 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40349) GetError() ListHDWalletXPubYPubZPubTransactionsE403` +`func (o *InlineResponse40349) GetError() GetWalletTransactionDetailsByTransactionIDE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40349) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE403, bool)` +`func (o *InlineResponse40349) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40349) SetError(v ListHDWalletXPubYPubZPubTransactionsE403)` +`func (o *InlineResponse40349) SetError(v GetWalletTransactionDetailsByTransactionIDE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40350.md b/docs/InlineResponse40350.md index 7f5e01a..2ee18d2 100644 --- a/docs/InlineResponse40350.md +++ b/docs/InlineResponse40350.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetInternalTransactionByTransactionHashAndOperationIdE403**](GetInternalTransactionByTransactionHashAndOperationIdE403.md) | | +**Error** | [**GetHDWalletXPubYPubZPubAssetsE403**](GetHDWalletXPubYPubZPubAssetsE403.md) | | ## Methods ### NewInlineResponse40350 -`func NewInlineResponse40350(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE403, ) *InlineResponse40350` +`func NewInlineResponse40350(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubAssetsE403, ) *InlineResponse40350` NewInlineResponse40350 instantiates a new InlineResponse40350 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40350) GetError() GetInternalTransactionByTransactionHashAndOperationIdE403` +`func (o *InlineResponse40350) GetError() GetHDWalletXPubYPubZPubAssetsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40350) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE403, bool)` +`func (o *InlineResponse40350) GetErrorOk() (*GetHDWalletXPubYPubZPubAssetsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40350) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE403)` +`func (o *InlineResponse40350) SetError(v GetHDWalletXPubYPubZPubAssetsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40351.md b/docs/InlineResponse40351.md index 57f7bf8..5ecdde3 100644 --- a/docs/InlineResponse40351.md +++ b/docs/InlineResponse40351.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListInternalTransactionsByAddressE403**](ListInternalTransactionsByAddressE403.md) | | +**Error** | [**GetHDWalletXPubYPubZPubDetailsE403**](GetHDWalletXPubYPubZPubDetailsE403.md) | | ## Methods ### NewInlineResponse40351 -`func NewInlineResponse40351(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE403, ) *InlineResponse40351` +`func NewInlineResponse40351(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE403, ) *InlineResponse40351` NewInlineResponse40351 instantiates a new InlineResponse40351 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40351) GetError() ListInternalTransactionsByAddressE403` +`func (o *InlineResponse40351) GetError() GetHDWalletXPubYPubZPubDetailsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40351) GetErrorOk() (*ListInternalTransactionsByAddressE403, bool)` +`func (o *InlineResponse40351) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40351) SetError(v ListInternalTransactionsByAddressE403)` +`func (o *InlineResponse40351) SetError(v GetHDWalletXPubYPubZPubDetailsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40352.md b/docs/InlineResponse40352.md index dfb3bf2..2141880 100644 --- a/docs/InlineResponse40352.md +++ b/docs/InlineResponse40352.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListUnspentTransactionOutputsByAddressE403**](ListUnspentTransactionOutputsByAddressE403.md) | | +**Error** | [**ListInternalTransactionDetailsByTransactionHashE403**](ListInternalTransactionDetailsByTransactionHashE403.md) | | ## Methods ### NewInlineResponse40352 -`func NewInlineResponse40352(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE403, ) *InlineResponse40352` +`func NewInlineResponse40352(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE403, ) *InlineResponse40352` NewInlineResponse40352 instantiates a new InlineResponse40352 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40352) GetError() ListUnspentTransactionOutputsByAddressE403` +`func (o *InlineResponse40352) GetError() ListInternalTransactionDetailsByTransactionHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40352) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE403, bool)` +`func (o *InlineResponse40352) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40352) SetError(v ListUnspentTransactionOutputsByAddressE403)` +`func (o *InlineResponse40352) SetError(v ListInternalTransactionDetailsByTransactionHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40353.md b/docs/InlineResponse40353.md index 175ea5b..c5e5847 100644 --- a/docs/InlineResponse40353.md +++ b/docs/InlineResponse40353.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetFeeRecommendationsE403**](GetFeeRecommendationsE403.md) | | +**Error** | [**ListHDWalletXPubYPubZPubTransactionsE403**](ListHDWalletXPubYPubZPubTransactionsE403.md) | | ## Methods ### NewInlineResponse40353 -`func NewInlineResponse40353(apiVersion string, requestId string, error_ GetFeeRecommendationsE403, ) *InlineResponse40353` +`func NewInlineResponse40353(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE403, ) *InlineResponse40353` NewInlineResponse40353 instantiates a new InlineResponse40353 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40353) GetError() GetFeeRecommendationsE403` +`func (o *InlineResponse40353) GetError() ListHDWalletXPubYPubZPubTransactionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40353) GetErrorOk() (*GetFeeRecommendationsE403, bool)` +`func (o *InlineResponse40353) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40353) SetError(v GetFeeRecommendationsE403)` +`func (o *InlineResponse40353) SetError(v ListHDWalletXPubYPubZPubTransactionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40354.md b/docs/InlineResponse40354.md index 038511f..c5f0d27 100644 --- a/docs/InlineResponse40354.md +++ b/docs/InlineResponse40354.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensTransfersByTransactionHashE403**](ListTokensTransfersByTransactionHashE403.md) | | +**Error** | [**GetInternalTransactionByTransactionHashAndOperationIdE403**](GetInternalTransactionByTransactionHashAndOperationIdE403.md) | | ## Methods ### NewInlineResponse40354 -`func NewInlineResponse40354(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE403, ) *InlineResponse40354` +`func NewInlineResponse40354(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE403, ) *InlineResponse40354` NewInlineResponse40354 instantiates a new InlineResponse40354 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40354) GetError() ListTokensTransfersByTransactionHashE403` +`func (o *InlineResponse40354) GetError() GetInternalTransactionByTransactionHashAndOperationIdE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40354) GetErrorOk() (*ListTokensTransfersByTransactionHashE403, bool)` +`func (o *InlineResponse40354) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40354) SetError(v ListTokensTransfersByTransactionHashE403)` +`func (o *InlineResponse40354) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40355.md b/docs/InlineResponse40355.md index 83671ae..c6039b3 100644 --- a/docs/InlineResponse40355.md +++ b/docs/InlineResponse40355.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListConfirmedTokensTransfersByAddressE403**](ListConfirmedTokensTransfersByAddressE403.md) | | +**Error** | [**ListHDWalletXPubYPubZPubUTXOsE403**](ListHDWalletXPubYPubZPubUTXOsE403.md) | | ## Methods ### NewInlineResponse40355 -`func NewInlineResponse40355(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE403, ) *InlineResponse40355` +`func NewInlineResponse40355(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubUTXOsE403, ) *InlineResponse40355` NewInlineResponse40355 instantiates a new InlineResponse40355 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40355) GetError() ListConfirmedTokensTransfersByAddressE403` +`func (o *InlineResponse40355) GetError() ListHDWalletXPubYPubZPubUTXOsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40355) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE403, bool)` +`func (o *InlineResponse40355) GetErrorOk() (*ListHDWalletXPubYPubZPubUTXOsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40355) SetError(v ListConfirmedTokensTransfersByAddressE403)` +`func (o *InlineResponse40355) SetError(v ListHDWalletXPubYPubZPubUTXOsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40356.md b/docs/InlineResponse40356.md index 76084a2..d5a3e72 100644 --- a/docs/InlineResponse40356.md +++ b/docs/InlineResponse40356.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensByAddressE403**](ListTokensByAddressE403.md) | | +**Error** | [**ListInternalTransactionsByAddressE403**](ListInternalTransactionsByAddressE403.md) | | ## Methods ### NewInlineResponse40356 -`func NewInlineResponse40356(apiVersion string, requestId string, error_ ListTokensByAddressE403, ) *InlineResponse40356` +`func NewInlineResponse40356(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE403, ) *InlineResponse40356` NewInlineResponse40356 instantiates a new InlineResponse40356 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40356) GetError() ListTokensByAddressE403` +`func (o *InlineResponse40356) GetError() ListInternalTransactionsByAddressE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40356) GetErrorOk() (*ListTokensByAddressE403, bool)` +`func (o *InlineResponse40356) GetErrorOk() (*ListInternalTransactionsByAddressE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40356) SetError(v ListTokensByAddressE403)` +`func (o *InlineResponse40356) SetError(v ListInternalTransactionsByAddressE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40357.md b/docs/InlineResponse40357.md index e9e404a..ccc9de2 100644 --- a/docs/InlineResponse40357.md +++ b/docs/InlineResponse40357.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTokenDetailsByContractAddressE403**](GetTokenDetailsByContractAddressE403.md) | | +**Error** | [**GetFeeRecommendationsE403**](GetFeeRecommendationsE403.md) | | ## Methods ### NewInlineResponse40357 -`func NewInlineResponse40357(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE403, ) *InlineResponse40357` +`func NewInlineResponse40357(apiVersion string, requestId string, error_ GetFeeRecommendationsE403, ) *InlineResponse40357` NewInlineResponse40357 instantiates a new InlineResponse40357 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40357) GetError() GetTokenDetailsByContractAddressE403` +`func (o *InlineResponse40357) GetError() GetFeeRecommendationsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40357) GetErrorOk() (*GetTokenDetailsByContractAddressE403, bool)` +`func (o *InlineResponse40357) GetErrorOk() (*GetFeeRecommendationsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40357) SetError(v GetTokenDetailsByContractAddressE403)` +`func (o *InlineResponse40357) SetError(v GetFeeRecommendationsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40358.md b/docs/InlineResponse40358.md index 970f9fb..2e640f7 100644 --- a/docs/InlineResponse40358.md +++ b/docs/InlineResponse40358.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewUnconfirmedCoinsTransactionsE403**](NewUnconfirmedCoinsTransactionsE403.md) | | +**Error** | [**GetNextAvailableNonceE403**](GetNextAvailableNonceE403.md) | | ## Methods ### NewInlineResponse40358 -`func NewInlineResponse40358(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE403, ) *InlineResponse40358` +`func NewInlineResponse40358(apiVersion string, requestId string, error_ GetNextAvailableNonceE403, ) *InlineResponse40358` NewInlineResponse40358 instantiates a new InlineResponse40358 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40358) GetError() NewUnconfirmedCoinsTransactionsE403` +`func (o *InlineResponse40358) GetError() GetNextAvailableNonceE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40358) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE403, bool)` +`func (o *InlineResponse40358) GetErrorOk() (*GetNextAvailableNonceE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40358) SetError(v NewUnconfirmedCoinsTransactionsE403)` +`func (o *InlineResponse40358) SetError(v GetNextAvailableNonceE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40359.md b/docs/InlineResponse40359.md index 310693c..b8628fa 100644 --- a/docs/InlineResponse40359.md +++ b/docs/InlineResponse40359.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewUnconfirmedTokensTransactionsE403**](NewUnconfirmedTokensTransactionsE403.md) | | +**Error** | [**ListUnspentTransactionOutputsByAddressE403**](ListUnspentTransactionOutputsByAddressE403.md) | | ## Methods ### NewInlineResponse40359 -`func NewInlineResponse40359(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE403, ) *InlineResponse40359` +`func NewInlineResponse40359(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE403, ) *InlineResponse40359` NewInlineResponse40359 instantiates a new InlineResponse40359 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40359) GetError() NewUnconfirmedTokensTransactionsE403` +`func (o *InlineResponse40359) GetError() ListUnspentTransactionOutputsByAddressE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40359) GetErrorOk() (*NewUnconfirmedTokensTransactionsE403, bool)` +`func (o *InlineResponse40359) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40359) SetError(v NewUnconfirmedTokensTransactionsE403)` +`func (o *InlineResponse40359) SetError(v ListUnspentTransactionOutputsByAddressE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40360.md b/docs/InlineResponse40360.md index b150021..d2fa62e 100644 --- a/docs/InlineResponse40360.md +++ b/docs/InlineResponse40360.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedCoinsTransactionsE403**](NewConfirmedCoinsTransactionsE403.md) | | +**Error** | [**ListTokensTransfersByTransactionHashE403**](ListTokensTransfersByTransactionHashE403.md) | | ## Methods ### NewInlineResponse40360 -`func NewInlineResponse40360(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE403, ) *InlineResponse40360` +`func NewInlineResponse40360(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE403, ) *InlineResponse40360` NewInlineResponse40360 instantiates a new InlineResponse40360 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40360) GetError() NewConfirmedCoinsTransactionsE403` +`func (o *InlineResponse40360) GetError() ListTokensTransfersByTransactionHashE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40360) GetErrorOk() (*NewConfirmedCoinsTransactionsE403, bool)` +`func (o *InlineResponse40360) GetErrorOk() (*ListTokensTransfersByTransactionHashE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40360) SetError(v NewConfirmedCoinsTransactionsE403)` +`func (o *InlineResponse40360) SetError(v ListTokensTransfersByTransactionHashE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40361.md b/docs/InlineResponse40361.md index 6106629..ccd4077 100644 --- a/docs/InlineResponse40361.md +++ b/docs/InlineResponse40361.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedTokensTransactionsE403**](NewConfirmedTokensTransactionsE403.md) | | +**Error** | [**ListConfirmedTransactionsByAddressAndTimeRangeE403**](ListConfirmedTransactionsByAddressAndTimeRangeE403.md) | | ## Methods ### NewInlineResponse40361 -`func NewInlineResponse40361(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE403, ) *InlineResponse40361` +`func NewInlineResponse40361(apiVersion string, requestId string, error_ ListConfirmedTransactionsByAddressAndTimeRangeE403, ) *InlineResponse40361` NewInlineResponse40361 instantiates a new InlineResponse40361 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40361) GetError() NewConfirmedTokensTransactionsE403` +`func (o *InlineResponse40361) GetError() ListConfirmedTransactionsByAddressAndTimeRangeE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40361) GetErrorOk() (*NewConfirmedTokensTransactionsE403, bool)` +`func (o *InlineResponse40361) GetErrorOk() (*ListConfirmedTransactionsByAddressAndTimeRangeE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40361) SetError(v NewConfirmedTokensTransactionsE403)` +`func (o *InlineResponse40361) SetError(v ListConfirmedTransactionsByAddressAndTimeRangeE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40362.md b/docs/InlineResponse40362.md index e7e7a49..9964887 100644 --- a/docs/InlineResponse40362.md +++ b/docs/InlineResponse40362.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedTokensTransactionsAndEachConfirmationE403**](NewConfirmedTokensTransactionsAndEachConfirmationE403.md) | | +**Error** | [**ListConfirmedTokensTransfersByAddressAndTimeRangeE403**](ListConfirmedTokensTransfersByAddressAndTimeRangeE403.md) | | ## Methods ### NewInlineResponse40362 -`func NewInlineResponse40362(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE403, ) *InlineResponse40362` +`func NewInlineResponse40362(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressAndTimeRangeE403, ) *InlineResponse40362` NewInlineResponse40362 instantiates a new InlineResponse40362 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40362) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE403` +`func (o *InlineResponse40362) GetError() ListConfirmedTokensTransfersByAddressAndTimeRangeE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40362) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE403, bool)` +`func (o *InlineResponse40362) GetErrorOk() (*ListConfirmedTokensTransfersByAddressAndTimeRangeE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40362) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE403)` +`func (o *InlineResponse40362) SetError(v ListConfirmedTokensTransfersByAddressAndTimeRangeE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40363.md b/docs/InlineResponse40363.md index 8daebb0..12fe2c6 100644 --- a/docs/InlineResponse40363.md +++ b/docs/InlineResponse40363.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedCoinsTransactionsAndEachConfirmationE403**](NewConfirmedCoinsTransactionsAndEachConfirmationE403.md) | | +**Error** | [**ListInternalTransactionsByAddressAndTimeRangeE403**](ListInternalTransactionsByAddressAndTimeRangeE403.md) | | ## Methods ### NewInlineResponse40363 -`func NewInlineResponse40363(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE403, ) *InlineResponse40363` +`func NewInlineResponse40363(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressAndTimeRangeE403, ) *InlineResponse40363` NewInlineResponse40363 instantiates a new InlineResponse40363 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40363) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE403` +`func (o *InlineResponse40363) GetError() ListInternalTransactionsByAddressAndTimeRangeE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40363) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE403, bool)` +`func (o *InlineResponse40363) GetErrorOk() (*ListInternalTransactionsByAddressAndTimeRangeE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40363) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE403)` +`func (o *InlineResponse40363) SetError(v ListInternalTransactionsByAddressAndTimeRangeE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40364.md b/docs/InlineResponse40364.md index 87529d8..2bbba37 100644 --- a/docs/InlineResponse40364.md +++ b/docs/InlineResponse40364.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**MinedTransactionE403**](MinedTransactionE403.md) | | +**Error** | [**ListConfirmedTokensTransfersByAddressE403**](ListConfirmedTokensTransfersByAddressE403.md) | | ## Methods ### NewInlineResponse40364 -`func NewInlineResponse40364(apiVersion string, requestId string, error_ MinedTransactionE403, ) *InlineResponse40364` +`func NewInlineResponse40364(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE403, ) *InlineResponse40364` NewInlineResponse40364 instantiates a new InlineResponse40364 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40364) GetError() MinedTransactionE403` +`func (o *InlineResponse40364) GetError() ListConfirmedTokensTransfersByAddressE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40364) GetErrorOk() (*MinedTransactionE403, bool)` +`func (o *InlineResponse40364) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40364) SetError(v MinedTransactionE403)` +`func (o *InlineResponse40364) SetError(v ListConfirmedTokensTransfersByAddressE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40365.md b/docs/InlineResponse40365.md index 369b5ea..b81b840 100644 --- a/docs/InlineResponse40365.md +++ b/docs/InlineResponse40365.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewBlockE403**](NewBlockE403.md) | | +**Error** | [**GetRawTransactionDataE403**](GetRawTransactionDataE403.md) | | ## Methods ### NewInlineResponse40365 -`func NewInlineResponse40365(apiVersion string, requestId string, error_ NewBlockE403, ) *InlineResponse40365` +`func NewInlineResponse40365(apiVersion string, requestId string, error_ GetRawTransactionDataE403, ) *InlineResponse40365` NewInlineResponse40365 instantiates a new InlineResponse40365 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40365) GetError() NewBlockE403` +`func (o *InlineResponse40365) GetError() GetRawTransactionDataE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40365) GetErrorOk() (*NewBlockE403, bool)` +`func (o *InlineResponse40365) GetErrorOk() (*GetRawTransactionDataE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40365) SetError(v NewBlockE403)` +`func (o *InlineResponse40365) SetError(v GetRawTransactionDataE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40366.md b/docs/InlineResponse40366.md index 42cc375..fc97357 100644 --- a/docs/InlineResponse40366.md +++ b/docs/InlineResponse40366.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListBlockchainEventsSubscriptionsE403**](ListBlockchainEventsSubscriptionsE403.md) | | +**Error** | [**ListUnconfirmedTokensTransfersByAddressE403**](ListUnconfirmedTokensTransfersByAddressE403.md) | | ## Methods ### NewInlineResponse40366 -`func NewInlineResponse40366(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE403, ) *InlineResponse40366` +`func NewInlineResponse40366(apiVersion string, requestId string, error_ ListUnconfirmedTokensTransfersByAddressE403, ) *InlineResponse40366` NewInlineResponse40366 instantiates a new InlineResponse40366 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40366) GetError() ListBlockchainEventsSubscriptionsE403` +`func (o *InlineResponse40366) GetError() ListUnconfirmedTokensTransfersByAddressE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40366) GetErrorOk() (*ListBlockchainEventsSubscriptionsE403, bool)` +`func (o *InlineResponse40366) GetErrorOk() (*ListUnconfirmedTokensTransfersByAddressE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40366) SetError(v ListBlockchainEventsSubscriptionsE403)` +`func (o *InlineResponse40366) SetError(v ListUnconfirmedTokensTransfersByAddressE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40367.md b/docs/InlineResponse40367.md index 7e676da..fc2df9b 100644 --- a/docs/InlineResponse40367.md +++ b/docs/InlineResponse40367.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ActivateBlockchainEventSubscriptionE403**](ActivateBlockchainEventSubscriptionE403.md) | | +**Error** | [**ListTokensByAddressE403**](ListTokensByAddressE403.md) | | ## Methods ### NewInlineResponse40367 -`func NewInlineResponse40367(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE403, ) *InlineResponse40367` +`func NewInlineResponse40367(apiVersion string, requestId string, error_ ListTokensByAddressE403, ) *InlineResponse40367` NewInlineResponse40367 instantiates a new InlineResponse40367 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40367) GetError() ActivateBlockchainEventSubscriptionE403` +`func (o *InlineResponse40367) GetError() ListTokensByAddressE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40367) GetErrorOk() (*ActivateBlockchainEventSubscriptionE403, bool)` +`func (o *InlineResponse40367) GetErrorOk() (*ListTokensByAddressE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40367) SetError(v ActivateBlockchainEventSubscriptionE403)` +`func (o *InlineResponse40367) SetError(v ListTokensByAddressE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40368.md b/docs/InlineResponse40368.md index 8d72571..981f052 100644 --- a/docs/InlineResponse40368.md +++ b/docs/InlineResponse40368.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteBlockchainEventSubscriptionE403**](DeleteBlockchainEventSubscriptionE403.md) | | +**Error** | [**EstimateTransactionSmartFeeE403**](EstimateTransactionSmartFeeE403.md) | | ## Methods ### NewInlineResponse40368 -`func NewInlineResponse40368(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE403, ) *InlineResponse40368` +`func NewInlineResponse40368(apiVersion string, requestId string, error_ EstimateTransactionSmartFeeE403, ) *InlineResponse40368` NewInlineResponse40368 instantiates a new InlineResponse40368 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40368) GetError() DeleteBlockchainEventSubscriptionE403` +`func (o *InlineResponse40368) GetError() EstimateTransactionSmartFeeE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40368) GetErrorOk() (*DeleteBlockchainEventSubscriptionE403, bool)` +`func (o *InlineResponse40368) GetErrorOk() (*EstimateTransactionSmartFeeE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40368) SetError(v DeleteBlockchainEventSubscriptionE403)` +`func (o *InlineResponse40368) SetError(v EstimateTransactionSmartFeeE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40369.md b/docs/InlineResponse40369.md index 8f77427..bd87c87 100644 --- a/docs/InlineResponse40369.md +++ b/docs/InlineResponse40369.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAddressDetailsFromCallbackE403**](GetAddressDetailsFromCallbackE403.md) | | +**Error** | [**GetTokenDetailsByContractAddressE403**](GetTokenDetailsByContractAddressE403.md) | | ## Methods ### NewInlineResponse40369 -`func NewInlineResponse40369(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE403, ) *InlineResponse40369` +`func NewInlineResponse40369(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE403, ) *InlineResponse40369` NewInlineResponse40369 instantiates a new InlineResponse40369 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40369) GetError() GetAddressDetailsFromCallbackE403` +`func (o *InlineResponse40369) GetError() GetTokenDetailsByContractAddressE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40369) GetErrorOk() (*GetAddressDetailsFromCallbackE403, bool)` +`func (o *InlineResponse40369) GetErrorOk() (*GetTokenDetailsByContractAddressE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40369) SetError(v GetAddressDetailsFromCallbackE403)` +`func (o *InlineResponse40369) SetError(v GetTokenDetailsByContractAddressE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40370.md b/docs/InlineResponse40370.md index 387b8e1..f62d193 100644 --- a/docs/InlineResponse40370.md +++ b/docs/InlineResponse40370.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetTransactionDetailsByTransactionIDFromCallbackE403**](GetTransactionDetailsByTransactionIDFromCallbackE403.md) | | +**Error** | [**DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403**](DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403.md) | | ## Methods ### NewInlineResponse40370 -`func NewInlineResponse40370(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE403, ) *InlineResponse40370` +`func NewInlineResponse40370(apiVersion string, requestId string, error_ DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403, ) *InlineResponse40370` NewInlineResponse40370 instantiates a new InlineResponse40370 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40370) GetError() GetTransactionDetailsByTransactionIDFromCallbackE403` +`func (o *InlineResponse40370) GetError() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40370) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE403, bool)` +`func (o *InlineResponse40370) GetErrorOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40370) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE403)` +`func (o *InlineResponse40370) SetError(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40371.md b/docs/InlineResponse40371.md index fa3a058..d8f93b9 100644 --- a/docs/InlineResponse40371.md +++ b/docs/InlineResponse40371.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHashFromCallbackE403**](GetBlockDetailsByBlockHashFromCallbackE403.md) | | +**Error** | [**NewUnconfirmedCoinsTransactionsE403**](NewUnconfirmedCoinsTransactionsE403.md) | | ## Methods ### NewInlineResponse40371 -`func NewInlineResponse40371(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE403, ) *InlineResponse40371` +`func NewInlineResponse40371(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE403, ) *InlineResponse40371` NewInlineResponse40371 instantiates a new InlineResponse40371 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40371) GetError() GetBlockDetailsByBlockHashFromCallbackE403` +`func (o *InlineResponse40371) GetError() NewUnconfirmedCoinsTransactionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40371) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE403, bool)` +`func (o *InlineResponse40371) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40371) SetError(v GetBlockDetailsByBlockHashFromCallbackE403)` +`func (o *InlineResponse40371) SetError(v NewUnconfirmedCoinsTransactionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40372.md b/docs/InlineResponse40372.md index 299c9ac..df13dbe 100644 --- a/docs/InlineResponse40372.md +++ b/docs/InlineResponse40372.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetBlockDetailsByBlockHeightFromCallbackE403**](GetBlockDetailsByBlockHeightFromCallbackE403.md) | | +**Error** | [**NewUnconfirmedTokensTransactionsE403**](NewUnconfirmedTokensTransactionsE403.md) | | ## Methods ### NewInlineResponse40372 -`func NewInlineResponse40372(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE403, ) *InlineResponse40372` +`func NewInlineResponse40372(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE403, ) *InlineResponse40372` NewInlineResponse40372 instantiates a new InlineResponse40372 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40372) GetError() GetBlockDetailsByBlockHeightFromCallbackE403` +`func (o *InlineResponse40372) GetError() NewUnconfirmedTokensTransactionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40372) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE403, bool)` +`func (o *InlineResponse40372) GetErrorOk() (*NewUnconfirmedTokensTransactionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40372) SetError(v GetBlockDetailsByBlockHeightFromCallbackE403)` +`func (o *InlineResponse40372) SetError(v NewUnconfirmedTokensTransactionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40373.md b/docs/InlineResponse40373.md index 1b5a2bd..3bae303 100644 --- a/docs/InlineResponse40373.md +++ b/docs/InlineResponse40373.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedInternalTransactionsE403**](NewConfirmedInternalTransactionsE403.md) | | +**Error** | [**NewConfirmedCoinsTransactionsE403**](NewConfirmedCoinsTransactionsE403.md) | | ## Methods ### NewInlineResponse40373 -`func NewInlineResponse40373(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE403, ) *InlineResponse40373` +`func NewInlineResponse40373(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE403, ) *InlineResponse40373` NewInlineResponse40373 instantiates a new InlineResponse40373 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40373) GetError() NewConfirmedInternalTransactionsE403` +`func (o *InlineResponse40373) GetError() NewConfirmedCoinsTransactionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40373) GetErrorOk() (*NewConfirmedInternalTransactionsE403, bool)` +`func (o *InlineResponse40373) GetErrorOk() (*NewConfirmedCoinsTransactionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40373) SetError(v NewConfirmedInternalTransactionsE403)` +`func (o *InlineResponse40373) SetError(v NewConfirmedCoinsTransactionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40374.md b/docs/InlineResponse40374.md index 97b6128..0958a5c 100644 --- a/docs/InlineResponse40374.md +++ b/docs/InlineResponse40374.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**NewConfirmedInternalTransactionsAndEachConfirmationE403**](NewConfirmedInternalTransactionsAndEachConfirmationE403.md) | | +**Error** | [**NewConfirmedTokensTransactionsE403**](NewConfirmedTokensTransactionsE403.md) | | ## Methods ### NewInlineResponse40374 -`func NewInlineResponse40374(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE403, ) *InlineResponse40374` +`func NewInlineResponse40374(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE403, ) *InlineResponse40374` NewInlineResponse40374 instantiates a new InlineResponse40374 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40374) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE403` +`func (o *InlineResponse40374) GetError() NewConfirmedTokensTransactionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40374) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE403, bool)` +`func (o *InlineResponse40374) GetErrorOk() (*NewConfirmedTokensTransactionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40374) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE403)` +`func (o *InlineResponse40374) SetError(v NewConfirmedTokensTransactionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40375.md b/docs/InlineResponse40375.md index ba3281c..42240b4 100644 --- a/docs/InlineResponse40375.md +++ b/docs/InlineResponse40375.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListCoinsForwardingAutomationsE403**](ListCoinsForwardingAutomationsE403.md) | | +**Error** | [**NewConfirmedTokensTransactionsAndEachConfirmationE403**](NewConfirmedTokensTransactionsAndEachConfirmationE403.md) | | ## Methods ### NewInlineResponse40375 -`func NewInlineResponse40375(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE403, ) *InlineResponse40375` +`func NewInlineResponse40375(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE403, ) *InlineResponse40375` NewInlineResponse40375 instantiates a new InlineResponse40375 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40375) GetError() ListCoinsForwardingAutomationsE403` +`func (o *InlineResponse40375) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40375) GetErrorOk() (*ListCoinsForwardingAutomationsE403, bool)` +`func (o *InlineResponse40375) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40375) SetError(v ListCoinsForwardingAutomationsE403)` +`func (o *InlineResponse40375) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40376.md b/docs/InlineResponse40376.md index 8825fdc..1b0fba9 100644 --- a/docs/InlineResponse40376.md +++ b/docs/InlineResponse40376.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateAutomaticCoinsForwardingE403**](CreateAutomaticCoinsForwardingE403.md) | | +**Error** | [**NewConfirmedCoinsTransactionsAndEachConfirmationE403**](NewConfirmedCoinsTransactionsAndEachConfirmationE403.md) | | ## Methods ### NewInlineResponse40376 -`func NewInlineResponse40376(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE403, ) *InlineResponse40376` +`func NewInlineResponse40376(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE403, ) *InlineResponse40376` NewInlineResponse40376 instantiates a new InlineResponse40376 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40376) GetError() CreateAutomaticCoinsForwardingE403` +`func (o *InlineResponse40376) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40376) GetErrorOk() (*CreateAutomaticCoinsForwardingE403, bool)` +`func (o *InlineResponse40376) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40376) SetError(v CreateAutomaticCoinsForwardingE403)` +`func (o *InlineResponse40376) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40377.md b/docs/InlineResponse40377.md index 9abad0b..0510d68 100644 --- a/docs/InlineResponse40377.md +++ b/docs/InlineResponse40377.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteAutomaticCoinsForwardingE403**](DeleteAutomaticCoinsForwardingE403.md) | | +**Error** | [**MinedTransactionE403**](MinedTransactionE403.md) | | ## Methods ### NewInlineResponse40377 -`func NewInlineResponse40377(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE403, ) *InlineResponse40377` +`func NewInlineResponse40377(apiVersion string, requestId string, error_ MinedTransactionE403, ) *InlineResponse40377` NewInlineResponse40377 instantiates a new InlineResponse40377 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40377) GetError() DeleteAutomaticCoinsForwardingE403` +`func (o *InlineResponse40377) GetError() MinedTransactionE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40377) GetErrorOk() (*DeleteAutomaticCoinsForwardingE403, bool)` +`func (o *InlineResponse40377) GetErrorOk() (*MinedTransactionE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40377) SetError(v DeleteAutomaticCoinsForwardingE403)` +`func (o *InlineResponse40377) SetError(v MinedTransactionE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40378.md b/docs/InlineResponse40378.md index 5f3e2e6..a41713c 100644 --- a/docs/InlineResponse40378.md +++ b/docs/InlineResponse40378.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListTokensForwardingAutomationsE403**](ListTokensForwardingAutomationsE403.md) | | +**Error** | [**NewBlockE403**](NewBlockE403.md) | | ## Methods ### NewInlineResponse40378 -`func NewInlineResponse40378(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE403, ) *InlineResponse40378` +`func NewInlineResponse40378(apiVersion string, requestId string, error_ NewBlockE403, ) *InlineResponse40378` NewInlineResponse40378 instantiates a new InlineResponse40378 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40378) GetError() ListTokensForwardingAutomationsE403` +`func (o *InlineResponse40378) GetError() NewBlockE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40378) GetErrorOk() (*ListTokensForwardingAutomationsE403, bool)` +`func (o *InlineResponse40378) GetErrorOk() (*NewBlockE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40378) SetError(v ListTokensForwardingAutomationsE403)` +`func (o *InlineResponse40378) SetError(v NewBlockE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40379.md b/docs/InlineResponse40379.md index a35262e..e55c4ed 100644 --- a/docs/InlineResponse40379.md +++ b/docs/InlineResponse40379.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**CreateAutomaticTokensForwardingE403**](CreateAutomaticTokensForwardingE403.md) | | +**Error** | [**ListBlockchainEventsSubscriptionsE403**](ListBlockchainEventsSubscriptionsE403.md) | | ## Methods ### NewInlineResponse40379 -`func NewInlineResponse40379(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE403, ) *InlineResponse40379` +`func NewInlineResponse40379(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE403, ) *InlineResponse40379` NewInlineResponse40379 instantiates a new InlineResponse40379 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40379) GetError() CreateAutomaticTokensForwardingE403` +`func (o *InlineResponse40379) GetError() ListBlockchainEventsSubscriptionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40379) GetErrorOk() (*CreateAutomaticTokensForwardingE403, bool)` +`func (o *InlineResponse40379) GetErrorOk() (*ListBlockchainEventsSubscriptionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40379) SetError(v CreateAutomaticTokensForwardingE403)` +`func (o *InlineResponse40379) SetError(v ListBlockchainEventsSubscriptionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40380.md b/docs/InlineResponse40380.md index 3712240..5116890 100644 --- a/docs/InlineResponse40380.md +++ b/docs/InlineResponse40380.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**AddTokensToExistingFromAddressE403**](AddTokensToExistingFromAddressE403.md) | | +**Error** | [**GetBlockchainEventSubscriptionDetailsByReferenceIDE403**](GetBlockchainEventSubscriptionDetailsByReferenceIDE403.md) | | ## Methods ### NewInlineResponse40380 -`func NewInlineResponse40380(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE403, ) *InlineResponse40380` +`func NewInlineResponse40380(apiVersion string, requestId string, error_ GetBlockchainEventSubscriptionDetailsByReferenceIDE403, ) *InlineResponse40380` NewInlineResponse40380 instantiates a new InlineResponse40380 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40380) GetError() AddTokensToExistingFromAddressE403` +`func (o *InlineResponse40380) GetError() GetBlockchainEventSubscriptionDetailsByReferenceIDE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40380) GetErrorOk() (*AddTokensToExistingFromAddressE403, bool)` +`func (o *InlineResponse40380) GetErrorOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40380) SetError(v AddTokensToExistingFromAddressE403)` +`func (o *InlineResponse40380) SetError(v GetBlockchainEventSubscriptionDetailsByReferenceIDE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40381.md b/docs/InlineResponse40381.md index c164ef5..1174710 100644 --- a/docs/InlineResponse40381.md +++ b/docs/InlineResponse40381.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetFeeAddressDetailsE403**](GetFeeAddressDetailsE403.md) | | +**Error** | [**ActivateBlockchainEventSubscriptionE403**](ActivateBlockchainEventSubscriptionE403.md) | | ## Methods ### NewInlineResponse40381 -`func NewInlineResponse40381(apiVersion string, requestId string, error_ GetFeeAddressDetailsE403, ) *InlineResponse40381` +`func NewInlineResponse40381(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE403, ) *InlineResponse40381` NewInlineResponse40381 instantiates a new InlineResponse40381 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40381) GetError() GetFeeAddressDetailsE403` +`func (o *InlineResponse40381) GetError() ActivateBlockchainEventSubscriptionE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40381) GetErrorOk() (*GetFeeAddressDetailsE403, bool)` +`func (o *InlineResponse40381) GetErrorOk() (*ActivateBlockchainEventSubscriptionE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40381) SetError(v GetFeeAddressDetailsE403)` +`func (o *InlineResponse40381) SetError(v ActivateBlockchainEventSubscriptionE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40382.md b/docs/InlineResponse40382.md index 1a1080e..82fe292 100644 --- a/docs/InlineResponse40382.md +++ b/docs/InlineResponse40382.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**DeleteAutomaticTokensForwardingE403**](DeleteAutomaticTokensForwardingE403.md) | | +**Error** | [**DeleteBlockchainEventSubscriptionE403**](DeleteBlockchainEventSubscriptionE403.md) | | ## Methods ### NewInlineResponse40382 -`func NewInlineResponse40382(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE403, ) *InlineResponse40382` +`func NewInlineResponse40382(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE403, ) *InlineResponse40382` NewInlineResponse40382 instantiates a new InlineResponse40382 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40382) GetError() DeleteAutomaticTokensForwardingE403` +`func (o *InlineResponse40382) GetError() DeleteBlockchainEventSubscriptionE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40382) GetErrorOk() (*DeleteAutomaticTokensForwardingE403, bool)` +`func (o *InlineResponse40382) GetErrorOk() (*DeleteBlockchainEventSubscriptionE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40382) SetError(v DeleteAutomaticTokensForwardingE403)` +`func (o *InlineResponse40382) SetError(v DeleteBlockchainEventSubscriptionE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40383.md b/docs/InlineResponse40383.md index bac2817..8871a68 100644 --- a/docs/InlineResponse40383.md +++ b/docs/InlineResponse40383.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ValidateAddressE403**](ValidateAddressE403.md) | | +**Error** | [**GetAddressDetailsFromCallbackE403**](GetAddressDetailsFromCallbackE403.md) | | ## Methods ### NewInlineResponse40383 -`func NewInlineResponse40383(apiVersion string, requestId string, error_ ValidateAddressE403, ) *InlineResponse40383` +`func NewInlineResponse40383(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE403, ) *InlineResponse40383` NewInlineResponse40383 instantiates a new InlineResponse40383 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40383) GetError() ValidateAddressE403` +`func (o *InlineResponse40383) GetError() GetAddressDetailsFromCallbackE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40383) GetErrorOk() (*ValidateAddressE403, bool)` +`func (o *InlineResponse40383) GetErrorOk() (*GetAddressDetailsFromCallbackE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40383) SetError(v ValidateAddressE403)` +`func (o *InlineResponse40383) SetError(v GetAddressDetailsFromCallbackE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40384.md b/docs/InlineResponse40384.md index fa29193..6f1881b 100644 --- a/docs/InlineResponse40384.md +++ b/docs/InlineResponse40384.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetEIP1559FeeRecommendationsE403**](GetEIP1559FeeRecommendationsE403.md) | | +**Error** | [**GetTransactionDetailsByTransactionIDFromCallbackE403**](GetTransactionDetailsByTransactionIDFromCallbackE403.md) | | ## Methods ### NewInlineResponse40384 -`func NewInlineResponse40384(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE403, ) *InlineResponse40384` +`func NewInlineResponse40384(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE403, ) *InlineResponse40384` NewInlineResponse40384 instantiates a new InlineResponse40384 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40384) GetError() GetEIP1559FeeRecommendationsE403` +`func (o *InlineResponse40384) GetError() GetTransactionDetailsByTransactionIDFromCallbackE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40384) GetErrorOk() (*GetEIP1559FeeRecommendationsE403, bool)` +`func (o *InlineResponse40384) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40384) SetError(v GetEIP1559FeeRecommendationsE403)` +`func (o *InlineResponse40384) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40385.md b/docs/InlineResponse40385.md index 9e2b4f0..2576d53 100644 --- a/docs/InlineResponse40385.md +++ b/docs/InlineResponse40385.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**BroadcastLocallySignedTransactionE403**](BroadcastLocallySignedTransactionE403.md) | | +**Error** | [**GetBlockDetailsByBlockHashFromCallbackE403**](GetBlockDetailsByBlockHashFromCallbackE403.md) | | ## Methods ### NewInlineResponse40385 -`func NewInlineResponse40385(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE403, ) *InlineResponse40385` +`func NewInlineResponse40385(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE403, ) *InlineResponse40385` NewInlineResponse40385 instantiates a new InlineResponse40385 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40385) GetError() BroadcastLocallySignedTransactionE403` +`func (o *InlineResponse40385) GetError() GetBlockDetailsByBlockHashFromCallbackE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40385) GetErrorOk() (*BroadcastLocallySignedTransactionE403, bool)` +`func (o *InlineResponse40385) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40385) SetError(v BroadcastLocallySignedTransactionE403)` +`func (o *InlineResponse40385) SetError(v GetBlockDetailsByBlockHashFromCallbackE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40386.md b/docs/InlineResponse40386.md index b90a44d..eb97ff5 100644 --- a/docs/InlineResponse40386.md +++ b/docs/InlineResponse40386.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListSupportedAssetsE403**](ListSupportedAssetsE403.md) | | +**Error** | [**GetBlockDetailsByBlockHeightFromCallbackE403**](GetBlockDetailsByBlockHeightFromCallbackE403.md) | | ## Methods ### NewInlineResponse40386 -`func NewInlineResponse40386(apiVersion string, requestId string, error_ ListSupportedAssetsE403, ) *InlineResponse40386` +`func NewInlineResponse40386(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE403, ) *InlineResponse40386` NewInlineResponse40386 instantiates a new InlineResponse40386 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40386) GetError() ListSupportedAssetsE403` +`func (o *InlineResponse40386) GetError() GetBlockDetailsByBlockHeightFromCallbackE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40386) GetErrorOk() (*ListSupportedAssetsE403, bool)` +`func (o *InlineResponse40386) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40386) SetError(v ListSupportedAssetsE403)` +`func (o *InlineResponse40386) SetError(v GetBlockDetailsByBlockHeightFromCallbackE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40387.md b/docs/InlineResponse40387.md index 82a1a3c..32ebbc6 100644 --- a/docs/InlineResponse40387.md +++ b/docs/InlineResponse40387.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetExchangeRateByAssetSymbolsE403**](GetExchangeRateByAssetSymbolsE403.md) | | +**Error** | [**NewConfirmedInternalTransactionsE403**](NewConfirmedInternalTransactionsE403.md) | | ## Methods ### NewInlineResponse40387 -`func NewInlineResponse40387(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE403, ) *InlineResponse40387` +`func NewInlineResponse40387(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE403, ) *InlineResponse40387` NewInlineResponse40387 instantiates a new InlineResponse40387 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40387) GetError() GetExchangeRateByAssetSymbolsE403` +`func (o *InlineResponse40387) GetError() NewConfirmedInternalTransactionsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40387) GetErrorOk() (*GetExchangeRateByAssetSymbolsE403, bool)` +`func (o *InlineResponse40387) GetErrorOk() (*NewConfirmedInternalTransactionsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40387) SetError(v GetExchangeRateByAssetSymbolsE403)` +`func (o *InlineResponse40387) SetError(v NewConfirmedInternalTransactionsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40388.md b/docs/InlineResponse40388.md index 5270485..bf2bbaa 100644 --- a/docs/InlineResponse40388.md +++ b/docs/InlineResponse40388.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetExchangeRateByAssetsIDsE403**](GetExchangeRateByAssetsIDsE403.md) | | +**Error** | [**NewConfirmedInternalTransactionsAndEachConfirmationE403**](NewConfirmedInternalTransactionsAndEachConfirmationE403.md) | | ## Methods ### NewInlineResponse40388 -`func NewInlineResponse40388(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE403, ) *InlineResponse40388` +`func NewInlineResponse40388(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE403, ) *InlineResponse40388` NewInlineResponse40388 instantiates a new InlineResponse40388 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40388) GetError() GetExchangeRateByAssetsIDsE403` +`func (o *InlineResponse40388) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40388) GetErrorOk() (*GetExchangeRateByAssetsIDsE403, bool)` +`func (o *InlineResponse40388) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40388) SetError(v GetExchangeRateByAssetsIDsE403)` +`func (o *InlineResponse40388) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40389.md b/docs/InlineResponse40389.md index db89a07..91d924d 100644 --- a/docs/InlineResponse40389.md +++ b/docs/InlineResponse40389.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListAssetsDetailsE403**](ListAssetsDetailsE403.md) | | +**Error** | [**ListCoinsForwardingAutomationsE403**](ListCoinsForwardingAutomationsE403.md) | | ## Methods ### NewInlineResponse40389 -`func NewInlineResponse40389(apiVersion string, requestId string, error_ ListAssetsDetailsE403, ) *InlineResponse40389` +`func NewInlineResponse40389(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE403, ) *InlineResponse40389` NewInlineResponse40389 instantiates a new InlineResponse40389 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40389) GetError() ListAssetsDetailsE403` +`func (o *InlineResponse40389) GetError() ListCoinsForwardingAutomationsE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40389) GetErrorOk() (*ListAssetsDetailsE403, bool)` +`func (o *InlineResponse40389) GetErrorOk() (*ListCoinsForwardingAutomationsE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40389) SetError(v ListAssetsDetailsE403)` +`func (o *InlineResponse40389) SetError(v ListCoinsForwardingAutomationsE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40390.md b/docs/InlineResponse40390.md index 5c82db2..3eace8a 100644 --- a/docs/InlineResponse40390.md +++ b/docs/InlineResponse40390.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAssetDetailsByAssetIDE403**](GetAssetDetailsByAssetIDE403.md) | | +**Error** | [**CreateAutomaticCoinsForwardingE403**](CreateAutomaticCoinsForwardingE403.md) | | ## Methods ### NewInlineResponse40390 -`func NewInlineResponse40390(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE403, ) *InlineResponse40390` +`func NewInlineResponse40390(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE403, ) *InlineResponse40390` NewInlineResponse40390 instantiates a new InlineResponse40390 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40390) GetError() GetAssetDetailsByAssetIDE403` +`func (o *InlineResponse40390) GetError() CreateAutomaticCoinsForwardingE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40390) GetErrorOk() (*GetAssetDetailsByAssetIDE403, bool)` +`func (o *InlineResponse40390) GetErrorOk() (*CreateAutomaticCoinsForwardingE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40390) SetError(v GetAssetDetailsByAssetIDE403)` +`func (o *InlineResponse40390) SetError(v CreateAutomaticCoinsForwardingE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40391.md b/docs/InlineResponse40391.md index 0613d88..f53d17d 100644 --- a/docs/InlineResponse40391.md +++ b/docs/InlineResponse40391.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetAssetDetailsByAssetSymbolE403**](GetAssetDetailsByAssetSymbolE403.md) | | +**Error** | [**DeleteAutomaticCoinsForwardingE403**](DeleteAutomaticCoinsForwardingE403.md) | | ## Methods ### NewInlineResponse40391 -`func NewInlineResponse40391(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE403, ) *InlineResponse40391` +`func NewInlineResponse40391(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE403, ) *InlineResponse40391` NewInlineResponse40391 instantiates a new InlineResponse40391 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse40391) GetError() GetAssetDetailsByAssetSymbolE403` +`func (o *InlineResponse40391) GetError() DeleteAutomaticCoinsForwardingE403` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse40391) GetErrorOk() (*GetAssetDetailsByAssetSymbolE403, bool)` +`func (o *InlineResponse40391) GetErrorOk() (*DeleteAutomaticCoinsForwardingE403, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse40391) SetError(v GetAssetDetailsByAssetSymbolE403)` +`func (o *InlineResponse40391) SetError(v DeleteAutomaticCoinsForwardingE403)` SetError sets Error field to given value. diff --git a/docs/InlineResponse40392.md b/docs/InlineResponse40392.md new file mode 100644 index 0000000..6680ba7 --- /dev/null +++ b/docs/InlineResponse40392.md @@ -0,0 +1,119 @@ +# InlineResponse40392 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ListTokensForwardingAutomationsE403**](ListTokensForwardingAutomationsE403.md) | | + +## Methods + +### NewInlineResponse40392 + +`func NewInlineResponse40392(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE403, ) *InlineResponse40392` + +NewInlineResponse40392 instantiates a new InlineResponse40392 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40392WithDefaults + +`func NewInlineResponse40392WithDefaults() *InlineResponse40392` + +NewInlineResponse40392WithDefaults instantiates a new InlineResponse40392 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40392) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40392) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40392) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40392) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40392) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40392) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40392) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40392) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40392) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40392) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40392) GetError() ListTokensForwardingAutomationsE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40392) GetErrorOk() (*ListTokensForwardingAutomationsE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40392) SetError(v ListTokensForwardingAutomationsE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40393.md b/docs/InlineResponse40393.md new file mode 100644 index 0000000..e0e7cb3 --- /dev/null +++ b/docs/InlineResponse40393.md @@ -0,0 +1,119 @@ +# InlineResponse40393 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**CreateAutomaticTokensForwardingE403**](CreateAutomaticTokensForwardingE403.md) | | + +## Methods + +### NewInlineResponse40393 + +`func NewInlineResponse40393(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE403, ) *InlineResponse40393` + +NewInlineResponse40393 instantiates a new InlineResponse40393 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40393WithDefaults + +`func NewInlineResponse40393WithDefaults() *InlineResponse40393` + +NewInlineResponse40393WithDefaults instantiates a new InlineResponse40393 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40393) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40393) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40393) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40393) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40393) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40393) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40393) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40393) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40393) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40393) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40393) GetError() CreateAutomaticTokensForwardingE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40393) GetErrorOk() (*CreateAutomaticTokensForwardingE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40393) SetError(v CreateAutomaticTokensForwardingE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40394.md b/docs/InlineResponse40394.md new file mode 100644 index 0000000..2273ce0 --- /dev/null +++ b/docs/InlineResponse40394.md @@ -0,0 +1,119 @@ +# InlineResponse40394 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**AddTokensToExistingFromAddressE403**](AddTokensToExistingFromAddressE403.md) | | + +## Methods + +### NewInlineResponse40394 + +`func NewInlineResponse40394(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE403, ) *InlineResponse40394` + +NewInlineResponse40394 instantiates a new InlineResponse40394 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40394WithDefaults + +`func NewInlineResponse40394WithDefaults() *InlineResponse40394` + +NewInlineResponse40394WithDefaults instantiates a new InlineResponse40394 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40394) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40394) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40394) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40394) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40394) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40394) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40394) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40394) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40394) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40394) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40394) GetError() AddTokensToExistingFromAddressE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40394) GetErrorOk() (*AddTokensToExistingFromAddressE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40394) SetError(v AddTokensToExistingFromAddressE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40395.md b/docs/InlineResponse40395.md new file mode 100644 index 0000000..35297ea --- /dev/null +++ b/docs/InlineResponse40395.md @@ -0,0 +1,119 @@ +# InlineResponse40395 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetFeeAddressDetailsE403**](GetFeeAddressDetailsE403.md) | | + +## Methods + +### NewInlineResponse40395 + +`func NewInlineResponse40395(apiVersion string, requestId string, error_ GetFeeAddressDetailsE403, ) *InlineResponse40395` + +NewInlineResponse40395 instantiates a new InlineResponse40395 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40395WithDefaults + +`func NewInlineResponse40395WithDefaults() *InlineResponse40395` + +NewInlineResponse40395WithDefaults instantiates a new InlineResponse40395 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40395) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40395) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40395) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40395) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40395) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40395) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40395) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40395) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40395) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40395) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40395) GetError() GetFeeAddressDetailsE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40395) GetErrorOk() (*GetFeeAddressDetailsE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40395) SetError(v GetFeeAddressDetailsE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40396.md b/docs/InlineResponse40396.md new file mode 100644 index 0000000..572e644 --- /dev/null +++ b/docs/InlineResponse40396.md @@ -0,0 +1,119 @@ +# InlineResponse40396 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**DeleteAutomaticTokensForwardingE403**](DeleteAutomaticTokensForwardingE403.md) | | + +## Methods + +### NewInlineResponse40396 + +`func NewInlineResponse40396(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE403, ) *InlineResponse40396` + +NewInlineResponse40396 instantiates a new InlineResponse40396 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40396WithDefaults + +`func NewInlineResponse40396WithDefaults() *InlineResponse40396` + +NewInlineResponse40396WithDefaults instantiates a new InlineResponse40396 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40396) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40396) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40396) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40396) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40396) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40396) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40396) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40396) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40396) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40396) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40396) GetError() DeleteAutomaticTokensForwardingE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40396) GetErrorOk() (*DeleteAutomaticTokensForwardingE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40396) SetError(v DeleteAutomaticTokensForwardingE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40397.md b/docs/InlineResponse40397.md new file mode 100644 index 0000000..09c64a8 --- /dev/null +++ b/docs/InlineResponse40397.md @@ -0,0 +1,119 @@ +# InlineResponse40397 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**ValidateAddressE403**](ValidateAddressE403.md) | | + +## Methods + +### NewInlineResponse40397 + +`func NewInlineResponse40397(apiVersion string, requestId string, error_ ValidateAddressE403, ) *InlineResponse40397` + +NewInlineResponse40397 instantiates a new InlineResponse40397 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40397WithDefaults + +`func NewInlineResponse40397WithDefaults() *InlineResponse40397` + +NewInlineResponse40397WithDefaults instantiates a new InlineResponse40397 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40397) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40397) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40397) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40397) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40397) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40397) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40397) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40397) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40397) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40397) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40397) GetError() ValidateAddressE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40397) GetErrorOk() (*ValidateAddressE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40397) SetError(v ValidateAddressE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40398.md b/docs/InlineResponse40398.md new file mode 100644 index 0000000..f19be0b --- /dev/null +++ b/docs/InlineResponse40398.md @@ -0,0 +1,119 @@ +# InlineResponse40398 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetEIP1559FeeRecommendationsE403**](GetEIP1559FeeRecommendationsE403.md) | | + +## Methods + +### NewInlineResponse40398 + +`func NewInlineResponse40398(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE403, ) *InlineResponse40398` + +NewInlineResponse40398 instantiates a new InlineResponse40398 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40398WithDefaults + +`func NewInlineResponse40398WithDefaults() *InlineResponse40398` + +NewInlineResponse40398WithDefaults instantiates a new InlineResponse40398 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40398) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40398) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40398) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40398) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40398) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40398) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40398) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40398) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40398) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40398) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40398) GetError() GetEIP1559FeeRecommendationsE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40398) GetErrorOk() (*GetEIP1559FeeRecommendationsE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40398) SetError(v GetEIP1559FeeRecommendationsE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse40399.md b/docs/InlineResponse40399.md new file mode 100644 index 0000000..1a5df77 --- /dev/null +++ b/docs/InlineResponse40399.md @@ -0,0 +1,119 @@ +# InlineResponse40399 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**BroadcastLocallySignedTransactionE403**](BroadcastLocallySignedTransactionE403.md) | | + +## Methods + +### NewInlineResponse40399 + +`func NewInlineResponse40399(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE403, ) *InlineResponse40399` + +NewInlineResponse40399 instantiates a new InlineResponse40399 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse40399WithDefaults + +`func NewInlineResponse40399WithDefaults() *InlineResponse40399` + +NewInlineResponse40399WithDefaults instantiates a new InlineResponse40399 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse40399) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse40399) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse40399) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse40399) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse40399) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse40399) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse40399) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse40399) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse40399) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse40399) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse40399) GetError() BroadcastLocallySignedTransactionE403` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse40399) GetErrorOk() (*BroadcastLocallySignedTransactionE403, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse40399) SetError(v BroadcastLocallySignedTransactionE403)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse4222.md b/docs/InlineResponse4222.md index d9f77e0..9b73977 100644 --- a/docs/InlineResponse4222.md +++ b/docs/InlineResponse4222.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetHDWalletXPubYPubZPubDetailsE422**](GetHDWalletXPubYPubZPubDetailsE422.md) | | +**Error** | [**GetHDWalletXPubYPubZPubAssetsE422**](GetHDWalletXPubYPubZPubAssetsE422.md) | | ## Methods ### NewInlineResponse4222 -`func NewInlineResponse4222(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE422, ) *InlineResponse4222` +`func NewInlineResponse4222(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubAssetsE422, ) *InlineResponse4222` NewInlineResponse4222 instantiates a new InlineResponse4222 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse4222) GetError() GetHDWalletXPubYPubZPubDetailsE422` +`func (o *InlineResponse4222) GetError() GetHDWalletXPubYPubZPubAssetsE422` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse4222) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE422, bool)` +`func (o *InlineResponse4222) GetErrorOk() (*GetHDWalletXPubYPubZPubAssetsE422, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse4222) SetError(v GetHDWalletXPubYPubZPubDetailsE422)` +`func (o *InlineResponse4222) SetError(v GetHDWalletXPubYPubZPubAssetsE422)` SetError sets Error field to given value. diff --git a/docs/InlineResponse4223.md b/docs/InlineResponse4223.md index 01325a5..d10650a 100644 --- a/docs/InlineResponse4223.md +++ b/docs/InlineResponse4223.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**ListHDWalletXPubYPubZPubTransactionsE422**](ListHDWalletXPubYPubZPubTransactionsE422.md) | | +**Error** | [**GetHDWalletXPubYPubZPubDetailsE422**](GetHDWalletXPubYPubZPubDetailsE422.md) | | ## Methods ### NewInlineResponse4223 -`func NewInlineResponse4223(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE422, ) *InlineResponse4223` +`func NewInlineResponse4223(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE422, ) *InlineResponse4223` NewInlineResponse4223 instantiates a new InlineResponse4223 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse4223) GetError() ListHDWalletXPubYPubZPubTransactionsE422` +`func (o *InlineResponse4223) GetError() GetHDWalletXPubYPubZPubDetailsE422` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse4223) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE422, bool)` +`func (o *InlineResponse4223) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE422, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse4223) SetError(v ListHDWalletXPubYPubZPubTransactionsE422)` +`func (o *InlineResponse4223) SetError(v GetHDWalletXPubYPubZPubDetailsE422)` SetError sets Error field to given value. diff --git a/docs/InlineResponse4224.md b/docs/InlineResponse4224.md index 7ef81dd..c2d5b6a 100644 --- a/docs/InlineResponse4224.md +++ b/docs/InlineResponse4224.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetExchangeRateByAssetSymbolsE422**](GetExchangeRateByAssetSymbolsE422.md) | | +**Error** | [**ListHDWalletXPubYPubZPubTransactionsE422**](ListHDWalletXPubYPubZPubTransactionsE422.md) | | ## Methods ### NewInlineResponse4224 -`func NewInlineResponse4224(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE422, ) *InlineResponse4224` +`func NewInlineResponse4224(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE422, ) *InlineResponse4224` NewInlineResponse4224 instantiates a new InlineResponse4224 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse4224) GetError() GetExchangeRateByAssetSymbolsE422` +`func (o *InlineResponse4224) GetError() ListHDWalletXPubYPubZPubTransactionsE422` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse4224) GetErrorOk() (*GetExchangeRateByAssetSymbolsE422, bool)` +`func (o *InlineResponse4224) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE422, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse4224) SetError(v GetExchangeRateByAssetSymbolsE422)` +`func (o *InlineResponse4224) SetError(v ListHDWalletXPubYPubZPubTransactionsE422)` SetError sets Error field to given value. diff --git a/docs/InlineResponse4225.md b/docs/InlineResponse4225.md index 6ce2319..42248e2 100644 --- a/docs/InlineResponse4225.md +++ b/docs/InlineResponse4225.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | **RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | **Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] -**Error** | [**GetExchangeRateByAssetsIDsE422**](GetExchangeRateByAssetsIDsE422.md) | | +**Error** | [**ListHDWalletXPubYPubZPubUTXOsE422**](ListHDWalletXPubYPubZPubUTXOsE422.md) | | ## Methods ### NewInlineResponse4225 -`func NewInlineResponse4225(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE422, ) *InlineResponse4225` +`func NewInlineResponse4225(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubUTXOsE422, ) *InlineResponse4225` NewInlineResponse4225 instantiates a new InlineResponse4225 object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ HasContext returns a boolean if a field has been set. ### GetError -`func (o *InlineResponse4225) GetError() GetExchangeRateByAssetsIDsE422` +`func (o *InlineResponse4225) GetError() ListHDWalletXPubYPubZPubUTXOsE422` GetError returns the Error field if non-nil, zero value otherwise. ### GetErrorOk -`func (o *InlineResponse4225) GetErrorOk() (*GetExchangeRateByAssetsIDsE422, bool)` +`func (o *InlineResponse4225) GetErrorOk() (*ListHDWalletXPubYPubZPubUTXOsE422, bool)` GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetError -`func (o *InlineResponse4225) SetError(v GetExchangeRateByAssetsIDsE422)` +`func (o *InlineResponse4225) SetError(v ListHDWalletXPubYPubZPubUTXOsE422)` SetError sets Error field to given value. diff --git a/docs/InlineResponse4226.md b/docs/InlineResponse4226.md new file mode 100644 index 0000000..dd1931a --- /dev/null +++ b/docs/InlineResponse4226.md @@ -0,0 +1,119 @@ +# InlineResponse4226 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetExchangeRateByAssetSymbolsE422**](GetExchangeRateByAssetSymbolsE422.md) | | + +## Methods + +### NewInlineResponse4226 + +`func NewInlineResponse4226(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE422, ) *InlineResponse4226` + +NewInlineResponse4226 instantiates a new InlineResponse4226 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse4226WithDefaults + +`func NewInlineResponse4226WithDefaults() *InlineResponse4226` + +NewInlineResponse4226WithDefaults instantiates a new InlineResponse4226 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse4226) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse4226) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse4226) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse4226) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse4226) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse4226) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse4226) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse4226) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse4226) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse4226) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse4226) GetError() GetExchangeRateByAssetSymbolsE422` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse4226) GetErrorOk() (*GetExchangeRateByAssetSymbolsE422, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse4226) SetError(v GetExchangeRateByAssetSymbolsE422)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse4227.md b/docs/InlineResponse4227.md new file mode 100644 index 0000000..5d5eaea --- /dev/null +++ b/docs/InlineResponse4227.md @@ -0,0 +1,119 @@ +# InlineResponse4227 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**GetExchangeRateByAssetsIDsE422**](GetExchangeRateByAssetsIDsE422.md) | | + +## Methods + +### NewInlineResponse4227 + +`func NewInlineResponse4227(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE422, ) *InlineResponse4227` + +NewInlineResponse4227 instantiates a new InlineResponse4227 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse4227WithDefaults + +`func NewInlineResponse4227WithDefaults() *InlineResponse4227` + +NewInlineResponse4227WithDefaults instantiates a new InlineResponse4227 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse4227) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse4227) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse4227) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse4227) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse4227) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse4227) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse4227) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse4227) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse4227) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse4227) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse4227) GetError() GetExchangeRateByAssetsIDsE422` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse4227) GetErrorOk() (*GetExchangeRateByAssetsIDsE422, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse4227) SetError(v GetExchangeRateByAssetsIDsE422)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse501.md b/docs/InlineResponse501.md new file mode 100644 index 0000000..b39edad --- /dev/null +++ b/docs/InlineResponse501.md @@ -0,0 +1,119 @@ +# InlineResponse501 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Error** | [**Unimplemented**](Unimplemented.md) | | + +## Methods + +### NewInlineResponse501 + +`func NewInlineResponse501(apiVersion string, requestId string, error_ Unimplemented, ) *InlineResponse501` + +NewInlineResponse501 instantiates a new InlineResponse501 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInlineResponse501WithDefaults + +`func NewInlineResponse501WithDefaults() *InlineResponse501` + +NewInlineResponse501WithDefaults instantiates a new InlineResponse501 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *InlineResponse501) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *InlineResponse501) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *InlineResponse501) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *InlineResponse501) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *InlineResponse501) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *InlineResponse501) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *InlineResponse501) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *InlineResponse501) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *InlineResponse501) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *InlineResponse501) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetError + +`func (o *InlineResponse501) GetError() Unimplemented` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *InlineResponse501) GetErrorOk() (*Unimplemented, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *InlineResponse501) SetError(v Unimplemented)` + +SetError sets Error field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InternalApi.md b/docs/InternalApi.md index 9678180..c34f45f 100644 --- a/docs/InternalApi.md +++ b/docs/InternalApi.md @@ -35,11 +35,11 @@ func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. operationId := "call_4" // string | Represents the unique internal transaction ID in regards to the parent transaction (type trace address). transactionHash := "0x92bb77e16444e0417c8b50dfab68e89c7ad27d4140a766c3bbd4d0ac195f12fc" // string | String identifier of the parent transaction of the internal transaction represented in CryptoAPIs. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InternalApi.GetInternalTransactionByTransactionHashAndOperationId(context.Background(), blockchain, network, operationId, transactionHash).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InternalApi.GetInternalTransactionByTransactionHashAndOperationId(context.Background(), blockchain, network, operationId, transactionHash).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InternalApi.GetInternalTransactionByTransactionHashAndOperationId``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -115,13 +115,13 @@ func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. transactionHash := "0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a" // string | String identifier of the parent transaction of the internal transaction represented in CryptoAPIs. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InternalApi.ListInternalTransactionDetailsByTransactionHash(context.Background(), blockchain, network, transactionHash).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InternalApi.ListInternalTransactionDetailsByTransactionHash(context.Background(), blockchain, network, transactionHash).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InternalApi.ListInternalTransactionDetailsByTransactionHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -197,13 +197,13 @@ func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "0xc8fe2ceac93ad50e496b497357ae5385192dd28d" // string | String identifier of the address document represented in CryptoAPIs - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.InternalApi.ListInternalTransactionsByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InternalApi.ListInternalTransactionsByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `InternalApi.ListInternalTransactionsByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/InvalidTransactionHex.md b/docs/InvalidTransactionHex.md new file mode 100644 index 0000000..ff59e70 --- /dev/null +++ b/docs/InvalidTransactionHex.md @@ -0,0 +1,98 @@ +# InvalidTransactionHex + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewInvalidTransactionHex + +`func NewInvalidTransactionHex(code string, message string, ) *InvalidTransactionHex` + +NewInvalidTransactionHex instantiates a new InvalidTransactionHex object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewInvalidTransactionHexWithDefaults + +`func NewInvalidTransactionHexWithDefaults() *InvalidTransactionHex` + +NewInvalidTransactionHexWithDefaults instantiates a new InvalidTransactionHex object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *InvalidTransactionHex) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *InvalidTransactionHex) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *InvalidTransactionHex) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *InvalidTransactionHex) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *InvalidTransactionHex) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *InvalidTransactionHex) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *InvalidTransactionHex) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *InvalidTransactionHex) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *InvalidTransactionHex) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *InvalidTransactionHex) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsByWalletIDE400.md b/docs/ListAllAssetsByWalletIDE400.md new file mode 100644 index 0000000..e990495 --- /dev/null +++ b/docs/ListAllAssetsByWalletIDE400.md @@ -0,0 +1,98 @@ +# ListAllAssetsByWalletIDE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListAllAssetsByWalletIDE400 + +`func NewListAllAssetsByWalletIDE400(code string, message string, ) *ListAllAssetsByWalletIDE400` + +NewListAllAssetsByWalletIDE400 instantiates a new ListAllAssetsByWalletIDE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsByWalletIDE400WithDefaults + +`func NewListAllAssetsByWalletIDE400WithDefaults() *ListAllAssetsByWalletIDE400` + +NewListAllAssetsByWalletIDE400WithDefaults instantiates a new ListAllAssetsByWalletIDE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListAllAssetsByWalletIDE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListAllAssetsByWalletIDE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListAllAssetsByWalletIDE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListAllAssetsByWalletIDE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListAllAssetsByWalletIDE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListAllAssetsByWalletIDE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListAllAssetsByWalletIDE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListAllAssetsByWalletIDE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListAllAssetsByWalletIDE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListAllAssetsByWalletIDE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsByWalletIDE401.md b/docs/ListAllAssetsByWalletIDE401.md new file mode 100644 index 0000000..882ac82 --- /dev/null +++ b/docs/ListAllAssetsByWalletIDE401.md @@ -0,0 +1,98 @@ +# ListAllAssetsByWalletIDE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListAllAssetsByWalletIDE401 + +`func NewListAllAssetsByWalletIDE401(code string, message string, ) *ListAllAssetsByWalletIDE401` + +NewListAllAssetsByWalletIDE401 instantiates a new ListAllAssetsByWalletIDE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsByWalletIDE401WithDefaults + +`func NewListAllAssetsByWalletIDE401WithDefaults() *ListAllAssetsByWalletIDE401` + +NewListAllAssetsByWalletIDE401WithDefaults instantiates a new ListAllAssetsByWalletIDE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListAllAssetsByWalletIDE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListAllAssetsByWalletIDE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListAllAssetsByWalletIDE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListAllAssetsByWalletIDE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListAllAssetsByWalletIDE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListAllAssetsByWalletIDE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListAllAssetsByWalletIDE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListAllAssetsByWalletIDE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListAllAssetsByWalletIDE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListAllAssetsByWalletIDE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsByWalletIDE403.md b/docs/ListAllAssetsByWalletIDE403.md new file mode 100644 index 0000000..d3f08fb --- /dev/null +++ b/docs/ListAllAssetsByWalletIDE403.md @@ -0,0 +1,98 @@ +# ListAllAssetsByWalletIDE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListAllAssetsByWalletIDE403 + +`func NewListAllAssetsByWalletIDE403(code string, message string, ) *ListAllAssetsByWalletIDE403` + +NewListAllAssetsByWalletIDE403 instantiates a new ListAllAssetsByWalletIDE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsByWalletIDE403WithDefaults + +`func NewListAllAssetsByWalletIDE403WithDefaults() *ListAllAssetsByWalletIDE403` + +NewListAllAssetsByWalletIDE403WithDefaults instantiates a new ListAllAssetsByWalletIDE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListAllAssetsByWalletIDE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListAllAssetsByWalletIDE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListAllAssetsByWalletIDE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListAllAssetsByWalletIDE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListAllAssetsByWalletIDE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListAllAssetsByWalletIDE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListAllAssetsByWalletIDE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListAllAssetsByWalletIDE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListAllAssetsByWalletIDE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListAllAssetsByWalletIDE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsByWalletIDR.md b/docs/ListAllAssetsByWalletIDR.md new file mode 100644 index 0000000..36b2b75 --- /dev/null +++ b/docs/ListAllAssetsByWalletIDR.md @@ -0,0 +1,119 @@ +# ListAllAssetsByWalletIDR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**ListAllAssetsByWalletIDRData**](ListAllAssetsByWalletIDRData.md) | | + +## Methods + +### NewListAllAssetsByWalletIDR + +`func NewListAllAssetsByWalletIDR(apiVersion string, requestId string, data ListAllAssetsByWalletIDRData, ) *ListAllAssetsByWalletIDR` + +NewListAllAssetsByWalletIDR instantiates a new ListAllAssetsByWalletIDR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsByWalletIDRWithDefaults + +`func NewListAllAssetsByWalletIDRWithDefaults() *ListAllAssetsByWalletIDR` + +NewListAllAssetsByWalletIDRWithDefaults instantiates a new ListAllAssetsByWalletIDR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *ListAllAssetsByWalletIDR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *ListAllAssetsByWalletIDR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *ListAllAssetsByWalletIDR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *ListAllAssetsByWalletIDR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ListAllAssetsByWalletIDR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ListAllAssetsByWalletIDR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *ListAllAssetsByWalletIDR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *ListAllAssetsByWalletIDR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *ListAllAssetsByWalletIDR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *ListAllAssetsByWalletIDR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *ListAllAssetsByWalletIDR) GetData() ListAllAssetsByWalletIDRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ListAllAssetsByWalletIDR) GetDataOk() (*ListAllAssetsByWalletIDRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ListAllAssetsByWalletIDR) SetData(v ListAllAssetsByWalletIDRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsByWalletIDRData.md b/docs/ListAllAssetsByWalletIDRData.md new file mode 100644 index 0000000..9814072 --- /dev/null +++ b/docs/ListAllAssetsByWalletIDRData.md @@ -0,0 +1,51 @@ +# ListAllAssetsByWalletIDRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Item** | [**ListAllAssetsByWalletIDRI**](ListAllAssetsByWalletIDRI.md) | | + +## Methods + +### NewListAllAssetsByWalletIDRData + +`func NewListAllAssetsByWalletIDRData(item ListAllAssetsByWalletIDRI, ) *ListAllAssetsByWalletIDRData` + +NewListAllAssetsByWalletIDRData instantiates a new ListAllAssetsByWalletIDRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsByWalletIDRDataWithDefaults + +`func NewListAllAssetsByWalletIDRDataWithDefaults() *ListAllAssetsByWalletIDRData` + +NewListAllAssetsByWalletIDRDataWithDefaults instantiates a new ListAllAssetsByWalletIDRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetItem + +`func (o *ListAllAssetsByWalletIDRData) GetItem() ListAllAssetsByWalletIDRI` + +GetItem returns the Item field if non-nil, zero value otherwise. + +### GetItemOk + +`func (o *ListAllAssetsByWalletIDRData) GetItemOk() (*ListAllAssetsByWalletIDRI, bool)` + +GetItemOk returns a tuple with the Item field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItem + +`func (o *ListAllAssetsByWalletIDRData) SetItem(v ListAllAssetsByWalletIDRI)` + +SetItem sets Item field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsByWalletIDRI.md b/docs/ListAllAssetsByWalletIDRI.md new file mode 100644 index 0000000..64624c1 --- /dev/null +++ b/docs/ListAllAssetsByWalletIDRI.md @@ -0,0 +1,135 @@ +# ListAllAssetsByWalletIDRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Coins** | [**[]ListAllAssetsFromAllWalletsRICoins**](ListAllAssetsFromAllWalletsRICoins.md) | | +**FungibleTokens** | [**[]ListAllAssetsFromAllWalletsRIFungibleTokens**](ListAllAssetsFromAllWalletsRIFungibleTokens.md) | Represents fungible tokens'es detailed information | +**NonFungibleTokens** | [**[]ListAllAssetsFromAllWalletsRINonFungibleTokens**](ListAllAssetsFromAllWalletsRINonFungibleTokens.md) | Represents non-fungible tokens'es detailed information. | +**WalletId** | **string** | Defines the unique ID of the Wallet. | +**WalletName** | **string** | Represents the name of the wallet. | + +## Methods + +### NewListAllAssetsByWalletIDRI + +`func NewListAllAssetsByWalletIDRI(coins []ListAllAssetsFromAllWalletsRICoins, fungibleTokens []ListAllAssetsFromAllWalletsRIFungibleTokens, nonFungibleTokens []ListAllAssetsFromAllWalletsRINonFungibleTokens, walletId string, walletName string, ) *ListAllAssetsByWalletIDRI` + +NewListAllAssetsByWalletIDRI instantiates a new ListAllAssetsByWalletIDRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsByWalletIDRIWithDefaults + +`func NewListAllAssetsByWalletIDRIWithDefaults() *ListAllAssetsByWalletIDRI` + +NewListAllAssetsByWalletIDRIWithDefaults instantiates a new ListAllAssetsByWalletIDRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCoins + +`func (o *ListAllAssetsByWalletIDRI) GetCoins() []ListAllAssetsFromAllWalletsRICoins` + +GetCoins returns the Coins field if non-nil, zero value otherwise. + +### GetCoinsOk + +`func (o *ListAllAssetsByWalletIDRI) GetCoinsOk() (*[]ListAllAssetsFromAllWalletsRICoins, bool)` + +GetCoinsOk returns a tuple with the Coins field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCoins + +`func (o *ListAllAssetsByWalletIDRI) SetCoins(v []ListAllAssetsFromAllWalletsRICoins)` + +SetCoins sets Coins field to given value. + + +### GetFungibleTokens + +`func (o *ListAllAssetsByWalletIDRI) GetFungibleTokens() []ListAllAssetsFromAllWalletsRIFungibleTokens` + +GetFungibleTokens returns the FungibleTokens field if non-nil, zero value otherwise. + +### GetFungibleTokensOk + +`func (o *ListAllAssetsByWalletIDRI) GetFungibleTokensOk() (*[]ListAllAssetsFromAllWalletsRIFungibleTokens, bool)` + +GetFungibleTokensOk returns a tuple with the FungibleTokens field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFungibleTokens + +`func (o *ListAllAssetsByWalletIDRI) SetFungibleTokens(v []ListAllAssetsFromAllWalletsRIFungibleTokens)` + +SetFungibleTokens sets FungibleTokens field to given value. + + +### GetNonFungibleTokens + +`func (o *ListAllAssetsByWalletIDRI) GetNonFungibleTokens() []ListAllAssetsFromAllWalletsRINonFungibleTokens` + +GetNonFungibleTokens returns the NonFungibleTokens field if non-nil, zero value otherwise. + +### GetNonFungibleTokensOk + +`func (o *ListAllAssetsByWalletIDRI) GetNonFungibleTokensOk() (*[]ListAllAssetsFromAllWalletsRINonFungibleTokens, bool)` + +GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonFungibleTokens + +`func (o *ListAllAssetsByWalletIDRI) SetNonFungibleTokens(v []ListAllAssetsFromAllWalletsRINonFungibleTokens)` + +SetNonFungibleTokens sets NonFungibleTokens field to given value. + + +### GetWalletId + +`func (o *ListAllAssetsByWalletIDRI) GetWalletId() string` + +GetWalletId returns the WalletId field if non-nil, zero value otherwise. + +### GetWalletIdOk + +`func (o *ListAllAssetsByWalletIDRI) GetWalletIdOk() (*string, bool)` + +GetWalletIdOk returns a tuple with the WalletId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWalletId + +`func (o *ListAllAssetsByWalletIDRI) SetWalletId(v string)` + +SetWalletId sets WalletId field to given value. + + +### GetWalletName + +`func (o *ListAllAssetsByWalletIDRI) GetWalletName() string` + +GetWalletName returns the WalletName field if non-nil, zero value otherwise. + +### GetWalletNameOk + +`func (o *ListAllAssetsByWalletIDRI) GetWalletNameOk() (*string, bool)` + +GetWalletNameOk returns a tuple with the WalletName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWalletName + +`func (o *ListAllAssetsByWalletIDRI) SetWalletName(v string)` + +SetWalletName sets WalletName field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsE400.md b/docs/ListAllAssetsFromAllWalletsE400.md new file mode 100644 index 0000000..870797f --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsE400.md @@ -0,0 +1,98 @@ +# ListAllAssetsFromAllWalletsE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListAllAssetsFromAllWalletsE400 + +`func NewListAllAssetsFromAllWalletsE400(code string, message string, ) *ListAllAssetsFromAllWalletsE400` + +NewListAllAssetsFromAllWalletsE400 instantiates a new ListAllAssetsFromAllWalletsE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsE400WithDefaults + +`func NewListAllAssetsFromAllWalletsE400WithDefaults() *ListAllAssetsFromAllWalletsE400` + +NewListAllAssetsFromAllWalletsE400WithDefaults instantiates a new ListAllAssetsFromAllWalletsE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListAllAssetsFromAllWalletsE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListAllAssetsFromAllWalletsE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListAllAssetsFromAllWalletsE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListAllAssetsFromAllWalletsE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListAllAssetsFromAllWalletsE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListAllAssetsFromAllWalletsE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListAllAssetsFromAllWalletsE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListAllAssetsFromAllWalletsE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListAllAssetsFromAllWalletsE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListAllAssetsFromAllWalletsE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsE401.md b/docs/ListAllAssetsFromAllWalletsE401.md new file mode 100644 index 0000000..eeed1e5 --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsE401.md @@ -0,0 +1,98 @@ +# ListAllAssetsFromAllWalletsE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListAllAssetsFromAllWalletsE401 + +`func NewListAllAssetsFromAllWalletsE401(code string, message string, ) *ListAllAssetsFromAllWalletsE401` + +NewListAllAssetsFromAllWalletsE401 instantiates a new ListAllAssetsFromAllWalletsE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsE401WithDefaults + +`func NewListAllAssetsFromAllWalletsE401WithDefaults() *ListAllAssetsFromAllWalletsE401` + +NewListAllAssetsFromAllWalletsE401WithDefaults instantiates a new ListAllAssetsFromAllWalletsE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListAllAssetsFromAllWalletsE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListAllAssetsFromAllWalletsE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListAllAssetsFromAllWalletsE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListAllAssetsFromAllWalletsE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListAllAssetsFromAllWalletsE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListAllAssetsFromAllWalletsE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListAllAssetsFromAllWalletsE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListAllAssetsFromAllWalletsE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListAllAssetsFromAllWalletsE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListAllAssetsFromAllWalletsE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsE403.md b/docs/ListAllAssetsFromAllWalletsE403.md new file mode 100644 index 0000000..326713f --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsE403.md @@ -0,0 +1,98 @@ +# ListAllAssetsFromAllWalletsE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListAllAssetsFromAllWalletsE403 + +`func NewListAllAssetsFromAllWalletsE403(code string, message string, ) *ListAllAssetsFromAllWalletsE403` + +NewListAllAssetsFromAllWalletsE403 instantiates a new ListAllAssetsFromAllWalletsE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsE403WithDefaults + +`func NewListAllAssetsFromAllWalletsE403WithDefaults() *ListAllAssetsFromAllWalletsE403` + +NewListAllAssetsFromAllWalletsE403WithDefaults instantiates a new ListAllAssetsFromAllWalletsE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListAllAssetsFromAllWalletsE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListAllAssetsFromAllWalletsE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListAllAssetsFromAllWalletsE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListAllAssetsFromAllWalletsE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListAllAssetsFromAllWalletsE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListAllAssetsFromAllWalletsE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListAllAssetsFromAllWalletsE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListAllAssetsFromAllWalletsE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListAllAssetsFromAllWalletsE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListAllAssetsFromAllWalletsE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsR.md b/docs/ListAllAssetsFromAllWalletsR.md new file mode 100644 index 0000000..acc740b --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsR.md @@ -0,0 +1,119 @@ +# ListAllAssetsFromAllWalletsR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**ListAllAssetsFromAllWalletsRData**](ListAllAssetsFromAllWalletsRData.md) | | + +## Methods + +### NewListAllAssetsFromAllWalletsR + +`func NewListAllAssetsFromAllWalletsR(apiVersion string, requestId string, data ListAllAssetsFromAllWalletsRData, ) *ListAllAssetsFromAllWalletsR` + +NewListAllAssetsFromAllWalletsR instantiates a new ListAllAssetsFromAllWalletsR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsRWithDefaults + +`func NewListAllAssetsFromAllWalletsRWithDefaults() *ListAllAssetsFromAllWalletsR` + +NewListAllAssetsFromAllWalletsRWithDefaults instantiates a new ListAllAssetsFromAllWalletsR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *ListAllAssetsFromAllWalletsR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *ListAllAssetsFromAllWalletsR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *ListAllAssetsFromAllWalletsR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *ListAllAssetsFromAllWalletsR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ListAllAssetsFromAllWalletsR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ListAllAssetsFromAllWalletsR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *ListAllAssetsFromAllWalletsR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *ListAllAssetsFromAllWalletsR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *ListAllAssetsFromAllWalletsR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *ListAllAssetsFromAllWalletsR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *ListAllAssetsFromAllWalletsR) GetData() ListAllAssetsFromAllWalletsRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ListAllAssetsFromAllWalletsR) GetDataOk() (*ListAllAssetsFromAllWalletsRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ListAllAssetsFromAllWalletsR) SetData(v ListAllAssetsFromAllWalletsRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsRData.md b/docs/ListAllAssetsFromAllWalletsRData.md new file mode 100644 index 0000000..2edfa20 --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsRData.md @@ -0,0 +1,114 @@ +# ListAllAssetsFromAllWalletsRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | +**Total** | **int32** | Defines the total number of items returned in the response. | +**Items** | [**[]ListAllAssetsFromAllWalletsRI**](ListAllAssetsFromAllWalletsRI.md) | | + +## Methods + +### NewListAllAssetsFromAllWalletsRData + +`func NewListAllAssetsFromAllWalletsRData(limit int32, offset int32, total int32, items []ListAllAssetsFromAllWalletsRI, ) *ListAllAssetsFromAllWalletsRData` + +NewListAllAssetsFromAllWalletsRData instantiates a new ListAllAssetsFromAllWalletsRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsRDataWithDefaults + +`func NewListAllAssetsFromAllWalletsRDataWithDefaults() *ListAllAssetsFromAllWalletsRData` + +NewListAllAssetsFromAllWalletsRDataWithDefaults instantiates a new ListAllAssetsFromAllWalletsRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimit + +`func (o *ListAllAssetsFromAllWalletsRData) GetLimit() int32` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *ListAllAssetsFromAllWalletsRData) GetLimitOk() (*int32, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *ListAllAssetsFromAllWalletsRData) SetLimit(v int32)` + +SetLimit sets Limit field to given value. + + +### GetOffset + +`func (o *ListAllAssetsFromAllWalletsRData) GetOffset() int32` + +GetOffset returns the Offset field if non-nil, zero value otherwise. + +### GetOffsetOk + +`func (o *ListAllAssetsFromAllWalletsRData) GetOffsetOk() (*int32, bool)` + +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOffset + +`func (o *ListAllAssetsFromAllWalletsRData) SetOffset(v int32)` + +SetOffset sets Offset field to given value. + + +### GetTotal + +`func (o *ListAllAssetsFromAllWalletsRData) GetTotal() int32` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *ListAllAssetsFromAllWalletsRData) GetTotalOk() (*int32, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *ListAllAssetsFromAllWalletsRData) SetTotal(v int32)` + +SetTotal sets Total field to given value. + + +### GetItems + +`func (o *ListAllAssetsFromAllWalletsRData) GetItems() []ListAllAssetsFromAllWalletsRI` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *ListAllAssetsFromAllWalletsRData) GetItemsOk() (*[]ListAllAssetsFromAllWalletsRI, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *ListAllAssetsFromAllWalletsRData) SetItems(v []ListAllAssetsFromAllWalletsRI)` + +SetItems sets Items field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsRI.md b/docs/ListAllAssetsFromAllWalletsRI.md new file mode 100644 index 0000000..576211f --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsRI.md @@ -0,0 +1,135 @@ +# ListAllAssetsFromAllWalletsRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Coins** | [**[]ListAllAssetsFromAllWalletsRICoins**](ListAllAssetsFromAllWalletsRICoins.md) | | +**FungibleTokens** | [**[]ListAllAssetsFromAllWalletsRIFungibleTokens**](ListAllAssetsFromAllWalletsRIFungibleTokens.md) | Represents fungible tokens'es detailed information | +**NonFungibleTokens** | [**[]ListAllAssetsFromAllWalletsRINonFungibleTokens**](ListAllAssetsFromAllWalletsRINonFungibleTokens.md) | Represents non-fungible tokens'es detailed information. | +**WalletId** | **string** | Defines the unique ID of the Wallet. | +**WalletName** | **string** | Represents the name of the wallet. | + +## Methods + +### NewListAllAssetsFromAllWalletsRI + +`func NewListAllAssetsFromAllWalletsRI(coins []ListAllAssetsFromAllWalletsRICoins, fungibleTokens []ListAllAssetsFromAllWalletsRIFungibleTokens, nonFungibleTokens []ListAllAssetsFromAllWalletsRINonFungibleTokens, walletId string, walletName string, ) *ListAllAssetsFromAllWalletsRI` + +NewListAllAssetsFromAllWalletsRI instantiates a new ListAllAssetsFromAllWalletsRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsRIWithDefaults + +`func NewListAllAssetsFromAllWalletsRIWithDefaults() *ListAllAssetsFromAllWalletsRI` + +NewListAllAssetsFromAllWalletsRIWithDefaults instantiates a new ListAllAssetsFromAllWalletsRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCoins + +`func (o *ListAllAssetsFromAllWalletsRI) GetCoins() []ListAllAssetsFromAllWalletsRICoins` + +GetCoins returns the Coins field if non-nil, zero value otherwise. + +### GetCoinsOk + +`func (o *ListAllAssetsFromAllWalletsRI) GetCoinsOk() (*[]ListAllAssetsFromAllWalletsRICoins, bool)` + +GetCoinsOk returns a tuple with the Coins field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCoins + +`func (o *ListAllAssetsFromAllWalletsRI) SetCoins(v []ListAllAssetsFromAllWalletsRICoins)` + +SetCoins sets Coins field to given value. + + +### GetFungibleTokens + +`func (o *ListAllAssetsFromAllWalletsRI) GetFungibleTokens() []ListAllAssetsFromAllWalletsRIFungibleTokens` + +GetFungibleTokens returns the FungibleTokens field if non-nil, zero value otherwise. + +### GetFungibleTokensOk + +`func (o *ListAllAssetsFromAllWalletsRI) GetFungibleTokensOk() (*[]ListAllAssetsFromAllWalletsRIFungibleTokens, bool)` + +GetFungibleTokensOk returns a tuple with the FungibleTokens field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFungibleTokens + +`func (o *ListAllAssetsFromAllWalletsRI) SetFungibleTokens(v []ListAllAssetsFromAllWalletsRIFungibleTokens)` + +SetFungibleTokens sets FungibleTokens field to given value. + + +### GetNonFungibleTokens + +`func (o *ListAllAssetsFromAllWalletsRI) GetNonFungibleTokens() []ListAllAssetsFromAllWalletsRINonFungibleTokens` + +GetNonFungibleTokens returns the NonFungibleTokens field if non-nil, zero value otherwise. + +### GetNonFungibleTokensOk + +`func (o *ListAllAssetsFromAllWalletsRI) GetNonFungibleTokensOk() (*[]ListAllAssetsFromAllWalletsRINonFungibleTokens, bool)` + +GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonFungibleTokens + +`func (o *ListAllAssetsFromAllWalletsRI) SetNonFungibleTokens(v []ListAllAssetsFromAllWalletsRINonFungibleTokens)` + +SetNonFungibleTokens sets NonFungibleTokens field to given value. + + +### GetWalletId + +`func (o *ListAllAssetsFromAllWalletsRI) GetWalletId() string` + +GetWalletId returns the WalletId field if non-nil, zero value otherwise. + +### GetWalletIdOk + +`func (o *ListAllAssetsFromAllWalletsRI) GetWalletIdOk() (*string, bool)` + +GetWalletIdOk returns a tuple with the WalletId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWalletId + +`func (o *ListAllAssetsFromAllWalletsRI) SetWalletId(v string)` + +SetWalletId sets WalletId field to given value. + + +### GetWalletName + +`func (o *ListAllAssetsFromAllWalletsRI) GetWalletName() string` + +GetWalletName returns the WalletName field if non-nil, zero value otherwise. + +### GetWalletNameOk + +`func (o *ListAllAssetsFromAllWalletsRI) GetWalletNameOk() (*string, bool)` + +GetWalletNameOk returns a tuple with the WalletName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWalletName + +`func (o *ListAllAssetsFromAllWalletsRI) SetWalletName(v string)` + +SetWalletName sets WalletName field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsRICoins.md b/docs/ListAllAssetsFromAllWalletsRICoins.md new file mode 100644 index 0000000..b92a09d --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsRICoins.md @@ -0,0 +1,156 @@ +# ListAllAssetsFromAllWalletsRICoins + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**ConfirmedBalance** | **string** | Defines the total balance of the address that is confirmed. It doesn't include unconfirmed transactions. | +**Network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**TotalReceived** | **string** | Defines the total amount of all coins received to the address, based on confirmed transactions. | +**TotalSpent** | **string** | Defines the total amount of all spent by this address coins, based on confirmed transactions. | +**Unit** | **string** | Represents the unit of the confirmed balance. | + +## Methods + +### NewListAllAssetsFromAllWalletsRICoins + +`func NewListAllAssetsFromAllWalletsRICoins(blockchain string, confirmedBalance string, network string, totalReceived string, totalSpent string, unit string, ) *ListAllAssetsFromAllWalletsRICoins` + +NewListAllAssetsFromAllWalletsRICoins instantiates a new ListAllAssetsFromAllWalletsRICoins object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsRICoinsWithDefaults + +`func NewListAllAssetsFromAllWalletsRICoinsWithDefaults() *ListAllAssetsFromAllWalletsRICoins` + +NewListAllAssetsFromAllWalletsRICoinsWithDefaults instantiates a new ListAllAssetsFromAllWalletsRICoins object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBlockchain + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetBlockchain() string` + +GetBlockchain returns the Blockchain field if non-nil, zero value otherwise. + +### GetBlockchainOk + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetBlockchainOk() (*string, bool)` + +GetBlockchainOk returns a tuple with the Blockchain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBlockchain + +`func (o *ListAllAssetsFromAllWalletsRICoins) SetBlockchain(v string)` + +SetBlockchain sets Blockchain field to given value. + + +### GetConfirmedBalance + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetConfirmedBalance() string` + +GetConfirmedBalance returns the ConfirmedBalance field if non-nil, zero value otherwise. + +### GetConfirmedBalanceOk + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetConfirmedBalanceOk() (*string, bool)` + +GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfirmedBalance + +`func (o *ListAllAssetsFromAllWalletsRICoins) SetConfirmedBalance(v string)` + +SetConfirmedBalance sets ConfirmedBalance field to given value. + + +### GetNetwork + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetNetwork() string` + +GetNetwork returns the Network field if non-nil, zero value otherwise. + +### GetNetworkOk + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetNetworkOk() (*string, bool)` + +GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNetwork + +`func (o *ListAllAssetsFromAllWalletsRICoins) SetNetwork(v string)` + +SetNetwork sets Network field to given value. + + +### GetTotalReceived + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetTotalReceived() string` + +GetTotalReceived returns the TotalReceived field if non-nil, zero value otherwise. + +### GetTotalReceivedOk + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetTotalReceivedOk() (*string, bool)` + +GetTotalReceivedOk returns a tuple with the TotalReceived field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalReceived + +`func (o *ListAllAssetsFromAllWalletsRICoins) SetTotalReceived(v string)` + +SetTotalReceived sets TotalReceived field to given value. + + +### GetTotalSpent + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetTotalSpent() string` + +GetTotalSpent returns the TotalSpent field if non-nil, zero value otherwise. + +### GetTotalSpentOk + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetTotalSpentOk() (*string, bool)` + +GetTotalSpentOk returns a tuple with the TotalSpent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalSpent + +`func (o *ListAllAssetsFromAllWalletsRICoins) SetTotalSpent(v string)` + +SetTotalSpent sets TotalSpent field to given value. + + +### GetUnit + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetUnit() string` + +GetUnit returns the Unit field if non-nil, zero value otherwise. + +### GetUnitOk + +`func (o *ListAllAssetsFromAllWalletsRICoins) GetUnitOk() (*string, bool)` + +GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnit + +`func (o *ListAllAssetsFromAllWalletsRICoins) SetUnit(v string)` + +SetUnit sets Unit field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsRIFungibleTokens.md b/docs/ListAllAssetsFromAllWalletsRIFungibleTokens.md new file mode 100644 index 0000000..3815f5e --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsRIFungibleTokens.md @@ -0,0 +1,156 @@ +# ListAllAssetsFromAllWalletsRIFungibleTokens + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Amount** | **string** | Defines the amount of the fungible tokens. | +**Blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**Identifier** | **string** | Defines the specific token identifier. For Bitcoin-based transactions it should be the propertyId and for Ethereum-based transactions - the contract. | +**Network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**Symbol** | **string** | Defines the symbol of the fungible tokens. | +**Type** | **string** | Defines the specific token type. | + +## Methods + +### NewListAllAssetsFromAllWalletsRIFungibleTokens + +`func NewListAllAssetsFromAllWalletsRIFungibleTokens(amount string, blockchain string, identifier string, network string, symbol string, type_ string, ) *ListAllAssetsFromAllWalletsRIFungibleTokens` + +NewListAllAssetsFromAllWalletsRIFungibleTokens instantiates a new ListAllAssetsFromAllWalletsRIFungibleTokens object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsRIFungibleTokensWithDefaults + +`func NewListAllAssetsFromAllWalletsRIFungibleTokensWithDefaults() *ListAllAssetsFromAllWalletsRIFungibleTokens` + +NewListAllAssetsFromAllWalletsRIFungibleTokensWithDefaults instantiates a new ListAllAssetsFromAllWalletsRIFungibleTokens object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAmount + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetAmount() string` + +GetAmount returns the Amount field if non-nil, zero value otherwise. + +### GetAmountOk + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetAmountOk() (*string, bool)` + +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAmount + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetAmount(v string)` + +SetAmount sets Amount field to given value. + + +### GetBlockchain + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetBlockchain() string` + +GetBlockchain returns the Blockchain field if non-nil, zero value otherwise. + +### GetBlockchainOk + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetBlockchainOk() (*string, bool)` + +GetBlockchainOk returns a tuple with the Blockchain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBlockchain + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetBlockchain(v string)` + +SetBlockchain sets Blockchain field to given value. + + +### GetIdentifier + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetIdentifier() string` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetIdentifierOk() (*string, bool)` + +GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifier + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetIdentifier(v string)` + +SetIdentifier sets Identifier field to given value. + + +### GetNetwork + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetNetwork() string` + +GetNetwork returns the Network field if non-nil, zero value otherwise. + +### GetNetworkOk + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetNetworkOk() (*string, bool)` + +GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNetwork + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetNetwork(v string)` + +SetNetwork sets Network field to given value. + + +### GetSymbol + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetSymbol() string` + +GetSymbol returns the Symbol field if non-nil, zero value otherwise. + +### GetSymbolOk + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetSymbolOk() (*string, bool)` + +GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSymbol + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetSymbol(v string)` + +SetSymbol sets Symbol field to given value. + + +### GetType + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetType(v string)` + +SetType sets Type field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllAssetsFromAllWalletsRINonFungibleTokens.md b/docs/ListAllAssetsFromAllWalletsRINonFungibleTokens.md new file mode 100644 index 0000000..75f07fa --- /dev/null +++ b/docs/ListAllAssetsFromAllWalletsRINonFungibleTokens.md @@ -0,0 +1,156 @@ +# ListAllAssetsFromAllWalletsRINonFungibleTokens + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**Identifier** | **string** | Defines the specific token identifier. For Bitcoin-based transactions it should be the propertyId and for Ethereum-based transactions - the contract. | +**Network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**Symbol** | **string** | Defines the symbol of the non-fungible tokens. | +**TokenId** | **string** | Represents tokens' unique identifier. | +**Type** | **string** | Defines the specific token type. | + +## Methods + +### NewListAllAssetsFromAllWalletsRINonFungibleTokens + +`func NewListAllAssetsFromAllWalletsRINonFungibleTokens(blockchain string, identifier string, network string, symbol string, tokenId string, type_ string, ) *ListAllAssetsFromAllWalletsRINonFungibleTokens` + +NewListAllAssetsFromAllWalletsRINonFungibleTokens instantiates a new ListAllAssetsFromAllWalletsRINonFungibleTokens object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListAllAssetsFromAllWalletsRINonFungibleTokensWithDefaults + +`func NewListAllAssetsFromAllWalletsRINonFungibleTokensWithDefaults() *ListAllAssetsFromAllWalletsRINonFungibleTokens` + +NewListAllAssetsFromAllWalletsRINonFungibleTokensWithDefaults instantiates a new ListAllAssetsFromAllWalletsRINonFungibleTokens object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBlockchain + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetBlockchain() string` + +GetBlockchain returns the Blockchain field if non-nil, zero value otherwise. + +### GetBlockchainOk + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetBlockchainOk() (*string, bool)` + +GetBlockchainOk returns a tuple with the Blockchain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBlockchain + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetBlockchain(v string)` + +SetBlockchain sets Blockchain field to given value. + + +### GetIdentifier + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetIdentifier() string` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetIdentifierOk() (*string, bool)` + +GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifier + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetIdentifier(v string)` + +SetIdentifier sets Identifier field to given value. + + +### GetNetwork + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetNetwork() string` + +GetNetwork returns the Network field if non-nil, zero value otherwise. + +### GetNetworkOk + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetNetworkOk() (*string, bool)` + +GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNetwork + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetNetwork(v string)` + +SetNetwork sets Network field to given value. + + +### GetSymbol + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetSymbol() string` + +GetSymbol returns the Symbol field if non-nil, zero value otherwise. + +### GetSymbolOk + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetSymbolOk() (*string, bool)` + +GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSymbol + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetSymbol(v string)` + +SetSymbol sets Symbol field to given value. + + +### GetTokenId + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetTokenId() string` + +GetTokenId returns the TokenId field if non-nil, zero value otherwise. + +### GetTokenIdOk + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetTokenIdOk() (*string, bool)` + +GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenId + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetTokenId(v string)` + +SetTokenId sets TokenId field to given value. + + +### GetType + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetType(v string)` + +SetType sets Type field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListAllUnconfirmedTransactionsRData.md b/docs/ListAllUnconfirmedTransactionsRData.md index 74ea808..2dd342a 100644 --- a/docs/ListAllUnconfirmedTransactionsRData.md +++ b/docs/ListAllUnconfirmedTransactionsRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListAllUnconfirmedTransactionsRI**](ListAllUnconfirmedTransactionsRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRData -`func NewListAllUnconfirmedTransactionsRData(offset int32, limit int32, total int32, items []ListAllUnconfirmedTransactionsRI, ) *ListAllUnconfirmedTransactionsRData` +`func NewListAllUnconfirmedTransactionsRData(limit int32, offset int32, total int32, items []ListAllUnconfirmedTransactionsRI, ) *ListAllUnconfirmedTransactionsRData` NewListAllUnconfirmedTransactionsRData instantiates a new ListAllUnconfirmedTransactionsRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListAllUnconfirmedTransactionsRDataWithDefaults instantiates a new ListAllUnc This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListAllUnconfirmedTransactionsRData) GetOffset() int32` +`func (o *ListAllUnconfirmedTransactionsRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListAllUnconfirmedTransactionsRData) GetOffsetOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListAllUnconfirmedTransactionsRData) SetOffset(v int32)` +`func (o *ListAllUnconfirmedTransactionsRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListAllUnconfirmedTransactionsRData) GetLimit() int32` +`func (o *ListAllUnconfirmedTransactionsRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListAllUnconfirmedTransactionsRData) GetLimitOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListAllUnconfirmedTransactionsRData) SetLimit(v int32)` +`func (o *ListAllUnconfirmedTransactionsRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListAllUnconfirmedTransactionsRIBS.md b/docs/ListAllUnconfirmedTransactionsRIBS.md index 48f6a1b..2952728 100644 --- a/docs/ListAllUnconfirmedTransactionsRIBS.md +++ b/docs/ListAllUnconfirmedTransactionsRIBS.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Defines the version of the transaction. | @@ -31,7 +31,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRIBS -`func NewListAllUnconfirmedTransactionsRIBS(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, fee ListAllUnconfirmedTransactionsRIBSECFee, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListAllUnconfirmedTransactionsRIBS` +`func NewListAllUnconfirmedTransactionsRIBS(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, fee ListAllUnconfirmedTransactionsRIBSECFee, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListAllUnconfirmedTransactionsRIBS` NewListAllUnconfirmedTransactionsRIBS instantiates a new ListAllUnconfirmedTransactionsRIBS object This constructor will assign default values to properties that have it defined, @@ -48,20 +48,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBS) GetLocktime() int32` +`func (o *ListAllUnconfirmedTransactionsRIBS) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListAllUnconfirmedTransactionsRIBS) GetLocktimeOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRIBS) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBS) SetLocktime(v int32)` +`func (o *ListAllUnconfirmedTransactionsRIBS) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListAllUnconfirmedTransactionsRIBSB.md b/docs/ListAllUnconfirmedTransactionsRIBSB.md index 8089332..71fc122 100644 --- a/docs/ListAllUnconfirmedTransactionsRIBSB.md +++ b/docs/ListAllUnconfirmedTransactionsRIBSB.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Defines the transaction's virtual size. | **Version** | **int32** | Defines the version of the transaction. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRIBSB -`func NewListAllUnconfirmedTransactionsRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSBVin, vout []ListUnconfirmedTransactionsByAddressRIBSBVout, ) *ListAllUnconfirmedTransactionsRIBSB` +`func NewListAllUnconfirmedTransactionsRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSBVin, vout []ListUnconfirmedTransactionsByAddressRIBSBVout, ) *ListAllUnconfirmedTransactionsRIBSB` NewListAllUnconfirmedTransactionsRIBSB instantiates a new ListAllUnconfirmedTransactionsRIBSB object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktime() int32` +`func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktimeOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSB) SetLocktime(v int32)` +`func (o *ListAllUnconfirmedTransactionsRIBSB) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListAllUnconfirmedTransactionsRIBSBC.md b/docs/ListAllUnconfirmedTransactionsRIBSBC.md index 2001c71..93d6815 100644 --- a/docs/ListAllUnconfirmedTransactionsRIBSBC.md +++ b/docs/ListAllUnconfirmedTransactionsRIBSBC.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | **Vin** | [**[]ListAllUnconfirmedTransactionsRIBSBCVin**](ListAllUnconfirmedTransactionsRIBSBCVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRIBSBC -`func NewListAllUnconfirmedTransactionsRIBSBC(locktime int32, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSBCVin, vout []ListAllUnconfirmedTransactionsRIBSBCVout, ) *ListAllUnconfirmedTransactionsRIBSBC` +`func NewListAllUnconfirmedTransactionsRIBSBC(locktime int64, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSBCVin, vout []ListAllUnconfirmedTransactionsRIBSBCVout, ) *ListAllUnconfirmedTransactionsRIBSBC` NewListAllUnconfirmedTransactionsRIBSBC instantiates a new ListAllUnconfirmedTransactionsRIBSBC object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktime() int32` +`func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktimeOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSBC) SetLocktime(v int32)` +`func (o *ListAllUnconfirmedTransactionsRIBSBC) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListAllUnconfirmedTransactionsRIBSD.md b/docs/ListAllUnconfirmedTransactionsRIBSD.md index db278ff..172096b 100644 --- a/docs/ListAllUnconfirmedTransactionsRIBSD.md +++ b/docs/ListAllUnconfirmedTransactionsRIBSD.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Defines the version of the transaction. | **Vin** | [**[]ListAllUnconfirmedTransactionsRIBSDVin**](ListAllUnconfirmedTransactionsRIBSDVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRIBSD -`func NewListAllUnconfirmedTransactionsRIBSD(locktime int32, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *ListAllUnconfirmedTransactionsRIBSD` +`func NewListAllUnconfirmedTransactionsRIBSD(locktime int64, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *ListAllUnconfirmedTransactionsRIBSD` NewListAllUnconfirmedTransactionsRIBSD instantiates a new ListAllUnconfirmedTransactionsRIBSD object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktime() int32` +`func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktimeOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSD) SetLocktime(v int32)` +`func (o *ListAllUnconfirmedTransactionsRIBSD) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListAllUnconfirmedTransactionsRIBSD2.md b/docs/ListAllUnconfirmedTransactionsRIBSD2.md index ab288cc..4655618 100644 --- a/docs/ListAllUnconfirmedTransactionsRIBSD2.md +++ b/docs/ListAllUnconfirmedTransactionsRIBSD2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | **Vin** | [**[]ListAllUnconfirmedTransactionsRIBSD2Vin**](ListAllUnconfirmedTransactionsRIBSD2Vin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRIBSD2 -`func NewListAllUnconfirmedTransactionsRIBSD2(locktime int32, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout, ) *ListAllUnconfirmedTransactionsRIBSD2` +`func NewListAllUnconfirmedTransactionsRIBSD2(locktime int64, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout, ) *ListAllUnconfirmedTransactionsRIBSD2` NewListAllUnconfirmedTransactionsRIBSD2 instantiates a new ListAllUnconfirmedTransactionsRIBSD2 object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktime() int32` +`func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktimeOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSD2) SetLocktime(v int32)` +`func (o *ListAllUnconfirmedTransactionsRIBSD2) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListAllUnconfirmedTransactionsRIBSDVin.md b/docs/ListAllUnconfirmedTransactionsRIBSDVin.md index 910ae0a..3fc3dde 100644 --- a/docs/ListAllUnconfirmedTransactionsRIBSDVin.md +++ b/docs/ListAllUnconfirmedTransactionsRIBSDVin.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Addresses** | **[]string** | | **ScriptSig** | [**ListConfirmedTransactionsByAddressRIBSDScriptSig**](ListConfirmedTransactionsByAddressRIBSDScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | **[]string** | | **Value** | **string** | Represents the sent/received amount. | @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRIBSDVin -`func NewListAllUnconfirmedTransactionsRIBSDVin(addresses []string, scriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig, sequence int32, txid string, txinwitness []string, value string, ) *ListAllUnconfirmedTransactionsRIBSDVin` +`func NewListAllUnconfirmedTransactionsRIBSDVin(addresses []string, scriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig, sequence int64, txid string, txinwitness []string, value string, ) *ListAllUnconfirmedTransactionsRIBSDVin` NewListAllUnconfirmedTransactionsRIBSDVin instantiates a new ListAllUnconfirmedTransactionsRIBSDVin object This constructor will assign default values to properties that have it defined, @@ -73,20 +73,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequence() int32` +`func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequenceOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *ListAllUnconfirmedTransactionsRIBSDVin) SetSequence(v int32)` +`func (o *ListAllUnconfirmedTransactionsRIBSDVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/ListAllUnconfirmedTransactionsRIBSL.md b/docs/ListAllUnconfirmedTransactionsRIBSL.md index 31281f7..84dc9ed 100644 --- a/docs/ListAllUnconfirmedTransactionsRIBSL.md +++ b/docs/ListAllUnconfirmedTransactionsRIBSL.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRIBSL -`func NewListAllUnconfirmedTransactionsRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *ListAllUnconfirmedTransactionsRIBSL` +`func NewListAllUnconfirmedTransactionsRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *ListAllUnconfirmedTransactionsRIBSL` NewListAllUnconfirmedTransactionsRIBSL instantiates a new ListAllUnconfirmedTransactionsRIBSL object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktime() int32` +`func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktimeOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSL) SetLocktime(v int32)` +`func (o *ListAllUnconfirmedTransactionsRIBSL) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListAllUnconfirmedTransactionsRIBSZ.md b/docs/ListAllUnconfirmedTransactionsRIBSZ.md index ecd0fa7..67f91f4 100644 --- a/docs/ListAllUnconfirmedTransactionsRIBSZ.md +++ b/docs/ListAllUnconfirmedTransactionsRIBSZ.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | **JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | **JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VJoinSplit** | [**[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit**](ListConfirmedTransactionsByAddressRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewListAllUnconfirmedTransactionsRIBSZ -`func NewListAllUnconfirmedTransactionsRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListAllUnconfirmedTransactionsRIBSZ` +`func NewListAllUnconfirmedTransactionsRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListAllUnconfirmedTransactionsRIBSZ` NewListAllUnconfirmedTransactionsRIBSZ instantiates a new ListAllUnconfirmedTransactionsRIBSZ object This constructor will assign default values to properties that have it defined, @@ -121,20 +121,20 @@ SetJoinSplitSig sets JoinSplitSig field to given value. ### GetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktime() int32` +`func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktimeOk() (*int32, bool)` +`func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListAllUnconfirmedTransactionsRIBSZ) SetLocktime(v int32)` +`func (o *ListAllUnconfirmedTransactionsRIBSZ) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListAssetsDetailsRData.md b/docs/ListAssetsDetailsRData.md index dd097aa..7429244 100644 --- a/docs/ListAssetsDetailsRData.md +++ b/docs/ListAssetsDetailsRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListAssetsDetailsRI**](ListAssetsDetailsRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListAssetsDetailsRData -`func NewListAssetsDetailsRData(offset int32, limit int32, total int32, items []ListAssetsDetailsRI, ) *ListAssetsDetailsRData` +`func NewListAssetsDetailsRData(limit int32, offset int32, total int32, items []ListAssetsDetailsRI, ) *ListAssetsDetailsRData` NewListAssetsDetailsRData instantiates a new ListAssetsDetailsRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListAssetsDetailsRDataWithDefaults instantiates a new ListAssetsDetailsRData This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListAssetsDetailsRData) GetOffset() int32` +`func (o *ListAssetsDetailsRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListAssetsDetailsRData) GetOffsetOk() (*int32, bool)` +`func (o *ListAssetsDetailsRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListAssetsDetailsRData) SetOffset(v int32)` +`func (o *ListAssetsDetailsRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListAssetsDetailsRData) GetLimit() int32` +`func (o *ListAssetsDetailsRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListAssetsDetailsRData) GetLimitOk() (*int32, bool)` +`func (o *ListAssetsDetailsRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListAssetsDetailsRData) SetLimit(v int32)` +`func (o *ListAssetsDetailsRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListBlockchainEventsSubscriptionsRData.md b/docs/ListBlockchainEventsSubscriptionsRData.md index 0b12c32..4bb4be4 100644 --- a/docs/ListBlockchainEventsSubscriptionsRData.md +++ b/docs/ListBlockchainEventsSubscriptionsRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListBlockchainEventsSubscriptionsRI**](ListBlockchainEventsSubscriptionsRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListBlockchainEventsSubscriptionsRData -`func NewListBlockchainEventsSubscriptionsRData(offset int32, limit int32, total int32, items []ListBlockchainEventsSubscriptionsRI, ) *ListBlockchainEventsSubscriptionsRData` +`func NewListBlockchainEventsSubscriptionsRData(limit int32, offset int32, total int32, items []ListBlockchainEventsSubscriptionsRI, ) *ListBlockchainEventsSubscriptionsRData` NewListBlockchainEventsSubscriptionsRData instantiates a new ListBlockchainEventsSubscriptionsRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListBlockchainEventsSubscriptionsRDataWithDefaults instantiates a new ListBlo This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListBlockchainEventsSubscriptionsRData) GetOffset() int32` +`func (o *ListBlockchainEventsSubscriptionsRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListBlockchainEventsSubscriptionsRData) GetOffsetOk() (*int32, bool)` +`func (o *ListBlockchainEventsSubscriptionsRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListBlockchainEventsSubscriptionsRData) SetOffset(v int32)` +`func (o *ListBlockchainEventsSubscriptionsRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListBlockchainEventsSubscriptionsRData) GetLimit() int32` +`func (o *ListBlockchainEventsSubscriptionsRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListBlockchainEventsSubscriptionsRData) GetLimitOk() (*int32, bool)` +`func (o *ListBlockchainEventsSubscriptionsRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListBlockchainEventsSubscriptionsRData) SetLimit(v int32)` +`func (o *ListBlockchainEventsSubscriptionsRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListBlockchainEventsSubscriptionsRI.md b/docs/ListBlockchainEventsSubscriptionsRI.md index a7ac46d..493abdb 100644 --- a/docs/ListBlockchainEventsSubscriptionsRI.md +++ b/docs/ListBlockchainEventsSubscriptionsRI.md @@ -5,20 +5,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Represents the address of the transaction. | -**CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | +**DeactivationReasons** | Pointer to [**[]ListBlockchainEventsSubscriptionsRIDeactivationReasons**](ListBlockchainEventsSubscriptionsRIDeactivationReasons.md) | Represents the deactivation reason details, available when a blockchain event subscription has status isActive - false. | [optional] **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | **ReferenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | -**TransactionId** | **string** | Represents the unique identification string that defines the transaction. | +**TransactionId** | Pointer to **string** | Represents the unique identification string that defines the transaction. | [optional] ## Methods ### NewListBlockchainEventsSubscriptionsRI -`func NewListBlockchainEventsSubscriptionsRI(address string, callbackSecretKey string, callbackUrl string, confirmationsCount int32, createdTimestamp int32, eventType string, isActive bool, referenceId string, transactionId string, ) *ListBlockchainEventsSubscriptionsRI` +`func NewListBlockchainEventsSubscriptionsRI(address string, callbackUrl string, confirmationsCount int32, createdTimestamp int32, eventType string, isActive bool, referenceId string, ) *ListBlockchainEventsSubscriptionsRI` NewListBlockchainEventsSubscriptionsRI instantiates a new ListBlockchainEventsSubscriptionsRI object This constructor will assign default values to properties that have it defined, @@ -72,6 +73,11 @@ and a boolean to check if the value has been set. SetCallbackSecretKey sets CallbackSecretKey field to given value. +### HasCallbackSecretKey + +`func (o *ListBlockchainEventsSubscriptionsRI) HasCallbackSecretKey() bool` + +HasCallbackSecretKey returns a boolean if a field has been set. ### GetCallbackUrl @@ -133,6 +139,31 @@ and a boolean to check if the value has been set. SetCreatedTimestamp sets CreatedTimestamp field to given value. +### GetDeactivationReasons + +`func (o *ListBlockchainEventsSubscriptionsRI) GetDeactivationReasons() []ListBlockchainEventsSubscriptionsRIDeactivationReasons` + +GetDeactivationReasons returns the DeactivationReasons field if non-nil, zero value otherwise. + +### GetDeactivationReasonsOk + +`func (o *ListBlockchainEventsSubscriptionsRI) GetDeactivationReasonsOk() (*[]ListBlockchainEventsSubscriptionsRIDeactivationReasons, bool)` + +GetDeactivationReasonsOk returns a tuple with the DeactivationReasons field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeactivationReasons + +`func (o *ListBlockchainEventsSubscriptionsRI) SetDeactivationReasons(v []ListBlockchainEventsSubscriptionsRIDeactivationReasons)` + +SetDeactivationReasons sets DeactivationReasons field to given value. + +### HasDeactivationReasons + +`func (o *ListBlockchainEventsSubscriptionsRI) HasDeactivationReasons() bool` + +HasDeactivationReasons returns a boolean if a field has been set. + ### GetEventType `func (o *ListBlockchainEventsSubscriptionsRI) GetEventType() string` @@ -212,6 +243,11 @@ and a boolean to check if the value has been set. SetTransactionId sets TransactionId field to given value. +### HasTransactionId + +`func (o *ListBlockchainEventsSubscriptionsRI) HasTransactionId() bool` + +HasTransactionId returns a boolean if a field has been set. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ListBlockchainEventsSubscriptionsRIDeactivationReasons.md b/docs/ListBlockchainEventsSubscriptionsRIDeactivationReasons.md new file mode 100644 index 0000000..6c25b4c --- /dev/null +++ b/docs/ListBlockchainEventsSubscriptionsRIDeactivationReasons.md @@ -0,0 +1,72 @@ +# ListBlockchainEventsSubscriptionsRIDeactivationReasons + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reason** | **string** | Defines the deactivation reason as a message. | +**Timestamp** | **int32** | Represents the time of the subscription deactivation. | + +## Methods + +### NewListBlockchainEventsSubscriptionsRIDeactivationReasons + +`func NewListBlockchainEventsSubscriptionsRIDeactivationReasons(reason string, timestamp int32, ) *ListBlockchainEventsSubscriptionsRIDeactivationReasons` + +NewListBlockchainEventsSubscriptionsRIDeactivationReasons instantiates a new ListBlockchainEventsSubscriptionsRIDeactivationReasons object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListBlockchainEventsSubscriptionsRIDeactivationReasonsWithDefaults + +`func NewListBlockchainEventsSubscriptionsRIDeactivationReasonsWithDefaults() *ListBlockchainEventsSubscriptionsRIDeactivationReasons` + +NewListBlockchainEventsSubscriptionsRIDeactivationReasonsWithDefaults instantiates a new ListBlockchainEventsSubscriptionsRIDeactivationReasons object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetReason + +`func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetTimestamp + +`func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) GetTimestamp() int32` + +GetTimestamp returns the Timestamp field if non-nil, zero value otherwise. + +### GetTimestampOk + +`func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) GetTimestampOk() (*int32, bool)` + +GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimestamp + +`func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) SetTimestamp(v int32)` + +SetTimestamp sets Timestamp field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListCoinsForwardingAutomationsRData.md b/docs/ListCoinsForwardingAutomationsRData.md index 5a69e5a..44c9c87 100644 --- a/docs/ListCoinsForwardingAutomationsRData.md +++ b/docs/ListCoinsForwardingAutomationsRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListCoinsForwardingAutomationsRI**](ListCoinsForwardingAutomationsRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListCoinsForwardingAutomationsRData -`func NewListCoinsForwardingAutomationsRData(offset int32, limit int32, total int32, items []ListCoinsForwardingAutomationsRI, ) *ListCoinsForwardingAutomationsRData` +`func NewListCoinsForwardingAutomationsRData(limit int32, offset int32, total int32, items []ListCoinsForwardingAutomationsRI, ) *ListCoinsForwardingAutomationsRData` NewListCoinsForwardingAutomationsRData instantiates a new ListCoinsForwardingAutomationsRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListCoinsForwardingAutomationsRDataWithDefaults instantiates a new ListCoinsF This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListCoinsForwardingAutomationsRData) GetOffset() int32` +`func (o *ListCoinsForwardingAutomationsRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListCoinsForwardingAutomationsRData) GetOffsetOk() (*int32, bool)` +`func (o *ListCoinsForwardingAutomationsRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListCoinsForwardingAutomationsRData) SetOffset(v int32)` +`func (o *ListCoinsForwardingAutomationsRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListCoinsForwardingAutomationsRData) GetLimit() int32` +`func (o *ListCoinsForwardingAutomationsRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListCoinsForwardingAutomationsRData) GetLimitOk() (*int32, bool)` +`func (o *ListCoinsForwardingAutomationsRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListCoinsForwardingAutomationsRData) SetLimit(v int32)` +`func (o *ListCoinsForwardingAutomationsRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListCoinsForwardingAutomationsRI.md b/docs/ListCoinsForwardingAutomationsRI.md index b8b6bf0..95e7c75 100644 --- a/docs/ListCoinsForwardingAutomationsRI.md +++ b/docs/ListCoinsForwardingAutomationsRI.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCountTrigger** | **int32** | Represents the total count of the transaction confirmations before triggering the event. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the automatic forwarding was created in Unix Timestamp. | **FeePriority** | **string** | Represents the fee priority of the automation, whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". | diff --git a/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE400.md b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE400.md new file mode 100644 index 0000000..80212cb --- /dev/null +++ b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE400.md @@ -0,0 +1,98 @@ +# ListConfirmedTokensTransfersByAddressAndTimeRangeE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeE400 + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeE400(code string, message string, ) *ListConfirmedTokensTransfersByAddressAndTimeRangeE400` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeE400 instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeE400WithDefaults + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeE400WithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeE400` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeE400WithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE401.md b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE401.md new file mode 100644 index 0000000..c5d3cbf --- /dev/null +++ b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE401.md @@ -0,0 +1,98 @@ +# ListConfirmedTokensTransfersByAddressAndTimeRangeE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeE401 + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeE401(code string, message string, ) *ListConfirmedTokensTransfersByAddressAndTimeRangeE401` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeE401 instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeE401WithDefaults + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeE401WithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeE401` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeE401WithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE403.md b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE403.md new file mode 100644 index 0000000..15e6431 --- /dev/null +++ b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeE403.md @@ -0,0 +1,98 @@ +# ListConfirmedTokensTransfersByAddressAndTimeRangeE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeE403 + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeE403(code string, message string, ) *ListConfirmedTokensTransfersByAddressAndTimeRangeE403` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeE403 instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeE403WithDefaults + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeE403WithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeE403` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeE403WithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeR.md b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeR.md new file mode 100644 index 0000000..9a94dd7 --- /dev/null +++ b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeR.md @@ -0,0 +1,119 @@ +# ListConfirmedTokensTransfersByAddressAndTimeRangeR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**ListConfirmedTokensTransfersByAddressAndTimeRangeRData**](ListConfirmedTokensTransfersByAddressAndTimeRangeRData.md) | | + +## Methods + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeR + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeR(apiVersion string, requestId string, data ListConfirmedTokensTransfersByAddressAndTimeRangeRData, ) *ListConfirmedTokensTransfersByAddressAndTimeRangeR` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeR instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeRWithDefaults + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeRWithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeR` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeRWithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetData() ListConfirmedTokensTransfersByAddressAndTimeRangeRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetDataOk() (*ListConfirmedTokensTransfersByAddressAndTimeRangeRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) SetData(v ListConfirmedTokensTransfersByAddressAndTimeRangeRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeRData.md b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeRData.md new file mode 100644 index 0000000..60ac8ce --- /dev/null +++ b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeRData.md @@ -0,0 +1,114 @@ +# ListConfirmedTokensTransfersByAddressAndTimeRangeRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | +**Total** | **int32** | Defines the total number of items returned in the response. | +**Items** | [**[]ListConfirmedTokensTransfersByAddressAndTimeRangeRI**](ListConfirmedTokensTransfersByAddressAndTimeRangeRI.md) | | + +## Methods + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeRData + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeRData(limit int32, offset int32, total int32, items []ListConfirmedTokensTransfersByAddressAndTimeRangeRI, ) *ListConfirmedTokensTransfersByAddressAndTimeRangeRData` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeRData instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeRDataWithDefaults + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeRDataWithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeRData` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeRDataWithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimit + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetLimit() int32` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetLimitOk() (*int32, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) SetLimit(v int32)` + +SetLimit sets Limit field to given value. + + +### GetOffset + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetOffset() int32` + +GetOffset returns the Offset field if non-nil, zero value otherwise. + +### GetOffsetOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetOffsetOk() (*int32, bool)` + +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOffset + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) SetOffset(v int32)` + +SetOffset sets Offset field to given value. + + +### GetTotal + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetTotal() int32` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetTotalOk() (*int32, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) SetTotal(v int32)` + +SetTotal sets Total field to given value. + + +### GetItems + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetItems() []ListConfirmedTokensTransfersByAddressAndTimeRangeRI` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetItemsOk() (*[]ListConfirmedTokensTransfersByAddressAndTimeRangeRI, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) SetItems(v []ListConfirmedTokensTransfersByAddressAndTimeRangeRI)` + +SetItems sets Items field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeRI.md b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeRI.md new file mode 100644 index 0000000..8cba5d3 --- /dev/null +++ b/docs/ListConfirmedTokensTransfersByAddressAndTimeRangeRI.md @@ -0,0 +1,292 @@ +# ListConfirmedTokensTransfersByAddressAndTimeRangeRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ContractAddress** | **string** | Represents the contract address of the token, which controls its logic. It is not the address that holds the tokens. | +**MinedInBlockHeight** | **int32** | Defines the block height in which this transaction was confirmed/mined. | +**RecipientAddress** | **string** | Defines the address to which the recipient receives the transferred tokens. | +**SenderAddress** | **string** | Defines the address from which the sender transfers tokens. | +**TokenDecimals** | **int32** | Defines the decimals of the token, i.e. the number of digits that come after the decimal coma of the token. | +**TokenId** | Pointer to **string** | Represents the unique token identifier. | [optional] +**TokenName** | **string** | Defines the token's name as a string. | +**TokenSymbol** | **string** | Defines the token symbol by which the token contract is known. It is usually 3-4 characters in length. | +**TokenType** | **string** | Defines the specific token type. | +**TokensAmount** | Pointer to **string** | Defines the token amount of the transfer. | [optional] +**TransactionHash** | **string** | Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | +**TransactionTimestamp** | **int32** | Defines the specific time/date when the transaction was created in Unix Timestamp. | + +## Methods + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeRI + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, transactionHash string, transactionTimestamp int32, ) *ListConfirmedTokensTransfersByAddressAndTimeRangeRI` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeRI instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTokensTransfersByAddressAndTimeRangeRIWithDefaults + +`func NewListConfirmedTokensTransfersByAddressAndTimeRangeRIWithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeRI` + +NewListConfirmedTokensTransfersByAddressAndTimeRangeRIWithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContractAddress + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetContractAddress() string` + +GetContractAddress returns the ContractAddress field if non-nil, zero value otherwise. + +### GetContractAddressOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetContractAddressOk() (*string, bool)` + +GetContractAddressOk returns a tuple with the ContractAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContractAddress + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetContractAddress(v string)` + +SetContractAddress sets ContractAddress field to given value. + + +### GetMinedInBlockHeight + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetMinedInBlockHeight() int32` + +GetMinedInBlockHeight returns the MinedInBlockHeight field if non-nil, zero value otherwise. + +### GetMinedInBlockHeightOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetMinedInBlockHeightOk() (*int32, bool)` + +GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinedInBlockHeight + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetMinedInBlockHeight(v int32)` + +SetMinedInBlockHeight sets MinedInBlockHeight field to given value. + + +### GetRecipientAddress + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetRecipientAddress() string` + +GetRecipientAddress returns the RecipientAddress field if non-nil, zero value otherwise. + +### GetRecipientAddressOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetRecipientAddressOk() (*string, bool)` + +GetRecipientAddressOk returns a tuple with the RecipientAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipientAddress + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetRecipientAddress(v string)` + +SetRecipientAddress sets RecipientAddress field to given value. + + +### GetSenderAddress + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetSenderAddress() string` + +GetSenderAddress returns the SenderAddress field if non-nil, zero value otherwise. + +### GetSenderAddressOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetSenderAddressOk() (*string, bool)` + +GetSenderAddressOk returns a tuple with the SenderAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSenderAddress + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetSenderAddress(v string)` + +SetSenderAddress sets SenderAddress field to given value. + + +### GetTokenDecimals + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenDecimals() int32` + +GetTokenDecimals returns the TokenDecimals field if non-nil, zero value otherwise. + +### GetTokenDecimalsOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenDecimalsOk() (*int32, bool)` + +GetTokenDecimalsOk returns a tuple with the TokenDecimals field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenDecimals + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenDecimals(v int32)` + +SetTokenDecimals sets TokenDecimals field to given value. + + +### GetTokenId + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenId() string` + +GetTokenId returns the TokenId field if non-nil, zero value otherwise. + +### GetTokenIdOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenIdOk() (*string, bool)` + +GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenId + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenId(v string)` + +SetTokenId sets TokenId field to given value. + +### HasTokenId + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) HasTokenId() bool` + +HasTokenId returns a boolean if a field has been set. + +### GetTokenName + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenName() string` + +GetTokenName returns the TokenName field if non-nil, zero value otherwise. + +### GetTokenNameOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenNameOk() (*string, bool)` + +GetTokenNameOk returns a tuple with the TokenName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenName + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenName(v string)` + +SetTokenName sets TokenName field to given value. + + +### GetTokenSymbol + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenSymbol() string` + +GetTokenSymbol returns the TokenSymbol field if non-nil, zero value otherwise. + +### GetTokenSymbolOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenSymbolOk() (*string, bool)` + +GetTokenSymbolOk returns a tuple with the TokenSymbol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenSymbol + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenSymbol(v string)` + +SetTokenSymbol sets TokenSymbol field to given value. + + +### GetTokenType + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenType() string` + +GetTokenType returns the TokenType field if non-nil, zero value otherwise. + +### GetTokenTypeOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenTypeOk() (*string, bool)` + +GetTokenTypeOk returns a tuple with the TokenType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenType + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenType(v string)` + +SetTokenType sets TokenType field to given value. + + +### GetTokensAmount + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokensAmount() string` + +GetTokensAmount returns the TokensAmount field if non-nil, zero value otherwise. + +### GetTokensAmountOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokensAmountOk() (*string, bool)` + +GetTokensAmountOk returns a tuple with the TokensAmount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokensAmount + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokensAmount(v string)` + +SetTokensAmount sets TokensAmount field to given value. + +### HasTokensAmount + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) HasTokensAmount() bool` + +HasTokensAmount returns a boolean if a field has been set. + +### GetTransactionHash + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetTransactionTimestamp + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTransactionTimestamp() int32` + +GetTransactionTimestamp returns the TransactionTimestamp field if non-nil, zero value otherwise. + +### GetTransactionTimestampOk + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTransactionTimestampOk() (*int32, bool)` + +GetTransactionTimestampOk returns a tuple with the TransactionTimestamp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionTimestamp + +`func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTransactionTimestamp(v int32)` + +SetTransactionTimestamp sets TransactionTimestamp field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTokensTransfersByAddressRData.md b/docs/ListConfirmedTokensTransfersByAddressRData.md index cfde8c1..fd7a812 100644 --- a/docs/ListConfirmedTokensTransfersByAddressRData.md +++ b/docs/ListConfirmedTokensTransfersByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListConfirmedTokensTransfersByAddressRI**](ListConfirmedTokensTransfersByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListConfirmedTokensTransfersByAddressRData -`func NewListConfirmedTokensTransfersByAddressRData(offset int32, limit int32, total int32, items []ListConfirmedTokensTransfersByAddressRI, ) *ListConfirmedTokensTransfersByAddressRData` +`func NewListConfirmedTokensTransfersByAddressRData(limit int32, offset int32, total int32, items []ListConfirmedTokensTransfersByAddressRI, ) *ListConfirmedTokensTransfersByAddressRData` NewListConfirmedTokensTransfersByAddressRData instantiates a new ListConfirmedTokensTransfersByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListConfirmedTokensTransfersByAddressRDataWithDefaults instantiates a new Lis This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListConfirmedTokensTransfersByAddressRData) GetOffset() int32` +`func (o *ListConfirmedTokensTransfersByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListConfirmedTokensTransfersByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListConfirmedTokensTransfersByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListConfirmedTokensTransfersByAddressRData) SetOffset(v int32)` +`func (o *ListConfirmedTokensTransfersByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListConfirmedTokensTransfersByAddressRData) GetLimit() int32` +`func (o *ListConfirmedTokensTransfersByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListConfirmedTokensTransfersByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListConfirmedTokensTransfersByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListConfirmedTokensTransfersByAddressRData) SetLimit(v int32)` +`func (o *ListConfirmedTokensTransfersByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListConfirmedTokensTransfersByAddressRI.md b/docs/ListConfirmedTokensTransfersByAddressRI.md index 6f59819..2ea3679 100644 --- a/docs/ListConfirmedTokensTransfersByAddressRI.md +++ b/docs/ListConfirmedTokensTransfersByAddressRI.md @@ -16,12 +16,13 @@ Name | Type | Description | Notes **TokensAmount** | Pointer to **string** | Defines the token amount of the transfer. | [optional] **TransactionHash** | **string** | Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | **TransactionTimestamp** | **int32** | Defines the specific time/date when the transaction was created in Unix Timestamp. | +**TransactionFee** | [**ListTokensTransfersByTransactionHashRITransactionFee**](ListTokensTransfersByTransactionHashRITransactionFee.md) | | ## Methods ### NewListConfirmedTokensTransfersByAddressRI -`func NewListConfirmedTokensTransfersByAddressRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, transactionHash string, transactionTimestamp int32, ) *ListConfirmedTokensTransfersByAddressRI` +`func NewListConfirmedTokensTransfersByAddressRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, transactionHash string, transactionTimestamp int32, transactionFee ListTokensTransfersByTransactionHashRITransactionFee, ) *ListConfirmedTokensTransfersByAddressRI` NewListConfirmedTokensTransfersByAddressRI instantiates a new ListConfirmedTokensTransfersByAddressRI object This constructor will assign default values to properties that have it defined, @@ -286,6 +287,26 @@ and a boolean to check if the value has been set. SetTransactionTimestamp sets TransactionTimestamp field to given value. +### GetTransactionFee + +`func (o *ListConfirmedTokensTransfersByAddressRI) GetTransactionFee() ListTokensTransfersByTransactionHashRITransactionFee` + +GetTransactionFee returns the TransactionFee field if non-nil, zero value otherwise. + +### GetTransactionFeeOk + +`func (o *ListConfirmedTokensTransfersByAddressRI) GetTransactionFeeOk() (*ListTokensTransfersByTransactionHashRITransactionFee, bool)` + +GetTransactionFeeOk returns a tuple with the TransactionFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionFee + +`func (o *ListConfirmedTokensTransfersByAddressRI) SetTransactionFee(v ListTokensTransfersByTransactionHashRITransactionFee)` + +SetTransactionFee sets TransactionFee field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeE400.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeE400.md new file mode 100644 index 0000000..f138038 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeE400.md @@ -0,0 +1,98 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeE400 + +`func NewListConfirmedTransactionsByAddressAndTimeRangeE400(code string, message string, ) *ListConfirmedTransactionsByAddressAndTimeRangeE400` + +NewListConfirmedTransactionsByAddressAndTimeRangeE400 instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeE400WithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeE400WithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeE400` + +NewListConfirmedTransactionsByAddressAndTimeRangeE400WithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeE401.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeE401.md new file mode 100644 index 0000000..25cff89 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeE401.md @@ -0,0 +1,98 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeE401 + +`func NewListConfirmedTransactionsByAddressAndTimeRangeE401(code string, message string, ) *ListConfirmedTransactionsByAddressAndTimeRangeE401` + +NewListConfirmedTransactionsByAddressAndTimeRangeE401 instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeE401WithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeE401WithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeE401` + +NewListConfirmedTransactionsByAddressAndTimeRangeE401WithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeE403.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeE403.md new file mode 100644 index 0000000..026704c --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeE403.md @@ -0,0 +1,98 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeE403 + +`func NewListConfirmedTransactionsByAddressAndTimeRangeE403(code string, message string, ) *ListConfirmedTransactionsByAddressAndTimeRangeE403` + +NewListConfirmedTransactionsByAddressAndTimeRangeE403 instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeE403WithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeE403WithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeE403` + +NewListConfirmedTransactionsByAddressAndTimeRangeE403WithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeR.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeR.md new file mode 100644 index 0000000..1fec0b3 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeR.md @@ -0,0 +1,119 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**ListConfirmedTransactionsByAddressAndTimeRangeRData**](ListConfirmedTransactionsByAddressAndTimeRangeRData.md) | | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeR + +`func NewListConfirmedTransactionsByAddressAndTimeRangeR(apiVersion string, requestId string, data ListConfirmedTransactionsByAddressAndTimeRangeRData, ) *ListConfirmedTransactionsByAddressAndTimeRangeR` + +NewListConfirmedTransactionsByAddressAndTimeRangeR instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeR` + +NewListConfirmedTransactionsByAddressAndTimeRangeRWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetData() ListConfirmedTransactionsByAddressAndTimeRangeRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetDataOk() (*ListConfirmedTransactionsByAddressAndTimeRangeRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) SetData(v ListConfirmedTransactionsByAddressAndTimeRangeRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRData.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRData.md new file mode 100644 index 0000000..67b8816 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRData.md @@ -0,0 +1,114 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | +**Total** | **int32** | Defines the total number of items returned in the response. | +**Items** | [**[]ListConfirmedTransactionsByAddressAndTimeRangeRI**](ListConfirmedTransactionsByAddressAndTimeRangeRI.md) | | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRData + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRData(limit int32, offset int32, total int32, items []ListConfirmedTransactionsByAddressAndTimeRangeRI, ) *ListConfirmedTransactionsByAddressAndTimeRangeRData` + +NewListConfirmedTransactionsByAddressAndTimeRangeRData instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRDataWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRDataWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRData` + +NewListConfirmedTransactionsByAddressAndTimeRangeRDataWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetLimit() int32` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetLimitOk() (*int32, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) SetLimit(v int32)` + +SetLimit sets Limit field to given value. + + +### GetOffset + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetOffset() int32` + +GetOffset returns the Offset field if non-nil, zero value otherwise. + +### GetOffsetOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetOffsetOk() (*int32, bool)` + +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOffset + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) SetOffset(v int32)` + +SetOffset sets Offset field to given value. + + +### GetTotal + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetTotal() int32` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetTotalOk() (*int32, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) SetTotal(v int32)` + +SetTotal sets Total field to given value. + + +### GetItems + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetItems() []ListConfirmedTransactionsByAddressAndTimeRangeRI` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetItemsOk() (*[]ListConfirmedTransactionsByAddressAndTimeRangeRI, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) SetItems(v []ListConfirmedTransactionsByAddressAndTimeRangeRI)` + +SetItems sets Items field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRI.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRI.md new file mode 100644 index 0000000..b4b9619 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRI.md @@ -0,0 +1,250 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Index** | **int32** | Represents the index position of the transaction in the block. | +**MinedInBlockHash** | Pointer to **string** | Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | [optional] +**MinedInBlockHeight** | Pointer to **int32** | Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. | [optional] +**Recipients** | [**[]GetTransactionDetailsByTransactionIDRIRecipients**](GetTransactionDetailsByTransactionIDRIRecipients.md) | Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. | +**Senders** | [**[]GetTransactionDetailsByTransactionIDRISenders**](GetTransactionDetailsByTransactionIDRISenders.md) | Represents a list of sender addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. | +**Timestamp** | **int32** | Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. | +**TransactionHash** | **string** | Represents the same as `transactionId` for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` for SegWit transactions. | +**TransactionId** | **string** | Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. | +**Fee** | [**ListConfirmedTransactionsByAddressRIFee**](ListConfirmedTransactionsByAddressRIFee.md) | | +**BlockchainSpecific** | [**ListConfirmedTransactionsByAddressAndTimeRangeRIBS**](ListConfirmedTransactionsByAddressAndTimeRangeRIBS.md) | | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRI + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRI(index int32, recipients []GetTransactionDetailsByTransactionIDRIRecipients, senders []GetTransactionDetailsByTransactionIDRISenders, timestamp int32, transactionHash string, transactionId string, fee ListConfirmedTransactionsByAddressRIFee, blockchainSpecific ListConfirmedTransactionsByAddressAndTimeRangeRIBS, ) *ListConfirmedTransactionsByAddressAndTimeRangeRI` + +NewListConfirmedTransactionsByAddressAndTimeRangeRI instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRI` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIndex + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetIndex() int32` + +GetIndex returns the Index field if non-nil, zero value otherwise. + +### GetIndexOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetIndexOk() (*int32, bool)` + +GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndex + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetIndex(v int32)` + +SetIndex sets Index field to given value. + + +### GetMinedInBlockHash + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHash() string` + +GetMinedInBlockHash returns the MinedInBlockHash field if non-nil, zero value otherwise. + +### GetMinedInBlockHashOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHashOk() (*string, bool)` + +GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinedInBlockHash + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHash(v string)` + +SetMinedInBlockHash sets MinedInBlockHash field to given value. + +### HasMinedInBlockHash + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) HasMinedInBlockHash() bool` + +HasMinedInBlockHash returns a boolean if a field has been set. + +### GetMinedInBlockHeight + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeight() int32` + +GetMinedInBlockHeight returns the MinedInBlockHeight field if non-nil, zero value otherwise. + +### GetMinedInBlockHeightOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeightOk() (*int32, bool)` + +GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinedInBlockHeight + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHeight(v int32)` + +SetMinedInBlockHeight sets MinedInBlockHeight field to given value. + +### HasMinedInBlockHeight + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) HasMinedInBlockHeight() bool` + +HasMinedInBlockHeight returns a boolean if a field has been set. + +### GetRecipients + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetRecipients() []GetTransactionDetailsByTransactionIDRIRecipients` + +GetRecipients returns the Recipients field if non-nil, zero value otherwise. + +### GetRecipientsOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetRecipientsOk() (*[]GetTransactionDetailsByTransactionIDRIRecipients, bool)` + +GetRecipientsOk returns a tuple with the Recipients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipients + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetRecipients(v []GetTransactionDetailsByTransactionIDRIRecipients)` + +SetRecipients sets Recipients field to given value. + + +### GetSenders + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetSenders() []GetTransactionDetailsByTransactionIDRISenders` + +GetSenders returns the Senders field if non-nil, zero value otherwise. + +### GetSendersOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetSendersOk() (*[]GetTransactionDetailsByTransactionIDRISenders, bool)` + +GetSendersOk returns a tuple with the Senders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSenders + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetSenders(v []GetTransactionDetailsByTransactionIDRISenders)` + +SetSenders sets Senders field to given value. + + +### GetTimestamp + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTimestamp() int32` + +GetTimestamp returns the Timestamp field if non-nil, zero value otherwise. + +### GetTimestampOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTimestampOk() (*int32, bool)` + +GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimestamp + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetTimestamp(v int32)` + +SetTimestamp sets Timestamp field to given value. + + +### GetTransactionHash + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetTransactionId + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTransactionId() string` + +GetTransactionId returns the TransactionId field if non-nil, zero value otherwise. + +### GetTransactionIdOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTransactionIdOk() (*string, bool)` + +GetTransactionIdOk returns a tuple with the TransactionId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionId + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetTransactionId(v string)` + +SetTransactionId sets TransactionId field to given value. + + +### GetFee + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetFee() ListConfirmedTransactionsByAddressRIFee` + +GetFee returns the Fee field if non-nil, zero value otherwise. + +### GetFeeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetFeeOk() (*ListConfirmedTransactionsByAddressRIFee, bool)` + +GetFeeOk returns a tuple with the Fee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFee + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetFee(v ListConfirmedTransactionsByAddressRIFee)` + +SetFee sets Fee field to given value. + + +### GetBlockchainSpecific + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetBlockchainSpecific() ListConfirmedTransactionsByAddressAndTimeRangeRIBS` + +GetBlockchainSpecific returns the BlockchainSpecific field if non-nil, zero value otherwise. + +### GetBlockchainSpecificOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetBlockchainSpecificOk() (*ListConfirmedTransactionsByAddressAndTimeRangeRIBS, bool)` + +GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBlockchainSpecific + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetBlockchainSpecific(v ListConfirmedTransactionsByAddressAndTimeRangeRIBS)` + +SetBlockchainSpecific sets BlockchainSpecific field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBS.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBS.md new file mode 100644 index 0000000..a7c7f9c --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBS.md @@ -0,0 +1,513 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBS + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Size** | **int32** | Represents the total size of this transaction. | +**VSize** | **int32** | Represents the virtual size of this transaction. | +**Version** | **int32** | Defines the version of the transaction. | +**Vin** | [**[]ListConfirmedTransactionsByAddressRIBSZVin**](ListConfirmedTransactionsByAddressRIBSZVin.md) | Object Array representation of transaction inputs | +**Vout** | [**[]GetTransactionDetailsByTransactionIDRIBSZVout**](GetTransactionDetailsByTransactionIDRIBSZVout.md) | Object Array representation of transaction outputs | +**Contract** | **string** | Represents the specific transaction contract. | +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | +**GasPrice** | [**ListConfirmedTransactionsByAddressRIBSBSCGasPrice**](ListConfirmedTransactionsByAddressRIBSBSCGasPrice.md) | | +**GasUsed** | **string** | Represents the exact unit of gas that was used for the transaction. | +**InputData** | **string** | Represents additional information that is required for the transaction. | +**Nonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | +**TransactionStatus** | **string** | String representation of the transaction status | +**BindingSig** | **string** | It is used to enforce balance of Spend and Output transfers, in order to prevent their replay across transactions. | +**ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | +**JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | +**JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | +**Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | +**VJoinSplit** | [**[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit**](ListConfirmedTransactionsByAddressRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | +**VShieldedOutput** | [**[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput**](GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput.md) | Object Array representation of transaction output descriptions | +**VShieldedSpend** | [**[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend**](GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend.md) | Object Array representation of transaction spend descriptions | +**ValueBalance** | **string** | Defines the transaction value balance. | +**VersionGroupId** | **string** | Represents the transaction version group ID. | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBS + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBS(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBS` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBS instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBS object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBS` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBS object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetLocktime() int64` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetLocktimeOk() (*int64, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetLocktime(v int64)` + +SetLocktime sets Locktime field to given value. + + +### GetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetSize() int32` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetSizeOk() (*int32, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetSize(v int32)` + +SetSize sets Size field to given value. + + +### GetVSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVin() []ListConfirmedTransactionsByAddressRIBSZVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSZVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetVin(v []ListConfirmedTransactionsByAddressRIBSZVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVout() []GetTransactionDetailsByTransactionIDRIBSZVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetVout(v []GetTransactionDetailsByTransactionIDRIBSZVout)` + +SetVout sets Vout field to given value. + + +### GetContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetContract() string` + +GetContract returns the Contract field if non-nil, zero value otherwise. + +### GetContractOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetContractOk() (*string, bool)` + +GetContractOk returns a tuple with the Contract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetContract(v string)` + +SetContract sets Contract field to given value. + + +### GetGasLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + +### GetGasPrice + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetGasPrice() ListConfirmedTransactionsByAddressRIBSBSCGasPrice` + +GetGasPrice returns the GasPrice field if non-nil, zero value otherwise. + +### GetGasPriceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSBSCGasPrice, bool)` + +GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPrice + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetGasPrice(v ListConfirmedTransactionsByAddressRIBSBSCGasPrice)` + +SetGasPrice sets GasPrice field to given value. + + +### GetGasUsed + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetGasUsed() string` + +GetGasUsed returns the GasUsed field if non-nil, zero value otherwise. + +### GetGasUsedOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetGasUsedOk() (*string, bool)` + +GetGasUsedOk returns a tuple with the GasUsed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasUsed + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetGasUsed(v string)` + +SetGasUsed sets GasUsed field to given value. + + +### GetInputData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetInputData() string` + +GetInputData returns the InputData field if non-nil, zero value otherwise. + +### GetInputDataOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetInputDataOk() (*string, bool)` + +GetInputDataOk returns a tuple with the InputData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetInputData(v string)` + +SetInputData sets InputData field to given value. + + +### GetNonce + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetNonce() int32` + +GetNonce returns the Nonce field if non-nil, zero value otherwise. + +### GetNonceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetNonceOk() (*int32, bool)` + +GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonce + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetNonce(v int32)` + +SetNonce sets Nonce field to given value. + + +### GetTransactionStatus + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetTransactionStatus() string` + +GetTransactionStatus returns the TransactionStatus field if non-nil, zero value otherwise. + +### GetTransactionStatusOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetTransactionStatusOk() (*string, bool)` + +GetTransactionStatusOk returns a tuple with the TransactionStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionStatus + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetTransactionStatus(v string)` + +SetTransactionStatus sets TransactionStatus field to given value. + + +### GetBindingSig + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetBindingSig() string` + +GetBindingSig returns the BindingSig field if non-nil, zero value otherwise. + +### GetBindingSigOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetBindingSigOk() (*string, bool)` + +GetBindingSigOk returns a tuple with the BindingSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBindingSig + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetBindingSig(v string)` + +SetBindingSig sets BindingSig field to given value. + + +### GetExpiryHeight + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetExpiryHeight() int32` + +GetExpiryHeight returns the ExpiryHeight field if non-nil, zero value otherwise. + +### GetExpiryHeightOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetExpiryHeightOk() (*int32, bool)` + +GetExpiryHeightOk returns a tuple with the ExpiryHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpiryHeight + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetExpiryHeight(v int32)` + +SetExpiryHeight sets ExpiryHeight field to given value. + + +### GetJoinSplitPubKey + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetJoinSplitPubKey() string` + +GetJoinSplitPubKey returns the JoinSplitPubKey field if non-nil, zero value otherwise. + +### GetJoinSplitPubKeyOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetJoinSplitPubKeyOk() (*string, bool)` + +GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJoinSplitPubKey + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetJoinSplitPubKey(v string)` + +SetJoinSplitPubKey sets JoinSplitPubKey field to given value. + + +### GetJoinSplitSig + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetJoinSplitSig() string` + +GetJoinSplitSig returns the JoinSplitSig field if non-nil, zero value otherwise. + +### GetJoinSplitSigOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetJoinSplitSigOk() (*string, bool)` + +GetJoinSplitSigOk returns a tuple with the JoinSplitSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJoinSplitSig + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetJoinSplitSig(v string)` + +SetJoinSplitSig sets JoinSplitSig field to given value. + + +### GetOverwintered + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetOverwintered() bool` + +GetOverwintered returns the Overwintered field if non-nil, zero value otherwise. + +### GetOverwinteredOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetOverwinteredOk() (*bool, bool)` + +GetOverwinteredOk returns a tuple with the Overwintered field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverwintered + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetOverwintered(v bool)` + +SetOverwintered sets Overwintered field to given value. + + +### GetVJoinSplit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVJoinSplit() []ListConfirmedTransactionsByAddressRIBSZVJoinSplit` + +GetVJoinSplit returns the VJoinSplit field if non-nil, zero value otherwise. + +### GetVJoinSplitOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVJoinSplitOk() (*[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool)` + +GetVJoinSplitOk returns a tuple with the VJoinSplit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVJoinSplit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetVJoinSplit(v []ListConfirmedTransactionsByAddressRIBSZVJoinSplit)` + +SetVJoinSplit sets VJoinSplit field to given value. + + +### GetVShieldedOutput + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVShieldedOutput() []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput` + +GetVShieldedOutput returns the VShieldedOutput field if non-nil, zero value otherwise. + +### GetVShieldedOutputOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool)` + +GetVShieldedOutputOk returns a tuple with the VShieldedOutput field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVShieldedOutput + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetVShieldedOutput(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput)` + +SetVShieldedOutput sets VShieldedOutput field to given value. + + +### GetVShieldedSpend + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVShieldedSpend() []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend` + +GetVShieldedSpend returns the VShieldedSpend field if non-nil, zero value otherwise. + +### GetVShieldedSpendOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool)` + +GetVShieldedSpendOk returns a tuple with the VShieldedSpend field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVShieldedSpend + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetVShieldedSpend(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend)` + +SetVShieldedSpend sets VShieldedSpend field to given value. + + +### GetValueBalance + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetValueBalance() string` + +GetValueBalance returns the ValueBalance field if non-nil, zero value otherwise. + +### GetValueBalanceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetValueBalanceOk() (*string, bool)` + +GetValueBalanceOk returns a tuple with the ValueBalance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValueBalance + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetValueBalance(v string)` + +SetValueBalance sets ValueBalance field to given value. + + +### GetVersionGroupId + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVersionGroupId() string` + +GetVersionGroupId returns the VersionGroupId field if non-nil, zero value otherwise. + +### GetVersionGroupIdOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetVersionGroupIdOk() (*string, bool)` + +GetVersionGroupIdOk returns a tuple with the VersionGroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionGroupId + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) SetVersionGroupId(v string)` + +SetVersionGroupId sets VersionGroupId field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSB.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSB.md new file mode 100644 index 0000000..f12a37e --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSB.md @@ -0,0 +1,156 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSB + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Size** | **int32** | Represents the total size of this transaction. | +**VSize** | **int32** | Defines the transaction's virtual size. | +**Version** | **int32** | Defines the version of the transaction. | +**Vin** | [**[]ListConfirmedTransactionsByAddressRIBSBVin**](ListConfirmedTransactionsByAddressRIBSBVin.md) | Represents the transaction inputs. | +**Vout** | [**[]ListConfirmedTransactionsByAddressRIBSBVout**](ListConfirmedTransactionsByAddressRIBSBVout.md) | Represents the transaction outputs. | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSB + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBVin, vout []ListConfirmedTransactionsByAddressRIBSBVout, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSB instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSB object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSB object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetLocktime() int64` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetLocktimeOk() (*int64, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetLocktime(v int64)` + +SetLocktime sets Locktime field to given value. + + +### GetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetSize() int32` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetSizeOk() (*int32, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetSize(v int32)` + +SetSize sets Size field to given value. + + +### GetVSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVin() []ListConfirmedTransactionsByAddressRIBSBVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSBVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetVin(v []ListConfirmedTransactionsByAddressRIBSBVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVout() []ListConfirmedTransactionsByAddressRIBSBVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVoutOk() (*[]ListConfirmedTransactionsByAddressRIBSBVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetVout(v []ListConfirmedTransactionsByAddressRIBSBVout)` + +SetVout sets Vout field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC.md new file mode 100644 index 0000000..47ea653 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC.md @@ -0,0 +1,140 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Size** | **int32** | Represents the total size of this transaction. | +**Version** | **int32** | Represents the transaction's version number. | +**Vin** | [**[]ListConfirmedTransactionsByAddressRIBSBCVin**](ListConfirmedTransactionsByAddressRIBSBCVin.md) | Represents the transaction inputs. | +**Vout** | Pointer to [**[]GetTransactionDetailsByTransactionIDRIBSBCVout**](GetTransactionDetailsByTransactionIDRIBSBCVout.md) | Represents the transaction outputs. | [optional] + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBC + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBC(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBCVin, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBC instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBCWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBCWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBCWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetLocktime() int64` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetLocktimeOk() (*int64, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetLocktime(v int64)` + +SetLocktime sets Locktime field to given value. + + +### GetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetSize() int32` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetSizeOk() (*int32, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetSize(v int32)` + +SetSize sets Size field to given value. + + +### GetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVin() []ListConfirmedTransactionsByAddressRIBSBCVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSBCVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetVin(v []ListConfirmedTransactionsByAddressRIBSBCVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVout() []GetTransactionDetailsByTransactionIDRIBSBCVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSBCVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetVout(v []GetTransactionDetailsByTransactionIDRIBSBCVout)` + +SetVout sets Vout field to given value. + +### HasVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) HasVout() bool` + +HasVout returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC.md new file mode 100644 index 0000000..00e6533 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC.md @@ -0,0 +1,182 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Contract** | Pointer to **string** | Represents the specific transaction contract. | [optional] +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | +**GasPrice** | [**ListConfirmedTransactionsByAddressRIBSBSCGasPrice**](ListConfirmedTransactionsByAddressRIBSBSCGasPrice.md) | | +**GasUsed** | **string** | Represents the exact unit of gas that was used for the transaction. | +**InputData** | **string** | Represents additional information that is required for the transaction. | +**Nonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | +**TransactionStatus** | **string** | String representation of the transaction status | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC(gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSCWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSCWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSCWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetContract() string` + +GetContract returns the Contract field if non-nil, zero value otherwise. + +### GetContractOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetContractOk() (*string, bool)` + +GetContractOk returns a tuple with the Contract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetContract(v string)` + +SetContract sets Contract field to given value. + +### HasContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) HasContract() bool` + +HasContract returns a boolean if a field has been set. + +### GetGasLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + +### GetGasPrice + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasPrice() ListConfirmedTransactionsByAddressRIBSBSCGasPrice` + +GetGasPrice returns the GasPrice field if non-nil, zero value otherwise. + +### GetGasPriceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSBSCGasPrice, bool)` + +GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPrice + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetGasPrice(v ListConfirmedTransactionsByAddressRIBSBSCGasPrice)` + +SetGasPrice sets GasPrice field to given value. + + +### GetGasUsed + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasUsed() string` + +GetGasUsed returns the GasUsed field if non-nil, zero value otherwise. + +### GetGasUsedOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasUsedOk() (*string, bool)` + +GetGasUsedOk returns a tuple with the GasUsed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasUsed + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetGasUsed(v string)` + +SetGasUsed sets GasUsed field to given value. + + +### GetInputData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetInputData() string` + +GetInputData returns the InputData field if non-nil, zero value otherwise. + +### GetInputDataOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetInputDataOk() (*string, bool)` + +GetInputDataOk returns a tuple with the InputData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetInputData(v string)` + +SetInputData sets InputData field to given value. + + +### GetNonce + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetNonce() int32` + +GetNonce returns the Nonce field if non-nil, zero value otherwise. + +### GetNonceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetNonceOk() (*int32, bool)` + +GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonce + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetNonce(v int32)` + +SetNonce sets Nonce field to given value. + + +### GetTransactionStatus + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetTransactionStatus() string` + +GetTransactionStatus returns the TransactionStatus field if non-nil, zero value otherwise. + +### GetTransactionStatusOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetTransactionStatusOk() (*string, bool)` + +GetTransactionStatusOk returns a tuple with the TransactionStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionStatus + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetTransactionStatus(v string)` + +SetTransactionStatus sets TransactionStatus field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD.md new file mode 100644 index 0000000..af3da6f --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD.md @@ -0,0 +1,135 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSD + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Size** | **int32** | Represents the total size of this transaction. | +**Version** | **int32** | Represents the transaction's version number. | +**Vin** | [**[]ListConfirmedTransactionsByAddressRIBSDVin**](ListConfirmedTransactionsByAddressRIBSDVin.md) | Represents the transaction inputs. | +**Vout** | [**[]GetTransactionDetailsByTransactionIDRIBSDVout**](GetTransactionDetailsByTransactionIDRIBSDVout.md) | Represents the transaction outputs. | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSD object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSDWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSDWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSDWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSD object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetLocktime() int64` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetLocktimeOk() (*int64, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetLocktime(v int64)` + +SetLocktime sets Locktime field to given value. + + +### GetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetSize() int32` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetSizeOk() (*int32, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetSize(v int32)` + +SetSize sets Size field to given value. + + +### GetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVin() []ListConfirmedTransactionsByAddressRIBSDVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSDVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetVin(v []ListConfirmedTransactionsByAddressRIBSDVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVout() []GetTransactionDetailsByTransactionIDRIBSDVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSDVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetVout(v []GetTransactionDetailsByTransactionIDRIBSDVout)` + +SetVout sets Vout field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2.md new file mode 100644 index 0000000..debb82e --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2.md @@ -0,0 +1,135 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Size** | **int32** | Represents the total size of this transaction. | +**Version** | **int32** | Represents the transaction's version number. | +**Vin** | [**[]ListConfirmedTransactionsByAddressRIBSD2Vin**](ListConfirmedTransactionsByAddressRIBSD2Vin.md) | Represents the transaction inputs. | +**Vout** | [**[]ListConfirmedTransactionsByAddressRIBSD2Vout**](ListConfirmedTransactionsByAddressRIBSD2Vout.md) | Represents the transaction outputs. | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2WithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2WithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2WithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetLocktime() int64` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetLocktimeOk() (*int64, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetLocktime(v int64)` + +SetLocktime sets Locktime field to given value. + + +### GetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetSize() int32` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetSizeOk() (*int32, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetSize(v int32)` + +SetSize sets Size field to given value. + + +### GetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVin() []ListConfirmedTransactionsByAddressRIBSD2Vin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSD2Vin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetVin(v []ListConfirmedTransactionsByAddressRIBSD2Vin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVout() []ListConfirmedTransactionsByAddressRIBSD2Vout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVoutOk() (*[]ListConfirmedTransactionsByAddressRIBSD2Vout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetVout(v []ListConfirmedTransactionsByAddressRIBSD2Vout)` + +SetVout sets Vout field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSE.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSE.md new file mode 100644 index 0000000..13dbdda --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSE.md @@ -0,0 +1,177 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSE + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Contract** | **string** | Represents the specific transaction contract. | +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | +**GasPrice** | [**ListConfirmedTransactionsByAddressRIBSEGasPrice**](ListConfirmedTransactionsByAddressRIBSEGasPrice.md) | | +**GasUsed** | **string** | Represents the exact unit of gas that was used for the transaction. | +**InputData** | **string** | Represents additional information that is required for the transaction. | +**Nonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | +**TransactionStatus** | **string** | String representation of the transaction status | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSE + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSE(contract string, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSEGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSE instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSE object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSE object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetContract() string` + +GetContract returns the Contract field if non-nil, zero value otherwise. + +### GetContractOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetContractOk() (*string, bool)` + +GetContractOk returns a tuple with the Contract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetContract(v string)` + +SetContract sets Contract field to given value. + + +### GetGasLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + +### GetGasPrice + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasPrice() ListConfirmedTransactionsByAddressRIBSEGasPrice` + +GetGasPrice returns the GasPrice field if non-nil, zero value otherwise. + +### GetGasPriceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSEGasPrice, bool)` + +GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPrice + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetGasPrice(v ListConfirmedTransactionsByAddressRIBSEGasPrice)` + +SetGasPrice sets GasPrice field to given value. + + +### GetGasUsed + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasUsed() string` + +GetGasUsed returns the GasUsed field if non-nil, zero value otherwise. + +### GetGasUsedOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasUsedOk() (*string, bool)` + +GetGasUsedOk returns a tuple with the GasUsed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasUsed + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetGasUsed(v string)` + +SetGasUsed sets GasUsed field to given value. + + +### GetInputData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetInputData() string` + +GetInputData returns the InputData field if non-nil, zero value otherwise. + +### GetInputDataOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetInputDataOk() (*string, bool)` + +GetInputDataOk returns a tuple with the InputData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetInputData(v string)` + +SetInputData sets InputData field to given value. + + +### GetNonce + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetNonce() int32` + +GetNonce returns the Nonce field if non-nil, zero value otherwise. + +### GetNonceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetNonceOk() (*int32, bool)` + +GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonce + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetNonce(v int32)` + +SetNonce sets Nonce field to given value. + + +### GetTransactionStatus + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetTransactionStatus() string` + +GetTransactionStatus returns the TransactionStatus field if non-nil, zero value otherwise. + +### GetTransactionStatusOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetTransactionStatusOk() (*string, bool)` + +GetTransactionStatusOk returns a tuple with the TransactionStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionStatus + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetTransactionStatus(v string)` + +SetTransactionStatus sets TransactionStatus field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC.md new file mode 100644 index 0000000..0a9a7b3 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC.md @@ -0,0 +1,177 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Contract** | **string** | Represents the specific transaction contract. | +**GasLimit** | **string** | Represents the amount of gas used by this specific transaction alone. | +**GasPrice** | [**ListConfirmedTransactionsByAddressRIBSECGasPrice**](ListConfirmedTransactionsByAddressRIBSECGasPrice.md) | | +**GasUsed** | **string** | Represents the exact unit of gas that was used for the transaction. | +**InputData** | **string** | Represents additional information that is required for the transaction. | +**Nonce** | **int32** | Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. | +**TransactionStatus** | **string** | String representation of the transaction status | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEC + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEC(contract string, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSECGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEC instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSECWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSECWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSECWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetContract() string` + +GetContract returns the Contract field if non-nil, zero value otherwise. + +### GetContractOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetContractOk() (*string, bool)` + +GetContractOk returns a tuple with the Contract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContract + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetContract(v string)` + +SetContract sets Contract field to given value. + + +### GetGasLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasLimit() string` + +GetGasLimit returns the GasLimit field if non-nil, zero value otherwise. + +### GetGasLimitOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasLimitOk() (*string, bool)` + +GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasLimit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetGasLimit(v string)` + +SetGasLimit sets GasLimit field to given value. + + +### GetGasPrice + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasPrice() ListConfirmedTransactionsByAddressRIBSECGasPrice` + +GetGasPrice returns the GasPrice field if non-nil, zero value otherwise. + +### GetGasPriceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSECGasPrice, bool)` + +GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasPrice + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetGasPrice(v ListConfirmedTransactionsByAddressRIBSECGasPrice)` + +SetGasPrice sets GasPrice field to given value. + + +### GetGasUsed + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasUsed() string` + +GetGasUsed returns the GasUsed field if non-nil, zero value otherwise. + +### GetGasUsedOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasUsedOk() (*string, bool)` + +GetGasUsedOk returns a tuple with the GasUsed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGasUsed + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetGasUsed(v string)` + +SetGasUsed sets GasUsed field to given value. + + +### GetInputData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetInputData() string` + +GetInputData returns the InputData field if non-nil, zero value otherwise. + +### GetInputDataOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetInputDataOk() (*string, bool)` + +GetInputDataOk returns a tuple with the InputData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInputData + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetInputData(v string)` + +SetInputData sets InputData field to given value. + + +### GetNonce + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetNonce() int32` + +GetNonce returns the Nonce field if non-nil, zero value otherwise. + +### GetNonceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetNonceOk() (*int32, bool)` + +GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNonce + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetNonce(v int32)` + +SetNonce sets Nonce field to given value. + + +### GetTransactionStatus + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetTransactionStatus() string` + +GetTransactionStatus returns the TransactionStatus field if non-nil, zero value otherwise. + +### GetTransactionStatusOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetTransactionStatusOk() (*string, bool)` + +GetTransactionStatusOk returns a tuple with the TransactionStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionStatus + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetTransactionStatus(v string)` + +SetTransactionStatus sets TransactionStatus field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSL.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSL.md new file mode 100644 index 0000000..c51c242 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSL.md @@ -0,0 +1,156 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSL + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Size** | **int32** | Represents the total size of this transaction. | +**VSize** | **int32** | Represents the virtual size of this transaction. | +**Version** | **int32** | Represents the transaction's version number. | +**Vin** | [**[]ListConfirmedTransactionsByAddressRIBSLVin**](ListConfirmedTransactionsByAddressRIBSLVin.md) | Represents the transaction inputs. | +**Vout** | [**[]GetTransactionDetailsByTransactionIDRIBSLVout**](GetTransactionDetailsByTransactionIDRIBSLVout.md) | Represents the transaction outputs. | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSL + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSL instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSL object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSLWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSLWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSLWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSL object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetLocktime() int64` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetLocktimeOk() (*int64, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetLocktime(v int64)` + +SetLocktime sets Locktime field to given value. + + +### GetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetSize() int32` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetSizeOk() (*int32, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetSize(v int32)` + +SetSize sets Size field to given value. + + +### GetVSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVSize() int32` + +GetVSize returns the VSize field if non-nil, zero value otherwise. + +### GetVSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVSizeOk() (*int32, bool)` + +GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetVSize(v int32)` + +SetVSize sets VSize field to given value. + + +### GetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVin() []ListConfirmedTransactionsByAddressRIBSLVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSLVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetVin(v []ListConfirmedTransactionsByAddressRIBSLVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVout() []GetTransactionDetailsByTransactionIDRIBSLVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSLVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetVout(v []GetTransactionDetailsByTransactionIDRIBSLVout)` + +SetVout sets Vout field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ.md b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ.md new file mode 100644 index 0000000..4888cf1 --- /dev/null +++ b/docs/ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ.md @@ -0,0 +1,345 @@ +# ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BindingSig** | **string** | It is used to enforce balance of Spend and Output transfers, in order to prevent their replay across transactions. | +**ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | +**JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | +**JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | +**Size** | **int32** | Represents the total size of this transaction. | +**VJoinSplit** | [**[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit**](ListConfirmedTransactionsByAddressRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | +**VShieldedOutput** | [**[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput**](GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput.md) | Object Array representation of transaction output descriptions | +**VShieldedSpend** | [**[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend**](GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend.md) | Object Array representation of transaction spend descriptions | +**ValueBalance** | **string** | Defines the transaction value balance. | +**Version** | **int32** | Defines the version of the transaction. | +**VersionGroupId** | **string** | Represents the transaction version group ID. | +**Vin** | [**[]ListConfirmedTransactionsByAddressRIBSZVin**](ListConfirmedTransactionsByAddressRIBSZVin.md) | Object Array representation of transaction inputs | +**Vout** | [**[]GetTransactionDetailsByTransactionIDRIBSZVout**](GetTransactionDetailsByTransactionIDRIBSZVout.md) | Object Array representation of transaction outputs | + +## Methods + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZ + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZ instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZWithDefaults + +`func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ` + +NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBindingSig + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetBindingSig() string` + +GetBindingSig returns the BindingSig field if non-nil, zero value otherwise. + +### GetBindingSigOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetBindingSigOk() (*string, bool)` + +GetBindingSigOk returns a tuple with the BindingSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBindingSig + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetBindingSig(v string)` + +SetBindingSig sets BindingSig field to given value. + + +### GetExpiryHeight + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetExpiryHeight() int32` + +GetExpiryHeight returns the ExpiryHeight field if non-nil, zero value otherwise. + +### GetExpiryHeightOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetExpiryHeightOk() (*int32, bool)` + +GetExpiryHeightOk returns a tuple with the ExpiryHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpiryHeight + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetExpiryHeight(v int32)` + +SetExpiryHeight sets ExpiryHeight field to given value. + + +### GetJoinSplitPubKey + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetJoinSplitPubKey() string` + +GetJoinSplitPubKey returns the JoinSplitPubKey field if non-nil, zero value otherwise. + +### GetJoinSplitPubKeyOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetJoinSplitPubKeyOk() (*string, bool)` + +GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJoinSplitPubKey + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetJoinSplitPubKey(v string)` + +SetJoinSplitPubKey sets JoinSplitPubKey field to given value. + + +### GetJoinSplitSig + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetJoinSplitSig() string` + +GetJoinSplitSig returns the JoinSplitSig field if non-nil, zero value otherwise. + +### GetJoinSplitSigOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetJoinSplitSigOk() (*string, bool)` + +GetJoinSplitSigOk returns a tuple with the JoinSplitSig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJoinSplitSig + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetJoinSplitSig(v string)` + +SetJoinSplitSig sets JoinSplitSig field to given value. + + +### GetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetLocktime() int64` + +GetLocktime returns the Locktime field if non-nil, zero value otherwise. + +### GetLocktimeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetLocktimeOk() (*int64, bool)` + +GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocktime + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetLocktime(v int64)` + +SetLocktime sets Locktime field to given value. + + +### GetOverwintered + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetOverwintered() bool` + +GetOverwintered returns the Overwintered field if non-nil, zero value otherwise. + +### GetOverwinteredOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetOverwinteredOk() (*bool, bool)` + +GetOverwinteredOk returns a tuple with the Overwintered field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverwintered + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetOverwintered(v bool)` + +SetOverwintered sets Overwintered field to given value. + + +### GetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetSize() int32` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetSizeOk() (*int32, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetSize(v int32)` + +SetSize sets Size field to given value. + + +### GetVJoinSplit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVJoinSplit() []ListConfirmedTransactionsByAddressRIBSZVJoinSplit` + +GetVJoinSplit returns the VJoinSplit field if non-nil, zero value otherwise. + +### GetVJoinSplitOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVJoinSplitOk() (*[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool)` + +GetVJoinSplitOk returns a tuple with the VJoinSplit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVJoinSplit + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVJoinSplit(v []ListConfirmedTransactionsByAddressRIBSZVJoinSplit)` + +SetVJoinSplit sets VJoinSplit field to given value. + + +### GetVShieldedOutput + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVShieldedOutput() []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput` + +GetVShieldedOutput returns the VShieldedOutput field if non-nil, zero value otherwise. + +### GetVShieldedOutputOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool)` + +GetVShieldedOutputOk returns a tuple with the VShieldedOutput field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVShieldedOutput + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVShieldedOutput(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput)` + +SetVShieldedOutput sets VShieldedOutput field to given value. + + +### GetVShieldedSpend + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVShieldedSpend() []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend` + +GetVShieldedSpend returns the VShieldedSpend field if non-nil, zero value otherwise. + +### GetVShieldedSpendOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool)` + +GetVShieldedSpendOk returns a tuple with the VShieldedSpend field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVShieldedSpend + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVShieldedSpend(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend)` + +SetVShieldedSpend sets VShieldedSpend field to given value. + + +### GetValueBalance + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetValueBalance() string` + +GetValueBalance returns the ValueBalance field if non-nil, zero value otherwise. + +### GetValueBalanceOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetValueBalanceOk() (*string, bool)` + +GetValueBalanceOk returns a tuple with the ValueBalance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValueBalance + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetValueBalance(v string)` + +SetValueBalance sets ValueBalance field to given value. + + +### GetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVersion(v int32)` + +SetVersion sets Version field to given value. + + +### GetVersionGroupId + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVersionGroupId() string` + +GetVersionGroupId returns the VersionGroupId field if non-nil, zero value otherwise. + +### GetVersionGroupIdOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVersionGroupIdOk() (*string, bool)` + +GetVersionGroupIdOk returns a tuple with the VersionGroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionGroupId + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVersionGroupId(v string)` + +SetVersionGroupId sets VersionGroupId field to given value. + + +### GetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVin() []ListConfirmedTransactionsByAddressRIBSZVin` + +GetVin returns the Vin field if non-nil, zero value otherwise. + +### GetVinOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSZVin, bool)` + +GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVin + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVin(v []ListConfirmedTransactionsByAddressRIBSZVin)` + +SetVin sets Vin field to given value. + + +### GetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVout() []GetTransactionDetailsByTransactionIDRIBSZVout` + +GetVout returns the Vout field if non-nil, zero value otherwise. + +### GetVoutOk + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVout, bool)` + +GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVout + +`func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVout(v []GetTransactionDetailsByTransactionIDRIBSZVout)` + +SetVout sets Vout field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListConfirmedTransactionsByAddressRData.md b/docs/ListConfirmedTransactionsByAddressRData.md index c53ba29..ed37214 100644 --- a/docs/ListConfirmedTransactionsByAddressRData.md +++ b/docs/ListConfirmedTransactionsByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListConfirmedTransactionsByAddressRI**](ListConfirmedTransactionsByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRData -`func NewListConfirmedTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListConfirmedTransactionsByAddressRI, ) *ListConfirmedTransactionsByAddressRData` +`func NewListConfirmedTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListConfirmedTransactionsByAddressRI, ) *ListConfirmedTransactionsByAddressRData` NewListConfirmedTransactionsByAddressRData instantiates a new ListConfirmedTransactionsByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListConfirmedTransactionsByAddressRDataWithDefaults instantiates a new ListCo This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListConfirmedTransactionsByAddressRData) GetOffset() int32` +`func (o *ListConfirmedTransactionsByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListConfirmedTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListConfirmedTransactionsByAddressRData) SetOffset(v int32)` +`func (o *ListConfirmedTransactionsByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListConfirmedTransactionsByAddressRData) GetLimit() int32` +`func (o *ListConfirmedTransactionsByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListConfirmedTransactionsByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListConfirmedTransactionsByAddressRData) SetLimit(v int32)` +`func (o *ListConfirmedTransactionsByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListConfirmedTransactionsByAddressRIBS.md b/docs/ListConfirmedTransactionsByAddressRIBS.md index 6180247..a66d611 100644 --- a/docs/ListConfirmedTransactionsByAddressRIBS.md +++ b/docs/ListConfirmedTransactionsByAddressRIBS.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Defines the version of the transaction. | @@ -32,7 +32,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRIBS -`func NewListConfirmedTransactionsByAddressRIBS(locktime int32, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListConfirmedTransactionsByAddressRIBS` +`func NewListConfirmedTransactionsByAddressRIBS(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListConfirmedTransactionsByAddressRIBS` NewListConfirmedTransactionsByAddressRIBS instantiates a new ListConfirmedTransactionsByAddressRIBS object This constructor will assign default values to properties that have it defined, @@ -49,20 +49,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBS) GetLocktime() int32` +`func (o *ListConfirmedTransactionsByAddressRIBS) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListConfirmedTransactionsByAddressRIBS) GetLocktimeOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRIBS) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBS) SetLocktime(v int32)` +`func (o *ListConfirmedTransactionsByAddressRIBS) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListConfirmedTransactionsByAddressRIBSB.md b/docs/ListConfirmedTransactionsByAddressRIBSB.md index bc122c2..b18c4bd 100644 --- a/docs/ListConfirmedTransactionsByAddressRIBSB.md +++ b/docs/ListConfirmedTransactionsByAddressRIBSB.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Defines the transaction's virtual size. | **Version** | **int32** | Defines the version of the transaction. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRIBSB -`func NewListConfirmedTransactionsByAddressRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBVin, vout []ListConfirmedTransactionsByAddressRIBSBVout, ) *ListConfirmedTransactionsByAddressRIBSB` +`func NewListConfirmedTransactionsByAddressRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBVin, vout []ListConfirmedTransactionsByAddressRIBSBVout, ) *ListConfirmedTransactionsByAddressRIBSB` NewListConfirmedTransactionsByAddressRIBSB instantiates a new ListConfirmedTransactionsByAddressRIBSB object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktime() int32` +`func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktimeOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSB) SetLocktime(v int32)` +`func (o *ListConfirmedTransactionsByAddressRIBSB) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListConfirmedTransactionsByAddressRIBSBC.md b/docs/ListConfirmedTransactionsByAddressRIBSBC.md index 012d79b..3deccbf 100644 --- a/docs/ListConfirmedTransactionsByAddressRIBSBC.md +++ b/docs/ListConfirmedTransactionsByAddressRIBSBC.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | **Vin** | [**[]ListConfirmedTransactionsByAddressRIBSBCVin**](ListConfirmedTransactionsByAddressRIBSBCVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRIBSBC -`func NewListConfirmedTransactionsByAddressRIBSBC(locktime int32, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBCVin, ) *ListConfirmedTransactionsByAddressRIBSBC` +`func NewListConfirmedTransactionsByAddressRIBSBC(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBCVin, ) *ListConfirmedTransactionsByAddressRIBSBC` NewListConfirmedTransactionsByAddressRIBSBC instantiates a new ListConfirmedTransactionsByAddressRIBSBC object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktime() int32` +`func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktimeOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSBC) SetLocktime(v int32)` +`func (o *ListConfirmedTransactionsByAddressRIBSBC) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListConfirmedTransactionsByAddressRIBSD.md b/docs/ListConfirmedTransactionsByAddressRIBSD.md index d553264..c20702d 100644 --- a/docs/ListConfirmedTransactionsByAddressRIBSD.md +++ b/docs/ListConfirmedTransactionsByAddressRIBSD.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | **Vin** | [**[]ListConfirmedTransactionsByAddressRIBSDVin**](ListConfirmedTransactionsByAddressRIBSDVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRIBSD -`func NewListConfirmedTransactionsByAddressRIBSD(locktime int32, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *ListConfirmedTransactionsByAddressRIBSD` +`func NewListConfirmedTransactionsByAddressRIBSD(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *ListConfirmedTransactionsByAddressRIBSD` NewListConfirmedTransactionsByAddressRIBSD instantiates a new ListConfirmedTransactionsByAddressRIBSD object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktime() int32` +`func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktimeOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSD) SetLocktime(v int32)` +`func (o *ListConfirmedTransactionsByAddressRIBSD) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListConfirmedTransactionsByAddressRIBSD2.md b/docs/ListConfirmedTransactionsByAddressRIBSD2.md index 14e9b3f..1874523 100644 --- a/docs/ListConfirmedTransactionsByAddressRIBSD2.md +++ b/docs/ListConfirmedTransactionsByAddressRIBSD2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | **Vin** | [**[]ListConfirmedTransactionsByAddressRIBSD2Vin**](ListConfirmedTransactionsByAddressRIBSD2Vin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRIBSD2 -`func NewListConfirmedTransactionsByAddressRIBSD2(locktime int32, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout, ) *ListConfirmedTransactionsByAddressRIBSD2` +`func NewListConfirmedTransactionsByAddressRIBSD2(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout, ) *ListConfirmedTransactionsByAddressRIBSD2` NewListConfirmedTransactionsByAddressRIBSD2 instantiates a new ListConfirmedTransactionsByAddressRIBSD2 object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktime() int32` +`func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktimeOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSD2) SetLocktime(v int32)` +`func (o *ListConfirmedTransactionsByAddressRIBSD2) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListConfirmedTransactionsByAddressRIBSL.md b/docs/ListConfirmedTransactionsByAddressRIBSL.md index 80b69dc..8a8faee 100644 --- a/docs/ListConfirmedTransactionsByAddressRIBSL.md +++ b/docs/ListConfirmedTransactionsByAddressRIBSL.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRIBSL -`func NewListConfirmedTransactionsByAddressRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *ListConfirmedTransactionsByAddressRIBSL` +`func NewListConfirmedTransactionsByAddressRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout, ) *ListConfirmedTransactionsByAddressRIBSL` NewListConfirmedTransactionsByAddressRIBSL instantiates a new ListConfirmedTransactionsByAddressRIBSL object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktime() int32` +`func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktimeOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSL) SetLocktime(v int32)` +`func (o *ListConfirmedTransactionsByAddressRIBSL) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListConfirmedTransactionsByAddressRIBSZ.md b/docs/ListConfirmedTransactionsByAddressRIBSZ.md index 25cc5ff..50ff1a7 100644 --- a/docs/ListConfirmedTransactionsByAddressRIBSZ.md +++ b/docs/ListConfirmedTransactionsByAddressRIBSZ.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | **JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | **JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VJoinSplit** | [**[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit**](ListConfirmedTransactionsByAddressRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRIBSZ -`func NewListConfirmedTransactionsByAddressRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListConfirmedTransactionsByAddressRIBSZ` +`func NewListConfirmedTransactionsByAddressRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListConfirmedTransactionsByAddressRIBSZ` NewListConfirmedTransactionsByAddressRIBSZ instantiates a new ListConfirmedTransactionsByAddressRIBSZ object This constructor will assign default values to properties that have it defined, @@ -121,20 +121,20 @@ SetJoinSplitSig sets JoinSplitSig field to given value. ### GetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktime() int32` +`func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktimeOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListConfirmedTransactionsByAddressRIBSZ) SetLocktime(v int32)` +`func (o *ListConfirmedTransactionsByAddressRIBSZ) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListConfirmedTransactionsByAddressRIBSZVin.md b/docs/ListConfirmedTransactionsByAddressRIBSZVin.md index 2b62c70..b4e6793 100644 --- a/docs/ListConfirmedTransactionsByAddressRIBSZVin.md +++ b/docs/ListConfirmedTransactionsByAddressRIBSZVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | **string** | Represents the coinbase hex. | **ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSZScriptSig**](GetTransactionDetailsByTransactionIDRIBSZScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | **[]string** | | **Value** | **string** | Defines the specific amount. | @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewListConfirmedTransactionsByAddressRIBSZVin -`func NewListConfirmedTransactionsByAddressRIBSZVin(addresses []string, coinbase string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int32, txid string, txinwitness []string, value string, vout int32, ) *ListConfirmedTransactionsByAddressRIBSZVin` +`func NewListConfirmedTransactionsByAddressRIBSZVin(addresses []string, coinbase string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int64, txid string, txinwitness []string, value string, vout int32, ) *ListConfirmedTransactionsByAddressRIBSZVin` NewListConfirmedTransactionsByAddressRIBSZVin instantiates a new ListConfirmedTransactionsByAddressRIBSZVin object This constructor will assign default values to properties that have it defined, @@ -94,20 +94,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequence() int32` +`func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequenceOk() (*int32, bool)` +`func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *ListConfirmedTransactionsByAddressRIBSZVin) SetSequence(v int32)` +`func (o *ListConfirmedTransactionsByAddressRIBSZVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/ListDepositAddressesRData.md b/docs/ListDepositAddressesRData.md index bdf6fec..ea3f09c 100644 --- a/docs/ListDepositAddressesRData.md +++ b/docs/ListDepositAddressesRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListDepositAddressesRI**](ListDepositAddressesRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListDepositAddressesRData -`func NewListDepositAddressesRData(offset int32, limit int32, total int32, items []ListDepositAddressesRI, ) *ListDepositAddressesRData` +`func NewListDepositAddressesRData(limit int32, offset int32, total int32, items []ListDepositAddressesRI, ) *ListDepositAddressesRData` NewListDepositAddressesRData instantiates a new ListDepositAddressesRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListDepositAddressesRDataWithDefaults instantiates a new ListDepositAddresses This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListDepositAddressesRData) GetOffset() int32` +`func (o *ListDepositAddressesRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListDepositAddressesRData) GetOffsetOk() (*int32, bool)` +`func (o *ListDepositAddressesRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListDepositAddressesRData) SetOffset(v int32)` +`func (o *ListDepositAddressesRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListDepositAddressesRData) GetLimit() int32` +`func (o *ListDepositAddressesRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListDepositAddressesRData) GetLimitOk() (*int32, bool)` +`func (o *ListDepositAddressesRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListDepositAddressesRData) SetLimit(v int32)` +`func (o *ListDepositAddressesRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListHDWalletXPubYPubZPubTransactionsRData.md b/docs/ListHDWalletXPubYPubZPubTransactionsRData.md index 9fc01ba..2d8bfd9 100644 --- a/docs/ListHDWalletXPubYPubZPubTransactionsRData.md +++ b/docs/ListHDWalletXPubYPubZPubTransactionsRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListHDWalletXPubYPubZPubTransactionsRI**](ListHDWalletXPubYPubZPubTransactionsRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListHDWalletXPubYPubZPubTransactionsRData -`func NewListHDWalletXPubYPubZPubTransactionsRData(offset int32, limit int32, total int32, items []ListHDWalletXPubYPubZPubTransactionsRI, ) *ListHDWalletXPubYPubZPubTransactionsRData` +`func NewListHDWalletXPubYPubZPubTransactionsRData(limit int32, offset int32, total int32, items []ListHDWalletXPubYPubZPubTransactionsRI, ) *ListHDWalletXPubYPubZPubTransactionsRData` NewListHDWalletXPubYPubZPubTransactionsRData instantiates a new ListHDWalletXPubYPubZPubTransactionsRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListHDWalletXPubYPubZPubTransactionsRDataWithDefaults instantiates a new List This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetOffset() int32` +`func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetOffsetOk() (*int32, bool)` +`func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetOffset(v int32)` +`func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetLimit() int32` +`func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetLimitOk() (*int32, bool)` +`func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetLimit(v int32)` +`func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListHDWalletXPubYPubZPubUTXOsE400.md b/docs/ListHDWalletXPubYPubZPubUTXOsE400.md new file mode 100644 index 0000000..ece049f --- /dev/null +++ b/docs/ListHDWalletXPubYPubZPubUTXOsE400.md @@ -0,0 +1,98 @@ +# ListHDWalletXPubYPubZPubUTXOsE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListHDWalletXPubYPubZPubUTXOsE400 + +`func NewListHDWalletXPubYPubZPubUTXOsE400(code string, message string, ) *ListHDWalletXPubYPubZPubUTXOsE400` + +NewListHDWalletXPubYPubZPubUTXOsE400 instantiates a new ListHDWalletXPubYPubZPubUTXOsE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListHDWalletXPubYPubZPubUTXOsE400WithDefaults + +`func NewListHDWalletXPubYPubZPubUTXOsE400WithDefaults() *ListHDWalletXPubYPubZPubUTXOsE400` + +NewListHDWalletXPubYPubZPubUTXOsE400WithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListHDWalletXPubYPubZPubUTXOsE401.md b/docs/ListHDWalletXPubYPubZPubUTXOsE401.md new file mode 100644 index 0000000..4335018 --- /dev/null +++ b/docs/ListHDWalletXPubYPubZPubUTXOsE401.md @@ -0,0 +1,98 @@ +# ListHDWalletXPubYPubZPubUTXOsE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListHDWalletXPubYPubZPubUTXOsE401 + +`func NewListHDWalletXPubYPubZPubUTXOsE401(code string, message string, ) *ListHDWalletXPubYPubZPubUTXOsE401` + +NewListHDWalletXPubYPubZPubUTXOsE401 instantiates a new ListHDWalletXPubYPubZPubUTXOsE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListHDWalletXPubYPubZPubUTXOsE401WithDefaults + +`func NewListHDWalletXPubYPubZPubUTXOsE401WithDefaults() *ListHDWalletXPubYPubZPubUTXOsE401` + +NewListHDWalletXPubYPubZPubUTXOsE401WithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListHDWalletXPubYPubZPubUTXOsE403.md b/docs/ListHDWalletXPubYPubZPubUTXOsE403.md new file mode 100644 index 0000000..0ee87cb --- /dev/null +++ b/docs/ListHDWalletXPubYPubZPubUTXOsE403.md @@ -0,0 +1,98 @@ +# ListHDWalletXPubYPubZPubUTXOsE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListHDWalletXPubYPubZPubUTXOsE403 + +`func NewListHDWalletXPubYPubZPubUTXOsE403(code string, message string, ) *ListHDWalletXPubYPubZPubUTXOsE403` + +NewListHDWalletXPubYPubZPubUTXOsE403 instantiates a new ListHDWalletXPubYPubZPubUTXOsE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListHDWalletXPubYPubZPubUTXOsE403WithDefaults + +`func NewListHDWalletXPubYPubZPubUTXOsE403WithDefaults() *ListHDWalletXPubYPubZPubUTXOsE403` + +NewListHDWalletXPubYPubZPubUTXOsE403WithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListHDWalletXPubYPubZPubUTXOsE422.md b/docs/ListHDWalletXPubYPubZPubUTXOsE422.md new file mode 100644 index 0000000..c5a2bd6 --- /dev/null +++ b/docs/ListHDWalletXPubYPubZPubUTXOsE422.md @@ -0,0 +1,98 @@ +# ListHDWalletXPubYPubZPubUTXOsE422 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListHDWalletXPubYPubZPubUTXOsE422 + +`func NewListHDWalletXPubYPubZPubUTXOsE422(code string, message string, ) *ListHDWalletXPubYPubZPubUTXOsE422` + +NewListHDWalletXPubYPubZPubUTXOsE422 instantiates a new ListHDWalletXPubYPubZPubUTXOsE422 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListHDWalletXPubYPubZPubUTXOsE422WithDefaults + +`func NewListHDWalletXPubYPubZPubUTXOsE422WithDefaults() *ListHDWalletXPubYPubZPubUTXOsE422` + +NewListHDWalletXPubYPubZPubUTXOsE422WithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsE422 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListHDWalletXPubYPubZPubUTXOsE422) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListHDWalletXPubYPubZPubUTXOsR.md b/docs/ListHDWalletXPubYPubZPubUTXOsR.md new file mode 100644 index 0000000..64fd123 --- /dev/null +++ b/docs/ListHDWalletXPubYPubZPubUTXOsR.md @@ -0,0 +1,119 @@ +# ListHDWalletXPubYPubZPubUTXOsR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**ListHDWalletXPubYPubZPubUTXOsRData**](ListHDWalletXPubYPubZPubUTXOsRData.md) | | + +## Methods + +### NewListHDWalletXPubYPubZPubUTXOsR + +`func NewListHDWalletXPubYPubZPubUTXOsR(apiVersion string, requestId string, data ListHDWalletXPubYPubZPubUTXOsRData, ) *ListHDWalletXPubYPubZPubUTXOsR` + +NewListHDWalletXPubYPubZPubUTXOsR instantiates a new ListHDWalletXPubYPubZPubUTXOsR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListHDWalletXPubYPubZPubUTXOsRWithDefaults + +`func NewListHDWalletXPubYPubZPubUTXOsRWithDefaults() *ListHDWalletXPubYPubZPubUTXOsR` + +NewListHDWalletXPubYPubZPubUTXOsRWithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) GetData() ListHDWalletXPubYPubZPubUTXOsRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) GetDataOk() (*ListHDWalletXPubYPubZPubUTXOsRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ListHDWalletXPubYPubZPubUTXOsR) SetData(v ListHDWalletXPubYPubZPubUTXOsRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListHDWalletXPubYPubZPubUTXOsRData.md b/docs/ListHDWalletXPubYPubZPubUTXOsRData.md new file mode 100644 index 0000000..6462f49 --- /dev/null +++ b/docs/ListHDWalletXPubYPubZPubUTXOsRData.md @@ -0,0 +1,114 @@ +# ListHDWalletXPubYPubZPubUTXOsRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | +**Total** | **int32** | Defines the total number of items returned in the response. | +**Items** | [**[]ListHDWalletXPubYPubZPubUTXOsRI**](ListHDWalletXPubYPubZPubUTXOsRI.md) | | + +## Methods + +### NewListHDWalletXPubYPubZPubUTXOsRData + +`func NewListHDWalletXPubYPubZPubUTXOsRData(limit int32, offset int32, total int32, items []ListHDWalletXPubYPubZPubUTXOsRI, ) *ListHDWalletXPubYPubZPubUTXOsRData` + +NewListHDWalletXPubYPubZPubUTXOsRData instantiates a new ListHDWalletXPubYPubZPubUTXOsRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListHDWalletXPubYPubZPubUTXOsRDataWithDefaults + +`func NewListHDWalletXPubYPubZPubUTXOsRDataWithDefaults() *ListHDWalletXPubYPubZPubUTXOsRData` + +NewListHDWalletXPubYPubZPubUTXOsRDataWithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimit + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetLimit() int32` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetLimitOk() (*int32, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) SetLimit(v int32)` + +SetLimit sets Limit field to given value. + + +### GetOffset + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetOffset() int32` + +GetOffset returns the Offset field if non-nil, zero value otherwise. + +### GetOffsetOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetOffsetOk() (*int32, bool)` + +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOffset + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) SetOffset(v int32)` + +SetOffset sets Offset field to given value. + + +### GetTotal + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetTotal() int32` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetTotalOk() (*int32, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) SetTotal(v int32)` + +SetTotal sets Total field to given value. + + +### GetItems + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetItems() []ListHDWalletXPubYPubZPubUTXOsRI` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetItemsOk() (*[]ListHDWalletXPubYPubZPubUTXOsRI, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *ListHDWalletXPubYPubZPubUTXOsRData) SetItems(v []ListHDWalletXPubYPubZPubUTXOsRI)` + +SetItems sets Items field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListHDWalletXPubYPubZPubUTXOsRI.md b/docs/ListHDWalletXPubYPubZPubUTXOsRI.md new file mode 100644 index 0000000..616f7b0 --- /dev/null +++ b/docs/ListHDWalletXPubYPubZPubUTXOsRI.md @@ -0,0 +1,219 @@ +# ListHDWalletXPubYPubZPubUTXOsRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | +**AddressPath** | **string** | Defines a data which tells a Hierarchical Deterministic wallet how to derive a specific key within a tree of keys. | +**Amount** | **string** | Represents the UTXO amount value. | +**Derivation** | **string** | The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. | +**Index** | **int32** | Represents the output index. It refers to the UTXO sequence in the transaction outputs (vout). | +**IsAvailable** | **bool** | Represents if the UTXO has been used from another unconfirmed transaction. If it is - the value will be \"false\". | +**IsConfirmed** | **bool** | Represents the state of the transaction whether it is confirmed or not confirmed. | +**ReferenceId** | **string** | Represents the reference id of the record. It may be used for the startingAfter pagination attribute. | +**TransactionId** | **string** | Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain. | + +## Methods + +### NewListHDWalletXPubYPubZPubUTXOsRI + +`func NewListHDWalletXPubYPubZPubUTXOsRI(address string, addressPath string, amount string, derivation string, index int32, isAvailable bool, isConfirmed bool, referenceId string, transactionId string, ) *ListHDWalletXPubYPubZPubUTXOsRI` + +NewListHDWalletXPubYPubZPubUTXOsRI instantiates a new ListHDWalletXPubYPubZPubUTXOsRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListHDWalletXPubYPubZPubUTXOsRIWithDefaults + +`func NewListHDWalletXPubYPubZPubUTXOsRIWithDefaults() *ListHDWalletXPubYPubZPubUTXOsRI` + +NewListHDWalletXPubYPubZPubUTXOsRIWithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetAddressPath + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAddressPath() string` + +GetAddressPath returns the AddressPath field if non-nil, zero value otherwise. + +### GetAddressPathOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAddressPathOk() (*string, bool)` + +GetAddressPathOk returns a tuple with the AddressPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddressPath + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetAddressPath(v string)` + +SetAddressPath sets AddressPath field to given value. + + +### GetAmount + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAmount() string` + +GetAmount returns the Amount field if non-nil, zero value otherwise. + +### GetAmountOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAmountOk() (*string, bool)` + +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAmount + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetAmount(v string)` + +SetAmount sets Amount field to given value. + + +### GetDerivation + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetDerivation() string` + +GetDerivation returns the Derivation field if non-nil, zero value otherwise. + +### GetDerivationOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetDerivationOk() (*string, bool)` + +GetDerivationOk returns a tuple with the Derivation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDerivation + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetDerivation(v string)` + +SetDerivation sets Derivation field to given value. + + +### GetIndex + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIndex() int32` + +GetIndex returns the Index field if non-nil, zero value otherwise. + +### GetIndexOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIndexOk() (*int32, bool)` + +GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndex + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetIndex(v int32)` + +SetIndex sets Index field to given value. + + +### GetIsAvailable + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIsAvailable() bool` + +GetIsAvailable returns the IsAvailable field if non-nil, zero value otherwise. + +### GetIsAvailableOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIsAvailableOk() (*bool, bool)` + +GetIsAvailableOk returns a tuple with the IsAvailable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsAvailable + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetIsAvailable(v bool)` + +SetIsAvailable sets IsAvailable field to given value. + + +### GetIsConfirmed + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIsConfirmed() bool` + +GetIsConfirmed returns the IsConfirmed field if non-nil, zero value otherwise. + +### GetIsConfirmedOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIsConfirmedOk() (*bool, bool)` + +GetIsConfirmedOk returns a tuple with the IsConfirmed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsConfirmed + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetIsConfirmed(v bool)` + +SetIsConfirmed sets IsConfirmed field to given value. + + +### GetReferenceId + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetReferenceId() string` + +GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise. + +### GetReferenceIdOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetReferenceIdOk() (*string, bool)` + +GetReferenceIdOk returns a tuple with the ReferenceId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceId + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetReferenceId(v string)` + +SetReferenceId sets ReferenceId field to given value. + + +### GetTransactionId + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetTransactionId() string` + +GetTransactionId returns the TransactionId field if non-nil, zero value otherwise. + +### GetTransactionIdOk + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetTransactionIdOk() (*string, bool)` + +GetTransactionIdOk returns a tuple with the TransactionId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionId + +`func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetTransactionId(v string)` + +SetTransactionId sets TransactionId field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListInternalTransactionDetailsByTransactionHashRData.md b/docs/ListInternalTransactionDetailsByTransactionHashRData.md index c220e96..ab9a8fb 100644 --- a/docs/ListInternalTransactionDetailsByTransactionHashRData.md +++ b/docs/ListInternalTransactionDetailsByTransactionHashRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListInternalTransactionDetailsByTransactionHashRI**](ListInternalTransactionDetailsByTransactionHashRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListInternalTransactionDetailsByTransactionHashRData -`func NewListInternalTransactionDetailsByTransactionHashRData(offset int32, limit int32, total int32, items []ListInternalTransactionDetailsByTransactionHashRI, ) *ListInternalTransactionDetailsByTransactionHashRData` +`func NewListInternalTransactionDetailsByTransactionHashRData(limit int32, offset int32, total int32, items []ListInternalTransactionDetailsByTransactionHashRI, ) *ListInternalTransactionDetailsByTransactionHashRData` NewListInternalTransactionDetailsByTransactionHashRData instantiates a new ListInternalTransactionDetailsByTransactionHashRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListInternalTransactionDetailsByTransactionHashRDataWithDefaults instantiates This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListInternalTransactionDetailsByTransactionHashRData) GetOffset() int32` +`func (o *ListInternalTransactionDetailsByTransactionHashRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListInternalTransactionDetailsByTransactionHashRData) GetOffsetOk() (*int32, bool)` +`func (o *ListInternalTransactionDetailsByTransactionHashRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListInternalTransactionDetailsByTransactionHashRData) SetOffset(v int32)` +`func (o *ListInternalTransactionDetailsByTransactionHashRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListInternalTransactionDetailsByTransactionHashRData) GetLimit() int32` +`func (o *ListInternalTransactionDetailsByTransactionHashRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListInternalTransactionDetailsByTransactionHashRData) GetLimitOk() (*int32, bool)` +`func (o *ListInternalTransactionDetailsByTransactionHashRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListInternalTransactionDetailsByTransactionHashRData) SetLimit(v int32)` +`func (o *ListInternalTransactionDetailsByTransactionHashRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListInternalTransactionsByAddressAndTimeRangeE400.md b/docs/ListInternalTransactionsByAddressAndTimeRangeE400.md new file mode 100644 index 0000000..07abdc2 --- /dev/null +++ b/docs/ListInternalTransactionsByAddressAndTimeRangeE400.md @@ -0,0 +1,98 @@ +# ListInternalTransactionsByAddressAndTimeRangeE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListInternalTransactionsByAddressAndTimeRangeE400 + +`func NewListInternalTransactionsByAddressAndTimeRangeE400(code string, message string, ) *ListInternalTransactionsByAddressAndTimeRangeE400` + +NewListInternalTransactionsByAddressAndTimeRangeE400 instantiates a new ListInternalTransactionsByAddressAndTimeRangeE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListInternalTransactionsByAddressAndTimeRangeE400WithDefaults + +`func NewListInternalTransactionsByAddressAndTimeRangeE400WithDefaults() *ListInternalTransactionsByAddressAndTimeRangeE400` + +NewListInternalTransactionsByAddressAndTimeRangeE400WithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListInternalTransactionsByAddressAndTimeRangeE401.md b/docs/ListInternalTransactionsByAddressAndTimeRangeE401.md new file mode 100644 index 0000000..be42499 --- /dev/null +++ b/docs/ListInternalTransactionsByAddressAndTimeRangeE401.md @@ -0,0 +1,98 @@ +# ListInternalTransactionsByAddressAndTimeRangeE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListInternalTransactionsByAddressAndTimeRangeE401 + +`func NewListInternalTransactionsByAddressAndTimeRangeE401(code string, message string, ) *ListInternalTransactionsByAddressAndTimeRangeE401` + +NewListInternalTransactionsByAddressAndTimeRangeE401 instantiates a new ListInternalTransactionsByAddressAndTimeRangeE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListInternalTransactionsByAddressAndTimeRangeE401WithDefaults + +`func NewListInternalTransactionsByAddressAndTimeRangeE401WithDefaults() *ListInternalTransactionsByAddressAndTimeRangeE401` + +NewListInternalTransactionsByAddressAndTimeRangeE401WithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListInternalTransactionsByAddressAndTimeRangeE403.md b/docs/ListInternalTransactionsByAddressAndTimeRangeE403.md new file mode 100644 index 0000000..350e2e4 --- /dev/null +++ b/docs/ListInternalTransactionsByAddressAndTimeRangeE403.md @@ -0,0 +1,98 @@ +# ListInternalTransactionsByAddressAndTimeRangeE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListInternalTransactionsByAddressAndTimeRangeE403 + +`func NewListInternalTransactionsByAddressAndTimeRangeE403(code string, message string, ) *ListInternalTransactionsByAddressAndTimeRangeE403` + +NewListInternalTransactionsByAddressAndTimeRangeE403 instantiates a new ListInternalTransactionsByAddressAndTimeRangeE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListInternalTransactionsByAddressAndTimeRangeE403WithDefaults + +`func NewListInternalTransactionsByAddressAndTimeRangeE403WithDefaults() *ListInternalTransactionsByAddressAndTimeRangeE403` + +NewListInternalTransactionsByAddressAndTimeRangeE403WithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListInternalTransactionsByAddressAndTimeRangeE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListInternalTransactionsByAddressAndTimeRangeR.md b/docs/ListInternalTransactionsByAddressAndTimeRangeR.md new file mode 100644 index 0000000..8ae6669 --- /dev/null +++ b/docs/ListInternalTransactionsByAddressAndTimeRangeR.md @@ -0,0 +1,119 @@ +# ListInternalTransactionsByAddressAndTimeRangeR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**ListInternalTransactionsByAddressAndTimeRangeRData**](ListInternalTransactionsByAddressAndTimeRangeRData.md) | | + +## Methods + +### NewListInternalTransactionsByAddressAndTimeRangeR + +`func NewListInternalTransactionsByAddressAndTimeRangeR(apiVersion string, requestId string, data ListInternalTransactionsByAddressAndTimeRangeRData, ) *ListInternalTransactionsByAddressAndTimeRangeR` + +NewListInternalTransactionsByAddressAndTimeRangeR instantiates a new ListInternalTransactionsByAddressAndTimeRangeR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListInternalTransactionsByAddressAndTimeRangeRWithDefaults + +`func NewListInternalTransactionsByAddressAndTimeRangeRWithDefaults() *ListInternalTransactionsByAddressAndTimeRangeR` + +NewListInternalTransactionsByAddressAndTimeRangeRWithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetData() ListInternalTransactionsByAddressAndTimeRangeRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetDataOk() (*ListInternalTransactionsByAddressAndTimeRangeRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ListInternalTransactionsByAddressAndTimeRangeR) SetData(v ListInternalTransactionsByAddressAndTimeRangeRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListInternalTransactionsByAddressAndTimeRangeRData.md b/docs/ListInternalTransactionsByAddressAndTimeRangeRData.md new file mode 100644 index 0000000..70ee355 --- /dev/null +++ b/docs/ListInternalTransactionsByAddressAndTimeRangeRData.md @@ -0,0 +1,114 @@ +# ListInternalTransactionsByAddressAndTimeRangeRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | +**Total** | **int32** | Defines the total number of items returned in the response. | +**Items** | [**[]ListInternalTransactionsByAddressAndTimeRangeRI**](ListInternalTransactionsByAddressAndTimeRangeRI.md) | | + +## Methods + +### NewListInternalTransactionsByAddressAndTimeRangeRData + +`func NewListInternalTransactionsByAddressAndTimeRangeRData(limit int32, offset int32, total int32, items []ListInternalTransactionsByAddressAndTimeRangeRI, ) *ListInternalTransactionsByAddressAndTimeRangeRData` + +NewListInternalTransactionsByAddressAndTimeRangeRData instantiates a new ListInternalTransactionsByAddressAndTimeRangeRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListInternalTransactionsByAddressAndTimeRangeRDataWithDefaults + +`func NewListInternalTransactionsByAddressAndTimeRangeRDataWithDefaults() *ListInternalTransactionsByAddressAndTimeRangeRData` + +NewListInternalTransactionsByAddressAndTimeRangeRDataWithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimit + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetLimit() int32` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetLimitOk() (*int32, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) SetLimit(v int32)` + +SetLimit sets Limit field to given value. + + +### GetOffset + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetOffset() int32` + +GetOffset returns the Offset field if non-nil, zero value otherwise. + +### GetOffsetOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetOffsetOk() (*int32, bool)` + +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOffset + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) SetOffset(v int32)` + +SetOffset sets Offset field to given value. + + +### GetTotal + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetTotal() int32` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetTotalOk() (*int32, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) SetTotal(v int32)` + +SetTotal sets Total field to given value. + + +### GetItems + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetItems() []ListInternalTransactionsByAddressAndTimeRangeRI` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetItemsOk() (*[]ListInternalTransactionsByAddressAndTimeRangeRI, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRData) SetItems(v []ListInternalTransactionsByAddressAndTimeRangeRI)` + +SetItems sets Items field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListInternalTransactionsByAddressAndTimeRangeRI.md b/docs/ListInternalTransactionsByAddressAndTimeRangeRI.md new file mode 100644 index 0000000..64835fd --- /dev/null +++ b/docs/ListInternalTransactionsByAddressAndTimeRangeRI.md @@ -0,0 +1,219 @@ +# ListInternalTransactionsByAddressAndTimeRangeRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Amount** | **string** | Defines the specific amount of the transaction. | +**MinedInBlockHash** | **string** | Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | +**MinedInBlockHeight** | **int32** | Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. | +**OperationID** | **string** | Represents the unique internal transaction ID in regards to the parent transaction (type trace address). | +**OperationType** | **string** | Defines the call type of the internal transaction. | +**ParentHash** | **string** | Defines the specific hash of the parent transaction. | +**Recipient** | **string** | Represents the recipient address with the respective amount. | +**Sender** | **string** | Represents the sender address with the respective amount. | +**Timestamp** | **int32** | | + +## Methods + +### NewListInternalTransactionsByAddressAndTimeRangeRI + +`func NewListInternalTransactionsByAddressAndTimeRangeRI(amount string, minedInBlockHash string, minedInBlockHeight int32, operationID string, operationType string, parentHash string, recipient string, sender string, timestamp int32, ) *ListInternalTransactionsByAddressAndTimeRangeRI` + +NewListInternalTransactionsByAddressAndTimeRangeRI instantiates a new ListInternalTransactionsByAddressAndTimeRangeRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListInternalTransactionsByAddressAndTimeRangeRIWithDefaults + +`func NewListInternalTransactionsByAddressAndTimeRangeRIWithDefaults() *ListInternalTransactionsByAddressAndTimeRangeRI` + +NewListInternalTransactionsByAddressAndTimeRangeRIWithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAmount + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetAmount() string` + +GetAmount returns the Amount field if non-nil, zero value otherwise. + +### GetAmountOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetAmountOk() (*string, bool)` + +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAmount + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetAmount(v string)` + +SetAmount sets Amount field to given value. + + +### GetMinedInBlockHash + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHash() string` + +GetMinedInBlockHash returns the MinedInBlockHash field if non-nil, zero value otherwise. + +### GetMinedInBlockHashOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHashOk() (*string, bool)` + +GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinedInBlockHash + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHash(v string)` + +SetMinedInBlockHash sets MinedInBlockHash field to given value. + + +### GetMinedInBlockHeight + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeight() int32` + +GetMinedInBlockHeight returns the MinedInBlockHeight field if non-nil, zero value otherwise. + +### GetMinedInBlockHeightOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeightOk() (*int32, bool)` + +GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinedInBlockHeight + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHeight(v int32)` + +SetMinedInBlockHeight sets MinedInBlockHeight field to given value. + + +### GetOperationID + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetOperationID() string` + +GetOperationID returns the OperationID field if non-nil, zero value otherwise. + +### GetOperationIDOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetOperationIDOk() (*string, bool)` + +GetOperationIDOk returns a tuple with the OperationID field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOperationID + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetOperationID(v string)` + +SetOperationID sets OperationID field to given value. + + +### GetOperationType + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetOperationType() string` + +GetOperationType returns the OperationType field if non-nil, zero value otherwise. + +### GetOperationTypeOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetOperationTypeOk() (*string, bool)` + +GetOperationTypeOk returns a tuple with the OperationType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOperationType + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetOperationType(v string)` + +SetOperationType sets OperationType field to given value. + + +### GetParentHash + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetParentHash() string` + +GetParentHash returns the ParentHash field if non-nil, zero value otherwise. + +### GetParentHashOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetParentHashOk() (*string, bool)` + +GetParentHashOk returns a tuple with the ParentHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetParentHash + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetParentHash(v string)` + +SetParentHash sets ParentHash field to given value. + + +### GetRecipient + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetRecipient() string` + +GetRecipient returns the Recipient field if non-nil, zero value otherwise. + +### GetRecipientOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetRecipientOk() (*string, bool)` + +GetRecipientOk returns a tuple with the Recipient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipient + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetRecipient(v string)` + +SetRecipient sets Recipient field to given value. + + +### GetSender + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetSender() string` + +GetSender returns the Sender field if non-nil, zero value otherwise. + +### GetSenderOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetSenderOk() (*string, bool)` + +GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSender + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetSender(v string)` + +SetSender sets Sender field to given value. + + +### GetTimestamp + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetTimestamp() int32` + +GetTimestamp returns the Timestamp field if non-nil, zero value otherwise. + +### GetTimestampOk + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetTimestampOk() (*int32, bool)` + +GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimestamp + +`func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetTimestamp(v int32)` + +SetTimestamp sets Timestamp field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListInternalTransactionsByAddressRData.md b/docs/ListInternalTransactionsByAddressRData.md index 6469bdf..69b54c0 100644 --- a/docs/ListInternalTransactionsByAddressRData.md +++ b/docs/ListInternalTransactionsByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListInternalTransactionsByAddressRI**](ListInternalTransactionsByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListInternalTransactionsByAddressRData -`func NewListInternalTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListInternalTransactionsByAddressRI, ) *ListInternalTransactionsByAddressRData` +`func NewListInternalTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListInternalTransactionsByAddressRI, ) *ListInternalTransactionsByAddressRData` NewListInternalTransactionsByAddressRData instantiates a new ListInternalTransactionsByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListInternalTransactionsByAddressRDataWithDefaults instantiates a new ListInt This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListInternalTransactionsByAddressRData) GetOffset() int32` +`func (o *ListInternalTransactionsByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListInternalTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListInternalTransactionsByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListInternalTransactionsByAddressRData) SetOffset(v int32)` +`func (o *ListInternalTransactionsByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListInternalTransactionsByAddressRData) GetLimit() int32` +`func (o *ListInternalTransactionsByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListInternalTransactionsByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListInternalTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListInternalTransactionsByAddressRData) SetLimit(v int32)` +`func (o *ListInternalTransactionsByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListLatestMinedBlocksRData.md b/docs/ListLatestMinedBlocksRData.md index f256266..245702e 100644 --- a/docs/ListLatestMinedBlocksRData.md +++ b/docs/ListLatestMinedBlocksRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListLatestMinedBlocksRI**](ListLatestMinedBlocksRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListLatestMinedBlocksRData -`func NewListLatestMinedBlocksRData(offset int32, limit int32, total int32, items []ListLatestMinedBlocksRI, ) *ListLatestMinedBlocksRData` +`func NewListLatestMinedBlocksRData(limit int32, offset int32, total int32, items []ListLatestMinedBlocksRI, ) *ListLatestMinedBlocksRData` NewListLatestMinedBlocksRData instantiates a new ListLatestMinedBlocksRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListLatestMinedBlocksRDataWithDefaults instantiates a new ListLatestMinedBloc This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListLatestMinedBlocksRData) GetOffset() int32` +`func (o *ListLatestMinedBlocksRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListLatestMinedBlocksRData) GetOffsetOk() (*int32, bool)` +`func (o *ListLatestMinedBlocksRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListLatestMinedBlocksRData) SetOffset(v int32)` +`func (o *ListLatestMinedBlocksRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListLatestMinedBlocksRData) GetLimit() int32` +`func (o *ListLatestMinedBlocksRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListLatestMinedBlocksRData) GetLimitOk() (*int32, bool)` +`func (o *ListLatestMinedBlocksRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListLatestMinedBlocksRData) SetLimit(v int32)` +`func (o *ListLatestMinedBlocksRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListOmniTokensByAddressRData.md b/docs/ListOmniTokensByAddressRData.md index 4a2172a..06749e7 100644 --- a/docs/ListOmniTokensByAddressRData.md +++ b/docs/ListOmniTokensByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListOmniTokensByAddressRI**](ListOmniTokensByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListOmniTokensByAddressRData -`func NewListOmniTokensByAddressRData(offset int32, limit int32, total int32, items []ListOmniTokensByAddressRI, ) *ListOmniTokensByAddressRData` +`func NewListOmniTokensByAddressRData(limit int32, offset int32, total int32, items []ListOmniTokensByAddressRI, ) *ListOmniTokensByAddressRData` NewListOmniTokensByAddressRData instantiates a new ListOmniTokensByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListOmniTokensByAddressRDataWithDefaults instantiates a new ListOmniTokensByA This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListOmniTokensByAddressRData) GetOffset() int32` +`func (o *ListOmniTokensByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListOmniTokensByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListOmniTokensByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListOmniTokensByAddressRData) SetOffset(v int32)` +`func (o *ListOmniTokensByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListOmniTokensByAddressRData) GetLimit() int32` +`func (o *ListOmniTokensByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListOmniTokensByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListOmniTokensByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListOmniTokensByAddressRData) SetLimit(v int32)` +`func (o *ListOmniTokensByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListOmniTransactionsByAddressRData.md b/docs/ListOmniTransactionsByAddressRData.md index aed76fb..5191125 100644 --- a/docs/ListOmniTransactionsByAddressRData.md +++ b/docs/ListOmniTransactionsByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListOmniTransactionsByAddressRI**](ListOmniTransactionsByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListOmniTransactionsByAddressRData -`func NewListOmniTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListOmniTransactionsByAddressRI, ) *ListOmniTransactionsByAddressRData` +`func NewListOmniTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListOmniTransactionsByAddressRI, ) *ListOmniTransactionsByAddressRData` NewListOmniTransactionsByAddressRData instantiates a new ListOmniTransactionsByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListOmniTransactionsByAddressRDataWithDefaults instantiates a new ListOmniTra This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListOmniTransactionsByAddressRData) GetOffset() int32` +`func (o *ListOmniTransactionsByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListOmniTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListOmniTransactionsByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListOmniTransactionsByAddressRData) SetOffset(v int32)` +`func (o *ListOmniTransactionsByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListOmniTransactionsByAddressRData) GetLimit() int32` +`func (o *ListOmniTransactionsByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListOmniTransactionsByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListOmniTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListOmniTransactionsByAddressRData) SetLimit(v int32)` +`func (o *ListOmniTransactionsByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListOmniTransactionsByBlockHashRData.md b/docs/ListOmniTransactionsByBlockHashRData.md index 786bb32..df60185 100644 --- a/docs/ListOmniTransactionsByBlockHashRData.md +++ b/docs/ListOmniTransactionsByBlockHashRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListOmniTransactionsByBlockHashRI**](ListOmniTransactionsByBlockHashRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListOmniTransactionsByBlockHashRData -`func NewListOmniTransactionsByBlockHashRData(offset int32, limit int32, total int32, items []ListOmniTransactionsByBlockHashRI, ) *ListOmniTransactionsByBlockHashRData` +`func NewListOmniTransactionsByBlockHashRData(limit int32, offset int32, total int32, items []ListOmniTransactionsByBlockHashRI, ) *ListOmniTransactionsByBlockHashRData` NewListOmniTransactionsByBlockHashRData instantiates a new ListOmniTransactionsByBlockHashRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListOmniTransactionsByBlockHashRDataWithDefaults instantiates a new ListOmniT This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListOmniTransactionsByBlockHashRData) GetOffset() int32` +`func (o *ListOmniTransactionsByBlockHashRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListOmniTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool)` +`func (o *ListOmniTransactionsByBlockHashRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListOmniTransactionsByBlockHashRData) SetOffset(v int32)` +`func (o *ListOmniTransactionsByBlockHashRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListOmniTransactionsByBlockHashRData) GetLimit() int32` +`func (o *ListOmniTransactionsByBlockHashRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListOmniTransactionsByBlockHashRData) GetLimitOk() (*int32, bool)` +`func (o *ListOmniTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListOmniTransactionsByBlockHashRData) SetLimit(v int32)` +`func (o *ListOmniTransactionsByBlockHashRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListOmniTransactionsByBlockHeightRData.md b/docs/ListOmniTransactionsByBlockHeightRData.md index 74a8ba2..6b239b7 100644 --- a/docs/ListOmniTransactionsByBlockHeightRData.md +++ b/docs/ListOmniTransactionsByBlockHeightRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListOmniTransactionsByBlockHeightRI**](ListOmniTransactionsByBlockHeightRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListOmniTransactionsByBlockHeightRData -`func NewListOmniTransactionsByBlockHeightRData(offset int32, limit int32, total int32, items []ListOmniTransactionsByBlockHeightRI, ) *ListOmniTransactionsByBlockHeightRData` +`func NewListOmniTransactionsByBlockHeightRData(limit int32, offset int32, total int32, items []ListOmniTransactionsByBlockHeightRI, ) *ListOmniTransactionsByBlockHeightRData` NewListOmniTransactionsByBlockHeightRData instantiates a new ListOmniTransactionsByBlockHeightRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListOmniTransactionsByBlockHeightRDataWithDefaults instantiates a new ListOmn This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListOmniTransactionsByBlockHeightRData) GetOffset() int32` +`func (o *ListOmniTransactionsByBlockHeightRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListOmniTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool)` +`func (o *ListOmniTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListOmniTransactionsByBlockHeightRData) SetOffset(v int32)` +`func (o *ListOmniTransactionsByBlockHeightRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListOmniTransactionsByBlockHeightRData) GetLimit() int32` +`func (o *ListOmniTransactionsByBlockHeightRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListOmniTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool)` +`func (o *ListOmniTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListOmniTransactionsByBlockHeightRData) SetLimit(v int32)` +`func (o *ListOmniTransactionsByBlockHeightRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListSupportedAssetsRData.md b/docs/ListSupportedAssetsRData.md index 41a80cd..4b2ce93 100644 --- a/docs/ListSupportedAssetsRData.md +++ b/docs/ListSupportedAssetsRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListSupportedAssetsRI**](ListSupportedAssetsRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListSupportedAssetsRData -`func NewListSupportedAssetsRData(offset int32, limit int32, total int32, items []ListSupportedAssetsRI, ) *ListSupportedAssetsRData` +`func NewListSupportedAssetsRData(limit int32, offset int32, total int32, items []ListSupportedAssetsRI, ) *ListSupportedAssetsRData` NewListSupportedAssetsRData instantiates a new ListSupportedAssetsRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListSupportedAssetsRDataWithDefaults instantiates a new ListSupportedAssetsRD This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListSupportedAssetsRData) GetOffset() int32` +`func (o *ListSupportedAssetsRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListSupportedAssetsRData) GetOffsetOk() (*int32, bool)` +`func (o *ListSupportedAssetsRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListSupportedAssetsRData) SetOffset(v int32)` +`func (o *ListSupportedAssetsRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListSupportedAssetsRData) GetLimit() int32` +`func (o *ListSupportedAssetsRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListSupportedAssetsRData) GetLimitOk() (*int32, bool)` +`func (o *ListSupportedAssetsRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListSupportedAssetsRData) SetLimit(v int32)` +`func (o *ListSupportedAssetsRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListSupportedTokensRData.md b/docs/ListSupportedTokensRData.md index f541571..9137fcf 100644 --- a/docs/ListSupportedTokensRData.md +++ b/docs/ListSupportedTokensRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListSupportedTokensRI**](ListSupportedTokensRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListSupportedTokensRData -`func NewListSupportedTokensRData(offset int32, limit int32, total int32, items []ListSupportedTokensRI, ) *ListSupportedTokensRData` +`func NewListSupportedTokensRData(limit int32, offset int32, total int32, items []ListSupportedTokensRI, ) *ListSupportedTokensRData` NewListSupportedTokensRData instantiates a new ListSupportedTokensRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListSupportedTokensRDataWithDefaults instantiates a new ListSupportedTokensRD This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListSupportedTokensRData) GetOffset() int32` +`func (o *ListSupportedTokensRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListSupportedTokensRData) GetOffsetOk() (*int32, bool)` +`func (o *ListSupportedTokensRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListSupportedTokensRData) SetOffset(v int32)` +`func (o *ListSupportedTokensRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListSupportedTokensRData) GetLimit() int32` +`func (o *ListSupportedTokensRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListSupportedTokensRData) GetLimitOk() (*int32, bool)` +`func (o *ListSupportedTokensRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListSupportedTokensRData) SetLimit(v int32)` +`func (o *ListSupportedTokensRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListTokensByAddressRData.md b/docs/ListTokensByAddressRData.md index fb05a35..0cd98fb 100644 --- a/docs/ListTokensByAddressRData.md +++ b/docs/ListTokensByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListTokensByAddressRI**](ListTokensByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListTokensByAddressRData -`func NewListTokensByAddressRData(offset int32, limit int32, total int32, items []ListTokensByAddressRI, ) *ListTokensByAddressRData` +`func NewListTokensByAddressRData(limit int32, offset int32, total int32, items []ListTokensByAddressRI, ) *ListTokensByAddressRData` NewListTokensByAddressRData instantiates a new ListTokensByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListTokensByAddressRDataWithDefaults instantiates a new ListTokensByAddressRD This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListTokensByAddressRData) GetOffset() int32` +`func (o *ListTokensByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListTokensByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListTokensByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListTokensByAddressRData) SetOffset(v int32)` +`func (o *ListTokensByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListTokensByAddressRData) GetLimit() int32` +`func (o *ListTokensByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListTokensByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListTokensByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListTokensByAddressRData) SetLimit(v int32)` +`func (o *ListTokensByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListTokensForwardingAutomationsRData.md b/docs/ListTokensForwardingAutomationsRData.md index 51e11ae..287c27b 100644 --- a/docs/ListTokensForwardingAutomationsRData.md +++ b/docs/ListTokensForwardingAutomationsRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListTokensForwardingAutomationsRI**](ListTokensForwardingAutomationsRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListTokensForwardingAutomationsRData -`func NewListTokensForwardingAutomationsRData(offset int32, limit int32, total int32, items []ListTokensForwardingAutomationsRI, ) *ListTokensForwardingAutomationsRData` +`func NewListTokensForwardingAutomationsRData(limit int32, offset int32, total int32, items []ListTokensForwardingAutomationsRI, ) *ListTokensForwardingAutomationsRData` NewListTokensForwardingAutomationsRData instantiates a new ListTokensForwardingAutomationsRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListTokensForwardingAutomationsRDataWithDefaults instantiates a new ListToken This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListTokensForwardingAutomationsRData) GetOffset() int32` +`func (o *ListTokensForwardingAutomationsRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListTokensForwardingAutomationsRData) GetOffsetOk() (*int32, bool)` +`func (o *ListTokensForwardingAutomationsRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListTokensForwardingAutomationsRData) SetOffset(v int32)` +`func (o *ListTokensForwardingAutomationsRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListTokensForwardingAutomationsRData) GetLimit() int32` +`func (o *ListTokensForwardingAutomationsRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListTokensForwardingAutomationsRData) GetLimitOk() (*int32, bool)` +`func (o *ListTokensForwardingAutomationsRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListTokensForwardingAutomationsRData) SetLimit(v int32)` +`func (o *ListTokensForwardingAutomationsRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListTokensForwardingAutomationsRI.md b/docs/ListTokensForwardingAutomationsRI.md index 665d0f9..4a84175 100644 --- a/docs/ListTokensForwardingAutomationsRI.md +++ b/docs/ListTokensForwardingAutomationsRI.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | Pointer to **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | [optional] **CreatedTimestamp** | **int32** | Defines the specific time/date when the automatic forwarding was created in Unix Timestamp. | **FeeAddress** | **string** | Represents the specific fee address, which is always automatically generated. Users must fund it. | diff --git a/docs/ListTokensTransfersByTransactionHashRData.md b/docs/ListTokensTransfersByTransactionHashRData.md index e2d2319..edd3fac 100644 --- a/docs/ListTokensTransfersByTransactionHashRData.md +++ b/docs/ListTokensTransfersByTransactionHashRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListTokensTransfersByTransactionHashRI**](ListTokensTransfersByTransactionHashRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListTokensTransfersByTransactionHashRData -`func NewListTokensTransfersByTransactionHashRData(offset int32, limit int32, total int32, items []ListTokensTransfersByTransactionHashRI, ) *ListTokensTransfersByTransactionHashRData` +`func NewListTokensTransfersByTransactionHashRData(limit int32, offset int32, total int32, items []ListTokensTransfersByTransactionHashRI, ) *ListTokensTransfersByTransactionHashRData` NewListTokensTransfersByTransactionHashRData instantiates a new ListTokensTransfersByTransactionHashRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListTokensTransfersByTransactionHashRDataWithDefaults instantiates a new List This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListTokensTransfersByTransactionHashRData) GetOffset() int32` +`func (o *ListTokensTransfersByTransactionHashRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListTokensTransfersByTransactionHashRData) GetOffsetOk() (*int32, bool)` +`func (o *ListTokensTransfersByTransactionHashRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListTokensTransfersByTransactionHashRData) SetOffset(v int32)` +`func (o *ListTokensTransfersByTransactionHashRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListTokensTransfersByTransactionHashRData) GetLimit() int32` +`func (o *ListTokensTransfersByTransactionHashRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListTokensTransfersByTransactionHashRData) GetLimitOk() (*int32, bool)` +`func (o *ListTokensTransfersByTransactionHashRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListTokensTransfersByTransactionHashRData) SetLimit(v int32)` +`func (o *ListTokensTransfersByTransactionHashRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListTokensTransfersByTransactionHashRI.md b/docs/ListTokensTransfersByTransactionHashRI.md index f09ec61..74ece67 100644 --- a/docs/ListTokensTransfersByTransactionHashRI.md +++ b/docs/ListTokensTransfersByTransactionHashRI.md @@ -15,12 +15,13 @@ Name | Type | Description | Notes **TokensAmount** | **string** | Defines the token amount of the transfer. | **TransactionHash** | **string** | Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | **TransactionTimestamp** | **int32** | Defines the specific time/date when the transaction was created in Unix Timestamp. | +**TransactionFee** | [**ListTokensTransfersByTransactionHashRITransactionFee**](ListTokensTransfersByTransactionHashRITransactionFee.md) | | ## Methods ### NewListTokensTransfersByTransactionHashRI -`func NewListTokensTransfersByTransactionHashRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, tokensAmount string, transactionHash string, transactionTimestamp int32, ) *ListTokensTransfersByTransactionHashRI` +`func NewListTokensTransfersByTransactionHashRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, tokensAmount string, transactionHash string, transactionTimestamp int32, transactionFee ListTokensTransfersByTransactionHashRITransactionFee, ) *ListTokensTransfersByTransactionHashRI` NewListTokensTransfersByTransactionHashRI instantiates a new ListTokensTransfersByTransactionHashRI object This constructor will assign default values to properties that have it defined, @@ -255,6 +256,26 @@ and a boolean to check if the value has been set. SetTransactionTimestamp sets TransactionTimestamp field to given value. +### GetTransactionFee + +`func (o *ListTokensTransfersByTransactionHashRI) GetTransactionFee() ListTokensTransfersByTransactionHashRITransactionFee` + +GetTransactionFee returns the TransactionFee field if non-nil, zero value otherwise. + +### GetTransactionFeeOk + +`func (o *ListTokensTransfersByTransactionHashRI) GetTransactionFeeOk() (*ListTokensTransfersByTransactionHashRITransactionFee, bool)` + +GetTransactionFeeOk returns a tuple with the TransactionFee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionFee + +`func (o *ListTokensTransfersByTransactionHashRI) SetTransactionFee(v ListTokensTransfersByTransactionHashRITransactionFee)` + +SetTransactionFee sets TransactionFee field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ListTokensTransfersByTransactionHashRITransactionFee.md b/docs/ListTokensTransfersByTransactionHashRITransactionFee.md new file mode 100644 index 0000000..566ca48 --- /dev/null +++ b/docs/ListTokensTransfersByTransactionHashRITransactionFee.md @@ -0,0 +1,72 @@ +# ListTokensTransfersByTransactionHashRITransactionFee + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Amount** | **string** | Represents the total fee of a transaction which includes token transfers. | +**Unit** | **string** | Represents the unit of the fee. | + +## Methods + +### NewListTokensTransfersByTransactionHashRITransactionFee + +`func NewListTokensTransfersByTransactionHashRITransactionFee(amount string, unit string, ) *ListTokensTransfersByTransactionHashRITransactionFee` + +NewListTokensTransfersByTransactionHashRITransactionFee instantiates a new ListTokensTransfersByTransactionHashRITransactionFee object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListTokensTransfersByTransactionHashRITransactionFeeWithDefaults + +`func NewListTokensTransfersByTransactionHashRITransactionFeeWithDefaults() *ListTokensTransfersByTransactionHashRITransactionFee` + +NewListTokensTransfersByTransactionHashRITransactionFeeWithDefaults instantiates a new ListTokensTransfersByTransactionHashRITransactionFee object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAmount + +`func (o *ListTokensTransfersByTransactionHashRITransactionFee) GetAmount() string` + +GetAmount returns the Amount field if non-nil, zero value otherwise. + +### GetAmountOk + +`func (o *ListTokensTransfersByTransactionHashRITransactionFee) GetAmountOk() (*string, bool)` + +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAmount + +`func (o *ListTokensTransfersByTransactionHashRITransactionFee) SetAmount(v string)` + +SetAmount sets Amount field to given value. + + +### GetUnit + +`func (o *ListTokensTransfersByTransactionHashRITransactionFee) GetUnit() string` + +GetUnit returns the Unit field if non-nil, zero value otherwise. + +### GetUnitOk + +`func (o *ListTokensTransfersByTransactionHashRITransactionFee) GetUnitOk() (*string, bool)` + +GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnit + +`func (o *ListTokensTransfersByTransactionHashRITransactionFee) SetUnit(v string)` + +SetUnit sets Unit field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListTransactionsByBlockHashRData.md b/docs/ListTransactionsByBlockHashRData.md index 4cacac7..86ff64d 100644 --- a/docs/ListTransactionsByBlockHashRData.md +++ b/docs/ListTransactionsByBlockHashRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListTransactionsByBlockHashRI**](ListTransactionsByBlockHashRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRData -`func NewListTransactionsByBlockHashRData(offset int32, limit int32, total int32, items []ListTransactionsByBlockHashRI, ) *ListTransactionsByBlockHashRData` +`func NewListTransactionsByBlockHashRData(limit int32, offset int32, total int32, items []ListTransactionsByBlockHashRI, ) *ListTransactionsByBlockHashRData` NewListTransactionsByBlockHashRData instantiates a new ListTransactionsByBlockHashRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListTransactionsByBlockHashRDataWithDefaults instantiates a new ListTransacti This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListTransactionsByBlockHashRData) GetOffset() int32` +`func (o *ListTransactionsByBlockHashRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListTransactionsByBlockHashRData) SetOffset(v int32)` +`func (o *ListTransactionsByBlockHashRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListTransactionsByBlockHashRData) GetLimit() int32` +`func (o *ListTransactionsByBlockHashRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListTransactionsByBlockHashRData) GetLimitOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListTransactionsByBlockHashRData) SetLimit(v int32)` +`func (o *ListTransactionsByBlockHashRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListTransactionsByBlockHashRIBS.md b/docs/ListTransactionsByBlockHashRIBS.md index 15c4032..dc09f23 100644 --- a/docs/ListTransactionsByBlockHashRIBS.md +++ b/docs/ListTransactionsByBlockHashRIBS.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Numeric representation of the transaction Represents the transaction version number. | @@ -32,7 +32,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRIBS -`func NewListTransactionsByBlockHashRIBS(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit string, gasPrice ListTransactionsByBlockHashRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListTransactionsByBlockHashRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListTransactionsByBlockHashRIBS` +`func NewListTransactionsByBlockHashRIBS(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, contract string, gasLimit string, gasPrice ListTransactionsByBlockHashRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListTransactionsByBlockHashRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListTransactionsByBlockHashRIBS` NewListTransactionsByBlockHashRIBS instantiates a new ListTransactionsByBlockHashRIBS object This constructor will assign default values to properties that have it defined, @@ -49,20 +49,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHashRIBS) GetLocktime() int32` +`func (o *ListTransactionsByBlockHashRIBS) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHashRIBS) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRIBS) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHashRIBS) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHashRIBS) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHashRIBSB.md b/docs/ListTransactionsByBlockHashRIBSB.md index 305325f..15e4ba0 100644 --- a/docs/ListTransactionsByBlockHashRIBSB.md +++ b/docs/ListTransactionsByBlockHashRIBSB.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRIBSB -`func NewListTransactionsByBlockHashRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSBVin, vout []ListTransactionsByBlockHashRIBSBVout, ) *ListTransactionsByBlockHashRIBSB` +`func NewListTransactionsByBlockHashRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSBVin, vout []ListTransactionsByBlockHashRIBSBVout, ) *ListTransactionsByBlockHashRIBSB` NewListTransactionsByBlockHashRIBSB instantiates a new ListTransactionsByBlockHashRIBSB object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHashRIBSB) GetLocktime() int32` +`func (o *ListTransactionsByBlockHashRIBSB) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHashRIBSB) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRIBSB) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHashRIBSB) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHashRIBSB) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHashRIBSBC.md b/docs/ListTransactionsByBlockHashRIBSBC.md index 77594d4..cc9ff83 100644 --- a/docs/ListTransactionsByBlockHashRIBSBC.md +++ b/docs/ListTransactionsByBlockHashRIBSBC.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]ListTransactionsByBlockHashRIBSBCVin**](ListTransactionsByBlockHashRIBSBCVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRIBSBC -`func NewListTransactionsByBlockHashRIBSBC(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHashRIBSBCVin, vout []ListTransactionsByBlockHashRIBSBCVout, ) *ListTransactionsByBlockHashRIBSBC` +`func NewListTransactionsByBlockHashRIBSBC(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHashRIBSBCVin, vout []ListTransactionsByBlockHashRIBSBCVout, ) *ListTransactionsByBlockHashRIBSBC` NewListTransactionsByBlockHashRIBSBC instantiates a new ListTransactionsByBlockHashRIBSBC object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHashRIBSBC) GetLocktime() int32` +`func (o *ListTransactionsByBlockHashRIBSBC) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHashRIBSBC) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRIBSBC) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHashRIBSBC) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHashRIBSBC) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHashRIBSD.md b/docs/ListTransactionsByBlockHashRIBSD.md index e986916..d1738b2 100644 --- a/docs/ListTransactionsByBlockHashRIBSD.md +++ b/docs/ListTransactionsByBlockHashRIBSD.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]ListTransactionsByBlockHashRIBSDVin**](ListTransactionsByBlockHashRIBSDVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRIBSD -`func NewListTransactionsByBlockHashRIBSD(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHashRIBSDVin, vout []ListTransactionsByBlockHashRIBSDVout, ) *ListTransactionsByBlockHashRIBSD` +`func NewListTransactionsByBlockHashRIBSD(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHashRIBSDVin, vout []ListTransactionsByBlockHashRIBSDVout, ) *ListTransactionsByBlockHashRIBSD` NewListTransactionsByBlockHashRIBSD instantiates a new ListTransactionsByBlockHashRIBSD object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHashRIBSD) GetLocktime() int32` +`func (o *ListTransactionsByBlockHashRIBSD) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHashRIBSD) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRIBSD) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHashRIBSD) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHashRIBSD) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHashRIBSD2.md b/docs/ListTransactionsByBlockHashRIBSD2.md index 734110e..d9ca0c8 100644 --- a/docs/ListTransactionsByBlockHashRIBSD2.md +++ b/docs/ListTransactionsByBlockHashRIBSD2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]ListTransactionsByBlockHashRIBSD2Vin**](ListTransactionsByBlockHashRIBSD2Vin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRIBSD2 -`func NewListTransactionsByBlockHashRIBSD2(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHashRIBSD2Vin, vout []ListTransactionsByBlockHashRIBSD2Vout, ) *ListTransactionsByBlockHashRIBSD2` +`func NewListTransactionsByBlockHashRIBSD2(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHashRIBSD2Vin, vout []ListTransactionsByBlockHashRIBSD2Vout, ) *ListTransactionsByBlockHashRIBSD2` NewListTransactionsByBlockHashRIBSD2 instantiates a new ListTransactionsByBlockHashRIBSD2 object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHashRIBSD2) GetLocktime() int32` +`func (o *ListTransactionsByBlockHashRIBSD2) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHashRIBSD2) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRIBSD2) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHashRIBSD2) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHashRIBSD2) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHashRIBSL.md b/docs/ListTransactionsByBlockHashRIBSL.md index 2456c99..6ec7916 100644 --- a/docs/ListTransactionsByBlockHashRIBSL.md +++ b/docs/ListTransactionsByBlockHashRIBSL.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRIBSL -`func NewListTransactionsByBlockHashRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSLVin, vout []ListTransactionsByBlockHashRIBSLVout, ) *ListTransactionsByBlockHashRIBSL` +`func NewListTransactionsByBlockHashRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSLVin, vout []ListTransactionsByBlockHashRIBSLVout, ) *ListTransactionsByBlockHashRIBSL` NewListTransactionsByBlockHashRIBSL instantiates a new ListTransactionsByBlockHashRIBSL object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHashRIBSL) GetLocktime() int32` +`func (o *ListTransactionsByBlockHashRIBSL) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHashRIBSL) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRIBSL) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHashRIBSL) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHashRIBSL) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHashRIBSZ.md b/docs/ListTransactionsByBlockHashRIBSZ.md index 34e96e4..3c8bd88 100644 --- a/docs/ListTransactionsByBlockHashRIBSZ.md +++ b/docs/ListTransactionsByBlockHashRIBSZ.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | **JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | **JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VJoinSplit** | [**[]ListTransactionsByBlockHashRIBSZVJoinSplit**](ListTransactionsByBlockHashRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRIBSZ -`func NewListTransactionsByBlockHashRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListTransactionsByBlockHashRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListTransactionsByBlockHashRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListTransactionsByBlockHashRIBSZ` +`func NewListTransactionsByBlockHashRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListTransactionsByBlockHashRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListTransactionsByBlockHashRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListTransactionsByBlockHashRIBSZ` NewListTransactionsByBlockHashRIBSZ instantiates a new ListTransactionsByBlockHashRIBSZ object This constructor will assign default values to properties that have it defined, @@ -121,20 +121,20 @@ SetJoinSplitSig sets JoinSplitSig field to given value. ### GetLocktime -`func (o *ListTransactionsByBlockHashRIBSZ) GetLocktime() int32` +`func (o *ListTransactionsByBlockHashRIBSZ) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHashRIBSZ) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRIBSZ) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHashRIBSZ) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHashRIBSZ) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHashRIBSZVin.md b/docs/ListTransactionsByBlockHashRIBSZVin.md index 0ee549f..ff3c406 100644 --- a/docs/ListTransactionsByBlockHashRIBSZVin.md +++ b/docs/ListTransactionsByBlockHashRIBSZVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | **string** | Represents the coinbase hex. | **ScriptSig** | [**ListTransactionsByBlockHashRIBSZScriptSig**](ListTransactionsByBlockHashRIBSZScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | **[]string** | | **Value** | **string** | Defines the specific amount. | @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHashRIBSZVin -`func NewListTransactionsByBlockHashRIBSZVin(addresses []string, coinbase string, scriptSig ListTransactionsByBlockHashRIBSZScriptSig, sequence int32, txid string, txinwitness []string, value string, vout int32, ) *ListTransactionsByBlockHashRIBSZVin` +`func NewListTransactionsByBlockHashRIBSZVin(addresses []string, coinbase string, scriptSig ListTransactionsByBlockHashRIBSZScriptSig, sequence int64, txid string, txinwitness []string, value string, vout int32, ) *ListTransactionsByBlockHashRIBSZVin` NewListTransactionsByBlockHashRIBSZVin instantiates a new ListTransactionsByBlockHashRIBSZVin object This constructor will assign default values to properties that have it defined, @@ -94,20 +94,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *ListTransactionsByBlockHashRIBSZVin) GetSequence() int32` +`func (o *ListTransactionsByBlockHashRIBSZVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *ListTransactionsByBlockHashRIBSZVin) GetSequenceOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHashRIBSZVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *ListTransactionsByBlockHashRIBSZVin) SetSequence(v int32)` +`func (o *ListTransactionsByBlockHashRIBSZVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/ListTransactionsByBlockHeightRData.md b/docs/ListTransactionsByBlockHeightRData.md index a7c91b0..400aaac 100644 --- a/docs/ListTransactionsByBlockHeightRData.md +++ b/docs/ListTransactionsByBlockHeightRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListTransactionsByBlockHeightRI**](ListTransactionsByBlockHeightRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRData -`func NewListTransactionsByBlockHeightRData(offset int32, limit int32, total int32, items []ListTransactionsByBlockHeightRI, ) *ListTransactionsByBlockHeightRData` +`func NewListTransactionsByBlockHeightRData(limit int32, offset int32, total int32, items []ListTransactionsByBlockHeightRI, ) *ListTransactionsByBlockHeightRData` NewListTransactionsByBlockHeightRData instantiates a new ListTransactionsByBlockHeightRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListTransactionsByBlockHeightRDataWithDefaults instantiates a new ListTransac This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListTransactionsByBlockHeightRData) GetOffset() int32` +`func (o *ListTransactionsByBlockHeightRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListTransactionsByBlockHeightRData) SetOffset(v int32)` +`func (o *ListTransactionsByBlockHeightRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListTransactionsByBlockHeightRData) GetLimit() int32` +`func (o *ListTransactionsByBlockHeightRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListTransactionsByBlockHeightRData) SetLimit(v int32)` +`func (o *ListTransactionsByBlockHeightRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListTransactionsByBlockHeightRIBS.md b/docs/ListTransactionsByBlockHeightRIBS.md index 55d90ac..933bbc7 100644 --- a/docs/ListTransactionsByBlockHeightRIBS.md +++ b/docs/ListTransactionsByBlockHeightRIBS.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction version number. | @@ -32,7 +32,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRIBS -`func NewListTransactionsByBlockHeightRIBS(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHeightRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout, contract string, gasLimit string, gasPrice ListTransactionsByBlockHeightRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListTransactionsByBlockHeightRIBSZVJoinSplit, vShieldedOutput []ListTransactionsByBlockHeightRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListTransactionsByBlockHeightRIBS` +`func NewListTransactionsByBlockHeightRIBS(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHeightRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout, contract string, gasLimit string, gasPrice ListTransactionsByBlockHeightRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListTransactionsByBlockHeightRIBSZVJoinSplit, vShieldedOutput []ListTransactionsByBlockHeightRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListTransactionsByBlockHeightRIBS` NewListTransactionsByBlockHeightRIBS instantiates a new ListTransactionsByBlockHeightRIBS object This constructor will assign default values to properties that have it defined, @@ -49,20 +49,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHeightRIBS) GetLocktime() int32` +`func (o *ListTransactionsByBlockHeightRIBS) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHeightRIBS) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRIBS) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHeightRIBS) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHeightRIBS) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHeightRIBSB.md b/docs/ListTransactionsByBlockHeightRIBSB.md index fdc6e3d..caed24a 100644 --- a/docs/ListTransactionsByBlockHeightRIBSB.md +++ b/docs/ListTransactionsByBlockHeightRIBSB.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRIBSB -`func NewListTransactionsByBlockHeightRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSBVin, vout []ListTransactionsByBlockHeightRIBSBVout, ) *ListTransactionsByBlockHeightRIBSB` +`func NewListTransactionsByBlockHeightRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSBVin, vout []ListTransactionsByBlockHeightRIBSBVout, ) *ListTransactionsByBlockHeightRIBSB` NewListTransactionsByBlockHeightRIBSB instantiates a new ListTransactionsByBlockHeightRIBSB object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHeightRIBSB) GetLocktime() int32` +`func (o *ListTransactionsByBlockHeightRIBSB) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHeightRIBSB) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRIBSB) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHeightRIBSB) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHeightRIBSB) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHeightRIBSBC.md b/docs/ListTransactionsByBlockHeightRIBSBC.md index d746bea..49cb41b 100644 --- a/docs/ListTransactionsByBlockHeightRIBSBC.md +++ b/docs/ListTransactionsByBlockHeightRIBSBC.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the total size of this transaction. | **Vin** | [**[]ListTransactionsByBlockHashRIBSBCVin**](ListTransactionsByBlockHashRIBSBCVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRIBSBC -`func NewListTransactionsByBlockHeightRIBSBC(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHashRIBSBCVin, vout []ListTransactionsByBlockHashRIBSBCVout, ) *ListTransactionsByBlockHeightRIBSBC` +`func NewListTransactionsByBlockHeightRIBSBC(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHashRIBSBCVin, vout []ListTransactionsByBlockHashRIBSBCVout, ) *ListTransactionsByBlockHeightRIBSBC` NewListTransactionsByBlockHeightRIBSBC instantiates a new ListTransactionsByBlockHeightRIBSBC object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktime() int32` +`func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHeightRIBSBC) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHeightRIBSBC) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHeightRIBSD.md b/docs/ListTransactionsByBlockHeightRIBSD.md index 7c8e6df..f2abe34 100644 --- a/docs/ListTransactionsByBlockHeightRIBSD.md +++ b/docs/ListTransactionsByBlockHeightRIBSD.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]ListTransactionsByBlockHeightRIBSDVin**](ListTransactionsByBlockHeightRIBSDVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRIBSD -`func NewListTransactionsByBlockHeightRIBSD(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHeightRIBSDVin, vout []ListTransactionsByBlockHeightRIBSDVout, ) *ListTransactionsByBlockHeightRIBSD` +`func NewListTransactionsByBlockHeightRIBSD(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHeightRIBSDVin, vout []ListTransactionsByBlockHeightRIBSDVout, ) *ListTransactionsByBlockHeightRIBSD` NewListTransactionsByBlockHeightRIBSD instantiates a new ListTransactionsByBlockHeightRIBSD object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHeightRIBSD) GetLocktime() int32` +`func (o *ListTransactionsByBlockHeightRIBSD) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHeightRIBSD) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRIBSD) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHeightRIBSD) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHeightRIBSD) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHeightRIBSD2.md b/docs/ListTransactionsByBlockHeightRIBSD2.md index acfae74..ac80927 100644 --- a/docs/ListTransactionsByBlockHeightRIBSD2.md +++ b/docs/ListTransactionsByBlockHeightRIBSD2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents transaction version number. | **Vin** | [**[]ListTransactionsByBlockHeightRIBSD2Vin**](ListTransactionsByBlockHeightRIBSD2Vin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRIBSD2 -`func NewListTransactionsByBlockHeightRIBSD2(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHeightRIBSD2Vin, vout []ListTransactionsByBlockHashRIBSDVout, ) *ListTransactionsByBlockHeightRIBSD2` +`func NewListTransactionsByBlockHeightRIBSD2(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHeightRIBSD2Vin, vout []ListTransactionsByBlockHashRIBSDVout, ) *ListTransactionsByBlockHeightRIBSD2` NewListTransactionsByBlockHeightRIBSD2 instantiates a new ListTransactionsByBlockHeightRIBSD2 object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktime() int32` +`func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHeightRIBSD2) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHeightRIBSD2) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHeightRIBSL.md b/docs/ListTransactionsByBlockHeightRIBSL.md index c585c31..9901989 100644 --- a/docs/ListTransactionsByBlockHeightRIBSL.md +++ b/docs/ListTransactionsByBlockHeightRIBSL.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents transaction version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRIBSL -`func NewListTransactionsByBlockHeightRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHeightRIBSLVin, vout []ListTransactionsByBlockHeightRIBSLVout, ) *ListTransactionsByBlockHeightRIBSL` +`func NewListTransactionsByBlockHeightRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHeightRIBSLVin, vout []ListTransactionsByBlockHeightRIBSLVout, ) *ListTransactionsByBlockHeightRIBSL` NewListTransactionsByBlockHeightRIBSL instantiates a new ListTransactionsByBlockHeightRIBSL object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListTransactionsByBlockHeightRIBSL) GetLocktime() int32` +`func (o *ListTransactionsByBlockHeightRIBSL) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHeightRIBSL) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRIBSL) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHeightRIBSL) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHeightRIBSL) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHeightRIBSZ.md b/docs/ListTransactionsByBlockHeightRIBSZ.md index 618448d..36d1e08 100644 --- a/docs/ListTransactionsByBlockHeightRIBSZ.md +++ b/docs/ListTransactionsByBlockHeightRIBSZ.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | **JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | **JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain. | +**Locktime** | **int64** | Represents the time at which a particular transaction can be added to the blockchain. | **Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VJoinSplit** | [**[]ListTransactionsByBlockHeightRIBSZVJoinSplit**](ListTransactionsByBlockHeightRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRIBSZ -`func NewListTransactionsByBlockHeightRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListTransactionsByBlockHeightRIBSZVJoinSplit, vShieldedOutput []ListTransactionsByBlockHeightRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListTransactionsByBlockHeightRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout, ) *ListTransactionsByBlockHeightRIBSZ` +`func NewListTransactionsByBlockHeightRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListTransactionsByBlockHeightRIBSZVJoinSplit, vShieldedOutput []ListTransactionsByBlockHeightRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListTransactionsByBlockHeightRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout, ) *ListTransactionsByBlockHeightRIBSZ` NewListTransactionsByBlockHeightRIBSZ instantiates a new ListTransactionsByBlockHeightRIBSZ object This constructor will assign default values to properties that have it defined, @@ -121,20 +121,20 @@ SetJoinSplitSig sets JoinSplitSig field to given value. ### GetLocktime -`func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktime() int32` +`func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktimeOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListTransactionsByBlockHeightRIBSZ) SetLocktime(v int32)` +`func (o *ListTransactionsByBlockHeightRIBSZ) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListTransactionsByBlockHeightRIBSZVin.md b/docs/ListTransactionsByBlockHeightRIBSZVin.md index ee3f785..8378a2e 100644 --- a/docs/ListTransactionsByBlockHeightRIBSZVin.md +++ b/docs/ListTransactionsByBlockHeightRIBSZVin.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Addresses** | **[]string** | | **Coinbase** | **string** | Represents the coinbase hex. | **ScriptSig** | [**ListTransactionsByBlockHeightRIBSZScriptSig**](ListTransactionsByBlockHeightRIBSZScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | **string** | Represents the reference transaction identifier. | **Txinwitness** | **[]string** | | **Value** | **string** | Defines the specific amount. | @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewListTransactionsByBlockHeightRIBSZVin -`func NewListTransactionsByBlockHeightRIBSZVin(addresses []string, coinbase string, scriptSig ListTransactionsByBlockHeightRIBSZScriptSig, sequence int32, txid string, txinwitness []string, value string, vout int32, ) *ListTransactionsByBlockHeightRIBSZVin` +`func NewListTransactionsByBlockHeightRIBSZVin(addresses []string, coinbase string, scriptSig ListTransactionsByBlockHeightRIBSZScriptSig, sequence int64, txid string, txinwitness []string, value string, vout int32, ) *ListTransactionsByBlockHeightRIBSZVin` NewListTransactionsByBlockHeightRIBSZVin instantiates a new ListTransactionsByBlockHeightRIBSZVin object This constructor will assign default values to properties that have it defined, @@ -94,20 +94,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequence() int32` +`func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequenceOk() (*int32, bool)` +`func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *ListTransactionsByBlockHeightRIBSZVin) SetSequence(v int32)` +`func (o *ListTransactionsByBlockHeightRIBSZVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/ListUnconfirmedOmniTransactionsByAddressRData.md b/docs/ListUnconfirmedOmniTransactionsByAddressRData.md index 92f3724..15b8170 100644 --- a/docs/ListUnconfirmedOmniTransactionsByAddressRData.md +++ b/docs/ListUnconfirmedOmniTransactionsByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListUnconfirmedOmniTransactionsByAddressRI**](ListUnconfirmedOmniTransactionsByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedOmniTransactionsByAddressRData -`func NewListUnconfirmedOmniTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListUnconfirmedOmniTransactionsByAddressRI, ) *ListUnconfirmedOmniTransactionsByAddressRData` +`func NewListUnconfirmedOmniTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListUnconfirmedOmniTransactionsByAddressRI, ) *ListUnconfirmedOmniTransactionsByAddressRData` NewListUnconfirmedOmniTransactionsByAddressRData instantiates a new ListUnconfirmedOmniTransactionsByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListUnconfirmedOmniTransactionsByAddressRDataWithDefaults instantiates a new This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetOffset() int32` +`func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetOffset(v int32)` +`func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetLimit() int32` +`func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetLimit(v int32)` +`func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListUnconfirmedOmniTransactionsByPropertyIDRData.md b/docs/ListUnconfirmedOmniTransactionsByPropertyIDRData.md index 69320a9..9574a28 100644 --- a/docs/ListUnconfirmedOmniTransactionsByPropertyIDRData.md +++ b/docs/ListUnconfirmedOmniTransactionsByPropertyIDRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListUnconfirmedOmniTransactionsByPropertyIDRI**](ListUnconfirmedOmniTransactionsByPropertyIDRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedOmniTransactionsByPropertyIDRData -`func NewListUnconfirmedOmniTransactionsByPropertyIDRData(offset int32, limit int32, total int32, items []ListUnconfirmedOmniTransactionsByPropertyIDRI, ) *ListUnconfirmedOmniTransactionsByPropertyIDRData` +`func NewListUnconfirmedOmniTransactionsByPropertyIDRData(limit int32, offset int32, total int32, items []ListUnconfirmedOmniTransactionsByPropertyIDRI, ) *ListUnconfirmedOmniTransactionsByPropertyIDRData` NewListUnconfirmedOmniTransactionsByPropertyIDRData instantiates a new ListUnconfirmedOmniTransactionsByPropertyIDRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListUnconfirmedOmniTransactionsByPropertyIDRDataWithDefaults instantiates a n This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetOffset() int32` +`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetOffsetOk() (*int32, bool)` +`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetOffset(v int32)` +`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetLimit() int32` +`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetLimitOk() (*int32, bool)` +`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetLimit(v int32)` +`func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListUnconfirmedTokensTransfersByAddressE400.md b/docs/ListUnconfirmedTokensTransfersByAddressE400.md new file mode 100644 index 0000000..2a79c61 --- /dev/null +++ b/docs/ListUnconfirmedTokensTransfersByAddressE400.md @@ -0,0 +1,98 @@ +# ListUnconfirmedTokensTransfersByAddressE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListUnconfirmedTokensTransfersByAddressE400 + +`func NewListUnconfirmedTokensTransfersByAddressE400(code string, message string, ) *ListUnconfirmedTokensTransfersByAddressE400` + +NewListUnconfirmedTokensTransfersByAddressE400 instantiates a new ListUnconfirmedTokensTransfersByAddressE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListUnconfirmedTokensTransfersByAddressE400WithDefaults + +`func NewListUnconfirmedTokensTransfersByAddressE400WithDefaults() *ListUnconfirmedTokensTransfersByAddressE400` + +NewListUnconfirmedTokensTransfersByAddressE400WithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListUnconfirmedTokensTransfersByAddressE401.md b/docs/ListUnconfirmedTokensTransfersByAddressE401.md new file mode 100644 index 0000000..28a31e0 --- /dev/null +++ b/docs/ListUnconfirmedTokensTransfersByAddressE401.md @@ -0,0 +1,98 @@ +# ListUnconfirmedTokensTransfersByAddressE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListUnconfirmedTokensTransfersByAddressE401 + +`func NewListUnconfirmedTokensTransfersByAddressE401(code string, message string, ) *ListUnconfirmedTokensTransfersByAddressE401` + +NewListUnconfirmedTokensTransfersByAddressE401 instantiates a new ListUnconfirmedTokensTransfersByAddressE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListUnconfirmedTokensTransfersByAddressE401WithDefaults + +`func NewListUnconfirmedTokensTransfersByAddressE401WithDefaults() *ListUnconfirmedTokensTransfersByAddressE401` + +NewListUnconfirmedTokensTransfersByAddressE401WithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListUnconfirmedTokensTransfersByAddressE403.md b/docs/ListUnconfirmedTokensTransfersByAddressE403.md new file mode 100644 index 0000000..2c96dad --- /dev/null +++ b/docs/ListUnconfirmedTokensTransfersByAddressE403.md @@ -0,0 +1,98 @@ +# ListUnconfirmedTokensTransfersByAddressE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListUnconfirmedTokensTransfersByAddressE403 + +`func NewListUnconfirmedTokensTransfersByAddressE403(code string, message string, ) *ListUnconfirmedTokensTransfersByAddressE403` + +NewListUnconfirmedTokensTransfersByAddressE403 instantiates a new ListUnconfirmedTokensTransfersByAddressE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListUnconfirmedTokensTransfersByAddressE403WithDefaults + +`func NewListUnconfirmedTokensTransfersByAddressE403WithDefaults() *ListUnconfirmedTokensTransfersByAddressE403` + +NewListUnconfirmedTokensTransfersByAddressE403WithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListUnconfirmedTokensTransfersByAddressE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListUnconfirmedTokensTransfersByAddressR.md b/docs/ListUnconfirmedTokensTransfersByAddressR.md new file mode 100644 index 0000000..d05e82d --- /dev/null +++ b/docs/ListUnconfirmedTokensTransfersByAddressR.md @@ -0,0 +1,119 @@ +# ListUnconfirmedTokensTransfersByAddressR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**ListUnconfirmedTokensTransfersByAddressRData**](ListUnconfirmedTokensTransfersByAddressRData.md) | | + +## Methods + +### NewListUnconfirmedTokensTransfersByAddressR + +`func NewListUnconfirmedTokensTransfersByAddressR(apiVersion string, requestId string, data ListUnconfirmedTokensTransfersByAddressRData, ) *ListUnconfirmedTokensTransfersByAddressR` + +NewListUnconfirmedTokensTransfersByAddressR instantiates a new ListUnconfirmedTokensTransfersByAddressR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListUnconfirmedTokensTransfersByAddressRWithDefaults + +`func NewListUnconfirmedTokensTransfersByAddressRWithDefaults() *ListUnconfirmedTokensTransfersByAddressR` + +NewListUnconfirmedTokensTransfersByAddressRWithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *ListUnconfirmedTokensTransfersByAddressR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *ListUnconfirmedTokensTransfersByAddressR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *ListUnconfirmedTokensTransfersByAddressR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *ListUnconfirmedTokensTransfersByAddressR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ListUnconfirmedTokensTransfersByAddressR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ListUnconfirmedTokensTransfersByAddressR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *ListUnconfirmedTokensTransfersByAddressR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *ListUnconfirmedTokensTransfersByAddressR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *ListUnconfirmedTokensTransfersByAddressR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *ListUnconfirmedTokensTransfersByAddressR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *ListUnconfirmedTokensTransfersByAddressR) GetData() ListUnconfirmedTokensTransfersByAddressRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ListUnconfirmedTokensTransfersByAddressR) GetDataOk() (*ListUnconfirmedTokensTransfersByAddressRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ListUnconfirmedTokensTransfersByAddressR) SetData(v ListUnconfirmedTokensTransfersByAddressRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListUnconfirmedTokensTransfersByAddressRData.md b/docs/ListUnconfirmedTokensTransfersByAddressRData.md new file mode 100644 index 0000000..dd2720c --- /dev/null +++ b/docs/ListUnconfirmedTokensTransfersByAddressRData.md @@ -0,0 +1,114 @@ +# ListUnconfirmedTokensTransfersByAddressRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | +**Total** | **int32** | Defines the total number of items returned in the response. | +**Items** | [**[]ListUnconfirmedTokensTransfersByAddressRI**](ListUnconfirmedTokensTransfersByAddressRI.md) | | + +## Methods + +### NewListUnconfirmedTokensTransfersByAddressRData + +`func NewListUnconfirmedTokensTransfersByAddressRData(limit int32, offset int32, total int32, items []ListUnconfirmedTokensTransfersByAddressRI, ) *ListUnconfirmedTokensTransfersByAddressRData` + +NewListUnconfirmedTokensTransfersByAddressRData instantiates a new ListUnconfirmedTokensTransfersByAddressRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListUnconfirmedTokensTransfersByAddressRDataWithDefaults + +`func NewListUnconfirmedTokensTransfersByAddressRDataWithDefaults() *ListUnconfirmedTokensTransfersByAddressRData` + +NewListUnconfirmedTokensTransfersByAddressRDataWithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimit + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) GetLimit() int32` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) GetLimitOk() (*int32, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) SetLimit(v int32)` + +SetLimit sets Limit field to given value. + + +### GetOffset + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) GetOffset() int32` + +GetOffset returns the Offset field if non-nil, zero value otherwise. + +### GetOffsetOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) GetOffsetOk() (*int32, bool)` + +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOffset + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) SetOffset(v int32)` + +SetOffset sets Offset field to given value. + + +### GetTotal + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) GetTotal() int32` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) GetTotalOk() (*int32, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) SetTotal(v int32)` + +SetTotal sets Total field to given value. + + +### GetItems + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) GetItems() []ListUnconfirmedTokensTransfersByAddressRI` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) GetItemsOk() (*[]ListUnconfirmedTokensTransfersByAddressRI, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *ListUnconfirmedTokensTransfersByAddressRData) SetItems(v []ListUnconfirmedTokensTransfersByAddressRI)` + +SetItems sets Items field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListUnconfirmedTokensTransfersByAddressRI.md b/docs/ListUnconfirmedTokensTransfersByAddressRI.md new file mode 100644 index 0000000..ee88a8c --- /dev/null +++ b/docs/ListUnconfirmedTokensTransfersByAddressRI.md @@ -0,0 +1,271 @@ +# ListUnconfirmedTokensTransfersByAddressRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ContractAddress** | **string** | Represents the contract address of the token, which controls its logic. It is not the address that holds the tokens. | +**RecipientAddress** | **string** | Defines the address to which the recipient receives the transferred tokens. | +**SenderAddress** | **string** | Defines the address from which the sender transfers tokens. | +**TokenDecimals** | **int32** | Defines the decimals of the token, i.e. the number of digits that come after the decimal coma of the token. | +**TokenId** | Pointer to **string** | Represents the unique token identifier. | [optional] +**TokenName** | **string** | Defines the token's name as a string. | +**TokenSymbol** | **string** | Defines the token symbol by which the token contract is known. It is usually 3-4 characters in length. | +**TokenType** | **string** | Defines the specific token type. | +**TokensAmount** | Pointer to **string** | Defines the token amount of the transfer. | [optional] +**TransactionHash** | **string** | Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | +**TransactionTimestamp** | **int32** | Defines the specific time/date when the transaction was created in Unix Timestamp. | + +## Methods + +### NewListUnconfirmedTokensTransfersByAddressRI + +`func NewListUnconfirmedTokensTransfersByAddressRI(contractAddress string, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, transactionHash string, transactionTimestamp int32, ) *ListUnconfirmedTokensTransfersByAddressRI` + +NewListUnconfirmedTokensTransfersByAddressRI instantiates a new ListUnconfirmedTokensTransfersByAddressRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListUnconfirmedTokensTransfersByAddressRIWithDefaults + +`func NewListUnconfirmedTokensTransfersByAddressRIWithDefaults() *ListUnconfirmedTokensTransfersByAddressRI` + +NewListUnconfirmedTokensTransfersByAddressRIWithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContractAddress + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetContractAddress() string` + +GetContractAddress returns the ContractAddress field if non-nil, zero value otherwise. + +### GetContractAddressOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetContractAddressOk() (*string, bool)` + +GetContractAddressOk returns a tuple with the ContractAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContractAddress + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetContractAddress(v string)` + +SetContractAddress sets ContractAddress field to given value. + + +### GetRecipientAddress + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetRecipientAddress() string` + +GetRecipientAddress returns the RecipientAddress field if non-nil, zero value otherwise. + +### GetRecipientAddressOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetRecipientAddressOk() (*string, bool)` + +GetRecipientAddressOk returns a tuple with the RecipientAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipientAddress + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetRecipientAddress(v string)` + +SetRecipientAddress sets RecipientAddress field to given value. + + +### GetSenderAddress + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetSenderAddress() string` + +GetSenderAddress returns the SenderAddress field if non-nil, zero value otherwise. + +### GetSenderAddressOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetSenderAddressOk() (*string, bool)` + +GetSenderAddressOk returns a tuple with the SenderAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSenderAddress + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetSenderAddress(v string)` + +SetSenderAddress sets SenderAddress field to given value. + + +### GetTokenDecimals + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenDecimals() int32` + +GetTokenDecimals returns the TokenDecimals field if non-nil, zero value otherwise. + +### GetTokenDecimalsOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenDecimalsOk() (*int32, bool)` + +GetTokenDecimalsOk returns a tuple with the TokenDecimals field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenDecimals + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenDecimals(v int32)` + +SetTokenDecimals sets TokenDecimals field to given value. + + +### GetTokenId + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenId() string` + +GetTokenId returns the TokenId field if non-nil, zero value otherwise. + +### GetTokenIdOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenIdOk() (*string, bool)` + +GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenId + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenId(v string)` + +SetTokenId sets TokenId field to given value. + +### HasTokenId + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) HasTokenId() bool` + +HasTokenId returns a boolean if a field has been set. + +### GetTokenName + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenName() string` + +GetTokenName returns the TokenName field if non-nil, zero value otherwise. + +### GetTokenNameOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenNameOk() (*string, bool)` + +GetTokenNameOk returns a tuple with the TokenName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenName + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenName(v string)` + +SetTokenName sets TokenName field to given value. + + +### GetTokenSymbol + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenSymbol() string` + +GetTokenSymbol returns the TokenSymbol field if non-nil, zero value otherwise. + +### GetTokenSymbolOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenSymbolOk() (*string, bool)` + +GetTokenSymbolOk returns a tuple with the TokenSymbol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenSymbol + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenSymbol(v string)` + +SetTokenSymbol sets TokenSymbol field to given value. + + +### GetTokenType + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenType() string` + +GetTokenType returns the TokenType field if non-nil, zero value otherwise. + +### GetTokenTypeOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenTypeOk() (*string, bool)` + +GetTokenTypeOk returns a tuple with the TokenType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokenType + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenType(v string)` + +SetTokenType sets TokenType field to given value. + + +### GetTokensAmount + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokensAmount() string` + +GetTokensAmount returns the TokensAmount field if non-nil, zero value otherwise. + +### GetTokensAmountOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokensAmountOk() (*string, bool)` + +GetTokensAmountOk returns a tuple with the TokensAmount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTokensAmount + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokensAmount(v string)` + +SetTokensAmount sets TokensAmount field to given value. + +### HasTokensAmount + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) HasTokensAmount() bool` + +HasTokensAmount returns a boolean if a field has been set. + +### GetTransactionHash + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetTransactionTimestamp + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTransactionTimestamp() int32` + +GetTransactionTimestamp returns the TransactionTimestamp field if non-nil, zero value otherwise. + +### GetTransactionTimestampOk + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTransactionTimestampOk() (*int32, bool)` + +GetTransactionTimestampOk returns a tuple with the TransactionTimestamp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionTimestamp + +`func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTransactionTimestamp(v int32)` + +SetTransactionTimestamp sets TransactionTimestamp field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListUnconfirmedTransactionsByAddressRData.md b/docs/ListUnconfirmedTransactionsByAddressRData.md index 58f4a6c..762ebd1 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRData.md +++ b/docs/ListUnconfirmedTransactionsByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListUnconfirmedTransactionsByAddressRI**](ListUnconfirmedTransactionsByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRData -`func NewListUnconfirmedTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListUnconfirmedTransactionsByAddressRI, ) *ListUnconfirmedTransactionsByAddressRData` +`func NewListUnconfirmedTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListUnconfirmedTransactionsByAddressRI, ) *ListUnconfirmedTransactionsByAddressRData` NewListUnconfirmedTransactionsByAddressRData instantiates a new ListUnconfirmedTransactionsByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListUnconfirmedTransactionsByAddressRDataWithDefaults instantiates a new List This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListUnconfirmedTransactionsByAddressRData) GetOffset() int32` +`func (o *ListUnconfirmedTransactionsByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListUnconfirmedTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListUnconfirmedTransactionsByAddressRData) SetOffset(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListUnconfirmedTransactionsByAddressRData) GetLimit() int32` +`func (o *ListUnconfirmedTransactionsByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListUnconfirmedTransactionsByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListUnconfirmedTransactionsByAddressRData) SetLimit(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListUnconfirmedTransactionsByAddressRIBS.md b/docs/ListUnconfirmedTransactionsByAddressRIBS.md index 3558edb..9dff6c3 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRIBS.md +++ b/docs/ListUnconfirmedTransactionsByAddressRIBS.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Defines the version of the transaction. | @@ -31,7 +31,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRIBS -`func NewListUnconfirmedTransactionsByAddressRIBS(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, fee ListUnconfirmedTransactionsByAddressRIBSECFee, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListUnconfirmedTransactionsByAddressRIBS` +`func NewListUnconfirmedTransactionsByAddressRIBS(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, fee ListUnconfirmedTransactionsByAddressRIBSECFee, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, inputData string, nonce int32, transactionStatus string, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, versionGroupId string, ) *ListUnconfirmedTransactionsByAddressRIBS` NewListUnconfirmedTransactionsByAddressRIBS instantiates a new ListUnconfirmedTransactionsByAddressRIBS object This constructor will assign default values to properties that have it defined, @@ -48,20 +48,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBS) GetLocktime() int32` +`func (o *ListUnconfirmedTransactionsByAddressRIBS) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListUnconfirmedTransactionsByAddressRIBS) GetLocktimeOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRIBS) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBS) SetLocktime(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRIBS) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListUnconfirmedTransactionsByAddressRIBSB.md b/docs/ListUnconfirmedTransactionsByAddressRIBSB.md index 78830e4..0aca586 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRIBSB.md +++ b/docs/ListUnconfirmedTransactionsByAddressRIBSB.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Defines the transaction's virtual size. | **Version** | **int32** | Defines the version of the transaction. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRIBSB -`func NewListUnconfirmedTransactionsByAddressRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSBVin, vout []ListUnconfirmedTransactionsByAddressRIBSBVout, ) *ListUnconfirmedTransactionsByAddressRIBSB` +`func NewListUnconfirmedTransactionsByAddressRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSBVin, vout []ListUnconfirmedTransactionsByAddressRIBSBVout, ) *ListUnconfirmedTransactionsByAddressRIBSB` NewListUnconfirmedTransactionsByAddressRIBSB instantiates a new ListUnconfirmedTransactionsByAddressRIBSB object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktime() int32` +`func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktimeOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSB) SetLocktime(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSB) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListUnconfirmedTransactionsByAddressRIBSBC.md b/docs/ListUnconfirmedTransactionsByAddressRIBSBC.md index 734016e..9164279 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRIBSBC.md +++ b/docs/ListUnconfirmedTransactionsByAddressRIBSBC.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | **Vin** | [**[]ListUnconfirmedTransactionsByAddressRIBSBCVin**](ListUnconfirmedTransactionsByAddressRIBSBCVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRIBSBC -`func NewListUnconfirmedTransactionsByAddressRIBSBC(locktime int32, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSBCVin, vout []ListUnconfirmedTransactionsByAddressRIBSBCVout, ) *ListUnconfirmedTransactionsByAddressRIBSBC` +`func NewListUnconfirmedTransactionsByAddressRIBSBC(locktime int64, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSBCVin, vout []ListUnconfirmedTransactionsByAddressRIBSBCVout, ) *ListUnconfirmedTransactionsByAddressRIBSBC` NewListUnconfirmedTransactionsByAddressRIBSBC instantiates a new ListUnconfirmedTransactionsByAddressRIBSBC object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktime() int32` +`func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktimeOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSBC) SetLocktime(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSBC) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListUnconfirmedTransactionsByAddressRIBSD.md b/docs/ListUnconfirmedTransactionsByAddressRIBSD.md index 5d8add5..a2d1725 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRIBSD.md +++ b/docs/ListUnconfirmedTransactionsByAddressRIBSD.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Numeric representation of the transaction version | **Vin** | [**[]ListUnconfirmedTransactionsByAddressRIBSDVin**](ListUnconfirmedTransactionsByAddressRIBSDVin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRIBSD -`func NewListUnconfirmedTransactionsByAddressRIBSD(locktime int32, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *ListUnconfirmedTransactionsByAddressRIBSD` +`func NewListUnconfirmedTransactionsByAddressRIBSD(locktime int64, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout, ) *ListUnconfirmedTransactionsByAddressRIBSD` NewListUnconfirmedTransactionsByAddressRIBSD instantiates a new ListUnconfirmedTransactionsByAddressRIBSD object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktime() int32` +`func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktimeOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSD) SetLocktime(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSD) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListUnconfirmedTransactionsByAddressRIBSD2.md b/docs/ListUnconfirmedTransactionsByAddressRIBSD2.md index 28cd748..2911e24 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRIBSD2.md +++ b/docs/ListUnconfirmedTransactionsByAddressRIBSD2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | **Vin** | [**[]ListUnconfirmedTransactionsByAddressRIBSD2Vin**](ListUnconfirmedTransactionsByAddressRIBSD2Vin.md) | Represents the transaction inputs. | @@ -14,7 +14,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRIBSD2 -`func NewListUnconfirmedTransactionsByAddressRIBSD2(locktime int32, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSD2Vin, vout []ListUnconfirmedTransactionsByAddressRIBSD2Vout, ) *ListUnconfirmedTransactionsByAddressRIBSD2` +`func NewListUnconfirmedTransactionsByAddressRIBSD2(locktime int64, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSD2Vin, vout []ListUnconfirmedTransactionsByAddressRIBSD2Vout, ) *ListUnconfirmedTransactionsByAddressRIBSD2` NewListUnconfirmedTransactionsByAddressRIBSD2 instantiates a new ListUnconfirmedTransactionsByAddressRIBSD2 object This constructor will assign default values to properties that have it defined, @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktime() int32` +`func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktimeOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSD2) SetLocktime(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSD2) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListUnconfirmedTransactionsByAddressRIBSDVin.md b/docs/ListUnconfirmedTransactionsByAddressRIBSDVin.md index 4ad6c42..0a660ae 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRIBSDVin.md +++ b/docs/ListUnconfirmedTransactionsByAddressRIBSDVin.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Addresses** | **[]string** | | **ScriptSig** | [**ListConfirmedTransactionsByAddressRIBSDScriptSig**](ListConfirmedTransactionsByAddressRIBSDScriptSig.md) | | -**Sequence** | **int32** | Represents the script sequence number. | +**Sequence** | **int64** | Represents the script sequence number. | **Txid** | Pointer to **string** | Represents the reference transaction identifier. | [optional] **Txinwitness** | **[]string** | | **Value** | **string** | Represents the sent/received amount. | @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRIBSDVin -`func NewListUnconfirmedTransactionsByAddressRIBSDVin(addresses []string, scriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig, sequence int32, txinwitness []string, value string, ) *ListUnconfirmedTransactionsByAddressRIBSDVin` +`func NewListUnconfirmedTransactionsByAddressRIBSDVin(addresses []string, scriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig, sequence int64, txinwitness []string, value string, ) *ListUnconfirmedTransactionsByAddressRIBSDVin` NewListUnconfirmedTransactionsByAddressRIBSDVin instantiates a new ListUnconfirmedTransactionsByAddressRIBSDVin object This constructor will assign default values to properties that have it defined, @@ -73,20 +73,20 @@ SetScriptSig sets ScriptSig field to given value. ### GetSequence -`func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequence() int32` +`func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequenceOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) SetSequence(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/ListUnconfirmedTransactionsByAddressRIBSL.md b/docs/ListUnconfirmedTransactionsByAddressRIBSL.md index 1153101..632bc61 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRIBSL.md +++ b/docs/ListUnconfirmedTransactionsByAddressRIBSL.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Size** | **int32** | Represents the total size of this transaction. | **VSize** | **int32** | Represents the virtual size of this transaction. | **Version** | **int32** | Represents the transaction's version number. | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRIBSL -`func NewListUnconfirmedTransactionsByAddressRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSLVin, vout []ListUnconfirmedTransactionsByAddressRIBSLVout, ) *ListUnconfirmedTransactionsByAddressRIBSL` +`func NewListUnconfirmedTransactionsByAddressRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSLVin, vout []ListUnconfirmedTransactionsByAddressRIBSLVout, ) *ListUnconfirmedTransactionsByAddressRIBSL` NewListUnconfirmedTransactionsByAddressRIBSL instantiates a new ListUnconfirmedTransactionsByAddressRIBSL object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktime() int32` +`func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktimeOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSL) SetLocktime(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSL) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListUnconfirmedTransactionsByAddressRIBSZ.md b/docs/ListUnconfirmedTransactionsByAddressRIBSZ.md index 2946546..ca17c82 100644 --- a/docs/ListUnconfirmedTransactionsByAddressRIBSZ.md +++ b/docs/ListUnconfirmedTransactionsByAddressRIBSZ.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | **JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | **JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Locktime** | **int32** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | +**Locktime** | **int64** | Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. | **Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | **Size** | **int32** | Represents the total size of this transaction. | **VJoinSplit** | [**[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit**](ListConfirmedTransactionsByAddressRIBSZVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewListUnconfirmedTransactionsByAddressRIBSZ -`func NewListUnconfirmedTransactionsByAddressRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListUnconfirmedTransactionsByAddressRIBSZ` +`func NewListUnconfirmedTransactionsByAddressRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout, ) *ListUnconfirmedTransactionsByAddressRIBSZ` NewListUnconfirmedTransactionsByAddressRIBSZ instantiates a new ListUnconfirmedTransactionsByAddressRIBSZ object This constructor will assign default values to properties that have it defined, @@ -121,20 +121,20 @@ SetJoinSplitSig sets JoinSplitSig field to given value. ### GetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktime() int32` +`func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktime() int64` GetLocktime returns the Locktime field if non-nil, zero value otherwise. ### GetLocktimeOk -`func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktimeOk() (*int32, bool)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktimeOk() (*int64, bool)` GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocktime -`func (o *ListUnconfirmedTransactionsByAddressRIBSZ) SetLocktime(v int32)` +`func (o *ListUnconfirmedTransactionsByAddressRIBSZ) SetLocktime(v int64)` SetLocktime sets Locktime field to given value. diff --git a/docs/ListUnspentTransactionOutputsByAddressRData.md b/docs/ListUnspentTransactionOutputsByAddressRData.md index 6f31a1f..695fddc 100644 --- a/docs/ListUnspentTransactionOutputsByAddressRData.md +++ b/docs/ListUnspentTransactionOutputsByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListUnspentTransactionOutputsByAddressRI**](ListUnspentTransactionOutputsByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListUnspentTransactionOutputsByAddressRData -`func NewListUnspentTransactionOutputsByAddressRData(offset int32, limit int32, total int32, items []ListUnspentTransactionOutputsByAddressRI, ) *ListUnspentTransactionOutputsByAddressRData` +`func NewListUnspentTransactionOutputsByAddressRData(limit int32, offset int32, total int32, items []ListUnspentTransactionOutputsByAddressRI, ) *ListUnspentTransactionOutputsByAddressRData` NewListUnspentTransactionOutputsByAddressRData instantiates a new ListUnspentTransactionOutputsByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListUnspentTransactionOutputsByAddressRDataWithDefaults instantiates a new Li This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListUnspentTransactionOutputsByAddressRData) GetOffset() int32` +`func (o *ListUnspentTransactionOutputsByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListUnspentTransactionOutputsByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListUnspentTransactionOutputsByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListUnspentTransactionOutputsByAddressRData) SetOffset(v int32)` +`func (o *ListUnspentTransactionOutputsByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListUnspentTransactionOutputsByAddressRData) GetLimit() int32` +`func (o *ListUnspentTransactionOutputsByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListUnspentTransactionOutputsByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListUnspentTransactionOutputsByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListUnspentTransactionOutputsByAddressRData) SetLimit(v int32)` +`func (o *ListUnspentTransactionOutputsByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListUnspentTransactionOutputsByAddressRI.md b/docs/ListUnspentTransactionOutputsByAddressRI.md index fdddbe2..1233874 100644 --- a/docs/ListUnspentTransactionOutputsByAddressRI.md +++ b/docs/ListUnspentTransactionOutputsByAddressRI.md @@ -4,27 +4,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the address that has unspend funds per which the result is returned. | +**Amount** | **string** | Represents the sent/received amount. | **Index** | **int32** | Represents the index position of the transaction in the block. | -**Locktime** | **int32** | Represents the time at which a particular transaction can be added to the blockchain | -**MinedInBlockHash** | **string** | Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | -**MinedInBlockHeight** | **int32** | Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. | -**Recipients** | [**[]GetTransactionDetailsByTransactionIDRIRecipients**](GetTransactionDetailsByTransactionIDRIRecipients.md) | Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. | -**Senders** | [**[]ListUnspentTransactionOutputsByAddressRISenders**](ListUnspentTransactionOutputsByAddressRISenders.md) | Object Array representation of transaction senders | -**Size** | **int32** | Represents the total size of this transaction | +**IsConfirmed** | **bool** | Represents the state of the transaction whether it is confirmed or not confirmed. | **Timestamp** | **int32** | Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. | -**TransactionHash** | **string** | Represents the same as `transactionId` for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` for SegWit transactions. | **TransactionId** | **string** | Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. | -**Version** | **int32** | Represents the transaction version number. | -**Vin** | [**[]ListUnspentTransactionOutputsByAddressRIVin**](ListUnspentTransactionOutputsByAddressRIVin.md) | Represents the transaction inputs. | -**Vout** | [**[]ListConfirmedTransactionsByAddressRIBSBVout**](ListConfirmedTransactionsByAddressRIBSBVout.md) | Represents the transaction outputs. | -**Fee** | [**ListUnspentTransactionOutputsByAddressRIFee**](ListUnspentTransactionOutputsByAddressRIFee.md) | | -**BlockchainSpecific** | [**ListUnspentTransactionOutputsByAddressRIBlockchainSpecific**](ListUnspentTransactionOutputsByAddressRIBlockchainSpecific.md) | | ## Methods ### NewListUnspentTransactionOutputsByAddressRI -`func NewListUnspentTransactionOutputsByAddressRI(index int32, locktime int32, minedInBlockHash string, minedInBlockHeight int32, recipients []GetTransactionDetailsByTransactionIDRIRecipients, senders []ListUnspentTransactionOutputsByAddressRISenders, size int32, timestamp int32, transactionHash string, transactionId string, version int32, vin []ListUnspentTransactionOutputsByAddressRIVin, vout []ListConfirmedTransactionsByAddressRIBSBVout, fee ListUnspentTransactionOutputsByAddressRIFee, blockchainSpecific ListUnspentTransactionOutputsByAddressRIBlockchainSpecific, ) *ListUnspentTransactionOutputsByAddressRI` +`func NewListUnspentTransactionOutputsByAddressRI(address string, amount string, index int32, isConfirmed bool, timestamp int32, transactionId string, ) *ListUnspentTransactionOutputsByAddressRI` NewListUnspentTransactionOutputsByAddressRI instantiates a new ListUnspentTransactionOutputsByAddressRI object This constructor will assign default values to properties that have it defined, @@ -39,144 +30,84 @@ NewListUnspentTransactionOutputsByAddressRIWithDefaults instantiates a new ListU This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetIndex - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetIndex() int32` - -GetIndex returns the Index field if non-nil, zero value otherwise. - -### GetIndexOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetIndexOk() (*int32, bool)` - -GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndex - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetIndex(v int32)` - -SetIndex sets Index field to given value. - +### GetAddress -### GetLocktime +`func (o *ListUnspentTransactionOutputsByAddressRI) GetAddress() string` -`func (o *ListUnspentTransactionOutputsByAddressRI) GetLocktime() int32` +GetAddress returns the Address field if non-nil, zero value otherwise. -GetLocktime returns the Locktime field if non-nil, zero value otherwise. +### GetAddressOk -### GetLocktimeOk +`func (o *ListUnspentTransactionOutputsByAddressRI) GetAddressOk() (*string, bool)` -`func (o *ListUnspentTransactionOutputsByAddressRI) GetLocktimeOk() (*int32, bool)` - -GetLocktimeOk returns a tuple with the Locktime field if it's non-nil, zero value otherwise +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLocktime +### SetAddress -`func (o *ListUnspentTransactionOutputsByAddressRI) SetLocktime(v int32)` +`func (o *ListUnspentTransactionOutputsByAddressRI) SetAddress(v string)` -SetLocktime sets Locktime field to given value. +SetAddress sets Address field to given value. -### GetMinedInBlockHash +### GetAmount -`func (o *ListUnspentTransactionOutputsByAddressRI) GetMinedInBlockHash() string` +`func (o *ListUnspentTransactionOutputsByAddressRI) GetAmount() string` -GetMinedInBlockHash returns the MinedInBlockHash field if non-nil, zero value otherwise. +GetAmount returns the Amount field if non-nil, zero value otherwise. -### GetMinedInBlockHashOk +### GetAmountOk -`func (o *ListUnspentTransactionOutputsByAddressRI) GetMinedInBlockHashOk() (*string, bool)` +`func (o *ListUnspentTransactionOutputsByAddressRI) GetAmountOk() (*string, bool)` -GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field if it's non-nil, zero value otherwise +GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetMinedInBlockHash - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetMinedInBlockHash(v string)` - -SetMinedInBlockHash sets MinedInBlockHash field to given value. - - -### GetMinedInBlockHeight - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetMinedInBlockHeight() int32` - -GetMinedInBlockHeight returns the MinedInBlockHeight field if non-nil, zero value otherwise. - -### GetMinedInBlockHeightOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetMinedInBlockHeightOk() (*int32, bool)` - -GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +### SetAmount -### SetMinedInBlockHeight +`func (o *ListUnspentTransactionOutputsByAddressRI) SetAmount(v string)` -`func (o *ListUnspentTransactionOutputsByAddressRI) SetMinedInBlockHeight(v int32)` +SetAmount sets Amount field to given value. -SetMinedInBlockHeight sets MinedInBlockHeight field to given value. +### GetIndex -### GetRecipients - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetRecipients() []GetTransactionDetailsByTransactionIDRIRecipients` - -GetRecipients returns the Recipients field if non-nil, zero value otherwise. - -### GetRecipientsOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetRecipientsOk() (*[]GetTransactionDetailsByTransactionIDRIRecipients, bool)` - -GetRecipientsOk returns a tuple with the Recipients field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRecipients - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetRecipients(v []GetTransactionDetailsByTransactionIDRIRecipients)` - -SetRecipients sets Recipients field to given value. - - -### GetSenders - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetSenders() []ListUnspentTransactionOutputsByAddressRISenders` +`func (o *ListUnspentTransactionOutputsByAddressRI) GetIndex() int32` -GetSenders returns the Senders field if non-nil, zero value otherwise. +GetIndex returns the Index field if non-nil, zero value otherwise. -### GetSendersOk +### GetIndexOk -`func (o *ListUnspentTransactionOutputsByAddressRI) GetSendersOk() (*[]ListUnspentTransactionOutputsByAddressRISenders, bool)` +`func (o *ListUnspentTransactionOutputsByAddressRI) GetIndexOk() (*int32, bool)` -GetSendersOk returns a tuple with the Senders field if it's non-nil, zero value otherwise +GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetSenders +### SetIndex -`func (o *ListUnspentTransactionOutputsByAddressRI) SetSenders(v []ListUnspentTransactionOutputsByAddressRISenders)` +`func (o *ListUnspentTransactionOutputsByAddressRI) SetIndex(v int32)` -SetSenders sets Senders field to given value. +SetIndex sets Index field to given value. -### GetSize +### GetIsConfirmed -`func (o *ListUnspentTransactionOutputsByAddressRI) GetSize() int32` +`func (o *ListUnspentTransactionOutputsByAddressRI) GetIsConfirmed() bool` -GetSize returns the Size field if non-nil, zero value otherwise. +GetIsConfirmed returns the IsConfirmed field if non-nil, zero value otherwise. -### GetSizeOk +### GetIsConfirmedOk -`func (o *ListUnspentTransactionOutputsByAddressRI) GetSizeOk() (*int32, bool)` +`func (o *ListUnspentTransactionOutputsByAddressRI) GetIsConfirmedOk() (*bool, bool)` -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +GetIsConfirmedOk returns a tuple with the IsConfirmed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetSize +### SetIsConfirmed -`func (o *ListUnspentTransactionOutputsByAddressRI) SetSize(v int32)` +`func (o *ListUnspentTransactionOutputsByAddressRI) SetIsConfirmed(v bool)` -SetSize sets Size field to given value. +SetIsConfirmed sets IsConfirmed field to given value. ### GetTimestamp @@ -199,26 +130,6 @@ and a boolean to check if the value has been set. SetTimestamp sets Timestamp field to given value. -### GetTransactionHash - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetTransactionHash() string` - -GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. - -### GetTransactionHashOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetTransactionHashOk() (*string, bool)` - -GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTransactionHash - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetTransactionHash(v string)` - -SetTransactionHash sets TransactionHash field to given value. - - ### GetTransactionId `func (o *ListUnspentTransactionOutputsByAddressRI) GetTransactionId() string` @@ -239,106 +150,6 @@ and a boolean to check if the value has been set. SetTransactionId sets TransactionId field to given value. -### GetVersion - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetVersion() int32` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetVersionOk() (*int32, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetVersion(v int32)` - -SetVersion sets Version field to given value. - - -### GetVin - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetVin() []ListUnspentTransactionOutputsByAddressRIVin` - -GetVin returns the Vin field if non-nil, zero value otherwise. - -### GetVinOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetVinOk() (*[]ListUnspentTransactionOutputsByAddressRIVin, bool)` - -GetVinOk returns a tuple with the Vin field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVin - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetVin(v []ListUnspentTransactionOutputsByAddressRIVin)` - -SetVin sets Vin field to given value. - - -### GetVout - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetVout() []ListConfirmedTransactionsByAddressRIBSBVout` - -GetVout returns the Vout field if non-nil, zero value otherwise. - -### GetVoutOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetVoutOk() (*[]ListConfirmedTransactionsByAddressRIBSBVout, bool)` - -GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVout - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetVout(v []ListConfirmedTransactionsByAddressRIBSBVout)` - -SetVout sets Vout field to given value. - - -### GetFee - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetFee() ListUnspentTransactionOutputsByAddressRIFee` - -GetFee returns the Fee field if non-nil, zero value otherwise. - -### GetFeeOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetFeeOk() (*ListUnspentTransactionOutputsByAddressRIFee, bool)` - -GetFeeOk returns a tuple with the Fee field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFee - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetFee(v ListUnspentTransactionOutputsByAddressRIFee)` - -SetFee sets Fee field to given value. - - -### GetBlockchainSpecific - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetBlockchainSpecific() ListUnspentTransactionOutputsByAddressRIBlockchainSpecific` - -GetBlockchainSpecific returns the BlockchainSpecific field if non-nil, zero value otherwise. - -### GetBlockchainSpecificOk - -`func (o *ListUnspentTransactionOutputsByAddressRI) GetBlockchainSpecificOk() (*ListUnspentTransactionOutputsByAddressRIBlockchainSpecific, bool)` - -GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBlockchainSpecific - -`func (o *ListUnspentTransactionOutputsByAddressRI) SetBlockchainSpecific(v ListUnspentTransactionOutputsByAddressRIBlockchainSpecific)` - -SetBlockchainSpecific sets BlockchainSpecific field to given value. - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecific.md b/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecific.md deleted file mode 100644 index a51d729..0000000 --- a/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecific.md +++ /dev/null @@ -1,271 +0,0 @@ -# ListUnspentTransactionOutputsByAddressRIBlockchainSpecific - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**VSize** | **int32** | Represents the virtual size of this transaction | -**BindingSig** | **string** | It is used to enforce balance of Spend and Output transfers, in order to prevent their replay across transactions. | -**ExpiryHeight** | **int32** | Represents a block height after which the transaction will expire. | -**JoinSplitPubKey** | **string** | Represents an encoding of a JoinSplitSig public validating key. | -**JoinSplitSig** | **string** | Is used to sign transactions that contain at least one JoinSplit description. | -**Overwintered** | **bool** | \"Overwinter\" is the network upgrade for the Zcash blockchain. | -**VJoinSplit** | Pointer to [**[]ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit**](ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit.md) | Represents a sequence of JoinSplit descriptions using BCTV14 proofs. | [optional] -**VShieldedOutput** | Pointer to [**[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput**](GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput.md) | Object Array representation of transaction output descriptions | [optional] -**VShieldedSpend** | [**[]ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend**](ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend.md) | Object Array representation of transaction spend descriptions | -**ValueBalance** | **string** | Defines the transaction value balance. | -**VersionGroupId** | **string** | Represents the transaction version group ID. | - -## Methods - -### NewListUnspentTransactionOutputsByAddressRIBlockchainSpecific - -`func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecific(vSize int32, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vShieldedSpend []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend, valueBalance string, versionGroupId string, ) *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific` - -NewListUnspentTransactionOutputsByAddressRIBlockchainSpecific instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecific object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificWithDefaults - -`func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificWithDefaults() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific` - -NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecific object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetVSize - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVSize() int32` - -GetVSize returns the VSize field if non-nil, zero value otherwise. - -### GetVSizeOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVSizeOk() (*int32, bool)` - -GetVSizeOk returns a tuple with the VSize field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVSize - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVSize(v int32)` - -SetVSize sets VSize field to given value. - - -### GetBindingSig - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetBindingSig() string` - -GetBindingSig returns the BindingSig field if non-nil, zero value otherwise. - -### GetBindingSigOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetBindingSigOk() (*string, bool)` - -GetBindingSigOk returns a tuple with the BindingSig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBindingSig - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetBindingSig(v string)` - -SetBindingSig sets BindingSig field to given value. - - -### GetExpiryHeight - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetExpiryHeight() int32` - -GetExpiryHeight returns the ExpiryHeight field if non-nil, zero value otherwise. - -### GetExpiryHeightOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetExpiryHeightOk() (*int32, bool)` - -GetExpiryHeightOk returns a tuple with the ExpiryHeight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExpiryHeight - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetExpiryHeight(v int32)` - -SetExpiryHeight sets ExpiryHeight field to given value. - - -### GetJoinSplitPubKey - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetJoinSplitPubKey() string` - -GetJoinSplitPubKey returns the JoinSplitPubKey field if non-nil, zero value otherwise. - -### GetJoinSplitPubKeyOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetJoinSplitPubKeyOk() (*string, bool)` - -GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetJoinSplitPubKey - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetJoinSplitPubKey(v string)` - -SetJoinSplitPubKey sets JoinSplitPubKey field to given value. - - -### GetJoinSplitSig - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetJoinSplitSig() string` - -GetJoinSplitSig returns the JoinSplitSig field if non-nil, zero value otherwise. - -### GetJoinSplitSigOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetJoinSplitSigOk() (*string, bool)` - -GetJoinSplitSigOk returns a tuple with the JoinSplitSig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetJoinSplitSig - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetJoinSplitSig(v string)` - -SetJoinSplitSig sets JoinSplitSig field to given value. - - -### GetOverwintered - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetOverwintered() bool` - -GetOverwintered returns the Overwintered field if non-nil, zero value otherwise. - -### GetOverwinteredOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetOverwinteredOk() (*bool, bool)` - -GetOverwinteredOk returns a tuple with the Overwintered field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOverwintered - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetOverwintered(v bool)` - -SetOverwintered sets Overwintered field to given value. - - -### GetVJoinSplit - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVJoinSplit() []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit` - -GetVJoinSplit returns the VJoinSplit field if non-nil, zero value otherwise. - -### GetVJoinSplitOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVJoinSplitOk() (*[]ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit, bool)` - -GetVJoinSplitOk returns a tuple with the VJoinSplit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVJoinSplit - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVJoinSplit(v []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit)` - -SetVJoinSplit sets VJoinSplit field to given value. - -### HasVJoinSplit - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) HasVJoinSplit() bool` - -HasVJoinSplit returns a boolean if a field has been set. - -### GetVShieldedOutput - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVShieldedOutput() []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput` - -GetVShieldedOutput returns the VShieldedOutput field if non-nil, zero value otherwise. - -### GetVShieldedOutputOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool)` - -GetVShieldedOutputOk returns a tuple with the VShieldedOutput field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVShieldedOutput - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVShieldedOutput(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput)` - -SetVShieldedOutput sets VShieldedOutput field to given value. - -### HasVShieldedOutput - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) HasVShieldedOutput() bool` - -HasVShieldedOutput returns a boolean if a field has been set. - -### GetVShieldedSpend - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVShieldedSpend() []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend` - -GetVShieldedSpend returns the VShieldedSpend field if non-nil, zero value otherwise. - -### GetVShieldedSpendOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVShieldedSpendOk() (*[]ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend, bool)` - -GetVShieldedSpendOk returns a tuple with the VShieldedSpend field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVShieldedSpend - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVShieldedSpend(v []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend)` - -SetVShieldedSpend sets VShieldedSpend field to given value. - - -### GetValueBalance - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetValueBalance() string` - -GetValueBalance returns the ValueBalance field if non-nil, zero value otherwise. - -### GetValueBalanceOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetValueBalanceOk() (*string, bool)` - -GetValueBalanceOk returns a tuple with the ValueBalance field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetValueBalance - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetValueBalance(v string)` - -SetValueBalance sets ValueBalance field to given value. - - -### GetVersionGroupId - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVersionGroupId() string` - -GetVersionGroupId returns the VersionGroupId field if non-nil, zero value otherwise. - -### GetVersionGroupIdOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVersionGroupIdOk() (*string, bool)` - -GetVersionGroupIdOk returns a tuple with the VersionGroupId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionGroupId - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVersionGroupId(v string)` - -SetVersionGroupId sets VersionGroupId field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit.md b/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit.md deleted file mode 100644 index 5d10532..0000000 --- a/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit.md +++ /dev/null @@ -1,240 +0,0 @@ -# ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Anchor** | **string** | Defines a Merkle tree root of a note commitment tree which uniquely identifies a note commitment tree state given the assumed security properties of the Merkle tree’s hash function. | -**CipherTexts** | **[]string** | | -**Commitments** | **[]string** | | -**Macs** | **[]string** | | -**Nullifiers** | **[]string** | | -**OneTimePubKey** | **string** | Defines the one time public key. | -**Proof** | **string** | Defines the proof. | -**RandomSeed** | **string** | Represents a 256-bit seed that must be chosen independently at random for each JoinSplit description. | -**VPubNew** | **string** | Defines the value that the joinSplit transfer will insert into the transparent transaction value pool. | -**VPubOld** | **string** | Defines the value that the joinSplit transfer will remove from the transparent transaction value pool. | - -## Methods - -### NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit - -`func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit(anchor string, cipherTexts []string, commitments []string, macs []string, nullifiers []string, oneTimePubKey string, proof string, randomSeed string, vPubNew string, vPubOld string, ) *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit` - -NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplitWithDefaults - -`func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplitWithDefaults() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit` - -NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplitWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAnchor - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetAnchor() string` - -GetAnchor returns the Anchor field if non-nil, zero value otherwise. - -### GetAnchorOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetAnchorOk() (*string, bool)` - -GetAnchorOk returns a tuple with the Anchor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAnchor - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetAnchor(v string)` - -SetAnchor sets Anchor field to given value. - - -### GetCipherTexts - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetCipherTexts() []string` - -GetCipherTexts returns the CipherTexts field if non-nil, zero value otherwise. - -### GetCipherTextsOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetCipherTextsOk() (*[]string, bool)` - -GetCipherTextsOk returns a tuple with the CipherTexts field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCipherTexts - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetCipherTexts(v []string)` - -SetCipherTexts sets CipherTexts field to given value. - - -### GetCommitments - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetCommitments() []string` - -GetCommitments returns the Commitments field if non-nil, zero value otherwise. - -### GetCommitmentsOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetCommitmentsOk() (*[]string, bool)` - -GetCommitmentsOk returns a tuple with the Commitments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommitments - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetCommitments(v []string)` - -SetCommitments sets Commitments field to given value. - - -### GetMacs - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetMacs() []string` - -GetMacs returns the Macs field if non-nil, zero value otherwise. - -### GetMacsOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetMacsOk() (*[]string, bool)` - -GetMacsOk returns a tuple with the Macs field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMacs - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetMacs(v []string)` - -SetMacs sets Macs field to given value. - - -### GetNullifiers - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetNullifiers() []string` - -GetNullifiers returns the Nullifiers field if non-nil, zero value otherwise. - -### GetNullifiersOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetNullifiersOk() (*[]string, bool)` - -GetNullifiersOk returns a tuple with the Nullifiers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNullifiers - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetNullifiers(v []string)` - -SetNullifiers sets Nullifiers field to given value. - - -### GetOneTimePubKey - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetOneTimePubKey() string` - -GetOneTimePubKey returns the OneTimePubKey field if non-nil, zero value otherwise. - -### GetOneTimePubKeyOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetOneTimePubKeyOk() (*string, bool)` - -GetOneTimePubKeyOk returns a tuple with the OneTimePubKey field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOneTimePubKey - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetOneTimePubKey(v string)` - -SetOneTimePubKey sets OneTimePubKey field to given value. - - -### GetProof - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetProof() string` - -GetProof returns the Proof field if non-nil, zero value otherwise. - -### GetProofOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetProofOk() (*string, bool)` - -GetProofOk returns a tuple with the Proof field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProof - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetProof(v string)` - -SetProof sets Proof field to given value. - - -### GetRandomSeed - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetRandomSeed() string` - -GetRandomSeed returns the RandomSeed field if non-nil, zero value otherwise. - -### GetRandomSeedOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetRandomSeedOk() (*string, bool)` - -GetRandomSeedOk returns a tuple with the RandomSeed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRandomSeed - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetRandomSeed(v string)` - -SetRandomSeed sets RandomSeed field to given value. - - -### GetVPubNew - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetVPubNew() string` - -GetVPubNew returns the VPubNew field if non-nil, zero value otherwise. - -### GetVPubNewOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetVPubNewOk() (*string, bool)` - -GetVPubNewOk returns a tuple with the VPubNew field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVPubNew - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetVPubNew(v string)` - -SetVPubNew sets VPubNew field to given value. - - -### GetVPubOld - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetVPubOld() string` - -GetVPubOld returns the VPubOld field if non-nil, zero value otherwise. - -### GetVPubOldOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetVPubOldOk() (*string, bool)` - -GetVPubOldOk returns a tuple with the VPubOld field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVPubOld - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetVPubOld(v string)` - -SetVPubOld sets VPubOld field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend.md b/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend.md deleted file mode 100644 index dade3d2..0000000 --- a/docs/ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend.md +++ /dev/null @@ -1,156 +0,0 @@ -# ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Anchor** | **string** | Defines a Merkle tree root of a note commitment tree which uniquely identifies a note commitment tree state given the assumed security properties of the Merkle tree’s hash function. | -**Cv** | **string** | Defines a value commitment to the value of the input note. | -**Nullifier** | **string** | Represents a sequence of nullifiers of the input notes. | -**Proof** | **string** | Represents the proof. | -**Rk** | **string** | Represents the randomized validating key for spendAuthSig. | -**SpendAuthSig** | **string** | Used to prove knowledge of the spending key authorizing spending of an input note. | - -## Methods - -### NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend - -`func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend(anchor string, cv string, nullifier string, proof string, rk string, spendAuthSig string, ) *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend` - -NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpendWithDefaults - -`func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpendWithDefaults() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend` - -NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpendWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAnchor - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetAnchor() string` - -GetAnchor returns the Anchor field if non-nil, zero value otherwise. - -### GetAnchorOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetAnchorOk() (*string, bool)` - -GetAnchorOk returns a tuple with the Anchor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAnchor - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetAnchor(v string)` - -SetAnchor sets Anchor field to given value. - - -### GetCv - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetCv() string` - -GetCv returns the Cv field if non-nil, zero value otherwise. - -### GetCvOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetCvOk() (*string, bool)` - -GetCvOk returns a tuple with the Cv field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCv - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetCv(v string)` - -SetCv sets Cv field to given value. - - -### GetNullifier - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetNullifier() string` - -GetNullifier returns the Nullifier field if non-nil, zero value otherwise. - -### GetNullifierOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetNullifierOk() (*string, bool)` - -GetNullifierOk returns a tuple with the Nullifier field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNullifier - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetNullifier(v string)` - -SetNullifier sets Nullifier field to given value. - - -### GetProof - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetProof() string` - -GetProof returns the Proof field if non-nil, zero value otherwise. - -### GetProofOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetProofOk() (*string, bool)` - -GetProofOk returns a tuple with the Proof field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProof - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetProof(v string)` - -SetProof sets Proof field to given value. - - -### GetRk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetRk() string` - -GetRk returns the Rk field if non-nil, zero value otherwise. - -### GetRkOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetRkOk() (*string, bool)` - -GetRkOk returns a tuple with the Rk field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetRk(v string)` - -SetRk sets Rk field to given value. - - -### GetSpendAuthSig - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetSpendAuthSig() string` - -GetSpendAuthSig returns the SpendAuthSig field if non-nil, zero value otherwise. - -### GetSpendAuthSigOk - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetSpendAuthSigOk() (*string, bool)` - -GetSpendAuthSigOk returns a tuple with the SpendAuthSig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSpendAuthSig - -`func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetSpendAuthSig(v string)` - -SetSpendAuthSig sets SpendAuthSig field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ListUnspentTransactionOutputsByAddressRIFee.md b/docs/ListUnspentTransactionOutputsByAddressRIFee.md deleted file mode 100644 index b2a39d2..0000000 --- a/docs/ListUnspentTransactionOutputsByAddressRIFee.md +++ /dev/null @@ -1,72 +0,0 @@ -# ListUnspentTransactionOutputsByAddressRIFee - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Amount** | **string** | String representation of the fee value | -**Unit** | **string** | Defines the specific unit of the fee. | - -## Methods - -### NewListUnspentTransactionOutputsByAddressRIFee - -`func NewListUnspentTransactionOutputsByAddressRIFee(amount string, unit string, ) *ListUnspentTransactionOutputsByAddressRIFee` - -NewListUnspentTransactionOutputsByAddressRIFee instantiates a new ListUnspentTransactionOutputsByAddressRIFee object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListUnspentTransactionOutputsByAddressRIFeeWithDefaults - -`func NewListUnspentTransactionOutputsByAddressRIFeeWithDefaults() *ListUnspentTransactionOutputsByAddressRIFee` - -NewListUnspentTransactionOutputsByAddressRIFeeWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIFee object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAmount - -`func (o *ListUnspentTransactionOutputsByAddressRIFee) GetAmount() string` - -GetAmount returns the Amount field if non-nil, zero value otherwise. - -### GetAmountOk - -`func (o *ListUnspentTransactionOutputsByAddressRIFee) GetAmountOk() (*string, bool)` - -GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAmount - -`func (o *ListUnspentTransactionOutputsByAddressRIFee) SetAmount(v string)` - -SetAmount sets Amount field to given value. - - -### GetUnit - -`func (o *ListUnspentTransactionOutputsByAddressRIFee) GetUnit() string` - -GetUnit returns the Unit field if non-nil, zero value otherwise. - -### GetUnitOk - -`func (o *ListUnspentTransactionOutputsByAddressRIFee) GetUnitOk() (*string, bool)` - -GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUnit - -`func (o *ListUnspentTransactionOutputsByAddressRIFee) SetUnit(v string)` - -SetUnit sets Unit field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ListUnspentTransactionOutputsByAddressRISenders.md b/docs/ListUnspentTransactionOutputsByAddressRISenders.md deleted file mode 100644 index 39a1b25..0000000 --- a/docs/ListUnspentTransactionOutputsByAddressRISenders.md +++ /dev/null @@ -1,72 +0,0 @@ -# ListUnspentTransactionOutputsByAddressRISenders - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Address** | **string** | Represents a list of sender addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. | -**Amount** | **string** | Represents the total amount sent by this address including the fee. | - -## Methods - -### NewListUnspentTransactionOutputsByAddressRISenders - -`func NewListUnspentTransactionOutputsByAddressRISenders(address string, amount string, ) *ListUnspentTransactionOutputsByAddressRISenders` - -NewListUnspentTransactionOutputsByAddressRISenders instantiates a new ListUnspentTransactionOutputsByAddressRISenders object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListUnspentTransactionOutputsByAddressRISendersWithDefaults - -`func NewListUnspentTransactionOutputsByAddressRISendersWithDefaults() *ListUnspentTransactionOutputsByAddressRISenders` - -NewListUnspentTransactionOutputsByAddressRISendersWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRISenders object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAddress - -`func (o *ListUnspentTransactionOutputsByAddressRISenders) GetAddress() string` - -GetAddress returns the Address field if non-nil, zero value otherwise. - -### GetAddressOk - -`func (o *ListUnspentTransactionOutputsByAddressRISenders) GetAddressOk() (*string, bool)` - -GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddress - -`func (o *ListUnspentTransactionOutputsByAddressRISenders) SetAddress(v string)` - -SetAddress sets Address field to given value. - - -### GetAmount - -`func (o *ListUnspentTransactionOutputsByAddressRISenders) GetAmount() string` - -GetAmount returns the Amount field if non-nil, zero value otherwise. - -### GetAmountOk - -`func (o *ListUnspentTransactionOutputsByAddressRISenders) GetAmountOk() (*string, bool)` - -GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAmount - -`func (o *ListUnspentTransactionOutputsByAddressRISenders) SetAmount(v string)` - -SetAmount sets Amount field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ListUnspentTransactionOutputsByAddressRIVin.md b/docs/ListUnspentTransactionOutputsByAddressRIVin.md deleted file mode 100644 index a4d9b89..0000000 --- a/docs/ListUnspentTransactionOutputsByAddressRIVin.md +++ /dev/null @@ -1,213 +0,0 @@ -# ListUnspentTransactionOutputsByAddressRIVin - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Addresses** | **[]string** | | -**Coinbase** | Pointer to **string** | Represents the coinbase hex. | [optional] -**ScriptSig** | [**GetTransactionDetailsByTransactionIDRIBSBScriptSig**](GetTransactionDetailsByTransactionIDRIBSBScriptSig.md) | | -**Sequence** | **string** | Represents the script sequence number. | -**Txid** | **string** | Represents the reference transaction identifier. | -**Txinwitness** | Pointer to **[]string** | | [optional] -**Value** | **string** | Represents the sent/received amount. | -**Vout** | Pointer to **int32** | Defines the vout of the transaction output, i.e. which output to spend. | [optional] - -## Methods - -### NewListUnspentTransactionOutputsByAddressRIVin - -`func NewListUnspentTransactionOutputsByAddressRIVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence string, txid string, value string, ) *ListUnspentTransactionOutputsByAddressRIVin` - -NewListUnspentTransactionOutputsByAddressRIVin instantiates a new ListUnspentTransactionOutputsByAddressRIVin object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewListUnspentTransactionOutputsByAddressRIVinWithDefaults - -`func NewListUnspentTransactionOutputsByAddressRIVinWithDefaults() *ListUnspentTransactionOutputsByAddressRIVin` - -NewListUnspentTransactionOutputsByAddressRIVinWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIVin object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAddresses - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetAddresses() []string` - -GetAddresses returns the Addresses field if non-nil, zero value otherwise. - -### GetAddressesOk - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetAddressesOk() (*[]string, bool)` - -GetAddressesOk returns a tuple with the Addresses field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddresses - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) SetAddresses(v []string)` - -SetAddresses sets Addresses field to given value. - - -### GetCoinbase - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetCoinbase() string` - -GetCoinbase returns the Coinbase field if non-nil, zero value otherwise. - -### GetCoinbaseOk - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetCoinbaseOk() (*string, bool)` - -GetCoinbaseOk returns a tuple with the Coinbase field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCoinbase - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) SetCoinbase(v string)` - -SetCoinbase sets Coinbase field to given value. - -### HasCoinbase - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) HasCoinbase() bool` - -HasCoinbase returns a boolean if a field has been set. - -### GetScriptSig - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetScriptSig() GetTransactionDetailsByTransactionIDRIBSBScriptSig` - -GetScriptSig returns the ScriptSig field if non-nil, zero value otherwise. - -### GetScriptSigOk - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool)` - -GetScriptSigOk returns a tuple with the ScriptSig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScriptSig - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) SetScriptSig(v GetTransactionDetailsByTransactionIDRIBSBScriptSig)` - -SetScriptSig sets ScriptSig field to given value. - - -### GetSequence - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetSequence() string` - -GetSequence returns the Sequence field if non-nil, zero value otherwise. - -### GetSequenceOk - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetSequenceOk() (*string, bool)` - -GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSequence - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) SetSequence(v string)` - -SetSequence sets Sequence field to given value. - - -### GetTxid - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetTxid() string` - -GetTxid returns the Txid field if non-nil, zero value otherwise. - -### GetTxidOk - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetTxidOk() (*string, bool)` - -GetTxidOk returns a tuple with the Txid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTxid - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) SetTxid(v string)` - -SetTxid sets Txid field to given value. - - -### GetTxinwitness - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetTxinwitness() []string` - -GetTxinwitness returns the Txinwitness field if non-nil, zero value otherwise. - -### GetTxinwitnessOk - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetTxinwitnessOk() (*[]string, bool)` - -GetTxinwitnessOk returns a tuple with the Txinwitness field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTxinwitness - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) SetTxinwitness(v []string)` - -SetTxinwitness sets Txinwitness field to given value. - -### HasTxinwitness - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) HasTxinwitness() bool` - -HasTxinwitness returns a boolean if a field has been set. - -### GetValue - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetValue() string` - -GetValue returns the Value field if non-nil, zero value otherwise. - -### GetValueOk - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetValueOk() (*string, bool)` - -GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetValue - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) SetValue(v string)` - -SetValue sets Value field to given value. - - -### GetVout - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetVout() int32` - -GetVout returns the Vout field if non-nil, zero value otherwise. - -### GetVoutOk - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) GetVoutOk() (*int32, bool)` - -GetVoutOk returns a tuple with the Vout field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVout - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) SetVout(v int32)` - -SetVout sets Vout field to given value. - -### HasVout - -`func (o *ListUnspentTransactionOutputsByAddressRIVin) HasVout() bool` - -HasVout returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ListWalletTransactionsRData.md b/docs/ListWalletTransactionsRData.md index 7cca111..84ec7fb 100644 --- a/docs/ListWalletTransactionsRData.md +++ b/docs/ListWalletTransactionsRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListWalletTransactionsRI**](ListWalletTransactionsRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListWalletTransactionsRData -`func NewListWalletTransactionsRData(offset int32, limit int32, total int32, items []ListWalletTransactionsRI, ) *ListWalletTransactionsRData` +`func NewListWalletTransactionsRData(limit int32, offset int32, total int32, items []ListWalletTransactionsRI, ) *ListWalletTransactionsRData` NewListWalletTransactionsRData instantiates a new ListWalletTransactionsRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListWalletTransactionsRDataWithDefaults instantiates a new ListWalletTransact This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListWalletTransactionsRData) GetOffset() int32` +`func (o *ListWalletTransactionsRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListWalletTransactionsRData) GetOffsetOk() (*int32, bool)` +`func (o *ListWalletTransactionsRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListWalletTransactionsRData) SetOffset(v int32)` +`func (o *ListWalletTransactionsRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListWalletTransactionsRData) GetLimit() int32` +`func (o *ListWalletTransactionsRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListWalletTransactionsRData) GetLimitOk() (*int32, bool)` +`func (o *ListWalletTransactionsRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListWalletTransactionsRData) SetLimit(v int32)` +`func (o *ListWalletTransactionsRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE400.md b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE400.md new file mode 100644 index 0000000..36ff7d6 --- /dev/null +++ b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE400.md @@ -0,0 +1,98 @@ +# ListXRPRippleTransactionsByAddressAndTimeRangeE400 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListXRPRippleTransactionsByAddressAndTimeRangeE400 + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeE400(code string, message string, ) *ListXRPRippleTransactionsByAddressAndTimeRangeE400` + +NewListXRPRippleTransactionsByAddressAndTimeRangeE400 instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeE400 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListXRPRippleTransactionsByAddressAndTimeRangeE400WithDefaults + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeE400WithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeE400` + +NewListXRPRippleTransactionsByAddressAndTimeRangeE400WithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeE400 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE400) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE401.md b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE401.md new file mode 100644 index 0000000..e8b93c6 --- /dev/null +++ b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE401.md @@ -0,0 +1,98 @@ +# ListXRPRippleTransactionsByAddressAndTimeRangeE401 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListXRPRippleTransactionsByAddressAndTimeRangeE401 + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeE401(code string, message string, ) *ListXRPRippleTransactionsByAddressAndTimeRangeE401` + +NewListXRPRippleTransactionsByAddressAndTimeRangeE401 instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeE401 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListXRPRippleTransactionsByAddressAndTimeRangeE401WithDefaults + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeE401WithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeE401` + +NewListXRPRippleTransactionsByAddressAndTimeRangeE401WithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeE401 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE401) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE403.md b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE403.md new file mode 100644 index 0000000..9959159 --- /dev/null +++ b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeE403.md @@ -0,0 +1,98 @@ +# ListXRPRippleTransactionsByAddressAndTimeRangeE403 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewListXRPRippleTransactionsByAddressAndTimeRangeE403 + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeE403(code string, message string, ) *ListXRPRippleTransactionsByAddressAndTimeRangeE403` + +NewListXRPRippleTransactionsByAddressAndTimeRangeE403 instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeE403 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListXRPRippleTransactionsByAddressAndTimeRangeE403WithDefaults + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeE403WithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeE403` + +NewListXRPRippleTransactionsByAddressAndTimeRangeE403WithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeE403 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeE403) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListXRPRippleTransactionsByAddressAndTimeRangeR.md b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeR.md new file mode 100644 index 0000000..8066a87 --- /dev/null +++ b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeR.md @@ -0,0 +1,119 @@ +# ListXRPRippleTransactionsByAddressAndTimeRangeR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApiVersion** | **string** | Specifies the version of the API that incorporates this endpoint. | +**RequestId** | **string** | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. | +**Context** | Pointer to **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | [optional] +**Data** | [**ListXRPRippleTransactionsByAddressAndTimeRangeRData**](ListXRPRippleTransactionsByAddressAndTimeRangeRData.md) | | + +## Methods + +### NewListXRPRippleTransactionsByAddressAndTimeRangeR + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeR(apiVersion string, requestId string, data ListXRPRippleTransactionsByAddressAndTimeRangeRData, ) *ListXRPRippleTransactionsByAddressAndTimeRangeR` + +NewListXRPRippleTransactionsByAddressAndTimeRangeR instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListXRPRippleTransactionsByAddressAndTimeRangeRWithDefaults + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeRWithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeR` + +NewListXRPRippleTransactionsByAddressAndTimeRangeRWithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApiVersion + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetApiVersion() string` + +GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. + +### GetApiVersionOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetApiVersionOk() (*string, bool)` + +GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiVersion + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) SetApiVersion(v string)` + +SetApiVersion sets ApiVersion field to given value. + + +### GetRequestId + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetContext + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetContext() string` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetContextOk() (*string, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) SetContext(v string)` + +SetContext sets Context field to given value. + +### HasContext + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) HasContext() bool` + +HasContext returns a boolean if a field has been set. + +### GetData + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetData() ListXRPRippleTransactionsByAddressAndTimeRangeRData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetDataOk() (*ListXRPRippleTransactionsByAddressAndTimeRangeRData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) SetData(v ListXRPRippleTransactionsByAddressAndTimeRangeRData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListXRPRippleTransactionsByAddressAndTimeRangeRData.md b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeRData.md new file mode 100644 index 0000000..60a9616 --- /dev/null +++ b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeRData.md @@ -0,0 +1,114 @@ +# ListXRPRippleTransactionsByAddressAndTimeRangeRData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | +**Total** | **int32** | Defines the total number of items returned in the response. | +**Items** | [**[]ListXRPRippleTransactionsByAddressAndTimeRangeRI**](ListXRPRippleTransactionsByAddressAndTimeRangeRI.md) | | + +## Methods + +### NewListXRPRippleTransactionsByAddressAndTimeRangeRData + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeRData(limit int32, offset int32, total int32, items []ListXRPRippleTransactionsByAddressAndTimeRangeRI, ) *ListXRPRippleTransactionsByAddressAndTimeRangeRData` + +NewListXRPRippleTransactionsByAddressAndTimeRangeRData instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeRData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListXRPRippleTransactionsByAddressAndTimeRangeRDataWithDefaults + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeRDataWithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeRData` + +NewListXRPRippleTransactionsByAddressAndTimeRangeRDataWithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeRData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimit + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetLimit() int32` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetLimitOk() (*int32, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) SetLimit(v int32)` + +SetLimit sets Limit field to given value. + + +### GetOffset + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetOffset() int32` + +GetOffset returns the Offset field if non-nil, zero value otherwise. + +### GetOffsetOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetOffsetOk() (*int32, bool)` + +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOffset + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) SetOffset(v int32)` + +SetOffset sets Offset field to given value. + + +### GetTotal + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetTotal() int32` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetTotalOk() (*int32, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) SetTotal(v int32)` + +SetTotal sets Total field to given value. + + +### GetItems + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetItems() []ListXRPRippleTransactionsByAddressAndTimeRangeRI` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetItemsOk() (*[]ListXRPRippleTransactionsByAddressAndTimeRangeRI, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) SetItems(v []ListXRPRippleTransactionsByAddressAndTimeRangeRI)` + +SetItems sets Items field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListXRPRippleTransactionsByAddressAndTimeRangeRI.md b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeRI.md new file mode 100644 index 0000000..e96c7e1 --- /dev/null +++ b/docs/ListXRPRippleTransactionsByAddressAndTimeRangeRI.md @@ -0,0 +1,350 @@ +# ListXRPRippleTransactionsByAddressAndTimeRangeRI + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DestinationTag** | Pointer to **int64** | A destination tag is a value used to discern the holder of the Ripple (XRP) being deposited or withdrawn. | [optional] +**Index** | **int32** | Represents the index position of the transaction in the block. | +**MinedInBlockHash** | **string** | Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | +**MinedInBlockHeight** | **int32** | Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. | +**Recipients** | [**[]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients**](GetXRPRippleTransactionDetailsByTransactionIDRIRecipients.md) | Represents an object of addresses that receive the transactions. | +**Senders** | [**[]GetXRPRippleTransactionDetailsByTransactionIDRISenders**](GetXRPRippleTransactionDetailsByTransactionIDRISenders.md) | Represents an object of addresses that provide the funds. | +**Sequence** | **int64** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | +**Status** | **string** | Defines the status of the transaction. | +**Timestamp** | **int32** | Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. | +**TransactionHash** | **string** | Represents the hash of the XRP transaction. | +**Type** | **string** | Specifies the type of the transaction. | +**Fee** | [**ListXRPRippleTransactionsByAddressRIFee**](ListXRPRippleTransactionsByAddressRIFee.md) | | +**Offer** | [**ListXRPRippleTransactionsByAddressRIOffer**](ListXRPRippleTransactionsByAddressRIOffer.md) | | +**Receive** | [**ListXRPRippleTransactionsByAddressRIReceive**](ListXRPRippleTransactionsByAddressRIReceive.md) | | +**Value** | [**ListXRPRippleTransactionsByAddressRIValue**](ListXRPRippleTransactionsByAddressRIValue.md) | | + +## Methods + +### NewListXRPRippleTransactionsByAddressAndTimeRangeRI + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeRI(index int32, minedInBlockHash string, minedInBlockHeight int32, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int64, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByAddressRIFee, offer ListXRPRippleTransactionsByAddressRIOffer, receive ListXRPRippleTransactionsByAddressRIReceive, value ListXRPRippleTransactionsByAddressRIValue, ) *ListXRPRippleTransactionsByAddressAndTimeRangeRI` + +NewListXRPRippleTransactionsByAddressAndTimeRangeRI instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeRI object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewListXRPRippleTransactionsByAddressAndTimeRangeRIWithDefaults + +`func NewListXRPRippleTransactionsByAddressAndTimeRangeRIWithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeRI` + +NewListXRPRippleTransactionsByAddressAndTimeRangeRIWithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeRI object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDestinationTag + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetDestinationTag() int64` + +GetDestinationTag returns the DestinationTag field if non-nil, zero value otherwise. + +### GetDestinationTagOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetDestinationTagOk() (*int64, bool)` + +GetDestinationTagOk returns a tuple with the DestinationTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDestinationTag + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetDestinationTag(v int64)` + +SetDestinationTag sets DestinationTag field to given value. + +### HasDestinationTag + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) HasDestinationTag() bool` + +HasDestinationTag returns a boolean if a field has been set. + +### GetIndex + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetIndex() int32` + +GetIndex returns the Index field if non-nil, zero value otherwise. + +### GetIndexOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetIndexOk() (*int32, bool)` + +GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndex + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetIndex(v int32)` + +SetIndex sets Index field to given value. + + +### GetMinedInBlockHash + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHash() string` + +GetMinedInBlockHash returns the MinedInBlockHash field if non-nil, zero value otherwise. + +### GetMinedInBlockHashOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHashOk() (*string, bool)` + +GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinedInBlockHash + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHash(v string)` + +SetMinedInBlockHash sets MinedInBlockHash field to given value. + + +### GetMinedInBlockHeight + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeight() int32` + +GetMinedInBlockHeight returns the MinedInBlockHeight field if non-nil, zero value otherwise. + +### GetMinedInBlockHeightOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeightOk() (*int32, bool)` + +GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinedInBlockHeight + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHeight(v int32)` + +SetMinedInBlockHeight sets MinedInBlockHeight field to given value. + + +### GetRecipients + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetRecipients() []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients` + +GetRecipients returns the Recipients field if non-nil, zero value otherwise. + +### GetRecipientsOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetRecipientsOk() (*[]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, bool)` + +GetRecipientsOk returns a tuple with the Recipients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecipients + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetRecipients(v []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients)` + +SetRecipients sets Recipients field to given value. + + +### GetSenders + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetSenders() []GetXRPRippleTransactionDetailsByTransactionIDRISenders` + +GetSenders returns the Senders field if non-nil, zero value otherwise. + +### GetSendersOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetSendersOk() (*[]GetXRPRippleTransactionDetailsByTransactionIDRISenders, bool)` + +GetSendersOk returns a tuple with the Senders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSenders + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetSenders(v []GetXRPRippleTransactionDetailsByTransactionIDRISenders)` + +SetSenders sets Senders field to given value. + + +### GetSequence + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetSequence() int64` + +GetSequence returns the Sequence field if non-nil, zero value otherwise. + +### GetSequenceOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetSequenceOk() (*int64, bool)` + +GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSequence + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetSequence(v int64)` + +SetSequence sets Sequence field to given value. + + +### GetStatus + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetStatus() string` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetStatusOk() (*string, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetStatus(v string)` + +SetStatus sets Status field to given value. + + +### GetTimestamp + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTimestamp() int32` + +GetTimestamp returns the Timestamp field if non-nil, zero value otherwise. + +### GetTimestampOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTimestampOk() (*int32, bool)` + +GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimestamp + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetTimestamp(v int32)` + +SetTimestamp sets Timestamp field to given value. + + +### GetTransactionHash + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTransactionHash() string` + +GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise. + +### GetTransactionHashOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTransactionHashOk() (*string, bool)` + +GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTransactionHash + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetTransactionHash(v string)` + +SetTransactionHash sets TransactionHash field to given value. + + +### GetType + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetType(v string)` + +SetType sets Type field to given value. + + +### GetFee + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetFee() ListXRPRippleTransactionsByAddressRIFee` + +GetFee returns the Fee field if non-nil, zero value otherwise. + +### GetFeeOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetFeeOk() (*ListXRPRippleTransactionsByAddressRIFee, bool)` + +GetFeeOk returns a tuple with the Fee field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFee + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetFee(v ListXRPRippleTransactionsByAddressRIFee)` + +SetFee sets Fee field to given value. + + +### GetOffer + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetOffer() ListXRPRippleTransactionsByAddressRIOffer` + +GetOffer returns the Offer field if non-nil, zero value otherwise. + +### GetOfferOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetOfferOk() (*ListXRPRippleTransactionsByAddressRIOffer, bool)` + +GetOfferOk returns a tuple with the Offer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOffer + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetOffer(v ListXRPRippleTransactionsByAddressRIOffer)` + +SetOffer sets Offer field to given value. + + +### GetReceive + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetReceive() ListXRPRippleTransactionsByAddressRIReceive` + +GetReceive returns the Receive field if non-nil, zero value otherwise. + +### GetReceiveOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetReceiveOk() (*ListXRPRippleTransactionsByAddressRIReceive, bool)` + +GetReceiveOk returns a tuple with the Receive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReceive + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetReceive(v ListXRPRippleTransactionsByAddressRIReceive)` + +SetReceive sets Receive field to given value. + + +### GetValue + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetValue() ListXRPRippleTransactionsByAddressRIValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetValueOk() (*ListXRPRippleTransactionsByAddressRIValue, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetValue(v ListXRPRippleTransactionsByAddressRIValue)` + +SetValue sets Value field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListXRPRippleTransactionsByAddressRData.md b/docs/ListXRPRippleTransactionsByAddressRData.md index b3f25c4..c929886 100644 --- a/docs/ListXRPRippleTransactionsByAddressRData.md +++ b/docs/ListXRPRippleTransactionsByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListXRPRippleTransactionsByAddressRI**](ListXRPRippleTransactionsByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListXRPRippleTransactionsByAddressRData -`func NewListXRPRippleTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListXRPRippleTransactionsByAddressRI, ) *ListXRPRippleTransactionsByAddressRData` +`func NewListXRPRippleTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListXRPRippleTransactionsByAddressRI, ) *ListXRPRippleTransactionsByAddressRData` NewListXRPRippleTransactionsByAddressRData instantiates a new ListXRPRippleTransactionsByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListXRPRippleTransactionsByAddressRDataWithDefaults instantiates a new ListXR This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListXRPRippleTransactionsByAddressRData) GetOffset() int32` +`func (o *ListXRPRippleTransactionsByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListXRPRippleTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListXRPRippleTransactionsByAddressRData) SetOffset(v int32)` +`func (o *ListXRPRippleTransactionsByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListXRPRippleTransactionsByAddressRData) GetLimit() int32` +`func (o *ListXRPRippleTransactionsByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListXRPRippleTransactionsByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListXRPRippleTransactionsByAddressRData) SetLimit(v int32)` +`func (o *ListXRPRippleTransactionsByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListXRPRippleTransactionsByAddressRI.md b/docs/ListXRPRippleTransactionsByAddressRI.md index f67a2b3..4dc66c1 100644 --- a/docs/ListXRPRippleTransactionsByAddressRI.md +++ b/docs/ListXRPRippleTransactionsByAddressRI.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DestinationTag** | Pointer to **int32** | | [optional] +**DestinationTag** | Pointer to **int64** | | [optional] **Index** | **int32** | Represents the index position of the transaction in the block. | **MinedInBlockHash** | **string** | Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | **MinedInBlockHeight** | **int32** | Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. | **Recipients** | [**[]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients**](GetXRPRippleTransactionDetailsByTransactionIDRIRecipients.md) | Represents an object of addresses that receive the transactions. | **Senders** | [**[]GetXRPRippleTransactionDetailsByTransactionIDRISenders**](GetXRPRippleTransactionDetailsByTransactionIDRISenders.md) | Represents an object of addresses that provide the funds. | -**Sequence** | **int32** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | +**Sequence** | **int64** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | **Status** | **string** | Defines the status of the transaction. | **Timestamp** | **int32** | Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. | **TransactionHash** | **string** | Represents the hash of the XRP transaction. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewListXRPRippleTransactionsByAddressRI -`func NewListXRPRippleTransactionsByAddressRI(index int32, minedInBlockHash string, minedInBlockHeight int32, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int32, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByAddressRIFee, offer ListXRPRippleTransactionsByAddressRIOffer, receive ListXRPRippleTransactionsByAddressRIReceive, value ListXRPRippleTransactionsByAddressRIValue, ) *ListXRPRippleTransactionsByAddressRI` +`func NewListXRPRippleTransactionsByAddressRI(index int32, minedInBlockHash string, minedInBlockHeight int32, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int64, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByAddressRIFee, offer ListXRPRippleTransactionsByAddressRIOffer, receive ListXRPRippleTransactionsByAddressRIReceive, value ListXRPRippleTransactionsByAddressRIValue, ) *ListXRPRippleTransactionsByAddressRI` NewListXRPRippleTransactionsByAddressRI instantiates a new ListXRPRippleTransactionsByAddressRI object This constructor will assign default values to properties that have it defined, @@ -41,20 +41,20 @@ but it doesn't guarantee that properties required by API are set ### GetDestinationTag -`func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTag() int32` +`func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTag() int64` GetDestinationTag returns the DestinationTag field if non-nil, zero value otherwise. ### GetDestinationTagOk -`func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTagOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTagOk() (*int64, bool)` GetDestinationTagOk returns a tuple with the DestinationTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDestinationTag -`func (o *ListXRPRippleTransactionsByAddressRI) SetDestinationTag(v int32)` +`func (o *ListXRPRippleTransactionsByAddressRI) SetDestinationTag(v int64)` SetDestinationTag sets DestinationTag field to given value. @@ -166,20 +166,20 @@ SetSenders sets Senders field to given value. ### GetSequence -`func (o *ListXRPRippleTransactionsByAddressRI) GetSequence() int32` +`func (o *ListXRPRippleTransactionsByAddressRI) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *ListXRPRippleTransactionsByAddressRI) GetSequenceOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByAddressRI) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *ListXRPRippleTransactionsByAddressRI) SetSequence(v int32)` +`func (o *ListXRPRippleTransactionsByAddressRI) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/ListXRPRippleTransactionsByBlockHashRData.md b/docs/ListXRPRippleTransactionsByBlockHashRData.md index ab894af..bf04663 100644 --- a/docs/ListXRPRippleTransactionsByBlockHashRData.md +++ b/docs/ListXRPRippleTransactionsByBlockHashRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListXRPRippleTransactionsByBlockHashRI**](ListXRPRippleTransactionsByBlockHashRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListXRPRippleTransactionsByBlockHashRData -`func NewListXRPRippleTransactionsByBlockHashRData(offset int32, limit int32, total int32, items []ListXRPRippleTransactionsByBlockHashRI, ) *ListXRPRippleTransactionsByBlockHashRData` +`func NewListXRPRippleTransactionsByBlockHashRData(limit int32, offset int32, total int32, items []ListXRPRippleTransactionsByBlockHashRI, ) *ListXRPRippleTransactionsByBlockHashRData` NewListXRPRippleTransactionsByBlockHashRData instantiates a new ListXRPRippleTransactionsByBlockHashRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListXRPRippleTransactionsByBlockHashRDataWithDefaults instantiates a new List This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListXRPRippleTransactionsByBlockHashRData) GetOffset() int32` +`func (o *ListXRPRippleTransactionsByBlockHashRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListXRPRippleTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByBlockHashRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListXRPRippleTransactionsByBlockHashRData) SetOffset(v int32)` +`func (o *ListXRPRippleTransactionsByBlockHashRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListXRPRippleTransactionsByBlockHashRData) GetLimit() int32` +`func (o *ListXRPRippleTransactionsByBlockHashRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListXRPRippleTransactionsByBlockHashRData) GetLimitOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListXRPRippleTransactionsByBlockHashRData) SetLimit(v int32)` +`func (o *ListXRPRippleTransactionsByBlockHashRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListXRPRippleTransactionsByBlockHashRI.md b/docs/ListXRPRippleTransactionsByBlockHashRI.md index d9aa66a..6349f93 100644 --- a/docs/ListXRPRippleTransactionsByBlockHashRI.md +++ b/docs/ListXRPRippleTransactionsByBlockHashRI.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AdditionalData** | Pointer to **string** | Represents any additional data that may be needed. | [optional] -**DestinationTag** | Pointer to **int32** | | [optional] +**DestinationTag** | Pointer to **int64** | | [optional] **Index** | **int32** | Represents the index position of the transaction in the specific block. | **MinedInBlockHeight** | **int32** | Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. | **Recipients** | [**[]ListXRPRippleTransactionsByBlockHashRIRecipients**](ListXRPRippleTransactionsByBlockHashRIRecipients.md) | Represents an object of addresses that receive the transactions. | **Senders** | [**[]ListXRPRippleTransactionsByBlockHashRISenders**](ListXRPRippleTransactionsByBlockHashRISenders.md) | Represents an object of addresses that provide the funds. | -**Sequence** | **int32** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | +**Sequence** | **int64** | Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. | **Status** | **string** | Defines the status of the transaction. | **Timestamp** | **int32** | Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. | **TransactionHash** | **string** | Represents the same as `transactionId` for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` for SegWit transactions. | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewListXRPRippleTransactionsByBlockHashRI -`func NewListXRPRippleTransactionsByBlockHashRI(index int32, minedInBlockHeight int32, recipients []ListXRPRippleTransactionsByBlockHashRIRecipients, senders []ListXRPRippleTransactionsByBlockHashRISenders, sequence int32, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByBlockHashRIFee, offer ListXRPRippleTransactionsByBlockHashRIOffer, receive ListXRPRippleTransactionsByBlockHashRIReceive, value ListXRPRippleTransactionsByBlockHashRIValue, ) *ListXRPRippleTransactionsByBlockHashRI` +`func NewListXRPRippleTransactionsByBlockHashRI(index int32, minedInBlockHeight int32, recipients []ListXRPRippleTransactionsByBlockHashRIRecipients, senders []ListXRPRippleTransactionsByBlockHashRISenders, sequence int64, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByBlockHashRIFee, offer ListXRPRippleTransactionsByBlockHashRIOffer, receive ListXRPRippleTransactionsByBlockHashRIReceive, value ListXRPRippleTransactionsByBlockHashRIValue, ) *ListXRPRippleTransactionsByBlockHashRI` NewListXRPRippleTransactionsByBlockHashRI instantiates a new ListXRPRippleTransactionsByBlockHashRI object This constructor will assign default values to properties that have it defined, @@ -66,20 +66,20 @@ HasAdditionalData returns a boolean if a field has been set. ### GetDestinationTag -`func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTag() int32` +`func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTag() int64` GetDestinationTag returns the DestinationTag field if non-nil, zero value otherwise. ### GetDestinationTagOk -`func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTagOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTagOk() (*int64, bool)` GetDestinationTagOk returns a tuple with the DestinationTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDestinationTag -`func (o *ListXRPRippleTransactionsByBlockHashRI) SetDestinationTag(v int32)` +`func (o *ListXRPRippleTransactionsByBlockHashRI) SetDestinationTag(v int64)` SetDestinationTag sets DestinationTag field to given value. @@ -171,20 +171,20 @@ SetSenders sets Senders field to given value. ### GetSequence -`func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequence() int32` +`func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequenceOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *ListXRPRippleTransactionsByBlockHashRI) SetSequence(v int32)` +`func (o *ListXRPRippleTransactionsByBlockHashRI) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/ListXRPRippleTransactionsByBlockHeightRData.md b/docs/ListXRPRippleTransactionsByBlockHeightRData.md index 8cd7e6c..0c38777 100644 --- a/docs/ListXRPRippleTransactionsByBlockHeightRData.md +++ b/docs/ListXRPRippleTransactionsByBlockHeightRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListXRPRippleTransactionsByBlockHeightRI**](ListXRPRippleTransactionsByBlockHeightRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListXRPRippleTransactionsByBlockHeightRData -`func NewListXRPRippleTransactionsByBlockHeightRData(offset int32, limit int32, total int32, items []ListXRPRippleTransactionsByBlockHeightRI, ) *ListXRPRippleTransactionsByBlockHeightRData` +`func NewListXRPRippleTransactionsByBlockHeightRData(limit int32, offset int32, total int32, items []ListXRPRippleTransactionsByBlockHeightRI, ) *ListXRPRippleTransactionsByBlockHeightRData` NewListXRPRippleTransactionsByBlockHeightRData instantiates a new ListXRPRippleTransactionsByBlockHeightRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListXRPRippleTransactionsByBlockHeightRDataWithDefaults instantiates a new Li This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListXRPRippleTransactionsByBlockHeightRData) GetOffset() int32` +`func (o *ListXRPRippleTransactionsByBlockHeightRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListXRPRippleTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListXRPRippleTransactionsByBlockHeightRData) SetOffset(v int32)` +`func (o *ListXRPRippleTransactionsByBlockHeightRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListXRPRippleTransactionsByBlockHeightRData) GetLimit() int32` +`func (o *ListXRPRippleTransactionsByBlockHeightRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListXRPRippleTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListXRPRippleTransactionsByBlockHeightRData) SetLimit(v int32)` +`func (o *ListXRPRippleTransactionsByBlockHeightRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListXRPRippleTransactionsByBlockHeightRI.md b/docs/ListXRPRippleTransactionsByBlockHeightRI.md index 7677dda..d42490d 100644 --- a/docs/ListXRPRippleTransactionsByBlockHeightRI.md +++ b/docs/ListXRPRippleTransactionsByBlockHeightRI.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AdditionalData** | Pointer to **string** | | [optional] -**DestinationTag** | Pointer to **int32** | | [optional] +**DestinationTag** | Pointer to **int64** | | [optional] **Index** | **int32** | | **MinedInBlockHash** | **string** | | **Recipients** | [**[]ListXRPRippleTransactionsByBlockHeightRIRecipients**](ListXRPRippleTransactionsByBlockHeightRIRecipients.md) | Object Array representation of transaction receivers | **Senders** | [**[]ListXRPRippleTransactionsByBlockHeightRISenders**](ListXRPRippleTransactionsByBlockHeightRISenders.md) | Object Array representation of transaction senders | -**Sequence** | **int32** | | +**Sequence** | **int64** | | **Status** | **string** | | **Timestamp** | **int32** | Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. | **TransactionHash** | **string** | | @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewListXRPRippleTransactionsByBlockHeightRI -`func NewListXRPRippleTransactionsByBlockHeightRI(index int32, minedInBlockHash string, recipients []ListXRPRippleTransactionsByBlockHeightRIRecipients, senders []ListXRPRippleTransactionsByBlockHeightRISenders, sequence int32, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByBlockHeightRIFee, offer ListXRPRippleTransactionsByBlockHeightRIOffer, receive ListXRPRippleTransactionsByBlockHeightRIReceive, value ListXRPRippleTransactionsByBlockHeightRIValue, ) *ListXRPRippleTransactionsByBlockHeightRI` +`func NewListXRPRippleTransactionsByBlockHeightRI(index int32, minedInBlockHash string, recipients []ListXRPRippleTransactionsByBlockHeightRIRecipients, senders []ListXRPRippleTransactionsByBlockHeightRISenders, sequence int64, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByBlockHeightRIFee, offer ListXRPRippleTransactionsByBlockHeightRIOffer, receive ListXRPRippleTransactionsByBlockHeightRIReceive, value ListXRPRippleTransactionsByBlockHeightRIValue, ) *ListXRPRippleTransactionsByBlockHeightRI` NewListXRPRippleTransactionsByBlockHeightRI instantiates a new ListXRPRippleTransactionsByBlockHeightRI object This constructor will assign default values to properties that have it defined, @@ -66,20 +66,20 @@ HasAdditionalData returns a boolean if a field has been set. ### GetDestinationTag -`func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTag() int32` +`func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTag() int64` GetDestinationTag returns the DestinationTag field if non-nil, zero value otherwise. ### GetDestinationTagOk -`func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTagOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTagOk() (*int64, bool)` GetDestinationTagOk returns a tuple with the DestinationTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDestinationTag -`func (o *ListXRPRippleTransactionsByBlockHeightRI) SetDestinationTag(v int32)` +`func (o *ListXRPRippleTransactionsByBlockHeightRI) SetDestinationTag(v int64)` SetDestinationTag sets DestinationTag field to given value. @@ -171,20 +171,20 @@ SetSenders sets Senders field to given value. ### GetSequence -`func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequence() int32` +`func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequence() int64` GetSequence returns the Sequence field if non-nil, zero value otherwise. ### GetSequenceOk -`func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequenceOk() (*int32, bool)` +`func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequenceOk() (*int64, bool)` GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSequence -`func (o *ListXRPRippleTransactionsByBlockHeightRI) SetSequence(v int32)` +`func (o *ListXRPRippleTransactionsByBlockHeightRI) SetSequence(v int64)` SetSequence sets Sequence field to given value. diff --git a/docs/ListZilliqaTransactionsByAddressRData.md b/docs/ListZilliqaTransactionsByAddressRData.md index c540d2c..cb02894 100644 --- a/docs/ListZilliqaTransactionsByAddressRData.md +++ b/docs/ListZilliqaTransactionsByAddressRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListZilliqaTransactionsByAddressRI**](ListZilliqaTransactionsByAddressRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListZilliqaTransactionsByAddressRData -`func NewListZilliqaTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListZilliqaTransactionsByAddressRI, ) *ListZilliqaTransactionsByAddressRData` +`func NewListZilliqaTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListZilliqaTransactionsByAddressRI, ) *ListZilliqaTransactionsByAddressRData` NewListZilliqaTransactionsByAddressRData instantiates a new ListZilliqaTransactionsByAddressRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListZilliqaTransactionsByAddressRDataWithDefaults instantiates a new ListZill This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListZilliqaTransactionsByAddressRData) GetOffset() int32` +`func (o *ListZilliqaTransactionsByAddressRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListZilliqaTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` +`func (o *ListZilliqaTransactionsByAddressRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListZilliqaTransactionsByAddressRData) SetOffset(v int32)` +`func (o *ListZilliqaTransactionsByAddressRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListZilliqaTransactionsByAddressRData) GetLimit() int32` +`func (o *ListZilliqaTransactionsByAddressRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListZilliqaTransactionsByAddressRData) GetLimitOk() (*int32, bool)` +`func (o *ListZilliqaTransactionsByAddressRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListZilliqaTransactionsByAddressRData) SetLimit(v int32)` +`func (o *ListZilliqaTransactionsByAddressRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListZilliqaTransactionsByBlockHashRData.md b/docs/ListZilliqaTransactionsByBlockHashRData.md index 297aea2..63e8f9e 100644 --- a/docs/ListZilliqaTransactionsByBlockHashRData.md +++ b/docs/ListZilliqaTransactionsByBlockHashRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListZilliqaTransactionsByBlockHashRI**](ListZilliqaTransactionsByBlockHashRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListZilliqaTransactionsByBlockHashRData -`func NewListZilliqaTransactionsByBlockHashRData(offset int32, limit int32, total int32, items []ListZilliqaTransactionsByBlockHashRI, ) *ListZilliqaTransactionsByBlockHashRData` +`func NewListZilliqaTransactionsByBlockHashRData(limit int32, offset int32, total int32, items []ListZilliqaTransactionsByBlockHashRI, ) *ListZilliqaTransactionsByBlockHashRData` NewListZilliqaTransactionsByBlockHashRData instantiates a new ListZilliqaTransactionsByBlockHashRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListZilliqaTransactionsByBlockHashRDataWithDefaults instantiates a new ListZi This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListZilliqaTransactionsByBlockHashRData) GetOffset() int32` +`func (o *ListZilliqaTransactionsByBlockHashRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListZilliqaTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool)` +`func (o *ListZilliqaTransactionsByBlockHashRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListZilliqaTransactionsByBlockHashRData) SetOffset(v int32)` +`func (o *ListZilliqaTransactionsByBlockHashRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListZilliqaTransactionsByBlockHashRData) GetLimit() int32` +`func (o *ListZilliqaTransactionsByBlockHashRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListZilliqaTransactionsByBlockHashRData) GetLimitOk() (*int32, bool)` +`func (o *ListZilliqaTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListZilliqaTransactionsByBlockHashRData) SetLimit(v int32)` +`func (o *ListZilliqaTransactionsByBlockHashRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ListZilliqaTransactionsByBlockHeightRData.md b/docs/ListZilliqaTransactionsByBlockHeightRData.md index c2d8a43..85ccf3b 100644 --- a/docs/ListZilliqaTransactionsByBlockHeightRData.md +++ b/docs/ListZilliqaTransactionsByBlockHeightRData.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Limit** | **int32** | Defines how many items should be returned in the response per page basis. | +**Offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | **Total** | **int32** | Defines the total number of items returned in the response. | **Items** | [**[]ListZilliqaTransactionsByBlockHeightRI**](ListZilliqaTransactionsByBlockHeightRI.md) | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewListZilliqaTransactionsByBlockHeightRData -`func NewListZilliqaTransactionsByBlockHeightRData(offset int32, limit int32, total int32, items []ListZilliqaTransactionsByBlockHeightRI, ) *ListZilliqaTransactionsByBlockHeightRData` +`func NewListZilliqaTransactionsByBlockHeightRData(limit int32, offset int32, total int32, items []ListZilliqaTransactionsByBlockHeightRI, ) *ListZilliqaTransactionsByBlockHeightRData` NewListZilliqaTransactionsByBlockHeightRData instantiates a new ListZilliqaTransactionsByBlockHeightRData object This constructor will assign default values to properties that have it defined, @@ -28,44 +28,44 @@ NewListZilliqaTransactionsByBlockHeightRDataWithDefaults instantiates a new List This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetOffset +### GetLimit -`func (o *ListZilliqaTransactionsByBlockHeightRData) GetOffset() int32` +`func (o *ListZilliqaTransactionsByBlockHeightRData) GetLimit() int32` -GetOffset returns the Offset field if non-nil, zero value otherwise. +GetLimit returns the Limit field if non-nil, zero value otherwise. -### GetOffsetOk +### GetLimitOk -`func (o *ListZilliqaTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool)` +`func (o *ListZilliqaTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool)` -GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetOffset +### SetLimit -`func (o *ListZilliqaTransactionsByBlockHeightRData) SetOffset(v int32)` +`func (o *ListZilliqaTransactionsByBlockHeightRData) SetLimit(v int32)` -SetOffset sets Offset field to given value. +SetLimit sets Limit field to given value. -### GetLimit +### GetOffset -`func (o *ListZilliqaTransactionsByBlockHeightRData) GetLimit() int32` +`func (o *ListZilliqaTransactionsByBlockHeightRData) GetOffset() int32` -GetLimit returns the Limit field if non-nil, zero value otherwise. +GetOffset returns the Offset field if non-nil, zero value otherwise. -### GetLimitOk +### GetOffsetOk -`func (o *ListZilliqaTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool)` +`func (o *ListZilliqaTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool)` -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetLimit +### SetOffset -`func (o *ListZilliqaTransactionsByBlockHeightRData) SetLimit(v int32)` +`func (o *ListZilliqaTransactionsByBlockHeightRData) SetOffset(v int32)` -SetLimit sets Limit field to given value. +SetOffset sets Offset field to given value. ### GetTotal diff --git a/docs/ManageSubscriptionsApi.md b/docs/ManageSubscriptionsApi.md index 4252b54..aec9f04 100644 --- a/docs/ManageSubscriptionsApi.md +++ b/docs/ManageSubscriptionsApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**ActivateBlockchainEventSubscription**](ManageSubscriptionsApi.md#ActivateBlockchainEventSubscription) | **Post** /blockchain-events/subscriptions/{referenceId}/activate | Activate Blockchain Event Subscription [**DeleteBlockchainEventSubscription**](ManageSubscriptionsApi.md#DeleteBlockchainEventSubscription) | **Delete** /blockchain-events/{blockchain}/{network}/subscriptions/{referenceId} | Delete Blockchain Event Subscription +[**GetBlockchainEventSubscriptionDetailsByReferenceID**](ManageSubscriptionsApi.md#GetBlockchainEventSubscriptionDetailsByReferenceID) | **Get** /blockchain-events/subscriptions/{referenceId} | Get Blockchain Event Subscription Details By Reference ID [**ListBlockchainEventsSubscriptions**](ManageSubscriptionsApi.md#ListBlockchainEventsSubscriptions) | **Get** /blockchain-events/{blockchain}/{network}/subscriptions | List Blockchain Events Subscriptions @@ -32,12 +33,12 @@ import ( func main() { referenceId := "bc243c86-0902-4386-b30d-e6b30fa1f2aa" // string | Represents a unique ID used to reference the specific callback subscription. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) activateBlockchainEventSubscriptionRB := *openapiclient.NewActivateBlockchainEventSubscriptionRB(*openapiclient.NewActivateBlockchainEventSubscriptionRBData(map[string]interface{}(123))) // ActivateBlockchainEventSubscriptionRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ManageSubscriptionsApi.ActivateBlockchainEventSubscription(context.Background(), referenceId).Context(context).ActivateBlockchainEventSubscriptionRB(activateBlockchainEventSubscriptionRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ManageSubscriptionsApi.ActivateBlockchainEventSubscription(context.Background(), referenceId).Context(context).ActivateBlockchainEventSubscriptionRB(activateBlockchainEventSubscriptionRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ManageSubscriptionsApi.ActivateBlockchainEventSubscription``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -108,11 +109,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. referenceId := "d3fd6a0e-f2b6-4bb5-9fd3-7944bcec9e9f" // string | Represents a unique ID used to reference the specific callback subscription. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ManageSubscriptionsApi.DeleteBlockchainEventSubscription(context.Background(), blockchain, network, referenceId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ManageSubscriptionsApi.DeleteBlockchainEventSubscription(context.Background(), blockchain, network, referenceId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ManageSubscriptionsApi.DeleteBlockchainEventSubscription``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -162,6 +163,78 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GetBlockchainEventSubscriptionDetailsByReferenceID + +> GetBlockchainEventSubscriptionDetailsByReferenceIDR GetBlockchainEventSubscriptionDetailsByReferenceID(ctx, referenceId).Context(context).Execute() + +Get Blockchain Event Subscription Details By Reference ID + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + referenceId := "bc243c86-0902-4386-b30d-e6b30fa1f2aa" // string | Represents a unique ID used to reference the specific callback subscription. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ManageSubscriptionsApi.GetBlockchainEventSubscriptionDetailsByReferenceID(context.Background(), referenceId).Context(context).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ManageSubscriptionsApi.GetBlockchainEventSubscriptionDetailsByReferenceID``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetBlockchainEventSubscriptionDetailsByReferenceID`: GetBlockchainEventSubscriptionDetailsByReferenceIDR + fmt.Fprintf(os.Stdout, "Response from `ManageSubscriptionsApi.GetBlockchainEventSubscriptionDetailsByReferenceID`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**referenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetBlockchainEventSubscriptionDetailsByReferenceIDRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + +### Return type + +[**GetBlockchainEventSubscriptionDetailsByReferenceIDR**](GetBlockchainEventSubscriptionDetailsByReferenceIDR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## ListBlockchainEventsSubscriptions > ListBlockchainEventsSubscriptionsR ListBlockchainEventsSubscriptions(ctx, blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() @@ -185,13 +258,13 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ManageSubscriptionsApi.ListBlockchainEventsSubscriptions(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ManageSubscriptionsApi.ListBlockchainEventsSubscriptions(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ManageSubscriptionsApi.ListBlockchainEventsSubscriptions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/MetadataApi.md b/docs/MetadataApi.md index f538259..c5ea076 100644 --- a/docs/MetadataApi.md +++ b/docs/MetadataApi.md @@ -29,14 +29,14 @@ import ( ) func main() { - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) assetType := "crypto" // string | Defines the type of the supported asset. This could be either \"crypto\" or \"fiat\". (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.MetadataApi.ListSupportedAssets(context.Background()).Context(context).AssetType(assetType).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.ListSupportedAssets(context.Background()).Context(context).AssetType(assetType).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.ListSupportedAssets``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/MinedTransactionRBDataItem.md b/docs/MinedTransactionRBDataItem.md index 47a1963..e2e2ac3 100644 --- a/docs/MinedTransactionRBDataItem.md +++ b/docs/MinedTransactionRBDataItem.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AllowDuplicates** | Pointer to **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [optional] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **TransactionId** | **string** | Represents the unique identification string that defines the transaction. | ## Methods diff --git a/docs/MinedTransactionRI.md b/docs/MinedTransactionRI.md index 31a6578..1474ac7 100644 --- a/docs/MinedTransactionRI.md +++ b/docs/MinedTransactionRI.md @@ -4,10 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Address** | **string** | Represents the address of the transaction. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | -**ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | @@ -18,7 +16,7 @@ Name | Type | Description | Notes ### NewMinedTransactionRI -`func NewMinedTransactionRI(address string, callbackSecretKey string, callbackUrl string, confirmationsCount int32, createdTimestamp int32, eventType string, isActive bool, referenceId string, transactionId string, ) *MinedTransactionRI` +`func NewMinedTransactionRI(callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string, transactionId string, ) *MinedTransactionRI` NewMinedTransactionRI instantiates a new MinedTransactionRI object This constructor will assign default values to properties that have it defined, @@ -33,26 +31,6 @@ NewMinedTransactionRIWithDefaults instantiates a new MinedTransactionRI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetAddress - -`func (o *MinedTransactionRI) GetAddress() string` - -GetAddress returns the Address field if non-nil, zero value otherwise. - -### GetAddressOk - -`func (o *MinedTransactionRI) GetAddressOk() (*string, bool)` - -GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAddress - -`func (o *MinedTransactionRI) SetAddress(v string)` - -SetAddress sets Address field to given value. - - ### GetCallbackSecretKey `func (o *MinedTransactionRI) GetCallbackSecretKey() string` @@ -93,26 +71,6 @@ and a boolean to check if the value has been set. SetCallbackUrl sets CallbackUrl field to given value. -### GetConfirmationsCount - -`func (o *MinedTransactionRI) GetConfirmationsCount() int32` - -GetConfirmationsCount returns the ConfirmationsCount field if non-nil, zero value otherwise. - -### GetConfirmationsCountOk - -`func (o *MinedTransactionRI) GetConfirmationsCountOk() (*int32, bool)` - -GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConfirmationsCount - -`func (o *MinedTransactionRI) SetConfirmationsCount(v int32)` - -SetConfirmationsCount sets ConfirmationsCount field to given value. - - ### GetCreatedTimestamp `func (o *MinedTransactionRI) GetCreatedTimestamp() int32` diff --git a/docs/NewBlockRBDataItem.md b/docs/NewBlockRBDataItem.md index 29da55d..e736f10 100644 --- a/docs/NewBlockRBDataItem.md +++ b/docs/NewBlockRBDataItem.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AllowDuplicates** | Pointer to **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [optional] [default to false] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | ## Methods diff --git a/docs/NewBlockRI.md b/docs/NewBlockRI.md index 97c222d..d414362 100644 --- a/docs/NewBlockRI.md +++ b/docs/NewBlockRI.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | **ReferenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | diff --git a/docs/NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem.md b/docs/NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem.md index 35ea667..41deb7c 100644 --- a/docs/NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem.md +++ b/docs/NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **AllowDuplicates** | Pointer to **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [optional] [default to false] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | ## Methods diff --git a/docs/NewConfirmedCoinsTransactionsAndEachConfirmationRI.md b/docs/NewConfirmedCoinsTransactionsAndEachConfirmationRI.md index b0fa78c..367e7cf 100644 --- a/docs/NewConfirmedCoinsTransactionsAndEachConfirmationRI.md +++ b/docs/NewConfirmedCoinsTransactionsAndEachConfirmationRI.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | diff --git a/docs/NewConfirmedCoinsTransactionsRBDataItem.md b/docs/NewConfirmedCoinsTransactionsRBDataItem.md index 9d25648..a307d16 100644 --- a/docs/NewConfirmedCoinsTransactionsRBDataItem.md +++ b/docs/NewConfirmedCoinsTransactionsRBDataItem.md @@ -7,7 +7,8 @@ Name | Type | Description | Notes **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **AllowDuplicates** | Pointer to **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [optional] [default to false] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackURL** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackURL** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | +**ReceiveCallbackOn** | Pointer to **int32** | Represents the exact confirmation, on which the user wants to receive callback. | [optional] ## Methods @@ -118,6 +119,31 @@ and a boolean to check if the value has been set. SetCallbackURL sets CallbackURL field to given value. +### GetReceiveCallbackOn + +`func (o *NewConfirmedCoinsTransactionsRBDataItem) GetReceiveCallbackOn() int32` + +GetReceiveCallbackOn returns the ReceiveCallbackOn field if non-nil, zero value otherwise. + +### GetReceiveCallbackOnOk + +`func (o *NewConfirmedCoinsTransactionsRBDataItem) GetReceiveCallbackOnOk() (*int32, bool)` + +GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReceiveCallbackOn + +`func (o *NewConfirmedCoinsTransactionsRBDataItem) SetReceiveCallbackOn(v int32)` + +SetReceiveCallbackOn sets ReceiveCallbackOn field to given value. + +### HasReceiveCallbackOn + +`func (o *NewConfirmedCoinsTransactionsRBDataItem) HasReceiveCallbackOn() bool` + +HasReceiveCallbackOn returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NewConfirmedCoinsTransactionsRI.md b/docs/NewConfirmedCoinsTransactionsRI.md index 77c7d59..ef8852a 100644 --- a/docs/NewConfirmedCoinsTransactionsRI.md +++ b/docs/NewConfirmedCoinsTransactionsRI.md @@ -6,17 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs 2.0. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | +**ReceiveCallbackOn** | **int32** | Represents the exact confirmation, on which the user wants to receive callback. | **ReferenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | ## Methods ### NewNewConfirmedCoinsTransactionsRI -`func NewNewConfirmedCoinsTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string, ) *NewConfirmedCoinsTransactionsRI` +`func NewNewConfirmedCoinsTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, receiveCallbackOn int32, referenceId string, ) *NewConfirmedCoinsTransactionsRI` NewNewConfirmedCoinsTransactionsRI instantiates a new NewConfirmedCoinsTransactionsRI object This constructor will assign default values to properties that have it defined, @@ -151,6 +152,26 @@ and a boolean to check if the value has been set. SetIsActive sets IsActive field to given value. +### GetReceiveCallbackOn + +`func (o *NewConfirmedCoinsTransactionsRI) GetReceiveCallbackOn() int32` + +GetReceiveCallbackOn returns the ReceiveCallbackOn field if non-nil, zero value otherwise. + +### GetReceiveCallbackOnOk + +`func (o *NewConfirmedCoinsTransactionsRI) GetReceiveCallbackOnOk() (*int32, bool)` + +GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReceiveCallbackOn + +`func (o *NewConfirmedCoinsTransactionsRI) SetReceiveCallbackOn(v int32)` + +SetReceiveCallbackOn sets ReceiveCallbackOn field to given value. + + ### GetReferenceId `func (o *NewConfirmedCoinsTransactionsRI) GetReferenceId() string` diff --git a/docs/NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem.md b/docs/NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem.md index 8eb2869..724c408 100644 --- a/docs/NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem.md +++ b/docs/NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Address** | **string** | Defines the specific address of the internal transaction. | **AllowDuplicates** | **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [default to false] **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | ## Methods diff --git a/docs/NewConfirmedInternalTransactionsAndEachConfirmationRI.md b/docs/NewConfirmedInternalTransactionsAndEachConfirmationRI.md index c7ad4a0..48a2328 100644 --- a/docs/NewConfirmedInternalTransactionsAndEachConfirmationRI.md +++ b/docs/NewConfirmedInternalTransactionsAndEachConfirmationRI.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Defines the specific address of the internal transaction. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | diff --git a/docs/NewConfirmedInternalTransactionsRBDataItem.md b/docs/NewConfirmedInternalTransactionsRBDataItem.md index 23d043c..5a4116b 100644 --- a/docs/NewConfirmedInternalTransactionsRBDataItem.md +++ b/docs/NewConfirmedInternalTransactionsRBDataItem.md @@ -7,7 +7,8 @@ Name | Type | Description | Notes **Address** | **string** | Defines the specific address of the internal transaction. | **AllowDuplicates** | **bool** | Flag that permits or denies creation of duplicates | [default to false] **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | +**ReceiveCallbackOn** | Pointer to **int32** | Represents the exact confirmation, on which the user wants to receive callback. | [optional] ## Methods @@ -108,6 +109,31 @@ and a boolean to check if the value has been set. SetCallbackUrl sets CallbackUrl field to given value. +### GetReceiveCallbackOn + +`func (o *NewConfirmedInternalTransactionsRBDataItem) GetReceiveCallbackOn() int32` + +GetReceiveCallbackOn returns the ReceiveCallbackOn field if non-nil, zero value otherwise. + +### GetReceiveCallbackOnOk + +`func (o *NewConfirmedInternalTransactionsRBDataItem) GetReceiveCallbackOnOk() (*int32, bool)` + +GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReceiveCallbackOn + +`func (o *NewConfirmedInternalTransactionsRBDataItem) SetReceiveCallbackOn(v int32)` + +SetReceiveCallbackOn sets ReceiveCallbackOn field to given value. + +### HasReceiveCallbackOn + +`func (o *NewConfirmedInternalTransactionsRBDataItem) HasReceiveCallbackOn() bool` + +HasReceiveCallbackOn returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NewConfirmedInternalTransactionsRI.md b/docs/NewConfirmedInternalTransactionsRI.md index a5e6915..c512af4 100644 --- a/docs/NewConfirmedInternalTransactionsRI.md +++ b/docs/NewConfirmedInternalTransactionsRI.md @@ -6,17 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Defines the specific address of the internal transaction. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs 2.0. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | +**ReceiveCallbackOn** | **int32** | Represents the exact confirmation, on which the user wants to receive callback. | **ReferenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | ## Methods ### NewNewConfirmedInternalTransactionsRI -`func NewNewConfirmedInternalTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string, ) *NewConfirmedInternalTransactionsRI` +`func NewNewConfirmedInternalTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, receiveCallbackOn int32, referenceId string, ) *NewConfirmedInternalTransactionsRI` NewNewConfirmedInternalTransactionsRI instantiates a new NewConfirmedInternalTransactionsRI object This constructor will assign default values to properties that have it defined, @@ -151,6 +152,26 @@ and a boolean to check if the value has been set. SetIsActive sets IsActive field to given value. +### GetReceiveCallbackOn + +`func (o *NewConfirmedInternalTransactionsRI) GetReceiveCallbackOn() int32` + +GetReceiveCallbackOn returns the ReceiveCallbackOn field if non-nil, zero value otherwise. + +### GetReceiveCallbackOnOk + +`func (o *NewConfirmedInternalTransactionsRI) GetReceiveCallbackOnOk() (*int32, bool)` + +GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReceiveCallbackOn + +`func (o *NewConfirmedInternalTransactionsRI) SetReceiveCallbackOn(v int32)` + +SetReceiveCallbackOn sets ReceiveCallbackOn field to given value. + + ### GetReferenceId `func (o *NewConfirmedInternalTransactionsRI) GetReferenceId() string` diff --git a/docs/NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem.md b/docs/NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem.md index 3c1a5a3..8fc6921 100644 --- a/docs/NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem.md +++ b/docs/NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **AllowDuplicates** | Pointer to **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [optional] [default to false] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | Pointer to **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | [optional] ## Methods diff --git a/docs/NewConfirmedTokensTransactionsAndEachConfirmationRI.md b/docs/NewConfirmedTokensTransactionsAndEachConfirmationRI.md index 47ecf54..3284d7d 100644 --- a/docs/NewConfirmedTokensTransactionsAndEachConfirmationRI.md +++ b/docs/NewConfirmedTokensTransactionsAndEachConfirmationRI.md @@ -5,17 +5,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Represents the address of the transaction, per which the result is returned. | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **ConfirmationsCount** | Pointer to **int32** | Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. | [optional] **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | +**IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | **ReferenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | ## Methods ### NewNewConfirmedTokensTransactionsAndEachConfirmationRI -`func NewNewConfirmedTokensTransactionsAndEachConfirmationRI(address string, callbackUrl string, createdTimestamp int32, eventType string, referenceId string, ) *NewConfirmedTokensTransactionsAndEachConfirmationRI` +`func NewNewConfirmedTokensTransactionsAndEachConfirmationRI(address string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string, ) *NewConfirmedTokensTransactionsAndEachConfirmationRI` NewNewConfirmedTokensTransactionsAndEachConfirmationRI instantiates a new NewConfirmedTokensTransactionsAndEachConfirmationRI object This constructor will assign default values to properties that have it defined, @@ -50,6 +52,31 @@ and a boolean to check if the value has been set. SetAddress sets Address field to given value. +### GetCallbackSecretKey + +`func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCallbackSecretKey() string` + +GetCallbackSecretKey returns the CallbackSecretKey field if non-nil, zero value otherwise. + +### GetCallbackSecretKeyOk + +`func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCallbackSecretKeyOk() (*string, bool)` + +GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCallbackSecretKey + +`func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) SetCallbackSecretKey(v string)` + +SetCallbackSecretKey sets CallbackSecretKey field to given value. + +### HasCallbackSecretKey + +`func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) HasCallbackSecretKey() bool` + +HasCallbackSecretKey returns a boolean if a field has been set. + ### GetCallbackUrl `func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCallbackUrl() string` @@ -135,6 +162,26 @@ and a boolean to check if the value has been set. SetEventType sets EventType field to given value. +### GetIsActive + +`func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + + ### GetReferenceId `func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetReferenceId() string` diff --git a/docs/NewConfirmedTokensTransactionsRBDataItem.md b/docs/NewConfirmedTokensTransactionsRBDataItem.md index 5a6a211..3b898e5 100644 --- a/docs/NewConfirmedTokensTransactionsRBDataItem.md +++ b/docs/NewConfirmedTokensTransactionsRBDataItem.md @@ -7,7 +7,8 @@ Name | Type | Description | Notes **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **AllowDuplicates** | Pointer to **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [optional] [default to false] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | +**ReceiveCallbackOn** | Pointer to **int32** | Represents the exact confirmation, on which the user wants to receive callback. | [optional] ## Methods @@ -118,6 +119,31 @@ and a boolean to check if the value has been set. SetCallbackUrl sets CallbackUrl field to given value. +### GetReceiveCallbackOn + +`func (o *NewConfirmedTokensTransactionsRBDataItem) GetReceiveCallbackOn() int32` + +GetReceiveCallbackOn returns the ReceiveCallbackOn field if non-nil, zero value otherwise. + +### GetReceiveCallbackOnOk + +`func (o *NewConfirmedTokensTransactionsRBDataItem) GetReceiveCallbackOnOk() (*int32, bool)` + +GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReceiveCallbackOn + +`func (o *NewConfirmedTokensTransactionsRBDataItem) SetReceiveCallbackOn(v int32)` + +SetReceiveCallbackOn sets ReceiveCallbackOn field to given value. + +### HasReceiveCallbackOn + +`func (o *NewConfirmedTokensTransactionsRBDataItem) HasReceiveCallbackOn() bool` + +HasReceiveCallbackOn returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NewConfirmedTokensTransactionsRI.md b/docs/NewConfirmedTokensTransactionsRI.md index 33b3b2c..e586a10 100644 --- a/docs/NewConfirmedTokensTransactionsRI.md +++ b/docs/NewConfirmedTokensTransactionsRI.md @@ -6,17 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | +**ReceiveCallbackOn** | **int32** | Represents the exact confirmation, on which the user wants to receive callback. | **ReferenceId** | **string** | Represents a unique ID used to reference the specific callback subscription. | ## Methods ### NewNewConfirmedTokensTransactionsRI -`func NewNewConfirmedTokensTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string, ) *NewConfirmedTokensTransactionsRI` +`func NewNewConfirmedTokensTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, receiveCallbackOn int32, referenceId string, ) *NewConfirmedTokensTransactionsRI` NewNewConfirmedTokensTransactionsRI instantiates a new NewConfirmedTokensTransactionsRI object This constructor will assign default values to properties that have it defined, @@ -151,6 +152,26 @@ and a boolean to check if the value has been set. SetIsActive sets IsActive field to given value. +### GetReceiveCallbackOn + +`func (o *NewConfirmedTokensTransactionsRI) GetReceiveCallbackOn() int32` + +GetReceiveCallbackOn returns the ReceiveCallbackOn field if non-nil, zero value otherwise. + +### GetReceiveCallbackOnOk + +`func (o *NewConfirmedTokensTransactionsRI) GetReceiveCallbackOnOk() (*int32, bool)` + +GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReceiveCallbackOn + +`func (o *NewConfirmedTokensTransactionsRI) SetReceiveCallbackOn(v int32)` + +SetReceiveCallbackOn sets ReceiveCallbackOn field to given value. + + ### GetReferenceId `func (o *NewConfirmedTokensTransactionsRI) GetReferenceId() string` diff --git a/docs/NewUnconfirmedCoinsTransactionsRBDataItem.md b/docs/NewUnconfirmedCoinsTransactionsRBDataItem.md index 94bd08f..1b919a1 100644 --- a/docs/NewUnconfirmedCoinsTransactionsRBDataItem.md +++ b/docs/NewUnconfirmedCoinsTransactionsRBDataItem.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **AllowDuplicates** | Pointer to **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [optional] [default to false] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs 2.0. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | ## Methods diff --git a/docs/NewUnconfirmedCoinsTransactionsRI.md b/docs/NewUnconfirmedCoinsTransactionsRI.md index b7b878d..dfde562 100644 --- a/docs/NewUnconfirmedCoinsTransactionsRI.md +++ b/docs/NewUnconfirmedCoinsTransactionsRI.md @@ -4,8 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Address** | **string** | Represents the address of the transaction, per which the result is returned. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | @@ -15,7 +16,7 @@ Name | Type | Description | Notes ### NewNewUnconfirmedCoinsTransactionsRI -`func NewNewUnconfirmedCoinsTransactionsRI(callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string, ) *NewUnconfirmedCoinsTransactionsRI` +`func NewNewUnconfirmedCoinsTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string, ) *NewUnconfirmedCoinsTransactionsRI` NewNewUnconfirmedCoinsTransactionsRI instantiates a new NewUnconfirmedCoinsTransactionsRI object This constructor will assign default values to properties that have it defined, @@ -30,6 +31,26 @@ NewNewUnconfirmedCoinsTransactionsRIWithDefaults instantiates a new NewUnconfirm This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetAddress + +`func (o *NewUnconfirmedCoinsTransactionsRI) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *NewUnconfirmedCoinsTransactionsRI) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *NewUnconfirmedCoinsTransactionsRI) SetAddress(v string)` + +SetAddress sets Address field to given value. + + ### GetCallbackSecretKey `func (o *NewUnconfirmedCoinsTransactionsRI) GetCallbackSecretKey() string` diff --git a/docs/NewUnconfirmedTokensTransactionsRBDataItem.md b/docs/NewUnconfirmedTokensTransactionsRBDataItem.md index 073115a..c3c3682 100644 --- a/docs/NewUnconfirmedTokensTransactionsRBDataItem.md +++ b/docs/NewUnconfirmedTokensTransactionsRBDataItem.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Address** | **string** | Represents the address of the transaction, per which the result is returned. | **AllowDuplicates** | Pointer to **bool** | Specifies a flag that permits or denies the creation of duplicate addresses. | [optional] [default to false] **CallbackSecretKey** | Pointer to **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | [optional] -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | ## Methods diff --git a/docs/NewUnconfirmedTokensTransactionsRI.md b/docs/NewUnconfirmedTokensTransactionsRI.md index 916224b..88693cf 100644 --- a/docs/NewUnconfirmedTokensTransactionsRI.md +++ b/docs/NewUnconfirmedTokensTransactionsRI.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **CallbackSecretKey** | **string** | Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). | -**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. | +**CallbackUrl** | **string** | Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. | **CreatedTimestamp** | **int32** | Defines the specific time/date when the subscription was created in Unix Timestamp. | **EventType** | **string** | Defines the type of the specific event available for the customer to subscribe to for callback notification. | **IsActive** | **bool** | Defines whether the subscription is active or not. Set as boolean. | diff --git a/docs/OmniLayerApi.md b/docs/OmniLayerApi.md index d33900b..b56a811 100644 --- a/docs/OmniLayerApi.md +++ b/docs/OmniLayerApi.md @@ -39,11 +39,11 @@ func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. transactionId := "d237ff4a681617b767bf22c4e1e8f5115b95c8c168d6cf53bbdec68529f91ecb" // string | Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.OmniLayerApi.GetOmniTransactionDetailsByTransactionIDTxid(context.Background(), network, blockchain, transactionId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OmniLayerApi.GetOmniTransactionDetailsByTransactionIDTxid(context.Background(), network, blockchain, transactionId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OmniLayerApi.GetOmniTransactionDetailsByTransactionIDTxid``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -117,11 +117,11 @@ func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. transactionId := "92f17d3d16a1baf7de570a86179cc263cb9866c66778feec2dce111430f41c08" // string | Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.OmniLayerApi.GetUnconfirmedOmniTransactionByTransactionIDTxid(context.Background(), network, blockchain, transactionId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OmniLayerApi.GetUnconfirmedOmniTransactionByTransactionIDTxid(context.Background(), network, blockchain, transactionId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OmniLayerApi.GetUnconfirmedOmniTransactionByTransactionIDTxid``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -195,11 +195,11 @@ func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. address := "mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.OmniLayerApi.ListOmniTokensByAddress(context.Background(), network, blockchain, address).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OmniLayerApi.ListOmniTokensByAddress(context.Background(), network, blockchain, address).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OmniLayerApi.ListOmniTokensByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -273,13 +273,13 @@ func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. address := "mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.OmniLayerApi.ListOmniTransactionsByAddress(context.Background(), network, blockchain, address).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OmniLayerApi.ListOmniTransactionsByAddress(context.Background(), network, blockchain, address).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OmniLayerApi.ListOmniTransactionsByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -355,13 +355,13 @@ func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. blockHash := "000000000000001f50c9d33d122562daa7fc9582df0b415e626216c37d015818" // string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.OmniLayerApi.ListOmniTransactionsByBlockHash(context.Background(), network, blockchain, blockHash).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OmniLayerApi.ListOmniTransactionsByBlockHash(context.Background(), network, blockchain, blockHash).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OmniLayerApi.ListOmniTransactionsByBlockHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -437,13 +437,13 @@ func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. blockHeight := "1941222" // string | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.OmniLayerApi.ListOmniTransactionsByBlockHeight(context.Background(), network, blockchain, blockHeight).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OmniLayerApi.ListOmniTransactionsByBlockHeight(context.Background(), network, blockchain, blockHeight).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OmniLayerApi.ListOmniTransactionsByBlockHeight``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -519,13 +519,13 @@ func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. address := "mi7iSsKcvyFYNsiYdDZqJmH75RmoHomwmo" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.OmniLayerApi.ListUnconfirmedOmniTransactionsByAddress(context.Background(), network, blockchain, address).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OmniLayerApi.ListUnconfirmedOmniTransactionsByAddress(context.Background(), network, blockchain, address).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OmniLayerApi.ListUnconfirmedOmniTransactionsByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -601,13 +601,13 @@ func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. propertyId := "2" // string | Represents the identifier of the tokens to send. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.OmniLayerApi.ListUnconfirmedOmniTransactionsByPropertyID(context.Background(), network, blockchain, propertyId).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OmniLayerApi.ListUnconfirmedOmniTransactionsByPropertyID(context.Background(), network, blockchain, propertyId).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OmniLayerApi.ListUnconfirmedOmniTransactionsByPropertyID``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/TokensApi.md b/docs/TokensApi.md index 2628200..e417a5f 100644 --- a/docs/TokensApi.md +++ b/docs/TokensApi.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**ListConfirmedTokensTransfersByAddress**](TokensApi.md#ListConfirmedTokensTransfersByAddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers | List Confirmed Tokens Transfers By Address [**ListTokensByAddress**](TokensApi.md#ListTokensByAddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens | List Tokens By Address [**ListTokensTransfersByTransactionHash**](TokensApi.md#ListTokensTransfersByTransactionHash) | **Get** /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers | List Tokens Transfers By Transaction Hash +[**ListUnconfirmedTokensTransfersByAddress**](TokensApi.md#ListUnconfirmedTokensTransfersByAddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-unconfirmed | List Unconfirmed Tokens Transfers By Address @@ -35,11 +36,11 @@ func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. (default to "ethereum") network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. contractAddress := "0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5" // string | Defines the specific address of the contract. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.TokensApi.GetTokenDetailsByContractAddress(context.Background(), blockchain, network, contractAddress).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TokensApi.GetTokenDetailsByContractAddress(context.Background(), blockchain, network, contractAddress).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TokensApi.GetTokenDetailsByContractAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -113,13 +114,13 @@ func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "0x033ef6db9fbd0ee60e2931906b987fe0280471a0" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.TokensApi.ListConfirmedTokensTransfersByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TokensApi.ListConfirmedTokensTransfersByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TokensApi.ListConfirmedTokensTransfersByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -195,13 +196,13 @@ func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "0x033ef6db9fbd0ee60e2931906b987fe0280471a0" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.TokensApi.ListTokensByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TokensApi.ListTokensByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TokensApi.ListTokensByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -277,13 +278,13 @@ func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. transactionHash := "0xbe38781783b1b9d480219255ff98e20335a39e13979a66112efa33f05fde0a33" // string | Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.TokensApi.ListTokensTransfersByTransactionHash(context.Background(), blockchain, network, transactionHash).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TokensApi.ListTokensTransfersByTransactionHash(context.Background(), blockchain, network, transactionHash).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TokensApi.ListTokensTransfersByTransactionHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -334,3 +335,85 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +## ListUnconfirmedTokensTransfersByAddress + +> ListUnconfirmedTokensTransfersByAddressR ListUnconfirmedTokensTransfersByAddress(ctx, blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + +List Unconfirmed Tokens Transfers By Address + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. + network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + address := "0x033ef6db9fbd0ee60e2931906b987fe0280471a0" // string | Represents the public address, which is a compressed and shortened form of a public key. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TokensApi.ListUnconfirmedTokensTransfersByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TokensApi.ListUnconfirmedTokensTransfersByAddress``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListUnconfirmedTokensTransfersByAddress`: ListUnconfirmedTokensTransfersByAddressR + fmt.Fprintf(os.Stdout, "Response from `TokensApi.ListUnconfirmedTokensTransfersByAddress`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**address** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiListUnconfirmedTokensTransfersByAddressRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + +### Return type + +[**ListUnconfirmedTokensTransfersByAddressR**](ListUnconfirmedTokensTransfersByAddressR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/docs/TransactionsApi.md b/docs/TransactionsApi.md index f4eb1c8..a09a056 100644 --- a/docs/TransactionsApi.md +++ b/docs/TransactionsApi.md @@ -36,12 +36,12 @@ func main() { blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. walletId := "609e221675d04500068718dc" // string | Represents the sender's specific and unique Wallet ID of the sender. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) createCoinsTransactionFromAddressForWholeAmountRB := *openapiclient.NewCreateCoinsTransactionFromAddressForWholeAmountRB(*openapiclient.NewCreateCoinsTransactionFromAddressForWholeAmountRBData(*openapiclient.NewCreateCoinsTransactionFromAddressForWholeAmountRBDataItem("standard", "0xc065b539490f81b6c297c37b1925c3be2f190732"))) // CreateCoinsTransactionFromAddressForWholeAmountRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.TransactionsApi.CreateCoinsTransactionFromAddressForWholeAmount(context.Background(), address, blockchain, network, walletId).Context(context).CreateCoinsTransactionFromAddressForWholeAmountRB(createCoinsTransactionFromAddressForWholeAmountRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TransactionsApi.CreateCoinsTransactionFromAddressForWholeAmount(context.Background(), address, blockchain, network, walletId).Context(context).CreateCoinsTransactionFromAddressForWholeAmountRB(createCoinsTransactionFromAddressForWholeAmountRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TransactionsApi.CreateCoinsTransactionFromAddressForWholeAmount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -115,16 +115,16 @@ import ( ) func main() { - address := "0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5" // string | Defines the specific source address for the transaction. + address := "0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5" // string | Defines the specific source address for the transaction. For XRP we also support the X-address format. blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. walletId := "609e221675d04500068718dc" // string | Represents the sender's specific and unique Wallet ID of the sender. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) createCoinsTransactionRequestFromAddressRB := *openapiclient.NewCreateCoinsTransactionRequestFromAddressRB(*openapiclient.NewCreateCoinsTransactionRequestFromAddressRBData(*openapiclient.NewCreateCoinsTransactionRequestFromAddressRBDataItem("0.2", "slow", "0xc065b539490f81b6c297c37b1925c3be2f190732"))) // CreateCoinsTransactionRequestFromAddressRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.TransactionsApi.CreateCoinsTransactionRequestFromAddress(context.Background(), address, blockchain, network, walletId).Context(context).CreateCoinsTransactionRequestFromAddressRB(createCoinsTransactionRequestFromAddressRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TransactionsApi.CreateCoinsTransactionRequestFromAddress(context.Background(), address, blockchain, network, walletId).Context(context).CreateCoinsTransactionRequestFromAddressRB(createCoinsTransactionRequestFromAddressRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TransactionsApi.CreateCoinsTransactionRequestFromAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -140,7 +140,7 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**address** | **string** | Defines the specific source address for the transaction. | +**address** | **string** | Defines the specific source address for the transaction. For XRP we also support the X-address format. | **blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | **network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | **walletId** | **string** | Represents the sender's specific and unique Wallet ID of the sender. | @@ -201,12 +201,12 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. (default to "testnet") walletId := "609e221675d04500068718dc" // string | Represents the sender's specific and unique Wallet ID of the sender. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) createCoinsTransactionRequestFromWalletRB := *openapiclient.NewCreateCoinsTransactionRequestFromWalletRB(*openapiclient.NewCreateCoinsTransactionRequestFromWalletRBData(*openapiclient.NewCreateCoinsTransactionRequestFromWalletRBDataItem("standard", []openapiclient.CreateCoinsTransactionRequestFromWalletRBDataItemRecipients{*openapiclient.NewCreateCoinsTransactionRequestFromWalletRBDataItemRecipients("2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66", "0.125")}))) // CreateCoinsTransactionRequestFromWalletRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.TransactionsApi.CreateCoinsTransactionRequestFromWallet(context.Background(), blockchain, network, walletId).Context(context).CreateCoinsTransactionRequestFromWalletRB(createCoinsTransactionRequestFromWalletRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TransactionsApi.CreateCoinsTransactionRequestFromWallet(context.Background(), blockchain, network, walletId).Context(context).CreateCoinsTransactionRequestFromWalletRB(createCoinsTransactionRequestFromWalletRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TransactionsApi.CreateCoinsTransactionRequestFromWallet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -282,12 +282,12 @@ func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. (default to "mainnet") senderAddress := "0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5" // string | Defines the specific source address for the transaction. walletId := "609e221675d04500068718dc" // string | Defines the unique ID of the Wallet. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) createFungibleTokensTransactionRequestFromAddressRB := *openapiclient.NewCreateFungibleTokensTransactionRequestFromAddressRB(*openapiclient.NewCreateFungibleTokensTransactionRequestFromAddressRBData(*openapiclient.NewCreateFungibleTokensTransactionRequestFromAddressRBDataItem("0.2", "standard", "0xc065b539490f81b6c297c37b1925c3be2f190732", "0xdac17f958d2ee523a2206206994597c13d831ec7"))) // CreateFungibleTokensTransactionRequestFromAddressRB | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.TransactionsApi.CreateFungibleTokensTransactionRequestFromAddress(context.Background(), blockchain, network, senderAddress, walletId).Context(context).CreateFungibleTokensTransactionRequestFromAddressRB(createFungibleTokensTransactionRequestFromAddressRB).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.TransactionsApi.CreateFungibleTokensTransactionRequestFromAddress(context.Background(), blockchain, network, senderAddress, walletId).Context(context).CreateFungibleTokensTransactionRequestFromAddressRB(createFungibleTokensTransactionRequestFromAddressRB).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TransactionsApi.CreateFungibleTokensTransactionRequestFromAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/docs/UTXOBasedApi.md b/docs/UTXOBasedApi.md deleted file mode 100644 index da5b456..0000000 --- a/docs/UTXOBasedApi.md +++ /dev/null @@ -1,91 +0,0 @@ -# \UTXOBasedApi - -All URIs are relative to *https://rest.cryptoapis.io/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**ListUnspentTransactionOutputsByAddress**](UTXOBasedApi.md#ListUnspentTransactionOutputsByAddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/unspent | List Unspent Transaction Outputs By Address - - - -## ListUnspentTransactionOutputsByAddress - -> ListUnspentTransactionOutputsByAddressR ListUnspentTransactionOutputsByAddress(ctx, blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() - -List Unspent Transaction Outputs By Address - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "./openapi" -) - -func main() { - blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. - network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - address := "2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) - - configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UTXOBasedApi.ListUnspentTransactionOutputsByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `UTXOBasedApi.ListUnspentTransactionOutputsByAddress``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `ListUnspentTransactionOutputsByAddress`: ListUnspentTransactionOutputsByAddressR - fmt.Fprintf(os.Stdout, "Response from `UTXOBasedApi.ListUnspentTransactionOutputsByAddress`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | -**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | -**address** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | - -### Other Parameters - -Other parameters are passed through a pointer to a apiListUnspentTransactionOutputsByAddressRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - - - **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | - **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] - **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] - -### Return type - -[**ListUnspentTransactionOutputsByAddressR**](ListUnspentTransactionOutputsByAddressR.md) - -### Authorization - -[ApiKey](../README.md#ApiKey) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/docs/UnifiedEndpointsApi.md b/docs/UnifiedEndpointsApi.md index 08efa0c..c5dcc8e 100644 --- a/docs/UnifiedEndpointsApi.md +++ b/docs/UnifiedEndpointsApi.md @@ -4,21 +4,107 @@ All URIs are relative to *https://rest.cryptoapis.io/v2* Method | HTTP request | Description ------------- | ------------- | ------------- +[**EstimateTransactionSmartFee**](UnifiedEndpointsApi.md#EstimateTransactionSmartFee) | **Get** /blockchain-data/{blockchain}/{network}/estimate-transaction-smart-fee | Estimate Transaction Smart Fee [**GetAddressDetails**](UnifiedEndpointsApi.md#GetAddressDetails) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address} | Get Address Details [**GetBlockDetailsByBlockHash**](UnifiedEndpointsApi.md#GetBlockDetailsByBlockHash) | **Get** /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash} | Get Block Details By Block Hash [**GetBlockDetailsByBlockHeight**](UnifiedEndpointsApi.md#GetBlockDetailsByBlockHeight) | **Get** /blockchain-data/{blockchain}/{network}/blocks/height/{height} | Get Block Details By Block Height [**GetFeeRecommendations**](UnifiedEndpointsApi.md#GetFeeRecommendations) | **Get** /blockchain-data/{blockchain}/{network}/mempool/fees | Get Fee Recommendations [**GetLastMinedBlock**](UnifiedEndpointsApi.md#GetLastMinedBlock) | **Get** /blockchain-data/{blockchain}/{network}/blocks/last | Get Last Mined Block +[**GetNextAvailableNonce**](UnifiedEndpointsApi.md#GetNextAvailableNonce) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/next-available-nonce | Get Next Available Nonce +[**GetRawTransactionData**](UnifiedEndpointsApi.md#GetRawTransactionData) | **Get** /blockchain-data/{blockchain}/{network}/transactions/{transactionId}/raw-data | Get Raw Transaction Data [**GetTransactionDetailsByTransactionID**](UnifiedEndpointsApi.md#GetTransactionDetailsByTransactionID) | **Get** /blockchain-data/{blockchain}/{network}/transactions/{transactionId} | Get Transaction Details By Transaction ID [**ListAllUnconfirmedTransactions**](UnifiedEndpointsApi.md#ListAllUnconfirmedTransactions) | **Get** /blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed | List All Unconfirmed Transactions +[**ListConfirmedTokensTransfersByAddressAndTimeRange**](UnifiedEndpointsApi.md#ListConfirmedTokensTransfersByAddressAndTimeRange) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-by-time-range | List Confirmed Tokens Transfers By Address And Time Range [**ListConfirmedTransactionsByAddress**](UnifiedEndpointsApi.md#ListConfirmedTransactionsByAddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions | List Confirmed Transactions By Address +[**ListConfirmedTransactionsByAddressAndTimeRange**](UnifiedEndpointsApi.md#ListConfirmedTransactionsByAddressAndTimeRange) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions-by-time-range | List Confirmed Transactions By Address And Time Range +[**ListInternalTransactionsByAddressAndTimeRange**](UnifiedEndpointsApi.md#ListInternalTransactionsByAddressAndTimeRange) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/internal-by-time-range | List Internal Transactions By Address And Time Range [**ListLatestMinedBlocks**](UnifiedEndpointsApi.md#ListLatestMinedBlocks) | **Get** /blockchain-data/{blockchain}/{network}/blocks/last/{count} | List Latest Mined Blocks [**ListTransactionsByBlockHash**](UnifiedEndpointsApi.md#ListTransactionsByBlockHash) | **Get** /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash}/transactions | List Transactions by Block Hash [**ListTransactionsByBlockHeight**](UnifiedEndpointsApi.md#ListTransactionsByBlockHeight) | **Get** /blockchain-data/{blockchain}/{network}/blocks/height/{height}/transactions | List Transactions by Block Height [**ListUnconfirmedTransactionsByAddress**](UnifiedEndpointsApi.md#ListUnconfirmedTransactionsByAddress) | **Get** /blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed/{address} | List Unconfirmed Transactions by Address +[**ListUnspentTransactionOutputsByAddress**](UnifiedEndpointsApi.md#ListUnspentTransactionOutputsByAddress) | **Get** /blockchain-data/{blockchain}/{network}/addresses/{address}/unspent-outputs | List Unspent Transaction Outputs By Address +## EstimateTransactionSmartFee + +> EstimateTransactionSmartFeeR EstimateTransactionSmartFee(ctx, blockchain, network).Context(context).ConfirmationTarget(confirmationTarget).EstimateMode(estimateMode).Execute() + +Estimate Transaction Smart Fee + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "bitcoin" // string | + network := "testnet" // string | + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + confirmationTarget := int32(2) // int32 | Integer representation of confirmation target in blocks that estimation will be valid for (optional) + estimateMode := "economical" // string | String representation of the address (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.EstimateTransactionSmartFee(context.Background(), blockchain, network).Context(context).ConfirmationTarget(confirmationTarget).EstimateMode(estimateMode).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.EstimateTransactionSmartFee``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `EstimateTransactionSmartFee`: EstimateTransactionSmartFeeR + fmt.Fprintf(os.Stdout, "Response from `UnifiedEndpointsApi.EstimateTransactionSmartFee`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | | +**network** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiEstimateTransactionSmartFeeRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **confirmationTarget** | **int32** | Integer representation of confirmation target in blocks that estimation will be valid for | + **estimateMode** | **string** | String representation of the address | + +### Return type + +[**EstimateTransactionSmartFeeR**](EstimateTransactionSmartFeeR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GetAddressDetails > GetAddressDetailsR GetAddressDetails(ctx, blockchain, network, address).Context(context).Execute() @@ -43,11 +129,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "mzYijhgmzZrmuB7wBDazRKirnChKyow4M3" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.GetAddressDetails(context.Background(), blockchain, network, address).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.GetAddressDetails(context.Background(), blockchain, network, address).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.GetAddressDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -121,11 +207,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHash := "0000000006b3f483bec16b8a85c632bdd30a14a202c83a9148002c9ee441dd0c" // string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.GetBlockDetailsByBlockHash(context.Background(), blockchain, network, blockHash).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.GetBlockDetailsByBlockHash(context.Background(), blockchain, network, blockHash).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.GetBlockDetailsByBlockHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -199,11 +285,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. height := int32(673852) // int32 | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.GetBlockDetailsByBlockHeight(context.Background(), blockchain, network, height).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.GetBlockDetailsByBlockHeight(context.Background(), blockchain, network, height).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.GetBlockDetailsByBlockHeight``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -276,11 +362,11 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.GetFeeRecommendations(context.Background(), blockchain, network).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.GetFeeRecommendations(context.Background(), blockchain, network).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.GetFeeRecommendations``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -351,11 +437,11 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.GetLastMinedBlock(context.Background(), blockchain, network).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.GetLastMinedBlock(context.Background(), blockchain, network).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.GetLastMinedBlock``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -403,6 +489,162 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GetNextAvailableNonce + +> GetNextAvailableNonceR GetNextAvailableNonce(ctx, blockchain, network, address).Context(context).Execute() + +Get Next Available Nonce + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + address := "0x626b046b0ce356f248b215b01b459f8b8d59e1a4" // string | Represents the public address, which is a compressed and shortened form of a public key. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.GetNextAvailableNonce(context.Background(), blockchain, network, address).Context(context).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.GetNextAvailableNonce``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetNextAvailableNonce`: GetNextAvailableNonceR + fmt.Fprintf(os.Stdout, "Response from `UnifiedEndpointsApi.GetNextAvailableNonce`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**address** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetNextAvailableNonceRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + +### Return type + +[**GetNextAvailableNonceR**](GetNextAvailableNonceR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetRawTransactionData + +> GetRawTransactionDataR GetRawTransactionData(ctx, blockchain, network, transactionId).Context(context).Execute() + +Get Raw Transaction Data + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + transactionId := "4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250" // string | Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.GetRawTransactionData(context.Background(), blockchain, network, transactionId).Context(context).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.GetRawTransactionData``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetRawTransactionData`: GetRawTransactionDataR + fmt.Fprintf(os.Stdout, "Response from `UnifiedEndpointsApi.GetRawTransactionData`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**transactionId** | **string** | Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetRawTransactionDataRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + +### Return type + +[**GetRawTransactionDataR**](GetRawTransactionDataR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GetTransactionDetailsByTransactionID > GetTransactionDetailsByTransactionIDR GetTransactionDetailsByTransactionID(ctx, blockchain, network, transactionId).Context(context).Execute() @@ -427,11 +669,11 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. transactionId := "4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250" // string | Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.GetTransactionDetailsByTransactionID(context.Background(), blockchain, network, transactionId).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.GetTransactionDetailsByTransactionID(context.Background(), blockchain, network, transactionId).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.GetTransactionDetailsByTransactionID``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -504,13 +746,13 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.ListAllUnconfirmedTransactions(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListAllUnconfirmedTransactions(context.Background(), blockchain, network).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListAllUnconfirmedTransactions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -538,13 +780,99 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + +### Return type + +[**ListAllUnconfirmedTransactionsR**](ListAllUnconfirmedTransactionsR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListConfirmedTokensTransfersByAddressAndTimeRange + +> ListConfirmedTokensTransfersByAddressAndTimeRangeR ListConfirmedTokensTransfersByAddressAndTimeRange(ctx, blockchain, network, address).FromTimestamp(fromTimestamp).ToTimestamp(toTimestamp).Context(context).Limit(limit).Offset(offset).Execute() + +List Confirmed Tokens Transfers By Address And Time Range + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. + network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + address := "0x033ef6db9fbd0ee60e2931906b987fe0280471a0" // string | Represents the public address, which is a compressed and shortened form of a public key. + fromTimestamp := int32(1236238648) // int32 | Defines the specific time/date from which the results will start being listed. + toTimestamp := int32(1644417868) // int32 | Defines the specific time/date to which the results will be listed. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListConfirmedTokensTransfersByAddressAndTimeRange(context.Background(), blockchain, network, address).FromTimestamp(fromTimestamp).ToTimestamp(toTimestamp).Context(context).Limit(limit).Offset(offset).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListConfirmedTokensTransfersByAddressAndTimeRange``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListConfirmedTokensTransfersByAddressAndTimeRange`: ListConfirmedTokensTransfersByAddressAndTimeRangeR + fmt.Fprintf(os.Stdout, "Response from `UnifiedEndpointsApi.ListConfirmedTokensTransfersByAddressAndTimeRange`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**address** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiListConfirmedTokensTransfersByAddressAndTimeRangeRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **fromTimestamp** | **int32** | Defines the specific time/date from which the results will start being listed. | + **toTimestamp** | **int32** | Defines the specific time/date to which the results will be listed. | **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] ### Return type -[**ListAllUnconfirmedTransactionsR**](ListAllUnconfirmedTransactionsR.md) +[**ListConfirmedTokensTransfersByAddressAndTimeRangeR**](ListConfirmedTokensTransfersByAddressAndTimeRangeR.md) ### Authorization @@ -584,13 +912,13 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "mho4jHBcrNCncKt38trJahXakuaBnS7LK5" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.ListConfirmedTransactionsByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListConfirmedTransactionsByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListConfirmedTransactionsByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -620,13 +948,185 @@ Name | Type | Description | Notes + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + +### Return type + +[**ListConfirmedTransactionsByAddressR**](ListConfirmedTransactionsByAddressR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListConfirmedTransactionsByAddressAndTimeRange + +> ListConfirmedTransactionsByAddressAndTimeRangeR ListConfirmedTransactionsByAddressAndTimeRange(ctx, blockchain, network, address).FromTimestamp(fromTimestamp).ToTimestamp(toTimestamp).Context(context).Limit(limit).Offset(offset).Execute() + +List Confirmed Transactions By Address And Time Range + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + address := "mho4jHBcrNCncKt38trJahXakuaBnS7LK5" // string | Represents the public address, which is a compressed and shortened form of a public key. + fromTimestamp := int32(1236238648) // int32 | Defines the specific time/date from which the results will start being listed. + toTimestamp := int32(1644417868) // int32 | Defines the specific time/date to which the results will be listed. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListConfirmedTransactionsByAddressAndTimeRange(context.Background(), blockchain, network, address).FromTimestamp(fromTimestamp).ToTimestamp(toTimestamp).Context(context).Limit(limit).Offset(offset).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListConfirmedTransactionsByAddressAndTimeRange``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListConfirmedTransactionsByAddressAndTimeRange`: ListConfirmedTransactionsByAddressAndTimeRangeR + fmt.Fprintf(os.Stdout, "Response from `UnifiedEndpointsApi.ListConfirmedTransactionsByAddressAndTimeRange`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**address** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiListConfirmedTransactionsByAddressAndTimeRangeRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **fromTimestamp** | **int32** | Defines the specific time/date from which the results will start being listed. | + **toTimestamp** | **int32** | Defines the specific time/date to which the results will be listed. | + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + +### Return type + +[**ListConfirmedTransactionsByAddressAndTimeRangeR**](ListConfirmedTransactionsByAddressAndTimeRangeR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListInternalTransactionsByAddressAndTimeRange + +> ListInternalTransactionsByAddressAndTimeRangeR ListInternalTransactionsByAddressAndTimeRange(ctx, blockchain, network, address).FromTimestamp(fromTimestamp).ToTimestamp(toTimestamp).Context(context).Limit(limit).Offset(offset).Execute() + +List Internal Transactions By Address And Time Range + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + address := "0xc8fe2ceac93ad50e496b497357ae5385192dd28d" // string | String identifier of the address document represented in CryptoAPIs + fromTimestamp := int32(1635979828) // int32 | Defines the specific time/date from which the results will start being listed. + toTimestamp := int32(1643329896) // int32 | Defines the specific time/date to which the results will be listed. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListInternalTransactionsByAddressAndTimeRange(context.Background(), blockchain, network, address).FromTimestamp(fromTimestamp).ToTimestamp(toTimestamp).Context(context).Limit(limit).Offset(offset).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListInternalTransactionsByAddressAndTimeRange``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListInternalTransactionsByAddressAndTimeRange`: ListInternalTransactionsByAddressAndTimeRangeR + fmt.Fprintf(os.Stdout, "Response from `UnifiedEndpointsApi.ListInternalTransactionsByAddressAndTimeRange`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**address** | **string** | String identifier of the address document represented in CryptoAPIs | + +### Other Parameters + +Other parameters are passed through a pointer to a apiListInternalTransactionsByAddressAndTimeRangeRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **fromTimestamp** | **int32** | Defines the specific time/date from which the results will start being listed. | + **toTimestamp** | **int32** | Defines the specific time/date to which the results will be listed. | **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] ### Return type -[**ListConfirmedTransactionsByAddressR**](ListConfirmedTransactionsByAddressR.md) +[**ListInternalTransactionsByAddressAndTimeRangeR**](ListInternalTransactionsByAddressAndTimeRangeR.md) ### Authorization @@ -666,11 +1166,11 @@ func main() { network := "ropsten" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks blockchain := "ethereum" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. count := int32(2) // int32 | Specifies how many records were requested. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.ListLatestMinedBlocks(context.Background(), network, blockchain, count).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListLatestMinedBlocks(context.Background(), network, blockchain, count).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListLatestMinedBlocks``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -744,13 +1244,13 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHash := "00000000000000127080d8bcf84f4ad830a71ea0aadce3632579b6b2f26cd94b" // string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.ListTransactionsByBlockHash(context.Background(), blockchain, network, blockHash).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListTransactionsByBlockHash(context.Background(), blockchain, network, blockHash).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListTransactionsByBlockHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -781,8 +1281,8 @@ Name | Type | Description | Notes **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | - **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] - **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] ### Return type @@ -825,14 +1325,14 @@ import ( func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - height := int32(673852) // int32 | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + height := int64(673852) // int64 | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.ListTransactionsByBlockHeight(context.Background(), blockchain, network, height).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListTransactionsByBlockHeight(context.Background(), blockchain, network, height).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListTransactionsByBlockHeight``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -850,7 +1350,7 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | **network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | -**height** | **int32** | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". | +**height** | **int64** | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". | ### Other Parameters @@ -863,8 +1363,8 @@ Name | Type | Description | Notes **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | - **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] - **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] ### Return type @@ -908,13 +1408,13 @@ func main() { blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "2NDt6eztswLiVgVYaGUhkTPmugUGovVypAe" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.UnifiedEndpointsApi.ListUnconfirmedTransactionsByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListUnconfirmedTransactionsByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListUnconfirmedTransactionsByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -939,6 +1439,88 @@ Name | Type | Description | Notes Other parameters are passed through a pointer to a apiListUnconfirmedTransactionsByAddressRequest struct via the builder pattern +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + +### Return type + +[**ListUnconfirmedTransactionsByAddressR**](ListUnconfirmedTransactionsByAddressR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListUnspentTransactionOutputsByAddress + +> ListUnspentTransactionOutputsByAddressR ListUnspentTransactionOutputsByAddress(ctx, blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + +List Unspent Transaction Outputs By Address + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + blockchain := "bitcoin" // string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + address := "2MtzNEqm2D9jcbPJ5mW7Z3AUNwqt3afZH66" // string | Represents the address that has unspend funds per which the result is returned. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.UnifiedEndpointsApi.ListUnspentTransactionOutputsByAddress(context.Background(), blockchain, network, address).Context(context).Limit(limit).Offset(offset).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UnifiedEndpointsApi.ListUnspentTransactionOutputsByAddress``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListUnspentTransactionOutputsByAddress`: ListUnspentTransactionOutputsByAddressR + fmt.Fprintf(os.Stdout, "Response from `UnifiedEndpointsApi.ListUnspentTransactionOutputsByAddress`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**blockchain** | **string** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**address** | **string** | Represents the address that has unspend funds per which the result is returned. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiListUnspentTransactionOutputsByAddressRequest struct via the builder pattern + + Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -950,7 +1532,7 @@ Name | Type | Description | Notes ### Return type -[**ListUnconfirmedTransactionsByAddressR**](ListUnconfirmedTransactionsByAddressR.md) +[**ListUnspentTransactionOutputsByAddressR**](ListUnspentTransactionOutputsByAddressR.md) ### Authorization diff --git a/docs/Unimplemented.md b/docs/Unimplemented.md new file mode 100644 index 0000000..9bdd47b --- /dev/null +++ b/docs/Unimplemented.md @@ -0,0 +1,98 @@ +# Unimplemented + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Specifies an error code, e.g. error 404. | +**Message** | **string** | Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. | +**Details** | Pointer to [**[]BannedIpAddressDetails**](BannedIpAddressDetails.md) | | [optional] + +## Methods + +### NewUnimplemented + +`func NewUnimplemented(code string, message string, ) *Unimplemented` + +NewUnimplemented instantiates a new Unimplemented object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUnimplementedWithDefaults + +`func NewUnimplementedWithDefaults() *Unimplemented` + +NewUnimplementedWithDefaults instantiates a new Unimplemented object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *Unimplemented) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *Unimplemented) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *Unimplemented) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetMessage + +`func (o *Unimplemented) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *Unimplemented) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *Unimplemented) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetDetails + +`func (o *Unimplemented) GetDetails() []BannedIpAddressDetails` + +GetDetails returns the Details field if non-nil, zero value otherwise. + +### GetDetailsOk + +`func (o *Unimplemented) GetDetailsOk() (*[]BannedIpAddressDetails, bool)` + +GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDetails + +`func (o *Unimplemented) SetDetails(v []BannedIpAddressDetails)` + +SetDetails sets Details field to given value. + +### HasDetails + +`func (o *Unimplemented) HasDetails() bool` + +HasDetails returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/XRPRippleApi.md b/docs/XRPRippleApi.md index 878c802..37e361c 100644 --- a/docs/XRPRippleApi.md +++ b/docs/XRPRippleApi.md @@ -10,6 +10,7 @@ Method | HTTP request | Description [**GetXRPRippleBlockDetailsByBlockHeight**](XRPRippleApi.md#GetXRPRippleBlockDetailsByBlockHeight) | **Get** /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight} | Get XRP (Ripple) Block Details By Block Height [**GetXRPRippleTransactionDetailsByTransactionID**](XRPRippleApi.md#GetXRPRippleTransactionDetailsByTransactionID) | **Get** /blockchain-data/xrp-specific/{network}/transactions/{transactionHash} | Get XRP (Ripple) Transaction Details By Transaction ID [**ListXRPRippleTransactionsByAddress**](XRPRippleApi.md#ListXRPRippleTransactionsByAddress) | **Get** /blockchain-data/xrp-specific/{network}/addresses/{address}/transactions | List XRP (Ripple) Transactions by Address +[**ListXRPRippleTransactionsByAddressAndTimeRange**](XRPRippleApi.md#ListXRPRippleTransactionsByAddressAndTimeRange) | **Get** /blockchain-data/xrp-specific/{network}/addresses/{address}/transactions-by-time-range | List XRP (Ripple) Transactions By Address And Time Range [**ListXRPRippleTransactionsByBlockHash**](XRPRippleApi.md#ListXRPRippleTransactionsByBlockHash) | **Get** /blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash}/transactions | List XRP (Ripple) Transactions By Block Hash [**ListXRPRippleTransactionsByBlockHeight**](XRPRippleApi.md#ListXRPRippleTransactionsByBlockHeight) | **Get** /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight}/transactions | List XRP (Ripple) Transactions By Block Height @@ -37,11 +38,11 @@ import ( func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.XRPRippleApi.GetLatestMinedXRPRippleBlock(context.Background(), network).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.GetLatestMinedXRPRippleBlock(context.Background(), network).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.GetLatestMinedXRPRippleBlock``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -110,11 +111,11 @@ import ( func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", are test networks. address := "rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.XRPRippleApi.GetXRPRippleAddressDetails(context.Background(), network, address).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.GetXRPRippleAddressDetails(context.Background(), network, address).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.GetXRPRippleAddressDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -185,11 +186,11 @@ import ( func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHash := "1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9" // string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.XRPRippleApi.GetXRPRippleBlockDetailsByBlockHash(context.Background(), network, blockHash).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.GetXRPRippleBlockDetailsByBlockHash(context.Background(), network, blockHash).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.GetXRPRippleBlockDetailsByBlockHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -260,11 +261,11 @@ import ( func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", are test networks. blockHeight := "15886156" // string | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.XRPRippleApi.GetXRPRippleBlockDetailsByBlockHeight(context.Background(), network, blockHeight).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.GetXRPRippleBlockDetailsByBlockHeight(context.Background(), network, blockHeight).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.GetXRPRippleBlockDetailsByBlockHeight``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -335,11 +336,11 @@ import ( func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. transactionHash := "36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d" // string | Represents the same as `transactionId` for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` for SegWit transactions. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.XRPRippleApi.GetXRPRippleTransactionDetailsByTransactionID(context.Background(), network, transactionHash).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.GetXRPRippleTransactionDetailsByTransactionID(context.Background(), network, transactionHash).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.GetXRPRippleTransactionDetailsByTransactionID``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -410,14 +411,14 @@ import ( func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z" // string | Represents the public address, which is a compressed and shortened form of a public key. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) transactionType := "payment" // string | (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.XRPRippleApi.ListXRPRippleTransactionsByAddress(context.Background(), network, address).Context(context).Limit(limit).Offset(offset).TransactionType(transactionType).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.ListXRPRippleTransactionsByAddress(context.Background(), network, address).Context(context).Limit(limit).Offset(offset).TransactionType(transactionType).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.ListXRPRippleTransactionsByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -446,8 +447,8 @@ Name | Type | Description | Notes **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | - **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] - **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] **transactionType** | **string** | | ### Return type @@ -468,6 +469,91 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ListXRPRippleTransactionsByAddressAndTimeRange + +> ListXRPRippleTransactionsByAddressAndTimeRangeR ListXRPRippleTransactionsByAddressAndTimeRange(ctx, network, address).FromTimestamp(fromTimestamp).ToTimestamp(toTimestamp).Context(context).Limit(limit).Offset(offset).TransactionType(transactionType).Execute() + +List XRP (Ripple) Transactions By Address And Time Range + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + address := "rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z" // string | Represents the public address, which is a compressed and shortened form of a public key. + fromTimestamp := int32(1616347862) // int32 | Defines the specific time/date from which the results will start being listed. + toTimestamp := int32(1616347870) // int32 | Defines the specific time/date to which the results will be listed. + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + transactionType := "payment" // string | Defines the transaction type. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.ListXRPRippleTransactionsByAddressAndTimeRange(context.Background(), network, address).FromTimestamp(fromTimestamp).ToTimestamp(toTimestamp).Context(context).Limit(limit).Offset(offset).TransactionType(transactionType).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.ListXRPRippleTransactionsByAddressAndTimeRange``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListXRPRippleTransactionsByAddressAndTimeRange`: ListXRPRippleTransactionsByAddressAndTimeRangeR + fmt.Fprintf(os.Stdout, "Response from `XRPRippleApi.ListXRPRippleTransactionsByAddressAndTimeRange`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | +**address** | **string** | Represents the public address, which is a compressed and shortened form of a public key. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiListXRPRippleTransactionsByAddressAndTimeRangeRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **fromTimestamp** | **int32** | Defines the specific time/date from which the results will start being listed. | + **toTimestamp** | **int32** | Defines the specific time/date to which the results will be listed. | + **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + **transactionType** | **string** | Defines the transaction type. | + +### Return type + +[**ListXRPRippleTransactionsByAddressAndTimeRangeR**](ListXRPRippleTransactionsByAddressAndTimeRangeR.md) + +### Authorization + +[ApiKey](../README.md#ApiKey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## ListXRPRippleTransactionsByBlockHash > ListXRPRippleTransactionsByBlockHashR ListXRPRippleTransactionsByBlockHash(ctx, network, blockHash).Context(context).Limit(limit).Offset(offset).Execute() @@ -491,13 +577,13 @@ import ( func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHash := "14754656235f865a74eba27791fd41a47bdfe07fe811ff6d78f53db32e129e39" // string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.XRPRippleApi.ListXRPRippleTransactionsByBlockHash(context.Background(), network, blockHash).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.ListXRPRippleTransactionsByBlockHash(context.Background(), network, blockHash).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.ListXRPRippleTransactionsByBlockHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -526,8 +612,8 @@ Name | Type | Description | Notes **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | - **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] - **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] ### Return type @@ -569,14 +655,14 @@ import ( func main() { network := "testnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - blockHeight := int32(15971358) // int32 | - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) - limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + blockHeight := int64(15971358) // int64 | + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + limit := int64(50) // int64 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) + offset := int64(0) // int64 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.XRPRippleApi.ListXRPRippleTransactionsByBlockHeight(context.Background(), network, blockHeight).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.XRPRippleApi.ListXRPRippleTransactionsByBlockHeight(context.Background(), network, blockHeight).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `XRPRippleApi.ListXRPRippleTransactionsByBlockHeight``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -593,7 +679,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **network** | **string** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. | -**blockHeight** | **int32** | | +**blockHeight** | **int64** | | ### Other Parameters @@ -605,8 +691,8 @@ Name | Type | Description | Notes **context** | **string** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. | - **limit** | **int32** | Defines how many items should be returned in the response per page basis. | [default to 50] - **offset** | **int32** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] + **limit** | **int64** | Defines how many items should be returned in the response per page basis. | [default to 50] + **offset** | **int64** | The starting index of the response items, i.e. where the response should start listing the returned items. | [default to 0] ### Return type diff --git a/docs/ZilliqaApi.md b/docs/ZilliqaApi.md index 29504ed..7dee487 100644 --- a/docs/ZilliqaApi.md +++ b/docs/ZilliqaApi.md @@ -37,11 +37,11 @@ import ( func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ZilliqaApi.GetLatestMinedZilliqaBlock(context.Background(), network).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ZilliqaApi.GetLatestMinedZilliqaBlock(context.Background(), network).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ZilliqaApi.GetLatestMinedZilliqaBlock``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -110,11 +110,11 @@ import ( func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "zil17v9gs6ctn9pq6wka8k668umdlaj88nrfej7rnm" // string | Defines the specific transaction's address. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ZilliqaApi.GetZilliqaAddressDetails(context.Background(), network, address).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ZilliqaApi.GetZilliqaAddressDetails(context.Background(), network, address).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ZilliqaApi.GetZilliqaAddressDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -185,11 +185,11 @@ import ( func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHash := "0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205" // string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ZilliqaApi.GetZilliqaBlockDetailsByBlockHash(context.Background(), network, blockHash).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ZilliqaApi.GetZilliqaBlockDetailsByBlockHash(context.Background(), network, blockHash).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ZilliqaApi.GetZilliqaBlockDetailsByBlockHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -260,11 +260,11 @@ import ( func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHeight := int32(1244298) // int32 | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ZilliqaApi.GetZilliqaBlockDetailsByBlockHeight(context.Background(), network, blockHeight).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ZilliqaApi.GetZilliqaBlockDetailsByBlockHeight(context.Background(), network, blockHeight).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ZilliqaApi.GetZilliqaBlockDetailsByBlockHeight``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -335,11 +335,11 @@ import ( func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. transactionHash := "0xe649afbe2849c70a7a8b3087bee2c7b2fa0b6b77ab658b4fff390a1d06f0a8bc" // string | String identifier of the transaction - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ZilliqaApi.GetZilliqaTransactionDetailsByTransactionID(context.Background(), network, transactionHash).Context(context).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ZilliqaApi.GetZilliqaTransactionDetailsByTransactionID(context.Background(), network, transactionHash).Context(context).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ZilliqaApi.GetZilliqaTransactionDetailsByTransactionID``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -410,13 +410,13 @@ import ( func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. address := "zil17v9gs6ctn9pq6wka8k668umdlaj88nrfej7rnm" // string | Defines the specific address of the sender. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ZilliqaApi.ListZilliqaTransactionsByAddress(context.Background(), network, address).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ZilliqaApi.ListZilliqaTransactionsByAddress(context.Background(), network, address).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ZilliqaApi.ListZilliqaTransactionsByAddress``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -489,13 +489,13 @@ import ( func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHash := "0x3160ca05ac12f60023de6b6987596eccbf084629f1a92b59534c5c021bf27041" // string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ZilliqaApi.ListZilliqaTransactionsByBlockHash(context.Background(), network, blockHash).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ZilliqaApi.ListZilliqaTransactionsByBlockHash(context.Background(), network, blockHash).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ZilliqaApi.ListZilliqaTransactionsByBlockHash``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -568,13 +568,13 @@ import ( func main() { network := "mainnet" // string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. blockHeight := int32(1250392) // int32 | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\". - context := "context_example" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) + context := "yourExampleString" // string | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. (optional) limit := int32(50) // int32 | Defines how many items should be returned in the response per page basis. (optional) (default to 50) - offset := int32(10) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) + offset := int32(0) // int32 | The starting index of the response items, i.e. where the response should start listing the returned items. (optional) (default to 0) configuration := openapiclient.NewConfiguration() - api_client := openapiclient.NewAPIClient(configuration) - resp, r, err := api_client.ZilliqaApi.ListZilliqaTransactionsByBlockHeight(context.Background(), network, blockHeight).Context(context).Limit(limit).Offset(offset).Execute() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ZilliqaApi.ListZilliqaTransactionsByBlockHeight(context.Background(), network, blockHeight).Context(context).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ZilliqaApi.ListZilliqaTransactionsByBlockHeight``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) diff --git a/go.mod b/go.mod index 6c97654..b496323 100644 --- a/go.mod +++ b/go.mod @@ -3,5 +3,5 @@ module github.com/Crypto-APIs/Crypto_APIs_2.0_SDK_Golang go 1.13 require ( - golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 + golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558 ) diff --git a/model_activate_blockchain_event_subscription_e400.go b/model_activate_blockchain_event_subscription_e400.go index c76292a..763f141 100644 --- a/model_activate_blockchain_event_subscription_e400.go +++ b/model_activate_blockchain_event_subscription_e400.go @@ -25,17 +25,23 @@ type ActivateBlockchainEventSubscriptionE400 struct { // InvalidPaginationAsActivateBlockchainEventSubscriptionE400 is a convenience function that returns InvalidPagination wrapped in ActivateBlockchainEventSubscriptionE400 func InvalidPaginationAsActivateBlockchainEventSubscriptionE400(v *InvalidPagination) ActivateBlockchainEventSubscriptionE400 { - return ActivateBlockchainEventSubscriptionE400{ InvalidPagination: v} + return ActivateBlockchainEventSubscriptionE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsActivateBlockchainEventSubscriptionE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ActivateBlockchainEventSubscriptionE400 func LimitGreaterThanAllowedAsActivateBlockchainEventSubscriptionE400(v *LimitGreaterThanAllowed) ActivateBlockchainEventSubscriptionE400 { - return ActivateBlockchainEventSubscriptionE400{ LimitGreaterThanAllowed: v} + return ActivateBlockchainEventSubscriptionE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsActivateBlockchainEventSubscriptionE400 is a convenience function that returns UriNotFound wrapped in ActivateBlockchainEventSubscriptionE400 func UriNotFoundAsActivateBlockchainEventSubscriptionE400(v *UriNotFound) ActivateBlockchainEventSubscriptionE400 { - return ActivateBlockchainEventSubscriptionE400{ UriNotFound: v} + return ActivateBlockchainEventSubscriptionE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ActivateBlockchainEventSubscriptionE400) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ActivateBlockchainEventSubscriptionE400) UnmarshalJSON(data []byte) e } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ActivateBlockchainEventSubscriptionE400) UnmarshalJSON(data []byte) e } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ActivateBlockchainEventSubscriptionE400) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ActivateBlockchainEventSubscriptionE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_activate_blockchain_event_subscription_e401.go b/model_activate_blockchain_event_subscription_e401.go index 8a02bc4..a15bcd2 100644 --- a/model_activate_blockchain_event_subscription_e401.go +++ b/model_activate_blockchain_event_subscription_e401.go @@ -24,12 +24,16 @@ type ActivateBlockchainEventSubscriptionE401 struct { // InvalidApiKeyAsActivateBlockchainEventSubscriptionE401 is a convenience function that returns InvalidApiKey wrapped in ActivateBlockchainEventSubscriptionE401 func InvalidApiKeyAsActivateBlockchainEventSubscriptionE401(v *InvalidApiKey) ActivateBlockchainEventSubscriptionE401 { - return ActivateBlockchainEventSubscriptionE401{ InvalidApiKey: v} + return ActivateBlockchainEventSubscriptionE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsActivateBlockchainEventSubscriptionE401 is a convenience function that returns MissingApiKey wrapped in ActivateBlockchainEventSubscriptionE401 func MissingApiKeyAsActivateBlockchainEventSubscriptionE401(v *MissingApiKey) ActivateBlockchainEventSubscriptionE401 { - return ActivateBlockchainEventSubscriptionE401{ MissingApiKey: v} + return ActivateBlockchainEventSubscriptionE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ActivateBlockchainEventSubscriptionE401) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ActivateBlockchainEventSubscriptionE401) UnmarshalJSON(data []byte) e } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ActivateBlockchainEventSubscriptionE401) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ActivateBlockchainEventSubscriptionE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_activate_blockchain_event_subscription_e403.go b/model_activate_blockchain_event_subscription_e403.go index fbc98dd..b555d4c 100644 --- a/model_activate_blockchain_event_subscription_e403.go +++ b/model_activate_blockchain_event_subscription_e403.go @@ -26,22 +26,30 @@ type ActivateBlockchainEventSubscriptionE403 struct { // BannedIpAddressAsActivateBlockchainEventSubscriptionE403 is a convenience function that returns BannedIpAddress wrapped in ActivateBlockchainEventSubscriptionE403 func BannedIpAddressAsActivateBlockchainEventSubscriptionE403(v *BannedIpAddress) ActivateBlockchainEventSubscriptionE403 { - return ActivateBlockchainEventSubscriptionE403{ BannedIpAddress: v} + return ActivateBlockchainEventSubscriptionE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsActivateBlockchainEventSubscriptionE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ActivateBlockchainEventSubscriptionE403 func EndpointNotAllowedForApiKeyAsActivateBlockchainEventSubscriptionE403(v *EndpointNotAllowedForApiKey) ActivateBlockchainEventSubscriptionE403 { - return ActivateBlockchainEventSubscriptionE403{ EndpointNotAllowedForApiKey: v} + return ActivateBlockchainEventSubscriptionE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsActivateBlockchainEventSubscriptionE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ActivateBlockchainEventSubscriptionE403 func EndpointNotAllowedForPlanAsActivateBlockchainEventSubscriptionE403(v *EndpointNotAllowedForPlan) ActivateBlockchainEventSubscriptionE403 { - return ActivateBlockchainEventSubscriptionE403{ EndpointNotAllowedForPlan: v} + return ActivateBlockchainEventSubscriptionE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsActivateBlockchainEventSubscriptionE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ActivateBlockchainEventSubscriptionE403 func FeatureMainnetsNotAllowedForPlanAsActivateBlockchainEventSubscriptionE403(v *FeatureMainnetsNotAllowedForPlan) ActivateBlockchainEventSubscriptionE403 { - return ActivateBlockchainEventSubscriptionE403{ FeatureMainnetsNotAllowedForPlan: v} + return ActivateBlockchainEventSubscriptionE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ActivateBlockchainEventSubscriptionE403) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ActivateBlockchainEventSubscriptionE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ActivateBlockchainEventSubscriptionE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ActivateBlockchainEventSubscriptionE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ActivateBlockchainEventSubscriptionE403) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ActivateBlockchainEventSubscriptionE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_activate_blockchain_event_subscription_r.go b/model_activate_blockchain_event_subscription_r.go index 5fe7b10..e6da4da 100644 --- a/model_activate_blockchain_event_subscription_r.go +++ b/model_activate_blockchain_event_subscription_r.go @@ -59,7 +59,7 @@ func (o *ActivateBlockchainEventSubscriptionR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ActivateBlockchainEventSubscriptionR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ActivateBlockchainEventSubscriptionR) GetData() ActivateBlockchainEvent // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionR) GetDataOk() (*ActivateBlockchainEventSubscriptionRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_activate_blockchain_event_subscription_r_data.go b/model_activate_blockchain_event_subscription_r_data.go index 5d56c3a..d4d80c1 100644 --- a/model_activate_blockchain_event_subscription_r_data.go +++ b/model_activate_blockchain_event_subscription_r_data.go @@ -51,7 +51,7 @@ func (o *ActivateBlockchainEventSubscriptionRData) GetItem() ActivateBlockchainE // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRData) GetItemOk() (*ActivateBlockchainEventSubscriptionRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_activate_blockchain_event_subscription_rb.go b/model_activate_blockchain_event_subscription_rb.go index 7c70260..81d4b6a 100644 --- a/model_activate_blockchain_event_subscription_rb.go +++ b/model_activate_blockchain_event_subscription_rb.go @@ -85,7 +85,7 @@ func (o *ActivateBlockchainEventSubscriptionRB) GetData() ActivateBlockchainEven // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRB) GetDataOk() (*ActivateBlockchainEventSubscriptionRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_activate_blockchain_event_subscription_rb_data.go b/model_activate_blockchain_event_subscription_rb_data.go index eb85a01..2843223 100644 --- a/model_activate_blockchain_event_subscription_rb_data.go +++ b/model_activate_blockchain_event_subscription_rb_data.go @@ -50,11 +50,11 @@ func (o *ActivateBlockchainEventSubscriptionRBData) GetItem() map[string]interfa // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. -func (o *ActivateBlockchainEventSubscriptionRBData) GetItemOk() (*map[string]interface{}, bool) { - if o == nil { +func (o *ActivateBlockchainEventSubscriptionRBData) GetItemOk() (map[string]interface{}, bool) { + if o == nil { return nil, false } - return &o.Item, true + return o.Item, true } // SetItem sets field value diff --git a/model_activate_blockchain_event_subscription_ri.go b/model_activate_blockchain_event_subscription_ri.go index 31871ac..54abeaa 100644 --- a/model_activate_blockchain_event_subscription_ri.go +++ b/model_activate_blockchain_event_subscription_ri.go @@ -23,7 +23,7 @@ type ActivateBlockchainEventSubscriptionRI struct { Blockchain string `json:"blockchain"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our Documentation. CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -82,7 +82,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -106,7 +106,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -130,7 +130,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -154,7 +154,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -178,7 +178,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetConfirmationsCount() int32 { // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -202,7 +202,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -226,7 +226,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -250,7 +250,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -274,7 +274,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -298,7 +298,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -322,7 +322,7 @@ func (o *ActivateBlockchainEventSubscriptionRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ActivateBlockchainEventSubscriptionRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true diff --git a/model_add_tokens_to_existing_from_address_e400.go b/model_add_tokens_to_existing_from_address_e400.go index af03cba..6e132d3 100644 --- a/model_add_tokens_to_existing_from_address_e400.go +++ b/model_add_tokens_to_existing_from_address_e400.go @@ -25,17 +25,23 @@ type AddTokensToExistingFromAddressE400 struct { // InvalidPaginationAsAddTokensToExistingFromAddressE400 is a convenience function that returns InvalidPagination wrapped in AddTokensToExistingFromAddressE400 func InvalidPaginationAsAddTokensToExistingFromAddressE400(v *InvalidPagination) AddTokensToExistingFromAddressE400 { - return AddTokensToExistingFromAddressE400{ InvalidPagination: v} + return AddTokensToExistingFromAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsAddTokensToExistingFromAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in AddTokensToExistingFromAddressE400 func LimitGreaterThanAllowedAsAddTokensToExistingFromAddressE400(v *LimitGreaterThanAllowed) AddTokensToExistingFromAddressE400 { - return AddTokensToExistingFromAddressE400{ LimitGreaterThanAllowed: v} + return AddTokensToExistingFromAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsAddTokensToExistingFromAddressE400 is a convenience function that returns UriNotFound wrapped in AddTokensToExistingFromAddressE400 func UriNotFoundAsAddTokensToExistingFromAddressE400(v *UriNotFound) AddTokensToExistingFromAddressE400 { - return AddTokensToExistingFromAddressE400{ UriNotFound: v} + return AddTokensToExistingFromAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *AddTokensToExistingFromAddressE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *AddTokensToExistingFromAddressE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *AddTokensToExistingFromAddressE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src AddTokensToExistingFromAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *AddTokensToExistingFromAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_add_tokens_to_existing_from_address_e401.go b/model_add_tokens_to_existing_from_address_e401.go index 7aa2a59..e2b45e1 100644 --- a/model_add_tokens_to_existing_from_address_e401.go +++ b/model_add_tokens_to_existing_from_address_e401.go @@ -24,12 +24,16 @@ type AddTokensToExistingFromAddressE401 struct { // InvalidApiKeyAsAddTokensToExistingFromAddressE401 is a convenience function that returns InvalidApiKey wrapped in AddTokensToExistingFromAddressE401 func InvalidApiKeyAsAddTokensToExistingFromAddressE401(v *InvalidApiKey) AddTokensToExistingFromAddressE401 { - return AddTokensToExistingFromAddressE401{ InvalidApiKey: v} + return AddTokensToExistingFromAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsAddTokensToExistingFromAddressE401 is a convenience function that returns MissingApiKey wrapped in AddTokensToExistingFromAddressE401 func MissingApiKeyAsAddTokensToExistingFromAddressE401(v *MissingApiKey) AddTokensToExistingFromAddressE401 { - return AddTokensToExistingFromAddressE401{ MissingApiKey: v} + return AddTokensToExistingFromAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *AddTokensToExistingFromAddressE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *AddTokensToExistingFromAddressE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src AddTokensToExistingFromAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *AddTokensToExistingFromAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_add_tokens_to_existing_from_address_e403.go b/model_add_tokens_to_existing_from_address_e403.go index 261c631..b5d2c53 100644 --- a/model_add_tokens_to_existing_from_address_e403.go +++ b/model_add_tokens_to_existing_from_address_e403.go @@ -27,27 +27,37 @@ type AddTokensToExistingFromAddressE403 struct { // BannedIpAddressAsAddTokensToExistingFromAddressE403 is a convenience function that returns BannedIpAddress wrapped in AddTokensToExistingFromAddressE403 func BannedIpAddressAsAddTokensToExistingFromAddressE403(v *BannedIpAddress) AddTokensToExistingFromAddressE403 { - return AddTokensToExistingFromAddressE403{ BannedIpAddress: v} + return AddTokensToExistingFromAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsAddTokensToExistingFromAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in AddTokensToExistingFromAddressE403 func EndpointNotAllowedForApiKeyAsAddTokensToExistingFromAddressE403(v *EndpointNotAllowedForApiKey) AddTokensToExistingFromAddressE403 { - return AddTokensToExistingFromAddressE403{ EndpointNotAllowedForApiKey: v} + return AddTokensToExistingFromAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsAddTokensToExistingFromAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in AddTokensToExistingFromAddressE403 func EndpointNotAllowedForPlanAsAddTokensToExistingFromAddressE403(v *EndpointNotAllowedForPlan) AddTokensToExistingFromAddressE403 { - return AddTokensToExistingFromAddressE403{ EndpointNotAllowedForPlan: v} + return AddTokensToExistingFromAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsAddTokensToExistingFromAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in AddTokensToExistingFromAddressE403 func FeatureMainnetsNotAllowedForPlanAsAddTokensToExistingFromAddressE403(v *FeatureMainnetsNotAllowedForPlan) AddTokensToExistingFromAddressE403 { - return AddTokensToExistingFromAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return AddTokensToExistingFromAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } // TokensForwardingAutomationsLimitReachedAsAddTokensToExistingFromAddressE403 is a convenience function that returns TokensForwardingAutomationsLimitReached wrapped in AddTokensToExistingFromAddressE403 func TokensForwardingAutomationsLimitReachedAsAddTokensToExistingFromAddressE403(v *TokensForwardingAutomationsLimitReached) AddTokensToExistingFromAddressE403 { - return AddTokensToExistingFromAddressE403{ TokensForwardingAutomationsLimitReached: v} + return AddTokensToExistingFromAddressE403{ + TokensForwardingAutomationsLimitReached: v, + } } @@ -56,7 +66,7 @@ func (dst *AddTokensToExistingFromAddressE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *AddTokensToExistingFromAddressE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *AddTokensToExistingFromAddressE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *AddTokensToExistingFromAddressE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *AddTokensToExistingFromAddressE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into TokensForwardingAutomationsLimitReached - err = json.Unmarshal(data, &dst.TokensForwardingAutomationsLimitReached) + err = newStrictDecoder(data).Decode(&dst.TokensForwardingAutomationsLimitReached) if err == nil { jsonTokensForwardingAutomationsLimitReached, _ := json.Marshal(dst.TokensForwardingAutomationsLimitReached) if string(jsonTokensForwardingAutomationsLimitReached) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src AddTokensToExistingFromAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *AddTokensToExistingFromAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_add_tokens_to_existing_from_address_r.go b/model_add_tokens_to_existing_from_address_r.go index 283cccc..17b79aa 100644 --- a/model_add_tokens_to_existing_from_address_r.go +++ b/model_add_tokens_to_existing_from_address_r.go @@ -59,7 +59,7 @@ func (o *AddTokensToExistingFromAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *AddTokensToExistingFromAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *AddTokensToExistingFromAddressR) GetData() AddTokensToExistingFromAddre // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressR) GetDataOk() (*AddTokensToExistingFromAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_add_tokens_to_existing_from_address_r_data.go b/model_add_tokens_to_existing_from_address_r_data.go index 957b41c..5d008e1 100644 --- a/model_add_tokens_to_existing_from_address_r_data.go +++ b/model_add_tokens_to_existing_from_address_r_data.go @@ -51,7 +51,7 @@ func (o *AddTokensToExistingFromAddressRData) GetItem() AddTokensToExistingFromA // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRData) GetItemOk() (*AddTokensToExistingFromAddressRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_add_tokens_to_existing_from_address_rb.go b/model_add_tokens_to_existing_from_address_rb.go index 8a00250..5a2f49d 100644 --- a/model_add_tokens_to_existing_from_address_rb.go +++ b/model_add_tokens_to_existing_from_address_rb.go @@ -85,7 +85,7 @@ func (o *AddTokensToExistingFromAddressRB) GetData() AddTokensToExistingFromAddr // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRB) GetDataOk() (*AddTokensToExistingFromAddressRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_add_tokens_to_existing_from_address_rb_data.go b/model_add_tokens_to_existing_from_address_rb_data.go index b3e60b2..f3c143b 100644 --- a/model_add_tokens_to_existing_from_address_rb_data.go +++ b/model_add_tokens_to_existing_from_address_rb_data.go @@ -51,7 +51,7 @@ func (o *AddTokensToExistingFromAddressRBData) GetItem() AddTokensToExistingFrom // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBData) GetItemOk() (*AddTokensToExistingFromAddressRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_add_tokens_to_existing_from_address_rb_data_item.go b/model_add_tokens_to_existing_from_address_rb_data_item.go index 71f01fe..dd8ab7f 100644 --- a/model_add_tokens_to_existing_from_address_rb_data_item.go +++ b/model_add_tokens_to_existing_from_address_rb_data_item.go @@ -19,7 +19,7 @@ import ( type AddTokensToExistingFromAddressRBDataItem struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -103,7 +103,7 @@ func (o *AddTokensToExistingFromAddressRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -127,7 +127,7 @@ func (o *AddTokensToExistingFromAddressRBDataItem) GetConfirmationsCount() int32 // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBDataItem) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -151,7 +151,7 @@ func (o *AddTokensToExistingFromAddressRBDataItem) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBDataItem) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -175,7 +175,7 @@ func (o *AddTokensToExistingFromAddressRBDataItem) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBDataItem) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -199,7 +199,7 @@ func (o *AddTokensToExistingFromAddressRBDataItem) GetMinimumTransferAmount() st // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBDataItem) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -223,7 +223,7 @@ func (o *AddTokensToExistingFromAddressRBDataItem) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBDataItem) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -247,7 +247,7 @@ func (o *AddTokensToExistingFromAddressRBDataItem) GetTokenData() AddTokensToExi // GetTokenDataOk returns a tuple with the TokenData field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBDataItem) GetTokenDataOk() (*AddTokensToExistingFromAddressRBTokenData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenData, true diff --git a/model_add_tokens_to_existing_from_address_rb_token_data.go b/model_add_tokens_to_existing_from_address_rb_token_data.go index c726ea2..0b887c4 100644 --- a/model_add_tokens_to_existing_from_address_rb_token_data.go +++ b/model_add_tokens_to_existing_from_address_rb_token_data.go @@ -24,12 +24,16 @@ type AddTokensToExistingFromAddressRBTokenData struct { // AddTokensToExistingFromAddressRBTokenDataBitcoinOmniTokenAsAddTokensToExistingFromAddressRBTokenData is a convenience function that returns AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken wrapped in AddTokensToExistingFromAddressRBTokenData func AddTokensToExistingFromAddressRBTokenDataBitcoinOmniTokenAsAddTokensToExistingFromAddressRBTokenData(v *AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken) AddTokensToExistingFromAddressRBTokenData { - return AddTokensToExistingFromAddressRBTokenData{ AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken: v} + return AddTokensToExistingFromAddressRBTokenData{ + AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken: v, + } } // AddTokensToExistingFromAddressRBTokenDataEthereumTokenAsAddTokensToExistingFromAddressRBTokenData is a convenience function that returns AddTokensToExistingFromAddressRBTokenDataEthereumToken wrapped in AddTokensToExistingFromAddressRBTokenData func AddTokensToExistingFromAddressRBTokenDataEthereumTokenAsAddTokensToExistingFromAddressRBTokenData(v *AddTokensToExistingFromAddressRBTokenDataEthereumToken) AddTokensToExistingFromAddressRBTokenData { - return AddTokensToExistingFromAddressRBTokenData{ AddTokensToExistingFromAddressRBTokenDataEthereumToken: v} + return AddTokensToExistingFromAddressRBTokenData{ + AddTokensToExistingFromAddressRBTokenDataEthereumToken: v, + } } @@ -38,7 +42,7 @@ func (dst *AddTokensToExistingFromAddressRBTokenData) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken - err = json.Unmarshal(data, &dst.AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken) + err = newStrictDecoder(data).Decode(&dst.AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken) if err == nil { jsonAddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken, _ := json.Marshal(dst.AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken) if string(jsonAddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *AddTokensToExistingFromAddressRBTokenData) UnmarshalJSON(data []byte) } // try to unmarshal data into AddTokensToExistingFromAddressRBTokenDataEthereumToken - err = json.Unmarshal(data, &dst.AddTokensToExistingFromAddressRBTokenDataEthereumToken) + err = newStrictDecoder(data).Decode(&dst.AddTokensToExistingFromAddressRBTokenDataEthereumToken) if err == nil { jsonAddTokensToExistingFromAddressRBTokenDataEthereumToken, _ := json.Marshal(dst.AddTokensToExistingFromAddressRBTokenDataEthereumToken) if string(jsonAddTokensToExistingFromAddressRBTokenDataEthereumToken) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src AddTokensToExistingFromAddressRBTokenData) MarshalJSON() ([]byte, erro // Get the actual instance func (obj *AddTokensToExistingFromAddressRBTokenData) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken != nil { return obj.AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken } diff --git a/model_add_tokens_to_existing_from_address_rb_token_data_bitcoin_omni_token.go b/model_add_tokens_to_existing_from_address_rb_token_data_bitcoin_omni_token.go index 08d9391..320faae 100644 --- a/model_add_tokens_to_existing_from_address_rb_token_data_bitcoin_omni_token.go +++ b/model_add_tokens_to_existing_from_address_rb_token_data_bitcoin_omni_token.go @@ -52,7 +52,7 @@ func (o *AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken) GetPropertyI // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBTokenDataBitcoinOmniToken) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true diff --git a/model_add_tokens_to_existing_from_address_rb_token_data_ethereum_token.go b/model_add_tokens_to_existing_from_address_rb_token_data_ethereum_token.go index b791cbf..9b42d41 100644 --- a/model_add_tokens_to_existing_from_address_rb_token_data_ethereum_token.go +++ b/model_add_tokens_to_existing_from_address_rb_token_data_ethereum_token.go @@ -52,7 +52,7 @@ func (o *AddTokensToExistingFromAddressRBTokenDataEthereumToken) GetContractAddr // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRBTokenDataEthereumToken) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_add_tokens_to_existing_from_address_ri.go b/model_add_tokens_to_existing_from_address_ri.go index fa8a267..012cb97 100644 --- a/model_add_tokens_to_existing_from_address_ri.go +++ b/model_add_tokens_to_existing_from_address_ri.go @@ -17,7 +17,7 @@ import ( // AddTokensToExistingFromAddressRI struct for AddTokensToExistingFromAddressRI type AddTokensToExistingFromAddressRI struct { - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -78,7 +78,7 @@ func (o *AddTokensToExistingFromAddressRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -102,7 +102,7 @@ func (o *AddTokensToExistingFromAddressRI) GetConfirmationsCount() int32 { // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -126,7 +126,7 @@ func (o *AddTokensToExistingFromAddressRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -150,7 +150,7 @@ func (o *AddTokensToExistingFromAddressRI) GetFeeAddress() string { // GetFeeAddressOk returns a tuple with the FeeAddress field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetFeeAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeeAddress, true @@ -174,7 +174,7 @@ func (o *AddTokensToExistingFromAddressRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -198,7 +198,7 @@ func (o *AddTokensToExistingFromAddressRI) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -222,7 +222,7 @@ func (o *AddTokensToExistingFromAddressRI) GetMinimumTransferAmount() string { // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -246,7 +246,7 @@ func (o *AddTokensToExistingFromAddressRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -270,7 +270,7 @@ func (o *AddTokensToExistingFromAddressRI) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -294,7 +294,7 @@ func (o *AddTokensToExistingFromAddressRI) GetTokenData() AddTokensToExistingFro // GetTokenDataOk returns a tuple with the TokenData field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRI) GetTokenDataOk() (*AddTokensToExistingFromAddressRITS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenData, true diff --git a/model_add_tokens_to_existing_from_address_rits.go b/model_add_tokens_to_existing_from_address_rits.go index 607ee10..5aba1b2 100644 --- a/model_add_tokens_to_existing_from_address_rits.go +++ b/model_add_tokens_to_existing_from_address_rits.go @@ -24,12 +24,16 @@ type AddTokensToExistingFromAddressRITS struct { // AddTokensToExistingFromAddressRITSBOTAsAddTokensToExistingFromAddressRITS is a convenience function that returns AddTokensToExistingFromAddressRITSBOT wrapped in AddTokensToExistingFromAddressRITS func AddTokensToExistingFromAddressRITSBOTAsAddTokensToExistingFromAddressRITS(v *AddTokensToExistingFromAddressRITSBOT) AddTokensToExistingFromAddressRITS { - return AddTokensToExistingFromAddressRITS{ AddTokensToExistingFromAddressRITSBOT: v} + return AddTokensToExistingFromAddressRITS{ + AddTokensToExistingFromAddressRITSBOT: v, + } } // AddTokensToExistingFromAddressRITSETAsAddTokensToExistingFromAddressRITS is a convenience function that returns AddTokensToExistingFromAddressRITSET wrapped in AddTokensToExistingFromAddressRITS func AddTokensToExistingFromAddressRITSETAsAddTokensToExistingFromAddressRITS(v *AddTokensToExistingFromAddressRITSET) AddTokensToExistingFromAddressRITS { - return AddTokensToExistingFromAddressRITS{ AddTokensToExistingFromAddressRITSET: v} + return AddTokensToExistingFromAddressRITS{ + AddTokensToExistingFromAddressRITSET: v, + } } @@ -38,7 +42,7 @@ func (dst *AddTokensToExistingFromAddressRITS) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into AddTokensToExistingFromAddressRITSBOT - err = json.Unmarshal(data, &dst.AddTokensToExistingFromAddressRITSBOT) + err = newStrictDecoder(data).Decode(&dst.AddTokensToExistingFromAddressRITSBOT) if err == nil { jsonAddTokensToExistingFromAddressRITSBOT, _ := json.Marshal(dst.AddTokensToExistingFromAddressRITSBOT) if string(jsonAddTokensToExistingFromAddressRITSBOT) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *AddTokensToExistingFromAddressRITS) UnmarshalJSON(data []byte) error } // try to unmarshal data into AddTokensToExistingFromAddressRITSET - err = json.Unmarshal(data, &dst.AddTokensToExistingFromAddressRITSET) + err = newStrictDecoder(data).Decode(&dst.AddTokensToExistingFromAddressRITSET) if err == nil { jsonAddTokensToExistingFromAddressRITSET, _ := json.Marshal(dst.AddTokensToExistingFromAddressRITSET) if string(jsonAddTokensToExistingFromAddressRITSET) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src AddTokensToExistingFromAddressRITS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *AddTokensToExistingFromAddressRITS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AddTokensToExistingFromAddressRITSBOT != nil { return obj.AddTokensToExistingFromAddressRITSBOT } diff --git a/model_add_tokens_to_existing_from_address_ritsbot.go b/model_add_tokens_to_existing_from_address_ritsbot.go index afcb7af..ca7a2a6 100644 --- a/model_add_tokens_to_existing_from_address_ritsbot.go +++ b/model_add_tokens_to_existing_from_address_ritsbot.go @@ -52,7 +52,7 @@ func (o *AddTokensToExistingFromAddressRITSBOT) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRITSBOT) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true diff --git a/model_add_tokens_to_existing_from_address_ritset.go b/model_add_tokens_to_existing_from_address_ritset.go index 3e22d3e..1d3339a 100644 --- a/model_add_tokens_to_existing_from_address_ritset.go +++ b/model_add_tokens_to_existing_from_address_ritset.go @@ -52,7 +52,7 @@ func (o *AddTokensToExistingFromAddressRITSET) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddTokensToExistingFromAddressRITSET) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_coins_transaction_confirmed.go b/model_address_coins_transaction_confirmed.go index 1fefb05..d8aad20 100644 --- a/model_address_coins_transaction_confirmed.go +++ b/model_address_coins_transaction_confirmed.go @@ -60,7 +60,7 @@ func (o *AddressCoinsTransactionConfirmed) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmed) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *AddressCoinsTransactionConfirmed) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmed) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *AddressCoinsTransactionConfirmed) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmed) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *AddressCoinsTransactionConfirmed) GetData() AddressCoinsTransactionConf // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmed) GetDataOk() (*AddressCoinsTransactionConfirmedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_address_coins_transaction_confirmed_data.go b/model_address_coins_transaction_confirmed_data.go index 8868643..8e51eac 100644 --- a/model_address_coins_transaction_confirmed_data.go +++ b/model_address_coins_transaction_confirmed_data.go @@ -57,7 +57,7 @@ func (o *AddressCoinsTransactionConfirmedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *AddressCoinsTransactionConfirmedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *AddressCoinsTransactionConfirmedData) GetItem() AddressCoinsTransaction // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedData) GetItemOk() (*AddressCoinsTransactionConfirmedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_address_coins_transaction_confirmed_data_item.go b/model_address_coins_transaction_confirmed_data_item.go index ae8dd83..cf372d1 100644 --- a/model_address_coins_transaction_confirmed_data_item.go +++ b/model_address_coins_transaction_confirmed_data_item.go @@ -72,7 +72,7 @@ func (o *AddressCoinsTransactionConfirmedDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -96,7 +96,7 @@ func (o *AddressCoinsTransactionConfirmedDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -120,7 +120,7 @@ func (o *AddressCoinsTransactionConfirmedDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -144,7 +144,7 @@ func (o *AddressCoinsTransactionConfirmedDataItem) GetMinedInBlock() AddressCoin // GetMinedInBlockOk returns a tuple with the MinedInBlock field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItem) GetMinedInBlockOk() (*AddressCoinsTransactionConfirmedDataItemMinedInBlock, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlock, true @@ -168,7 +168,7 @@ func (o *AddressCoinsTransactionConfirmedDataItem) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -192,7 +192,7 @@ func (o *AddressCoinsTransactionConfirmedDataItem) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItem) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -216,7 +216,7 @@ func (o *AddressCoinsTransactionConfirmedDataItem) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItem) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -240,7 +240,7 @@ func (o *AddressCoinsTransactionConfirmedDataItem) GetDirection() string { // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItem) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true diff --git a/model_address_coins_transaction_confirmed_data_item_mined_in_block.go b/model_address_coins_transaction_confirmed_data_item_mined_in_block.go index 7c77c5b..140ceb3 100644 --- a/model_address_coins_transaction_confirmed_data_item_mined_in_block.go +++ b/model_address_coins_transaction_confirmed_data_item_mined_in_block.go @@ -58,7 +58,7 @@ func (o *AddressCoinsTransactionConfirmedDataItemMinedInBlock) GetHeight() int32 // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItemMinedInBlock) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -82,7 +82,7 @@ func (o *AddressCoinsTransactionConfirmedDataItemMinedInBlock) GetHash() string // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItemMinedInBlock) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -106,7 +106,7 @@ func (o *AddressCoinsTransactionConfirmedDataItemMinedInBlock) GetTimestamp() in // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedDataItemMinedInBlock) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_address_coins_transaction_confirmed_each_confirmation.go b/model_address_coins_transaction_confirmed_each_confirmation.go index 7975e83..922a9b4 100644 --- a/model_address_coins_transaction_confirmed_each_confirmation.go +++ b/model_address_coins_transaction_confirmed_each_confirmation.go @@ -60,7 +60,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmation) GetApiVersion() strin // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmation) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmation) GetReferenceId() stri // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmation) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmation) GetIdempotencyKey() s // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmation) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmation) GetData() AddressCoin // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmation) GetDataOk() (*AddressCoinsTransactionConfirmedEachConfirmationData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_address_coins_transaction_confirmed_each_confirmation_data.go b/model_address_coins_transaction_confirmed_each_confirmation_data.go index 0b76ed0..252f664 100644 --- a/model_address_coins_transaction_confirmed_each_confirmation_data.go +++ b/model_address_coins_transaction_confirmed_each_confirmation_data.go @@ -57,7 +57,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationData) GetProduct() stri // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationData) GetEvent() string // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationData) GetItem() Address // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationData) GetItemOk() (*AddressCoinsTransactionConfirmedEachConfirmationDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_address_coins_transaction_confirmed_each_confirmation_data_item.go b/model_address_coins_transaction_confirmed_each_confirmation_data_item.go index 72b3fa6..d810c44 100644 --- a/model_address_coins_transaction_confirmed_each_confirmation_data_item.go +++ b/model_address_coins_transaction_confirmed_each_confirmation_data_item.go @@ -78,7 +78,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetBlockchain // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -102,7 +102,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetNetwork() // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -126,7 +126,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetAddress() // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -150,7 +150,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetMinedInBlo // GetMinedInBlockOk returns a tuple with the MinedInBlock field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetMinedInBlockOk() (*AddressCoinsTransactionConfirmedEachConfirmationDataItemMinedInBlock, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlock, true @@ -174,7 +174,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetTransactio // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -198,7 +198,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetCurrentCon // GetCurrentConfirmationsOk returns a tuple with the CurrentConfirmations field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetCurrentConfirmationsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentConfirmations, true @@ -222,7 +222,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetTargetConf // GetTargetConfirmationsOk returns a tuple with the TargetConfirmations field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetTargetConfirmationsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TargetConfirmations, true @@ -246,7 +246,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetAmount() s // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -270,7 +270,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetUnit() str // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -294,7 +294,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetDirection( // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItem) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true diff --git a/model_address_coins_transaction_confirmed_each_confirmation_data_item_mined_in_block.go b/model_address_coins_transaction_confirmed_each_confirmation_data_item_mined_in_block.go index 72601de..9cde29e 100644 --- a/model_address_coins_transaction_confirmed_each_confirmation_data_item_mined_in_block.go +++ b/model_address_coins_transaction_confirmed_each_confirmation_data_item_mined_in_block.go @@ -58,7 +58,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItemMinedInBlock) G // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItemMinedInBlock) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -82,7 +82,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItemMinedInBlock) G // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItemMinedInBlock) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -106,7 +106,7 @@ func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItemMinedInBlock) G // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionConfirmedEachConfirmationDataItemMinedInBlock) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_address_coins_transaction_unconfirmed.go b/model_address_coins_transaction_unconfirmed.go index 491ec8a..a9d168f 100644 --- a/model_address_coins_transaction_unconfirmed.go +++ b/model_address_coins_transaction_unconfirmed.go @@ -60,7 +60,7 @@ func (o *AddressCoinsTransactionUnconfirmed) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmed) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *AddressCoinsTransactionUnconfirmed) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmed) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *AddressCoinsTransactionUnconfirmed) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmed) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *AddressCoinsTransactionUnconfirmed) GetData() AddressCoinsTransactionUn // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmed) GetDataOk() (*AddressCoinsTransactionUnconfirmedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_address_coins_transaction_unconfirmed_data.go b/model_address_coins_transaction_unconfirmed_data.go index 16d419e..d894c6b 100644 --- a/model_address_coins_transaction_unconfirmed_data.go +++ b/model_address_coins_transaction_unconfirmed_data.go @@ -57,7 +57,7 @@ func (o *AddressCoinsTransactionUnconfirmedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *AddressCoinsTransactionUnconfirmedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *AddressCoinsTransactionUnconfirmedData) GetItem() AddressCoinsTransacti // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedData) GetItemOk() (*AddressCoinsTransactionUnconfirmedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_address_coins_transaction_unconfirmed_data_item.go b/model_address_coins_transaction_unconfirmed_data_item.go index 7ab67fe..bbf4dbf 100644 --- a/model_address_coins_transaction_unconfirmed_data_item.go +++ b/model_address_coins_transaction_unconfirmed_data_item.go @@ -73,7 +73,7 @@ func (o *AddressCoinsTransactionUnconfirmedDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -97,7 +97,7 @@ func (o *AddressCoinsTransactionUnconfirmedDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -121,7 +121,7 @@ func (o *AddressCoinsTransactionUnconfirmedDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -145,7 +145,7 @@ func (o *AddressCoinsTransactionUnconfirmedDataItem) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -169,7 +169,7 @@ func (o *AddressCoinsTransactionUnconfirmedDataItem) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedDataItem) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -193,7 +193,7 @@ func (o *AddressCoinsTransactionUnconfirmedDataItem) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedDataItem) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -217,7 +217,7 @@ func (o *AddressCoinsTransactionUnconfirmedDataItem) GetDirection() string { // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedDataItem) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true @@ -241,7 +241,7 @@ func (o *AddressCoinsTransactionUnconfirmedDataItem) GetFirstSeenInMempoolTimest // GetFirstSeenInMempoolTimestampOk returns a tuple with the FirstSeenInMempoolTimestamp field value // and a boolean to check if the value has been set. func (o *AddressCoinsTransactionUnconfirmedDataItem) GetFirstSeenInMempoolTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FirstSeenInMempoolTimestamp, true diff --git a/model_address_internal_transaction_confirmed.go b/model_address_internal_transaction_confirmed.go index 437390d..c72ac7f 100644 --- a/model_address_internal_transaction_confirmed.go +++ b/model_address_internal_transaction_confirmed.go @@ -60,7 +60,7 @@ func (o *AddressInternalTransactionConfirmed) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmed) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *AddressInternalTransactionConfirmed) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmed) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *AddressInternalTransactionConfirmed) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmed) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *AddressInternalTransactionConfirmed) GetData() AddressInternalTransacti // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmed) GetDataOk() (*AddressInternalTransactionConfirmedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_address_internal_transaction_confirmed_data.go b/model_address_internal_transaction_confirmed_data.go index 00d50d3..3c3ec75 100644 --- a/model_address_internal_transaction_confirmed_data.go +++ b/model_address_internal_transaction_confirmed_data.go @@ -57,7 +57,7 @@ func (o *AddressInternalTransactionConfirmedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *AddressInternalTransactionConfirmedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *AddressInternalTransactionConfirmedData) GetItem() AddressInternalTrans // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedData) GetItemOk() (*AddressInternalTransactionConfirmedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_address_internal_transaction_confirmed_data_item.go b/model_address_internal_transaction_confirmed_data_item.go index 9824626..23dd2f7 100644 --- a/model_address_internal_transaction_confirmed_data_item.go +++ b/model_address_internal_transaction_confirmed_data_item.go @@ -75,7 +75,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -99,7 +99,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -123,7 +123,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -147,7 +147,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetMinedInBlock() AddressI // GetMinedInBlockOk returns a tuple with the MinedInBlock field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetMinedInBlockOk() (*AddressInternalTransactionConfirmedDataItemMinedInBlock, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlock, true @@ -171,7 +171,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetParentTransactionId() s // GetParentTransactionIdOk returns a tuple with the ParentTransactionId field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetParentTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ParentTransactionId, true @@ -195,7 +195,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetOperationId() string { // GetOperationIdOk returns a tuple with the OperationId field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetOperationIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OperationId, true @@ -219,7 +219,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -243,7 +243,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -267,7 +267,7 @@ func (o *AddressInternalTransactionConfirmedDataItem) GetDirection() string { // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItem) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true diff --git a/model_address_internal_transaction_confirmed_data_item_mined_in_block.go b/model_address_internal_transaction_confirmed_data_item_mined_in_block.go index 97f1b27..e123099 100644 --- a/model_address_internal_transaction_confirmed_data_item_mined_in_block.go +++ b/model_address_internal_transaction_confirmed_data_item_mined_in_block.go @@ -58,7 +58,7 @@ func (o *AddressInternalTransactionConfirmedDataItemMinedInBlock) GetHeight() in // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItemMinedInBlock) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -82,7 +82,7 @@ func (o *AddressInternalTransactionConfirmedDataItemMinedInBlock) GetHash() stri // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItemMinedInBlock) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -106,7 +106,7 @@ func (o *AddressInternalTransactionConfirmedDataItemMinedInBlock) GetTimestamp() // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedDataItemMinedInBlock) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_address_internal_transaction_confirmed_each_confirmation.go b/model_address_internal_transaction_confirmed_each_confirmation.go index a0061c1..9f9897b 100644 --- a/model_address_internal_transaction_confirmed_each_confirmation.go +++ b/model_address_internal_transaction_confirmed_each_confirmation.go @@ -60,7 +60,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmation) GetApiVersion() st // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmation) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmation) GetReferenceId() s // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmation) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmation) GetIdempotencyKey( // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmation) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmation) GetData() AddressI // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmation) GetDataOk() (*AddressInternalTransactionConfirmedEachConfirmationData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_address_internal_transaction_confirmed_each_confirmation_data.go b/model_address_internal_transaction_confirmed_each_confirmation_data.go index 708648f..9b98b59 100644 --- a/model_address_internal_transaction_confirmed_each_confirmation_data.go +++ b/model_address_internal_transaction_confirmed_each_confirmation_data.go @@ -57,7 +57,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationData) GetProduct() s // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationData) GetEvent() str // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationData) GetItem() Addr // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationData) GetItemOk() (*AddressInternalTransactionConfirmedEachConfirmationDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_address_internal_transaction_confirmed_each_confirmation_data_item.go b/model_address_internal_transaction_confirmed_each_confirmation_data_item.go index 071a5bd..0cd680d 100644 --- a/model_address_internal_transaction_confirmed_each_confirmation_data_item.go +++ b/model_address_internal_transaction_confirmed_each_confirmation_data_item.go @@ -81,7 +81,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetBlockch // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -105,7 +105,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetNetwork // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -129,7 +129,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetAddress // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -153,7 +153,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetMinedIn // GetMinedInBlockOk returns a tuple with the MinedInBlock field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetMinedInBlockOk() (*AddressInternalTransactionConfirmedEachConfirmationDataItemMinedInBlock, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlock, true @@ -177,7 +177,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetParentT // GetParentTransactionIdOk returns a tuple with the ParentTransactionId field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetParentTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ParentTransactionId, true @@ -201,7 +201,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetOperati // GetOperationIdOk returns a tuple with the OperationId field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetOperationIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OperationId, true @@ -225,7 +225,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetCurrent // GetCurrentConfirmationsOk returns a tuple with the CurrentConfirmations field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetCurrentConfirmationsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentConfirmations, true @@ -249,7 +249,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetTargetC // GetTargetConfirmationsOk returns a tuple with the TargetConfirmations field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetTargetConfirmationsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TargetConfirmations, true @@ -273,7 +273,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetAmount( // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -297,7 +297,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetUnit() // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -321,7 +321,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetDirecti // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItem) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true diff --git a/model_address_internal_transaction_confirmed_each_confirmation_data_item_mined_in_block.go b/model_address_internal_transaction_confirmed_each_confirmation_data_item_mined_in_block.go index 0d29b34..bf5b8fd 100644 --- a/model_address_internal_transaction_confirmed_each_confirmation_data_item_mined_in_block.go +++ b/model_address_internal_transaction_confirmed_each_confirmation_data_item_mined_in_block.go @@ -58,7 +58,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItemMinedInBlock // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItemMinedInBlock) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -82,7 +82,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItemMinedInBlock // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItemMinedInBlock) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -106,7 +106,7 @@ func (o *AddressInternalTransactionConfirmedEachConfirmationDataItemMinedInBlock // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *AddressInternalTransactionConfirmedEachConfirmationDataItemMinedInBlock) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_address_tokens_transaction_confirmed.go b/model_address_tokens_transaction_confirmed.go index 134ecc7..2bc5aec 100644 --- a/model_address_tokens_transaction_confirmed.go +++ b/model_address_tokens_transaction_confirmed.go @@ -60,7 +60,7 @@ func (o *AddressTokensTransactionConfirmed) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmed) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *AddressTokensTransactionConfirmed) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmed) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *AddressTokensTransactionConfirmed) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmed) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *AddressTokensTransactionConfirmed) GetData() AddressTokensTransactionCo // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmed) GetDataOk() (*AddressTokensTransactionConfirmedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_address_tokens_transaction_confirmed_bep_20.go b/model_address_tokens_transaction_confirmed_bep_20.go index d2acf05..075d82b 100644 --- a/model_address_tokens_transaction_confirmed_bep_20.go +++ b/model_address_tokens_transaction_confirmed_bep_20.go @@ -63,7 +63,7 @@ func (o *AddressTokensTransactionConfirmedBep20) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedBep20) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -87,7 +87,7 @@ func (o *AddressTokensTransactionConfirmedBep20) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedBep20) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -143,7 +143,7 @@ func (o *AddressTokensTransactionConfirmedBep20) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedBep20) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -167,7 +167,7 @@ func (o *AddressTokensTransactionConfirmedBep20) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedBep20) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_tokens_transaction_confirmed_data.go b/model_address_tokens_transaction_confirmed_data.go index a6a468d..3611ca7 100644 --- a/model_address_tokens_transaction_confirmed_data.go +++ b/model_address_tokens_transaction_confirmed_data.go @@ -57,7 +57,7 @@ func (o *AddressTokensTransactionConfirmedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *AddressTokensTransactionConfirmedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *AddressTokensTransactionConfirmedData) GetItem() AddressTokensTransacti // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedData) GetItemOk() (*AddressTokensTransactionConfirmedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_address_tokens_transaction_confirmed_data_item.go b/model_address_tokens_transaction_confirmed_data_item.go index 1ddee71..f7b0758 100644 --- a/model_address_tokens_transaction_confirmed_data_item.go +++ b/model_address_tokens_transaction_confirmed_data_item.go @@ -71,7 +71,7 @@ func (o *AddressTokensTransactionConfirmedDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -95,7 +95,7 @@ func (o *AddressTokensTransactionConfirmedDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -119,7 +119,7 @@ func (o *AddressTokensTransactionConfirmedDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -143,7 +143,7 @@ func (o *AddressTokensTransactionConfirmedDataItem) GetMinedInBlock() AddressTok // GetMinedInBlockOk returns a tuple with the MinedInBlock field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItem) GetMinedInBlockOk() (*AddressTokensTransactionConfirmedDataItemMinedInBlock, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlock, true @@ -167,7 +167,7 @@ func (o *AddressTokensTransactionConfirmedDataItem) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -191,7 +191,7 @@ func (o *AddressTokensTransactionConfirmedDataItem) GetTokenType() string { // GetTokenTypeOk returns a tuple with the TokenType field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItem) GetTokenTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenType, true @@ -215,7 +215,7 @@ func (o *AddressTokensTransactionConfirmedDataItem) GetToken() AddressTokensTran // GetTokenOk returns a tuple with the Token field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItem) GetTokenOk() (*AddressTokensTransactionConfirmedToken, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Token, true @@ -239,7 +239,7 @@ func (o *AddressTokensTransactionConfirmedDataItem) GetDirection() string { // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItem) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true diff --git a/model_address_tokens_transaction_confirmed_data_item_mined_in_block.go b/model_address_tokens_transaction_confirmed_data_item_mined_in_block.go index 2468b33..3a93527 100644 --- a/model_address_tokens_transaction_confirmed_data_item_mined_in_block.go +++ b/model_address_tokens_transaction_confirmed_data_item_mined_in_block.go @@ -58,7 +58,7 @@ func (o *AddressTokensTransactionConfirmedDataItemMinedInBlock) GetHeight() int3 // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItemMinedInBlock) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -82,7 +82,7 @@ func (o *AddressTokensTransactionConfirmedDataItemMinedInBlock) GetHash() string // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItemMinedInBlock) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -106,7 +106,7 @@ func (o *AddressTokensTransactionConfirmedDataItemMinedInBlock) GetTimestamp() i // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedDataItemMinedInBlock) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_address_tokens_transaction_confirmed_each_confirmation.go b/model_address_tokens_transaction_confirmed_each_confirmation.go index 94d810b..18645a0 100644 --- a/model_address_tokens_transaction_confirmed_each_confirmation.go +++ b/model_address_tokens_transaction_confirmed_each_confirmation.go @@ -60,7 +60,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmation) GetApiVersion() stri // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmation) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmation) GetReferenceId() str // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmation) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmation) GetIdempotencyKey() // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmation) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmation) GetData() AddressTok // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmation) GetDataOk() (*AddressTokensTransactionConfirmedEachConfirmationData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_address_tokens_transaction_confirmed_each_confirmation_bep_20.go b/model_address_tokens_transaction_confirmed_each_confirmation_bep_20.go index 46e66cb..88dbff6 100644 --- a/model_address_tokens_transaction_confirmed_each_confirmation_bep_20.go +++ b/model_address_tokens_transaction_confirmed_each_confirmation_bep_20.go @@ -63,7 +63,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationBep20) GetName() strin // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationBep20) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -87,7 +87,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationBep20) GetSymbol() str // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationBep20) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -143,7 +143,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationBep20) GetAmount() str // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationBep20) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -167,7 +167,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationBep20) GetContractAddr // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationBep20) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_tokens_transaction_confirmed_each_confirmation_data.go b/model_address_tokens_transaction_confirmed_each_confirmation_data.go index a63e734..29864ab 100644 --- a/model_address_tokens_transaction_confirmed_each_confirmation_data.go +++ b/model_address_tokens_transaction_confirmed_each_confirmation_data.go @@ -57,7 +57,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationData) GetProduct() str // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationData) GetEvent() strin // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationData) GetItem() Addres // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationData) GetItemOk() (*AddressTokensTransactionConfirmedEachConfirmationDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_address_tokens_transaction_confirmed_each_confirmation_data_item.go b/model_address_tokens_transaction_confirmed_each_confirmation_data_item.go index 09e9450..2d21e2c 100644 --- a/model_address_tokens_transaction_confirmed_each_confirmation_data_item.go +++ b/model_address_tokens_transaction_confirmed_each_confirmation_data_item.go @@ -77,7 +77,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetBlockchai // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -101,7 +101,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetNetwork() // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -125,7 +125,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetAddress() // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -149,7 +149,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetMinedInBl // GetMinedInBlockOk returns a tuple with the MinedInBlock field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetMinedInBlockOk() (*AddressTokensTransactionConfirmedDataItemMinedInBlock, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlock, true @@ -173,7 +173,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetTransacti // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -197,7 +197,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetCurrentCo // GetCurrentConfirmationsOk returns a tuple with the CurrentConfirmations field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetCurrentConfirmationsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentConfirmations, true @@ -221,7 +221,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetTargetCon // GetTargetConfirmationsOk returns a tuple with the TargetConfirmations field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetTargetConfirmationsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TargetConfirmations, true @@ -245,7 +245,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetTokenType // GetTokenTypeOk returns a tuple with the TokenType field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetTokenTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenType, true @@ -269,7 +269,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetToken() A // GetTokenOk returns a tuple with the Token field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetTokenOk() (*AddressTokensTransactionConfirmedEachConfirmationToken, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Token, true @@ -293,7 +293,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetDirection // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationDataItem) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true diff --git a/model_address_tokens_transaction_confirmed_each_confirmation_erc_20.go b/model_address_tokens_transaction_confirmed_each_confirmation_erc_20.go index f5720c1..afe7998 100644 --- a/model_address_tokens_transaction_confirmed_each_confirmation_erc_20.go +++ b/model_address_tokens_transaction_confirmed_each_confirmation_erc_20.go @@ -63,7 +63,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationErc20) GetName() strin // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationErc20) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -87,7 +87,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationErc20) GetSymbol() str // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationErc20) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -143,7 +143,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationErc20) GetAmount() str // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationErc20) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -167,7 +167,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationErc20) GetContractAddr // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationErc20) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_tokens_transaction_confirmed_each_confirmation_erc_721.go b/model_address_tokens_transaction_confirmed_each_confirmation_erc_721.go index 95f9171..f4a30b1 100644 --- a/model_address_tokens_transaction_confirmed_each_confirmation_erc_721.go +++ b/model_address_tokens_transaction_confirmed_each_confirmation_erc_721.go @@ -61,7 +61,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationErc721) GetName() stri // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationErc721) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -85,7 +85,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationErc721) GetSymbol() st // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationErc721) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -109,7 +109,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationErc721) GetTokenId() s // GetTokenIdOk returns a tuple with the TokenId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationErc721) GetTokenIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenId, true @@ -133,7 +133,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationErc721) GetContractAdd // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationErc721) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_tokens_transaction_confirmed_each_confirmation_omni.go b/model_address_tokens_transaction_confirmed_each_confirmation_omni.go index f5d19f5..d0f43e6 100644 --- a/model_address_tokens_transaction_confirmed_each_confirmation_omni.go +++ b/model_address_tokens_transaction_confirmed_each_confirmation_omni.go @@ -64,7 +64,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetName() string // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -88,7 +88,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetPropertyId() // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetPropertyIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -112,7 +112,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetTransactionTy // GetTransactionTypeOk returns a tuple with the TransactionType field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetTransactionTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionType, true @@ -136,7 +136,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetCreatedByTran // GetCreatedByTransactionIdOk returns a tuple with the CreatedByTransactionId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetCreatedByTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedByTransactionId, true @@ -160,7 +160,7 @@ func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetAmount() stri // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedEachConfirmationOmni) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_address_tokens_transaction_confirmed_each_confirmation_token.go b/model_address_tokens_transaction_confirmed_each_confirmation_token.go index 61756a7..8a63245 100644 --- a/model_address_tokens_transaction_confirmed_each_confirmation_token.go +++ b/model_address_tokens_transaction_confirmed_each_confirmation_token.go @@ -26,22 +26,30 @@ type AddressTokensTransactionConfirmedEachConfirmationToken struct { // AddressTokensTransactionConfirmedEachConfirmationBep20AsAddressTokensTransactionConfirmedEachConfirmationToken is a convenience function that returns AddressTokensTransactionConfirmedEachConfirmationBep20 wrapped in AddressTokensTransactionConfirmedEachConfirmationToken func AddressTokensTransactionConfirmedEachConfirmationBep20AsAddressTokensTransactionConfirmedEachConfirmationToken(v *AddressTokensTransactionConfirmedEachConfirmationBep20) AddressTokensTransactionConfirmedEachConfirmationToken { - return AddressTokensTransactionConfirmedEachConfirmationToken{ AddressTokensTransactionConfirmedEachConfirmationBep20: v} + return AddressTokensTransactionConfirmedEachConfirmationToken{ + AddressTokensTransactionConfirmedEachConfirmationBep20: v, + } } // AddressTokensTransactionConfirmedEachConfirmationErc20AsAddressTokensTransactionConfirmedEachConfirmationToken is a convenience function that returns AddressTokensTransactionConfirmedEachConfirmationErc20 wrapped in AddressTokensTransactionConfirmedEachConfirmationToken func AddressTokensTransactionConfirmedEachConfirmationErc20AsAddressTokensTransactionConfirmedEachConfirmationToken(v *AddressTokensTransactionConfirmedEachConfirmationErc20) AddressTokensTransactionConfirmedEachConfirmationToken { - return AddressTokensTransactionConfirmedEachConfirmationToken{ AddressTokensTransactionConfirmedEachConfirmationErc20: v} + return AddressTokensTransactionConfirmedEachConfirmationToken{ + AddressTokensTransactionConfirmedEachConfirmationErc20: v, + } } // AddressTokensTransactionConfirmedEachConfirmationErc721AsAddressTokensTransactionConfirmedEachConfirmationToken is a convenience function that returns AddressTokensTransactionConfirmedEachConfirmationErc721 wrapped in AddressTokensTransactionConfirmedEachConfirmationToken func AddressTokensTransactionConfirmedEachConfirmationErc721AsAddressTokensTransactionConfirmedEachConfirmationToken(v *AddressTokensTransactionConfirmedEachConfirmationErc721) AddressTokensTransactionConfirmedEachConfirmationToken { - return AddressTokensTransactionConfirmedEachConfirmationToken{ AddressTokensTransactionConfirmedEachConfirmationErc721: v} + return AddressTokensTransactionConfirmedEachConfirmationToken{ + AddressTokensTransactionConfirmedEachConfirmationErc721: v, + } } // AddressTokensTransactionConfirmedEachConfirmationOmniAsAddressTokensTransactionConfirmedEachConfirmationToken is a convenience function that returns AddressTokensTransactionConfirmedEachConfirmationOmni wrapped in AddressTokensTransactionConfirmedEachConfirmationToken func AddressTokensTransactionConfirmedEachConfirmationOmniAsAddressTokensTransactionConfirmedEachConfirmationToken(v *AddressTokensTransactionConfirmedEachConfirmationOmni) AddressTokensTransactionConfirmedEachConfirmationToken { - return AddressTokensTransactionConfirmedEachConfirmationToken{ AddressTokensTransactionConfirmedEachConfirmationOmni: v} + return AddressTokensTransactionConfirmedEachConfirmationToken{ + AddressTokensTransactionConfirmedEachConfirmationOmni: v, + } } @@ -50,7 +58,7 @@ func (dst *AddressTokensTransactionConfirmedEachConfirmationToken) UnmarshalJSON var err error match := 0 // try to unmarshal data into AddressTokensTransactionConfirmedEachConfirmationBep20 - err = json.Unmarshal(data, &dst.AddressTokensTransactionConfirmedEachConfirmationBep20) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionConfirmedEachConfirmationBep20) if err == nil { jsonAddressTokensTransactionConfirmedEachConfirmationBep20, _ := json.Marshal(dst.AddressTokensTransactionConfirmedEachConfirmationBep20) if string(jsonAddressTokensTransactionConfirmedEachConfirmationBep20) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *AddressTokensTransactionConfirmedEachConfirmationToken) UnmarshalJSON } // try to unmarshal data into AddressTokensTransactionConfirmedEachConfirmationErc20 - err = json.Unmarshal(data, &dst.AddressTokensTransactionConfirmedEachConfirmationErc20) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionConfirmedEachConfirmationErc20) if err == nil { jsonAddressTokensTransactionConfirmedEachConfirmationErc20, _ := json.Marshal(dst.AddressTokensTransactionConfirmedEachConfirmationErc20) if string(jsonAddressTokensTransactionConfirmedEachConfirmationErc20) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *AddressTokensTransactionConfirmedEachConfirmationToken) UnmarshalJSON } // try to unmarshal data into AddressTokensTransactionConfirmedEachConfirmationErc721 - err = json.Unmarshal(data, &dst.AddressTokensTransactionConfirmedEachConfirmationErc721) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionConfirmedEachConfirmationErc721) if err == nil { jsonAddressTokensTransactionConfirmedEachConfirmationErc721, _ := json.Marshal(dst.AddressTokensTransactionConfirmedEachConfirmationErc721) if string(jsonAddressTokensTransactionConfirmedEachConfirmationErc721) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *AddressTokensTransactionConfirmedEachConfirmationToken) UnmarshalJSON } // try to unmarshal data into AddressTokensTransactionConfirmedEachConfirmationOmni - err = json.Unmarshal(data, &dst.AddressTokensTransactionConfirmedEachConfirmationOmni) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionConfirmedEachConfirmationOmni) if err == nil { jsonAddressTokensTransactionConfirmedEachConfirmationOmni, _ := json.Marshal(dst.AddressTokensTransactionConfirmedEachConfirmationOmni) if string(jsonAddressTokensTransactionConfirmedEachConfirmationOmni) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src AddressTokensTransactionConfirmedEachConfirmationToken) MarshalJSON() // Get the actual instance func (obj *AddressTokensTransactionConfirmedEachConfirmationToken) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AddressTokensTransactionConfirmedEachConfirmationBep20 != nil { return obj.AddressTokensTransactionConfirmedEachConfirmationBep20 } diff --git a/model_address_tokens_transaction_confirmed_erc_20.go b/model_address_tokens_transaction_confirmed_erc_20.go index 3af173a..c6b81d4 100644 --- a/model_address_tokens_transaction_confirmed_erc_20.go +++ b/model_address_tokens_transaction_confirmed_erc_20.go @@ -63,7 +63,7 @@ func (o *AddressTokensTransactionConfirmedErc20) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedErc20) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -87,7 +87,7 @@ func (o *AddressTokensTransactionConfirmedErc20) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedErc20) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -143,7 +143,7 @@ func (o *AddressTokensTransactionConfirmedErc20) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedErc20) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -167,7 +167,7 @@ func (o *AddressTokensTransactionConfirmedErc20) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedErc20) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_tokens_transaction_confirmed_erc_721.go b/model_address_tokens_transaction_confirmed_erc_721.go index 9954d2b..81e5f35 100644 --- a/model_address_tokens_transaction_confirmed_erc_721.go +++ b/model_address_tokens_transaction_confirmed_erc_721.go @@ -61,7 +61,7 @@ func (o *AddressTokensTransactionConfirmedErc721) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedErc721) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -85,7 +85,7 @@ func (o *AddressTokensTransactionConfirmedErc721) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedErc721) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -109,7 +109,7 @@ func (o *AddressTokensTransactionConfirmedErc721) GetTokenId() string { // GetTokenIdOk returns a tuple with the TokenId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedErc721) GetTokenIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenId, true @@ -133,7 +133,7 @@ func (o *AddressTokensTransactionConfirmedErc721) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedErc721) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_tokens_transaction_confirmed_omni.go b/model_address_tokens_transaction_confirmed_omni.go index 65a4bed..4a5c5a5 100644 --- a/model_address_tokens_transaction_confirmed_omni.go +++ b/model_address_tokens_transaction_confirmed_omni.go @@ -64,7 +64,7 @@ func (o *AddressTokensTransactionConfirmedOmni) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedOmni) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -88,7 +88,7 @@ func (o *AddressTokensTransactionConfirmedOmni) GetPropertyId() string { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedOmni) GetPropertyIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -112,7 +112,7 @@ func (o *AddressTokensTransactionConfirmedOmni) GetTransactionType() string { // GetTransactionTypeOk returns a tuple with the TransactionType field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedOmni) GetTransactionTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionType, true @@ -136,7 +136,7 @@ func (o *AddressTokensTransactionConfirmedOmni) GetCreatedByTransactionId() stri // GetCreatedByTransactionIdOk returns a tuple with the CreatedByTransactionId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedOmni) GetCreatedByTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedByTransactionId, true @@ -160,7 +160,7 @@ func (o *AddressTokensTransactionConfirmedOmni) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionConfirmedOmni) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_address_tokens_transaction_confirmed_token.go b/model_address_tokens_transaction_confirmed_token.go index 132d159..4c76a83 100644 --- a/model_address_tokens_transaction_confirmed_token.go +++ b/model_address_tokens_transaction_confirmed_token.go @@ -26,22 +26,30 @@ type AddressTokensTransactionConfirmedToken struct { // AddressTokensTransactionConfirmedBep20AsAddressTokensTransactionConfirmedToken is a convenience function that returns AddressTokensTransactionConfirmedBep20 wrapped in AddressTokensTransactionConfirmedToken func AddressTokensTransactionConfirmedBep20AsAddressTokensTransactionConfirmedToken(v *AddressTokensTransactionConfirmedBep20) AddressTokensTransactionConfirmedToken { - return AddressTokensTransactionConfirmedToken{ AddressTokensTransactionConfirmedBep20: v} + return AddressTokensTransactionConfirmedToken{ + AddressTokensTransactionConfirmedBep20: v, + } } // AddressTokensTransactionConfirmedErc20AsAddressTokensTransactionConfirmedToken is a convenience function that returns AddressTokensTransactionConfirmedErc20 wrapped in AddressTokensTransactionConfirmedToken func AddressTokensTransactionConfirmedErc20AsAddressTokensTransactionConfirmedToken(v *AddressTokensTransactionConfirmedErc20) AddressTokensTransactionConfirmedToken { - return AddressTokensTransactionConfirmedToken{ AddressTokensTransactionConfirmedErc20: v} + return AddressTokensTransactionConfirmedToken{ + AddressTokensTransactionConfirmedErc20: v, + } } // AddressTokensTransactionConfirmedErc721AsAddressTokensTransactionConfirmedToken is a convenience function that returns AddressTokensTransactionConfirmedErc721 wrapped in AddressTokensTransactionConfirmedToken func AddressTokensTransactionConfirmedErc721AsAddressTokensTransactionConfirmedToken(v *AddressTokensTransactionConfirmedErc721) AddressTokensTransactionConfirmedToken { - return AddressTokensTransactionConfirmedToken{ AddressTokensTransactionConfirmedErc721: v} + return AddressTokensTransactionConfirmedToken{ + AddressTokensTransactionConfirmedErc721: v, + } } // AddressTokensTransactionConfirmedOmniAsAddressTokensTransactionConfirmedToken is a convenience function that returns AddressTokensTransactionConfirmedOmni wrapped in AddressTokensTransactionConfirmedToken func AddressTokensTransactionConfirmedOmniAsAddressTokensTransactionConfirmedToken(v *AddressTokensTransactionConfirmedOmni) AddressTokensTransactionConfirmedToken { - return AddressTokensTransactionConfirmedToken{ AddressTokensTransactionConfirmedOmni: v} + return AddressTokensTransactionConfirmedToken{ + AddressTokensTransactionConfirmedOmni: v, + } } @@ -50,7 +58,7 @@ func (dst *AddressTokensTransactionConfirmedToken) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into AddressTokensTransactionConfirmedBep20 - err = json.Unmarshal(data, &dst.AddressTokensTransactionConfirmedBep20) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionConfirmedBep20) if err == nil { jsonAddressTokensTransactionConfirmedBep20, _ := json.Marshal(dst.AddressTokensTransactionConfirmedBep20) if string(jsonAddressTokensTransactionConfirmedBep20) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *AddressTokensTransactionConfirmedToken) UnmarshalJSON(data []byte) er } // try to unmarshal data into AddressTokensTransactionConfirmedErc20 - err = json.Unmarshal(data, &dst.AddressTokensTransactionConfirmedErc20) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionConfirmedErc20) if err == nil { jsonAddressTokensTransactionConfirmedErc20, _ := json.Marshal(dst.AddressTokensTransactionConfirmedErc20) if string(jsonAddressTokensTransactionConfirmedErc20) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *AddressTokensTransactionConfirmedToken) UnmarshalJSON(data []byte) er } // try to unmarshal data into AddressTokensTransactionConfirmedErc721 - err = json.Unmarshal(data, &dst.AddressTokensTransactionConfirmedErc721) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionConfirmedErc721) if err == nil { jsonAddressTokensTransactionConfirmedErc721, _ := json.Marshal(dst.AddressTokensTransactionConfirmedErc721) if string(jsonAddressTokensTransactionConfirmedErc721) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *AddressTokensTransactionConfirmedToken) UnmarshalJSON(data []byte) er } // try to unmarshal data into AddressTokensTransactionConfirmedOmni - err = json.Unmarshal(data, &dst.AddressTokensTransactionConfirmedOmni) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionConfirmedOmni) if err == nil { jsonAddressTokensTransactionConfirmedOmni, _ := json.Marshal(dst.AddressTokensTransactionConfirmedOmni) if string(jsonAddressTokensTransactionConfirmedOmni) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src AddressTokensTransactionConfirmedToken) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *AddressTokensTransactionConfirmedToken) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AddressTokensTransactionConfirmedBep20 != nil { return obj.AddressTokensTransactionConfirmedBep20 } diff --git a/model_address_tokens_transaction_unconfirmed.go b/model_address_tokens_transaction_unconfirmed.go index 1128fc7..61fe337 100644 --- a/model_address_tokens_transaction_unconfirmed.go +++ b/model_address_tokens_transaction_unconfirmed.go @@ -60,7 +60,7 @@ func (o *AddressTokensTransactionUnconfirmed) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmed) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *AddressTokensTransactionUnconfirmed) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmed) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *AddressTokensTransactionUnconfirmed) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmed) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *AddressTokensTransactionUnconfirmed) GetData() AddressTokensTransaction // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmed) GetDataOk() (*AddressTokensTransactionUnconfirmedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_address_tokens_transaction_unconfirmed_data.go b/model_address_tokens_transaction_unconfirmed_data.go index bf0e96e..2777c1b 100644 --- a/model_address_tokens_transaction_unconfirmed_data.go +++ b/model_address_tokens_transaction_unconfirmed_data.go @@ -57,7 +57,7 @@ func (o *AddressTokensTransactionUnconfirmedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *AddressTokensTransactionUnconfirmedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *AddressTokensTransactionUnconfirmedData) GetItem() AddressTokensTransac // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedData) GetItemOk() (*AddressTokensTransactionUnconfirmedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_address_tokens_transaction_unconfirmed_data_item.go b/model_address_tokens_transaction_unconfirmed_data_item.go index fd2d93b..ada1d69 100644 --- a/model_address_tokens_transaction_unconfirmed_data_item.go +++ b/model_address_tokens_transaction_unconfirmed_data_item.go @@ -72,7 +72,7 @@ func (o *AddressTokensTransactionUnconfirmedDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -96,7 +96,7 @@ func (o *AddressTokensTransactionUnconfirmedDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -120,7 +120,7 @@ func (o *AddressTokensTransactionUnconfirmedDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -144,7 +144,7 @@ func (o *AddressTokensTransactionUnconfirmedDataItem) GetTransactionId() string // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -168,7 +168,7 @@ func (o *AddressTokensTransactionUnconfirmedDataItem) GetTokenType() string { // GetTokenTypeOk returns a tuple with the TokenType field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedDataItem) GetTokenTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenType, true @@ -192,7 +192,7 @@ func (o *AddressTokensTransactionUnconfirmedDataItem) GetToken() AddressTokensTr // GetTokenOk returns a tuple with the Token field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedDataItem) GetTokenOk() (*AddressTokensTransactionUnconfirmedToken, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Token, true @@ -216,7 +216,7 @@ func (o *AddressTokensTransactionUnconfirmedDataItem) GetDirection() string { // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedDataItem) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true @@ -240,7 +240,7 @@ func (o *AddressTokensTransactionUnconfirmedDataItem) GetFirstSeenInMempoolTimes // GetFirstSeenInMempoolTimestampOk returns a tuple with the FirstSeenInMempoolTimestamp field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedDataItem) GetFirstSeenInMempoolTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FirstSeenInMempoolTimestamp, true diff --git a/model_address_tokens_transaction_unconfirmed_erc_20.go b/model_address_tokens_transaction_unconfirmed_erc_20.go index 85ec92b..bf83c4c 100644 --- a/model_address_tokens_transaction_unconfirmed_erc_20.go +++ b/model_address_tokens_transaction_unconfirmed_erc_20.go @@ -63,7 +63,7 @@ func (o *AddressTokensTransactionUnconfirmedErc20) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedErc20) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -87,7 +87,7 @@ func (o *AddressTokensTransactionUnconfirmedErc20) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedErc20) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -143,7 +143,7 @@ func (o *AddressTokensTransactionUnconfirmedErc20) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedErc20) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -167,7 +167,7 @@ func (o *AddressTokensTransactionUnconfirmedErc20) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedErc20) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_tokens_transaction_unconfirmed_erc_721.go b/model_address_tokens_transaction_unconfirmed_erc_721.go index ecd2969..8eb0190 100644 --- a/model_address_tokens_transaction_unconfirmed_erc_721.go +++ b/model_address_tokens_transaction_unconfirmed_erc_721.go @@ -61,7 +61,7 @@ func (o *AddressTokensTransactionUnconfirmedErc721) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedErc721) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -85,7 +85,7 @@ func (o *AddressTokensTransactionUnconfirmedErc721) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedErc721) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -109,7 +109,7 @@ func (o *AddressTokensTransactionUnconfirmedErc721) GetTokenId() string { // GetTokenIdOk returns a tuple with the TokenId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedErc721) GetTokenIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenId, true @@ -133,7 +133,7 @@ func (o *AddressTokensTransactionUnconfirmedErc721) GetContractAddress() string // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedErc721) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_address_tokens_transaction_unconfirmed_omni.go b/model_address_tokens_transaction_unconfirmed_omni.go index c16ff9a..7375edd 100644 --- a/model_address_tokens_transaction_unconfirmed_omni.go +++ b/model_address_tokens_transaction_unconfirmed_omni.go @@ -64,7 +64,7 @@ func (o *AddressTokensTransactionUnconfirmedOmni) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedOmni) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -88,7 +88,7 @@ func (o *AddressTokensTransactionUnconfirmedOmni) GetPropertyId() string { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedOmni) GetPropertyIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -112,7 +112,7 @@ func (o *AddressTokensTransactionUnconfirmedOmni) GetTransactionType() string { // GetTransactionTypeOk returns a tuple with the TransactionType field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedOmni) GetTransactionTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionType, true @@ -136,7 +136,7 @@ func (o *AddressTokensTransactionUnconfirmedOmni) GetCreatedByTransactionId() st // GetCreatedByTransactionIdOk returns a tuple with the CreatedByTransactionId field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedOmni) GetCreatedByTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedByTransactionId, true @@ -160,7 +160,7 @@ func (o *AddressTokensTransactionUnconfirmedOmni) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *AddressTokensTransactionUnconfirmedOmni) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_address_tokens_transaction_unconfirmed_token.go b/model_address_tokens_transaction_unconfirmed_token.go index 6d36bf0..1e89127 100644 --- a/model_address_tokens_transaction_unconfirmed_token.go +++ b/model_address_tokens_transaction_unconfirmed_token.go @@ -25,17 +25,23 @@ type AddressTokensTransactionUnconfirmedToken struct { // AddressTokensTransactionUnconfirmedErc20AsAddressTokensTransactionUnconfirmedToken is a convenience function that returns AddressTokensTransactionUnconfirmedErc20 wrapped in AddressTokensTransactionUnconfirmedToken func AddressTokensTransactionUnconfirmedErc20AsAddressTokensTransactionUnconfirmedToken(v *AddressTokensTransactionUnconfirmedErc20) AddressTokensTransactionUnconfirmedToken { - return AddressTokensTransactionUnconfirmedToken{ AddressTokensTransactionUnconfirmedErc20: v} + return AddressTokensTransactionUnconfirmedToken{ + AddressTokensTransactionUnconfirmedErc20: v, + } } // AddressTokensTransactionUnconfirmedErc721AsAddressTokensTransactionUnconfirmedToken is a convenience function that returns AddressTokensTransactionUnconfirmedErc721 wrapped in AddressTokensTransactionUnconfirmedToken func AddressTokensTransactionUnconfirmedErc721AsAddressTokensTransactionUnconfirmedToken(v *AddressTokensTransactionUnconfirmedErc721) AddressTokensTransactionUnconfirmedToken { - return AddressTokensTransactionUnconfirmedToken{ AddressTokensTransactionUnconfirmedErc721: v} + return AddressTokensTransactionUnconfirmedToken{ + AddressTokensTransactionUnconfirmedErc721: v, + } } // AddressTokensTransactionUnconfirmedOmniAsAddressTokensTransactionUnconfirmedToken is a convenience function that returns AddressTokensTransactionUnconfirmedOmni wrapped in AddressTokensTransactionUnconfirmedToken func AddressTokensTransactionUnconfirmedOmniAsAddressTokensTransactionUnconfirmedToken(v *AddressTokensTransactionUnconfirmedOmni) AddressTokensTransactionUnconfirmedToken { - return AddressTokensTransactionUnconfirmedToken{ AddressTokensTransactionUnconfirmedOmni: v} + return AddressTokensTransactionUnconfirmedToken{ + AddressTokensTransactionUnconfirmedOmni: v, + } } @@ -44,7 +50,7 @@ func (dst *AddressTokensTransactionUnconfirmedToken) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into AddressTokensTransactionUnconfirmedErc20 - err = json.Unmarshal(data, &dst.AddressTokensTransactionUnconfirmedErc20) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionUnconfirmedErc20) if err == nil { jsonAddressTokensTransactionUnconfirmedErc20, _ := json.Marshal(dst.AddressTokensTransactionUnconfirmedErc20) if string(jsonAddressTokensTransactionUnconfirmedErc20) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *AddressTokensTransactionUnconfirmedToken) UnmarshalJSON(data []byte) } // try to unmarshal data into AddressTokensTransactionUnconfirmedErc721 - err = json.Unmarshal(data, &dst.AddressTokensTransactionUnconfirmedErc721) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionUnconfirmedErc721) if err == nil { jsonAddressTokensTransactionUnconfirmedErc721, _ := json.Marshal(dst.AddressTokensTransactionUnconfirmedErc721) if string(jsonAddressTokensTransactionUnconfirmedErc721) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *AddressTokensTransactionUnconfirmedToken) UnmarshalJSON(data []byte) } // try to unmarshal data into AddressTokensTransactionUnconfirmedOmni - err = json.Unmarshal(data, &dst.AddressTokensTransactionUnconfirmedOmni) + err = newStrictDecoder(data).Decode(&dst.AddressTokensTransactionUnconfirmedOmni) if err == nil { jsonAddressTokensTransactionUnconfirmedOmni, _ := json.Marshal(dst.AddressTokensTransactionUnconfirmedOmni) if string(jsonAddressTokensTransactionUnconfirmedOmni) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src AddressTokensTransactionUnconfirmedToken) MarshalJSON() ([]byte, error // Get the actual instance func (obj *AddressTokensTransactionUnconfirmedToken) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AddressTokensTransactionUnconfirmedErc20 != nil { return obj.AddressTokensTransactionUnconfirmedErc20 } diff --git a/model_already_exists.go b/model_already_exists.go index 1caee39..b11947a 100644 --- a/model_already_exists.go +++ b/model_already_exists.go @@ -21,7 +21,7 @@ type AlreadyExists struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewAlreadyExists instantiates a new AlreadyExists object @@ -56,7 +56,7 @@ func (o *AlreadyExists) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *AlreadyExists) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *AlreadyExists) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *AlreadyExists) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *AlreadyExists) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AlreadyExists) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *AlreadyExists) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *AlreadyExists) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *AlreadyExists) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o AlreadyExists) MarshalJSON() ([]byte, error) { diff --git a/model_banned_ip_address.go b/model_banned_ip_address.go index 63b7ec4..9abc480 100644 --- a/model_banned_ip_address.go +++ b/model_banned_ip_address.go @@ -21,7 +21,7 @@ type BannedIpAddress struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewBannedIpAddress instantiates a new BannedIpAddress object @@ -56,7 +56,7 @@ func (o *BannedIpAddress) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *BannedIpAddress) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *BannedIpAddress) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *BannedIpAddress) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *BannedIpAddress) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BannedIpAddress) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *BannedIpAddress) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *BannedIpAddress) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *BannedIpAddress) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o BannedIpAddress) MarshalJSON() ([]byte, error) { diff --git a/model_banned_ip_address_details.go b/model_banned_ip_address_details.go index 2f7b600..b55a928 100644 --- a/model_banned_ip_address_details.go +++ b/model_banned_ip_address_details.go @@ -55,7 +55,7 @@ func (o *BannedIpAddressDetails) GetAttribute() string { // GetAttributeOk returns a tuple with the Attribute field value // and a boolean to check if the value has been set. func (o *BannedIpAddressDetails) GetAttributeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Attribute, true @@ -79,7 +79,7 @@ func (o *BannedIpAddressDetails) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *BannedIpAddressDetails) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true diff --git a/model_block_mined.go b/model_block_mined.go index 94e95ac..e4a8996 100644 --- a/model_block_mined.go +++ b/model_block_mined.go @@ -60,7 +60,7 @@ func (o *BlockMined) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *BlockMined) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *BlockMined) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *BlockMined) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *BlockMined) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *BlockMined) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *BlockMined) GetData() BlockMinedData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *BlockMined) GetDataOk() (*BlockMinedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_block_mined_data.go b/model_block_mined_data.go index 7237d2a..d65f83f 100644 --- a/model_block_mined_data.go +++ b/model_block_mined_data.go @@ -57,7 +57,7 @@ func (o *BlockMinedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *BlockMinedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *BlockMinedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *BlockMinedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *BlockMinedData) GetItem() BlockMinedDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *BlockMinedData) GetItemOk() (*BlockMinedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_block_mined_data_item.go b/model_block_mined_data_item.go index 2670292..a175120 100644 --- a/model_block_mined_data_item.go +++ b/model_block_mined_data_item.go @@ -64,7 +64,7 @@ func (o *BlockMinedDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *BlockMinedDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -88,7 +88,7 @@ func (o *BlockMinedDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *BlockMinedDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -112,7 +112,7 @@ func (o *BlockMinedDataItem) GetHeight() int32 { // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *BlockMinedDataItem) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -136,7 +136,7 @@ func (o *BlockMinedDataItem) GetHash() string { // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *BlockMinedDataItem) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -160,7 +160,7 @@ func (o *BlockMinedDataItem) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *BlockMinedDataItem) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_blockchain_data_address_event_subscription_not_found.go b/model_blockchain_data_address_event_subscription_not_found.go index ab39061..dd65d51 100644 --- a/model_blockchain_data_address_event_subscription_not_found.go +++ b/model_blockchain_data_address_event_subscription_not_found.go @@ -21,7 +21,7 @@ type BlockchainDataAddressEventSubscriptionNotFound struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewBlockchainDataAddressEventSubscriptionNotFound instantiates a new BlockchainDataAddressEventSubscriptionNotFound object @@ -56,7 +56,7 @@ func (o *BlockchainDataAddressEventSubscriptionNotFound) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *BlockchainDataAddressEventSubscriptionNotFound) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *BlockchainDataAddressEventSubscriptionNotFound) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *BlockchainDataAddressEventSubscriptionNotFound) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *BlockchainDataAddressEventSubscriptionNotFound) GetDetails() []BannedIp var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BlockchainDataAddressEventSubscriptionNotFound) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *BlockchainDataAddressEventSubscriptionNotFound) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *BlockchainDataAddressEventSubscriptionNotFound) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *BlockchainDataAddressEventSubscriptionNotFound) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o BlockchainDataAddressEventSubscriptionNotFound) MarshalJSON() ([]byte, error) { diff --git a/model_blockchain_data_block_not_found.go b/model_blockchain_data_block_not_found.go index dacd884..da0b8f5 100644 --- a/model_blockchain_data_block_not_found.go +++ b/model_blockchain_data_block_not_found.go @@ -21,7 +21,7 @@ type BlockchainDataBlockNotFound struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewBlockchainDataBlockNotFound instantiates a new BlockchainDataBlockNotFound object @@ -56,7 +56,7 @@ func (o *BlockchainDataBlockNotFound) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *BlockchainDataBlockNotFound) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *BlockchainDataBlockNotFound) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *BlockchainDataBlockNotFound) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *BlockchainDataBlockNotFound) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BlockchainDataBlockNotFound) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *BlockchainDataBlockNotFound) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *BlockchainDataBlockNotFound) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *BlockchainDataBlockNotFound) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o BlockchainDataBlockNotFound) MarshalJSON() ([]byte, error) { diff --git a/model_blockchain_data_internal_transaction_not_found.go b/model_blockchain_data_internal_transaction_not_found.go index 9bbfcd5..ae93d8d 100644 --- a/model_blockchain_data_internal_transaction_not_found.go +++ b/model_blockchain_data_internal_transaction_not_found.go @@ -21,7 +21,7 @@ type BlockchainDataInternalTransactionNotFound struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewBlockchainDataInternalTransactionNotFound instantiates a new BlockchainDataInternalTransactionNotFound object @@ -56,7 +56,7 @@ func (o *BlockchainDataInternalTransactionNotFound) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *BlockchainDataInternalTransactionNotFound) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *BlockchainDataInternalTransactionNotFound) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *BlockchainDataInternalTransactionNotFound) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *BlockchainDataInternalTransactionNotFound) GetDetails() []BannedIpAddre var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BlockchainDataInternalTransactionNotFound) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *BlockchainDataInternalTransactionNotFound) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *BlockchainDataInternalTransactionNotFound) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *BlockchainDataInternalTransactionNotFound) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o BlockchainDataInternalTransactionNotFound) MarshalJSON() ([]byte, error) { diff --git a/model_blockchain_data_transaction_not_found.go b/model_blockchain_data_transaction_not_found.go index 646991b..e75abf5 100644 --- a/model_blockchain_data_transaction_not_found.go +++ b/model_blockchain_data_transaction_not_found.go @@ -21,7 +21,7 @@ type BlockchainDataTransactionNotFound struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewBlockchainDataTransactionNotFound instantiates a new BlockchainDataTransactionNotFound object @@ -56,7 +56,7 @@ func (o *BlockchainDataTransactionNotFound) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *BlockchainDataTransactionNotFound) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *BlockchainDataTransactionNotFound) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *BlockchainDataTransactionNotFound) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *BlockchainDataTransactionNotFound) GetDetails() []BannedIpAddressDetail var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BlockchainDataTransactionNotFound) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *BlockchainDataTransactionNotFound) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *BlockchainDataTransactionNotFound) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *BlockchainDataTransactionNotFound) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o BlockchainDataTransactionNotFound) MarshalJSON() ([]byte, error) { diff --git a/model_blockchain_events_callbacks_limit_reached.go b/model_blockchain_events_callbacks_limit_reached.go index d3a0204..319d8ad 100644 --- a/model_blockchain_events_callbacks_limit_reached.go +++ b/model_blockchain_events_callbacks_limit_reached.go @@ -21,7 +21,7 @@ type BlockchainEventsCallbacksLimitReached struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewBlockchainEventsCallbacksLimitReached instantiates a new BlockchainEventsCallbacksLimitReached object @@ -56,7 +56,7 @@ func (o *BlockchainEventsCallbacksLimitReached) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *BlockchainEventsCallbacksLimitReached) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *BlockchainEventsCallbacksLimitReached) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *BlockchainEventsCallbacksLimitReached) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *BlockchainEventsCallbacksLimitReached) GetDetails() []BannedIpAddressDe var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BlockchainEventsCallbacksLimitReached) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *BlockchainEventsCallbacksLimitReached) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *BlockchainEventsCallbacksLimitReached) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *BlockchainEventsCallbacksLimitReached) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o BlockchainEventsCallbacksLimitReached) MarshalJSON() ([]byte, error) { diff --git a/model_broadcast_locally_signed_transaction_e400.go b/model_broadcast_locally_signed_transaction_e400.go index a2665fb..c371787 100644 --- a/model_broadcast_locally_signed_transaction_e400.go +++ b/model_broadcast_locally_signed_transaction_e400.go @@ -25,17 +25,23 @@ type BroadcastLocallySignedTransactionE400 struct { // InvalidPaginationAsBroadcastLocallySignedTransactionE400 is a convenience function that returns InvalidPagination wrapped in BroadcastLocallySignedTransactionE400 func InvalidPaginationAsBroadcastLocallySignedTransactionE400(v *InvalidPagination) BroadcastLocallySignedTransactionE400 { - return BroadcastLocallySignedTransactionE400{ InvalidPagination: v} + return BroadcastLocallySignedTransactionE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsBroadcastLocallySignedTransactionE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in BroadcastLocallySignedTransactionE400 func LimitGreaterThanAllowedAsBroadcastLocallySignedTransactionE400(v *LimitGreaterThanAllowed) BroadcastLocallySignedTransactionE400 { - return BroadcastLocallySignedTransactionE400{ LimitGreaterThanAllowed: v} + return BroadcastLocallySignedTransactionE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsBroadcastLocallySignedTransactionE400 is a convenience function that returns UriNotFound wrapped in BroadcastLocallySignedTransactionE400 func UriNotFoundAsBroadcastLocallySignedTransactionE400(v *UriNotFound) BroadcastLocallySignedTransactionE400 { - return BroadcastLocallySignedTransactionE400{ UriNotFound: v} + return BroadcastLocallySignedTransactionE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *BroadcastLocallySignedTransactionE400) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *BroadcastLocallySignedTransactionE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *BroadcastLocallySignedTransactionE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src BroadcastLocallySignedTransactionE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *BroadcastLocallySignedTransactionE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_broadcast_locally_signed_transaction_e401.go b/model_broadcast_locally_signed_transaction_e401.go index 847f974..4ba63ab 100644 --- a/model_broadcast_locally_signed_transaction_e401.go +++ b/model_broadcast_locally_signed_transaction_e401.go @@ -24,12 +24,16 @@ type BroadcastLocallySignedTransactionE401 struct { // InvalidApiKeyAsBroadcastLocallySignedTransactionE401 is a convenience function that returns InvalidApiKey wrapped in BroadcastLocallySignedTransactionE401 func InvalidApiKeyAsBroadcastLocallySignedTransactionE401(v *InvalidApiKey) BroadcastLocallySignedTransactionE401 { - return BroadcastLocallySignedTransactionE401{ InvalidApiKey: v} + return BroadcastLocallySignedTransactionE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsBroadcastLocallySignedTransactionE401 is a convenience function that returns MissingApiKey wrapped in BroadcastLocallySignedTransactionE401 func MissingApiKeyAsBroadcastLocallySignedTransactionE401(v *MissingApiKey) BroadcastLocallySignedTransactionE401 { - return BroadcastLocallySignedTransactionE401{ MissingApiKey: v} + return BroadcastLocallySignedTransactionE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *BroadcastLocallySignedTransactionE401) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *BroadcastLocallySignedTransactionE401) UnmarshalJSON(data []byte) err } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src BroadcastLocallySignedTransactionE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *BroadcastLocallySignedTransactionE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_broadcast_locally_signed_transaction_e403.go b/model_broadcast_locally_signed_transaction_e403.go index 5a747ee..9d55774 100644 --- a/model_broadcast_locally_signed_transaction_e403.go +++ b/model_broadcast_locally_signed_transaction_e403.go @@ -26,22 +26,30 @@ type BroadcastLocallySignedTransactionE403 struct { // BannedIpAddressAsBroadcastLocallySignedTransactionE403 is a convenience function that returns BannedIpAddress wrapped in BroadcastLocallySignedTransactionE403 func BannedIpAddressAsBroadcastLocallySignedTransactionE403(v *BannedIpAddress) BroadcastLocallySignedTransactionE403 { - return BroadcastLocallySignedTransactionE403{ BannedIpAddress: v} + return BroadcastLocallySignedTransactionE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsBroadcastLocallySignedTransactionE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in BroadcastLocallySignedTransactionE403 func EndpointNotAllowedForApiKeyAsBroadcastLocallySignedTransactionE403(v *EndpointNotAllowedForApiKey) BroadcastLocallySignedTransactionE403 { - return BroadcastLocallySignedTransactionE403{ EndpointNotAllowedForApiKey: v} + return BroadcastLocallySignedTransactionE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsBroadcastLocallySignedTransactionE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in BroadcastLocallySignedTransactionE403 func EndpointNotAllowedForPlanAsBroadcastLocallySignedTransactionE403(v *EndpointNotAllowedForPlan) BroadcastLocallySignedTransactionE403 { - return BroadcastLocallySignedTransactionE403{ EndpointNotAllowedForPlan: v} + return BroadcastLocallySignedTransactionE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsBroadcastLocallySignedTransactionE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in BroadcastLocallySignedTransactionE403 func FeatureMainnetsNotAllowedForPlanAsBroadcastLocallySignedTransactionE403(v *FeatureMainnetsNotAllowedForPlan) BroadcastLocallySignedTransactionE403 { - return BroadcastLocallySignedTransactionE403{ FeatureMainnetsNotAllowedForPlan: v} + return BroadcastLocallySignedTransactionE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *BroadcastLocallySignedTransactionE403) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *BroadcastLocallySignedTransactionE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *BroadcastLocallySignedTransactionE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *BroadcastLocallySignedTransactionE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src BroadcastLocallySignedTransactionE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *BroadcastLocallySignedTransactionE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_broadcast_locally_signed_transaction_e409.go b/model_broadcast_locally_signed_transaction_e409.go index 60e2866..ddf5736 100644 --- a/model_broadcast_locally_signed_transaction_e409.go +++ b/model_broadcast_locally_signed_transaction_e409.go @@ -24,12 +24,16 @@ type BroadcastLocallySignedTransactionE409 struct { // AlreadyExistsAsBroadcastLocallySignedTransactionE409 is a convenience function that returns AlreadyExists wrapped in BroadcastLocallySignedTransactionE409 func AlreadyExistsAsBroadcastLocallySignedTransactionE409(v *AlreadyExists) BroadcastLocallySignedTransactionE409 { - return BroadcastLocallySignedTransactionE409{ AlreadyExists: v} + return BroadcastLocallySignedTransactionE409{ + AlreadyExists: v, + } } // InvalidDataAsBroadcastLocallySignedTransactionE409 is a convenience function that returns InvalidData wrapped in BroadcastLocallySignedTransactionE409 func InvalidDataAsBroadcastLocallySignedTransactionE409(v *InvalidData) BroadcastLocallySignedTransactionE409 { - return BroadcastLocallySignedTransactionE409{ InvalidData: v} + return BroadcastLocallySignedTransactionE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *BroadcastLocallySignedTransactionE409) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *BroadcastLocallySignedTransactionE409) UnmarshalJSON(data []byte) err } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src BroadcastLocallySignedTransactionE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *BroadcastLocallySignedTransactionE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_broadcast_locally_signed_transaction_r.go b/model_broadcast_locally_signed_transaction_r.go index b7fdbc2..bc6bd69 100644 --- a/model_broadcast_locally_signed_transaction_r.go +++ b/model_broadcast_locally_signed_transaction_r.go @@ -59,7 +59,7 @@ func (o *BroadcastLocallySignedTransactionR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *BroadcastLocallySignedTransactionR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *BroadcastLocallySignedTransactionR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *BroadcastLocallySignedTransactionR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *BroadcastLocallySignedTransactionR) GetData() BroadcastLocallySignedTra // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *BroadcastLocallySignedTransactionR) GetDataOk() (*BroadcastLocallySignedTransactionRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_broadcast_locally_signed_transaction_r_data.go b/model_broadcast_locally_signed_transaction_r_data.go index 96b9b51..6d8d01c 100644 --- a/model_broadcast_locally_signed_transaction_r_data.go +++ b/model_broadcast_locally_signed_transaction_r_data.go @@ -51,7 +51,7 @@ func (o *BroadcastLocallySignedTransactionRData) GetItem() BroadcastLocallySigne // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *BroadcastLocallySignedTransactionRData) GetItemOk() (*BroadcastLocallySignedTransactionRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_broadcast_locally_signed_transaction_rb.go b/model_broadcast_locally_signed_transaction_rb.go index 2e79317..d609701 100644 --- a/model_broadcast_locally_signed_transaction_rb.go +++ b/model_broadcast_locally_signed_transaction_rb.go @@ -85,7 +85,7 @@ func (o *BroadcastLocallySignedTransactionRB) GetData() BroadcastLocallySignedTr // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *BroadcastLocallySignedTransactionRB) GetDataOk() (*BroadcastLocallySignedTransactionRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_broadcast_locally_signed_transaction_rb_data.go b/model_broadcast_locally_signed_transaction_rb_data.go index a626d22..7136f18 100644 --- a/model_broadcast_locally_signed_transaction_rb_data.go +++ b/model_broadcast_locally_signed_transaction_rb_data.go @@ -51,7 +51,7 @@ func (o *BroadcastLocallySignedTransactionRBData) GetItem() BroadcastLocallySign // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *BroadcastLocallySignedTransactionRBData) GetItemOk() (*BroadcastLocallySignedTransactionRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_broadcast_locally_signed_transaction_rb_data_item.go b/model_broadcast_locally_signed_transaction_rb_data_item.go index 3b7c8dc..d6ea8bf 100644 --- a/model_broadcast_locally_signed_transaction_rb_data_item.go +++ b/model_broadcast_locally_signed_transaction_rb_data_item.go @@ -19,7 +19,7 @@ import ( type BroadcastLocallySignedTransactionRBDataItem struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl *string `json:"callbackUrl,omitempty"` // Represents the signed transaction's specific hex. SignedTransactionHex string `json:"signedTransactionHex"` @@ -120,7 +120,7 @@ func (o *BroadcastLocallySignedTransactionRBDataItem) GetSignedTransactionHex() // GetSignedTransactionHexOk returns a tuple with the SignedTransactionHex field value // and a boolean to check if the value has been set. func (o *BroadcastLocallySignedTransactionRBDataItem) GetSignedTransactionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SignedTransactionHex, true diff --git a/model_broadcast_locally_signed_transaction_ri.go b/model_broadcast_locally_signed_transaction_ri.go index 1b5a5e9..6e264d3 100644 --- a/model_broadcast_locally_signed_transaction_ri.go +++ b/model_broadcast_locally_signed_transaction_ri.go @@ -52,7 +52,7 @@ func (o *BroadcastLocallySignedTransactionRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *BroadcastLocallySignedTransactionRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true diff --git a/model_broadcast_transaction_fail.go b/model_broadcast_transaction_fail.go index e586441..99bfb45 100644 --- a/model_broadcast_transaction_fail.go +++ b/model_broadcast_transaction_fail.go @@ -60,7 +60,7 @@ func (o *BroadcastTransactionFail) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFail) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *BroadcastTransactionFail) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFail) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *BroadcastTransactionFail) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFail) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *BroadcastTransactionFail) GetData() BroadcastTransactionFailData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFail) GetDataOk() (*BroadcastTransactionFailData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_broadcast_transaction_fail_data.go b/model_broadcast_transaction_fail_data.go index e873e52..69276eb 100644 --- a/model_broadcast_transaction_fail_data.go +++ b/model_broadcast_transaction_fail_data.go @@ -57,7 +57,7 @@ func (o *BroadcastTransactionFailData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFailData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *BroadcastTransactionFailData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFailData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *BroadcastTransactionFailData) GetItem() BroadcastTransactionFailDataIte // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFailData) GetItemOk() (*BroadcastTransactionFailDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_broadcast_transaction_fail_data_item.go b/model_broadcast_transaction_fail_data_item.go index 13dca73..da94aeb 100644 --- a/model_broadcast_transaction_fail_data_item.go +++ b/model_broadcast_transaction_fail_data_item.go @@ -61,7 +61,7 @@ func (o *BroadcastTransactionFailDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFailDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -85,7 +85,7 @@ func (o *BroadcastTransactionFailDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFailDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -109,7 +109,7 @@ func (o *BroadcastTransactionFailDataItem) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFailDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -133,7 +133,7 @@ func (o *BroadcastTransactionFailDataItem) GetErrorMessage() string { // GetErrorMessageOk returns a tuple with the ErrorMessage field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionFailDataItem) GetErrorMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ErrorMessage, true diff --git a/model_broadcast_transaction_success.go b/model_broadcast_transaction_success.go index 3cb8ac6..9597a83 100644 --- a/model_broadcast_transaction_success.go +++ b/model_broadcast_transaction_success.go @@ -60,7 +60,7 @@ func (o *BroadcastTransactionSuccess) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccess) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *BroadcastTransactionSuccess) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccess) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *BroadcastTransactionSuccess) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccess) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *BroadcastTransactionSuccess) GetData() BroadcastTransactionSuccessData // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccess) GetDataOk() (*BroadcastTransactionSuccessData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_broadcast_transaction_success_data.go b/model_broadcast_transaction_success_data.go index 7e56c78..ccfe267 100644 --- a/model_broadcast_transaction_success_data.go +++ b/model_broadcast_transaction_success_data.go @@ -57,7 +57,7 @@ func (o *BroadcastTransactionSuccessData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccessData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *BroadcastTransactionSuccessData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccessData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *BroadcastTransactionSuccessData) GetItem() BroadcastTransactionSuccessD // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccessData) GetItemOk() (*BroadcastTransactionSuccessDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_broadcast_transaction_success_data_item.go b/model_broadcast_transaction_success_data_item.go index d8c6b2a..340fa4a 100644 --- a/model_broadcast_transaction_success_data_item.go +++ b/model_broadcast_transaction_success_data_item.go @@ -58,7 +58,7 @@ func (o *BroadcastTransactionSuccessDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccessDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -82,7 +82,7 @@ func (o *BroadcastTransactionSuccessDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccessDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -106,7 +106,7 @@ func (o *BroadcastTransactionSuccessDataItem) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *BroadcastTransactionSuccessDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true diff --git a/model_coins_forwarding_automations_limit_reached.go b/model_coins_forwarding_automations_limit_reached.go index 72f9f9d..483458c 100644 --- a/model_coins_forwarding_automations_limit_reached.go +++ b/model_coins_forwarding_automations_limit_reached.go @@ -21,7 +21,7 @@ type CoinsForwardingAutomationsLimitReached struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewCoinsForwardingAutomationsLimitReached instantiates a new CoinsForwardingAutomationsLimitReached object @@ -56,7 +56,7 @@ func (o *CoinsForwardingAutomationsLimitReached) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *CoinsForwardingAutomationsLimitReached) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *CoinsForwardingAutomationsLimitReached) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *CoinsForwardingAutomationsLimitReached) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *CoinsForwardingAutomationsLimitReached) GetDetails() []BannedIpAddressD var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CoinsForwardingAutomationsLimitReached) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *CoinsForwardingAutomationsLimitReached) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *CoinsForwardingAutomationsLimitReached) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *CoinsForwardingAutomationsLimitReached) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o CoinsForwardingAutomationsLimitReached) MarshalJSON() ([]byte, error) { diff --git a/model_coins_forwarding_fail.go b/model_coins_forwarding_fail.go index 971ed15..81e9c97 100644 --- a/model_coins_forwarding_fail.go +++ b/model_coins_forwarding_fail.go @@ -60,7 +60,7 @@ func (o *CoinsForwardingFail) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFail) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *CoinsForwardingFail) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFail) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *CoinsForwardingFail) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFail) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *CoinsForwardingFail) GetData() CoinsForwardingFailData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFail) GetDataOk() (*CoinsForwardingFailData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_coins_forwarding_fail_data.go b/model_coins_forwarding_fail_data.go index 67937b8..a4a8f93 100644 --- a/model_coins_forwarding_fail_data.go +++ b/model_coins_forwarding_fail_data.go @@ -57,7 +57,7 @@ func (o *CoinsForwardingFailData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *CoinsForwardingFailData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *CoinsForwardingFailData) GetItem() CoinsForwardingFailDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailData) GetItemOk() (*CoinsForwardingFailDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_coins_forwarding_fail_data_item.go b/model_coins_forwarding_fail_data_item.go index f7f5471..257c622 100644 --- a/model_coins_forwarding_fail_data_item.go +++ b/model_coins_forwarding_fail_data_item.go @@ -70,7 +70,7 @@ func (o *CoinsForwardingFailDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -94,7 +94,7 @@ func (o *CoinsForwardingFailDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -118,7 +118,7 @@ func (o *CoinsForwardingFailDataItem) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailDataItem) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -142,7 +142,7 @@ func (o *CoinsForwardingFailDataItem) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailDataItem) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -166,7 +166,7 @@ func (o *CoinsForwardingFailDataItem) GetTriggerTransactionId() string { // GetTriggerTransactionIdOk returns a tuple with the TriggerTransactionId field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailDataItem) GetTriggerTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TriggerTransactionId, true @@ -190,7 +190,7 @@ func (o *CoinsForwardingFailDataItem) GetErrorCode() string { // GetErrorCodeOk returns a tuple with the ErrorCode field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailDataItem) GetErrorCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ErrorCode, true @@ -214,7 +214,7 @@ func (o *CoinsForwardingFailDataItem) GetErrorMessage() string { // GetErrorMessageOk returns a tuple with the ErrorMessage field value // and a boolean to check if the value has been set. func (o *CoinsForwardingFailDataItem) GetErrorMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ErrorMessage, true diff --git a/model_coins_forwarding_success.go b/model_coins_forwarding_success.go index e870166..74a652c 100644 --- a/model_coins_forwarding_success.go +++ b/model_coins_forwarding_success.go @@ -60,7 +60,7 @@ func (o *CoinsForwardingSuccess) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccess) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *CoinsForwardingSuccess) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccess) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *CoinsForwardingSuccess) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccess) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *CoinsForwardingSuccess) GetData() CoinsForwardingSuccessData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccess) GetDataOk() (*CoinsForwardingSuccessData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_coins_forwarding_success_data.go b/model_coins_forwarding_success_data.go index 4abbf90..b6187f9 100644 --- a/model_coins_forwarding_success_data.go +++ b/model_coins_forwarding_success_data.go @@ -57,7 +57,7 @@ func (o *CoinsForwardingSuccessData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *CoinsForwardingSuccessData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *CoinsForwardingSuccessData) GetItem() CoinsForwardingSuccessDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessData) GetItemOk() (*CoinsForwardingSuccessDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_coins_forwarding_success_data_item.go b/model_coins_forwarding_success_data_item.go index 2847819..2c6626e 100644 --- a/model_coins_forwarding_success_data_item.go +++ b/model_coins_forwarding_success_data_item.go @@ -79,7 +79,7 @@ func (o *CoinsForwardingSuccessDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -103,7 +103,7 @@ func (o *CoinsForwardingSuccessDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -127,7 +127,7 @@ func (o *CoinsForwardingSuccessDataItem) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -151,7 +151,7 @@ func (o *CoinsForwardingSuccessDataItem) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -175,7 +175,7 @@ func (o *CoinsForwardingSuccessDataItem) GetForwardedAmount() string { // GetForwardedAmountOk returns a tuple with the ForwardedAmount field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetForwardedAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ForwardedAmount, true @@ -199,7 +199,7 @@ func (o *CoinsForwardingSuccessDataItem) GetForwardedUnit() string { // GetForwardedUnitOk returns a tuple with the ForwardedUnit field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetForwardedUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ForwardedUnit, true @@ -223,7 +223,7 @@ func (o *CoinsForwardingSuccessDataItem) GetSpentFeesAmount() string { // GetSpentFeesAmountOk returns a tuple with the SpentFeesAmount field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetSpentFeesAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SpentFeesAmount, true @@ -247,7 +247,7 @@ func (o *CoinsForwardingSuccessDataItem) GetSpentFeesUnit() string { // GetSpentFeesUnitOk returns a tuple with the SpentFeesUnit field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetSpentFeesUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SpentFeesUnit, true @@ -271,7 +271,7 @@ func (o *CoinsForwardingSuccessDataItem) GetTriggerTransactionId() string { // GetTriggerTransactionIdOk returns a tuple with the TriggerTransactionId field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetTriggerTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TriggerTransactionId, true @@ -295,7 +295,7 @@ func (o *CoinsForwardingSuccessDataItem) GetForwardingTransactionId() string { // GetForwardingTransactionIdOk returns a tuple with the ForwardingTransactionId field value // and a boolean to check if the value has been set. func (o *CoinsForwardingSuccessDataItem) GetForwardingTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ForwardingTransactionId, true diff --git a/model_could_not_calculate_rate_for_pair.go b/model_could_not_calculate_rate_for_pair.go index 7126653..7d3b4f0 100644 --- a/model_could_not_calculate_rate_for_pair.go +++ b/model_could_not_calculate_rate_for_pair.go @@ -21,7 +21,7 @@ type CouldNotCalculateRateForPair struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewCouldNotCalculateRateForPair instantiates a new CouldNotCalculateRateForPair object @@ -56,7 +56,7 @@ func (o *CouldNotCalculateRateForPair) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *CouldNotCalculateRateForPair) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *CouldNotCalculateRateForPair) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *CouldNotCalculateRateForPair) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *CouldNotCalculateRateForPair) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CouldNotCalculateRateForPair) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *CouldNotCalculateRateForPair) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *CouldNotCalculateRateForPair) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *CouldNotCalculateRateForPair) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o CouldNotCalculateRateForPair) MarshalJSON() ([]byte, error) { diff --git a/model_create_automatic_coins_forwarding_e400.go b/model_create_automatic_coins_forwarding_e400.go index 231b4c9..4c74ff2 100644 --- a/model_create_automatic_coins_forwarding_e400.go +++ b/model_create_automatic_coins_forwarding_e400.go @@ -25,17 +25,23 @@ type CreateAutomaticCoinsForwardingE400 struct { // InvalidPaginationAsCreateAutomaticCoinsForwardingE400 is a convenience function that returns InvalidPagination wrapped in CreateAutomaticCoinsForwardingE400 func InvalidPaginationAsCreateAutomaticCoinsForwardingE400(v *InvalidPagination) CreateAutomaticCoinsForwardingE400 { - return CreateAutomaticCoinsForwardingE400{ InvalidPagination: v} + return CreateAutomaticCoinsForwardingE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsCreateAutomaticCoinsForwardingE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in CreateAutomaticCoinsForwardingE400 func LimitGreaterThanAllowedAsCreateAutomaticCoinsForwardingE400(v *LimitGreaterThanAllowed) CreateAutomaticCoinsForwardingE400 { - return CreateAutomaticCoinsForwardingE400{ LimitGreaterThanAllowed: v} + return CreateAutomaticCoinsForwardingE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsCreateAutomaticCoinsForwardingE400 is a convenience function that returns UriNotFound wrapped in CreateAutomaticCoinsForwardingE400 func UriNotFoundAsCreateAutomaticCoinsForwardingE400(v *UriNotFound) CreateAutomaticCoinsForwardingE400 { - return CreateAutomaticCoinsForwardingE400{ UriNotFound: v} + return CreateAutomaticCoinsForwardingE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *CreateAutomaticCoinsForwardingE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *CreateAutomaticCoinsForwardingE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *CreateAutomaticCoinsForwardingE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src CreateAutomaticCoinsForwardingE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *CreateAutomaticCoinsForwardingE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_create_automatic_coins_forwarding_e401.go b/model_create_automatic_coins_forwarding_e401.go index 72c92e8..2605402 100644 --- a/model_create_automatic_coins_forwarding_e401.go +++ b/model_create_automatic_coins_forwarding_e401.go @@ -24,12 +24,16 @@ type CreateAutomaticCoinsForwardingE401 struct { // InvalidApiKeyAsCreateAutomaticCoinsForwardingE401 is a convenience function that returns InvalidApiKey wrapped in CreateAutomaticCoinsForwardingE401 func InvalidApiKeyAsCreateAutomaticCoinsForwardingE401(v *InvalidApiKey) CreateAutomaticCoinsForwardingE401 { - return CreateAutomaticCoinsForwardingE401{ InvalidApiKey: v} + return CreateAutomaticCoinsForwardingE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsCreateAutomaticCoinsForwardingE401 is a convenience function that returns MissingApiKey wrapped in CreateAutomaticCoinsForwardingE401 func MissingApiKeyAsCreateAutomaticCoinsForwardingE401(v *MissingApiKey) CreateAutomaticCoinsForwardingE401 { - return CreateAutomaticCoinsForwardingE401{ MissingApiKey: v} + return CreateAutomaticCoinsForwardingE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateAutomaticCoinsForwardingE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateAutomaticCoinsForwardingE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateAutomaticCoinsForwardingE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *CreateAutomaticCoinsForwardingE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_create_automatic_coins_forwarding_e403.go b/model_create_automatic_coins_forwarding_e403.go index 19df457..f0e1353 100644 --- a/model_create_automatic_coins_forwarding_e403.go +++ b/model_create_automatic_coins_forwarding_e403.go @@ -27,27 +27,37 @@ type CreateAutomaticCoinsForwardingE403 struct { // BannedIpAddressAsCreateAutomaticCoinsForwardingE403 is a convenience function that returns BannedIpAddress wrapped in CreateAutomaticCoinsForwardingE403 func BannedIpAddressAsCreateAutomaticCoinsForwardingE403(v *BannedIpAddress) CreateAutomaticCoinsForwardingE403 { - return CreateAutomaticCoinsForwardingE403{ BannedIpAddress: v} + return CreateAutomaticCoinsForwardingE403{ + BannedIpAddress: v, + } } // CoinsForwardingAutomationsLimitReachedAsCreateAutomaticCoinsForwardingE403 is a convenience function that returns CoinsForwardingAutomationsLimitReached wrapped in CreateAutomaticCoinsForwardingE403 func CoinsForwardingAutomationsLimitReachedAsCreateAutomaticCoinsForwardingE403(v *CoinsForwardingAutomationsLimitReached) CreateAutomaticCoinsForwardingE403 { - return CreateAutomaticCoinsForwardingE403{ CoinsForwardingAutomationsLimitReached: v} + return CreateAutomaticCoinsForwardingE403{ + CoinsForwardingAutomationsLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsCreateAutomaticCoinsForwardingE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in CreateAutomaticCoinsForwardingE403 func EndpointNotAllowedForApiKeyAsCreateAutomaticCoinsForwardingE403(v *EndpointNotAllowedForApiKey) CreateAutomaticCoinsForwardingE403 { - return CreateAutomaticCoinsForwardingE403{ EndpointNotAllowedForApiKey: v} + return CreateAutomaticCoinsForwardingE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsCreateAutomaticCoinsForwardingE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in CreateAutomaticCoinsForwardingE403 func EndpointNotAllowedForPlanAsCreateAutomaticCoinsForwardingE403(v *EndpointNotAllowedForPlan) CreateAutomaticCoinsForwardingE403 { - return CreateAutomaticCoinsForwardingE403{ EndpointNotAllowedForPlan: v} + return CreateAutomaticCoinsForwardingE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsCreateAutomaticCoinsForwardingE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in CreateAutomaticCoinsForwardingE403 func FeatureMainnetsNotAllowedForPlanAsCreateAutomaticCoinsForwardingE403(v *FeatureMainnetsNotAllowedForPlan) CreateAutomaticCoinsForwardingE403 { - return CreateAutomaticCoinsForwardingE403{ FeatureMainnetsNotAllowedForPlan: v} + return CreateAutomaticCoinsForwardingE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *CreateAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *CreateAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into CoinsForwardingAutomationsLimitReached - err = json.Unmarshal(data, &dst.CoinsForwardingAutomationsLimitReached) + err = newStrictDecoder(data).Decode(&dst.CoinsForwardingAutomationsLimitReached) if err == nil { jsonCoinsForwardingAutomationsLimitReached, _ := json.Marshal(dst.CoinsForwardingAutomationsLimitReached) if string(jsonCoinsForwardingAutomationsLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *CreateAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *CreateAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *CreateAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src CreateAutomaticCoinsForwardingE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *CreateAutomaticCoinsForwardingE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_create_automatic_coins_forwarding_e409.go b/model_create_automatic_coins_forwarding_e409.go index 98fcd7b..318f3a3 100644 --- a/model_create_automatic_coins_forwarding_e409.go +++ b/model_create_automatic_coins_forwarding_e409.go @@ -24,12 +24,16 @@ type CreateAutomaticCoinsForwardingE409 struct { // AlreadyExistsAsCreateAutomaticCoinsForwardingE409 is a convenience function that returns AlreadyExists wrapped in CreateAutomaticCoinsForwardingE409 func AlreadyExistsAsCreateAutomaticCoinsForwardingE409(v *AlreadyExists) CreateAutomaticCoinsForwardingE409 { - return CreateAutomaticCoinsForwardingE409{ AlreadyExists: v} + return CreateAutomaticCoinsForwardingE409{ + AlreadyExists: v, + } } // InvalidDataAsCreateAutomaticCoinsForwardingE409 is a convenience function that returns InvalidData wrapped in CreateAutomaticCoinsForwardingE409 func InvalidDataAsCreateAutomaticCoinsForwardingE409(v *InvalidData) CreateAutomaticCoinsForwardingE409 { - return CreateAutomaticCoinsForwardingE409{ InvalidData: v} + return CreateAutomaticCoinsForwardingE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateAutomaticCoinsForwardingE409) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateAutomaticCoinsForwardingE409) UnmarshalJSON(data []byte) error } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateAutomaticCoinsForwardingE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *CreateAutomaticCoinsForwardingE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_create_automatic_coins_forwarding_r.go b/model_create_automatic_coins_forwarding_r.go index e05633f..448541b 100644 --- a/model_create_automatic_coins_forwarding_r.go +++ b/model_create_automatic_coins_forwarding_r.go @@ -59,7 +59,7 @@ func (o *CreateAutomaticCoinsForwardingR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *CreateAutomaticCoinsForwardingR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *CreateAutomaticCoinsForwardingR) GetData() CreateAutomaticCoinsForwardi // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingR) GetDataOk() (*CreateAutomaticCoinsForwardingRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_automatic_coins_forwarding_r_data.go b/model_create_automatic_coins_forwarding_r_data.go index 61048ba..9c3403b 100644 --- a/model_create_automatic_coins_forwarding_r_data.go +++ b/model_create_automatic_coins_forwarding_r_data.go @@ -51,7 +51,7 @@ func (o *CreateAutomaticCoinsForwardingRData) GetItem() CreateAutomaticCoinsForw // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRData) GetItemOk() (*CreateAutomaticCoinsForwardingRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_automatic_coins_forwarding_rb.go b/model_create_automatic_coins_forwarding_rb.go index 4a3a2e7..7a2ef2a 100644 --- a/model_create_automatic_coins_forwarding_rb.go +++ b/model_create_automatic_coins_forwarding_rb.go @@ -85,7 +85,7 @@ func (o *CreateAutomaticCoinsForwardingRB) GetData() CreateAutomaticCoinsForward // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRB) GetDataOk() (*CreateAutomaticCoinsForwardingRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_automatic_coins_forwarding_rb_data.go b/model_create_automatic_coins_forwarding_rb_data.go index 1fb67eb..750d9e1 100644 --- a/model_create_automatic_coins_forwarding_rb_data.go +++ b/model_create_automatic_coins_forwarding_rb_data.go @@ -51,7 +51,7 @@ func (o *CreateAutomaticCoinsForwardingRBData) GetItem() CreateAutomaticCoinsFor // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRBData) GetItemOk() (*CreateAutomaticCoinsForwardingRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_automatic_coins_forwarding_rb_data_item.go b/model_create_automatic_coins_forwarding_rb_data_item.go index 92f5d32..f6d237b 100644 --- a/model_create_automatic_coins_forwarding_rb_data_item.go +++ b/model_create_automatic_coins_forwarding_rb_data_item.go @@ -19,7 +19,7 @@ import ( type CreateAutomaticCoinsForwardingRBDataItem struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -67,7 +67,7 @@ func (o *CreateAutomaticCoinsForwardingRBDataItem) GetCallbackSecretKey() string // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRBDataItem) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -91,7 +91,7 @@ func (o *CreateAutomaticCoinsForwardingRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -115,7 +115,7 @@ func (o *CreateAutomaticCoinsForwardingRBDataItem) GetConfirmationsCount() int32 // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRBDataItem) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -139,7 +139,7 @@ func (o *CreateAutomaticCoinsForwardingRBDataItem) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRBDataItem) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -163,7 +163,7 @@ func (o *CreateAutomaticCoinsForwardingRBDataItem) GetMinimumTransferAmount() st // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRBDataItem) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -187,7 +187,7 @@ func (o *CreateAutomaticCoinsForwardingRBDataItem) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRBDataItem) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true diff --git a/model_create_automatic_coins_forwarding_ri.go b/model_create_automatic_coins_forwarding_ri.go index f6f399c..bde04f1 100644 --- a/model_create_automatic_coins_forwarding_ri.go +++ b/model_create_automatic_coins_forwarding_ri.go @@ -17,7 +17,7 @@ import ( // CreateAutomaticCoinsForwardingRI struct for CreateAutomaticCoinsForwardingRI type CreateAutomaticCoinsForwardingRI struct { - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -73,7 +73,7 @@ func (o *CreateAutomaticCoinsForwardingRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -97,7 +97,7 @@ func (o *CreateAutomaticCoinsForwardingRI) GetConfirmationsCount() int32 { // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -121,7 +121,7 @@ func (o *CreateAutomaticCoinsForwardingRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -145,7 +145,7 @@ func (o *CreateAutomaticCoinsForwardingRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -169,7 +169,7 @@ func (o *CreateAutomaticCoinsForwardingRI) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRI) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -193,7 +193,7 @@ func (o *CreateAutomaticCoinsForwardingRI) GetMinimumTransferAmount() string { // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRI) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -217,7 +217,7 @@ func (o *CreateAutomaticCoinsForwardingRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -241,7 +241,7 @@ func (o *CreateAutomaticCoinsForwardingRI) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticCoinsForwardingRI) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true diff --git a/model_create_automatic_tokens_forwarding_e400.go b/model_create_automatic_tokens_forwarding_e400.go index 33b0cd1..c701118 100644 --- a/model_create_automatic_tokens_forwarding_e400.go +++ b/model_create_automatic_tokens_forwarding_e400.go @@ -25,17 +25,23 @@ type CreateAutomaticTokensForwardingE400 struct { // InvalidPaginationAsCreateAutomaticTokensForwardingE400 is a convenience function that returns InvalidPagination wrapped in CreateAutomaticTokensForwardingE400 func InvalidPaginationAsCreateAutomaticTokensForwardingE400(v *InvalidPagination) CreateAutomaticTokensForwardingE400 { - return CreateAutomaticTokensForwardingE400{ InvalidPagination: v} + return CreateAutomaticTokensForwardingE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsCreateAutomaticTokensForwardingE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in CreateAutomaticTokensForwardingE400 func LimitGreaterThanAllowedAsCreateAutomaticTokensForwardingE400(v *LimitGreaterThanAllowed) CreateAutomaticTokensForwardingE400 { - return CreateAutomaticTokensForwardingE400{ LimitGreaterThanAllowed: v} + return CreateAutomaticTokensForwardingE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsCreateAutomaticTokensForwardingE400 is a convenience function that returns UriNotFound wrapped in CreateAutomaticTokensForwardingE400 func UriNotFoundAsCreateAutomaticTokensForwardingE400(v *UriNotFound) CreateAutomaticTokensForwardingE400 { - return CreateAutomaticTokensForwardingE400{ UriNotFound: v} + return CreateAutomaticTokensForwardingE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *CreateAutomaticTokensForwardingE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *CreateAutomaticTokensForwardingE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *CreateAutomaticTokensForwardingE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src CreateAutomaticTokensForwardingE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *CreateAutomaticTokensForwardingE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_create_automatic_tokens_forwarding_e401.go b/model_create_automatic_tokens_forwarding_e401.go index 4986764..63c370a 100644 --- a/model_create_automatic_tokens_forwarding_e401.go +++ b/model_create_automatic_tokens_forwarding_e401.go @@ -24,12 +24,16 @@ type CreateAutomaticTokensForwardingE401 struct { // InvalidApiKeyAsCreateAutomaticTokensForwardingE401 is a convenience function that returns InvalidApiKey wrapped in CreateAutomaticTokensForwardingE401 func InvalidApiKeyAsCreateAutomaticTokensForwardingE401(v *InvalidApiKey) CreateAutomaticTokensForwardingE401 { - return CreateAutomaticTokensForwardingE401{ InvalidApiKey: v} + return CreateAutomaticTokensForwardingE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsCreateAutomaticTokensForwardingE401 is a convenience function that returns MissingApiKey wrapped in CreateAutomaticTokensForwardingE401 func MissingApiKeyAsCreateAutomaticTokensForwardingE401(v *MissingApiKey) CreateAutomaticTokensForwardingE401 { - return CreateAutomaticTokensForwardingE401{ MissingApiKey: v} + return CreateAutomaticTokensForwardingE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateAutomaticTokensForwardingE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateAutomaticTokensForwardingE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateAutomaticTokensForwardingE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *CreateAutomaticTokensForwardingE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_create_automatic_tokens_forwarding_e403.go b/model_create_automatic_tokens_forwarding_e403.go index 328d811..87bbfe7 100644 --- a/model_create_automatic_tokens_forwarding_e403.go +++ b/model_create_automatic_tokens_forwarding_e403.go @@ -27,27 +27,37 @@ type CreateAutomaticTokensForwardingE403 struct { // BannedIpAddressAsCreateAutomaticTokensForwardingE403 is a convenience function that returns BannedIpAddress wrapped in CreateAutomaticTokensForwardingE403 func BannedIpAddressAsCreateAutomaticTokensForwardingE403(v *BannedIpAddress) CreateAutomaticTokensForwardingE403 { - return CreateAutomaticTokensForwardingE403{ BannedIpAddress: v} + return CreateAutomaticTokensForwardingE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsCreateAutomaticTokensForwardingE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in CreateAutomaticTokensForwardingE403 func EndpointNotAllowedForApiKeyAsCreateAutomaticTokensForwardingE403(v *EndpointNotAllowedForApiKey) CreateAutomaticTokensForwardingE403 { - return CreateAutomaticTokensForwardingE403{ EndpointNotAllowedForApiKey: v} + return CreateAutomaticTokensForwardingE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsCreateAutomaticTokensForwardingE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in CreateAutomaticTokensForwardingE403 func EndpointNotAllowedForPlanAsCreateAutomaticTokensForwardingE403(v *EndpointNotAllowedForPlan) CreateAutomaticTokensForwardingE403 { - return CreateAutomaticTokensForwardingE403{ EndpointNotAllowedForPlan: v} + return CreateAutomaticTokensForwardingE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsCreateAutomaticTokensForwardingE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in CreateAutomaticTokensForwardingE403 func FeatureMainnetsNotAllowedForPlanAsCreateAutomaticTokensForwardingE403(v *FeatureMainnetsNotAllowedForPlan) CreateAutomaticTokensForwardingE403 { - return CreateAutomaticTokensForwardingE403{ FeatureMainnetsNotAllowedForPlan: v} + return CreateAutomaticTokensForwardingE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } // TokensForwardingAutomationsLimitReachedAsCreateAutomaticTokensForwardingE403 is a convenience function that returns TokensForwardingAutomationsLimitReached wrapped in CreateAutomaticTokensForwardingE403 func TokensForwardingAutomationsLimitReachedAsCreateAutomaticTokensForwardingE403(v *TokensForwardingAutomationsLimitReached) CreateAutomaticTokensForwardingE403 { - return CreateAutomaticTokensForwardingE403{ TokensForwardingAutomationsLimitReached: v} + return CreateAutomaticTokensForwardingE403{ + TokensForwardingAutomationsLimitReached: v, + } } @@ -56,7 +66,7 @@ func (dst *CreateAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *CreateAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *CreateAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *CreateAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *CreateAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into TokensForwardingAutomationsLimitReached - err = json.Unmarshal(data, &dst.TokensForwardingAutomationsLimitReached) + err = newStrictDecoder(data).Decode(&dst.TokensForwardingAutomationsLimitReached) if err == nil { jsonTokensForwardingAutomationsLimitReached, _ := json.Marshal(dst.TokensForwardingAutomationsLimitReached) if string(jsonTokensForwardingAutomationsLimitReached) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src CreateAutomaticTokensForwardingE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *CreateAutomaticTokensForwardingE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_create_automatic_tokens_forwarding_r.go b/model_create_automatic_tokens_forwarding_r.go index 0a5518d..51c8be1 100644 --- a/model_create_automatic_tokens_forwarding_r.go +++ b/model_create_automatic_tokens_forwarding_r.go @@ -59,7 +59,7 @@ func (o *CreateAutomaticTokensForwardingR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *CreateAutomaticTokensForwardingR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *CreateAutomaticTokensForwardingR) GetData() CreateAutomaticTokensForwar // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingR) GetDataOk() (*CreateAutomaticTokensForwardingRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_automatic_tokens_forwarding_r_data.go b/model_create_automatic_tokens_forwarding_r_data.go index 4ae9d6e..291aac0 100644 --- a/model_create_automatic_tokens_forwarding_r_data.go +++ b/model_create_automatic_tokens_forwarding_r_data.go @@ -51,7 +51,7 @@ func (o *CreateAutomaticTokensForwardingRData) GetItem() CreateAutomaticTokensFo // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRData) GetItemOk() (*CreateAutomaticTokensForwardingRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_automatic_tokens_forwarding_rb.go b/model_create_automatic_tokens_forwarding_rb.go index 6df3727..3dbefc3 100644 --- a/model_create_automatic_tokens_forwarding_rb.go +++ b/model_create_automatic_tokens_forwarding_rb.go @@ -85,7 +85,7 @@ func (o *CreateAutomaticTokensForwardingRB) GetData() CreateAutomaticTokensForwa // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRB) GetDataOk() (*CreateAutomaticTokensForwardingRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_automatic_tokens_forwarding_rb_data.go b/model_create_automatic_tokens_forwarding_rb_data.go index c229093..8a2e0c0 100644 --- a/model_create_automatic_tokens_forwarding_rb_data.go +++ b/model_create_automatic_tokens_forwarding_rb_data.go @@ -51,7 +51,7 @@ func (o *CreateAutomaticTokensForwardingRBData) GetItem() CreateAutomaticTokensF // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBData) GetItemOk() (*CreateAutomaticTokensForwardingRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_automatic_tokens_forwarding_rb_data_item.go b/model_create_automatic_tokens_forwarding_rb_data_item.go index b050ad4..04873d9 100644 --- a/model_create_automatic_tokens_forwarding_rb_data_item.go +++ b/model_create_automatic_tokens_forwarding_rb_data_item.go @@ -19,7 +19,7 @@ import ( type CreateAutomaticTokensForwardingRBDataItem struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount string `json:"confirmationsCount"` @@ -100,7 +100,7 @@ func (o *CreateAutomaticTokensForwardingRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -124,7 +124,7 @@ func (o *CreateAutomaticTokensForwardingRBDataItem) GetConfirmationsCount() stri // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBDataItem) GetConfirmationsCountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -148,7 +148,7 @@ func (o *CreateAutomaticTokensForwardingRBDataItem) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBDataItem) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -172,7 +172,7 @@ func (o *CreateAutomaticTokensForwardingRBDataItem) GetMinimumTransferAmount() s // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBDataItem) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -196,7 +196,7 @@ func (o *CreateAutomaticTokensForwardingRBDataItem) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBDataItem) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -220,7 +220,7 @@ func (o *CreateAutomaticTokensForwardingRBDataItem) GetTokenData() CreateAutomat // GetTokenDataOk returns a tuple with the TokenData field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBDataItem) GetTokenDataOk() (*CreateAutomaticTokensForwardingRBTokenData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenData, true diff --git a/model_create_automatic_tokens_forwarding_rb_token_data.go b/model_create_automatic_tokens_forwarding_rb_token_data.go index c143048..953deb3 100644 --- a/model_create_automatic_tokens_forwarding_rb_token_data.go +++ b/model_create_automatic_tokens_forwarding_rb_token_data.go @@ -24,12 +24,16 @@ type CreateAutomaticTokensForwardingRBTokenData struct { // CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniTokenAsCreateAutomaticTokensForwardingRBTokenData is a convenience function that returns CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken wrapped in CreateAutomaticTokensForwardingRBTokenData func CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniTokenAsCreateAutomaticTokensForwardingRBTokenData(v *CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken) CreateAutomaticTokensForwardingRBTokenData { - return CreateAutomaticTokensForwardingRBTokenData{ CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken: v} + return CreateAutomaticTokensForwardingRBTokenData{ + CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken: v, + } } // CreateAutomaticTokensForwardingRBTokenDataEthereumTokenAsCreateAutomaticTokensForwardingRBTokenData is a convenience function that returns CreateAutomaticTokensForwardingRBTokenDataEthereumToken wrapped in CreateAutomaticTokensForwardingRBTokenData func CreateAutomaticTokensForwardingRBTokenDataEthereumTokenAsCreateAutomaticTokensForwardingRBTokenData(v *CreateAutomaticTokensForwardingRBTokenDataEthereumToken) CreateAutomaticTokensForwardingRBTokenData { - return CreateAutomaticTokensForwardingRBTokenData{ CreateAutomaticTokensForwardingRBTokenDataEthereumToken: v} + return CreateAutomaticTokensForwardingRBTokenData{ + CreateAutomaticTokensForwardingRBTokenDataEthereumToken: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateAutomaticTokensForwardingRBTokenData) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken - err = json.Unmarshal(data, &dst.CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken) + err = newStrictDecoder(data).Decode(&dst.CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken) if err == nil { jsonCreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken, _ := json.Marshal(dst.CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken) if string(jsonCreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateAutomaticTokensForwardingRBTokenData) UnmarshalJSON(data []byte } // try to unmarshal data into CreateAutomaticTokensForwardingRBTokenDataEthereumToken - err = json.Unmarshal(data, &dst.CreateAutomaticTokensForwardingRBTokenDataEthereumToken) + err = newStrictDecoder(data).Decode(&dst.CreateAutomaticTokensForwardingRBTokenDataEthereumToken) if err == nil { jsonCreateAutomaticTokensForwardingRBTokenDataEthereumToken, _ := json.Marshal(dst.CreateAutomaticTokensForwardingRBTokenDataEthereumToken) if string(jsonCreateAutomaticTokensForwardingRBTokenDataEthereumToken) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateAutomaticTokensForwardingRBTokenData) MarshalJSON() ([]byte, err // Get the actual instance func (obj *CreateAutomaticTokensForwardingRBTokenData) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken != nil { return obj.CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken } diff --git a/model_create_automatic_tokens_forwarding_rb_token_data_bitcoin_omni_token.go b/model_create_automatic_tokens_forwarding_rb_token_data_bitcoin_omni_token.go index c5bcb91..c2d28cb 100644 --- a/model_create_automatic_tokens_forwarding_rb_token_data_bitcoin_omni_token.go +++ b/model_create_automatic_tokens_forwarding_rb_token_data_bitcoin_omni_token.go @@ -52,7 +52,7 @@ func (o *CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken) GetProperty // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBTokenDataBitcoinOmniToken) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true diff --git a/model_create_automatic_tokens_forwarding_rb_token_data_ethereum_token.go b/model_create_automatic_tokens_forwarding_rb_token_data_ethereum_token.go index e2917f2..6dcefa2 100644 --- a/model_create_automatic_tokens_forwarding_rb_token_data_ethereum_token.go +++ b/model_create_automatic_tokens_forwarding_rb_token_data_ethereum_token.go @@ -52,7 +52,7 @@ func (o *CreateAutomaticTokensForwardingRBTokenDataEthereumToken) GetContractAdd // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRBTokenDataEthereumToken) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_create_automatic_tokens_forwarding_ri.go b/model_create_automatic_tokens_forwarding_ri.go index 8a49119..3836182 100644 --- a/model_create_automatic_tokens_forwarding_ri.go +++ b/model_create_automatic_tokens_forwarding_ri.go @@ -17,7 +17,7 @@ import ( // CreateAutomaticTokensForwardingRI struct for CreateAutomaticTokensForwardingRI type CreateAutomaticTokensForwardingRI struct { - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -78,7 +78,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -102,7 +102,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetConfirmationsCount() int32 { // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -126,7 +126,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -150,7 +150,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetFeeAddress() string { // GetFeeAddressOk returns a tuple with the FeeAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetFeeAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeeAddress, true @@ -174,7 +174,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -198,7 +198,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -222,7 +222,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetMinimumTransferAmount() string { // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -246,7 +246,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -270,7 +270,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -294,7 +294,7 @@ func (o *CreateAutomaticTokensForwardingRI) GetTokenData() CreateAutomaticTokens // GetTokenDataOk returns a tuple with the TokenData field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRI) GetTokenDataOk() (*CreateAutomaticTokensForwardingRITS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenData, true diff --git a/model_create_automatic_tokens_forwarding_rits.go b/model_create_automatic_tokens_forwarding_rits.go index f75401b..84e1a1e 100644 --- a/model_create_automatic_tokens_forwarding_rits.go +++ b/model_create_automatic_tokens_forwarding_rits.go @@ -24,12 +24,16 @@ type CreateAutomaticTokensForwardingRITS struct { // CreateAutomaticTokensForwardingRITSBOTAsCreateAutomaticTokensForwardingRITS is a convenience function that returns CreateAutomaticTokensForwardingRITSBOT wrapped in CreateAutomaticTokensForwardingRITS func CreateAutomaticTokensForwardingRITSBOTAsCreateAutomaticTokensForwardingRITS(v *CreateAutomaticTokensForwardingRITSBOT) CreateAutomaticTokensForwardingRITS { - return CreateAutomaticTokensForwardingRITS{ CreateAutomaticTokensForwardingRITSBOT: v} + return CreateAutomaticTokensForwardingRITS{ + CreateAutomaticTokensForwardingRITSBOT: v, + } } // CreateAutomaticTokensForwardingRITSETAsCreateAutomaticTokensForwardingRITS is a convenience function that returns CreateAutomaticTokensForwardingRITSET wrapped in CreateAutomaticTokensForwardingRITS func CreateAutomaticTokensForwardingRITSETAsCreateAutomaticTokensForwardingRITS(v *CreateAutomaticTokensForwardingRITSET) CreateAutomaticTokensForwardingRITS { - return CreateAutomaticTokensForwardingRITS{ CreateAutomaticTokensForwardingRITSET: v} + return CreateAutomaticTokensForwardingRITS{ + CreateAutomaticTokensForwardingRITSET: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateAutomaticTokensForwardingRITS) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into CreateAutomaticTokensForwardingRITSBOT - err = json.Unmarshal(data, &dst.CreateAutomaticTokensForwardingRITSBOT) + err = newStrictDecoder(data).Decode(&dst.CreateAutomaticTokensForwardingRITSBOT) if err == nil { jsonCreateAutomaticTokensForwardingRITSBOT, _ := json.Marshal(dst.CreateAutomaticTokensForwardingRITSBOT) if string(jsonCreateAutomaticTokensForwardingRITSBOT) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateAutomaticTokensForwardingRITS) UnmarshalJSON(data []byte) error } // try to unmarshal data into CreateAutomaticTokensForwardingRITSET - err = json.Unmarshal(data, &dst.CreateAutomaticTokensForwardingRITSET) + err = newStrictDecoder(data).Decode(&dst.CreateAutomaticTokensForwardingRITSET) if err == nil { jsonCreateAutomaticTokensForwardingRITSET, _ := json.Marshal(dst.CreateAutomaticTokensForwardingRITSET) if string(jsonCreateAutomaticTokensForwardingRITSET) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateAutomaticTokensForwardingRITS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *CreateAutomaticTokensForwardingRITS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.CreateAutomaticTokensForwardingRITSBOT != nil { return obj.CreateAutomaticTokensForwardingRITSBOT } diff --git a/model_create_automatic_tokens_forwarding_ritsbot.go b/model_create_automatic_tokens_forwarding_ritsbot.go index fc3d061..a0a6395 100644 --- a/model_create_automatic_tokens_forwarding_ritsbot.go +++ b/model_create_automatic_tokens_forwarding_ritsbot.go @@ -52,7 +52,7 @@ func (o *CreateAutomaticTokensForwardingRITSBOT) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRITSBOT) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true diff --git a/model_create_automatic_tokens_forwarding_ritset.go b/model_create_automatic_tokens_forwarding_ritset.go index 3381019..b453cd8 100644 --- a/model_create_automatic_tokens_forwarding_ritset.go +++ b/model_create_automatic_tokens_forwarding_ritset.go @@ -52,7 +52,7 @@ func (o *CreateAutomaticTokensForwardingRITSET) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *CreateAutomaticTokensForwardingRITSET) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_create_coins_transaction_from_address_for_whole_amount_e400.go b/model_create_coins_transaction_from_address_for_whole_amount_e400.go index 39543ae..ba2469a 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_e400.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_e400.go @@ -25,17 +25,23 @@ type CreateCoinsTransactionFromAddressForWholeAmountE400 struct { // InvalidPaginationAsCreateCoinsTransactionFromAddressForWholeAmountE400 is a convenience function that returns InvalidPagination wrapped in CreateCoinsTransactionFromAddressForWholeAmountE400 func InvalidPaginationAsCreateCoinsTransactionFromAddressForWholeAmountE400(v *InvalidPagination) CreateCoinsTransactionFromAddressForWholeAmountE400 { - return CreateCoinsTransactionFromAddressForWholeAmountE400{ InvalidPagination: v} + return CreateCoinsTransactionFromAddressForWholeAmountE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsCreateCoinsTransactionFromAddressForWholeAmountE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in CreateCoinsTransactionFromAddressForWholeAmountE400 func LimitGreaterThanAllowedAsCreateCoinsTransactionFromAddressForWholeAmountE400(v *LimitGreaterThanAllowed) CreateCoinsTransactionFromAddressForWholeAmountE400 { - return CreateCoinsTransactionFromAddressForWholeAmountE400{ LimitGreaterThanAllowed: v} + return CreateCoinsTransactionFromAddressForWholeAmountE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsCreateCoinsTransactionFromAddressForWholeAmountE400 is a convenience function that returns UriNotFound wrapped in CreateCoinsTransactionFromAddressForWholeAmountE400 func UriNotFoundAsCreateCoinsTransactionFromAddressForWholeAmountE400(v *UriNotFound) CreateCoinsTransactionFromAddressForWholeAmountE400 { - return CreateCoinsTransactionFromAddressForWholeAmountE400{ UriNotFound: v} + return CreateCoinsTransactionFromAddressForWholeAmountE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE400) UnmarshalJSON(da var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE400) UnmarshalJSON(da } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE400) UnmarshalJSON(da } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src CreateCoinsTransactionFromAddressForWholeAmountE400) MarshalJSON() ([] // Get the actual instance func (obj *CreateCoinsTransactionFromAddressForWholeAmountE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_create_coins_transaction_from_address_for_whole_amount_e401.go b/model_create_coins_transaction_from_address_for_whole_amount_e401.go index 5341d1a..d89f04f 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_e401.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_e401.go @@ -24,12 +24,16 @@ type CreateCoinsTransactionFromAddressForWholeAmountE401 struct { // InvalidApiKeyAsCreateCoinsTransactionFromAddressForWholeAmountE401 is a convenience function that returns InvalidApiKey wrapped in CreateCoinsTransactionFromAddressForWholeAmountE401 func InvalidApiKeyAsCreateCoinsTransactionFromAddressForWholeAmountE401(v *InvalidApiKey) CreateCoinsTransactionFromAddressForWholeAmountE401 { - return CreateCoinsTransactionFromAddressForWholeAmountE401{ InvalidApiKey: v} + return CreateCoinsTransactionFromAddressForWholeAmountE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsCreateCoinsTransactionFromAddressForWholeAmountE401 is a convenience function that returns MissingApiKey wrapped in CreateCoinsTransactionFromAddressForWholeAmountE401 func MissingApiKeyAsCreateCoinsTransactionFromAddressForWholeAmountE401(v *MissingApiKey) CreateCoinsTransactionFromAddressForWholeAmountE401 { - return CreateCoinsTransactionFromAddressForWholeAmountE401{ MissingApiKey: v} + return CreateCoinsTransactionFromAddressForWholeAmountE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE401) UnmarshalJSON(da var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE401) UnmarshalJSON(da } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateCoinsTransactionFromAddressForWholeAmountE401) MarshalJSON() ([] // Get the actual instance func (obj *CreateCoinsTransactionFromAddressForWholeAmountE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_create_coins_transaction_from_address_for_whole_amount_e403.go b/model_create_coins_transaction_from_address_for_whole_amount_e403.go index d5d6cdd..0483d05 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_e403.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_e403.go @@ -26,22 +26,30 @@ type CreateCoinsTransactionFromAddressForWholeAmountE403 struct { // BannedIpAddressAsCreateCoinsTransactionFromAddressForWholeAmountE403 is a convenience function that returns BannedIpAddress wrapped in CreateCoinsTransactionFromAddressForWholeAmountE403 func BannedIpAddressAsCreateCoinsTransactionFromAddressForWholeAmountE403(v *BannedIpAddress) CreateCoinsTransactionFromAddressForWholeAmountE403 { - return CreateCoinsTransactionFromAddressForWholeAmountE403{ BannedIpAddress: v} + return CreateCoinsTransactionFromAddressForWholeAmountE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsCreateCoinsTransactionFromAddressForWholeAmountE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in CreateCoinsTransactionFromAddressForWholeAmountE403 func EndpointNotAllowedForApiKeyAsCreateCoinsTransactionFromAddressForWholeAmountE403(v *EndpointNotAllowedForApiKey) CreateCoinsTransactionFromAddressForWholeAmountE403 { - return CreateCoinsTransactionFromAddressForWholeAmountE403{ EndpointNotAllowedForApiKey: v} + return CreateCoinsTransactionFromAddressForWholeAmountE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsCreateCoinsTransactionFromAddressForWholeAmountE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in CreateCoinsTransactionFromAddressForWholeAmountE403 func EndpointNotAllowedForPlanAsCreateCoinsTransactionFromAddressForWholeAmountE403(v *EndpointNotAllowedForPlan) CreateCoinsTransactionFromAddressForWholeAmountE403 { - return CreateCoinsTransactionFromAddressForWholeAmountE403{ EndpointNotAllowedForPlan: v} + return CreateCoinsTransactionFromAddressForWholeAmountE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsCreateCoinsTransactionFromAddressForWholeAmountE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in CreateCoinsTransactionFromAddressForWholeAmountE403 func FeatureMainnetsNotAllowedForPlanAsCreateCoinsTransactionFromAddressForWholeAmountE403(v *FeatureMainnetsNotAllowedForPlan) CreateCoinsTransactionFromAddressForWholeAmountE403 { - return CreateCoinsTransactionFromAddressForWholeAmountE403{ FeatureMainnetsNotAllowedForPlan: v} + return CreateCoinsTransactionFromAddressForWholeAmountE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE403) UnmarshalJSON(da var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE403) UnmarshalJSON(da } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE403) UnmarshalJSON(da } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE403) UnmarshalJSON(da } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src CreateCoinsTransactionFromAddressForWholeAmountE403) MarshalJSON() ([] // Get the actual instance func (obj *CreateCoinsTransactionFromAddressForWholeAmountE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_create_coins_transaction_from_address_for_whole_amount_e409.go b/model_create_coins_transaction_from_address_for_whole_amount_e409.go index 28a3f6a..7963b1d 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_e409.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_e409.go @@ -25,17 +25,23 @@ type CreateCoinsTransactionFromAddressForWholeAmountE409 struct { // InvalidDataAsCreateCoinsTransactionFromAddressForWholeAmountE409 is a convenience function that returns InvalidData wrapped in CreateCoinsTransactionFromAddressForWholeAmountE409 func InvalidDataAsCreateCoinsTransactionFromAddressForWholeAmountE409(v *InvalidData) CreateCoinsTransactionFromAddressForWholeAmountE409 { - return CreateCoinsTransactionFromAddressForWholeAmountE409{ InvalidData: v} + return CreateCoinsTransactionFromAddressForWholeAmountE409{ + InvalidData: v, + } } // WalletAsAServiceAddressBalanceNotEnoughAsCreateCoinsTransactionFromAddressForWholeAmountE409 is a convenience function that returns WalletAsAServiceAddressBalanceNotEnough wrapped in CreateCoinsTransactionFromAddressForWholeAmountE409 func WalletAsAServiceAddressBalanceNotEnoughAsCreateCoinsTransactionFromAddressForWholeAmountE409(v *WalletAsAServiceAddressBalanceNotEnough) CreateCoinsTransactionFromAddressForWholeAmountE409 { - return CreateCoinsTransactionFromAddressForWholeAmountE409{ WalletAsAServiceAddressBalanceNotEnough: v} + return CreateCoinsTransactionFromAddressForWholeAmountE409{ + WalletAsAServiceAddressBalanceNotEnough: v, + } } // WalletAsAServiceWalletBalanceNotEnoughAsCreateCoinsTransactionFromAddressForWholeAmountE409 is a convenience function that returns WalletAsAServiceWalletBalanceNotEnough wrapped in CreateCoinsTransactionFromAddressForWholeAmountE409 func WalletAsAServiceWalletBalanceNotEnoughAsCreateCoinsTransactionFromAddressForWholeAmountE409(v *WalletAsAServiceWalletBalanceNotEnough) CreateCoinsTransactionFromAddressForWholeAmountE409 { - return CreateCoinsTransactionFromAddressForWholeAmountE409{ WalletAsAServiceWalletBalanceNotEnough: v} + return CreateCoinsTransactionFromAddressForWholeAmountE409{ + WalletAsAServiceWalletBalanceNotEnough: v, + } } @@ -44,7 +50,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE409) UnmarshalJSON(da var err error match := 0 // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE409) UnmarshalJSON(da } // try to unmarshal data into WalletAsAServiceAddressBalanceNotEnough - err = json.Unmarshal(data, &dst.WalletAsAServiceAddressBalanceNotEnough) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceAddressBalanceNotEnough) if err == nil { jsonWalletAsAServiceAddressBalanceNotEnough, _ := json.Marshal(dst.WalletAsAServiceAddressBalanceNotEnough) if string(jsonWalletAsAServiceAddressBalanceNotEnough) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *CreateCoinsTransactionFromAddressForWholeAmountE409) UnmarshalJSON(da } // try to unmarshal data into WalletAsAServiceWalletBalanceNotEnough - err = json.Unmarshal(data, &dst.WalletAsAServiceWalletBalanceNotEnough) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceWalletBalanceNotEnough) if err == nil { jsonWalletAsAServiceWalletBalanceNotEnough, _ := json.Marshal(dst.WalletAsAServiceWalletBalanceNotEnough) if string(jsonWalletAsAServiceWalletBalanceNotEnough) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src CreateCoinsTransactionFromAddressForWholeAmountE409) MarshalJSON() ([] // Get the actual instance func (obj *CreateCoinsTransactionFromAddressForWholeAmountE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidData != nil { return obj.InvalidData } diff --git a/model_create_coins_transaction_from_address_for_whole_amount_r.go b/model_create_coins_transaction_from_address_for_whole_amount_r.go index 2de12c5..7abec77 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_r.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_r.go @@ -59,7 +59,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountR) GetApiVersion() strin // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountR) GetRequestId() string // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountR) GetData() CreateCoins // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountR) GetDataOk() (*CreateCoinsTransactionFromAddressForWholeAmountRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_coins_transaction_from_address_for_whole_amount_r_data.go b/model_create_coins_transaction_from_address_for_whole_amount_r_data.go index 1df8afd..2a00daa 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_r_data.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_r_data.go @@ -51,7 +51,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRData) GetItem() CreateC // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRData) GetItemOk() (*CreateCoinsTransactionFromAddressForWholeAmountRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_coins_transaction_from_address_for_whole_amount_rb.go b/model_create_coins_transaction_from_address_for_whole_amount_rb.go index 6aa0e63..881f672 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_rb.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_rb.go @@ -85,7 +85,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRB) GetData() CreateCoin // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRB) GetDataOk() (*CreateCoinsTransactionFromAddressForWholeAmountRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_coins_transaction_from_address_for_whole_amount_rb_data.go b/model_create_coins_transaction_from_address_for_whole_amount_rb_data.go index 1577fe0..af65c48 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_rb_data.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_rb_data.go @@ -51,7 +51,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRBData) GetItem() Create // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRBData) GetItemOk() (*CreateCoinsTransactionFromAddressForWholeAmountRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_coins_transaction_from_address_for_whole_amount_rb_data_item.go b/model_create_coins_transaction_from_address_for_whole_amount_rb_data_item.go index e07fa68..a2173e1 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_rb_data_item.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_rb_data_item.go @@ -19,7 +19,7 @@ import ( type CreateCoinsTransactionFromAddressForWholeAmountRBDataItem struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl *string `json:"callbackUrl,omitempty"` // Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". FeePriority string `json:"feePriority"` @@ -125,7 +125,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRBDataItem) GetFeePriori // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRBDataItem) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -181,7 +181,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRBDataItem) GetRecipient // GetRecipientAddressOk returns a tuple with the RecipientAddress field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRBDataItem) GetRecipientAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RecipientAddress, true diff --git a/model_create_coins_transaction_from_address_for_whole_amount_ri.go b/model_create_coins_transaction_from_address_for_whole_amount_ri.go index f58c369..417aba5 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_ri.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_ri.go @@ -19,7 +19,7 @@ import ( type CreateCoinsTransactionFromAddressForWholeAmountRI struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl *string `json:"callbackUrl,omitempty"` // Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". FeePriority string `json:"feePriority"` @@ -133,7 +133,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetFeePriority() str // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -188,11 +188,11 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetRecipients() []Cr // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetRecipientsOk() (*[]CreateCoinsTransactionFromAddressForWholeAmountRIRecipients, bool) { - if o == nil { +func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetRecipientsOk() ([]CreateCoinsTransactionFromAddressForWholeAmountRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -213,7 +213,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetSenders() CreateC // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetSendersOk() (*CreateCoinsTransactionFromAddressForWholeAmountRISenders, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Senders, true @@ -237,7 +237,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetTransactionReques // GetTransactionRequestIdOk returns a tuple with the TransactionRequestId field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetTransactionRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionRequestId, true @@ -261,7 +261,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetTransactionReques // GetTransactionRequestStatusOk returns a tuple with the TransactionRequestStatus field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRI) GetTransactionRequestStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionRequestStatus, true diff --git a/model_create_coins_transaction_from_address_for_whole_amount_ri_recipients.go b/model_create_coins_transaction_from_address_for_whole_amount_ri_recipients.go index 0efdca7..47530d7 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_ri_recipients.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_ri_recipients.go @@ -55,7 +55,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRIRecipients) GetAddress // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRIRecipients) GetAmount( // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_create_coins_transaction_from_address_for_whole_amount_ri_senders.go b/model_create_coins_transaction_from_address_for_whole_amount_ri_senders.go index 668b90f..6762fc9 100644 --- a/model_create_coins_transaction_from_address_for_whole_amount_ri_senders.go +++ b/model_create_coins_transaction_from_address_for_whole_amount_ri_senders.go @@ -52,7 +52,7 @@ func (o *CreateCoinsTransactionFromAddressForWholeAmountRISenders) GetAddress() // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionFromAddressForWholeAmountRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true diff --git a/model_create_coins_transaction_request_from_address_e400.go b/model_create_coins_transaction_request_from_address_e400.go index e82253c..3d15805 100644 --- a/model_create_coins_transaction_request_from_address_e400.go +++ b/model_create_coins_transaction_request_from_address_e400.go @@ -25,17 +25,23 @@ type CreateCoinsTransactionRequestFromAddressE400 struct { // InvalidPaginationAsCreateCoinsTransactionRequestFromAddressE400 is a convenience function that returns InvalidPagination wrapped in CreateCoinsTransactionRequestFromAddressE400 func InvalidPaginationAsCreateCoinsTransactionRequestFromAddressE400(v *InvalidPagination) CreateCoinsTransactionRequestFromAddressE400 { - return CreateCoinsTransactionRequestFromAddressE400{ InvalidPagination: v} + return CreateCoinsTransactionRequestFromAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsCreateCoinsTransactionRequestFromAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in CreateCoinsTransactionRequestFromAddressE400 func LimitGreaterThanAllowedAsCreateCoinsTransactionRequestFromAddressE400(v *LimitGreaterThanAllowed) CreateCoinsTransactionRequestFromAddressE400 { - return CreateCoinsTransactionRequestFromAddressE400{ LimitGreaterThanAllowed: v} + return CreateCoinsTransactionRequestFromAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsCreateCoinsTransactionRequestFromAddressE400 is a convenience function that returns UriNotFound wrapped in CreateCoinsTransactionRequestFromAddressE400 func UriNotFoundAsCreateCoinsTransactionRequestFromAddressE400(v *UriNotFound) CreateCoinsTransactionRequestFromAddressE400 { - return CreateCoinsTransactionRequestFromAddressE400{ UriNotFound: v} + return CreateCoinsTransactionRequestFromAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE400) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE400) UnmarshalJSON(data []by } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE400) UnmarshalJSON(data []by } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src CreateCoinsTransactionRequestFromAddressE400) MarshalJSON() ([]byte, e // Get the actual instance func (obj *CreateCoinsTransactionRequestFromAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_create_coins_transaction_request_from_address_e401.go b/model_create_coins_transaction_request_from_address_e401.go index 8361524..fb82583 100644 --- a/model_create_coins_transaction_request_from_address_e401.go +++ b/model_create_coins_transaction_request_from_address_e401.go @@ -24,12 +24,16 @@ type CreateCoinsTransactionRequestFromAddressE401 struct { // InvalidApiKeyAsCreateCoinsTransactionRequestFromAddressE401 is a convenience function that returns InvalidApiKey wrapped in CreateCoinsTransactionRequestFromAddressE401 func InvalidApiKeyAsCreateCoinsTransactionRequestFromAddressE401(v *InvalidApiKey) CreateCoinsTransactionRequestFromAddressE401 { - return CreateCoinsTransactionRequestFromAddressE401{ InvalidApiKey: v} + return CreateCoinsTransactionRequestFromAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsCreateCoinsTransactionRequestFromAddressE401 is a convenience function that returns MissingApiKey wrapped in CreateCoinsTransactionRequestFromAddressE401 func MissingApiKeyAsCreateCoinsTransactionRequestFromAddressE401(v *MissingApiKey) CreateCoinsTransactionRequestFromAddressE401 { - return CreateCoinsTransactionRequestFromAddressE401{ MissingApiKey: v} + return CreateCoinsTransactionRequestFromAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE401) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE401) UnmarshalJSON(data []by } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateCoinsTransactionRequestFromAddressE401) MarshalJSON() ([]byte, e // Get the actual instance func (obj *CreateCoinsTransactionRequestFromAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_create_coins_transaction_request_from_address_e403.go b/model_create_coins_transaction_request_from_address_e403.go index cfca4b1..2fe1adc 100644 --- a/model_create_coins_transaction_request_from_address_e403.go +++ b/model_create_coins_transaction_request_from_address_e403.go @@ -26,22 +26,30 @@ type CreateCoinsTransactionRequestFromAddressE403 struct { // BannedIpAddressAsCreateCoinsTransactionRequestFromAddressE403 is a convenience function that returns BannedIpAddress wrapped in CreateCoinsTransactionRequestFromAddressE403 func BannedIpAddressAsCreateCoinsTransactionRequestFromAddressE403(v *BannedIpAddress) CreateCoinsTransactionRequestFromAddressE403 { - return CreateCoinsTransactionRequestFromAddressE403{ BannedIpAddress: v} + return CreateCoinsTransactionRequestFromAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsCreateCoinsTransactionRequestFromAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in CreateCoinsTransactionRequestFromAddressE403 func EndpointNotAllowedForApiKeyAsCreateCoinsTransactionRequestFromAddressE403(v *EndpointNotAllowedForApiKey) CreateCoinsTransactionRequestFromAddressE403 { - return CreateCoinsTransactionRequestFromAddressE403{ EndpointNotAllowedForApiKey: v} + return CreateCoinsTransactionRequestFromAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsCreateCoinsTransactionRequestFromAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in CreateCoinsTransactionRequestFromAddressE403 func EndpointNotAllowedForPlanAsCreateCoinsTransactionRequestFromAddressE403(v *EndpointNotAllowedForPlan) CreateCoinsTransactionRequestFromAddressE403 { - return CreateCoinsTransactionRequestFromAddressE403{ EndpointNotAllowedForPlan: v} + return CreateCoinsTransactionRequestFromAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsCreateCoinsTransactionRequestFromAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in CreateCoinsTransactionRequestFromAddressE403 func FeatureMainnetsNotAllowedForPlanAsCreateCoinsTransactionRequestFromAddressE403(v *FeatureMainnetsNotAllowedForPlan) CreateCoinsTransactionRequestFromAddressE403 { - return CreateCoinsTransactionRequestFromAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return CreateCoinsTransactionRequestFromAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE403) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE403) UnmarshalJSON(data []by } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE403) UnmarshalJSON(data []by } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE403) UnmarshalJSON(data []by } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src CreateCoinsTransactionRequestFromAddressE403) MarshalJSON() ([]byte, e // Get the actual instance func (obj *CreateCoinsTransactionRequestFromAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_create_coins_transaction_request_from_address_e409.go b/model_create_coins_transaction_request_from_address_e409.go index 60023dc..09c30f0 100644 --- a/model_create_coins_transaction_request_from_address_e409.go +++ b/model_create_coins_transaction_request_from_address_e409.go @@ -25,17 +25,23 @@ type CreateCoinsTransactionRequestFromAddressE409 struct { // InvalidDataAsCreateCoinsTransactionRequestFromAddressE409 is a convenience function that returns InvalidData wrapped in CreateCoinsTransactionRequestFromAddressE409 func InvalidDataAsCreateCoinsTransactionRequestFromAddressE409(v *InvalidData) CreateCoinsTransactionRequestFromAddressE409 { - return CreateCoinsTransactionRequestFromAddressE409{ InvalidData: v} + return CreateCoinsTransactionRequestFromAddressE409{ + InvalidData: v, + } } // WalletAsAServiceAddressBalanceNotEnoughAsCreateCoinsTransactionRequestFromAddressE409 is a convenience function that returns WalletAsAServiceAddressBalanceNotEnough wrapped in CreateCoinsTransactionRequestFromAddressE409 func WalletAsAServiceAddressBalanceNotEnoughAsCreateCoinsTransactionRequestFromAddressE409(v *WalletAsAServiceAddressBalanceNotEnough) CreateCoinsTransactionRequestFromAddressE409 { - return CreateCoinsTransactionRequestFromAddressE409{ WalletAsAServiceAddressBalanceNotEnough: v} + return CreateCoinsTransactionRequestFromAddressE409{ + WalletAsAServiceAddressBalanceNotEnough: v, + } } // WalletAsAServiceWalletBalanceNotEnoughAsCreateCoinsTransactionRequestFromAddressE409 is a convenience function that returns WalletAsAServiceWalletBalanceNotEnough wrapped in CreateCoinsTransactionRequestFromAddressE409 func WalletAsAServiceWalletBalanceNotEnoughAsCreateCoinsTransactionRequestFromAddressE409(v *WalletAsAServiceWalletBalanceNotEnough) CreateCoinsTransactionRequestFromAddressE409 { - return CreateCoinsTransactionRequestFromAddressE409{ WalletAsAServiceWalletBalanceNotEnough: v} + return CreateCoinsTransactionRequestFromAddressE409{ + WalletAsAServiceWalletBalanceNotEnough: v, + } } @@ -44,7 +50,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE409) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE409) UnmarshalJSON(data []by } // try to unmarshal data into WalletAsAServiceAddressBalanceNotEnough - err = json.Unmarshal(data, &dst.WalletAsAServiceAddressBalanceNotEnough) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceAddressBalanceNotEnough) if err == nil { jsonWalletAsAServiceAddressBalanceNotEnough, _ := json.Marshal(dst.WalletAsAServiceAddressBalanceNotEnough) if string(jsonWalletAsAServiceAddressBalanceNotEnough) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *CreateCoinsTransactionRequestFromAddressE409) UnmarshalJSON(data []by } // try to unmarshal data into WalletAsAServiceWalletBalanceNotEnough - err = json.Unmarshal(data, &dst.WalletAsAServiceWalletBalanceNotEnough) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceWalletBalanceNotEnough) if err == nil { jsonWalletAsAServiceWalletBalanceNotEnough, _ := json.Marshal(dst.WalletAsAServiceWalletBalanceNotEnough) if string(jsonWalletAsAServiceWalletBalanceNotEnough) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src CreateCoinsTransactionRequestFromAddressE409) MarshalJSON() ([]byte, e // Get the actual instance func (obj *CreateCoinsTransactionRequestFromAddressE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidData != nil { return obj.InvalidData } diff --git a/model_create_coins_transaction_request_from_address_r.go b/model_create_coins_transaction_request_from_address_r.go index 8be4a58..03b6d7a 100644 --- a/model_create_coins_transaction_request_from_address_r.go +++ b/model_create_coins_transaction_request_from_address_r.go @@ -59,7 +59,7 @@ func (o *CreateCoinsTransactionRequestFromAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *CreateCoinsTransactionRequestFromAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *CreateCoinsTransactionRequestFromAddressR) GetData() CreateCoinsTransac // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressR) GetDataOk() (*CreateCoinsTransactionRequestFromAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_coins_transaction_request_from_address_r_data.go b/model_create_coins_transaction_request_from_address_r_data.go index 08f96ed..63c2b7f 100644 --- a/model_create_coins_transaction_request_from_address_r_data.go +++ b/model_create_coins_transaction_request_from_address_r_data.go @@ -51,7 +51,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRData) GetItem() CreateCoinsTra // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRData) GetItemOk() (*CreateCoinsTransactionRequestFromAddressRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_coins_transaction_request_from_address_rb.go b/model_create_coins_transaction_request_from_address_rb.go index 0d56ed3..9347da0 100644 --- a/model_create_coins_transaction_request_from_address_rb.go +++ b/model_create_coins_transaction_request_from_address_rb.go @@ -85,7 +85,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRB) GetData() CreateCoinsTransa // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRB) GetDataOk() (*CreateCoinsTransactionRequestFromAddressRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_coins_transaction_request_from_address_rb_data.go b/model_create_coins_transaction_request_from_address_rb_data.go index 6388efd..8eaa145 100644 --- a/model_create_coins_transaction_request_from_address_rb_data.go +++ b/model_create_coins_transaction_request_from_address_rb_data.go @@ -51,7 +51,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRBData) GetItem() CreateCoinsTr // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRBData) GetItemOk() (*CreateCoinsTransactionRequestFromAddressRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_coins_transaction_request_from_address_rb_data_item.go b/model_create_coins_transaction_request_from_address_rb_data_item.go index 7171458..53c2331 100644 --- a/model_create_coins_transaction_request_from_address_rb_data_item.go +++ b/model_create_coins_transaction_request_from_address_rb_data_item.go @@ -21,13 +21,13 @@ type CreateCoinsTransactionRequestFromAddressRBDataItem struct { Amount string `json:"amount"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl *string `json:"callbackUrl,omitempty"` // Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". FeePriority string `json:"feePriority"` // Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. Note *string `json:"note,omitempty"` - // Defines the specific recipient address for the transaction. + // Defines the specific recipient address for the transaction. For XRP we also support the X-address format. RecipientAddress string `json:"recipientAddress"` } @@ -64,7 +64,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRBDataItem) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRBDataItem) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -152,7 +152,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRBDataItem) GetFeePriority() st // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRBDataItem) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -208,7 +208,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRBDataItem) GetRecipientAddress // GetRecipientAddressOk returns a tuple with the RecipientAddress field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRBDataItem) GetRecipientAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RecipientAddress, true diff --git a/model_create_coins_transaction_request_from_address_ri.go b/model_create_coins_transaction_request_from_address_ri.go index 38e777a..78c8faf 100644 --- a/model_create_coins_transaction_request_from_address_ri.go +++ b/model_create_coins_transaction_request_from_address_ri.go @@ -17,10 +17,14 @@ import ( // CreateCoinsTransactionRequestFromAddressRI struct for CreateCoinsTransactionRequestFromAddressRI type CreateCoinsTransactionRequestFromAddressRI struct { + // Defines a specific Tag that is an additional XRP address feature. It helps identify a transaction recipient beyond a wallet address. The tag that was encoded into the x-Address along with the Source Classic Address. + AddressTag *int32 `json:"addressTag,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl *string `json:"callbackUrl,omitempty"` + // Represents the public address, which is a compressed and shortened form of a public key. The classic address is shown when the source address is an x-Address. + ClassicAddress *string `json:"classicAddress,omitempty"` // Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". FeePriority string `json:"feePriority"` // Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request. @@ -56,6 +60,38 @@ func NewCreateCoinsTransactionRequestFromAddressRIWithDefaults() *CreateCoinsTra return &this } +// GetAddressTag returns the AddressTag field value if set, zero value otherwise. +func (o *CreateCoinsTransactionRequestFromAddressRI) GetAddressTag() int32 { + if o == nil || o.AddressTag == nil { + var ret int32 + return ret + } + return *o.AddressTag +} + +// GetAddressTagOk returns a tuple with the AddressTag field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateCoinsTransactionRequestFromAddressRI) GetAddressTagOk() (*int32, bool) { + if o == nil || o.AddressTag == nil { + return nil, false + } + return o.AddressTag, true +} + +// HasAddressTag returns a boolean if a field has been set. +func (o *CreateCoinsTransactionRequestFromAddressRI) HasAddressTag() bool { + if o != nil && o.AddressTag != nil { + return true + } + + return false +} + +// SetAddressTag gets a reference to the given int32 and assigns it to the AddressTag field. +func (o *CreateCoinsTransactionRequestFromAddressRI) SetAddressTag(v int32) { + o.AddressTag = &v +} + // GetCallbackSecretKey returns the CallbackSecretKey field value if set, zero value otherwise. func (o *CreateCoinsTransactionRequestFromAddressRI) GetCallbackSecretKey() string { if o == nil || o.CallbackSecretKey == nil { @@ -120,6 +156,38 @@ func (o *CreateCoinsTransactionRequestFromAddressRI) SetCallbackUrl(v string) { o.CallbackUrl = &v } +// GetClassicAddress returns the ClassicAddress field value if set, zero value otherwise. +func (o *CreateCoinsTransactionRequestFromAddressRI) GetClassicAddress() string { + if o == nil || o.ClassicAddress == nil { + var ret string + return ret + } + return *o.ClassicAddress +} + +// GetClassicAddressOk returns a tuple with the ClassicAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateCoinsTransactionRequestFromAddressRI) GetClassicAddressOk() (*string, bool) { + if o == nil || o.ClassicAddress == nil { + return nil, false + } + return o.ClassicAddress, true +} + +// HasClassicAddress returns a boolean if a field has been set. +func (o *CreateCoinsTransactionRequestFromAddressRI) HasClassicAddress() bool { + if o != nil && o.ClassicAddress != nil { + return true + } + + return false +} + +// SetClassicAddress gets a reference to the given string and assigns it to the ClassicAddress field. +func (o *CreateCoinsTransactionRequestFromAddressRI) SetClassicAddress(v string) { + o.ClassicAddress = &v +} + // GetFeePriority returns the FeePriority field value func (o *CreateCoinsTransactionRequestFromAddressRI) GetFeePriority() string { if o == nil { @@ -133,7 +201,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -188,11 +256,11 @@ func (o *CreateCoinsTransactionRequestFromAddressRI) GetRecipients() []CreateCoi // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *CreateCoinsTransactionRequestFromAddressRI) GetRecipientsOk() (*[]CreateCoinsTransactionRequestFromAddressRIRecipients, bool) { - if o == nil { +func (o *CreateCoinsTransactionRequestFromAddressRI) GetRecipientsOk() ([]CreateCoinsTransactionRequestFromAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -213,7 +281,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRI) GetSenders() CreateCoinsTra // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRI) GetSendersOk() (*CreateCoinsTransactionRequestFromAddressRISenders, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Senders, true @@ -237,7 +305,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRI) GetTransactionRequestId() s // GetTransactionRequestIdOk returns a tuple with the TransactionRequestId field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRI) GetTransactionRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionRequestId, true @@ -261,7 +329,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRI) GetTransactionRequestStatus // GetTransactionRequestStatusOk returns a tuple with the TransactionRequestStatus field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRI) GetTransactionRequestStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionRequestStatus, true @@ -274,12 +342,18 @@ func (o *CreateCoinsTransactionRequestFromAddressRI) SetTransactionRequestStatus func (o CreateCoinsTransactionRequestFromAddressRI) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} + if o.AddressTag != nil { + toSerialize["addressTag"] = o.AddressTag + } if o.CallbackSecretKey != nil { toSerialize["callbackSecretKey"] = o.CallbackSecretKey } if o.CallbackUrl != nil { toSerialize["callbackUrl"] = o.CallbackUrl } + if o.ClassicAddress != nil { + toSerialize["classicAddress"] = o.ClassicAddress + } if true { toSerialize["feePriority"] = o.FeePriority } diff --git a/model_create_coins_transaction_request_from_address_ri_recipients.go b/model_create_coins_transaction_request_from_address_ri_recipients.go index b5753ff..5c10071 100644 --- a/model_create_coins_transaction_request_from_address_ri_recipients.go +++ b/model_create_coins_transaction_request_from_address_ri_recipients.go @@ -19,8 +19,12 @@ import ( type CreateCoinsTransactionRequestFromAddressRIRecipients struct { // Defines the destination address. Address string `json:"address"` + // Defines a specific Tag that is an additional XRP address feature. It helps identify a transaction recipient beyond a wallet address. The tag that was encoded into the x-Address along with the Source Classic Address. + AddressTag *int32 `json:"addressTag,omitempty"` // Defines the amount sent to the destination address. Amount string `json:"amount"` + // Represents the public address, which is a compressed and shortened form of a public key. The classic address is shown when the source address is an x-Address. + ClassicAddress *string `json:"classicAddress,omitempty"` } // NewCreateCoinsTransactionRequestFromAddressRIRecipients instantiates a new CreateCoinsTransactionRequestFromAddressRIRecipients object @@ -55,7 +59,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAddress() stri // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -66,6 +70,38 @@ func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) SetAddress(v stri o.Address = v } +// GetAddressTag returns the AddressTag field value if set, zero value otherwise. +func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAddressTag() int32 { + if o == nil || o.AddressTag == nil { + var ret int32 + return ret + } + return *o.AddressTag +} + +// GetAddressTagOk returns a tuple with the AddressTag field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAddressTagOk() (*int32, bool) { + if o == nil || o.AddressTag == nil { + return nil, false + } + return o.AddressTag, true +} + +// HasAddressTag returns a boolean if a field has been set. +func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) HasAddressTag() bool { + if o != nil && o.AddressTag != nil { + return true + } + + return false +} + +// SetAddressTag gets a reference to the given int32 and assigns it to the AddressTag field. +func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) SetAddressTag(v int32) { + o.AddressTag = &v +} + // GetAmount returns the Amount field value func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAmount() string { if o == nil { @@ -79,7 +115,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAmount() strin // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -90,14 +126,52 @@ func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) SetAmount(v strin o.Amount = v } +// GetClassicAddress returns the ClassicAddress field value if set, zero value otherwise. +func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetClassicAddress() string { + if o == nil || o.ClassicAddress == nil { + var ret string + return ret + } + return *o.ClassicAddress +} + +// GetClassicAddressOk returns a tuple with the ClassicAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) GetClassicAddressOk() (*string, bool) { + if o == nil || o.ClassicAddress == nil { + return nil, false + } + return o.ClassicAddress, true +} + +// HasClassicAddress returns a boolean if a field has been set. +func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) HasClassicAddress() bool { + if o != nil && o.ClassicAddress != nil { + return true + } + + return false +} + +// SetClassicAddress gets a reference to the given string and assigns it to the ClassicAddress field. +func (o *CreateCoinsTransactionRequestFromAddressRIRecipients) SetClassicAddress(v string) { + o.ClassicAddress = &v +} + func (o CreateCoinsTransactionRequestFromAddressRIRecipients) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["address"] = o.Address } + if o.AddressTag != nil { + toSerialize["addressTag"] = o.AddressTag + } if true { toSerialize["amount"] = o.Amount } + if o.ClassicAddress != nil { + toSerialize["classicAddress"] = o.ClassicAddress + } return json.Marshal(toSerialize) } diff --git a/model_create_coins_transaction_request_from_address_ri_senders.go b/model_create_coins_transaction_request_from_address_ri_senders.go index 9ee884f..ee2c334 100644 --- a/model_create_coins_transaction_request_from_address_ri_senders.go +++ b/model_create_coins_transaction_request_from_address_ri_senders.go @@ -52,7 +52,7 @@ func (o *CreateCoinsTransactionRequestFromAddressRISenders) GetAddress() string // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromAddressRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true diff --git a/model_create_coins_transaction_request_from_wallet_e400.go b/model_create_coins_transaction_request_from_wallet_e400.go index 6d128b4..3301122 100644 --- a/model_create_coins_transaction_request_from_wallet_e400.go +++ b/model_create_coins_transaction_request_from_wallet_e400.go @@ -25,17 +25,23 @@ type CreateCoinsTransactionRequestFromWalletE400 struct { // InvalidPaginationAsCreateCoinsTransactionRequestFromWalletE400 is a convenience function that returns InvalidPagination wrapped in CreateCoinsTransactionRequestFromWalletE400 func InvalidPaginationAsCreateCoinsTransactionRequestFromWalletE400(v *InvalidPagination) CreateCoinsTransactionRequestFromWalletE400 { - return CreateCoinsTransactionRequestFromWalletE400{ InvalidPagination: v} + return CreateCoinsTransactionRequestFromWalletE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsCreateCoinsTransactionRequestFromWalletE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in CreateCoinsTransactionRequestFromWalletE400 func LimitGreaterThanAllowedAsCreateCoinsTransactionRequestFromWalletE400(v *LimitGreaterThanAllowed) CreateCoinsTransactionRequestFromWalletE400 { - return CreateCoinsTransactionRequestFromWalletE400{ LimitGreaterThanAllowed: v} + return CreateCoinsTransactionRequestFromWalletE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsCreateCoinsTransactionRequestFromWalletE400 is a convenience function that returns UriNotFound wrapped in CreateCoinsTransactionRequestFromWalletE400 func UriNotFoundAsCreateCoinsTransactionRequestFromWalletE400(v *UriNotFound) CreateCoinsTransactionRequestFromWalletE400 { - return CreateCoinsTransactionRequestFromWalletE400{ UriNotFound: v} + return CreateCoinsTransactionRequestFromWalletE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE400) UnmarshalJSON(data []byt var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE400) UnmarshalJSON(data []byt } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE400) UnmarshalJSON(data []byt } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src CreateCoinsTransactionRequestFromWalletE400) MarshalJSON() ([]byte, er // Get the actual instance func (obj *CreateCoinsTransactionRequestFromWalletE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_create_coins_transaction_request_from_wallet_e401.go b/model_create_coins_transaction_request_from_wallet_e401.go index 5c61c78..c51c44c 100644 --- a/model_create_coins_transaction_request_from_wallet_e401.go +++ b/model_create_coins_transaction_request_from_wallet_e401.go @@ -24,12 +24,16 @@ type CreateCoinsTransactionRequestFromWalletE401 struct { // InvalidApiKeyAsCreateCoinsTransactionRequestFromWalletE401 is a convenience function that returns InvalidApiKey wrapped in CreateCoinsTransactionRequestFromWalletE401 func InvalidApiKeyAsCreateCoinsTransactionRequestFromWalletE401(v *InvalidApiKey) CreateCoinsTransactionRequestFromWalletE401 { - return CreateCoinsTransactionRequestFromWalletE401{ InvalidApiKey: v} + return CreateCoinsTransactionRequestFromWalletE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsCreateCoinsTransactionRequestFromWalletE401 is a convenience function that returns MissingApiKey wrapped in CreateCoinsTransactionRequestFromWalletE401 func MissingApiKeyAsCreateCoinsTransactionRequestFromWalletE401(v *MissingApiKey) CreateCoinsTransactionRequestFromWalletE401 { - return CreateCoinsTransactionRequestFromWalletE401{ MissingApiKey: v} + return CreateCoinsTransactionRequestFromWalletE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE401) UnmarshalJSON(data []byt var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE401) UnmarshalJSON(data []byt } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateCoinsTransactionRequestFromWalletE401) MarshalJSON() ([]byte, er // Get the actual instance func (obj *CreateCoinsTransactionRequestFromWalletE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_create_coins_transaction_request_from_wallet_e403.go b/model_create_coins_transaction_request_from_wallet_e403.go index fc5cfce..23d0e35 100644 --- a/model_create_coins_transaction_request_from_wallet_e403.go +++ b/model_create_coins_transaction_request_from_wallet_e403.go @@ -26,22 +26,30 @@ type CreateCoinsTransactionRequestFromWalletE403 struct { // BannedIpAddressAsCreateCoinsTransactionRequestFromWalletE403 is a convenience function that returns BannedIpAddress wrapped in CreateCoinsTransactionRequestFromWalletE403 func BannedIpAddressAsCreateCoinsTransactionRequestFromWalletE403(v *BannedIpAddress) CreateCoinsTransactionRequestFromWalletE403 { - return CreateCoinsTransactionRequestFromWalletE403{ BannedIpAddress: v} + return CreateCoinsTransactionRequestFromWalletE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsCreateCoinsTransactionRequestFromWalletE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in CreateCoinsTransactionRequestFromWalletE403 func EndpointNotAllowedForApiKeyAsCreateCoinsTransactionRequestFromWalletE403(v *EndpointNotAllowedForApiKey) CreateCoinsTransactionRequestFromWalletE403 { - return CreateCoinsTransactionRequestFromWalletE403{ EndpointNotAllowedForApiKey: v} + return CreateCoinsTransactionRequestFromWalletE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsCreateCoinsTransactionRequestFromWalletE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in CreateCoinsTransactionRequestFromWalletE403 func EndpointNotAllowedForPlanAsCreateCoinsTransactionRequestFromWalletE403(v *EndpointNotAllowedForPlan) CreateCoinsTransactionRequestFromWalletE403 { - return CreateCoinsTransactionRequestFromWalletE403{ EndpointNotAllowedForPlan: v} + return CreateCoinsTransactionRequestFromWalletE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsCreateCoinsTransactionRequestFromWalletE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in CreateCoinsTransactionRequestFromWalletE403 func FeatureMainnetsNotAllowedForPlanAsCreateCoinsTransactionRequestFromWalletE403(v *FeatureMainnetsNotAllowedForPlan) CreateCoinsTransactionRequestFromWalletE403 { - return CreateCoinsTransactionRequestFromWalletE403{ FeatureMainnetsNotAllowedForPlan: v} + return CreateCoinsTransactionRequestFromWalletE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE403) UnmarshalJSON(data []byt var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE403) UnmarshalJSON(data []byt } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE403) UnmarshalJSON(data []byt } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE403) UnmarshalJSON(data []byt } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src CreateCoinsTransactionRequestFromWalletE403) MarshalJSON() ([]byte, er // Get the actual instance func (obj *CreateCoinsTransactionRequestFromWalletE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_create_coins_transaction_request_from_wallet_e409.go b/model_create_coins_transaction_request_from_wallet_e409.go index 6c93e93..1ae7086 100644 --- a/model_create_coins_transaction_request_from_wallet_e409.go +++ b/model_create_coins_transaction_request_from_wallet_e409.go @@ -19,23 +19,37 @@ import ( // CreateCoinsTransactionRequestFromWalletE409 - struct for CreateCoinsTransactionRequestFromWalletE409 type CreateCoinsTransactionRequestFromWalletE409 struct { InvalidData *InvalidData + WalletAsAServiceAddressBalanceNotEnough *WalletAsAServiceAddressBalanceNotEnough WalletAsAServiceNoDepositAddressesFound *WalletAsAServiceNoDepositAddressesFound WalletAsAServiceWalletBalanceNotEnough *WalletAsAServiceWalletBalanceNotEnough } // InvalidDataAsCreateCoinsTransactionRequestFromWalletE409 is a convenience function that returns InvalidData wrapped in CreateCoinsTransactionRequestFromWalletE409 func InvalidDataAsCreateCoinsTransactionRequestFromWalletE409(v *InvalidData) CreateCoinsTransactionRequestFromWalletE409 { - return CreateCoinsTransactionRequestFromWalletE409{ InvalidData: v} + return CreateCoinsTransactionRequestFromWalletE409{ + InvalidData: v, + } +} + +// WalletAsAServiceAddressBalanceNotEnoughAsCreateCoinsTransactionRequestFromWalletE409 is a convenience function that returns WalletAsAServiceAddressBalanceNotEnough wrapped in CreateCoinsTransactionRequestFromWalletE409 +func WalletAsAServiceAddressBalanceNotEnoughAsCreateCoinsTransactionRequestFromWalletE409(v *WalletAsAServiceAddressBalanceNotEnough) CreateCoinsTransactionRequestFromWalletE409 { + return CreateCoinsTransactionRequestFromWalletE409{ + WalletAsAServiceAddressBalanceNotEnough: v, + } } // WalletAsAServiceNoDepositAddressesFoundAsCreateCoinsTransactionRequestFromWalletE409 is a convenience function that returns WalletAsAServiceNoDepositAddressesFound wrapped in CreateCoinsTransactionRequestFromWalletE409 func WalletAsAServiceNoDepositAddressesFoundAsCreateCoinsTransactionRequestFromWalletE409(v *WalletAsAServiceNoDepositAddressesFound) CreateCoinsTransactionRequestFromWalletE409 { - return CreateCoinsTransactionRequestFromWalletE409{ WalletAsAServiceNoDepositAddressesFound: v} + return CreateCoinsTransactionRequestFromWalletE409{ + WalletAsAServiceNoDepositAddressesFound: v, + } } // WalletAsAServiceWalletBalanceNotEnoughAsCreateCoinsTransactionRequestFromWalletE409 is a convenience function that returns WalletAsAServiceWalletBalanceNotEnough wrapped in CreateCoinsTransactionRequestFromWalletE409 func WalletAsAServiceWalletBalanceNotEnoughAsCreateCoinsTransactionRequestFromWalletE409(v *WalletAsAServiceWalletBalanceNotEnough) CreateCoinsTransactionRequestFromWalletE409 { - return CreateCoinsTransactionRequestFromWalletE409{ WalletAsAServiceWalletBalanceNotEnough: v} + return CreateCoinsTransactionRequestFromWalletE409{ + WalletAsAServiceWalletBalanceNotEnough: v, + } } @@ -44,7 +58,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE409) UnmarshalJSON(data []byt var err error match := 0 // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -56,8 +70,21 @@ func (dst *CreateCoinsTransactionRequestFromWalletE409) UnmarshalJSON(data []byt dst.InvalidData = nil } + // try to unmarshal data into WalletAsAServiceAddressBalanceNotEnough + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceAddressBalanceNotEnough) + if err == nil { + jsonWalletAsAServiceAddressBalanceNotEnough, _ := json.Marshal(dst.WalletAsAServiceAddressBalanceNotEnough) + if string(jsonWalletAsAServiceAddressBalanceNotEnough) == "{}" { // empty struct + dst.WalletAsAServiceAddressBalanceNotEnough = nil + } else { + match++ + } + } else { + dst.WalletAsAServiceAddressBalanceNotEnough = nil + } + // try to unmarshal data into WalletAsAServiceNoDepositAddressesFound - err = json.Unmarshal(data, &dst.WalletAsAServiceNoDepositAddressesFound) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceNoDepositAddressesFound) if err == nil { jsonWalletAsAServiceNoDepositAddressesFound, _ := json.Marshal(dst.WalletAsAServiceNoDepositAddressesFound) if string(jsonWalletAsAServiceNoDepositAddressesFound) == "{}" { // empty struct @@ -70,7 +97,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE409) UnmarshalJSON(data []byt } // try to unmarshal data into WalletAsAServiceWalletBalanceNotEnough - err = json.Unmarshal(data, &dst.WalletAsAServiceWalletBalanceNotEnough) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceWalletBalanceNotEnough) if err == nil { jsonWalletAsAServiceWalletBalanceNotEnough, _ := json.Marshal(dst.WalletAsAServiceWalletBalanceNotEnough) if string(jsonWalletAsAServiceWalletBalanceNotEnough) == "{}" { // empty struct @@ -85,6 +112,7 @@ func (dst *CreateCoinsTransactionRequestFromWalletE409) UnmarshalJSON(data []byt if match > 1 { // more than 1 match // reset to nil dst.InvalidData = nil + dst.WalletAsAServiceAddressBalanceNotEnough = nil dst.WalletAsAServiceNoDepositAddressesFound = nil dst.WalletAsAServiceWalletBalanceNotEnough = nil @@ -102,6 +130,10 @@ func (src CreateCoinsTransactionRequestFromWalletE409) MarshalJSON() ([]byte, er return json.Marshal(&src.InvalidData) } + if src.WalletAsAServiceAddressBalanceNotEnough != nil { + return json.Marshal(&src.WalletAsAServiceAddressBalanceNotEnough) + } + if src.WalletAsAServiceNoDepositAddressesFound != nil { return json.Marshal(&src.WalletAsAServiceNoDepositAddressesFound) } @@ -115,10 +147,17 @@ func (src CreateCoinsTransactionRequestFromWalletE409) MarshalJSON() ([]byte, er // Get the actual instance func (obj *CreateCoinsTransactionRequestFromWalletE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidData != nil { return obj.InvalidData } + if obj.WalletAsAServiceAddressBalanceNotEnough != nil { + return obj.WalletAsAServiceAddressBalanceNotEnough + } + if obj.WalletAsAServiceNoDepositAddressesFound != nil { return obj.WalletAsAServiceNoDepositAddressesFound } diff --git a/model_create_coins_transaction_request_from_wallet_r.go b/model_create_coins_transaction_request_from_wallet_r.go index ef494bf..cec5b01 100644 --- a/model_create_coins_transaction_request_from_wallet_r.go +++ b/model_create_coins_transaction_request_from_wallet_r.go @@ -59,7 +59,7 @@ func (o *CreateCoinsTransactionRequestFromWalletR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *CreateCoinsTransactionRequestFromWalletR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *CreateCoinsTransactionRequestFromWalletR) GetData() CreateCoinsTransact // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletR) GetDataOk() (*CreateCoinsTransactionRequestFromWalletRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_coins_transaction_request_from_wallet_r_data.go b/model_create_coins_transaction_request_from_wallet_r_data.go index 3fa2189..5c8484c 100644 --- a/model_create_coins_transaction_request_from_wallet_r_data.go +++ b/model_create_coins_transaction_request_from_wallet_r_data.go @@ -51,7 +51,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRData) GetItem() CreateCoinsTran // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRData) GetItemOk() (*CreateCoinsTransactionRequestFromWalletRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_coins_transaction_request_from_wallet_rb.go b/model_create_coins_transaction_request_from_wallet_rb.go index 550a6e7..9edee3a 100644 --- a/model_create_coins_transaction_request_from_wallet_rb.go +++ b/model_create_coins_transaction_request_from_wallet_rb.go @@ -85,7 +85,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRB) GetData() CreateCoinsTransac // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRB) GetDataOk() (*CreateCoinsTransactionRequestFromWalletRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_coins_transaction_request_from_wallet_rb_data.go b/model_create_coins_transaction_request_from_wallet_rb_data.go index 6b5db25..01856db 100644 --- a/model_create_coins_transaction_request_from_wallet_rb_data.go +++ b/model_create_coins_transaction_request_from_wallet_rb_data.go @@ -51,7 +51,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRBData) GetItem() CreateCoinsTra // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRBData) GetItemOk() (*CreateCoinsTransactionRequestFromWalletRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_coins_transaction_request_from_wallet_rb_data_item.go b/model_create_coins_transaction_request_from_wallet_rb_data_item.go index 61b6344..87a8c70 100644 --- a/model_create_coins_transaction_request_from_wallet_rb_data_item.go +++ b/model_create_coins_transaction_request_from_wallet_rb_data_item.go @@ -19,7 +19,7 @@ import ( type CreateCoinsTransactionRequestFromWalletRBDataItem struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl *string `json:"callbackUrl,omitempty"` // Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". FeePriority string `json:"feePriority"` @@ -131,7 +131,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRBDataItem) GetFeePriority() str // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRBDataItem) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -218,11 +218,11 @@ func (o *CreateCoinsTransactionRequestFromWalletRBDataItem) GetRecipients() []Cr // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *CreateCoinsTransactionRequestFromWalletRBDataItem) GetRecipientsOk() (*[]CreateCoinsTransactionRequestFromWalletRBDataItemRecipients, bool) { - if o == nil { +func (o *CreateCoinsTransactionRequestFromWalletRBDataItem) GetRecipientsOk() ([]CreateCoinsTransactionRequestFromWalletRBDataItemRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value diff --git a/model_create_coins_transaction_request_from_wallet_rb_data_item_recipients.go b/model_create_coins_transaction_request_from_wallet_rb_data_item_recipients.go index 00ba434..5908906 100644 --- a/model_create_coins_transaction_request_from_wallet_rb_data_item_recipients.go +++ b/model_create_coins_transaction_request_from_wallet_rb_data_item_recipients.go @@ -55,7 +55,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRBDataItemRecipients) GetAddress // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRBDataItemRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRBDataItemRecipients) GetAmount( // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRBDataItemRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_create_coins_transaction_request_from_wallet_ri.go b/model_create_coins_transaction_request_from_wallet_ri.go index 92ffadd..8b9720c 100644 --- a/model_create_coins_transaction_request_from_wallet_ri.go +++ b/model_create_coins_transaction_request_from_wallet_ri.go @@ -19,7 +19,7 @@ import ( type CreateCoinsTransactionRequestFromWalletRI struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl *string `json:"callbackUrl,omitempty"` // Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". FeePriority string `json:"feePriority"` @@ -134,7 +134,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -189,11 +189,11 @@ func (o *CreateCoinsTransactionRequestFromWalletRI) GetRecipients() []CreateCoin // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *CreateCoinsTransactionRequestFromWalletRI) GetRecipientsOk() (*[]CreateCoinsTransactionRequestFromWalletRIRecipients, bool) { - if o == nil { +func (o *CreateCoinsTransactionRequestFromWalletRI) GetRecipientsOk() ([]CreateCoinsTransactionRequestFromWalletRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -214,7 +214,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRI) GetTotalTransactionAmount() // GetTotalTransactionAmountOk returns a tuple with the TotalTransactionAmount field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRI) GetTotalTransactionAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalTransactionAmount, true @@ -238,7 +238,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRI) GetTransactionRequestId() st // GetTransactionRequestIdOk returns a tuple with the TransactionRequestId field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRI) GetTransactionRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionRequestId, true @@ -262,7 +262,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRI) GetTransactionRequestStatus( // GetTransactionRequestStatusOk returns a tuple with the TransactionRequestStatus field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRI) GetTransactionRequestStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionRequestStatus, true diff --git a/model_create_coins_transaction_request_from_wallet_ri_recipients.go b/model_create_coins_transaction_request_from_wallet_ri_recipients.go index 8808721..1e0f27c 100644 --- a/model_create_coins_transaction_request_from_wallet_ri_recipients.go +++ b/model_create_coins_transaction_request_from_wallet_ri_recipients.go @@ -55,7 +55,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRIRecipients) GetAddress() strin // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *CreateCoinsTransactionRequestFromWalletRIRecipients) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *CreateCoinsTransactionRequestFromWalletRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_e400.go b/model_create_fungible_tokens_transaction_request_from_address_e400.go index 6127b57..34e2c3e 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_e400.go +++ b/model_create_fungible_tokens_transaction_request_from_address_e400.go @@ -25,17 +25,23 @@ type CreateFungibleTokensTransactionRequestFromAddressE400 struct { // InvalidPaginationAsCreateFungibleTokensTransactionRequestFromAddressE400 is a convenience function that returns InvalidPagination wrapped in CreateFungibleTokensTransactionRequestFromAddressE400 func InvalidPaginationAsCreateFungibleTokensTransactionRequestFromAddressE400(v *InvalidPagination) CreateFungibleTokensTransactionRequestFromAddressE400 { - return CreateFungibleTokensTransactionRequestFromAddressE400{ InvalidPagination: v} + return CreateFungibleTokensTransactionRequestFromAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsCreateFungibleTokensTransactionRequestFromAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in CreateFungibleTokensTransactionRequestFromAddressE400 func LimitGreaterThanAllowedAsCreateFungibleTokensTransactionRequestFromAddressE400(v *LimitGreaterThanAllowed) CreateFungibleTokensTransactionRequestFromAddressE400 { - return CreateFungibleTokensTransactionRequestFromAddressE400{ LimitGreaterThanAllowed: v} + return CreateFungibleTokensTransactionRequestFromAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsCreateFungibleTokensTransactionRequestFromAddressE400 is a convenience function that returns UriNotFound wrapped in CreateFungibleTokensTransactionRequestFromAddressE400 func UriNotFoundAsCreateFungibleTokensTransactionRequestFromAddressE400(v *UriNotFound) CreateFungibleTokensTransactionRequestFromAddressE400 { - return CreateFungibleTokensTransactionRequestFromAddressE400{ UriNotFound: v} + return CreateFungibleTokensTransactionRequestFromAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE400) UnmarshalJSON( var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE400) UnmarshalJSON( } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE400) UnmarshalJSON( } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src CreateFungibleTokensTransactionRequestFromAddressE400) MarshalJSON() ( // Get the actual instance func (obj *CreateFungibleTokensTransactionRequestFromAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_create_fungible_tokens_transaction_request_from_address_e401.go b/model_create_fungible_tokens_transaction_request_from_address_e401.go index 1b15924..03f1341 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_e401.go +++ b/model_create_fungible_tokens_transaction_request_from_address_e401.go @@ -24,12 +24,16 @@ type CreateFungibleTokensTransactionRequestFromAddressE401 struct { // InvalidApiKeyAsCreateFungibleTokensTransactionRequestFromAddressE401 is a convenience function that returns InvalidApiKey wrapped in CreateFungibleTokensTransactionRequestFromAddressE401 func InvalidApiKeyAsCreateFungibleTokensTransactionRequestFromAddressE401(v *InvalidApiKey) CreateFungibleTokensTransactionRequestFromAddressE401 { - return CreateFungibleTokensTransactionRequestFromAddressE401{ InvalidApiKey: v} + return CreateFungibleTokensTransactionRequestFromAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsCreateFungibleTokensTransactionRequestFromAddressE401 is a convenience function that returns MissingApiKey wrapped in CreateFungibleTokensTransactionRequestFromAddressE401 func MissingApiKeyAsCreateFungibleTokensTransactionRequestFromAddressE401(v *MissingApiKey) CreateFungibleTokensTransactionRequestFromAddressE401 { - return CreateFungibleTokensTransactionRequestFromAddressE401{ MissingApiKey: v} + return CreateFungibleTokensTransactionRequestFromAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE401) UnmarshalJSON( var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE401) UnmarshalJSON( } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src CreateFungibleTokensTransactionRequestFromAddressE401) MarshalJSON() ( // Get the actual instance func (obj *CreateFungibleTokensTransactionRequestFromAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_create_fungible_tokens_transaction_request_from_address_e403.go b/model_create_fungible_tokens_transaction_request_from_address_e403.go index 6369d7a..d1b9ade 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_e403.go +++ b/model_create_fungible_tokens_transaction_request_from_address_e403.go @@ -26,22 +26,30 @@ type CreateFungibleTokensTransactionRequestFromAddressE403 struct { // BannedIpAddressAsCreateFungibleTokensTransactionRequestFromAddressE403 is a convenience function that returns BannedIpAddress wrapped in CreateFungibleTokensTransactionRequestFromAddressE403 func BannedIpAddressAsCreateFungibleTokensTransactionRequestFromAddressE403(v *BannedIpAddress) CreateFungibleTokensTransactionRequestFromAddressE403 { - return CreateFungibleTokensTransactionRequestFromAddressE403{ BannedIpAddress: v} + return CreateFungibleTokensTransactionRequestFromAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsCreateFungibleTokensTransactionRequestFromAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in CreateFungibleTokensTransactionRequestFromAddressE403 func EndpointNotAllowedForApiKeyAsCreateFungibleTokensTransactionRequestFromAddressE403(v *EndpointNotAllowedForApiKey) CreateFungibleTokensTransactionRequestFromAddressE403 { - return CreateFungibleTokensTransactionRequestFromAddressE403{ EndpointNotAllowedForApiKey: v} + return CreateFungibleTokensTransactionRequestFromAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsCreateFungibleTokensTransactionRequestFromAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in CreateFungibleTokensTransactionRequestFromAddressE403 func EndpointNotAllowedForPlanAsCreateFungibleTokensTransactionRequestFromAddressE403(v *EndpointNotAllowedForPlan) CreateFungibleTokensTransactionRequestFromAddressE403 { - return CreateFungibleTokensTransactionRequestFromAddressE403{ EndpointNotAllowedForPlan: v} + return CreateFungibleTokensTransactionRequestFromAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsCreateFungibleTokensTransactionRequestFromAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in CreateFungibleTokensTransactionRequestFromAddressE403 func FeatureMainnetsNotAllowedForPlanAsCreateFungibleTokensTransactionRequestFromAddressE403(v *FeatureMainnetsNotAllowedForPlan) CreateFungibleTokensTransactionRequestFromAddressE403 { - return CreateFungibleTokensTransactionRequestFromAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return CreateFungibleTokensTransactionRequestFromAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE403) UnmarshalJSON( var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE403) UnmarshalJSON( } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE403) UnmarshalJSON( } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE403) UnmarshalJSON( } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src CreateFungibleTokensTransactionRequestFromAddressE403) MarshalJSON() ( // Get the actual instance func (obj *CreateFungibleTokensTransactionRequestFromAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_create_fungible_tokens_transaction_request_from_address_e409.go b/model_create_fungible_tokens_transaction_request_from_address_e409.go index 6fcc928..fd7a6d8 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_e409.go +++ b/model_create_fungible_tokens_transaction_request_from_address_e409.go @@ -26,22 +26,30 @@ type CreateFungibleTokensTransactionRequestFromAddressE409 struct { // InvalidDataAsCreateFungibleTokensTransactionRequestFromAddressE409 is a convenience function that returns InvalidData wrapped in CreateFungibleTokensTransactionRequestFromAddressE409 func InvalidDataAsCreateFungibleTokensTransactionRequestFromAddressE409(v *InvalidData) CreateFungibleTokensTransactionRequestFromAddressE409 { - return CreateFungibleTokensTransactionRequestFromAddressE409{ InvalidData: v} + return CreateFungibleTokensTransactionRequestFromAddressE409{ + InvalidData: v, + } } // WalletAsAServiceAddressBalanceNotEnoughAsCreateFungibleTokensTransactionRequestFromAddressE409 is a convenience function that returns WalletAsAServiceAddressBalanceNotEnough wrapped in CreateFungibleTokensTransactionRequestFromAddressE409 func WalletAsAServiceAddressBalanceNotEnoughAsCreateFungibleTokensTransactionRequestFromAddressE409(v *WalletAsAServiceAddressBalanceNotEnough) CreateFungibleTokensTransactionRequestFromAddressE409 { - return CreateFungibleTokensTransactionRequestFromAddressE409{ WalletAsAServiceAddressBalanceNotEnough: v} + return CreateFungibleTokensTransactionRequestFromAddressE409{ + WalletAsAServiceAddressBalanceNotEnough: v, + } } // WalletAsAServiceTokenNotSupportedAsCreateFungibleTokensTransactionRequestFromAddressE409 is a convenience function that returns WalletAsAServiceTokenNotSupported wrapped in CreateFungibleTokensTransactionRequestFromAddressE409 func WalletAsAServiceTokenNotSupportedAsCreateFungibleTokensTransactionRequestFromAddressE409(v *WalletAsAServiceTokenNotSupported) CreateFungibleTokensTransactionRequestFromAddressE409 { - return CreateFungibleTokensTransactionRequestFromAddressE409{ WalletAsAServiceTokenNotSupported: v} + return CreateFungibleTokensTransactionRequestFromAddressE409{ + WalletAsAServiceTokenNotSupported: v, + } } // WalletAsAServiceWalletBalanceNotEnoughAsCreateFungibleTokensTransactionRequestFromAddressE409 is a convenience function that returns WalletAsAServiceWalletBalanceNotEnough wrapped in CreateFungibleTokensTransactionRequestFromAddressE409 func WalletAsAServiceWalletBalanceNotEnoughAsCreateFungibleTokensTransactionRequestFromAddressE409(v *WalletAsAServiceWalletBalanceNotEnough) CreateFungibleTokensTransactionRequestFromAddressE409 { - return CreateFungibleTokensTransactionRequestFromAddressE409{ WalletAsAServiceWalletBalanceNotEnough: v} + return CreateFungibleTokensTransactionRequestFromAddressE409{ + WalletAsAServiceWalletBalanceNotEnough: v, + } } @@ -50,7 +58,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE409) UnmarshalJSON( var err error match := 0 // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE409) UnmarshalJSON( } // try to unmarshal data into WalletAsAServiceAddressBalanceNotEnough - err = json.Unmarshal(data, &dst.WalletAsAServiceAddressBalanceNotEnough) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceAddressBalanceNotEnough) if err == nil { jsonWalletAsAServiceAddressBalanceNotEnough, _ := json.Marshal(dst.WalletAsAServiceAddressBalanceNotEnough) if string(jsonWalletAsAServiceAddressBalanceNotEnough) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE409) UnmarshalJSON( } // try to unmarshal data into WalletAsAServiceTokenNotSupported - err = json.Unmarshal(data, &dst.WalletAsAServiceTokenNotSupported) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceTokenNotSupported) if err == nil { jsonWalletAsAServiceTokenNotSupported, _ := json.Marshal(dst.WalletAsAServiceTokenNotSupported) if string(jsonWalletAsAServiceTokenNotSupported) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressE409) UnmarshalJSON( } // try to unmarshal data into WalletAsAServiceWalletBalanceNotEnough - err = json.Unmarshal(data, &dst.WalletAsAServiceWalletBalanceNotEnough) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceWalletBalanceNotEnough) if err == nil { jsonWalletAsAServiceWalletBalanceNotEnough, _ := json.Marshal(dst.WalletAsAServiceWalletBalanceNotEnough) if string(jsonWalletAsAServiceWalletBalanceNotEnough) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src CreateFungibleTokensTransactionRequestFromAddressE409) MarshalJSON() ( // Get the actual instance func (obj *CreateFungibleTokensTransactionRequestFromAddressE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidData != nil { return obj.InvalidData } diff --git a/model_create_fungible_tokens_transaction_request_from_address_r.go b/model_create_fungible_tokens_transaction_request_from_address_r.go index c41f160..42d8cd0 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_r.go +++ b/model_create_fungible_tokens_transaction_request_from_address_r.go @@ -59,7 +59,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressR) GetApiVersion() str // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressR) GetRequestId() stri // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressR) GetData() CreateFun // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressR) GetDataOk() (*CreateFungibleTokensTransactionRequestFromAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_r_data.go b/model_create_fungible_tokens_transaction_request_from_address_r_data.go index 1284fc0..25dbe1e 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_r_data.go +++ b/model_create_fungible_tokens_transaction_request_from_address_r_data.go @@ -51,7 +51,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRData) GetItem() Creat // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRData) GetItemOk() (*CreateFungibleTokensTransactionRequestFromAddressRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_rb.go b/model_create_fungible_tokens_transaction_request_from_address_rb.go index cb8c368..5855f61 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_rb.go +++ b/model_create_fungible_tokens_transaction_request_from_address_rb.go @@ -85,7 +85,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRB) GetData() CreateFu // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRB) GetDataOk() (*CreateFungibleTokensTransactionRequestFromAddressRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_rb_data.go b/model_create_fungible_tokens_transaction_request_from_address_rb_data.go index 0cc67ab..c0cea85 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_rb_data.go +++ b/model_create_fungible_tokens_transaction_request_from_address_rb_data.go @@ -51,7 +51,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRBData) GetItem() Crea // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRBData) GetItemOk() (*CreateFungibleTokensTransactionRequestFromAddressRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_rb_data_item.go b/model_create_fungible_tokens_transaction_request_from_address_rb_data_item.go index d55c456..ad59842 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_rb_data_item.go +++ b/model_create_fungible_tokens_transaction_request_from_address_rb_data_item.go @@ -21,7 +21,7 @@ type CreateFungibleTokensTransactionRequestFromAddressRBDataItem struct { Amount string `json:"amount"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl *string `json:"callbackUrl,omitempty"` // Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". FeePriority string `json:"feePriority"` @@ -67,7 +67,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRBDataItem) GetAmount( // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRBDataItem) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -155,7 +155,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRBDataItem) GetFeePrio // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRBDataItem) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -211,7 +211,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRBDataItem) GetRecipie // GetRecipientAddressOk returns a tuple with the RecipientAddress field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRBDataItem) GetRecipientAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RecipientAddress, true @@ -235,7 +235,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRBDataItem) GetTokenId // GetTokenIdentifierOk returns a tuple with the TokenIdentifier field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRBDataItem) GetTokenIdentifierOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenIdentifier, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_ri.go b/model_create_fungible_tokens_transaction_request_from_address_ri.go index 6490b46..d451b67 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_ri.go +++ b/model_create_fungible_tokens_transaction_request_from_address_ri.go @@ -19,7 +19,7 @@ import ( type CreateFungibleTokensTransactionRequestFromAddressRI struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the fee priority of the automation, whether it is \"slow\", \"standard\" or \"fast\". FeePriority string `json:"feePriority"` @@ -70,7 +70,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetCallbackSecretK // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -94,7 +94,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetCallbackUrl() s // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -118,7 +118,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetFeePriority() s // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -173,11 +173,11 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetRecipients() [] // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetRecipientsOk() (*[]CreateFungibleTokensTransactionRequestFromAddressRIRecipients, bool) { - if o == nil { +func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetRecipientsOk() ([]CreateFungibleTokensTransactionRequestFromAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -198,7 +198,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetSenders() Creat // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetSendersOk() (*CreateFungibleTokensTransactionRequestFromAddressRISenders, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Senders, true @@ -222,7 +222,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetTokenTypeSpecif // GetTokenTypeSpecificDataOk returns a tuple with the TokenTypeSpecificData field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetTokenTypeSpecificDataOk() (*CreateFungibleTokensTransactionRequestFromAddressRIS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenTypeSpecificData, true @@ -246,7 +246,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetTransactionRequ // GetTransactionRequestIdOk returns a tuple with the TransactionRequestId field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRI) GetTransactionRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionRequestId, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_ri_recipients.go b/model_create_fungible_tokens_transaction_request_from_address_ri_recipients.go index 2df14c1..7ad3dbd 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_ri_recipients.go +++ b/model_create_fungible_tokens_transaction_request_from_address_ri_recipients.go @@ -55,7 +55,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRIRecipients) GetAddre // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRIRecipients) GetAmoun // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_ri_senders.go b/model_create_fungible_tokens_transaction_request_from_address_ri_senders.go index 8a9eac3..8a72f58 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_ri_senders.go +++ b/model_create_fungible_tokens_transaction_request_from_address_ri_senders.go @@ -52,7 +52,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRISenders) GetAddress( // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true diff --git a/model_create_fungible_tokens_transaction_request_from_address_ris.go b/model_create_fungible_tokens_transaction_request_from_address_ris.go index c499ef1..fc6e7ec 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_ris.go +++ b/model_create_fungible_tokens_transaction_request_from_address_ris.go @@ -23,7 +23,9 @@ type CreateFungibleTokensTransactionRequestFromAddressRIS struct { // CreateFungibleTokensTransactionRequestFromAddressRISEAsCreateFungibleTokensTransactionRequestFromAddressRIS is a convenience function that returns CreateFungibleTokensTransactionRequestFromAddressRISE wrapped in CreateFungibleTokensTransactionRequestFromAddressRIS func CreateFungibleTokensTransactionRequestFromAddressRISEAsCreateFungibleTokensTransactionRequestFromAddressRIS(v *CreateFungibleTokensTransactionRequestFromAddressRISE) CreateFungibleTokensTransactionRequestFromAddressRIS { - return CreateFungibleTokensTransactionRequestFromAddressRIS{ CreateFungibleTokensTransactionRequestFromAddressRISE: v} + return CreateFungibleTokensTransactionRequestFromAddressRIS{ + CreateFungibleTokensTransactionRequestFromAddressRISE: v, + } } @@ -32,7 +34,7 @@ func (dst *CreateFungibleTokensTransactionRequestFromAddressRIS) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into CreateFungibleTokensTransactionRequestFromAddressRISE - err = json.Unmarshal(data, &dst.CreateFungibleTokensTransactionRequestFromAddressRISE) + err = newStrictDecoder(data).Decode(&dst.CreateFungibleTokensTransactionRequestFromAddressRISE) if err == nil { jsonCreateFungibleTokensTransactionRequestFromAddressRISE, _ := json.Marshal(dst.CreateFungibleTokensTransactionRequestFromAddressRISE) if string(jsonCreateFungibleTokensTransactionRequestFromAddressRISE) == "{}" { // empty struct @@ -67,6 +69,9 @@ func (src CreateFungibleTokensTransactionRequestFromAddressRIS) MarshalJSON() ([ // Get the actual instance func (obj *CreateFungibleTokensTransactionRequestFromAddressRIS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.CreateFungibleTokensTransactionRequestFromAddressRISE != nil { return obj.CreateFungibleTokensTransactionRequestFromAddressRISE } diff --git a/model_create_fungible_tokens_transaction_request_from_address_rise.go b/model_create_fungible_tokens_transaction_request_from_address_rise.go index fa2a86b..d601abe 100644 --- a/model_create_fungible_tokens_transaction_request_from_address_rise.go +++ b/model_create_fungible_tokens_transaction_request_from_address_rise.go @@ -52,7 +52,7 @@ func (o *CreateFungibleTokensTransactionRequestFromAddressRISE) GetContractAddre // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *CreateFungibleTokensTransactionRequestFromAddressRISE) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_decode_raw_transaction_hex_e400.go b/model_decode_raw_transaction_hex_e400.go new file mode 100644 index 0000000..ebbb07a --- /dev/null +++ b/model_decode_raw_transaction_hex_e400.go @@ -0,0 +1,269 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DecodeRawTransactionHexE400 - struct for DecodeRawTransactionHexE400 +type DecodeRawTransactionHexE400 struct { + InvalidBlockchain *InvalidBlockchain + InvalidNetwork *InvalidNetwork + InvalidPagination *InvalidPagination + InvalidTransactionHex *InvalidTransactionHex + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidBlockchainAsDecodeRawTransactionHexE400 is a convenience function that returns InvalidBlockchain wrapped in DecodeRawTransactionHexE400 +func InvalidBlockchainAsDecodeRawTransactionHexE400(v *InvalidBlockchain) DecodeRawTransactionHexE400 { + return DecodeRawTransactionHexE400{ + InvalidBlockchain: v, + } +} + +// InvalidNetworkAsDecodeRawTransactionHexE400 is a convenience function that returns InvalidNetwork wrapped in DecodeRawTransactionHexE400 +func InvalidNetworkAsDecodeRawTransactionHexE400(v *InvalidNetwork) DecodeRawTransactionHexE400 { + return DecodeRawTransactionHexE400{ + InvalidNetwork: v, + } +} + +// InvalidPaginationAsDecodeRawTransactionHexE400 is a convenience function that returns InvalidPagination wrapped in DecodeRawTransactionHexE400 +func InvalidPaginationAsDecodeRawTransactionHexE400(v *InvalidPagination) DecodeRawTransactionHexE400 { + return DecodeRawTransactionHexE400{ + InvalidPagination: v, + } +} + +// InvalidTransactionHexAsDecodeRawTransactionHexE400 is a convenience function that returns InvalidTransactionHex wrapped in DecodeRawTransactionHexE400 +func InvalidTransactionHexAsDecodeRawTransactionHexE400(v *InvalidTransactionHex) DecodeRawTransactionHexE400 { + return DecodeRawTransactionHexE400{ + InvalidTransactionHex: v, + } +} + +// LimitGreaterThanAllowedAsDecodeRawTransactionHexE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in DecodeRawTransactionHexE400 +func LimitGreaterThanAllowedAsDecodeRawTransactionHexE400(v *LimitGreaterThanAllowed) DecodeRawTransactionHexE400 { + return DecodeRawTransactionHexE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsDecodeRawTransactionHexE400 is a convenience function that returns UriNotFound wrapped in DecodeRawTransactionHexE400 +func UriNotFoundAsDecodeRawTransactionHexE400(v *UriNotFound) DecodeRawTransactionHexE400 { + return DecodeRawTransactionHexE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DecodeRawTransactionHexE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidBlockchain + err = newStrictDecoder(data).Decode(&dst.InvalidBlockchain) + if err == nil { + jsonInvalidBlockchain, _ := json.Marshal(dst.InvalidBlockchain) + if string(jsonInvalidBlockchain) == "{}" { // empty struct + dst.InvalidBlockchain = nil + } else { + match++ + } + } else { + dst.InvalidBlockchain = nil + } + + // try to unmarshal data into InvalidNetwork + err = newStrictDecoder(data).Decode(&dst.InvalidNetwork) + if err == nil { + jsonInvalidNetwork, _ := json.Marshal(dst.InvalidNetwork) + if string(jsonInvalidNetwork) == "{}" { // empty struct + dst.InvalidNetwork = nil + } else { + match++ + } + } else { + dst.InvalidNetwork = nil + } + + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into InvalidTransactionHex + err = newStrictDecoder(data).Decode(&dst.InvalidTransactionHex) + if err == nil { + jsonInvalidTransactionHex, _ := json.Marshal(dst.InvalidTransactionHex) + if string(jsonInvalidTransactionHex) == "{}" { // empty struct + dst.InvalidTransactionHex = nil + } else { + match++ + } + } else { + dst.InvalidTransactionHex = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidBlockchain = nil + dst.InvalidNetwork = nil + dst.InvalidPagination = nil + dst.InvalidTransactionHex = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DecodeRawTransactionHexE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DecodeRawTransactionHexE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DecodeRawTransactionHexE400) MarshalJSON() ([]byte, error) { + if src.InvalidBlockchain != nil { + return json.Marshal(&src.InvalidBlockchain) + } + + if src.InvalidNetwork != nil { + return json.Marshal(&src.InvalidNetwork) + } + + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.InvalidTransactionHex != nil { + return json.Marshal(&src.InvalidTransactionHex) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DecodeRawTransactionHexE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidBlockchain != nil { + return obj.InvalidBlockchain + } + + if obj.InvalidNetwork != nil { + return obj.InvalidNetwork + } + + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.InvalidTransactionHex != nil { + return obj.InvalidTransactionHex + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableDecodeRawTransactionHexE400 struct { + value *DecodeRawTransactionHexE400 + isSet bool +} + +func (v NullableDecodeRawTransactionHexE400) Get() *DecodeRawTransactionHexE400 { + return v.value +} + +func (v *NullableDecodeRawTransactionHexE400) Set(val *DecodeRawTransactionHexE400) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexE400) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexE400(val *DecodeRawTransactionHexE400) *NullableDecodeRawTransactionHexE400 { + return &NullableDecodeRawTransactionHexE400{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_e401.go b/model_decode_raw_transaction_hex_e401.go new file mode 100644 index 0000000..b5a2984 --- /dev/null +++ b/model_decode_raw_transaction_hex_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DecodeRawTransactionHexE401 - struct for DecodeRawTransactionHexE401 +type DecodeRawTransactionHexE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsDecodeRawTransactionHexE401 is a convenience function that returns InvalidApiKey wrapped in DecodeRawTransactionHexE401 +func InvalidApiKeyAsDecodeRawTransactionHexE401(v *InvalidApiKey) DecodeRawTransactionHexE401 { + return DecodeRawTransactionHexE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsDecodeRawTransactionHexE401 is a convenience function that returns MissingApiKey wrapped in DecodeRawTransactionHexE401 +func MissingApiKeyAsDecodeRawTransactionHexE401(v *MissingApiKey) DecodeRawTransactionHexE401 { + return DecodeRawTransactionHexE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DecodeRawTransactionHexE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DecodeRawTransactionHexE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DecodeRawTransactionHexE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DecodeRawTransactionHexE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DecodeRawTransactionHexE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableDecodeRawTransactionHexE401 struct { + value *DecodeRawTransactionHexE401 + isSet bool +} + +func (v NullableDecodeRawTransactionHexE401) Get() *DecodeRawTransactionHexE401 { + return v.value +} + +func (v *NullableDecodeRawTransactionHexE401) Set(val *DecodeRawTransactionHexE401) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexE401) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexE401(val *DecodeRawTransactionHexE401) *NullableDecodeRawTransactionHexE401 { + return &NullableDecodeRawTransactionHexE401{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_e403.go b/model_decode_raw_transaction_hex_e403.go new file mode 100644 index 0000000..5b30ec0 --- /dev/null +++ b/model_decode_raw_transaction_hex_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DecodeRawTransactionHexE403 - struct for DecodeRawTransactionHexE403 +type DecodeRawTransactionHexE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsDecodeRawTransactionHexE403 is a convenience function that returns BannedIpAddress wrapped in DecodeRawTransactionHexE403 +func BannedIpAddressAsDecodeRawTransactionHexE403(v *BannedIpAddress) DecodeRawTransactionHexE403 { + return DecodeRawTransactionHexE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsDecodeRawTransactionHexE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in DecodeRawTransactionHexE403 +func EndpointNotAllowedForApiKeyAsDecodeRawTransactionHexE403(v *EndpointNotAllowedForApiKey) DecodeRawTransactionHexE403 { + return DecodeRawTransactionHexE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsDecodeRawTransactionHexE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in DecodeRawTransactionHexE403 +func EndpointNotAllowedForPlanAsDecodeRawTransactionHexE403(v *EndpointNotAllowedForPlan) DecodeRawTransactionHexE403 { + return DecodeRawTransactionHexE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsDecodeRawTransactionHexE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in DecodeRawTransactionHexE403 +func FeatureMainnetsNotAllowedForPlanAsDecodeRawTransactionHexE403(v *FeatureMainnetsNotAllowedForPlan) DecodeRawTransactionHexE403 { + return DecodeRawTransactionHexE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DecodeRawTransactionHexE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DecodeRawTransactionHexE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DecodeRawTransactionHexE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DecodeRawTransactionHexE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DecodeRawTransactionHexE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableDecodeRawTransactionHexE403 struct { + value *DecodeRawTransactionHexE403 + isSet bool +} + +func (v NullableDecodeRawTransactionHexE403) Get() *DecodeRawTransactionHexE403 { + return v.value +} + +func (v *NullableDecodeRawTransactionHexE403) Set(val *DecodeRawTransactionHexE403) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexE403) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexE403(val *DecodeRawTransactionHexE403) *NullableDecodeRawTransactionHexE403 { + return &NullableDecodeRawTransactionHexE403{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_r.go b/model_decode_raw_transaction_hex_r.go new file mode 100644 index 0000000..2a6840b --- /dev/null +++ b/model_decode_raw_transaction_hex_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexR struct for DecodeRawTransactionHexR +type DecodeRawTransactionHexR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data DecodeRawTransactionHexRData `json:"data"` +} + +// NewDecodeRawTransactionHexR instantiates a new DecodeRawTransactionHexR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexR(apiVersion string, requestId string, data DecodeRawTransactionHexRData) *DecodeRawTransactionHexR { + this := DecodeRawTransactionHexR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewDecodeRawTransactionHexRWithDefaults instantiates a new DecodeRawTransactionHexR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRWithDefaults() *DecodeRawTransactionHexR { + this := DecodeRawTransactionHexR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *DecodeRawTransactionHexR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *DecodeRawTransactionHexR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *DecodeRawTransactionHexR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *DecodeRawTransactionHexR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *DecodeRawTransactionHexR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *DecodeRawTransactionHexR) GetData() DecodeRawTransactionHexRData { + if o == nil { + var ret DecodeRawTransactionHexRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexR) GetDataOk() (*DecodeRawTransactionHexRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *DecodeRawTransactionHexR) SetData(v DecodeRawTransactionHexRData) { + o.Data = v +} + +func (o DecodeRawTransactionHexR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexR struct { + value *DecodeRawTransactionHexR + isSet bool +} + +func (v NullableDecodeRawTransactionHexR) Get() *DecodeRawTransactionHexR { + return v.value +} + +func (v *NullableDecodeRawTransactionHexR) Set(val *DecodeRawTransactionHexR) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexR) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexR(val *DecodeRawTransactionHexR) *NullableDecodeRawTransactionHexR { + return &NullableDecodeRawTransactionHexR{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_r_data.go b/model_decode_raw_transaction_hex_r_data.go new file mode 100644 index 0000000..581fdec --- /dev/null +++ b/model_decode_raw_transaction_hex_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRData struct for DecodeRawTransactionHexRData +type DecodeRawTransactionHexRData struct { + Item DecodeRawTransactionHexRI `json:"item"` +} + +// NewDecodeRawTransactionHexRData instantiates a new DecodeRawTransactionHexRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRData(item DecodeRawTransactionHexRI) *DecodeRawTransactionHexRData { + this := DecodeRawTransactionHexRData{} + this.Item = item + return &this +} + +// NewDecodeRawTransactionHexRDataWithDefaults instantiates a new DecodeRawTransactionHexRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRDataWithDefaults() *DecodeRawTransactionHexRData { + this := DecodeRawTransactionHexRData{} + return &this +} + +// GetItem returns the Item field value +func (o *DecodeRawTransactionHexRData) GetItem() DecodeRawTransactionHexRI { + if o == nil { + var ret DecodeRawTransactionHexRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRData) GetItemOk() (*DecodeRawTransactionHexRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *DecodeRawTransactionHexRData) SetItem(v DecodeRawTransactionHexRI) { + o.Item = v +} + +func (o DecodeRawTransactionHexRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRData struct { + value *DecodeRawTransactionHexRData + isSet bool +} + +func (v NullableDecodeRawTransactionHexRData) Get() *DecodeRawTransactionHexRData { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRData) Set(val *DecodeRawTransactionHexRData) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRData) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRData(val *DecodeRawTransactionHexRData) *NullableDecodeRawTransactionHexRData { + return &NullableDecodeRawTransactionHexRData{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_rb.go b/model_decode_raw_transaction_hex_rb.go new file mode 100644 index 0000000..f193baa --- /dev/null +++ b/model_decode_raw_transaction_hex_rb.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRB struct for DecodeRawTransactionHexRB +type DecodeRawTransactionHexRB struct { + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data DecodeRawTransactionHexRBData `json:"data"` +} + +// NewDecodeRawTransactionHexRB instantiates a new DecodeRawTransactionHexRB object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRB(data DecodeRawTransactionHexRBData) *DecodeRawTransactionHexRB { + this := DecodeRawTransactionHexRB{} + this.Data = data + return &this +} + +// NewDecodeRawTransactionHexRBWithDefaults instantiates a new DecodeRawTransactionHexRB object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRBWithDefaults() *DecodeRawTransactionHexRB { + this := DecodeRawTransactionHexRB{} + return &this +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRB) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRB) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRB) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *DecodeRawTransactionHexRB) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *DecodeRawTransactionHexRB) GetData() DecodeRawTransactionHexRBData { + if o == nil { + var ret DecodeRawTransactionHexRBData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRB) GetDataOk() (*DecodeRawTransactionHexRBData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *DecodeRawTransactionHexRB) SetData(v DecodeRawTransactionHexRBData) { + o.Data = v +} + +func (o DecodeRawTransactionHexRB) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRB struct { + value *DecodeRawTransactionHexRB + isSet bool +} + +func (v NullableDecodeRawTransactionHexRB) Get() *DecodeRawTransactionHexRB { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRB) Set(val *DecodeRawTransactionHexRB) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRB) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRB) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRB(val *DecodeRawTransactionHexRB) *NullableDecodeRawTransactionHexRB { + return &NullableDecodeRawTransactionHexRB{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRB) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRB) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_rb_data.go b/model_decode_raw_transaction_hex_rb_data.go new file mode 100644 index 0000000..05675ff --- /dev/null +++ b/model_decode_raw_transaction_hex_rb_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRBData struct for DecodeRawTransactionHexRBData +type DecodeRawTransactionHexRBData struct { + Item DecodeRawTransactionHexRBDataItem `json:"item"` +} + +// NewDecodeRawTransactionHexRBData instantiates a new DecodeRawTransactionHexRBData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRBData(item DecodeRawTransactionHexRBDataItem) *DecodeRawTransactionHexRBData { + this := DecodeRawTransactionHexRBData{} + this.Item = item + return &this +} + +// NewDecodeRawTransactionHexRBDataWithDefaults instantiates a new DecodeRawTransactionHexRBData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRBDataWithDefaults() *DecodeRawTransactionHexRBData { + this := DecodeRawTransactionHexRBData{} + return &this +} + +// GetItem returns the Item field value +func (o *DecodeRawTransactionHexRBData) GetItem() DecodeRawTransactionHexRBDataItem { + if o == nil { + var ret DecodeRawTransactionHexRBDataItem + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRBData) GetItemOk() (*DecodeRawTransactionHexRBDataItem, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *DecodeRawTransactionHexRBData) SetItem(v DecodeRawTransactionHexRBDataItem) { + o.Item = v +} + +func (o DecodeRawTransactionHexRBData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRBData struct { + value *DecodeRawTransactionHexRBData + isSet bool +} + +func (v NullableDecodeRawTransactionHexRBData) Get() *DecodeRawTransactionHexRBData { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRBData) Set(val *DecodeRawTransactionHexRBData) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRBData) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRBData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRBData(val *DecodeRawTransactionHexRBData) *NullableDecodeRawTransactionHexRBData { + return &NullableDecodeRawTransactionHexRBData{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRBData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRBData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_rb_data_item.go b/model_decode_raw_transaction_hex_rb_data_item.go new file mode 100644 index 0000000..273e787 --- /dev/null +++ b/model_decode_raw_transaction_hex_rb_data_item.go @@ -0,0 +1,110 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRBDataItem struct for DecodeRawTransactionHexRBDataItem +type DecodeRawTransactionHexRBDataItem struct { + // Represents the raw transaction Hex that has to be decoded. + RawTransactionHex string `json:"rawTransactionHex"` +} + +// NewDecodeRawTransactionHexRBDataItem instantiates a new DecodeRawTransactionHexRBDataItem object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRBDataItem(rawTransactionHex string) *DecodeRawTransactionHexRBDataItem { + this := DecodeRawTransactionHexRBDataItem{} + this.RawTransactionHex = rawTransactionHex + return &this +} + +// NewDecodeRawTransactionHexRBDataItemWithDefaults instantiates a new DecodeRawTransactionHexRBDataItem object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRBDataItemWithDefaults() *DecodeRawTransactionHexRBDataItem { + this := DecodeRawTransactionHexRBDataItem{} + return &this +} + +// GetRawTransactionHex returns the RawTransactionHex field value +func (o *DecodeRawTransactionHexRBDataItem) GetRawTransactionHex() string { + if o == nil { + var ret string + return ret + } + + return o.RawTransactionHex +} + +// GetRawTransactionHexOk returns a tuple with the RawTransactionHex field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRBDataItem) GetRawTransactionHexOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RawTransactionHex, true +} + +// SetRawTransactionHex sets field value +func (o *DecodeRawTransactionHexRBDataItem) SetRawTransactionHex(v string) { + o.RawTransactionHex = v +} + +func (o DecodeRawTransactionHexRBDataItem) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["rawTransactionHex"] = o.RawTransactionHex + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRBDataItem struct { + value *DecodeRawTransactionHexRBDataItem + isSet bool +} + +func (v NullableDecodeRawTransactionHexRBDataItem) Get() *DecodeRawTransactionHexRBDataItem { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRBDataItem) Set(val *DecodeRawTransactionHexRBDataItem) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRBDataItem) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRBDataItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRBDataItem(val *DecodeRawTransactionHexRBDataItem) *NullableDecodeRawTransactionHexRBDataItem { + return &NullableDecodeRawTransactionHexRBDataItem{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRBDataItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRBDataItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_ri.go b/model_decode_raw_transaction_hex_ri.go new file mode 100644 index 0000000..7872d7f --- /dev/null +++ b/model_decode_raw_transaction_hex_ri.go @@ -0,0 +1,169 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRI struct for DecodeRawTransactionHexRI +type DecodeRawTransactionHexRI struct { + BlockchainSpeficicData DecodeRawTransactionHexRIS `json:"blockchainSpeficicData"` + // Represents the total size of this transaction. + Size int32 `json:"size"` + // Represents the decoded transaction hex. + TransactionId string `json:"transactionId"` +} + +// NewDecodeRawTransactionHexRI instantiates a new DecodeRawTransactionHexRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRI(blockchainSpeficicData DecodeRawTransactionHexRIS, size int32, transactionId string) *DecodeRawTransactionHexRI { + this := DecodeRawTransactionHexRI{} + this.BlockchainSpeficicData = blockchainSpeficicData + this.Size = size + this.TransactionId = transactionId + return &this +} + +// NewDecodeRawTransactionHexRIWithDefaults instantiates a new DecodeRawTransactionHexRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRIWithDefaults() *DecodeRawTransactionHexRI { + this := DecodeRawTransactionHexRI{} + return &this +} + +// GetBlockchainSpeficicData returns the BlockchainSpeficicData field value +func (o *DecodeRawTransactionHexRI) GetBlockchainSpeficicData() DecodeRawTransactionHexRIS { + if o == nil { + var ret DecodeRawTransactionHexRIS + return ret + } + + return o.BlockchainSpeficicData +} + +// GetBlockchainSpeficicDataOk returns a tuple with the BlockchainSpeficicData field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRI) GetBlockchainSpeficicDataOk() (*DecodeRawTransactionHexRIS, bool) { + if o == nil { + return nil, false + } + return &o.BlockchainSpeficicData, true +} + +// SetBlockchainSpeficicData sets field value +func (o *DecodeRawTransactionHexRI) SetBlockchainSpeficicData(v DecodeRawTransactionHexRIS) { + o.BlockchainSpeficicData = v +} + +// GetSize returns the Size field value +func (o *DecodeRawTransactionHexRI) GetSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRI) GetSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *DecodeRawTransactionHexRI) SetSize(v int32) { + o.Size = v +} + +// GetTransactionId returns the TransactionId field value +func (o *DecodeRawTransactionHexRI) GetTransactionId() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRI) GetTransactionIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionId, true +} + +// SetTransactionId sets field value +func (o *DecodeRawTransactionHexRI) SetTransactionId(v string) { + o.TransactionId = v +} + +func (o DecodeRawTransactionHexRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["blockchainSpeficicData"] = o.BlockchainSpeficicData + } + if true { + toSerialize["size"] = o.Size + } + if true { + toSerialize["transactionId"] = o.TransactionId + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRI struct { + value *DecodeRawTransactionHexRI + isSet bool +} + +func (v NullableDecodeRawTransactionHexRI) Get() *DecodeRawTransactionHexRI { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRI) Set(val *DecodeRawTransactionHexRI) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRI) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRI(val *DecodeRawTransactionHexRI) *NullableDecodeRawTransactionHexRI { + return &NullableDecodeRawTransactionHexRI{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_ris.go b/model_decode_raw_transaction_hex_ris.go new file mode 100644 index 0000000..e974010 --- /dev/null +++ b/model_decode_raw_transaction_hex_ris.go @@ -0,0 +1,359 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DecodeRawTransactionHexRIS - Represents the specific transaction data according to the blockchain +type DecodeRawTransactionHexRIS struct { + DecodeRawTransactionHexRISB *DecodeRawTransactionHexRISB + DecodeRawTransactionHexRISB2 *DecodeRawTransactionHexRISB2 + DecodeRawTransactionHexRISB22 *DecodeRawTransactionHexRISB22 + DecodeRawTransactionHexRISD *DecodeRawTransactionHexRISD + DecodeRawTransactionHexRISD2 *DecodeRawTransactionHexRISD2 + DecodeRawTransactionHexRISE *DecodeRawTransactionHexRISE + DecodeRawTransactionHexRISE2 *DecodeRawTransactionHexRISE2 + DecodeRawTransactionHexRISL *DecodeRawTransactionHexRISL + DecodeRawTransactionHexRISZ *DecodeRawTransactionHexRISZ +} + +// DecodeRawTransactionHexRISBAsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISB wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISBAsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISB) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISB: v, + } +} + +// DecodeRawTransactionHexRISB2AsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISB2 wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISB2AsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISB2) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISB2: v, + } +} + +// DecodeRawTransactionHexRISB22AsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISB22 wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISB22AsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISB22) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISB22: v, + } +} + +// DecodeRawTransactionHexRISDAsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISD wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISDAsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISD) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISD: v, + } +} + +// DecodeRawTransactionHexRISD2AsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISD2 wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISD2AsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISD2) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISD2: v, + } +} + +// DecodeRawTransactionHexRISEAsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISE wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISEAsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISE) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISE: v, + } +} + +// DecodeRawTransactionHexRISE2AsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISE2 wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISE2AsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISE2) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISE2: v, + } +} + +// DecodeRawTransactionHexRISLAsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISL wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISLAsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISL) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISL: v, + } +} + +// DecodeRawTransactionHexRISZAsDecodeRawTransactionHexRIS is a convenience function that returns DecodeRawTransactionHexRISZ wrapped in DecodeRawTransactionHexRIS +func DecodeRawTransactionHexRISZAsDecodeRawTransactionHexRIS(v *DecodeRawTransactionHexRISZ) DecodeRawTransactionHexRIS { + return DecodeRawTransactionHexRIS{ + DecodeRawTransactionHexRISZ: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DecodeRawTransactionHexRIS) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into DecodeRawTransactionHexRISB + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISB) + if err == nil { + jsonDecodeRawTransactionHexRISB, _ := json.Marshal(dst.DecodeRawTransactionHexRISB) + if string(jsonDecodeRawTransactionHexRISB) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISB = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISB = nil + } + + // try to unmarshal data into DecodeRawTransactionHexRISB2 + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISB2) + if err == nil { + jsonDecodeRawTransactionHexRISB2, _ := json.Marshal(dst.DecodeRawTransactionHexRISB2) + if string(jsonDecodeRawTransactionHexRISB2) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISB2 = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISB2 = nil + } + + // try to unmarshal data into DecodeRawTransactionHexRISB22 + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISB22) + if err == nil { + jsonDecodeRawTransactionHexRISB22, _ := json.Marshal(dst.DecodeRawTransactionHexRISB22) + if string(jsonDecodeRawTransactionHexRISB22) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISB22 = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISB22 = nil + } + + // try to unmarshal data into DecodeRawTransactionHexRISD + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISD) + if err == nil { + jsonDecodeRawTransactionHexRISD, _ := json.Marshal(dst.DecodeRawTransactionHexRISD) + if string(jsonDecodeRawTransactionHexRISD) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISD = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISD = nil + } + + // try to unmarshal data into DecodeRawTransactionHexRISD2 + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISD2) + if err == nil { + jsonDecodeRawTransactionHexRISD2, _ := json.Marshal(dst.DecodeRawTransactionHexRISD2) + if string(jsonDecodeRawTransactionHexRISD2) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISD2 = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISD2 = nil + } + + // try to unmarshal data into DecodeRawTransactionHexRISE + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISE) + if err == nil { + jsonDecodeRawTransactionHexRISE, _ := json.Marshal(dst.DecodeRawTransactionHexRISE) + if string(jsonDecodeRawTransactionHexRISE) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISE = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISE = nil + } + + // try to unmarshal data into DecodeRawTransactionHexRISE2 + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISE2) + if err == nil { + jsonDecodeRawTransactionHexRISE2, _ := json.Marshal(dst.DecodeRawTransactionHexRISE2) + if string(jsonDecodeRawTransactionHexRISE2) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISE2 = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISE2 = nil + } + + // try to unmarshal data into DecodeRawTransactionHexRISL + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISL) + if err == nil { + jsonDecodeRawTransactionHexRISL, _ := json.Marshal(dst.DecodeRawTransactionHexRISL) + if string(jsonDecodeRawTransactionHexRISL) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISL = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISL = nil + } + + // try to unmarshal data into DecodeRawTransactionHexRISZ + err = newStrictDecoder(data).Decode(&dst.DecodeRawTransactionHexRISZ) + if err == nil { + jsonDecodeRawTransactionHexRISZ, _ := json.Marshal(dst.DecodeRawTransactionHexRISZ) + if string(jsonDecodeRawTransactionHexRISZ) == "{}" { // empty struct + dst.DecodeRawTransactionHexRISZ = nil + } else { + match++ + } + } else { + dst.DecodeRawTransactionHexRISZ = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.DecodeRawTransactionHexRISB = nil + dst.DecodeRawTransactionHexRISB2 = nil + dst.DecodeRawTransactionHexRISB22 = nil + dst.DecodeRawTransactionHexRISD = nil + dst.DecodeRawTransactionHexRISD2 = nil + dst.DecodeRawTransactionHexRISE = nil + dst.DecodeRawTransactionHexRISE2 = nil + dst.DecodeRawTransactionHexRISL = nil + dst.DecodeRawTransactionHexRISZ = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DecodeRawTransactionHexRIS)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DecodeRawTransactionHexRIS)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DecodeRawTransactionHexRIS) MarshalJSON() ([]byte, error) { + if src.DecodeRawTransactionHexRISB != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISB) + } + + if src.DecodeRawTransactionHexRISB2 != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISB2) + } + + if src.DecodeRawTransactionHexRISB22 != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISB22) + } + + if src.DecodeRawTransactionHexRISD != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISD) + } + + if src.DecodeRawTransactionHexRISD2 != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISD2) + } + + if src.DecodeRawTransactionHexRISE != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISE) + } + + if src.DecodeRawTransactionHexRISE2 != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISE2) + } + + if src.DecodeRawTransactionHexRISL != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISL) + } + + if src.DecodeRawTransactionHexRISZ != nil { + return json.Marshal(&src.DecodeRawTransactionHexRISZ) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DecodeRawTransactionHexRIS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.DecodeRawTransactionHexRISB != nil { + return obj.DecodeRawTransactionHexRISB + } + + if obj.DecodeRawTransactionHexRISB2 != nil { + return obj.DecodeRawTransactionHexRISB2 + } + + if obj.DecodeRawTransactionHexRISB22 != nil { + return obj.DecodeRawTransactionHexRISB22 + } + + if obj.DecodeRawTransactionHexRISD != nil { + return obj.DecodeRawTransactionHexRISD + } + + if obj.DecodeRawTransactionHexRISD2 != nil { + return obj.DecodeRawTransactionHexRISD2 + } + + if obj.DecodeRawTransactionHexRISE != nil { + return obj.DecodeRawTransactionHexRISE + } + + if obj.DecodeRawTransactionHexRISE2 != nil { + return obj.DecodeRawTransactionHexRISE2 + } + + if obj.DecodeRawTransactionHexRISL != nil { + return obj.DecodeRawTransactionHexRISL + } + + if obj.DecodeRawTransactionHexRISZ != nil { + return obj.DecodeRawTransactionHexRISZ + } + + // all schemas are nil + return nil +} + +type NullableDecodeRawTransactionHexRIS struct { + value *DecodeRawTransactionHexRIS + isSet bool +} + +func (v NullableDecodeRawTransactionHexRIS) Get() *DecodeRawTransactionHexRIS { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRIS) Set(val *DecodeRawTransactionHexRIS) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRIS) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRIS) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRIS(val *DecodeRawTransactionHexRIS) *NullableDecodeRawTransactionHexRIS { + return &NullableDecodeRawTransactionHexRIS{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRIS) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRIS) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb.go b/model_decode_raw_transaction_hex_risb.go new file mode 100644 index 0000000..8dd80ee --- /dev/null +++ b/model_decode_raw_transaction_hex_risb.go @@ -0,0 +1,297 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISB Bitcoin +type DecodeRawTransactionHexRISB struct { + // Represents the time at which a particular transaction can be added to the blockchain. + Locktime int32 `json:"locktime"` + // Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. + TransactionHash string `json:"transactionHash"` + // Represents the virtual size of this transaction. + VSize int32 `json:"vSize"` + // Represents the transaction version number. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []DecodeRawTransactionHexRISBVin `json:"vin"` + // Represents the transaction outputs. + Vout []DecodeRawTransactionHexRISBVout `json:"vout"` + // Represents the size of Bitcoin block, measured in weight units and including the segwit discount. + Weight *int32 `json:"weight,omitempty"` +} + +// NewDecodeRawTransactionHexRISB instantiates a new DecodeRawTransactionHexRISB object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISB(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISBVin, vout []DecodeRawTransactionHexRISBVout) *DecodeRawTransactionHexRISB { + this := DecodeRawTransactionHexRISB{} + this.Locktime = locktime + this.TransactionHash = transactionHash + this.VSize = vSize + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewDecodeRawTransactionHexRISBWithDefaults instantiates a new DecodeRawTransactionHexRISB object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISBWithDefaults() *DecodeRawTransactionHexRISB { + this := DecodeRawTransactionHexRISB{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *DecodeRawTransactionHexRISB) GetLocktime() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB) GetLocktimeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *DecodeRawTransactionHexRISB) SetLocktime(v int32) { + o.Locktime = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *DecodeRawTransactionHexRISB) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *DecodeRawTransactionHexRISB) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetVSize returns the VSize field value +func (o *DecodeRawTransactionHexRISB) GetVSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.VSize +} + +// GetVSizeOk returns a tuple with the VSize field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB) GetVSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.VSize, true +} + +// SetVSize sets field value +func (o *DecodeRawTransactionHexRISB) SetVSize(v int32) { + o.VSize = v +} + +// GetVersion returns the Version field value +func (o *DecodeRawTransactionHexRISB) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *DecodeRawTransactionHexRISB) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *DecodeRawTransactionHexRISB) GetVin() []DecodeRawTransactionHexRISBVin { + if o == nil { + var ret []DecodeRawTransactionHexRISBVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB) GetVinOk() ([]DecodeRawTransactionHexRISBVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *DecodeRawTransactionHexRISB) SetVin(v []DecodeRawTransactionHexRISBVin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *DecodeRawTransactionHexRISB) GetVout() []DecodeRawTransactionHexRISBVout { + if o == nil { + var ret []DecodeRawTransactionHexRISBVout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB) GetVoutOk() ([]DecodeRawTransactionHexRISBVout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *DecodeRawTransactionHexRISB) SetVout(v []DecodeRawTransactionHexRISBVout) { + o.Vout = v +} + +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB) GetWeight() int32 { + if o == nil || o.Weight == nil { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB) GetWeightOk() (*int32, bool) { + if o == nil || o.Weight == nil { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB) HasWeight() bool { + if o != nil && o.Weight != nil { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *DecodeRawTransactionHexRISB) SetWeight(v int32) { + o.Weight = &v +} + +func (o DecodeRawTransactionHexRISB) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["vSize"] = o.VSize + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + if o.Weight != nil { + toSerialize["weight"] = o.Weight + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISB struct { + value *DecodeRawTransactionHexRISB + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISB) Get() *DecodeRawTransactionHexRISB { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISB) Set(val *DecodeRawTransactionHexRISB) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISB) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISB) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISB(val *DecodeRawTransactionHexRISB) *NullableDecodeRawTransactionHexRISB { + return &NullableDecodeRawTransactionHexRISB{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISB) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISB) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb2.go b/model_decode_raw_transaction_hex_risb2.go new file mode 100644 index 0000000..7beeda7 --- /dev/null +++ b/model_decode_raw_transaction_hex_risb2.go @@ -0,0 +1,297 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISB2 Bitcoin Cash +type DecodeRawTransactionHexRISB2 struct { + // Represents the time at which a particular transaction can be added to the blockchain. + Locktime int32 `json:"locktime"` + // Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. + TransactionHash string `json:"transactionHash"` + // Represents the virtual size of this transaction. + VSize int32 `json:"vSize"` + // Represents transaction version number. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []DecodeRawTransactionHexRISB2Vin `json:"vin"` + // Represents the transaction outputs. + Vout []DecodeRawTransactionHexRISB2Vout `json:"vout"` + // Represents the size of a block, measured in weight units and including the segwit discount. + Weight *int32 `json:"weight,omitempty"` +} + +// NewDecodeRawTransactionHexRISB2 instantiates a new DecodeRawTransactionHexRISB2 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISB2(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISB2Vin, vout []DecodeRawTransactionHexRISB2Vout) *DecodeRawTransactionHexRISB2 { + this := DecodeRawTransactionHexRISB2{} + this.Locktime = locktime + this.TransactionHash = transactionHash + this.VSize = vSize + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewDecodeRawTransactionHexRISB2WithDefaults instantiates a new DecodeRawTransactionHexRISB2 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISB2WithDefaults() *DecodeRawTransactionHexRISB2 { + this := DecodeRawTransactionHexRISB2{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *DecodeRawTransactionHexRISB2) GetLocktime() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2) GetLocktimeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *DecodeRawTransactionHexRISB2) SetLocktime(v int32) { + o.Locktime = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *DecodeRawTransactionHexRISB2) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *DecodeRawTransactionHexRISB2) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetVSize returns the VSize field value +func (o *DecodeRawTransactionHexRISB2) GetVSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.VSize +} + +// GetVSizeOk returns a tuple with the VSize field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2) GetVSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.VSize, true +} + +// SetVSize sets field value +func (o *DecodeRawTransactionHexRISB2) SetVSize(v int32) { + o.VSize = v +} + +// GetVersion returns the Version field value +func (o *DecodeRawTransactionHexRISB2) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *DecodeRawTransactionHexRISB2) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *DecodeRawTransactionHexRISB2) GetVin() []DecodeRawTransactionHexRISB2Vin { + if o == nil { + var ret []DecodeRawTransactionHexRISB2Vin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2) GetVinOk() ([]DecodeRawTransactionHexRISB2Vin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *DecodeRawTransactionHexRISB2) SetVin(v []DecodeRawTransactionHexRISB2Vin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *DecodeRawTransactionHexRISB2) GetVout() []DecodeRawTransactionHexRISB2Vout { + if o == nil { + var ret []DecodeRawTransactionHexRISB2Vout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2) GetVoutOk() ([]DecodeRawTransactionHexRISB2Vout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *DecodeRawTransactionHexRISB2) SetVout(v []DecodeRawTransactionHexRISB2Vout) { + o.Vout = v +} + +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2) GetWeight() int32 { + if o == nil || o.Weight == nil { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2) GetWeightOk() (*int32, bool) { + if o == nil || o.Weight == nil { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2) HasWeight() bool { + if o != nil && o.Weight != nil { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *DecodeRawTransactionHexRISB2) SetWeight(v int32) { + o.Weight = &v +} + +func (o DecodeRawTransactionHexRISB2) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["vSize"] = o.VSize + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + if o.Weight != nil { + toSerialize["weight"] = o.Weight + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISB2 struct { + value *DecodeRawTransactionHexRISB2 + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISB2) Get() *DecodeRawTransactionHexRISB2 { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISB2) Set(val *DecodeRawTransactionHexRISB2) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISB2) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISB2) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISB2(val *DecodeRawTransactionHexRISB2) *NullableDecodeRawTransactionHexRISB2 { + return &NullableDecodeRawTransactionHexRISB2{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISB2) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISB2) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb22.go b/model_decode_raw_transaction_hex_risb22.go new file mode 100644 index 0000000..da8e06e --- /dev/null +++ b/model_decode_raw_transaction_hex_risb22.go @@ -0,0 +1,563 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISB22 Binance Smart Chain +type DecodeRawTransactionHexRISB22 struct { + // Defines the approximate fee value. When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value. + ApproximateFee *string `json:"approximateFee,omitempty"` + // Defines the approximate minimum fee that is required for the transaction. + ApproximateMinimumRequiredFee *string `json:"approximateMinimumRequiredFee,omitempty"` + // Represents the amount of gas used by this specific transaction alone. + GasLimit string `json:"gasLimit"` + // Represents the amount of gas paid for the data in the transaction. + GasPaidForData *string `json:"gasPaidForData,omitempty"` + // Represents the price offered to the miner to purchase this amount of gas. + GasPrice *string `json:"gasPrice,omitempty"` + // Represents additional information that is required for the transaction. + InputData *string `json:"inputData,omitempty"` + // Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. + Nonce int32 `json:"nonce"` + // Represents output of an ECDSA signature. + R *string `json:"r,omitempty"` + // The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. + Recipient string `json:"recipient"` + // Represents output of an ECDSA signature. + S *string `json:"s,omitempty"` + // Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. + Sender string `json:"sender"` + // Specifies the transaction type as one from three options: if response returns a `\"0\"` it means the raw transaction includes legacy transaction data, if it is `\"1\"` - includes access lists for EIP2930, and if it is `\"2\"` - EIP1559 data. + Type int32 `json:"type"` + // Defines the the recovery id. + V *string `json:"v,omitempty"` + // Represents the sent/received amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISB22 instantiates a new DecodeRawTransactionHexRISB22 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISB22(gasLimit string, nonce int32, recipient string, sender string, type_ int32) *DecodeRawTransactionHexRISB22 { + this := DecodeRawTransactionHexRISB22{} + this.GasLimit = gasLimit + this.Nonce = nonce + this.Recipient = recipient + this.Sender = sender + this.Type = type_ + return &this +} + +// NewDecodeRawTransactionHexRISB22WithDefaults instantiates a new DecodeRawTransactionHexRISB22 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISB22WithDefaults() *DecodeRawTransactionHexRISB22 { + this := DecodeRawTransactionHexRISB22{} + return &this +} + +// GetApproximateFee returns the ApproximateFee field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetApproximateFee() string { + if o == nil || o.ApproximateFee == nil { + var ret string + return ret + } + return *o.ApproximateFee +} + +// GetApproximateFeeOk returns a tuple with the ApproximateFee field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetApproximateFeeOk() (*string, bool) { + if o == nil || o.ApproximateFee == nil { + return nil, false + } + return o.ApproximateFee, true +} + +// HasApproximateFee returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasApproximateFee() bool { + if o != nil && o.ApproximateFee != nil { + return true + } + + return false +} + +// SetApproximateFee gets a reference to the given string and assigns it to the ApproximateFee field. +func (o *DecodeRawTransactionHexRISB22) SetApproximateFee(v string) { + o.ApproximateFee = &v +} + +// GetApproximateMinimumRequiredFee returns the ApproximateMinimumRequiredFee field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetApproximateMinimumRequiredFee() string { + if o == nil || o.ApproximateMinimumRequiredFee == nil { + var ret string + return ret + } + return *o.ApproximateMinimumRequiredFee +} + +// GetApproximateMinimumRequiredFeeOk returns a tuple with the ApproximateMinimumRequiredFee field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetApproximateMinimumRequiredFeeOk() (*string, bool) { + if o == nil || o.ApproximateMinimumRequiredFee == nil { + return nil, false + } + return o.ApproximateMinimumRequiredFee, true +} + +// HasApproximateMinimumRequiredFee returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasApproximateMinimumRequiredFee() bool { + if o != nil && o.ApproximateMinimumRequiredFee != nil { + return true + } + + return false +} + +// SetApproximateMinimumRequiredFee gets a reference to the given string and assigns it to the ApproximateMinimumRequiredFee field. +func (o *DecodeRawTransactionHexRISB22) SetApproximateMinimumRequiredFee(v string) { + o.ApproximateMinimumRequiredFee = &v +} + +// GetGasLimit returns the GasLimit field value +func (o *DecodeRawTransactionHexRISB22) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *DecodeRawTransactionHexRISB22) SetGasLimit(v string) { + o.GasLimit = v +} + +// GetGasPaidForData returns the GasPaidForData field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetGasPaidForData() string { + if o == nil || o.GasPaidForData == nil { + var ret string + return ret + } + return *o.GasPaidForData +} + +// GetGasPaidForDataOk returns a tuple with the GasPaidForData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetGasPaidForDataOk() (*string, bool) { + if o == nil || o.GasPaidForData == nil { + return nil, false + } + return o.GasPaidForData, true +} + +// HasGasPaidForData returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasGasPaidForData() bool { + if o != nil && o.GasPaidForData != nil { + return true + } + + return false +} + +// SetGasPaidForData gets a reference to the given string and assigns it to the GasPaidForData field. +func (o *DecodeRawTransactionHexRISB22) SetGasPaidForData(v string) { + o.GasPaidForData = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetGasPrice() string { + if o == nil || o.GasPrice == nil { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetGasPriceOk() (*string, bool) { + if o == nil || o.GasPrice == nil { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasGasPrice() bool { + if o != nil && o.GasPrice != nil { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *DecodeRawTransactionHexRISB22) SetGasPrice(v string) { + o.GasPrice = &v +} + +// GetInputData returns the InputData field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetInputData() string { + if o == nil || o.InputData == nil { + var ret string + return ret + } + return *o.InputData +} + +// GetInputDataOk returns a tuple with the InputData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetInputDataOk() (*string, bool) { + if o == nil || o.InputData == nil { + return nil, false + } + return o.InputData, true +} + +// HasInputData returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasInputData() bool { + if o != nil && o.InputData != nil { + return true + } + + return false +} + +// SetInputData gets a reference to the given string and assigns it to the InputData field. +func (o *DecodeRawTransactionHexRISB22) SetInputData(v string) { + o.InputData = &v +} + +// GetNonce returns the Nonce field value +func (o *DecodeRawTransactionHexRISB22) GetNonce() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetNonceOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *DecodeRawTransactionHexRISB22) SetNonce(v int32) { + o.Nonce = v +} + +// GetR returns the R field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetR() string { + if o == nil || o.R == nil { + var ret string + return ret + } + return *o.R +} + +// GetROk returns a tuple with the R field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetROk() (*string, bool) { + if o == nil || o.R == nil { + return nil, false + } + return o.R, true +} + +// HasR returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasR() bool { + if o != nil && o.R != nil { + return true + } + + return false +} + +// SetR gets a reference to the given string and assigns it to the R field. +func (o *DecodeRawTransactionHexRISB22) SetR(v string) { + o.R = &v +} + +// GetRecipient returns the Recipient field value +func (o *DecodeRawTransactionHexRISB22) GetRecipient() string { + if o == nil { + var ret string + return ret + } + + return o.Recipient +} + +// GetRecipientOk returns a tuple with the Recipient field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetRecipientOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Recipient, true +} + +// SetRecipient sets field value +func (o *DecodeRawTransactionHexRISB22) SetRecipient(v string) { + o.Recipient = v +} + +// GetS returns the S field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetS() string { + if o == nil || o.S == nil { + var ret string + return ret + } + return *o.S +} + +// GetSOk returns a tuple with the S field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetSOk() (*string, bool) { + if o == nil || o.S == nil { + return nil, false + } + return o.S, true +} + +// HasS returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasS() bool { + if o != nil && o.S != nil { + return true + } + + return false +} + +// SetS gets a reference to the given string and assigns it to the S field. +func (o *DecodeRawTransactionHexRISB22) SetS(v string) { + o.S = &v +} + +// GetSender returns the Sender field value +func (o *DecodeRawTransactionHexRISB22) GetSender() string { + if o == nil { + var ret string + return ret + } + + return o.Sender +} + +// GetSenderOk returns a tuple with the Sender field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetSenderOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sender, true +} + +// SetSender sets field value +func (o *DecodeRawTransactionHexRISB22) SetSender(v string) { + o.Sender = v +} + +// GetType returns the Type field value +func (o *DecodeRawTransactionHexRISB22) GetType() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetTypeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *DecodeRawTransactionHexRISB22) SetType(v int32) { + o.Type = v +} + +// GetV returns the V field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetV() string { + if o == nil || o.V == nil { + var ret string + return ret + } + return *o.V +} + +// GetVOk returns a tuple with the V field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetVOk() (*string, bool) { + if o == nil || o.V == nil { + return nil, false + } + return o.V, true +} + +// HasV returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasV() bool { + if o != nil && o.V != nil { + return true + } + + return false +} + +// SetV gets a reference to the given string and assigns it to the V field. +func (o *DecodeRawTransactionHexRISB22) SetV(v string) { + o.V = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB22) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB22) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB22) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISB22) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISB22) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.ApproximateFee != nil { + toSerialize["approximateFee"] = o.ApproximateFee + } + if o.ApproximateMinimumRequiredFee != nil { + toSerialize["approximateMinimumRequiredFee"] = o.ApproximateMinimumRequiredFee + } + if true { + toSerialize["gasLimit"] = o.GasLimit + } + if o.GasPaidForData != nil { + toSerialize["gasPaidForData"] = o.GasPaidForData + } + if o.GasPrice != nil { + toSerialize["gasPrice"] = o.GasPrice + } + if o.InputData != nil { + toSerialize["inputData"] = o.InputData + } + if true { + toSerialize["nonce"] = o.Nonce + } + if o.R != nil { + toSerialize["r"] = o.R + } + if true { + toSerialize["recipient"] = o.Recipient + } + if o.S != nil { + toSerialize["s"] = o.S + } + if true { + toSerialize["sender"] = o.Sender + } + if true { + toSerialize["type"] = o.Type + } + if o.V != nil { + toSerialize["v"] = o.V + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISB22 struct { + value *DecodeRawTransactionHexRISB22 + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISB22) Get() *DecodeRawTransactionHexRISB22 { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISB22) Set(val *DecodeRawTransactionHexRISB22) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISB22) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISB22) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISB22(val *DecodeRawTransactionHexRISB22) *NullableDecodeRawTransactionHexRISB22 { + return &NullableDecodeRawTransactionHexRISB22{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISB22) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISB22) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb2_script_pub_key.go b/model_decode_raw_transaction_hex_risb2_script_pub_key.go new file mode 100644 index 0000000..b6c5519 --- /dev/null +++ b/model_decode_raw_transaction_hex_risb2_script_pub_key.go @@ -0,0 +1,221 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISB2ScriptPubKey Represents the script public key. +type DecodeRawTransactionHexRISB2ScriptPubKey struct { + // Represents the address which send the amount. + Address string `json:"address"` + // Represents the assembly of the script public key of the address. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the script public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISB2ScriptPubKey instantiates a new DecodeRawTransactionHexRISB2ScriptPubKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISB2ScriptPubKey(address string) *DecodeRawTransactionHexRISB2ScriptPubKey { + this := DecodeRawTransactionHexRISB2ScriptPubKey{} + this.Address = address + return &this +} + +// NewDecodeRawTransactionHexRISB2ScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISB2ScriptPubKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISB2ScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISB2ScriptPubKey { + this := DecodeRawTransactionHexRISB2ScriptPubKey{} + return &this +} + +// GetAddress returns the Address field value +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) SetAddress(v string) { + o.Address = v +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISB2ScriptPubKey) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISB2ScriptPubKey) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["address"] = o.Address + } + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISB2ScriptPubKey struct { + value *DecodeRawTransactionHexRISB2ScriptPubKey + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISB2ScriptPubKey) Get() *DecodeRawTransactionHexRISB2ScriptPubKey { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISB2ScriptPubKey) Set(val *DecodeRawTransactionHexRISB2ScriptPubKey) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISB2ScriptPubKey) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISB2ScriptPubKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISB2ScriptPubKey(val *DecodeRawTransactionHexRISB2ScriptPubKey) *NullableDecodeRawTransactionHexRISB2ScriptPubKey { + return &NullableDecodeRawTransactionHexRISB2ScriptPubKey{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISB2ScriptPubKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISB2ScriptPubKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb2_vin.go b/model_decode_raw_transaction_hex_risb2_vin.go new file mode 100644 index 0000000..25466c7 --- /dev/null +++ b/model_decode_raw_transaction_hex_risb2_vin.go @@ -0,0 +1,293 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISB2Vin struct for DecodeRawTransactionHexRISB2Vin +type DecodeRawTransactionHexRISB2Vin struct { + // Represents the address which send/receive the amount. + Address *string `json:"address,omitempty"` + // Represents the transaction inputs' indentifier. + InputHash *string `json:"inputHash,omitempty"` + // Defines the output index of a transaction. + OutputIndex *string `json:"outputIndex,omitempty"` + ScriptSig DecodeRawTransactionHexRISBScriptSig `json:"scriptSig"` + // Represents the script sequence number. + Sequence *string `json:"sequence,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` +} + +// NewDecodeRawTransactionHexRISB2Vin instantiates a new DecodeRawTransactionHexRISB2Vin object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISB2Vin(scriptSig DecodeRawTransactionHexRISBScriptSig) *DecodeRawTransactionHexRISB2Vin { + this := DecodeRawTransactionHexRISB2Vin{} + this.ScriptSig = scriptSig + return &this +} + +// NewDecodeRawTransactionHexRISB2VinWithDefaults instantiates a new DecodeRawTransactionHexRISB2Vin object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISB2VinWithDefaults() *DecodeRawTransactionHexRISB2Vin { + this := DecodeRawTransactionHexRISB2Vin{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2Vin) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2Vin) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2Vin) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *DecodeRawTransactionHexRISB2Vin) SetAddress(v string) { + o.Address = &v +} + +// GetInputHash returns the InputHash field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2Vin) GetInputHash() string { + if o == nil || o.InputHash == nil { + var ret string + return ret + } + return *o.InputHash +} + +// GetInputHashOk returns a tuple with the InputHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2Vin) GetInputHashOk() (*string, bool) { + if o == nil || o.InputHash == nil { + return nil, false + } + return o.InputHash, true +} + +// HasInputHash returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2Vin) HasInputHash() bool { + if o != nil && o.InputHash != nil { + return true + } + + return false +} + +// SetInputHash gets a reference to the given string and assigns it to the InputHash field. +func (o *DecodeRawTransactionHexRISB2Vin) SetInputHash(v string) { + o.InputHash = &v +} + +// GetOutputIndex returns the OutputIndex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2Vin) GetOutputIndex() string { + if o == nil || o.OutputIndex == nil { + var ret string + return ret + } + return *o.OutputIndex +} + +// GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2Vin) GetOutputIndexOk() (*string, bool) { + if o == nil || o.OutputIndex == nil { + return nil, false + } + return o.OutputIndex, true +} + +// HasOutputIndex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2Vin) HasOutputIndex() bool { + if o != nil && o.OutputIndex != nil { + return true + } + + return false +} + +// SetOutputIndex gets a reference to the given string and assigns it to the OutputIndex field. +func (o *DecodeRawTransactionHexRISB2Vin) SetOutputIndex(v string) { + o.OutputIndex = &v +} + +// GetScriptSig returns the ScriptSig field value +func (o *DecodeRawTransactionHexRISB2Vin) GetScriptSig() DecodeRawTransactionHexRISBScriptSig { + if o == nil { + var ret DecodeRawTransactionHexRISBScriptSig + return ret + } + + return o.ScriptSig +} + +// GetScriptSigOk returns a tuple with the ScriptSig field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2Vin) GetScriptSigOk() (*DecodeRawTransactionHexRISBScriptSig, bool) { + if o == nil { + return nil, false + } + return &o.ScriptSig, true +} + +// SetScriptSig sets field value +func (o *DecodeRawTransactionHexRISB2Vin) SetScriptSig(v DecodeRawTransactionHexRISBScriptSig) { + o.ScriptSig = v +} + +// GetSequence returns the Sequence field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2Vin) GetSequence() string { + if o == nil || o.Sequence == nil { + var ret string + return ret + } + return *o.Sequence +} + +// GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2Vin) GetSequenceOk() (*string, bool) { + if o == nil || o.Sequence == nil { + return nil, false + } + return o.Sequence, true +} + +// HasSequence returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2Vin) HasSequence() bool { + if o != nil && o.Sequence != nil { + return true + } + + return false +} + +// SetSequence gets a reference to the given string and assigns it to the Sequence field. +func (o *DecodeRawTransactionHexRISB2Vin) SetSequence(v string) { + o.Sequence = &v +} + +// GetTxinwitness returns the Txinwitness field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2Vin) GetTxinwitness() []string { + if o == nil || o.Txinwitness == nil { + var ret []string + return ret + } + return o.Txinwitness +} + +// GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil || o.Txinwitness == nil { + return nil, false + } + return o.Txinwitness, true +} + +// HasTxinwitness returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2Vin) HasTxinwitness() bool { + if o != nil && o.Txinwitness != nil { + return true + } + + return false +} + +// SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. +func (o *DecodeRawTransactionHexRISB2Vin) SetTxinwitness(v []string) { + o.Txinwitness = v +} + +func (o DecodeRawTransactionHexRISB2Vin) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Address != nil { + toSerialize["address"] = o.Address + } + if o.InputHash != nil { + toSerialize["inputHash"] = o.InputHash + } + if o.OutputIndex != nil { + toSerialize["outputIndex"] = o.OutputIndex + } + if true { + toSerialize["scriptSig"] = o.ScriptSig + } + if o.Sequence != nil { + toSerialize["sequence"] = o.Sequence + } + if o.Txinwitness != nil { + toSerialize["txinwitness"] = o.Txinwitness + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISB2Vin struct { + value *DecodeRawTransactionHexRISB2Vin + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISB2Vin) Get() *DecodeRawTransactionHexRISB2Vin { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISB2Vin) Set(val *DecodeRawTransactionHexRISB2Vin) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISB2Vin) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISB2Vin) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISB2Vin(val *DecodeRawTransactionHexRISB2Vin) *NullableDecodeRawTransactionHexRISB2Vin { + return &NullableDecodeRawTransactionHexRISB2Vin{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISB2Vin) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISB2Vin) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb2_vout.go b/model_decode_raw_transaction_hex_risb2_vout.go new file mode 100644 index 0000000..6994a61 --- /dev/null +++ b/model_decode_raw_transaction_hex_risb2_vout.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISB2Vout struct for DecodeRawTransactionHexRISB2Vout +type DecodeRawTransactionHexRISB2Vout struct { + ScriptPubKey DecodeRawTransactionHexRISB2ScriptPubKey `json:"scriptPubKey"` + // Represents the sent/received amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISB2Vout instantiates a new DecodeRawTransactionHexRISB2Vout object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISB2Vout(scriptPubKey DecodeRawTransactionHexRISB2ScriptPubKey) *DecodeRawTransactionHexRISB2Vout { + this := DecodeRawTransactionHexRISB2Vout{} + this.ScriptPubKey = scriptPubKey + return &this +} + +// NewDecodeRawTransactionHexRISB2VoutWithDefaults instantiates a new DecodeRawTransactionHexRISB2Vout object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISB2VoutWithDefaults() *DecodeRawTransactionHexRISB2Vout { + this := DecodeRawTransactionHexRISB2Vout{} + return &this +} + +// GetScriptPubKey returns the ScriptPubKey field value +func (o *DecodeRawTransactionHexRISB2Vout) GetScriptPubKey() DecodeRawTransactionHexRISB2ScriptPubKey { + if o == nil { + var ret DecodeRawTransactionHexRISB2ScriptPubKey + return ret + } + + return o.ScriptPubKey +} + +// GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2Vout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISB2ScriptPubKey, bool) { + if o == nil { + return nil, false + } + return &o.ScriptPubKey, true +} + +// SetScriptPubKey sets field value +func (o *DecodeRawTransactionHexRISB2Vout) SetScriptPubKey(v DecodeRawTransactionHexRISB2ScriptPubKey) { + o.ScriptPubKey = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISB2Vout) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISB2Vout) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISB2Vout) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISB2Vout) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISB2Vout) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["scriptPubKey"] = o.ScriptPubKey + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISB2Vout struct { + value *DecodeRawTransactionHexRISB2Vout + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISB2Vout) Get() *DecodeRawTransactionHexRISB2Vout { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISB2Vout) Set(val *DecodeRawTransactionHexRISB2Vout) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISB2Vout) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISB2Vout) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISB2Vout(val *DecodeRawTransactionHexRISB2Vout) *NullableDecodeRawTransactionHexRISB2Vout { + return &NullableDecodeRawTransactionHexRISB2Vout{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISB2Vout) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISB2Vout) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb_script_pub_key.go b/model_decode_raw_transaction_hex_risb_script_pub_key.go new file mode 100644 index 0000000..8e2874e --- /dev/null +++ b/model_decode_raw_transaction_hex_risb_script_pub_key.go @@ -0,0 +1,221 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISBScriptPubKey Script pub key of the transaction +type DecodeRawTransactionHexRISBScriptPubKey struct { + // Represents the address which send the amount. + Address string `json:"address"` + // Represents the assembly of the script public key of the address. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the script public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISBScriptPubKey instantiates a new DecodeRawTransactionHexRISBScriptPubKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISBScriptPubKey(address string) *DecodeRawTransactionHexRISBScriptPubKey { + this := DecodeRawTransactionHexRISBScriptPubKey{} + this.Address = address + return &this +} + +// NewDecodeRawTransactionHexRISBScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISBScriptPubKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISBScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISBScriptPubKey { + this := DecodeRawTransactionHexRISBScriptPubKey{} + return &this +} + +// GetAddress returns the Address field value +func (o *DecodeRawTransactionHexRISBScriptPubKey) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBScriptPubKey) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *DecodeRawTransactionHexRISBScriptPubKey) SetAddress(v string) { + o.Address = v +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBScriptPubKey) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBScriptPubKey) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBScriptPubKey) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISBScriptPubKey) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBScriptPubKey) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBScriptPubKey) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBScriptPubKey) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISBScriptPubKey) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBScriptPubKey) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBScriptPubKey) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBScriptPubKey) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISBScriptPubKey) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISBScriptPubKey) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["address"] = o.Address + } + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISBScriptPubKey struct { + value *DecodeRawTransactionHexRISBScriptPubKey + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISBScriptPubKey) Get() *DecodeRawTransactionHexRISBScriptPubKey { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISBScriptPubKey) Set(val *DecodeRawTransactionHexRISBScriptPubKey) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISBScriptPubKey) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISBScriptPubKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISBScriptPubKey(val *DecodeRawTransactionHexRISBScriptPubKey) *NullableDecodeRawTransactionHexRISBScriptPubKey { + return &NullableDecodeRawTransactionHexRISBScriptPubKey{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISBScriptPubKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISBScriptPubKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb_script_sig.go b/model_decode_raw_transaction_hex_risb_script_sig.go new file mode 100644 index 0000000..3f40e9e --- /dev/null +++ b/model_decode_raw_transaction_hex_risb_script_sig.go @@ -0,0 +1,191 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISBScriptSig Specifies the required signatures. +type DecodeRawTransactionHexRISBScriptSig struct { + // The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type of the reference transaction identifier. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISBScriptSig instantiates a new DecodeRawTransactionHexRISBScriptSig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISBScriptSig() *DecodeRawTransactionHexRISBScriptSig { + this := DecodeRawTransactionHexRISBScriptSig{} + return &this +} + +// NewDecodeRawTransactionHexRISBScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISBScriptSig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISBScriptSigWithDefaults() *DecodeRawTransactionHexRISBScriptSig { + this := DecodeRawTransactionHexRISBScriptSig{} + return &this +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBScriptSig) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBScriptSig) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBScriptSig) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISBScriptSig) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBScriptSig) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBScriptSig) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBScriptSig) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISBScriptSig) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBScriptSig) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBScriptSig) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBScriptSig) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISBScriptSig) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISBScriptSig) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISBScriptSig struct { + value *DecodeRawTransactionHexRISBScriptSig + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISBScriptSig) Get() *DecodeRawTransactionHexRISBScriptSig { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISBScriptSig) Set(val *DecodeRawTransactionHexRISBScriptSig) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISBScriptSig) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISBScriptSig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISBScriptSig(val *DecodeRawTransactionHexRISBScriptSig) *NullableDecodeRawTransactionHexRISBScriptSig { + return &NullableDecodeRawTransactionHexRISBScriptSig{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISBScriptSig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISBScriptSig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb_vin.go b/model_decode_raw_transaction_hex_risb_vin.go new file mode 100644 index 0000000..7f81fa3 --- /dev/null +++ b/model_decode_raw_transaction_hex_risb_vin.go @@ -0,0 +1,293 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISBVin struct for DecodeRawTransactionHexRISBVin +type DecodeRawTransactionHexRISBVin struct { + // Represents the address which send/receive the amount. + Address *string `json:"address,omitempty"` + // Represents the transaction inputs' indentifier. + InputHash *string `json:"inputHash,omitempty"` + // Represents the output of a transaction. + OutputIndex *int32 `json:"outputIndex,omitempty"` + ScriptSig DecodeRawTransactionHexRISBScriptSig `json:"scriptSig"` + // Represents the script sequence number. + Sequence *string `json:"sequence,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` +} + +// NewDecodeRawTransactionHexRISBVin instantiates a new DecodeRawTransactionHexRISBVin object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISBVin(scriptSig DecodeRawTransactionHexRISBScriptSig) *DecodeRawTransactionHexRISBVin { + this := DecodeRawTransactionHexRISBVin{} + this.ScriptSig = scriptSig + return &this +} + +// NewDecodeRawTransactionHexRISBVinWithDefaults instantiates a new DecodeRawTransactionHexRISBVin object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISBVinWithDefaults() *DecodeRawTransactionHexRISBVin { + this := DecodeRawTransactionHexRISBVin{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBVin) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBVin) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBVin) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *DecodeRawTransactionHexRISBVin) SetAddress(v string) { + o.Address = &v +} + +// GetInputHash returns the InputHash field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBVin) GetInputHash() string { + if o == nil || o.InputHash == nil { + var ret string + return ret + } + return *o.InputHash +} + +// GetInputHashOk returns a tuple with the InputHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBVin) GetInputHashOk() (*string, bool) { + if o == nil || o.InputHash == nil { + return nil, false + } + return o.InputHash, true +} + +// HasInputHash returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBVin) HasInputHash() bool { + if o != nil && o.InputHash != nil { + return true + } + + return false +} + +// SetInputHash gets a reference to the given string and assigns it to the InputHash field. +func (o *DecodeRawTransactionHexRISBVin) SetInputHash(v string) { + o.InputHash = &v +} + +// GetOutputIndex returns the OutputIndex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBVin) GetOutputIndex() int32 { + if o == nil || o.OutputIndex == nil { + var ret int32 + return ret + } + return *o.OutputIndex +} + +// GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBVin) GetOutputIndexOk() (*int32, bool) { + if o == nil || o.OutputIndex == nil { + return nil, false + } + return o.OutputIndex, true +} + +// HasOutputIndex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBVin) HasOutputIndex() bool { + if o != nil && o.OutputIndex != nil { + return true + } + + return false +} + +// SetOutputIndex gets a reference to the given int32 and assigns it to the OutputIndex field. +func (o *DecodeRawTransactionHexRISBVin) SetOutputIndex(v int32) { + o.OutputIndex = &v +} + +// GetScriptSig returns the ScriptSig field value +func (o *DecodeRawTransactionHexRISBVin) GetScriptSig() DecodeRawTransactionHexRISBScriptSig { + if o == nil { + var ret DecodeRawTransactionHexRISBScriptSig + return ret + } + + return o.ScriptSig +} + +// GetScriptSigOk returns a tuple with the ScriptSig field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBVin) GetScriptSigOk() (*DecodeRawTransactionHexRISBScriptSig, bool) { + if o == nil { + return nil, false + } + return &o.ScriptSig, true +} + +// SetScriptSig sets field value +func (o *DecodeRawTransactionHexRISBVin) SetScriptSig(v DecodeRawTransactionHexRISBScriptSig) { + o.ScriptSig = v +} + +// GetSequence returns the Sequence field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBVin) GetSequence() string { + if o == nil || o.Sequence == nil { + var ret string + return ret + } + return *o.Sequence +} + +// GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBVin) GetSequenceOk() (*string, bool) { + if o == nil || o.Sequence == nil { + return nil, false + } + return o.Sequence, true +} + +// HasSequence returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBVin) HasSequence() bool { + if o != nil && o.Sequence != nil { + return true + } + + return false +} + +// SetSequence gets a reference to the given string and assigns it to the Sequence field. +func (o *DecodeRawTransactionHexRISBVin) SetSequence(v string) { + o.Sequence = &v +} + +// GetTxinwitness returns the Txinwitness field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBVin) GetTxinwitness() []string { + if o == nil || o.Txinwitness == nil { + var ret []string + return ret + } + return o.Txinwitness +} + +// GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil || o.Txinwitness == nil { + return nil, false + } + return o.Txinwitness, true +} + +// HasTxinwitness returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBVin) HasTxinwitness() bool { + if o != nil && o.Txinwitness != nil { + return true + } + + return false +} + +// SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. +func (o *DecodeRawTransactionHexRISBVin) SetTxinwitness(v []string) { + o.Txinwitness = v +} + +func (o DecodeRawTransactionHexRISBVin) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Address != nil { + toSerialize["address"] = o.Address + } + if o.InputHash != nil { + toSerialize["inputHash"] = o.InputHash + } + if o.OutputIndex != nil { + toSerialize["outputIndex"] = o.OutputIndex + } + if true { + toSerialize["scriptSig"] = o.ScriptSig + } + if o.Sequence != nil { + toSerialize["sequence"] = o.Sequence + } + if o.Txinwitness != nil { + toSerialize["txinwitness"] = o.Txinwitness + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISBVin struct { + value *DecodeRawTransactionHexRISBVin + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISBVin) Get() *DecodeRawTransactionHexRISBVin { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISBVin) Set(val *DecodeRawTransactionHexRISBVin) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISBVin) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISBVin) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISBVin(val *DecodeRawTransactionHexRISBVin) *NullableDecodeRawTransactionHexRISBVin { + return &NullableDecodeRawTransactionHexRISBVin{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISBVin) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISBVin) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risb_vout.go b/model_decode_raw_transaction_hex_risb_vout.go new file mode 100644 index 0000000..b8ff5bf --- /dev/null +++ b/model_decode_raw_transaction_hex_risb_vout.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISBVout struct for DecodeRawTransactionHexRISBVout +type DecodeRawTransactionHexRISBVout struct { + ScriptPubKey DecodeRawTransactionHexRISBScriptPubKey `json:"scriptPubKey"` + // Represents the sent/received amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISBVout instantiates a new DecodeRawTransactionHexRISBVout object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISBVout(scriptPubKey DecodeRawTransactionHexRISBScriptPubKey) *DecodeRawTransactionHexRISBVout { + this := DecodeRawTransactionHexRISBVout{} + this.ScriptPubKey = scriptPubKey + return &this +} + +// NewDecodeRawTransactionHexRISBVoutWithDefaults instantiates a new DecodeRawTransactionHexRISBVout object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISBVoutWithDefaults() *DecodeRawTransactionHexRISBVout { + this := DecodeRawTransactionHexRISBVout{} + return &this +} + +// GetScriptPubKey returns the ScriptPubKey field value +func (o *DecodeRawTransactionHexRISBVout) GetScriptPubKey() DecodeRawTransactionHexRISBScriptPubKey { + if o == nil { + var ret DecodeRawTransactionHexRISBScriptPubKey + return ret + } + + return o.ScriptPubKey +} + +// GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBVout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISBScriptPubKey, bool) { + if o == nil { + return nil, false + } + return &o.ScriptPubKey, true +} + +// SetScriptPubKey sets field value +func (o *DecodeRawTransactionHexRISBVout) SetScriptPubKey(v DecodeRawTransactionHexRISBScriptPubKey) { + o.ScriptPubKey = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISBVout) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISBVout) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISBVout) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISBVout) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISBVout) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["scriptPubKey"] = o.ScriptPubKey + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISBVout struct { + value *DecodeRawTransactionHexRISBVout + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISBVout) Get() *DecodeRawTransactionHexRISBVout { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISBVout) Set(val *DecodeRawTransactionHexRISBVout) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISBVout) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISBVout) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISBVout(val *DecodeRawTransactionHexRISBVout) *NullableDecodeRawTransactionHexRISBVout { + return &NullableDecodeRawTransactionHexRISBVout{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISBVout) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISBVout) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd.go b/model_decode_raw_transaction_hex_risd.go new file mode 100644 index 0000000..7d6b7e1 --- /dev/null +++ b/model_decode_raw_transaction_hex_risd.go @@ -0,0 +1,297 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISD Dash +type DecodeRawTransactionHexRISD struct { + // Represents the time at which a particular transaction can be added to the blockchain. + Locktime int32 `json:"locktime"` + // Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. + TransactionHash string `json:"transactionHash"` + // Represents the virtual size of this transaction. + VSize int32 `json:"vSize"` + // Represents transaction version number. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []DecodeRawTransactionHexRISDVin `json:"vin"` + // Represents the transaction outputs. + Vout []DecodeRawTransactionHexRISDVout `json:"vout"` + // Represents the size of a block, measured in weight units and including the segwit discount. + Weight *int32 `json:"weight,omitempty"` +} + +// NewDecodeRawTransactionHexRISD instantiates a new DecodeRawTransactionHexRISD object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISD(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISDVin, vout []DecodeRawTransactionHexRISDVout) *DecodeRawTransactionHexRISD { + this := DecodeRawTransactionHexRISD{} + this.Locktime = locktime + this.TransactionHash = transactionHash + this.VSize = vSize + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewDecodeRawTransactionHexRISDWithDefaults instantiates a new DecodeRawTransactionHexRISD object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISDWithDefaults() *DecodeRawTransactionHexRISD { + this := DecodeRawTransactionHexRISD{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *DecodeRawTransactionHexRISD) GetLocktime() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD) GetLocktimeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *DecodeRawTransactionHexRISD) SetLocktime(v int32) { + o.Locktime = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *DecodeRawTransactionHexRISD) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *DecodeRawTransactionHexRISD) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetVSize returns the VSize field value +func (o *DecodeRawTransactionHexRISD) GetVSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.VSize +} + +// GetVSizeOk returns a tuple with the VSize field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD) GetVSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.VSize, true +} + +// SetVSize sets field value +func (o *DecodeRawTransactionHexRISD) SetVSize(v int32) { + o.VSize = v +} + +// GetVersion returns the Version field value +func (o *DecodeRawTransactionHexRISD) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *DecodeRawTransactionHexRISD) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *DecodeRawTransactionHexRISD) GetVin() []DecodeRawTransactionHexRISDVin { + if o == nil { + var ret []DecodeRawTransactionHexRISDVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD) GetVinOk() ([]DecodeRawTransactionHexRISDVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *DecodeRawTransactionHexRISD) SetVin(v []DecodeRawTransactionHexRISDVin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *DecodeRawTransactionHexRISD) GetVout() []DecodeRawTransactionHexRISDVout { + if o == nil { + var ret []DecodeRawTransactionHexRISDVout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD) GetVoutOk() ([]DecodeRawTransactionHexRISDVout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *DecodeRawTransactionHexRISD) SetVout(v []DecodeRawTransactionHexRISDVout) { + o.Vout = v +} + +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD) GetWeight() int32 { + if o == nil || o.Weight == nil { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD) GetWeightOk() (*int32, bool) { + if o == nil || o.Weight == nil { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD) HasWeight() bool { + if o != nil && o.Weight != nil { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *DecodeRawTransactionHexRISD) SetWeight(v int32) { + o.Weight = &v +} + +func (o DecodeRawTransactionHexRISD) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["vSize"] = o.VSize + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + if o.Weight != nil { + toSerialize["weight"] = o.Weight + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISD struct { + value *DecodeRawTransactionHexRISD + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISD) Get() *DecodeRawTransactionHexRISD { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISD) Set(val *DecodeRawTransactionHexRISD) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISD) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISD) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISD(val *DecodeRawTransactionHexRISD) *NullableDecodeRawTransactionHexRISD { + return &NullableDecodeRawTransactionHexRISD{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISD) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISD) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd2.go b/model_decode_raw_transaction_hex_risd2.go new file mode 100644 index 0000000..9c5affb --- /dev/null +++ b/model_decode_raw_transaction_hex_risd2.go @@ -0,0 +1,297 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISD2 Dogecoin +type DecodeRawTransactionHexRISD2 struct { + // Represents the time at which a particular transaction can be added to the blockchain. + Locktime int32 `json:"locktime"` + // Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. + TransactionHash string `json:"transactionHash"` + // Represents the virtual size of this transaction. + VSize int32 `json:"vSize"` + // Represents transaction version number + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []DecodeRawTransactionHexRISD2Vin `json:"vin"` + // Represents the transaction outputs. + Vout []DecodeRawTransactionHexRISD2Vout `json:"vout"` + // Represents the size of a block, measured in weight units and including the segwit discount. + Weight *int32 `json:"weight,omitempty"` +} + +// NewDecodeRawTransactionHexRISD2 instantiates a new DecodeRawTransactionHexRISD2 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISD2(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISD2Vin, vout []DecodeRawTransactionHexRISD2Vout) *DecodeRawTransactionHexRISD2 { + this := DecodeRawTransactionHexRISD2{} + this.Locktime = locktime + this.TransactionHash = transactionHash + this.VSize = vSize + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewDecodeRawTransactionHexRISD2WithDefaults instantiates a new DecodeRawTransactionHexRISD2 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISD2WithDefaults() *DecodeRawTransactionHexRISD2 { + this := DecodeRawTransactionHexRISD2{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *DecodeRawTransactionHexRISD2) GetLocktime() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2) GetLocktimeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *DecodeRawTransactionHexRISD2) SetLocktime(v int32) { + o.Locktime = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *DecodeRawTransactionHexRISD2) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *DecodeRawTransactionHexRISD2) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetVSize returns the VSize field value +func (o *DecodeRawTransactionHexRISD2) GetVSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.VSize +} + +// GetVSizeOk returns a tuple with the VSize field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2) GetVSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.VSize, true +} + +// SetVSize sets field value +func (o *DecodeRawTransactionHexRISD2) SetVSize(v int32) { + o.VSize = v +} + +// GetVersion returns the Version field value +func (o *DecodeRawTransactionHexRISD2) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *DecodeRawTransactionHexRISD2) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *DecodeRawTransactionHexRISD2) GetVin() []DecodeRawTransactionHexRISD2Vin { + if o == nil { + var ret []DecodeRawTransactionHexRISD2Vin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2) GetVinOk() ([]DecodeRawTransactionHexRISD2Vin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *DecodeRawTransactionHexRISD2) SetVin(v []DecodeRawTransactionHexRISD2Vin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *DecodeRawTransactionHexRISD2) GetVout() []DecodeRawTransactionHexRISD2Vout { + if o == nil { + var ret []DecodeRawTransactionHexRISD2Vout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2) GetVoutOk() ([]DecodeRawTransactionHexRISD2Vout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *DecodeRawTransactionHexRISD2) SetVout(v []DecodeRawTransactionHexRISD2Vout) { + o.Vout = v +} + +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2) GetWeight() int32 { + if o == nil || o.Weight == nil { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2) GetWeightOk() (*int32, bool) { + if o == nil || o.Weight == nil { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2) HasWeight() bool { + if o != nil && o.Weight != nil { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *DecodeRawTransactionHexRISD2) SetWeight(v int32) { + o.Weight = &v +} + +func (o DecodeRawTransactionHexRISD2) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["vSize"] = o.VSize + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + if o.Weight != nil { + toSerialize["weight"] = o.Weight + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISD2 struct { + value *DecodeRawTransactionHexRISD2 + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISD2) Get() *DecodeRawTransactionHexRISD2 { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISD2) Set(val *DecodeRawTransactionHexRISD2) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISD2) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISD2) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISD2(val *DecodeRawTransactionHexRISD2) *NullableDecodeRawTransactionHexRISD2 { + return &NullableDecodeRawTransactionHexRISD2{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISD2) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISD2) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd2_script_pub_key.go b/model_decode_raw_transaction_hex_risd2_script_pub_key.go new file mode 100644 index 0000000..11f8886 --- /dev/null +++ b/model_decode_raw_transaction_hex_risd2_script_pub_key.go @@ -0,0 +1,221 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISD2ScriptPubKey Represents the script public key. +type DecodeRawTransactionHexRISD2ScriptPubKey struct { + // Represents the addresses which send the amount. + Address string `json:"address"` + // Represents the assembly of the script public key of the address. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the script public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISD2ScriptPubKey instantiates a new DecodeRawTransactionHexRISD2ScriptPubKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISD2ScriptPubKey(address string) *DecodeRawTransactionHexRISD2ScriptPubKey { + this := DecodeRawTransactionHexRISD2ScriptPubKey{} + this.Address = address + return &this +} + +// NewDecodeRawTransactionHexRISD2ScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISD2ScriptPubKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISD2ScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISD2ScriptPubKey { + this := DecodeRawTransactionHexRISD2ScriptPubKey{} + return &this +} + +// GetAddress returns the Address field value +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) SetAddress(v string) { + o.Address = v +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISD2ScriptPubKey) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISD2ScriptPubKey) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["address"] = o.Address + } + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISD2ScriptPubKey struct { + value *DecodeRawTransactionHexRISD2ScriptPubKey + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISD2ScriptPubKey) Get() *DecodeRawTransactionHexRISD2ScriptPubKey { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISD2ScriptPubKey) Set(val *DecodeRawTransactionHexRISD2ScriptPubKey) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISD2ScriptPubKey) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISD2ScriptPubKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISD2ScriptPubKey(val *DecodeRawTransactionHexRISD2ScriptPubKey) *NullableDecodeRawTransactionHexRISD2ScriptPubKey { + return &NullableDecodeRawTransactionHexRISD2ScriptPubKey{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISD2ScriptPubKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISD2ScriptPubKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd2_script_sig.go b/model_decode_raw_transaction_hex_risd2_script_sig.go new file mode 100644 index 0000000..cae2244 --- /dev/null +++ b/model_decode_raw_transaction_hex_risd2_script_sig.go @@ -0,0 +1,191 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISD2ScriptSig Specifies the required signatures. +type DecodeRawTransactionHexRISD2ScriptSig struct { + // The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type of the reference transaction identifier. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISD2ScriptSig instantiates a new DecodeRawTransactionHexRISD2ScriptSig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISD2ScriptSig() *DecodeRawTransactionHexRISD2ScriptSig { + this := DecodeRawTransactionHexRISD2ScriptSig{} + return &this +} + +// NewDecodeRawTransactionHexRISD2ScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISD2ScriptSig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISD2ScriptSigWithDefaults() *DecodeRawTransactionHexRISD2ScriptSig { + this := DecodeRawTransactionHexRISD2ScriptSig{} + return &this +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2ScriptSig) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2ScriptSig) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2ScriptSig) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISD2ScriptSig) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2ScriptSig) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2ScriptSig) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2ScriptSig) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISD2ScriptSig) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2ScriptSig) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2ScriptSig) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2ScriptSig) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISD2ScriptSig) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISD2ScriptSig) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISD2ScriptSig struct { + value *DecodeRawTransactionHexRISD2ScriptSig + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISD2ScriptSig) Get() *DecodeRawTransactionHexRISD2ScriptSig { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISD2ScriptSig) Set(val *DecodeRawTransactionHexRISD2ScriptSig) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISD2ScriptSig) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISD2ScriptSig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISD2ScriptSig(val *DecodeRawTransactionHexRISD2ScriptSig) *NullableDecodeRawTransactionHexRISD2ScriptSig { + return &NullableDecodeRawTransactionHexRISD2ScriptSig{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISD2ScriptSig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISD2ScriptSig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd2_vin.go b/model_decode_raw_transaction_hex_risd2_vin.go new file mode 100644 index 0000000..7899a7d --- /dev/null +++ b/model_decode_raw_transaction_hex_risd2_vin.go @@ -0,0 +1,293 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISD2Vin struct for DecodeRawTransactionHexRISD2Vin +type DecodeRawTransactionHexRISD2Vin struct { + // Represents the addresses which send/receive the amount. + Address *string `json:"address,omitempty"` + // Represents the transaction inputs' indentifier. + InputHash *string `json:"inputHash,omitempty"` + // Defines the output index of a transaction. + OutputIndex *string `json:"outputIndex,omitempty"` + ScriptSig DecodeRawTransactionHexRISD2ScriptSig `json:"scriptSig"` + // Represents the script sequence number + Sequence *string `json:"sequence,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` +} + +// NewDecodeRawTransactionHexRISD2Vin instantiates a new DecodeRawTransactionHexRISD2Vin object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISD2Vin(scriptSig DecodeRawTransactionHexRISD2ScriptSig) *DecodeRawTransactionHexRISD2Vin { + this := DecodeRawTransactionHexRISD2Vin{} + this.ScriptSig = scriptSig + return &this +} + +// NewDecodeRawTransactionHexRISD2VinWithDefaults instantiates a new DecodeRawTransactionHexRISD2Vin object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISD2VinWithDefaults() *DecodeRawTransactionHexRISD2Vin { + this := DecodeRawTransactionHexRISD2Vin{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2Vin) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2Vin) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2Vin) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *DecodeRawTransactionHexRISD2Vin) SetAddress(v string) { + o.Address = &v +} + +// GetInputHash returns the InputHash field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2Vin) GetInputHash() string { + if o == nil || o.InputHash == nil { + var ret string + return ret + } + return *o.InputHash +} + +// GetInputHashOk returns a tuple with the InputHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2Vin) GetInputHashOk() (*string, bool) { + if o == nil || o.InputHash == nil { + return nil, false + } + return o.InputHash, true +} + +// HasInputHash returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2Vin) HasInputHash() bool { + if o != nil && o.InputHash != nil { + return true + } + + return false +} + +// SetInputHash gets a reference to the given string and assigns it to the InputHash field. +func (o *DecodeRawTransactionHexRISD2Vin) SetInputHash(v string) { + o.InputHash = &v +} + +// GetOutputIndex returns the OutputIndex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2Vin) GetOutputIndex() string { + if o == nil || o.OutputIndex == nil { + var ret string + return ret + } + return *o.OutputIndex +} + +// GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2Vin) GetOutputIndexOk() (*string, bool) { + if o == nil || o.OutputIndex == nil { + return nil, false + } + return o.OutputIndex, true +} + +// HasOutputIndex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2Vin) HasOutputIndex() bool { + if o != nil && o.OutputIndex != nil { + return true + } + + return false +} + +// SetOutputIndex gets a reference to the given string and assigns it to the OutputIndex field. +func (o *DecodeRawTransactionHexRISD2Vin) SetOutputIndex(v string) { + o.OutputIndex = &v +} + +// GetScriptSig returns the ScriptSig field value +func (o *DecodeRawTransactionHexRISD2Vin) GetScriptSig() DecodeRawTransactionHexRISD2ScriptSig { + if o == nil { + var ret DecodeRawTransactionHexRISD2ScriptSig + return ret + } + + return o.ScriptSig +} + +// GetScriptSigOk returns a tuple with the ScriptSig field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2Vin) GetScriptSigOk() (*DecodeRawTransactionHexRISD2ScriptSig, bool) { + if o == nil { + return nil, false + } + return &o.ScriptSig, true +} + +// SetScriptSig sets field value +func (o *DecodeRawTransactionHexRISD2Vin) SetScriptSig(v DecodeRawTransactionHexRISD2ScriptSig) { + o.ScriptSig = v +} + +// GetSequence returns the Sequence field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2Vin) GetSequence() string { + if o == nil || o.Sequence == nil { + var ret string + return ret + } + return *o.Sequence +} + +// GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2Vin) GetSequenceOk() (*string, bool) { + if o == nil || o.Sequence == nil { + return nil, false + } + return o.Sequence, true +} + +// HasSequence returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2Vin) HasSequence() bool { + if o != nil && o.Sequence != nil { + return true + } + + return false +} + +// SetSequence gets a reference to the given string and assigns it to the Sequence field. +func (o *DecodeRawTransactionHexRISD2Vin) SetSequence(v string) { + o.Sequence = &v +} + +// GetTxinwitness returns the Txinwitness field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2Vin) GetTxinwitness() []string { + if o == nil || o.Txinwitness == nil { + var ret []string + return ret + } + return o.Txinwitness +} + +// GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil || o.Txinwitness == nil { + return nil, false + } + return o.Txinwitness, true +} + +// HasTxinwitness returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2Vin) HasTxinwitness() bool { + if o != nil && o.Txinwitness != nil { + return true + } + + return false +} + +// SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. +func (o *DecodeRawTransactionHexRISD2Vin) SetTxinwitness(v []string) { + o.Txinwitness = v +} + +func (o DecodeRawTransactionHexRISD2Vin) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Address != nil { + toSerialize["address"] = o.Address + } + if o.InputHash != nil { + toSerialize["inputHash"] = o.InputHash + } + if o.OutputIndex != nil { + toSerialize["outputIndex"] = o.OutputIndex + } + if true { + toSerialize["scriptSig"] = o.ScriptSig + } + if o.Sequence != nil { + toSerialize["sequence"] = o.Sequence + } + if o.Txinwitness != nil { + toSerialize["txinwitness"] = o.Txinwitness + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISD2Vin struct { + value *DecodeRawTransactionHexRISD2Vin + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISD2Vin) Get() *DecodeRawTransactionHexRISD2Vin { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISD2Vin) Set(val *DecodeRawTransactionHexRISD2Vin) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISD2Vin) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISD2Vin) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISD2Vin(val *DecodeRawTransactionHexRISD2Vin) *NullableDecodeRawTransactionHexRISD2Vin { + return &NullableDecodeRawTransactionHexRISD2Vin{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISD2Vin) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISD2Vin) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd2_vout.go b/model_decode_raw_transaction_hex_risd2_vout.go new file mode 100644 index 0000000..6c31230 --- /dev/null +++ b/model_decode_raw_transaction_hex_risd2_vout.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISD2Vout struct for DecodeRawTransactionHexRISD2Vout +type DecodeRawTransactionHexRISD2Vout struct { + ScriptPubKey DecodeRawTransactionHexRISD2ScriptPubKey `json:"scriptPubKey"` + // Represents the sent/received amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISD2Vout instantiates a new DecodeRawTransactionHexRISD2Vout object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISD2Vout(scriptPubKey DecodeRawTransactionHexRISD2ScriptPubKey) *DecodeRawTransactionHexRISD2Vout { + this := DecodeRawTransactionHexRISD2Vout{} + this.ScriptPubKey = scriptPubKey + return &this +} + +// NewDecodeRawTransactionHexRISD2VoutWithDefaults instantiates a new DecodeRawTransactionHexRISD2Vout object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISD2VoutWithDefaults() *DecodeRawTransactionHexRISD2Vout { + this := DecodeRawTransactionHexRISD2Vout{} + return &this +} + +// GetScriptPubKey returns the ScriptPubKey field value +func (o *DecodeRawTransactionHexRISD2Vout) GetScriptPubKey() DecodeRawTransactionHexRISD2ScriptPubKey { + if o == nil { + var ret DecodeRawTransactionHexRISD2ScriptPubKey + return ret + } + + return o.ScriptPubKey +} + +// GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2Vout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISD2ScriptPubKey, bool) { + if o == nil { + return nil, false + } + return &o.ScriptPubKey, true +} + +// SetScriptPubKey sets field value +func (o *DecodeRawTransactionHexRISD2Vout) SetScriptPubKey(v DecodeRawTransactionHexRISD2ScriptPubKey) { + o.ScriptPubKey = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISD2Vout) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISD2Vout) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISD2Vout) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISD2Vout) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISD2Vout) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["scriptPubKey"] = o.ScriptPubKey + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISD2Vout struct { + value *DecodeRawTransactionHexRISD2Vout + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISD2Vout) Get() *DecodeRawTransactionHexRISD2Vout { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISD2Vout) Set(val *DecodeRawTransactionHexRISD2Vout) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISD2Vout) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISD2Vout) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISD2Vout(val *DecodeRawTransactionHexRISD2Vout) *NullableDecodeRawTransactionHexRISD2Vout { + return &NullableDecodeRawTransactionHexRISD2Vout{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISD2Vout) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISD2Vout) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd_script_pub_key.go b/model_decode_raw_transaction_hex_risd_script_pub_key.go new file mode 100644 index 0000000..9d41502 --- /dev/null +++ b/model_decode_raw_transaction_hex_risd_script_pub_key.go @@ -0,0 +1,221 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISDScriptPubKey Represents the script public key. +type DecodeRawTransactionHexRISDScriptPubKey struct { + // Represents the addresses which send the amount + Address string `json:"address"` + // Represents the assembly of the script public key of the address. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the script public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the hex of the script public key of the address. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISDScriptPubKey instantiates a new DecodeRawTransactionHexRISDScriptPubKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISDScriptPubKey(address string) *DecodeRawTransactionHexRISDScriptPubKey { + this := DecodeRawTransactionHexRISDScriptPubKey{} + this.Address = address + return &this +} + +// NewDecodeRawTransactionHexRISDScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISDScriptPubKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISDScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISDScriptPubKey { + this := DecodeRawTransactionHexRISDScriptPubKey{} + return &this +} + +// GetAddress returns the Address field value +func (o *DecodeRawTransactionHexRISDScriptPubKey) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDScriptPubKey) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *DecodeRawTransactionHexRISDScriptPubKey) SetAddress(v string) { + o.Address = v +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDScriptPubKey) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDScriptPubKey) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDScriptPubKey) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISDScriptPubKey) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDScriptPubKey) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDScriptPubKey) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDScriptPubKey) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISDScriptPubKey) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDScriptPubKey) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDScriptPubKey) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDScriptPubKey) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISDScriptPubKey) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISDScriptPubKey) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["address"] = o.Address + } + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISDScriptPubKey struct { + value *DecodeRawTransactionHexRISDScriptPubKey + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISDScriptPubKey) Get() *DecodeRawTransactionHexRISDScriptPubKey { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISDScriptPubKey) Set(val *DecodeRawTransactionHexRISDScriptPubKey) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISDScriptPubKey) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISDScriptPubKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISDScriptPubKey(val *DecodeRawTransactionHexRISDScriptPubKey) *NullableDecodeRawTransactionHexRISDScriptPubKey { + return &NullableDecodeRawTransactionHexRISDScriptPubKey{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISDScriptPubKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISDScriptPubKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd_script_sig.go b/model_decode_raw_transaction_hex_risd_script_sig.go new file mode 100644 index 0000000..640445b --- /dev/null +++ b/model_decode_raw_transaction_hex_risd_script_sig.go @@ -0,0 +1,191 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISDScriptSig Specifies the required signatures. +type DecodeRawTransactionHexRISDScriptSig struct { + // The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the public key of the address + Hex *string `json:"hex,omitempty"` + // Represents the script type of the reference transaction identifier + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISDScriptSig instantiates a new DecodeRawTransactionHexRISDScriptSig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISDScriptSig() *DecodeRawTransactionHexRISDScriptSig { + this := DecodeRawTransactionHexRISDScriptSig{} + return &this +} + +// NewDecodeRawTransactionHexRISDScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISDScriptSig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISDScriptSigWithDefaults() *DecodeRawTransactionHexRISDScriptSig { + this := DecodeRawTransactionHexRISDScriptSig{} + return &this +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDScriptSig) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDScriptSig) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDScriptSig) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISDScriptSig) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDScriptSig) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDScriptSig) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDScriptSig) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISDScriptSig) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDScriptSig) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDScriptSig) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDScriptSig) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISDScriptSig) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISDScriptSig) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISDScriptSig struct { + value *DecodeRawTransactionHexRISDScriptSig + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISDScriptSig) Get() *DecodeRawTransactionHexRISDScriptSig { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISDScriptSig) Set(val *DecodeRawTransactionHexRISDScriptSig) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISDScriptSig) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISDScriptSig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISDScriptSig(val *DecodeRawTransactionHexRISDScriptSig) *NullableDecodeRawTransactionHexRISDScriptSig { + return &NullableDecodeRawTransactionHexRISDScriptSig{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISDScriptSig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISDScriptSig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd_vin.go b/model_decode_raw_transaction_hex_risd_vin.go new file mode 100644 index 0000000..224025d --- /dev/null +++ b/model_decode_raw_transaction_hex_risd_vin.go @@ -0,0 +1,293 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISDVin struct for DecodeRawTransactionHexRISDVin +type DecodeRawTransactionHexRISDVin struct { + // Represents the address which send/receive the amount + Address *string `json:"address,omitempty"` + // Represents the transaction inputs' indentifier. + InputHash *string `json:"inputHash,omitempty"` + // Defines the output index of a transaction. + OutputIndex *string `json:"outputIndex,omitempty"` + ScriptSig DecodeRawTransactionHexRISDScriptSig `json:"scriptSig"` + // Represents the script sequence number. + Sequence *string `json:"sequence,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` +} + +// NewDecodeRawTransactionHexRISDVin instantiates a new DecodeRawTransactionHexRISDVin object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISDVin(scriptSig DecodeRawTransactionHexRISDScriptSig) *DecodeRawTransactionHexRISDVin { + this := DecodeRawTransactionHexRISDVin{} + this.ScriptSig = scriptSig + return &this +} + +// NewDecodeRawTransactionHexRISDVinWithDefaults instantiates a new DecodeRawTransactionHexRISDVin object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISDVinWithDefaults() *DecodeRawTransactionHexRISDVin { + this := DecodeRawTransactionHexRISDVin{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDVin) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDVin) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDVin) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *DecodeRawTransactionHexRISDVin) SetAddress(v string) { + o.Address = &v +} + +// GetInputHash returns the InputHash field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDVin) GetInputHash() string { + if o == nil || o.InputHash == nil { + var ret string + return ret + } + return *o.InputHash +} + +// GetInputHashOk returns a tuple with the InputHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDVin) GetInputHashOk() (*string, bool) { + if o == nil || o.InputHash == nil { + return nil, false + } + return o.InputHash, true +} + +// HasInputHash returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDVin) HasInputHash() bool { + if o != nil && o.InputHash != nil { + return true + } + + return false +} + +// SetInputHash gets a reference to the given string and assigns it to the InputHash field. +func (o *DecodeRawTransactionHexRISDVin) SetInputHash(v string) { + o.InputHash = &v +} + +// GetOutputIndex returns the OutputIndex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDVin) GetOutputIndex() string { + if o == nil || o.OutputIndex == nil { + var ret string + return ret + } + return *o.OutputIndex +} + +// GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDVin) GetOutputIndexOk() (*string, bool) { + if o == nil || o.OutputIndex == nil { + return nil, false + } + return o.OutputIndex, true +} + +// HasOutputIndex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDVin) HasOutputIndex() bool { + if o != nil && o.OutputIndex != nil { + return true + } + + return false +} + +// SetOutputIndex gets a reference to the given string and assigns it to the OutputIndex field. +func (o *DecodeRawTransactionHexRISDVin) SetOutputIndex(v string) { + o.OutputIndex = &v +} + +// GetScriptSig returns the ScriptSig field value +func (o *DecodeRawTransactionHexRISDVin) GetScriptSig() DecodeRawTransactionHexRISDScriptSig { + if o == nil { + var ret DecodeRawTransactionHexRISDScriptSig + return ret + } + + return o.ScriptSig +} + +// GetScriptSigOk returns a tuple with the ScriptSig field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDVin) GetScriptSigOk() (*DecodeRawTransactionHexRISDScriptSig, bool) { + if o == nil { + return nil, false + } + return &o.ScriptSig, true +} + +// SetScriptSig sets field value +func (o *DecodeRawTransactionHexRISDVin) SetScriptSig(v DecodeRawTransactionHexRISDScriptSig) { + o.ScriptSig = v +} + +// GetSequence returns the Sequence field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDVin) GetSequence() string { + if o == nil || o.Sequence == nil { + var ret string + return ret + } + return *o.Sequence +} + +// GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDVin) GetSequenceOk() (*string, bool) { + if o == nil || o.Sequence == nil { + return nil, false + } + return o.Sequence, true +} + +// HasSequence returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDVin) HasSequence() bool { + if o != nil && o.Sequence != nil { + return true + } + + return false +} + +// SetSequence gets a reference to the given string and assigns it to the Sequence field. +func (o *DecodeRawTransactionHexRISDVin) SetSequence(v string) { + o.Sequence = &v +} + +// GetTxinwitness returns the Txinwitness field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDVin) GetTxinwitness() []string { + if o == nil || o.Txinwitness == nil { + var ret []string + return ret + } + return o.Txinwitness +} + +// GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil || o.Txinwitness == nil { + return nil, false + } + return o.Txinwitness, true +} + +// HasTxinwitness returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDVin) HasTxinwitness() bool { + if o != nil && o.Txinwitness != nil { + return true + } + + return false +} + +// SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. +func (o *DecodeRawTransactionHexRISDVin) SetTxinwitness(v []string) { + o.Txinwitness = v +} + +func (o DecodeRawTransactionHexRISDVin) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Address != nil { + toSerialize["address"] = o.Address + } + if o.InputHash != nil { + toSerialize["inputHash"] = o.InputHash + } + if o.OutputIndex != nil { + toSerialize["outputIndex"] = o.OutputIndex + } + if true { + toSerialize["scriptSig"] = o.ScriptSig + } + if o.Sequence != nil { + toSerialize["sequence"] = o.Sequence + } + if o.Txinwitness != nil { + toSerialize["txinwitness"] = o.Txinwitness + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISDVin struct { + value *DecodeRawTransactionHexRISDVin + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISDVin) Get() *DecodeRawTransactionHexRISDVin { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISDVin) Set(val *DecodeRawTransactionHexRISDVin) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISDVin) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISDVin) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISDVin(val *DecodeRawTransactionHexRISDVin) *NullableDecodeRawTransactionHexRISDVin { + return &NullableDecodeRawTransactionHexRISDVin{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISDVin) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISDVin) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risd_vout.go b/model_decode_raw_transaction_hex_risd_vout.go new file mode 100644 index 0000000..8a966f3 --- /dev/null +++ b/model_decode_raw_transaction_hex_risd_vout.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISDVout struct for DecodeRawTransactionHexRISDVout +type DecodeRawTransactionHexRISDVout struct { + ScriptPubKey DecodeRawTransactionHexRISDScriptPubKey `json:"scriptPubKey"` + // Represents the sent/received amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISDVout instantiates a new DecodeRawTransactionHexRISDVout object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISDVout(scriptPubKey DecodeRawTransactionHexRISDScriptPubKey) *DecodeRawTransactionHexRISDVout { + this := DecodeRawTransactionHexRISDVout{} + this.ScriptPubKey = scriptPubKey + return &this +} + +// NewDecodeRawTransactionHexRISDVoutWithDefaults instantiates a new DecodeRawTransactionHexRISDVout object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISDVoutWithDefaults() *DecodeRawTransactionHexRISDVout { + this := DecodeRawTransactionHexRISDVout{} + return &this +} + +// GetScriptPubKey returns the ScriptPubKey field value +func (o *DecodeRawTransactionHexRISDVout) GetScriptPubKey() DecodeRawTransactionHexRISDScriptPubKey { + if o == nil { + var ret DecodeRawTransactionHexRISDScriptPubKey + return ret + } + + return o.ScriptPubKey +} + +// GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDVout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISDScriptPubKey, bool) { + if o == nil { + return nil, false + } + return &o.ScriptPubKey, true +} + +// SetScriptPubKey sets field value +func (o *DecodeRawTransactionHexRISDVout) SetScriptPubKey(v DecodeRawTransactionHexRISDScriptPubKey) { + o.ScriptPubKey = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISDVout) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISDVout) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISDVout) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISDVout) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISDVout) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["scriptPubKey"] = o.ScriptPubKey + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISDVout struct { + value *DecodeRawTransactionHexRISDVout + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISDVout) Get() *DecodeRawTransactionHexRISDVout { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISDVout) Set(val *DecodeRawTransactionHexRISDVout) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISDVout) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISDVout) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISDVout(val *DecodeRawTransactionHexRISDVout) *NullableDecodeRawTransactionHexRISDVout { + return &NullableDecodeRawTransactionHexRISDVout{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISDVout) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISDVout) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_rise.go b/model_decode_raw_transaction_hex_rise.go new file mode 100644 index 0000000..758199f --- /dev/null +++ b/model_decode_raw_transaction_hex_rise.go @@ -0,0 +1,637 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISE Ethereum +type DecodeRawTransactionHexRISE struct { + // Defines the approximate fee value. When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value. + ApproximateFee *string `json:"approximateFee,omitempty"` + // Defines the approximate minimum fee that is required for the transaction. + ApproximateMinimumRequiredFee *string `json:"approximateMinimumRequiredFee,omitempty"` + // Represents the amount of gas used by this specific transaction alone. + GasLimit string `json:"gasLimit"` + // Represents the amount of gas paid for the data in the transaction. + GasPaidForData *string `json:"gasPaidForData,omitempty"` + // Represents the price offered to the miner to purchase this amount of gas. + GasPrice *string `json:"gasPrice,omitempty"` + // Represents additional information that is required for the transaction. + InputData *string `json:"inputData,omitempty"` + // Defines the maximum amount that customer is willing to pay per unit of gas to get his transaction included in a block. + MaxFeePerGas *string `json:"maxFeePerGas,omitempty"` + // Represents determined by the user value that is paid directly to miners. + MaxFeePriorityPerGas *string `json:"maxFeePriorityPerGas,omitempty"` + // Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. + Nonce int32 `json:"nonce"` + // Represents output of an ECDSA signature. + R *string `json:"r,omitempty"` + // The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. + Recipient string `json:"recipient"` + // Represents output of an ECDSA signature. + S *string `json:"s,omitempty"` + // Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. + Sender string `json:"sender"` + // Specifies the transaction type as one from three options: if response returns a `\"0\"` it means the raw transaction includes legacy transaction data, if it is `\"1\"` - includes access lists for EIP2930, and if it is `\"2\"` - EIP1559 data. + Type int32 `json:"type"` + // Defines the the recovery id. + V *string `json:"v,omitempty"` + // Represents the sent/received amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISE instantiates a new DecodeRawTransactionHexRISE object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISE(gasLimit string, nonce int32, recipient string, sender string, type_ int32) *DecodeRawTransactionHexRISE { + this := DecodeRawTransactionHexRISE{} + this.GasLimit = gasLimit + this.Nonce = nonce + this.Recipient = recipient + this.Sender = sender + this.Type = type_ + return &this +} + +// NewDecodeRawTransactionHexRISEWithDefaults instantiates a new DecodeRawTransactionHexRISE object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISEWithDefaults() *DecodeRawTransactionHexRISE { + this := DecodeRawTransactionHexRISE{} + return &this +} + +// GetApproximateFee returns the ApproximateFee field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetApproximateFee() string { + if o == nil || o.ApproximateFee == nil { + var ret string + return ret + } + return *o.ApproximateFee +} + +// GetApproximateFeeOk returns a tuple with the ApproximateFee field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetApproximateFeeOk() (*string, bool) { + if o == nil || o.ApproximateFee == nil { + return nil, false + } + return o.ApproximateFee, true +} + +// HasApproximateFee returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasApproximateFee() bool { + if o != nil && o.ApproximateFee != nil { + return true + } + + return false +} + +// SetApproximateFee gets a reference to the given string and assigns it to the ApproximateFee field. +func (o *DecodeRawTransactionHexRISE) SetApproximateFee(v string) { + o.ApproximateFee = &v +} + +// GetApproximateMinimumRequiredFee returns the ApproximateMinimumRequiredFee field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetApproximateMinimumRequiredFee() string { + if o == nil || o.ApproximateMinimumRequiredFee == nil { + var ret string + return ret + } + return *o.ApproximateMinimumRequiredFee +} + +// GetApproximateMinimumRequiredFeeOk returns a tuple with the ApproximateMinimumRequiredFee field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetApproximateMinimumRequiredFeeOk() (*string, bool) { + if o == nil || o.ApproximateMinimumRequiredFee == nil { + return nil, false + } + return o.ApproximateMinimumRequiredFee, true +} + +// HasApproximateMinimumRequiredFee returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasApproximateMinimumRequiredFee() bool { + if o != nil && o.ApproximateMinimumRequiredFee != nil { + return true + } + + return false +} + +// SetApproximateMinimumRequiredFee gets a reference to the given string and assigns it to the ApproximateMinimumRequiredFee field. +func (o *DecodeRawTransactionHexRISE) SetApproximateMinimumRequiredFee(v string) { + o.ApproximateMinimumRequiredFee = &v +} + +// GetGasLimit returns the GasLimit field value +func (o *DecodeRawTransactionHexRISE) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *DecodeRawTransactionHexRISE) SetGasLimit(v string) { + o.GasLimit = v +} + +// GetGasPaidForData returns the GasPaidForData field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetGasPaidForData() string { + if o == nil || o.GasPaidForData == nil { + var ret string + return ret + } + return *o.GasPaidForData +} + +// GetGasPaidForDataOk returns a tuple with the GasPaidForData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetGasPaidForDataOk() (*string, bool) { + if o == nil || o.GasPaidForData == nil { + return nil, false + } + return o.GasPaidForData, true +} + +// HasGasPaidForData returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasGasPaidForData() bool { + if o != nil && o.GasPaidForData != nil { + return true + } + + return false +} + +// SetGasPaidForData gets a reference to the given string and assigns it to the GasPaidForData field. +func (o *DecodeRawTransactionHexRISE) SetGasPaidForData(v string) { + o.GasPaidForData = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetGasPrice() string { + if o == nil || o.GasPrice == nil { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetGasPriceOk() (*string, bool) { + if o == nil || o.GasPrice == nil { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasGasPrice() bool { + if o != nil && o.GasPrice != nil { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *DecodeRawTransactionHexRISE) SetGasPrice(v string) { + o.GasPrice = &v +} + +// GetInputData returns the InputData field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetInputData() string { + if o == nil || o.InputData == nil { + var ret string + return ret + } + return *o.InputData +} + +// GetInputDataOk returns a tuple with the InputData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetInputDataOk() (*string, bool) { + if o == nil || o.InputData == nil { + return nil, false + } + return o.InputData, true +} + +// HasInputData returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasInputData() bool { + if o != nil && o.InputData != nil { + return true + } + + return false +} + +// SetInputData gets a reference to the given string and assigns it to the InputData field. +func (o *DecodeRawTransactionHexRISE) SetInputData(v string) { + o.InputData = &v +} + +// GetMaxFeePerGas returns the MaxFeePerGas field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetMaxFeePerGas() string { + if o == nil || o.MaxFeePerGas == nil { + var ret string + return ret + } + return *o.MaxFeePerGas +} + +// GetMaxFeePerGasOk returns a tuple with the MaxFeePerGas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetMaxFeePerGasOk() (*string, bool) { + if o == nil || o.MaxFeePerGas == nil { + return nil, false + } + return o.MaxFeePerGas, true +} + +// HasMaxFeePerGas returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasMaxFeePerGas() bool { + if o != nil && o.MaxFeePerGas != nil { + return true + } + + return false +} + +// SetMaxFeePerGas gets a reference to the given string and assigns it to the MaxFeePerGas field. +func (o *DecodeRawTransactionHexRISE) SetMaxFeePerGas(v string) { + o.MaxFeePerGas = &v +} + +// GetMaxFeePriorityPerGas returns the MaxFeePriorityPerGas field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetMaxFeePriorityPerGas() string { + if o == nil || o.MaxFeePriorityPerGas == nil { + var ret string + return ret + } + return *o.MaxFeePriorityPerGas +} + +// GetMaxFeePriorityPerGasOk returns a tuple with the MaxFeePriorityPerGas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetMaxFeePriorityPerGasOk() (*string, bool) { + if o == nil || o.MaxFeePriorityPerGas == nil { + return nil, false + } + return o.MaxFeePriorityPerGas, true +} + +// HasMaxFeePriorityPerGas returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasMaxFeePriorityPerGas() bool { + if o != nil && o.MaxFeePriorityPerGas != nil { + return true + } + + return false +} + +// SetMaxFeePriorityPerGas gets a reference to the given string and assigns it to the MaxFeePriorityPerGas field. +func (o *DecodeRawTransactionHexRISE) SetMaxFeePriorityPerGas(v string) { + o.MaxFeePriorityPerGas = &v +} + +// GetNonce returns the Nonce field value +func (o *DecodeRawTransactionHexRISE) GetNonce() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetNonceOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *DecodeRawTransactionHexRISE) SetNonce(v int32) { + o.Nonce = v +} + +// GetR returns the R field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetR() string { + if o == nil || o.R == nil { + var ret string + return ret + } + return *o.R +} + +// GetROk returns a tuple with the R field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetROk() (*string, bool) { + if o == nil || o.R == nil { + return nil, false + } + return o.R, true +} + +// HasR returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasR() bool { + if o != nil && o.R != nil { + return true + } + + return false +} + +// SetR gets a reference to the given string and assigns it to the R field. +func (o *DecodeRawTransactionHexRISE) SetR(v string) { + o.R = &v +} + +// GetRecipient returns the Recipient field value +func (o *DecodeRawTransactionHexRISE) GetRecipient() string { + if o == nil { + var ret string + return ret + } + + return o.Recipient +} + +// GetRecipientOk returns a tuple with the Recipient field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetRecipientOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Recipient, true +} + +// SetRecipient sets field value +func (o *DecodeRawTransactionHexRISE) SetRecipient(v string) { + o.Recipient = v +} + +// GetS returns the S field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetS() string { + if o == nil || o.S == nil { + var ret string + return ret + } + return *o.S +} + +// GetSOk returns a tuple with the S field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetSOk() (*string, bool) { + if o == nil || o.S == nil { + return nil, false + } + return o.S, true +} + +// HasS returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasS() bool { + if o != nil && o.S != nil { + return true + } + + return false +} + +// SetS gets a reference to the given string and assigns it to the S field. +func (o *DecodeRawTransactionHexRISE) SetS(v string) { + o.S = &v +} + +// GetSender returns the Sender field value +func (o *DecodeRawTransactionHexRISE) GetSender() string { + if o == nil { + var ret string + return ret + } + + return o.Sender +} + +// GetSenderOk returns a tuple with the Sender field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetSenderOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sender, true +} + +// SetSender sets field value +func (o *DecodeRawTransactionHexRISE) SetSender(v string) { + o.Sender = v +} + +// GetType returns the Type field value +func (o *DecodeRawTransactionHexRISE) GetType() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetTypeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *DecodeRawTransactionHexRISE) SetType(v int32) { + o.Type = v +} + +// GetV returns the V field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetV() string { + if o == nil || o.V == nil { + var ret string + return ret + } + return *o.V +} + +// GetVOk returns a tuple with the V field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetVOk() (*string, bool) { + if o == nil || o.V == nil { + return nil, false + } + return o.V, true +} + +// HasV returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasV() bool { + if o != nil && o.V != nil { + return true + } + + return false +} + +// SetV gets a reference to the given string and assigns it to the V field. +func (o *DecodeRawTransactionHexRISE) SetV(v string) { + o.V = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISE) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISE) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.ApproximateFee != nil { + toSerialize["approximateFee"] = o.ApproximateFee + } + if o.ApproximateMinimumRequiredFee != nil { + toSerialize["approximateMinimumRequiredFee"] = o.ApproximateMinimumRequiredFee + } + if true { + toSerialize["gasLimit"] = o.GasLimit + } + if o.GasPaidForData != nil { + toSerialize["gasPaidForData"] = o.GasPaidForData + } + if o.GasPrice != nil { + toSerialize["gasPrice"] = o.GasPrice + } + if o.InputData != nil { + toSerialize["inputData"] = o.InputData + } + if o.MaxFeePerGas != nil { + toSerialize["maxFeePerGas"] = o.MaxFeePerGas + } + if o.MaxFeePriorityPerGas != nil { + toSerialize["maxFeePriorityPerGas"] = o.MaxFeePriorityPerGas + } + if true { + toSerialize["nonce"] = o.Nonce + } + if o.R != nil { + toSerialize["r"] = o.R + } + if true { + toSerialize["recipient"] = o.Recipient + } + if o.S != nil { + toSerialize["s"] = o.S + } + if true { + toSerialize["sender"] = o.Sender + } + if true { + toSerialize["type"] = o.Type + } + if o.V != nil { + toSerialize["v"] = o.V + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISE struct { + value *DecodeRawTransactionHexRISE + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISE) Get() *DecodeRawTransactionHexRISE { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISE) Set(val *DecodeRawTransactionHexRISE) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISE) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISE) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISE(val *DecodeRawTransactionHexRISE) *NullableDecodeRawTransactionHexRISE { + return &NullableDecodeRawTransactionHexRISE{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISE) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISE) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_rise2.go b/model_decode_raw_transaction_hex_rise2.go new file mode 100644 index 0000000..c4e0b0a --- /dev/null +++ b/model_decode_raw_transaction_hex_rise2.go @@ -0,0 +1,563 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISE2 Ethereum Classic +type DecodeRawTransactionHexRISE2 struct { + // Defines the approximate fee value. When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value. + ApproximateFee *string `json:"approximateFee,omitempty"` + // Defines the approximate minimum fee that is required for the transaction. + ApproximateMinimumRequiredFee *string `json:"approximateMinimumRequiredFee,omitempty"` + // Represents the amount of gas used by this specific transaction alone. + GasLimit string `json:"gasLimit"` + // Represents the amount of gas paid for the data in the transaction. + GasPaidForData *string `json:"gasPaidForData,omitempty"` + // Represents the price offered to the miner to purchase this amount of gas. + GasPrice *string `json:"gasPrice,omitempty"` + // Represents additional information that is required for the transaction. + InputData *string `json:"inputData,omitempty"` + // Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. + Nonce int32 `json:"nonce"` + // Represents output of an ECDSA signature. + R *string `json:"r,omitempty"` + // The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. + Recipient string `json:"recipient"` + // Represents output of an ECDSA signature. + S *string `json:"s,omitempty"` + // Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. + Sender string `json:"sender"` + // Specifies the transaction type as one from three options: if response returns a `\"0\"` it means the raw transaction includes legacy transaction data, if it is `\"1\"` - includes access lists for EIP2930, and if it is `\"2\"` - EIP1559 data. + Type int32 `json:"type"` + // Defines the the recovery id. + V *string `json:"v,omitempty"` + // Represents the sent/received amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISE2 instantiates a new DecodeRawTransactionHexRISE2 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISE2(gasLimit string, nonce int32, recipient string, sender string, type_ int32) *DecodeRawTransactionHexRISE2 { + this := DecodeRawTransactionHexRISE2{} + this.GasLimit = gasLimit + this.Nonce = nonce + this.Recipient = recipient + this.Sender = sender + this.Type = type_ + return &this +} + +// NewDecodeRawTransactionHexRISE2WithDefaults instantiates a new DecodeRawTransactionHexRISE2 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISE2WithDefaults() *DecodeRawTransactionHexRISE2 { + this := DecodeRawTransactionHexRISE2{} + return &this +} + +// GetApproximateFee returns the ApproximateFee field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetApproximateFee() string { + if o == nil || o.ApproximateFee == nil { + var ret string + return ret + } + return *o.ApproximateFee +} + +// GetApproximateFeeOk returns a tuple with the ApproximateFee field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetApproximateFeeOk() (*string, bool) { + if o == nil || o.ApproximateFee == nil { + return nil, false + } + return o.ApproximateFee, true +} + +// HasApproximateFee returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasApproximateFee() bool { + if o != nil && o.ApproximateFee != nil { + return true + } + + return false +} + +// SetApproximateFee gets a reference to the given string and assigns it to the ApproximateFee field. +func (o *DecodeRawTransactionHexRISE2) SetApproximateFee(v string) { + o.ApproximateFee = &v +} + +// GetApproximateMinimumRequiredFee returns the ApproximateMinimumRequiredFee field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetApproximateMinimumRequiredFee() string { + if o == nil || o.ApproximateMinimumRequiredFee == nil { + var ret string + return ret + } + return *o.ApproximateMinimumRequiredFee +} + +// GetApproximateMinimumRequiredFeeOk returns a tuple with the ApproximateMinimumRequiredFee field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetApproximateMinimumRequiredFeeOk() (*string, bool) { + if o == nil || o.ApproximateMinimumRequiredFee == nil { + return nil, false + } + return o.ApproximateMinimumRequiredFee, true +} + +// HasApproximateMinimumRequiredFee returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasApproximateMinimumRequiredFee() bool { + if o != nil && o.ApproximateMinimumRequiredFee != nil { + return true + } + + return false +} + +// SetApproximateMinimumRequiredFee gets a reference to the given string and assigns it to the ApproximateMinimumRequiredFee field. +func (o *DecodeRawTransactionHexRISE2) SetApproximateMinimumRequiredFee(v string) { + o.ApproximateMinimumRequiredFee = &v +} + +// GetGasLimit returns the GasLimit field value +func (o *DecodeRawTransactionHexRISE2) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *DecodeRawTransactionHexRISE2) SetGasLimit(v string) { + o.GasLimit = v +} + +// GetGasPaidForData returns the GasPaidForData field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetGasPaidForData() string { + if o == nil || o.GasPaidForData == nil { + var ret string + return ret + } + return *o.GasPaidForData +} + +// GetGasPaidForDataOk returns a tuple with the GasPaidForData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetGasPaidForDataOk() (*string, bool) { + if o == nil || o.GasPaidForData == nil { + return nil, false + } + return o.GasPaidForData, true +} + +// HasGasPaidForData returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasGasPaidForData() bool { + if o != nil && o.GasPaidForData != nil { + return true + } + + return false +} + +// SetGasPaidForData gets a reference to the given string and assigns it to the GasPaidForData field. +func (o *DecodeRawTransactionHexRISE2) SetGasPaidForData(v string) { + o.GasPaidForData = &v +} + +// GetGasPrice returns the GasPrice field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetGasPrice() string { + if o == nil || o.GasPrice == nil { + var ret string + return ret + } + return *o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetGasPriceOk() (*string, bool) { + if o == nil || o.GasPrice == nil { + return nil, false + } + return o.GasPrice, true +} + +// HasGasPrice returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasGasPrice() bool { + if o != nil && o.GasPrice != nil { + return true + } + + return false +} + +// SetGasPrice gets a reference to the given string and assigns it to the GasPrice field. +func (o *DecodeRawTransactionHexRISE2) SetGasPrice(v string) { + o.GasPrice = &v +} + +// GetInputData returns the InputData field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetInputData() string { + if o == nil || o.InputData == nil { + var ret string + return ret + } + return *o.InputData +} + +// GetInputDataOk returns a tuple with the InputData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetInputDataOk() (*string, bool) { + if o == nil || o.InputData == nil { + return nil, false + } + return o.InputData, true +} + +// HasInputData returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasInputData() bool { + if o != nil && o.InputData != nil { + return true + } + + return false +} + +// SetInputData gets a reference to the given string and assigns it to the InputData field. +func (o *DecodeRawTransactionHexRISE2) SetInputData(v string) { + o.InputData = &v +} + +// GetNonce returns the Nonce field value +func (o *DecodeRawTransactionHexRISE2) GetNonce() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetNonceOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *DecodeRawTransactionHexRISE2) SetNonce(v int32) { + o.Nonce = v +} + +// GetR returns the R field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetR() string { + if o == nil || o.R == nil { + var ret string + return ret + } + return *o.R +} + +// GetROk returns a tuple with the R field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetROk() (*string, bool) { + if o == nil || o.R == nil { + return nil, false + } + return o.R, true +} + +// HasR returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasR() bool { + if o != nil && o.R != nil { + return true + } + + return false +} + +// SetR gets a reference to the given string and assigns it to the R field. +func (o *DecodeRawTransactionHexRISE2) SetR(v string) { + o.R = &v +} + +// GetRecipient returns the Recipient field value +func (o *DecodeRawTransactionHexRISE2) GetRecipient() string { + if o == nil { + var ret string + return ret + } + + return o.Recipient +} + +// GetRecipientOk returns a tuple with the Recipient field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetRecipientOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Recipient, true +} + +// SetRecipient sets field value +func (o *DecodeRawTransactionHexRISE2) SetRecipient(v string) { + o.Recipient = v +} + +// GetS returns the S field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetS() string { + if o == nil || o.S == nil { + var ret string + return ret + } + return *o.S +} + +// GetSOk returns a tuple with the S field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetSOk() (*string, bool) { + if o == nil || o.S == nil { + return nil, false + } + return o.S, true +} + +// HasS returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasS() bool { + if o != nil && o.S != nil { + return true + } + + return false +} + +// SetS gets a reference to the given string and assigns it to the S field. +func (o *DecodeRawTransactionHexRISE2) SetS(v string) { + o.S = &v +} + +// GetSender returns the Sender field value +func (o *DecodeRawTransactionHexRISE2) GetSender() string { + if o == nil { + var ret string + return ret + } + + return o.Sender +} + +// GetSenderOk returns a tuple with the Sender field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetSenderOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sender, true +} + +// SetSender sets field value +func (o *DecodeRawTransactionHexRISE2) SetSender(v string) { + o.Sender = v +} + +// GetType returns the Type field value +func (o *DecodeRawTransactionHexRISE2) GetType() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetTypeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *DecodeRawTransactionHexRISE2) SetType(v int32) { + o.Type = v +} + +// GetV returns the V field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetV() string { + if o == nil || o.V == nil { + var ret string + return ret + } + return *o.V +} + +// GetVOk returns a tuple with the V field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetVOk() (*string, bool) { + if o == nil || o.V == nil { + return nil, false + } + return o.V, true +} + +// HasV returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasV() bool { + if o != nil && o.V != nil { + return true + } + + return false +} + +// SetV gets a reference to the given string and assigns it to the V field. +func (o *DecodeRawTransactionHexRISE2) SetV(v string) { + o.V = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISE2) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISE2) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISE2) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISE2) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISE2) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.ApproximateFee != nil { + toSerialize["approximateFee"] = o.ApproximateFee + } + if o.ApproximateMinimumRequiredFee != nil { + toSerialize["approximateMinimumRequiredFee"] = o.ApproximateMinimumRequiredFee + } + if true { + toSerialize["gasLimit"] = o.GasLimit + } + if o.GasPaidForData != nil { + toSerialize["gasPaidForData"] = o.GasPaidForData + } + if o.GasPrice != nil { + toSerialize["gasPrice"] = o.GasPrice + } + if o.InputData != nil { + toSerialize["inputData"] = o.InputData + } + if true { + toSerialize["nonce"] = o.Nonce + } + if o.R != nil { + toSerialize["r"] = o.R + } + if true { + toSerialize["recipient"] = o.Recipient + } + if o.S != nil { + toSerialize["s"] = o.S + } + if true { + toSerialize["sender"] = o.Sender + } + if true { + toSerialize["type"] = o.Type + } + if o.V != nil { + toSerialize["v"] = o.V + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISE2 struct { + value *DecodeRawTransactionHexRISE2 + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISE2) Get() *DecodeRawTransactionHexRISE2 { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISE2) Set(val *DecodeRawTransactionHexRISE2) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISE2) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISE2) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISE2(val *DecodeRawTransactionHexRISE2) *NullableDecodeRawTransactionHexRISE2 { + return &NullableDecodeRawTransactionHexRISE2{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISE2) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISE2) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risl.go b/model_decode_raw_transaction_hex_risl.go new file mode 100644 index 0000000..3dd82a0 --- /dev/null +++ b/model_decode_raw_transaction_hex_risl.go @@ -0,0 +1,297 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISL Litecoin +type DecodeRawTransactionHexRISL struct { + // Represents the time at which a particular transaction can be added to the blockchain + Locktime int32 `json:"locktime"` + // Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. + TransactionHash string `json:"transactionHash"` + // Represents the virtual size of this transaction. + VSize int32 `json:"vSize"` + // Represents transaction version number. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []DecodeRawTransactionHexRISLVin `json:"vin"` + // Represents the transaction outputs. + Vout []DecodeRawTransactionHexRISLVout `json:"vout"` + // Represents the size of a block, measured in weight units and including the segwit discount. + Weight *int32 `json:"weight,omitempty"` +} + +// NewDecodeRawTransactionHexRISL instantiates a new DecodeRawTransactionHexRISL object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISL(locktime int32, transactionHash string, vSize int32, version int32, vin []DecodeRawTransactionHexRISLVin, vout []DecodeRawTransactionHexRISLVout) *DecodeRawTransactionHexRISL { + this := DecodeRawTransactionHexRISL{} + this.Locktime = locktime + this.TransactionHash = transactionHash + this.VSize = vSize + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewDecodeRawTransactionHexRISLWithDefaults instantiates a new DecodeRawTransactionHexRISL object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISLWithDefaults() *DecodeRawTransactionHexRISL { + this := DecodeRawTransactionHexRISL{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *DecodeRawTransactionHexRISL) GetLocktime() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISL) GetLocktimeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *DecodeRawTransactionHexRISL) SetLocktime(v int32) { + o.Locktime = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *DecodeRawTransactionHexRISL) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISL) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *DecodeRawTransactionHexRISL) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetVSize returns the VSize field value +func (o *DecodeRawTransactionHexRISL) GetVSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.VSize +} + +// GetVSizeOk returns a tuple with the VSize field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISL) GetVSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.VSize, true +} + +// SetVSize sets field value +func (o *DecodeRawTransactionHexRISL) SetVSize(v int32) { + o.VSize = v +} + +// GetVersion returns the Version field value +func (o *DecodeRawTransactionHexRISL) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISL) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *DecodeRawTransactionHexRISL) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *DecodeRawTransactionHexRISL) GetVin() []DecodeRawTransactionHexRISLVin { + if o == nil { + var ret []DecodeRawTransactionHexRISLVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISL) GetVinOk() ([]DecodeRawTransactionHexRISLVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *DecodeRawTransactionHexRISL) SetVin(v []DecodeRawTransactionHexRISLVin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *DecodeRawTransactionHexRISL) GetVout() []DecodeRawTransactionHexRISLVout { + if o == nil { + var ret []DecodeRawTransactionHexRISLVout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISL) GetVoutOk() ([]DecodeRawTransactionHexRISLVout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *DecodeRawTransactionHexRISL) SetVout(v []DecodeRawTransactionHexRISLVout) { + o.Vout = v +} + +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISL) GetWeight() int32 { + if o == nil || o.Weight == nil { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISL) GetWeightOk() (*int32, bool) { + if o == nil || o.Weight == nil { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISL) HasWeight() bool { + if o != nil && o.Weight != nil { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *DecodeRawTransactionHexRISL) SetWeight(v int32) { + o.Weight = &v +} + +func (o DecodeRawTransactionHexRISL) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["vSize"] = o.VSize + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + if o.Weight != nil { + toSerialize["weight"] = o.Weight + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISL struct { + value *DecodeRawTransactionHexRISL + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISL) Get() *DecodeRawTransactionHexRISL { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISL) Set(val *DecodeRawTransactionHexRISL) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISL) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISL) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISL(val *DecodeRawTransactionHexRISL) *NullableDecodeRawTransactionHexRISL { + return &NullableDecodeRawTransactionHexRISL{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISL) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISL) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risl_script_pub_key.go b/model_decode_raw_transaction_hex_risl_script_pub_key.go new file mode 100644 index 0000000..0b93be2 --- /dev/null +++ b/model_decode_raw_transaction_hex_risl_script_pub_key.go @@ -0,0 +1,221 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISLScriptPubKey Represents the script public key. +type DecodeRawTransactionHexRISLScriptPubKey struct { + // Represents the addresses which send the amount. + Address string `json:"address"` + // Represents the assembly of the script public key of the address. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the script public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISLScriptPubKey instantiates a new DecodeRawTransactionHexRISLScriptPubKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISLScriptPubKey(address string) *DecodeRawTransactionHexRISLScriptPubKey { + this := DecodeRawTransactionHexRISLScriptPubKey{} + this.Address = address + return &this +} + +// NewDecodeRawTransactionHexRISLScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISLScriptPubKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISLScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISLScriptPubKey { + this := DecodeRawTransactionHexRISLScriptPubKey{} + return &this +} + +// GetAddress returns the Address field value +func (o *DecodeRawTransactionHexRISLScriptPubKey) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLScriptPubKey) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *DecodeRawTransactionHexRISLScriptPubKey) SetAddress(v string) { + o.Address = v +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLScriptPubKey) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLScriptPubKey) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLScriptPubKey) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISLScriptPubKey) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLScriptPubKey) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLScriptPubKey) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLScriptPubKey) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISLScriptPubKey) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLScriptPubKey) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLScriptPubKey) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLScriptPubKey) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISLScriptPubKey) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISLScriptPubKey) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["address"] = o.Address + } + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISLScriptPubKey struct { + value *DecodeRawTransactionHexRISLScriptPubKey + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISLScriptPubKey) Get() *DecodeRawTransactionHexRISLScriptPubKey { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISLScriptPubKey) Set(val *DecodeRawTransactionHexRISLScriptPubKey) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISLScriptPubKey) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISLScriptPubKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISLScriptPubKey(val *DecodeRawTransactionHexRISLScriptPubKey) *NullableDecodeRawTransactionHexRISLScriptPubKey { + return &NullableDecodeRawTransactionHexRISLScriptPubKey{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISLScriptPubKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISLScriptPubKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risl_script_sig.go b/model_decode_raw_transaction_hex_risl_script_sig.go new file mode 100644 index 0000000..8351fe5 --- /dev/null +++ b/model_decode_raw_transaction_hex_risl_script_sig.go @@ -0,0 +1,191 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISLScriptSig Specifies the required signatures. +type DecodeRawTransactionHexRISLScriptSig struct { + // The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type of the reference transaction identifier. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISLScriptSig instantiates a new DecodeRawTransactionHexRISLScriptSig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISLScriptSig() *DecodeRawTransactionHexRISLScriptSig { + this := DecodeRawTransactionHexRISLScriptSig{} + return &this +} + +// NewDecodeRawTransactionHexRISLScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISLScriptSig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISLScriptSigWithDefaults() *DecodeRawTransactionHexRISLScriptSig { + this := DecodeRawTransactionHexRISLScriptSig{} + return &this +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLScriptSig) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLScriptSig) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLScriptSig) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISLScriptSig) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLScriptSig) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLScriptSig) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLScriptSig) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISLScriptSig) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLScriptSig) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLScriptSig) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLScriptSig) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISLScriptSig) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISLScriptSig) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISLScriptSig struct { + value *DecodeRawTransactionHexRISLScriptSig + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISLScriptSig) Get() *DecodeRawTransactionHexRISLScriptSig { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISLScriptSig) Set(val *DecodeRawTransactionHexRISLScriptSig) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISLScriptSig) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISLScriptSig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISLScriptSig(val *DecodeRawTransactionHexRISLScriptSig) *NullableDecodeRawTransactionHexRISLScriptSig { + return &NullableDecodeRawTransactionHexRISLScriptSig{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISLScriptSig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISLScriptSig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risl_vin.go b/model_decode_raw_transaction_hex_risl_vin.go new file mode 100644 index 0000000..970607f --- /dev/null +++ b/model_decode_raw_transaction_hex_risl_vin.go @@ -0,0 +1,293 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISLVin struct for DecodeRawTransactionHexRISLVin +type DecodeRawTransactionHexRISLVin struct { + // Represents the addresses which send/receive the amount. + Address *string `json:"address,omitempty"` + // Represents the transaction inputs' indentifier. + InputHash *string `json:"inputHash,omitempty"` + // Defines the output index of a transaction. + OutputIndex *string `json:"outputIndex,omitempty"` + ScriptSig DecodeRawTransactionHexRISLScriptSig `json:"scriptSig"` + // Represents the script sequence number. + Sequence *string `json:"sequence,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` +} + +// NewDecodeRawTransactionHexRISLVin instantiates a new DecodeRawTransactionHexRISLVin object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISLVin(scriptSig DecodeRawTransactionHexRISLScriptSig) *DecodeRawTransactionHexRISLVin { + this := DecodeRawTransactionHexRISLVin{} + this.ScriptSig = scriptSig + return &this +} + +// NewDecodeRawTransactionHexRISLVinWithDefaults instantiates a new DecodeRawTransactionHexRISLVin object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISLVinWithDefaults() *DecodeRawTransactionHexRISLVin { + this := DecodeRawTransactionHexRISLVin{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLVin) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLVin) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLVin) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *DecodeRawTransactionHexRISLVin) SetAddress(v string) { + o.Address = &v +} + +// GetInputHash returns the InputHash field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLVin) GetInputHash() string { + if o == nil || o.InputHash == nil { + var ret string + return ret + } + return *o.InputHash +} + +// GetInputHashOk returns a tuple with the InputHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLVin) GetInputHashOk() (*string, bool) { + if o == nil || o.InputHash == nil { + return nil, false + } + return o.InputHash, true +} + +// HasInputHash returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLVin) HasInputHash() bool { + if o != nil && o.InputHash != nil { + return true + } + + return false +} + +// SetInputHash gets a reference to the given string and assigns it to the InputHash field. +func (o *DecodeRawTransactionHexRISLVin) SetInputHash(v string) { + o.InputHash = &v +} + +// GetOutputIndex returns the OutputIndex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLVin) GetOutputIndex() string { + if o == nil || o.OutputIndex == nil { + var ret string + return ret + } + return *o.OutputIndex +} + +// GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLVin) GetOutputIndexOk() (*string, bool) { + if o == nil || o.OutputIndex == nil { + return nil, false + } + return o.OutputIndex, true +} + +// HasOutputIndex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLVin) HasOutputIndex() bool { + if o != nil && o.OutputIndex != nil { + return true + } + + return false +} + +// SetOutputIndex gets a reference to the given string and assigns it to the OutputIndex field. +func (o *DecodeRawTransactionHexRISLVin) SetOutputIndex(v string) { + o.OutputIndex = &v +} + +// GetScriptSig returns the ScriptSig field value +func (o *DecodeRawTransactionHexRISLVin) GetScriptSig() DecodeRawTransactionHexRISLScriptSig { + if o == nil { + var ret DecodeRawTransactionHexRISLScriptSig + return ret + } + + return o.ScriptSig +} + +// GetScriptSigOk returns a tuple with the ScriptSig field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLVin) GetScriptSigOk() (*DecodeRawTransactionHexRISLScriptSig, bool) { + if o == nil { + return nil, false + } + return &o.ScriptSig, true +} + +// SetScriptSig sets field value +func (o *DecodeRawTransactionHexRISLVin) SetScriptSig(v DecodeRawTransactionHexRISLScriptSig) { + o.ScriptSig = v +} + +// GetSequence returns the Sequence field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLVin) GetSequence() string { + if o == nil || o.Sequence == nil { + var ret string + return ret + } + return *o.Sequence +} + +// GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLVin) GetSequenceOk() (*string, bool) { + if o == nil || o.Sequence == nil { + return nil, false + } + return o.Sequence, true +} + +// HasSequence returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLVin) HasSequence() bool { + if o != nil && o.Sequence != nil { + return true + } + + return false +} + +// SetSequence gets a reference to the given string and assigns it to the Sequence field. +func (o *DecodeRawTransactionHexRISLVin) SetSequence(v string) { + o.Sequence = &v +} + +// GetTxinwitness returns the Txinwitness field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLVin) GetTxinwitness() []string { + if o == nil || o.Txinwitness == nil { + var ret []string + return ret + } + return o.Txinwitness +} + +// GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil || o.Txinwitness == nil { + return nil, false + } + return o.Txinwitness, true +} + +// HasTxinwitness returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLVin) HasTxinwitness() bool { + if o != nil && o.Txinwitness != nil { + return true + } + + return false +} + +// SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. +func (o *DecodeRawTransactionHexRISLVin) SetTxinwitness(v []string) { + o.Txinwitness = v +} + +func (o DecodeRawTransactionHexRISLVin) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Address != nil { + toSerialize["address"] = o.Address + } + if o.InputHash != nil { + toSerialize["inputHash"] = o.InputHash + } + if o.OutputIndex != nil { + toSerialize["outputIndex"] = o.OutputIndex + } + if true { + toSerialize["scriptSig"] = o.ScriptSig + } + if o.Sequence != nil { + toSerialize["sequence"] = o.Sequence + } + if o.Txinwitness != nil { + toSerialize["txinwitness"] = o.Txinwitness + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISLVin struct { + value *DecodeRawTransactionHexRISLVin + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISLVin) Get() *DecodeRawTransactionHexRISLVin { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISLVin) Set(val *DecodeRawTransactionHexRISLVin) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISLVin) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISLVin) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISLVin(val *DecodeRawTransactionHexRISLVin) *NullableDecodeRawTransactionHexRISLVin { + return &NullableDecodeRawTransactionHexRISLVin{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISLVin) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISLVin) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risl_vout.go b/model_decode_raw_transaction_hex_risl_vout.go new file mode 100644 index 0000000..1675587 --- /dev/null +++ b/model_decode_raw_transaction_hex_risl_vout.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISLVout struct for DecodeRawTransactionHexRISLVout +type DecodeRawTransactionHexRISLVout struct { + ScriptPubKey DecodeRawTransactionHexRISLScriptPubKey `json:"scriptPubKey"` + // Represents the sent/received amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISLVout instantiates a new DecodeRawTransactionHexRISLVout object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISLVout(scriptPubKey DecodeRawTransactionHexRISLScriptPubKey) *DecodeRawTransactionHexRISLVout { + this := DecodeRawTransactionHexRISLVout{} + this.ScriptPubKey = scriptPubKey + return &this +} + +// NewDecodeRawTransactionHexRISLVoutWithDefaults instantiates a new DecodeRawTransactionHexRISLVout object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISLVoutWithDefaults() *DecodeRawTransactionHexRISLVout { + this := DecodeRawTransactionHexRISLVout{} + return &this +} + +// GetScriptPubKey returns the ScriptPubKey field value +func (o *DecodeRawTransactionHexRISLVout) GetScriptPubKey() DecodeRawTransactionHexRISLScriptPubKey { + if o == nil { + var ret DecodeRawTransactionHexRISLScriptPubKey + return ret + } + + return o.ScriptPubKey +} + +// GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLVout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISLScriptPubKey, bool) { + if o == nil { + return nil, false + } + return &o.ScriptPubKey, true +} + +// SetScriptPubKey sets field value +func (o *DecodeRawTransactionHexRISLVout) SetScriptPubKey(v DecodeRawTransactionHexRISLScriptPubKey) { + o.ScriptPubKey = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISLVout) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISLVout) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISLVout) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISLVout) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISLVout) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["scriptPubKey"] = o.ScriptPubKey + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISLVout struct { + value *DecodeRawTransactionHexRISLVout + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISLVout) Get() *DecodeRawTransactionHexRISLVout { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISLVout) Set(val *DecodeRawTransactionHexRISLVout) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISLVout) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISLVout) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISLVout(val *DecodeRawTransactionHexRISLVout) *NullableDecodeRawTransactionHexRISLVout { + return &NullableDecodeRawTransactionHexRISLVout{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISLVout) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISLVout) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risz.go b/model_decode_raw_transaction_hex_risz.go new file mode 100644 index 0000000..6f28435 --- /dev/null +++ b/model_decode_raw_transaction_hex_risz.go @@ -0,0 +1,380 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISZ Zcash +type DecodeRawTransactionHexRISZ struct { + // Represents a block height after which the transaction will expire. + ExpiryHeight int32 `json:"expiryHeight"` + // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. + Locktime int32 `json:"locktime"` + // \"Overwinter\" is the network upgrade for the Zcash blockchain. + Overwintered bool `json:"overwintered"` + // Defines if the transaction includes sapling or not. + Saplinged bool `json:"saplinged"` + // Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions. + TransactionHash string `json:"transactionHash"` + // Defines the transaction value balance. + ValueBalance string `json:"valueBalance"` + // Represents the transaction version number. + Version int32 `json:"version"` + // Represents the transaction version group ID + VersionGroupId string `json:"versionGroupId"` + // Represents the Inputs of the transaction + Vin []DecodeRawTransactionHexRISZVin `json:"vin"` + // Represents the Inputs of the transaction + Vout []DecodeRawTransactionHexRISZVout `json:"vout"` +} + +// NewDecodeRawTransactionHexRISZ instantiates a new DecodeRawTransactionHexRISZ object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISZ(expiryHeight int32, locktime int32, overwintered bool, saplinged bool, transactionHash string, valueBalance string, version int32, versionGroupId string, vin []DecodeRawTransactionHexRISZVin, vout []DecodeRawTransactionHexRISZVout) *DecodeRawTransactionHexRISZ { + this := DecodeRawTransactionHexRISZ{} + this.ExpiryHeight = expiryHeight + this.Locktime = locktime + this.Overwintered = overwintered + this.Saplinged = saplinged + this.TransactionHash = transactionHash + this.ValueBalance = valueBalance + this.Version = version + this.VersionGroupId = versionGroupId + this.Vin = vin + this.Vout = vout + return &this +} + +// NewDecodeRawTransactionHexRISZWithDefaults instantiates a new DecodeRawTransactionHexRISZ object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISZWithDefaults() *DecodeRawTransactionHexRISZ { + this := DecodeRawTransactionHexRISZ{} + return &this +} + +// GetExpiryHeight returns the ExpiryHeight field value +func (o *DecodeRawTransactionHexRISZ) GetExpiryHeight() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ExpiryHeight +} + +// GetExpiryHeightOk returns a tuple with the ExpiryHeight field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetExpiryHeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ExpiryHeight, true +} + +// SetExpiryHeight sets field value +func (o *DecodeRawTransactionHexRISZ) SetExpiryHeight(v int32) { + o.ExpiryHeight = v +} + +// GetLocktime returns the Locktime field value +func (o *DecodeRawTransactionHexRISZ) GetLocktime() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetLocktimeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *DecodeRawTransactionHexRISZ) SetLocktime(v int32) { + o.Locktime = v +} + +// GetOverwintered returns the Overwintered field value +func (o *DecodeRawTransactionHexRISZ) GetOverwintered() bool { + if o == nil { + var ret bool + return ret + } + + return o.Overwintered +} + +// GetOverwinteredOk returns a tuple with the Overwintered field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetOverwinteredOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Overwintered, true +} + +// SetOverwintered sets field value +func (o *DecodeRawTransactionHexRISZ) SetOverwintered(v bool) { + o.Overwintered = v +} + +// GetSaplinged returns the Saplinged field value +func (o *DecodeRawTransactionHexRISZ) GetSaplinged() bool { + if o == nil { + var ret bool + return ret + } + + return o.Saplinged +} + +// GetSaplingedOk returns a tuple with the Saplinged field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetSaplingedOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Saplinged, true +} + +// SetSaplinged sets field value +func (o *DecodeRawTransactionHexRISZ) SetSaplinged(v bool) { + o.Saplinged = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *DecodeRawTransactionHexRISZ) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *DecodeRawTransactionHexRISZ) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetValueBalance returns the ValueBalance field value +func (o *DecodeRawTransactionHexRISZ) GetValueBalance() string { + if o == nil { + var ret string + return ret + } + + return o.ValueBalance +} + +// GetValueBalanceOk returns a tuple with the ValueBalance field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetValueBalanceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ValueBalance, true +} + +// SetValueBalance sets field value +func (o *DecodeRawTransactionHexRISZ) SetValueBalance(v string) { + o.ValueBalance = v +} + +// GetVersion returns the Version field value +func (o *DecodeRawTransactionHexRISZ) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *DecodeRawTransactionHexRISZ) SetVersion(v int32) { + o.Version = v +} + +// GetVersionGroupId returns the VersionGroupId field value +func (o *DecodeRawTransactionHexRISZ) GetVersionGroupId() string { + if o == nil { + var ret string + return ret + } + + return o.VersionGroupId +} + +// GetVersionGroupIdOk returns a tuple with the VersionGroupId field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetVersionGroupIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.VersionGroupId, true +} + +// SetVersionGroupId sets field value +func (o *DecodeRawTransactionHexRISZ) SetVersionGroupId(v string) { + o.VersionGroupId = v +} + +// GetVin returns the Vin field value +func (o *DecodeRawTransactionHexRISZ) GetVin() []DecodeRawTransactionHexRISZVin { + if o == nil { + var ret []DecodeRawTransactionHexRISZVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetVinOk() ([]DecodeRawTransactionHexRISZVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *DecodeRawTransactionHexRISZ) SetVin(v []DecodeRawTransactionHexRISZVin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *DecodeRawTransactionHexRISZ) GetVout() []DecodeRawTransactionHexRISZVout { + if o == nil { + var ret []DecodeRawTransactionHexRISZVout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZ) GetVoutOk() ([]DecodeRawTransactionHexRISZVout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *DecodeRawTransactionHexRISZ) SetVout(v []DecodeRawTransactionHexRISZVout) { + o.Vout = v +} + +func (o DecodeRawTransactionHexRISZ) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["expiryHeight"] = o.ExpiryHeight + } + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["overwintered"] = o.Overwintered + } + if true { + toSerialize["saplinged"] = o.Saplinged + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["valueBalance"] = o.ValueBalance + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["versionGroupId"] = o.VersionGroupId + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISZ struct { + value *DecodeRawTransactionHexRISZ + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISZ) Get() *DecodeRawTransactionHexRISZ { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISZ) Set(val *DecodeRawTransactionHexRISZ) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISZ) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISZ) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISZ(val *DecodeRawTransactionHexRISZ) *NullableDecodeRawTransactionHexRISZ { + return &NullableDecodeRawTransactionHexRISZ{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISZ) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISZ) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risz_script_pub_key.go b/model_decode_raw_transaction_hex_risz_script_pub_key.go new file mode 100644 index 0000000..84789f4 --- /dev/null +++ b/model_decode_raw_transaction_hex_risz_script_pub_key.go @@ -0,0 +1,228 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISZScriptPubKey Represents the script public key. +type DecodeRawTransactionHexRISZScriptPubKey struct { + // Represents the address which send the amount. + Address *string `json:"address,omitempty"` + // Represents the assembly of the script public key of the address. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the script public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISZScriptPubKey instantiates a new DecodeRawTransactionHexRISZScriptPubKey object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISZScriptPubKey() *DecodeRawTransactionHexRISZScriptPubKey { + this := DecodeRawTransactionHexRISZScriptPubKey{} + return &this +} + +// NewDecodeRawTransactionHexRISZScriptPubKeyWithDefaults instantiates a new DecodeRawTransactionHexRISZScriptPubKey object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISZScriptPubKeyWithDefaults() *DecodeRawTransactionHexRISZScriptPubKey { + this := DecodeRawTransactionHexRISZScriptPubKey{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZScriptPubKey) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZScriptPubKey) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZScriptPubKey) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *DecodeRawTransactionHexRISZScriptPubKey) SetAddress(v string) { + o.Address = &v +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZScriptPubKey) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZScriptPubKey) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZScriptPubKey) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISZScriptPubKey) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZScriptPubKey) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZScriptPubKey) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZScriptPubKey) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISZScriptPubKey) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZScriptPubKey) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZScriptPubKey) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZScriptPubKey) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISZScriptPubKey) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISZScriptPubKey) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Address != nil { + toSerialize["address"] = o.Address + } + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISZScriptPubKey struct { + value *DecodeRawTransactionHexRISZScriptPubKey + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISZScriptPubKey) Get() *DecodeRawTransactionHexRISZScriptPubKey { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISZScriptPubKey) Set(val *DecodeRawTransactionHexRISZScriptPubKey) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISZScriptPubKey) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISZScriptPubKey) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISZScriptPubKey(val *DecodeRawTransactionHexRISZScriptPubKey) *NullableDecodeRawTransactionHexRISZScriptPubKey { + return &NullableDecodeRawTransactionHexRISZScriptPubKey{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISZScriptPubKey) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISZScriptPubKey) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risz_script_sig.go b/model_decode_raw_transaction_hex_risz_script_sig.go new file mode 100644 index 0000000..82807cb --- /dev/null +++ b/model_decode_raw_transaction_hex_risz_script_sig.go @@ -0,0 +1,191 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISZScriptSig Specifies the required signatures. +type DecodeRawTransactionHexRISZScriptSig struct { + // The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes. + Asm *string `json:"asm,omitempty"` + // Represents the hex of the public key of the address. + Hex *string `json:"hex,omitempty"` + // Represents the script type of the reference transaction identifier. + Type *string `json:"type,omitempty"` +} + +// NewDecodeRawTransactionHexRISZScriptSig instantiates a new DecodeRawTransactionHexRISZScriptSig object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISZScriptSig() *DecodeRawTransactionHexRISZScriptSig { + this := DecodeRawTransactionHexRISZScriptSig{} + return &this +} + +// NewDecodeRawTransactionHexRISZScriptSigWithDefaults instantiates a new DecodeRawTransactionHexRISZScriptSig object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISZScriptSigWithDefaults() *DecodeRawTransactionHexRISZScriptSig { + this := DecodeRawTransactionHexRISZScriptSig{} + return &this +} + +// GetAsm returns the Asm field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZScriptSig) GetAsm() string { + if o == nil || o.Asm == nil { + var ret string + return ret + } + return *o.Asm +} + +// GetAsmOk returns a tuple with the Asm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZScriptSig) GetAsmOk() (*string, bool) { + if o == nil || o.Asm == nil { + return nil, false + } + return o.Asm, true +} + +// HasAsm returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZScriptSig) HasAsm() bool { + if o != nil && o.Asm != nil { + return true + } + + return false +} + +// SetAsm gets a reference to the given string and assigns it to the Asm field. +func (o *DecodeRawTransactionHexRISZScriptSig) SetAsm(v string) { + o.Asm = &v +} + +// GetHex returns the Hex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZScriptSig) GetHex() string { + if o == nil || o.Hex == nil { + var ret string + return ret + } + return *o.Hex +} + +// GetHexOk returns a tuple with the Hex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZScriptSig) GetHexOk() (*string, bool) { + if o == nil || o.Hex == nil { + return nil, false + } + return o.Hex, true +} + +// HasHex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZScriptSig) HasHex() bool { + if o != nil && o.Hex != nil { + return true + } + + return false +} + +// SetHex gets a reference to the given string and assigns it to the Hex field. +func (o *DecodeRawTransactionHexRISZScriptSig) SetHex(v string) { + o.Hex = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZScriptSig) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZScriptSig) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZScriptSig) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DecodeRawTransactionHexRISZScriptSig) SetType(v string) { + o.Type = &v +} + +func (o DecodeRawTransactionHexRISZScriptSig) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Asm != nil { + toSerialize["asm"] = o.Asm + } + if o.Hex != nil { + toSerialize["hex"] = o.Hex + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISZScriptSig struct { + value *DecodeRawTransactionHexRISZScriptSig + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISZScriptSig) Get() *DecodeRawTransactionHexRISZScriptSig { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISZScriptSig) Set(val *DecodeRawTransactionHexRISZScriptSig) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISZScriptSig) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISZScriptSig) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISZScriptSig(val *DecodeRawTransactionHexRISZScriptSig) *NullableDecodeRawTransactionHexRISZScriptSig { + return &NullableDecodeRawTransactionHexRISZScriptSig{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISZScriptSig) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISZScriptSig) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risz_vin.go b/model_decode_raw_transaction_hex_risz_vin.go new file mode 100644 index 0000000..0c7970f --- /dev/null +++ b/model_decode_raw_transaction_hex_risz_vin.go @@ -0,0 +1,257 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISZVin struct for DecodeRawTransactionHexRISZVin +type DecodeRawTransactionHexRISZVin struct { + // Represents the addresses which send/receive the amount. + Address *string `json:"address,omitempty"` + // Represents the transaction inputs' indentifier. + InputHash *string `json:"inputHash,omitempty"` + // Defines the output index of a transaction. + OutputIndex *string `json:"outputIndex,omitempty"` + ScriptSig DecodeRawTransactionHexRISZScriptSig `json:"scriptSig"` + // Represents the script sequence number. + Sequence *string `json:"sequence,omitempty"` +} + +// NewDecodeRawTransactionHexRISZVin instantiates a new DecodeRawTransactionHexRISZVin object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISZVin(scriptSig DecodeRawTransactionHexRISZScriptSig) *DecodeRawTransactionHexRISZVin { + this := DecodeRawTransactionHexRISZVin{} + this.ScriptSig = scriptSig + return &this +} + +// NewDecodeRawTransactionHexRISZVinWithDefaults instantiates a new DecodeRawTransactionHexRISZVin object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISZVinWithDefaults() *DecodeRawTransactionHexRISZVin { + this := DecodeRawTransactionHexRISZVin{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZVin) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZVin) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZVin) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *DecodeRawTransactionHexRISZVin) SetAddress(v string) { + o.Address = &v +} + +// GetInputHash returns the InputHash field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZVin) GetInputHash() string { + if o == nil || o.InputHash == nil { + var ret string + return ret + } + return *o.InputHash +} + +// GetInputHashOk returns a tuple with the InputHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZVin) GetInputHashOk() (*string, bool) { + if o == nil || o.InputHash == nil { + return nil, false + } + return o.InputHash, true +} + +// HasInputHash returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZVin) HasInputHash() bool { + if o != nil && o.InputHash != nil { + return true + } + + return false +} + +// SetInputHash gets a reference to the given string and assigns it to the InputHash field. +func (o *DecodeRawTransactionHexRISZVin) SetInputHash(v string) { + o.InputHash = &v +} + +// GetOutputIndex returns the OutputIndex field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZVin) GetOutputIndex() string { + if o == nil || o.OutputIndex == nil { + var ret string + return ret + } + return *o.OutputIndex +} + +// GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZVin) GetOutputIndexOk() (*string, bool) { + if o == nil || o.OutputIndex == nil { + return nil, false + } + return o.OutputIndex, true +} + +// HasOutputIndex returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZVin) HasOutputIndex() bool { + if o != nil && o.OutputIndex != nil { + return true + } + + return false +} + +// SetOutputIndex gets a reference to the given string and assigns it to the OutputIndex field. +func (o *DecodeRawTransactionHexRISZVin) SetOutputIndex(v string) { + o.OutputIndex = &v +} + +// GetScriptSig returns the ScriptSig field value +func (o *DecodeRawTransactionHexRISZVin) GetScriptSig() DecodeRawTransactionHexRISZScriptSig { + if o == nil { + var ret DecodeRawTransactionHexRISZScriptSig + return ret + } + + return o.ScriptSig +} + +// GetScriptSigOk returns a tuple with the ScriptSig field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZVin) GetScriptSigOk() (*DecodeRawTransactionHexRISZScriptSig, bool) { + if o == nil { + return nil, false + } + return &o.ScriptSig, true +} + +// SetScriptSig sets field value +func (o *DecodeRawTransactionHexRISZVin) SetScriptSig(v DecodeRawTransactionHexRISZScriptSig) { + o.ScriptSig = v +} + +// GetSequence returns the Sequence field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZVin) GetSequence() string { + if o == nil || o.Sequence == nil { + var ret string + return ret + } + return *o.Sequence +} + +// GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZVin) GetSequenceOk() (*string, bool) { + if o == nil || o.Sequence == nil { + return nil, false + } + return o.Sequence, true +} + +// HasSequence returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZVin) HasSequence() bool { + if o != nil && o.Sequence != nil { + return true + } + + return false +} + +// SetSequence gets a reference to the given string and assigns it to the Sequence field. +func (o *DecodeRawTransactionHexRISZVin) SetSequence(v string) { + o.Sequence = &v +} + +func (o DecodeRawTransactionHexRISZVin) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Address != nil { + toSerialize["address"] = o.Address + } + if o.InputHash != nil { + toSerialize["inputHash"] = o.InputHash + } + if o.OutputIndex != nil { + toSerialize["outputIndex"] = o.OutputIndex + } + if true { + toSerialize["scriptSig"] = o.ScriptSig + } + if o.Sequence != nil { + toSerialize["sequence"] = o.Sequence + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISZVin struct { + value *DecodeRawTransactionHexRISZVin + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISZVin) Get() *DecodeRawTransactionHexRISZVin { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISZVin) Set(val *DecodeRawTransactionHexRISZVin) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISZVin) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISZVin) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISZVin(val *DecodeRawTransactionHexRISZVin) *NullableDecodeRawTransactionHexRISZVin { + return &NullableDecodeRawTransactionHexRISZVin{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISZVin) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISZVin) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_raw_transaction_hex_risz_vout.go b/model_decode_raw_transaction_hex_risz_vout.go new file mode 100644 index 0000000..7a8ec23 --- /dev/null +++ b/model_decode_raw_transaction_hex_risz_vout.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeRawTransactionHexRISZVout struct for DecodeRawTransactionHexRISZVout +type DecodeRawTransactionHexRISZVout struct { + ScriptPubKey DecodeRawTransactionHexRISZScriptPubKey `json:"scriptPubKey"` + // Defines the specific amount. + Value *string `json:"value,omitempty"` +} + +// NewDecodeRawTransactionHexRISZVout instantiates a new DecodeRawTransactionHexRISZVout object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeRawTransactionHexRISZVout(scriptPubKey DecodeRawTransactionHexRISZScriptPubKey) *DecodeRawTransactionHexRISZVout { + this := DecodeRawTransactionHexRISZVout{} + this.ScriptPubKey = scriptPubKey + return &this +} + +// NewDecodeRawTransactionHexRISZVoutWithDefaults instantiates a new DecodeRawTransactionHexRISZVout object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeRawTransactionHexRISZVoutWithDefaults() *DecodeRawTransactionHexRISZVout { + this := DecodeRawTransactionHexRISZVout{} + return &this +} + +// GetScriptPubKey returns the ScriptPubKey field value +func (o *DecodeRawTransactionHexRISZVout) GetScriptPubKey() DecodeRawTransactionHexRISZScriptPubKey { + if o == nil { + var ret DecodeRawTransactionHexRISZScriptPubKey + return ret + } + + return o.ScriptPubKey +} + +// GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZVout) GetScriptPubKeyOk() (*DecodeRawTransactionHexRISZScriptPubKey, bool) { + if o == nil { + return nil, false + } + return &o.ScriptPubKey, true +} + +// SetScriptPubKey sets field value +func (o *DecodeRawTransactionHexRISZVout) SetScriptPubKey(v DecodeRawTransactionHexRISZScriptPubKey) { + o.ScriptPubKey = v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DecodeRawTransactionHexRISZVout) GetValue() string { + if o == nil || o.Value == nil { + var ret string + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeRawTransactionHexRISZVout) GetValueOk() (*string, bool) { + if o == nil || o.Value == nil { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *DecodeRawTransactionHexRISZVout) HasValue() bool { + if o != nil && o.Value != nil { + return true + } + + return false +} + +// SetValue gets a reference to the given string and assigns it to the Value field. +func (o *DecodeRawTransactionHexRISZVout) SetValue(v string) { + o.Value = &v +} + +func (o DecodeRawTransactionHexRISZVout) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["scriptPubKey"] = o.ScriptPubKey + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableDecodeRawTransactionHexRISZVout struct { + value *DecodeRawTransactionHexRISZVout + isSet bool +} + +func (v NullableDecodeRawTransactionHexRISZVout) Get() *DecodeRawTransactionHexRISZVout { + return v.value +} + +func (v *NullableDecodeRawTransactionHexRISZVout) Set(val *DecodeRawTransactionHexRISZVout) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeRawTransactionHexRISZVout) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeRawTransactionHexRISZVout) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeRawTransactionHexRISZVout(val *DecodeRawTransactionHexRISZVout) *NullableDecodeRawTransactionHexRISZVout { + return &NullableDecodeRawTransactionHexRISZVout{value: val, isSet: true} +} + +func (v NullableDecodeRawTransactionHexRISZVout) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeRawTransactionHexRISZVout) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_x_address_e400.go b/model_decode_x_address_e400.go new file mode 100644 index 0000000..2908963 --- /dev/null +++ b/model_decode_x_address_e400.go @@ -0,0 +1,239 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DecodeXAddressE400 - struct for DecodeXAddressE400 +type DecodeXAddressE400 struct { + InvalidBlockchain *InvalidBlockchain + InvalidNetwork *InvalidNetwork + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidBlockchainAsDecodeXAddressE400 is a convenience function that returns InvalidBlockchain wrapped in DecodeXAddressE400 +func InvalidBlockchainAsDecodeXAddressE400(v *InvalidBlockchain) DecodeXAddressE400 { + return DecodeXAddressE400{ + InvalidBlockchain: v, + } +} + +// InvalidNetworkAsDecodeXAddressE400 is a convenience function that returns InvalidNetwork wrapped in DecodeXAddressE400 +func InvalidNetworkAsDecodeXAddressE400(v *InvalidNetwork) DecodeXAddressE400 { + return DecodeXAddressE400{ + InvalidNetwork: v, + } +} + +// InvalidPaginationAsDecodeXAddressE400 is a convenience function that returns InvalidPagination wrapped in DecodeXAddressE400 +func InvalidPaginationAsDecodeXAddressE400(v *InvalidPagination) DecodeXAddressE400 { + return DecodeXAddressE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsDecodeXAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in DecodeXAddressE400 +func LimitGreaterThanAllowedAsDecodeXAddressE400(v *LimitGreaterThanAllowed) DecodeXAddressE400 { + return DecodeXAddressE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsDecodeXAddressE400 is a convenience function that returns UriNotFound wrapped in DecodeXAddressE400 +func UriNotFoundAsDecodeXAddressE400(v *UriNotFound) DecodeXAddressE400 { + return DecodeXAddressE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DecodeXAddressE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidBlockchain + err = newStrictDecoder(data).Decode(&dst.InvalidBlockchain) + if err == nil { + jsonInvalidBlockchain, _ := json.Marshal(dst.InvalidBlockchain) + if string(jsonInvalidBlockchain) == "{}" { // empty struct + dst.InvalidBlockchain = nil + } else { + match++ + } + } else { + dst.InvalidBlockchain = nil + } + + // try to unmarshal data into InvalidNetwork + err = newStrictDecoder(data).Decode(&dst.InvalidNetwork) + if err == nil { + jsonInvalidNetwork, _ := json.Marshal(dst.InvalidNetwork) + if string(jsonInvalidNetwork) == "{}" { // empty struct + dst.InvalidNetwork = nil + } else { + match++ + } + } else { + dst.InvalidNetwork = nil + } + + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidBlockchain = nil + dst.InvalidNetwork = nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DecodeXAddressE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DecodeXAddressE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DecodeXAddressE400) MarshalJSON() ([]byte, error) { + if src.InvalidBlockchain != nil { + return json.Marshal(&src.InvalidBlockchain) + } + + if src.InvalidNetwork != nil { + return json.Marshal(&src.InvalidNetwork) + } + + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DecodeXAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidBlockchain != nil { + return obj.InvalidBlockchain + } + + if obj.InvalidNetwork != nil { + return obj.InvalidNetwork + } + + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableDecodeXAddressE400 struct { + value *DecodeXAddressE400 + isSet bool +} + +func (v NullableDecodeXAddressE400) Get() *DecodeXAddressE400 { + return v.value +} + +func (v *NullableDecodeXAddressE400) Set(val *DecodeXAddressE400) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeXAddressE400) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeXAddressE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeXAddressE400(val *DecodeXAddressE400) *NullableDecodeXAddressE400 { + return &NullableDecodeXAddressE400{value: val, isSet: true} +} + +func (v NullableDecodeXAddressE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeXAddressE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_x_address_e401.go b/model_decode_x_address_e401.go new file mode 100644 index 0000000..14a44bb --- /dev/null +++ b/model_decode_x_address_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DecodeXAddressE401 - struct for DecodeXAddressE401 +type DecodeXAddressE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsDecodeXAddressE401 is a convenience function that returns InvalidApiKey wrapped in DecodeXAddressE401 +func InvalidApiKeyAsDecodeXAddressE401(v *InvalidApiKey) DecodeXAddressE401 { + return DecodeXAddressE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsDecodeXAddressE401 is a convenience function that returns MissingApiKey wrapped in DecodeXAddressE401 +func MissingApiKeyAsDecodeXAddressE401(v *MissingApiKey) DecodeXAddressE401 { + return DecodeXAddressE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DecodeXAddressE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DecodeXAddressE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DecodeXAddressE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DecodeXAddressE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DecodeXAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableDecodeXAddressE401 struct { + value *DecodeXAddressE401 + isSet bool +} + +func (v NullableDecodeXAddressE401) Get() *DecodeXAddressE401 { + return v.value +} + +func (v *NullableDecodeXAddressE401) Set(val *DecodeXAddressE401) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeXAddressE401) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeXAddressE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeXAddressE401(val *DecodeXAddressE401) *NullableDecodeXAddressE401 { + return &NullableDecodeXAddressE401{value: val, isSet: true} +} + +func (v NullableDecodeXAddressE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeXAddressE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_x_address_e403.go b/model_decode_x_address_e403.go new file mode 100644 index 0000000..0ebc803 --- /dev/null +++ b/model_decode_x_address_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DecodeXAddressE403 - struct for DecodeXAddressE403 +type DecodeXAddressE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsDecodeXAddressE403 is a convenience function that returns BannedIpAddress wrapped in DecodeXAddressE403 +func BannedIpAddressAsDecodeXAddressE403(v *BannedIpAddress) DecodeXAddressE403 { + return DecodeXAddressE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsDecodeXAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in DecodeXAddressE403 +func EndpointNotAllowedForApiKeyAsDecodeXAddressE403(v *EndpointNotAllowedForApiKey) DecodeXAddressE403 { + return DecodeXAddressE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsDecodeXAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in DecodeXAddressE403 +func EndpointNotAllowedForPlanAsDecodeXAddressE403(v *EndpointNotAllowedForPlan) DecodeXAddressE403 { + return DecodeXAddressE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsDecodeXAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in DecodeXAddressE403 +func FeatureMainnetsNotAllowedForPlanAsDecodeXAddressE403(v *FeatureMainnetsNotAllowedForPlan) DecodeXAddressE403 { + return DecodeXAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DecodeXAddressE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DecodeXAddressE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DecodeXAddressE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DecodeXAddressE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DecodeXAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableDecodeXAddressE403 struct { + value *DecodeXAddressE403 + isSet bool +} + +func (v NullableDecodeXAddressE403) Get() *DecodeXAddressE403 { + return v.value +} + +func (v *NullableDecodeXAddressE403) Set(val *DecodeXAddressE403) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeXAddressE403) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeXAddressE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeXAddressE403(val *DecodeXAddressE403) *NullableDecodeXAddressE403 { + return &NullableDecodeXAddressE403{value: val, isSet: true} +} + +func (v NullableDecodeXAddressE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeXAddressE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_x_address_r.go b/model_decode_x_address_r.go new file mode 100644 index 0000000..bafe45e --- /dev/null +++ b/model_decode_x_address_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeXAddressR struct for DecodeXAddressR +type DecodeXAddressR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data DecodeXAddressRData `json:"data"` +} + +// NewDecodeXAddressR instantiates a new DecodeXAddressR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeXAddressR(apiVersion string, requestId string, data DecodeXAddressRData) *DecodeXAddressR { + this := DecodeXAddressR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewDecodeXAddressRWithDefaults instantiates a new DecodeXAddressR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeXAddressRWithDefaults() *DecodeXAddressR { + this := DecodeXAddressR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *DecodeXAddressR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *DecodeXAddressR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *DecodeXAddressR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *DecodeXAddressR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *DecodeXAddressR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *DecodeXAddressR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *DecodeXAddressR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DecodeXAddressR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *DecodeXAddressR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *DecodeXAddressR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *DecodeXAddressR) GetData() DecodeXAddressRData { + if o == nil { + var ret DecodeXAddressRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *DecodeXAddressR) GetDataOk() (*DecodeXAddressRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *DecodeXAddressR) SetData(v DecodeXAddressRData) { + o.Data = v +} + +func (o DecodeXAddressR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableDecodeXAddressR struct { + value *DecodeXAddressR + isSet bool +} + +func (v NullableDecodeXAddressR) Get() *DecodeXAddressR { + return v.value +} + +func (v *NullableDecodeXAddressR) Set(val *DecodeXAddressR) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeXAddressR) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeXAddressR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeXAddressR(val *DecodeXAddressR) *NullableDecodeXAddressR { + return &NullableDecodeXAddressR{value: val, isSet: true} +} + +func (v NullableDecodeXAddressR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeXAddressR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_x_address_r_data.go b/model_decode_x_address_r_data.go new file mode 100644 index 0000000..2f9d9fa --- /dev/null +++ b/model_decode_x_address_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeXAddressRData struct for DecodeXAddressRData +type DecodeXAddressRData struct { + Item DecodeXAddressRI `json:"item"` +} + +// NewDecodeXAddressRData instantiates a new DecodeXAddressRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeXAddressRData(item DecodeXAddressRI) *DecodeXAddressRData { + this := DecodeXAddressRData{} + this.Item = item + return &this +} + +// NewDecodeXAddressRDataWithDefaults instantiates a new DecodeXAddressRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeXAddressRDataWithDefaults() *DecodeXAddressRData { + this := DecodeXAddressRData{} + return &this +} + +// GetItem returns the Item field value +func (o *DecodeXAddressRData) GetItem() DecodeXAddressRI { + if o == nil { + var ret DecodeXAddressRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *DecodeXAddressRData) GetItemOk() (*DecodeXAddressRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *DecodeXAddressRData) SetItem(v DecodeXAddressRI) { + o.Item = v +} + +func (o DecodeXAddressRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableDecodeXAddressRData struct { + value *DecodeXAddressRData + isSet bool +} + +func (v NullableDecodeXAddressRData) Get() *DecodeXAddressRData { + return v.value +} + +func (v *NullableDecodeXAddressRData) Set(val *DecodeXAddressRData) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeXAddressRData) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeXAddressRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeXAddressRData(val *DecodeXAddressRData) *NullableDecodeXAddressRData { + return &NullableDecodeXAddressRData{value: val, isSet: true} +} + +func (v NullableDecodeXAddressRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeXAddressRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_decode_x_address_ri.go b/model_decode_x_address_ri.go new file mode 100644 index 0000000..50b352a --- /dev/null +++ b/model_decode_x_address_ri.go @@ -0,0 +1,140 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DecodeXAddressRI struct for DecodeXAddressRI +type DecodeXAddressRI struct { + // Defines a specific Tag that is an additional XRP address feature. It helps identifying a transaction recipient beyond a wallet address. + AddressTag int32 `json:"addressTag"` + // Represents the public address, which is a compressed and shortened form of a public key. + ClassicAddress string `json:"classicAddress"` +} + +// NewDecodeXAddressRI instantiates a new DecodeXAddressRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDecodeXAddressRI(addressTag int32, classicAddress string) *DecodeXAddressRI { + this := DecodeXAddressRI{} + this.AddressTag = addressTag + this.ClassicAddress = classicAddress + return &this +} + +// NewDecodeXAddressRIWithDefaults instantiates a new DecodeXAddressRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDecodeXAddressRIWithDefaults() *DecodeXAddressRI { + this := DecodeXAddressRI{} + return &this +} + +// GetAddressTag returns the AddressTag field value +func (o *DecodeXAddressRI) GetAddressTag() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.AddressTag +} + +// GetAddressTagOk returns a tuple with the AddressTag field value +// and a boolean to check if the value has been set. +func (o *DecodeXAddressRI) GetAddressTagOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.AddressTag, true +} + +// SetAddressTag sets field value +func (o *DecodeXAddressRI) SetAddressTag(v int32) { + o.AddressTag = v +} + +// GetClassicAddress returns the ClassicAddress field value +func (o *DecodeXAddressRI) GetClassicAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ClassicAddress +} + +// GetClassicAddressOk returns a tuple with the ClassicAddress field value +// and a boolean to check if the value has been set. +func (o *DecodeXAddressRI) GetClassicAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ClassicAddress, true +} + +// SetClassicAddress sets field value +func (o *DecodeXAddressRI) SetClassicAddress(v string) { + o.ClassicAddress = v +} + +func (o DecodeXAddressRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["addressTag"] = o.AddressTag + } + if true { + toSerialize["classicAddress"] = o.ClassicAddress + } + return json.Marshal(toSerialize) +} + +type NullableDecodeXAddressRI struct { + value *DecodeXAddressRI + isSet bool +} + +func (v NullableDecodeXAddressRI) Get() *DecodeXAddressRI { + return v.value +} + +func (v *NullableDecodeXAddressRI) Set(val *DecodeXAddressRI) { + v.value = val + v.isSet = true +} + +func (v NullableDecodeXAddressRI) IsSet() bool { + return v.isSet +} + +func (v *NullableDecodeXAddressRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDecodeXAddressRI(val *DecodeXAddressRI) *NullableDecodeXAddressRI { + return &NullableDecodeXAddressRI{value: val, isSet: true} +} + +func (v NullableDecodeXAddressRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDecodeXAddressRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_delete_automatic_coins_forwarding_e400.go b/model_delete_automatic_coins_forwarding_e400.go index d615922..b16d145 100644 --- a/model_delete_automatic_coins_forwarding_e400.go +++ b/model_delete_automatic_coins_forwarding_e400.go @@ -25,17 +25,23 @@ type DeleteAutomaticCoinsForwardingE400 struct { // InvalidPaginationAsDeleteAutomaticCoinsForwardingE400 is a convenience function that returns InvalidPagination wrapped in DeleteAutomaticCoinsForwardingE400 func InvalidPaginationAsDeleteAutomaticCoinsForwardingE400(v *InvalidPagination) DeleteAutomaticCoinsForwardingE400 { - return DeleteAutomaticCoinsForwardingE400{ InvalidPagination: v} + return DeleteAutomaticCoinsForwardingE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsDeleteAutomaticCoinsForwardingE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in DeleteAutomaticCoinsForwardingE400 func LimitGreaterThanAllowedAsDeleteAutomaticCoinsForwardingE400(v *LimitGreaterThanAllowed) DeleteAutomaticCoinsForwardingE400 { - return DeleteAutomaticCoinsForwardingE400{ LimitGreaterThanAllowed: v} + return DeleteAutomaticCoinsForwardingE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsDeleteAutomaticCoinsForwardingE400 is a convenience function that returns UriNotFound wrapped in DeleteAutomaticCoinsForwardingE400 func UriNotFoundAsDeleteAutomaticCoinsForwardingE400(v *UriNotFound) DeleteAutomaticCoinsForwardingE400 { - return DeleteAutomaticCoinsForwardingE400{ UriNotFound: v} + return DeleteAutomaticCoinsForwardingE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *DeleteAutomaticCoinsForwardingE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *DeleteAutomaticCoinsForwardingE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *DeleteAutomaticCoinsForwardingE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src DeleteAutomaticCoinsForwardingE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteAutomaticCoinsForwardingE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_delete_automatic_coins_forwarding_e401.go b/model_delete_automatic_coins_forwarding_e401.go index 3b00350..83959d6 100644 --- a/model_delete_automatic_coins_forwarding_e401.go +++ b/model_delete_automatic_coins_forwarding_e401.go @@ -24,12 +24,16 @@ type DeleteAutomaticCoinsForwardingE401 struct { // InvalidApiKeyAsDeleteAutomaticCoinsForwardingE401 is a convenience function that returns InvalidApiKey wrapped in DeleteAutomaticCoinsForwardingE401 func InvalidApiKeyAsDeleteAutomaticCoinsForwardingE401(v *InvalidApiKey) DeleteAutomaticCoinsForwardingE401 { - return DeleteAutomaticCoinsForwardingE401{ InvalidApiKey: v} + return DeleteAutomaticCoinsForwardingE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsDeleteAutomaticCoinsForwardingE401 is a convenience function that returns MissingApiKey wrapped in DeleteAutomaticCoinsForwardingE401 func MissingApiKeyAsDeleteAutomaticCoinsForwardingE401(v *MissingApiKey) DeleteAutomaticCoinsForwardingE401 { - return DeleteAutomaticCoinsForwardingE401{ MissingApiKey: v} + return DeleteAutomaticCoinsForwardingE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *DeleteAutomaticCoinsForwardingE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *DeleteAutomaticCoinsForwardingE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src DeleteAutomaticCoinsForwardingE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteAutomaticCoinsForwardingE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_delete_automatic_coins_forwarding_e403.go b/model_delete_automatic_coins_forwarding_e403.go index a93b417..2814816 100644 --- a/model_delete_automatic_coins_forwarding_e403.go +++ b/model_delete_automatic_coins_forwarding_e403.go @@ -26,22 +26,30 @@ type DeleteAutomaticCoinsForwardingE403 struct { // BannedIpAddressAsDeleteAutomaticCoinsForwardingE403 is a convenience function that returns BannedIpAddress wrapped in DeleteAutomaticCoinsForwardingE403 func BannedIpAddressAsDeleteAutomaticCoinsForwardingE403(v *BannedIpAddress) DeleteAutomaticCoinsForwardingE403 { - return DeleteAutomaticCoinsForwardingE403{ BannedIpAddress: v} + return DeleteAutomaticCoinsForwardingE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsDeleteAutomaticCoinsForwardingE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in DeleteAutomaticCoinsForwardingE403 func EndpointNotAllowedForApiKeyAsDeleteAutomaticCoinsForwardingE403(v *EndpointNotAllowedForApiKey) DeleteAutomaticCoinsForwardingE403 { - return DeleteAutomaticCoinsForwardingE403{ EndpointNotAllowedForApiKey: v} + return DeleteAutomaticCoinsForwardingE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsDeleteAutomaticCoinsForwardingE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in DeleteAutomaticCoinsForwardingE403 func EndpointNotAllowedForPlanAsDeleteAutomaticCoinsForwardingE403(v *EndpointNotAllowedForPlan) DeleteAutomaticCoinsForwardingE403 { - return DeleteAutomaticCoinsForwardingE403{ EndpointNotAllowedForPlan: v} + return DeleteAutomaticCoinsForwardingE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsDeleteAutomaticCoinsForwardingE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in DeleteAutomaticCoinsForwardingE403 func FeatureMainnetsNotAllowedForPlanAsDeleteAutomaticCoinsForwardingE403(v *FeatureMainnetsNotAllowedForPlan) DeleteAutomaticCoinsForwardingE403 { - return DeleteAutomaticCoinsForwardingE403{ FeatureMainnetsNotAllowedForPlan: v} + return DeleteAutomaticCoinsForwardingE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *DeleteAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *DeleteAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *DeleteAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *DeleteAutomaticCoinsForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src DeleteAutomaticCoinsForwardingE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteAutomaticCoinsForwardingE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_delete_automatic_coins_forwarding_r.go b/model_delete_automatic_coins_forwarding_r.go index b27a251..728638c 100644 --- a/model_delete_automatic_coins_forwarding_r.go +++ b/model_delete_automatic_coins_forwarding_r.go @@ -59,7 +59,7 @@ func (o *DeleteAutomaticCoinsForwardingR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *DeleteAutomaticCoinsForwardingR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *DeleteAutomaticCoinsForwardingR) GetData() DeleteAutomaticCoinsForwardi // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingR) GetDataOk() (*DeleteAutomaticCoinsForwardingRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_delete_automatic_coins_forwarding_r_data.go b/model_delete_automatic_coins_forwarding_r_data.go index 784e565..1dc1816 100644 --- a/model_delete_automatic_coins_forwarding_r_data.go +++ b/model_delete_automatic_coins_forwarding_r_data.go @@ -51,7 +51,7 @@ func (o *DeleteAutomaticCoinsForwardingRData) GetItem() DeleteAutomaticCoinsForw // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRData) GetItemOk() (*DeleteAutomaticCoinsForwardingRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_delete_automatic_coins_forwarding_ri.go b/model_delete_automatic_coins_forwarding_ri.go index 043100b..3f329a8 100644 --- a/model_delete_automatic_coins_forwarding_ri.go +++ b/model_delete_automatic_coins_forwarding_ri.go @@ -17,7 +17,7 @@ import ( // DeleteAutomaticCoinsForwardingRI struct for DeleteAutomaticCoinsForwardingRI type DeleteAutomaticCoinsForwardingRI struct { - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -73,7 +73,7 @@ func (o *DeleteAutomaticCoinsForwardingRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -97,7 +97,7 @@ func (o *DeleteAutomaticCoinsForwardingRI) GetConfirmationsCount() int32 { // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -121,7 +121,7 @@ func (o *DeleteAutomaticCoinsForwardingRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -145,7 +145,7 @@ func (o *DeleteAutomaticCoinsForwardingRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -169,7 +169,7 @@ func (o *DeleteAutomaticCoinsForwardingRI) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRI) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -193,7 +193,7 @@ func (o *DeleteAutomaticCoinsForwardingRI) GetMinimumTransferAmount() string { // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRI) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -217,7 +217,7 @@ func (o *DeleteAutomaticCoinsForwardingRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -241,7 +241,7 @@ func (o *DeleteAutomaticCoinsForwardingRI) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticCoinsForwardingRI) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true diff --git a/model_delete_automatic_tokens_forwarding_e400.go b/model_delete_automatic_tokens_forwarding_e400.go index b66914a..934d83f 100644 --- a/model_delete_automatic_tokens_forwarding_e400.go +++ b/model_delete_automatic_tokens_forwarding_e400.go @@ -25,17 +25,23 @@ type DeleteAutomaticTokensForwardingE400 struct { // InvalidPaginationAsDeleteAutomaticTokensForwardingE400 is a convenience function that returns InvalidPagination wrapped in DeleteAutomaticTokensForwardingE400 func InvalidPaginationAsDeleteAutomaticTokensForwardingE400(v *InvalidPagination) DeleteAutomaticTokensForwardingE400 { - return DeleteAutomaticTokensForwardingE400{ InvalidPagination: v} + return DeleteAutomaticTokensForwardingE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsDeleteAutomaticTokensForwardingE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in DeleteAutomaticTokensForwardingE400 func LimitGreaterThanAllowedAsDeleteAutomaticTokensForwardingE400(v *LimitGreaterThanAllowed) DeleteAutomaticTokensForwardingE400 { - return DeleteAutomaticTokensForwardingE400{ LimitGreaterThanAllowed: v} + return DeleteAutomaticTokensForwardingE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsDeleteAutomaticTokensForwardingE400 is a convenience function that returns UriNotFound wrapped in DeleteAutomaticTokensForwardingE400 func UriNotFoundAsDeleteAutomaticTokensForwardingE400(v *UriNotFound) DeleteAutomaticTokensForwardingE400 { - return DeleteAutomaticTokensForwardingE400{ UriNotFound: v} + return DeleteAutomaticTokensForwardingE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *DeleteAutomaticTokensForwardingE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *DeleteAutomaticTokensForwardingE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *DeleteAutomaticTokensForwardingE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src DeleteAutomaticTokensForwardingE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteAutomaticTokensForwardingE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_delete_automatic_tokens_forwarding_e401.go b/model_delete_automatic_tokens_forwarding_e401.go index a1a025f..3179f1b 100644 --- a/model_delete_automatic_tokens_forwarding_e401.go +++ b/model_delete_automatic_tokens_forwarding_e401.go @@ -24,12 +24,16 @@ type DeleteAutomaticTokensForwardingE401 struct { // InvalidApiKeyAsDeleteAutomaticTokensForwardingE401 is a convenience function that returns InvalidApiKey wrapped in DeleteAutomaticTokensForwardingE401 func InvalidApiKeyAsDeleteAutomaticTokensForwardingE401(v *InvalidApiKey) DeleteAutomaticTokensForwardingE401 { - return DeleteAutomaticTokensForwardingE401{ InvalidApiKey: v} + return DeleteAutomaticTokensForwardingE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsDeleteAutomaticTokensForwardingE401 is a convenience function that returns MissingApiKey wrapped in DeleteAutomaticTokensForwardingE401 func MissingApiKeyAsDeleteAutomaticTokensForwardingE401(v *MissingApiKey) DeleteAutomaticTokensForwardingE401 { - return DeleteAutomaticTokensForwardingE401{ MissingApiKey: v} + return DeleteAutomaticTokensForwardingE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *DeleteAutomaticTokensForwardingE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *DeleteAutomaticTokensForwardingE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src DeleteAutomaticTokensForwardingE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteAutomaticTokensForwardingE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_delete_automatic_tokens_forwarding_e403.go b/model_delete_automatic_tokens_forwarding_e403.go index 66712bd..50bd08e 100644 --- a/model_delete_automatic_tokens_forwarding_e403.go +++ b/model_delete_automatic_tokens_forwarding_e403.go @@ -26,22 +26,30 @@ type DeleteAutomaticTokensForwardingE403 struct { // BannedIpAddressAsDeleteAutomaticTokensForwardingE403 is a convenience function that returns BannedIpAddress wrapped in DeleteAutomaticTokensForwardingE403 func BannedIpAddressAsDeleteAutomaticTokensForwardingE403(v *BannedIpAddress) DeleteAutomaticTokensForwardingE403 { - return DeleteAutomaticTokensForwardingE403{ BannedIpAddress: v} + return DeleteAutomaticTokensForwardingE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsDeleteAutomaticTokensForwardingE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in DeleteAutomaticTokensForwardingE403 func EndpointNotAllowedForApiKeyAsDeleteAutomaticTokensForwardingE403(v *EndpointNotAllowedForApiKey) DeleteAutomaticTokensForwardingE403 { - return DeleteAutomaticTokensForwardingE403{ EndpointNotAllowedForApiKey: v} + return DeleteAutomaticTokensForwardingE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsDeleteAutomaticTokensForwardingE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in DeleteAutomaticTokensForwardingE403 func EndpointNotAllowedForPlanAsDeleteAutomaticTokensForwardingE403(v *EndpointNotAllowedForPlan) DeleteAutomaticTokensForwardingE403 { - return DeleteAutomaticTokensForwardingE403{ EndpointNotAllowedForPlan: v} + return DeleteAutomaticTokensForwardingE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsDeleteAutomaticTokensForwardingE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in DeleteAutomaticTokensForwardingE403 func FeatureMainnetsNotAllowedForPlanAsDeleteAutomaticTokensForwardingE403(v *FeatureMainnetsNotAllowedForPlan) DeleteAutomaticTokensForwardingE403 { - return DeleteAutomaticTokensForwardingE403{ FeatureMainnetsNotAllowedForPlan: v} + return DeleteAutomaticTokensForwardingE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *DeleteAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *DeleteAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *DeleteAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *DeleteAutomaticTokensForwardingE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src DeleteAutomaticTokensForwardingE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteAutomaticTokensForwardingE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_delete_automatic_tokens_forwarding_r.go b/model_delete_automatic_tokens_forwarding_r.go index 5efa4c4..7da5c33 100644 --- a/model_delete_automatic_tokens_forwarding_r.go +++ b/model_delete_automatic_tokens_forwarding_r.go @@ -59,7 +59,7 @@ func (o *DeleteAutomaticTokensForwardingR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *DeleteAutomaticTokensForwardingR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *DeleteAutomaticTokensForwardingR) GetData() DeleteAutomaticTokensForwar // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingR) GetDataOk() (*DeleteAutomaticTokensForwardingRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_delete_automatic_tokens_forwarding_r_data.go b/model_delete_automatic_tokens_forwarding_r_data.go index 7304166..9510cc1 100644 --- a/model_delete_automatic_tokens_forwarding_r_data.go +++ b/model_delete_automatic_tokens_forwarding_r_data.go @@ -51,7 +51,7 @@ func (o *DeleteAutomaticTokensForwardingRData) GetItem() DeleteAutomaticTokensFo // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRData) GetItemOk() (*DeleteAutomaticTokensForwardingRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_delete_automatic_tokens_forwarding_ri.go b/model_delete_automatic_tokens_forwarding_ri.go index d6243de..0a563b9 100644 --- a/model_delete_automatic_tokens_forwarding_ri.go +++ b/model_delete_automatic_tokens_forwarding_ri.go @@ -17,7 +17,7 @@ import ( // DeleteAutomaticTokensForwardingRI struct for DeleteAutomaticTokensForwardingRI type DeleteAutomaticTokensForwardingRI struct { - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -78,7 +78,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -102,7 +102,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetConfirmationsCount() int32 { // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -126,7 +126,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -150,7 +150,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetFeeAddress() string { // GetFeeAddressOk returns a tuple with the FeeAddress field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetFeeAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeeAddress, true @@ -174,7 +174,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -198,7 +198,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -222,7 +222,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetMinimumTransferAmount() string { // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -246,7 +246,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -270,7 +270,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -294,7 +294,7 @@ func (o *DeleteAutomaticTokensForwardingRI) GetTokenData() DeleteAutomaticTokens // GetTokenDataOk returns a tuple with the TokenData field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRI) GetTokenDataOk() (*DeleteAutomaticTokensForwardingRITS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenData, true diff --git a/model_delete_automatic_tokens_forwarding_rits.go b/model_delete_automatic_tokens_forwarding_rits.go index 11afd61..87f791b 100644 --- a/model_delete_automatic_tokens_forwarding_rits.go +++ b/model_delete_automatic_tokens_forwarding_rits.go @@ -24,12 +24,16 @@ type DeleteAutomaticTokensForwardingRITS struct { // DeleteAutomaticTokensForwardingRITSBOTAsDeleteAutomaticTokensForwardingRITS is a convenience function that returns DeleteAutomaticTokensForwardingRITSBOT wrapped in DeleteAutomaticTokensForwardingRITS func DeleteAutomaticTokensForwardingRITSBOTAsDeleteAutomaticTokensForwardingRITS(v *DeleteAutomaticTokensForwardingRITSBOT) DeleteAutomaticTokensForwardingRITS { - return DeleteAutomaticTokensForwardingRITS{ DeleteAutomaticTokensForwardingRITSBOT: v} + return DeleteAutomaticTokensForwardingRITS{ + DeleteAutomaticTokensForwardingRITSBOT: v, + } } // DeleteAutomaticTokensForwardingRITSETAsDeleteAutomaticTokensForwardingRITS is a convenience function that returns DeleteAutomaticTokensForwardingRITSET wrapped in DeleteAutomaticTokensForwardingRITS func DeleteAutomaticTokensForwardingRITSETAsDeleteAutomaticTokensForwardingRITS(v *DeleteAutomaticTokensForwardingRITSET) DeleteAutomaticTokensForwardingRITS { - return DeleteAutomaticTokensForwardingRITS{ DeleteAutomaticTokensForwardingRITSET: v} + return DeleteAutomaticTokensForwardingRITS{ + DeleteAutomaticTokensForwardingRITSET: v, + } } @@ -38,7 +42,7 @@ func (dst *DeleteAutomaticTokensForwardingRITS) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into DeleteAutomaticTokensForwardingRITSBOT - err = json.Unmarshal(data, &dst.DeleteAutomaticTokensForwardingRITSBOT) + err = newStrictDecoder(data).Decode(&dst.DeleteAutomaticTokensForwardingRITSBOT) if err == nil { jsonDeleteAutomaticTokensForwardingRITSBOT, _ := json.Marshal(dst.DeleteAutomaticTokensForwardingRITSBOT) if string(jsonDeleteAutomaticTokensForwardingRITSBOT) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *DeleteAutomaticTokensForwardingRITS) UnmarshalJSON(data []byte) error } // try to unmarshal data into DeleteAutomaticTokensForwardingRITSET - err = json.Unmarshal(data, &dst.DeleteAutomaticTokensForwardingRITSET) + err = newStrictDecoder(data).Decode(&dst.DeleteAutomaticTokensForwardingRITSET) if err == nil { jsonDeleteAutomaticTokensForwardingRITSET, _ := json.Marshal(dst.DeleteAutomaticTokensForwardingRITSET) if string(jsonDeleteAutomaticTokensForwardingRITSET) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src DeleteAutomaticTokensForwardingRITS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteAutomaticTokensForwardingRITS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.DeleteAutomaticTokensForwardingRITSBOT != nil { return obj.DeleteAutomaticTokensForwardingRITSBOT } diff --git a/model_delete_automatic_tokens_forwarding_ritsbot.go b/model_delete_automatic_tokens_forwarding_ritsbot.go index 9549e9a..5e3cd14 100644 --- a/model_delete_automatic_tokens_forwarding_ritsbot.go +++ b/model_delete_automatic_tokens_forwarding_ritsbot.go @@ -52,7 +52,7 @@ func (o *DeleteAutomaticTokensForwardingRITSBOT) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRITSBOT) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true diff --git a/model_delete_automatic_tokens_forwarding_ritset.go b/model_delete_automatic_tokens_forwarding_ritset.go index 1b8917e..32e4d9b 100644 --- a/model_delete_automatic_tokens_forwarding_ritset.go +++ b/model_delete_automatic_tokens_forwarding_ritset.go @@ -52,7 +52,7 @@ func (o *DeleteAutomaticTokensForwardingRITSET) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *DeleteAutomaticTokensForwardingRITSET) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_delete_blockchain_event_subscription_e400.go b/model_delete_blockchain_event_subscription_e400.go index c2473f6..bb95a8f 100644 --- a/model_delete_blockchain_event_subscription_e400.go +++ b/model_delete_blockchain_event_subscription_e400.go @@ -25,17 +25,23 @@ type DeleteBlockchainEventSubscriptionE400 struct { // InvalidPaginationAsDeleteBlockchainEventSubscriptionE400 is a convenience function that returns InvalidPagination wrapped in DeleteBlockchainEventSubscriptionE400 func InvalidPaginationAsDeleteBlockchainEventSubscriptionE400(v *InvalidPagination) DeleteBlockchainEventSubscriptionE400 { - return DeleteBlockchainEventSubscriptionE400{ InvalidPagination: v} + return DeleteBlockchainEventSubscriptionE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsDeleteBlockchainEventSubscriptionE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in DeleteBlockchainEventSubscriptionE400 func LimitGreaterThanAllowedAsDeleteBlockchainEventSubscriptionE400(v *LimitGreaterThanAllowed) DeleteBlockchainEventSubscriptionE400 { - return DeleteBlockchainEventSubscriptionE400{ LimitGreaterThanAllowed: v} + return DeleteBlockchainEventSubscriptionE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsDeleteBlockchainEventSubscriptionE400 is a convenience function that returns UriNotFound wrapped in DeleteBlockchainEventSubscriptionE400 func UriNotFoundAsDeleteBlockchainEventSubscriptionE400(v *UriNotFound) DeleteBlockchainEventSubscriptionE400 { - return DeleteBlockchainEventSubscriptionE400{ UriNotFound: v} + return DeleteBlockchainEventSubscriptionE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *DeleteBlockchainEventSubscriptionE400) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *DeleteBlockchainEventSubscriptionE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *DeleteBlockchainEventSubscriptionE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src DeleteBlockchainEventSubscriptionE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteBlockchainEventSubscriptionE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_delete_blockchain_event_subscription_e401.go b/model_delete_blockchain_event_subscription_e401.go index 6c7f8f5..41f7f3c 100644 --- a/model_delete_blockchain_event_subscription_e401.go +++ b/model_delete_blockchain_event_subscription_e401.go @@ -24,12 +24,16 @@ type DeleteBlockchainEventSubscriptionE401 struct { // InvalidApiKeyAsDeleteBlockchainEventSubscriptionE401 is a convenience function that returns InvalidApiKey wrapped in DeleteBlockchainEventSubscriptionE401 func InvalidApiKeyAsDeleteBlockchainEventSubscriptionE401(v *InvalidApiKey) DeleteBlockchainEventSubscriptionE401 { - return DeleteBlockchainEventSubscriptionE401{ InvalidApiKey: v} + return DeleteBlockchainEventSubscriptionE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsDeleteBlockchainEventSubscriptionE401 is a convenience function that returns MissingApiKey wrapped in DeleteBlockchainEventSubscriptionE401 func MissingApiKeyAsDeleteBlockchainEventSubscriptionE401(v *MissingApiKey) DeleteBlockchainEventSubscriptionE401 { - return DeleteBlockchainEventSubscriptionE401{ MissingApiKey: v} + return DeleteBlockchainEventSubscriptionE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *DeleteBlockchainEventSubscriptionE401) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *DeleteBlockchainEventSubscriptionE401) UnmarshalJSON(data []byte) err } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src DeleteBlockchainEventSubscriptionE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteBlockchainEventSubscriptionE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_delete_blockchain_event_subscription_e403.go b/model_delete_blockchain_event_subscription_e403.go index e99180c..76adff0 100644 --- a/model_delete_blockchain_event_subscription_e403.go +++ b/model_delete_blockchain_event_subscription_e403.go @@ -26,22 +26,30 @@ type DeleteBlockchainEventSubscriptionE403 struct { // BannedIpAddressAsDeleteBlockchainEventSubscriptionE403 is a convenience function that returns BannedIpAddress wrapped in DeleteBlockchainEventSubscriptionE403 func BannedIpAddressAsDeleteBlockchainEventSubscriptionE403(v *BannedIpAddress) DeleteBlockchainEventSubscriptionE403 { - return DeleteBlockchainEventSubscriptionE403{ BannedIpAddress: v} + return DeleteBlockchainEventSubscriptionE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsDeleteBlockchainEventSubscriptionE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in DeleteBlockchainEventSubscriptionE403 func EndpointNotAllowedForApiKeyAsDeleteBlockchainEventSubscriptionE403(v *EndpointNotAllowedForApiKey) DeleteBlockchainEventSubscriptionE403 { - return DeleteBlockchainEventSubscriptionE403{ EndpointNotAllowedForApiKey: v} + return DeleteBlockchainEventSubscriptionE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsDeleteBlockchainEventSubscriptionE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in DeleteBlockchainEventSubscriptionE403 func EndpointNotAllowedForPlanAsDeleteBlockchainEventSubscriptionE403(v *EndpointNotAllowedForPlan) DeleteBlockchainEventSubscriptionE403 { - return DeleteBlockchainEventSubscriptionE403{ EndpointNotAllowedForPlan: v} + return DeleteBlockchainEventSubscriptionE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsDeleteBlockchainEventSubscriptionE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in DeleteBlockchainEventSubscriptionE403 func FeatureMainnetsNotAllowedForPlanAsDeleteBlockchainEventSubscriptionE403(v *FeatureMainnetsNotAllowedForPlan) DeleteBlockchainEventSubscriptionE403 { - return DeleteBlockchainEventSubscriptionE403{ FeatureMainnetsNotAllowedForPlan: v} + return DeleteBlockchainEventSubscriptionE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *DeleteBlockchainEventSubscriptionE403) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *DeleteBlockchainEventSubscriptionE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *DeleteBlockchainEventSubscriptionE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *DeleteBlockchainEventSubscriptionE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src DeleteBlockchainEventSubscriptionE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *DeleteBlockchainEventSubscriptionE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_delete_blockchain_event_subscription_r.go b/model_delete_blockchain_event_subscription_r.go index a178490..3a721fd 100644 --- a/model_delete_blockchain_event_subscription_r.go +++ b/model_delete_blockchain_event_subscription_r.go @@ -59,7 +59,7 @@ func (o *DeleteBlockchainEventSubscriptionR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *DeleteBlockchainEventSubscriptionR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *DeleteBlockchainEventSubscriptionR) GetData() DeleteBlockchainEventSubs // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionR) GetDataOk() (*DeleteBlockchainEventSubscriptionRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_delete_blockchain_event_subscription_r_data.go b/model_delete_blockchain_event_subscription_r_data.go index 9c0989a..1615096 100644 --- a/model_delete_blockchain_event_subscription_r_data.go +++ b/model_delete_blockchain_event_subscription_r_data.go @@ -51,7 +51,7 @@ func (o *DeleteBlockchainEventSubscriptionRData) GetItem() DeleteBlockchainEvent // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionRData) GetItemOk() (*DeleteBlockchainEventSubscriptionRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_delete_blockchain_event_subscription_ri.go b/model_delete_blockchain_event_subscription_ri.go index 03f2437..0558963 100644 --- a/model_delete_blockchain_event_subscription_ri.go +++ b/model_delete_blockchain_event_subscription_ri.go @@ -19,7 +19,7 @@ import ( type DeleteBlockchainEventSubscriptionRI struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` @@ -64,7 +64,7 @@ func (o *DeleteBlockchainEventSubscriptionRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -88,7 +88,7 @@ func (o *DeleteBlockchainEventSubscriptionRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -112,7 +112,7 @@ func (o *DeleteBlockchainEventSubscriptionRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -136,7 +136,7 @@ func (o *DeleteBlockchainEventSubscriptionRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -160,7 +160,7 @@ func (o *DeleteBlockchainEventSubscriptionRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *DeleteBlockchainEventSubscriptionRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true diff --git a/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e400.go b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e400.go new file mode 100644 index 0000000..2b2bd87 --- /dev/null +++ b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e400.go @@ -0,0 +1,239 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 - struct for DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 +type DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 struct { + InvalidBlockchain *InvalidBlockchain + InvalidNetwork *InvalidNetwork + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidBlockchainAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 is a convenience function that returns InvalidBlockchain wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 +func InvalidBlockchainAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400(v *InvalidBlockchain) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400{ + InvalidBlockchain: v, + } +} + +// InvalidNetworkAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 is a convenience function that returns InvalidNetwork wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 +func InvalidNetworkAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400(v *InvalidNetwork) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400{ + InvalidNetwork: v, + } +} + +// InvalidPaginationAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 is a convenience function that returns InvalidPagination wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 +func InvalidPaginationAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400(v *InvalidPagination) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 +func LimitGreaterThanAllowedAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400(v *LimitGreaterThanAllowed) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 is a convenience function that returns UriNotFound wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 +func UriNotFoundAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400(v *UriNotFound) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidBlockchain + err = newStrictDecoder(data).Decode(&dst.InvalidBlockchain) + if err == nil { + jsonInvalidBlockchain, _ := json.Marshal(dst.InvalidBlockchain) + if string(jsonInvalidBlockchain) == "{}" { // empty struct + dst.InvalidBlockchain = nil + } else { + match++ + } + } else { + dst.InvalidBlockchain = nil + } + + // try to unmarshal data into InvalidNetwork + err = newStrictDecoder(data).Decode(&dst.InvalidNetwork) + if err == nil { + jsonInvalidNetwork, _ := json.Marshal(dst.InvalidNetwork) + if string(jsonInvalidNetwork) == "{}" { // empty struct + dst.InvalidNetwork = nil + } else { + match++ + } + } else { + dst.InvalidNetwork = nil + } + + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidBlockchain = nil + dst.InvalidNetwork = nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) MarshalJSON() ([]byte, error) { + if src.InvalidBlockchain != nil { + return json.Marshal(&src.InvalidBlockchain) + } + + if src.InvalidNetwork != nil { + return json.Marshal(&src.InvalidNetwork) + } + + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidBlockchain != nil { + return obj.InvalidBlockchain + } + + if obj.InvalidNetwork != nil { + return obj.InvalidNetwork + } + + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 struct { + value *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 + isSet bool +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) Get() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 { + return v.value +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) Set(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) { + v.value = val + v.isSet = true +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) IsSet() bool { + return v.isSet +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 { + return &NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400{value: val, isSet: true} +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e401.go b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e401.go new file mode 100644 index 0000000..5a6b286 --- /dev/null +++ b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 - struct for DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 +type DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 is a convenience function that returns InvalidApiKey wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 +func InvalidApiKeyAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401(v *InvalidApiKey) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 is a convenience function that returns MissingApiKey wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 +func MissingApiKeyAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401(v *MissingApiKey) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 struct { + value *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 + isSet bool +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) Get() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 { + return v.value +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) Set(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) { + v.value = val + v.isSet = true +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) IsSet() bool { + return v.isSet +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 { + return &NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401{value: val, isSet: true} +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e403.go b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e403.go new file mode 100644 index 0000000..3fc0b88 --- /dev/null +++ b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 - struct for DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 +type DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 is a convenience function that returns BannedIpAddress wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 +func BannedIpAddressAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403(v *BannedIpAddress) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 +func EndpointNotAllowedForApiKeyAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403(v *EndpointNotAllowedForApiKey) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 +func EndpointNotAllowedForPlanAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403(v *EndpointNotAllowedForPlan) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 +func FeatureMainnetsNotAllowedForPlanAsDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403(v *FeatureMainnetsNotAllowedForPlan) DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 { + return DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 struct { + value *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 + isSet bool +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) Get() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 { + return v.value +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) Set(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) { + v.value = val + v.isSet = true +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) IsSet() bool { + return v.isSet +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 { + return &NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403{value: val, isSet: true} +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_r.go b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_r.go new file mode 100644 index 0000000..b51ac4b --- /dev/null +++ b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR struct for DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR +type DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData `json:"data"` +} + +// NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR(apiVersion string, requestId string, data DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR { + this := DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRWithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRWithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR { + this := DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetData() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData { + if o == nil { + var ret DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) GetDataOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) SetData(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) { + o.Data = v +} + +func (o DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR struct { + value *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR + isSet bool +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) Get() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR { + return v.value +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) Set(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) { + v.value = val + v.isSet = true +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) IsSet() bool { + return v.isSet +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR { + return &NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR{value: val, isSet: true} +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_r_data.go b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_r_data.go new file mode 100644 index 0000000..d311e3e --- /dev/null +++ b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData struct for DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData +type DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData struct { + Item DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI `json:"item"` +} + +// NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData(item DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData { + this := DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData{} + this.Item = item + return &this +} + +// NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRDataWithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRDataWithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData { + this := DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData{} + return &this +} + +// GetItem returns the Item field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) GetItem() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI { + if o == nil { + var ret DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) GetItemOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) SetItem(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) { + o.Item = v +} + +func (o DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData struct { + value *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData + isSet bool +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) Get() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData { + return v.value +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) Set(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) { + v.value = val + v.isSet = true +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) IsSet() bool { + return v.isSet +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData { + return &NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData{value: val, isSet: true} +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_ri.go b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_ri.go new file mode 100644 index 0000000..f70a14e --- /dev/null +++ b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_ri.go @@ -0,0 +1,110 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI struct for DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI +type DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI struct { + // Represents the address details. + Addresses []DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses `json:"addresses"` +} + +// NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI(addresses []DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI { + this := DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI{} + this.Addresses = addresses + return &this +} + +// NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIWithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIWithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI { + this := DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI{} + return &this +} + +// GetAddresses returns the Addresses field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) GetAddresses() []DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses { + if o == nil { + var ret []DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses + return ret + } + + return o.Addresses +} + +// GetAddressesOk returns a tuple with the Addresses field value +// and a boolean to check if the value has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) GetAddressesOk() ([]DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses, bool) { + if o == nil { + return nil, false + } + return o.Addresses, true +} + +// SetAddresses sets field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) SetAddresses(v []DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) { + o.Addresses = v +} + +func (o DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["addresses"] = o.Addresses + } + return json.Marshal(toSerialize) +} + +type NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI struct { + value *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI + isSet bool +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) Get() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI { + return v.value +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) Set(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) { + v.value = val + v.isSet = true +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) IsSet() bool { + return v.isSet +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI { + return &NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI{value: val, isSet: true} +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_ri_addresses.go b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_ri_addresses.go new file mode 100644 index 0000000..837c080 --- /dev/null +++ b/model_derive_hd_wallet_x_pub_y_pub_z_pub_change_or_receiving_addresses_ri_addresses.go @@ -0,0 +1,140 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses struct for DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses +type DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses struct { + // Represents the public address, which is a compressed and shortened form of a public key. + Address string `json:"address"` + // Represents the output index. It refers to the UTXO sequence in the transaction outputs (vout). + Index int32 `json:"index"` +} + +// NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses(address string, index int32) *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses { + this := DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses{} + this.Address = address + this.Index = index + return &this +} + +// NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddressesWithDefaults instantiates a new DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddressesWithDefaults() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses { + this := DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses{} + return &this +} + +// GetAddress returns the Address field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) SetAddress(v string) { + o.Address = v +} + +// GetIndex returns the Index field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) GetIndex() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Index +} + +// GetIndexOk returns a tuple with the Index field value +// and a boolean to check if the value has been set. +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) GetIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Index, true +} + +// SetIndex sets field value +func (o *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) SetIndex(v int32) { + o.Index = v +} + +func (o DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["address"] = o.Address + } + if true { + toSerialize["index"] = o.Index + } + return json.Marshal(toSerialize) +} + +type NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses struct { + value *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses + isSet bool +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) Get() *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses { + return v.value +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) Set(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) { + v.value = val + v.isSet = true +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) IsSet() bool { + return v.isSet +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses(val *DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses { + return &NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses{value: val, isSet: true} +} + +func (v NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesRIAddresses) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_encode_x_address_e400.go b/model_encode_x_address_e400.go new file mode 100644 index 0000000..052d122 --- /dev/null +++ b/model_encode_x_address_e400.go @@ -0,0 +1,239 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EncodeXAddressE400 - struct for EncodeXAddressE400 +type EncodeXAddressE400 struct { + InvalidBlockchain *InvalidBlockchain + InvalidNetwork *InvalidNetwork + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidBlockchainAsEncodeXAddressE400 is a convenience function that returns InvalidBlockchain wrapped in EncodeXAddressE400 +func InvalidBlockchainAsEncodeXAddressE400(v *InvalidBlockchain) EncodeXAddressE400 { + return EncodeXAddressE400{ + InvalidBlockchain: v, + } +} + +// InvalidNetworkAsEncodeXAddressE400 is a convenience function that returns InvalidNetwork wrapped in EncodeXAddressE400 +func InvalidNetworkAsEncodeXAddressE400(v *InvalidNetwork) EncodeXAddressE400 { + return EncodeXAddressE400{ + InvalidNetwork: v, + } +} + +// InvalidPaginationAsEncodeXAddressE400 is a convenience function that returns InvalidPagination wrapped in EncodeXAddressE400 +func InvalidPaginationAsEncodeXAddressE400(v *InvalidPagination) EncodeXAddressE400 { + return EncodeXAddressE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsEncodeXAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in EncodeXAddressE400 +func LimitGreaterThanAllowedAsEncodeXAddressE400(v *LimitGreaterThanAllowed) EncodeXAddressE400 { + return EncodeXAddressE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsEncodeXAddressE400 is a convenience function that returns UriNotFound wrapped in EncodeXAddressE400 +func UriNotFoundAsEncodeXAddressE400(v *UriNotFound) EncodeXAddressE400 { + return EncodeXAddressE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EncodeXAddressE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidBlockchain + err = newStrictDecoder(data).Decode(&dst.InvalidBlockchain) + if err == nil { + jsonInvalidBlockchain, _ := json.Marshal(dst.InvalidBlockchain) + if string(jsonInvalidBlockchain) == "{}" { // empty struct + dst.InvalidBlockchain = nil + } else { + match++ + } + } else { + dst.InvalidBlockchain = nil + } + + // try to unmarshal data into InvalidNetwork + err = newStrictDecoder(data).Decode(&dst.InvalidNetwork) + if err == nil { + jsonInvalidNetwork, _ := json.Marshal(dst.InvalidNetwork) + if string(jsonInvalidNetwork) == "{}" { // empty struct + dst.InvalidNetwork = nil + } else { + match++ + } + } else { + dst.InvalidNetwork = nil + } + + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidBlockchain = nil + dst.InvalidNetwork = nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EncodeXAddressE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EncodeXAddressE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EncodeXAddressE400) MarshalJSON() ([]byte, error) { + if src.InvalidBlockchain != nil { + return json.Marshal(&src.InvalidBlockchain) + } + + if src.InvalidNetwork != nil { + return json.Marshal(&src.InvalidNetwork) + } + + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EncodeXAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidBlockchain != nil { + return obj.InvalidBlockchain + } + + if obj.InvalidNetwork != nil { + return obj.InvalidNetwork + } + + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableEncodeXAddressE400 struct { + value *EncodeXAddressE400 + isSet bool +} + +func (v NullableEncodeXAddressE400) Get() *EncodeXAddressE400 { + return v.value +} + +func (v *NullableEncodeXAddressE400) Set(val *EncodeXAddressE400) { + v.value = val + v.isSet = true +} + +func (v NullableEncodeXAddressE400) IsSet() bool { + return v.isSet +} + +func (v *NullableEncodeXAddressE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEncodeXAddressE400(val *EncodeXAddressE400) *NullableEncodeXAddressE400 { + return &NullableEncodeXAddressE400{value: val, isSet: true} +} + +func (v NullableEncodeXAddressE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEncodeXAddressE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_encode_x_address_e401.go b/model_encode_x_address_e401.go new file mode 100644 index 0000000..a8061e7 --- /dev/null +++ b/model_encode_x_address_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EncodeXAddressE401 - struct for EncodeXAddressE401 +type EncodeXAddressE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsEncodeXAddressE401 is a convenience function that returns InvalidApiKey wrapped in EncodeXAddressE401 +func InvalidApiKeyAsEncodeXAddressE401(v *InvalidApiKey) EncodeXAddressE401 { + return EncodeXAddressE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsEncodeXAddressE401 is a convenience function that returns MissingApiKey wrapped in EncodeXAddressE401 +func MissingApiKeyAsEncodeXAddressE401(v *MissingApiKey) EncodeXAddressE401 { + return EncodeXAddressE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EncodeXAddressE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EncodeXAddressE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EncodeXAddressE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EncodeXAddressE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EncodeXAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableEncodeXAddressE401 struct { + value *EncodeXAddressE401 + isSet bool +} + +func (v NullableEncodeXAddressE401) Get() *EncodeXAddressE401 { + return v.value +} + +func (v *NullableEncodeXAddressE401) Set(val *EncodeXAddressE401) { + v.value = val + v.isSet = true +} + +func (v NullableEncodeXAddressE401) IsSet() bool { + return v.isSet +} + +func (v *NullableEncodeXAddressE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEncodeXAddressE401(val *EncodeXAddressE401) *NullableEncodeXAddressE401 { + return &NullableEncodeXAddressE401{value: val, isSet: true} +} + +func (v NullableEncodeXAddressE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEncodeXAddressE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_encode_x_address_e403.go b/model_encode_x_address_e403.go new file mode 100644 index 0000000..f1a90b1 --- /dev/null +++ b/model_encode_x_address_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EncodeXAddressE403 - struct for EncodeXAddressE403 +type EncodeXAddressE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsEncodeXAddressE403 is a convenience function that returns BannedIpAddress wrapped in EncodeXAddressE403 +func BannedIpAddressAsEncodeXAddressE403(v *BannedIpAddress) EncodeXAddressE403 { + return EncodeXAddressE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsEncodeXAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in EncodeXAddressE403 +func EndpointNotAllowedForApiKeyAsEncodeXAddressE403(v *EndpointNotAllowedForApiKey) EncodeXAddressE403 { + return EncodeXAddressE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsEncodeXAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in EncodeXAddressE403 +func EndpointNotAllowedForPlanAsEncodeXAddressE403(v *EndpointNotAllowedForPlan) EncodeXAddressE403 { + return EncodeXAddressE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsEncodeXAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in EncodeXAddressE403 +func FeatureMainnetsNotAllowedForPlanAsEncodeXAddressE403(v *FeatureMainnetsNotAllowedForPlan) EncodeXAddressE403 { + return EncodeXAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EncodeXAddressE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EncodeXAddressE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EncodeXAddressE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EncodeXAddressE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EncodeXAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableEncodeXAddressE403 struct { + value *EncodeXAddressE403 + isSet bool +} + +func (v NullableEncodeXAddressE403) Get() *EncodeXAddressE403 { + return v.value +} + +func (v *NullableEncodeXAddressE403) Set(val *EncodeXAddressE403) { + v.value = val + v.isSet = true +} + +func (v NullableEncodeXAddressE403) IsSet() bool { + return v.isSet +} + +func (v *NullableEncodeXAddressE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEncodeXAddressE403(val *EncodeXAddressE403) *NullableEncodeXAddressE403 { + return &NullableEncodeXAddressE403{value: val, isSet: true} +} + +func (v NullableEncodeXAddressE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEncodeXAddressE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_encode_x_address_r.go b/model_encode_x_address_r.go new file mode 100644 index 0000000..1414de7 --- /dev/null +++ b/model_encode_x_address_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EncodeXAddressR struct for EncodeXAddressR +type EncodeXAddressR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data EncodeXAddressRData `json:"data"` +} + +// NewEncodeXAddressR instantiates a new EncodeXAddressR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEncodeXAddressR(apiVersion string, requestId string, data EncodeXAddressRData) *EncodeXAddressR { + this := EncodeXAddressR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewEncodeXAddressRWithDefaults instantiates a new EncodeXAddressR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEncodeXAddressRWithDefaults() *EncodeXAddressR { + this := EncodeXAddressR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *EncodeXAddressR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *EncodeXAddressR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *EncodeXAddressR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *EncodeXAddressR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *EncodeXAddressR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *EncodeXAddressR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *EncodeXAddressR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EncodeXAddressR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *EncodeXAddressR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *EncodeXAddressR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *EncodeXAddressR) GetData() EncodeXAddressRData { + if o == nil { + var ret EncodeXAddressRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *EncodeXAddressR) GetDataOk() (*EncodeXAddressRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *EncodeXAddressR) SetData(v EncodeXAddressRData) { + o.Data = v +} + +func (o EncodeXAddressR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableEncodeXAddressR struct { + value *EncodeXAddressR + isSet bool +} + +func (v NullableEncodeXAddressR) Get() *EncodeXAddressR { + return v.value +} + +func (v *NullableEncodeXAddressR) Set(val *EncodeXAddressR) { + v.value = val + v.isSet = true +} + +func (v NullableEncodeXAddressR) IsSet() bool { + return v.isSet +} + +func (v *NullableEncodeXAddressR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEncodeXAddressR(val *EncodeXAddressR) *NullableEncodeXAddressR { + return &NullableEncodeXAddressR{value: val, isSet: true} +} + +func (v NullableEncodeXAddressR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEncodeXAddressR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_encode_x_address_r_data.go b/model_encode_x_address_r_data.go new file mode 100644 index 0000000..29eb002 --- /dev/null +++ b/model_encode_x_address_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EncodeXAddressRData struct for EncodeXAddressRData +type EncodeXAddressRData struct { + Item EncodeXAddressRI `json:"item"` +} + +// NewEncodeXAddressRData instantiates a new EncodeXAddressRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEncodeXAddressRData(item EncodeXAddressRI) *EncodeXAddressRData { + this := EncodeXAddressRData{} + this.Item = item + return &this +} + +// NewEncodeXAddressRDataWithDefaults instantiates a new EncodeXAddressRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEncodeXAddressRDataWithDefaults() *EncodeXAddressRData { + this := EncodeXAddressRData{} + return &this +} + +// GetItem returns the Item field value +func (o *EncodeXAddressRData) GetItem() EncodeXAddressRI { + if o == nil { + var ret EncodeXAddressRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *EncodeXAddressRData) GetItemOk() (*EncodeXAddressRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *EncodeXAddressRData) SetItem(v EncodeXAddressRI) { + o.Item = v +} + +func (o EncodeXAddressRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableEncodeXAddressRData struct { + value *EncodeXAddressRData + isSet bool +} + +func (v NullableEncodeXAddressRData) Get() *EncodeXAddressRData { + return v.value +} + +func (v *NullableEncodeXAddressRData) Set(val *EncodeXAddressRData) { + v.value = val + v.isSet = true +} + +func (v NullableEncodeXAddressRData) IsSet() bool { + return v.isSet +} + +func (v *NullableEncodeXAddressRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEncodeXAddressRData(val *EncodeXAddressRData) *NullableEncodeXAddressRData { + return &NullableEncodeXAddressRData{value: val, isSet: true} +} + +func (v NullableEncodeXAddressRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEncodeXAddressRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_encode_x_address_ri.go b/model_encode_x_address_ri.go new file mode 100644 index 0000000..0137cf2 --- /dev/null +++ b/model_encode_x_address_ri.go @@ -0,0 +1,110 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EncodeXAddressRI struct for EncodeXAddressRI +type EncodeXAddressRI struct { + // Represents the encoded classic address with its destination tag. + XAddress string `json:"xAddress"` +} + +// NewEncodeXAddressRI instantiates a new EncodeXAddressRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEncodeXAddressRI(xAddress string) *EncodeXAddressRI { + this := EncodeXAddressRI{} + this.XAddress = xAddress + return &this +} + +// NewEncodeXAddressRIWithDefaults instantiates a new EncodeXAddressRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEncodeXAddressRIWithDefaults() *EncodeXAddressRI { + this := EncodeXAddressRI{} + return &this +} + +// GetXAddress returns the XAddress field value +func (o *EncodeXAddressRI) GetXAddress() string { + if o == nil { + var ret string + return ret + } + + return o.XAddress +} + +// GetXAddressOk returns a tuple with the XAddress field value +// and a boolean to check if the value has been set. +func (o *EncodeXAddressRI) GetXAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.XAddress, true +} + +// SetXAddress sets field value +func (o *EncodeXAddressRI) SetXAddress(v string) { + o.XAddress = v +} + +func (o EncodeXAddressRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["xAddress"] = o.XAddress + } + return json.Marshal(toSerialize) +} + +type NullableEncodeXAddressRI struct { + value *EncodeXAddressRI + isSet bool +} + +func (v NullableEncodeXAddressRI) Get() *EncodeXAddressRI { + return v.value +} + +func (v *NullableEncodeXAddressRI) Set(val *EncodeXAddressRI) { + v.value = val + v.isSet = true +} + +func (v NullableEncodeXAddressRI) IsSet() bool { + return v.isSet +} + +func (v *NullableEncodeXAddressRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEncodeXAddressRI(val *EncodeXAddressRI) *NullableEncodeXAddressRI { + return &NullableEncodeXAddressRI{value: val, isSet: true} +} + +func (v NullableEncodeXAddressRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEncodeXAddressRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_endpoint_not_allowed_for_api_key.go b/model_endpoint_not_allowed_for_api_key.go index 2854de2..6f4dd88 100644 --- a/model_endpoint_not_allowed_for_api_key.go +++ b/model_endpoint_not_allowed_for_api_key.go @@ -21,7 +21,7 @@ type EndpointNotAllowedForApiKey struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewEndpointNotAllowedForApiKey instantiates a new EndpointNotAllowedForApiKey object @@ -56,7 +56,7 @@ func (o *EndpointNotAllowedForApiKey) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *EndpointNotAllowedForApiKey) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *EndpointNotAllowedForApiKey) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *EndpointNotAllowedForApiKey) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *EndpointNotAllowedForApiKey) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *EndpointNotAllowedForApiKey) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *EndpointNotAllowedForApiKey) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *EndpointNotAllowedForApiKey) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *EndpointNotAllowedForApiKey) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o EndpointNotAllowedForApiKey) MarshalJSON() ([]byte, error) { diff --git a/model_endpoint_not_allowed_for_plan.go b/model_endpoint_not_allowed_for_plan.go index 83201b1..c066cdf 100644 --- a/model_endpoint_not_allowed_for_plan.go +++ b/model_endpoint_not_allowed_for_plan.go @@ -21,7 +21,7 @@ type EndpointNotAllowedForPlan struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewEndpointNotAllowedForPlan instantiates a new EndpointNotAllowedForPlan object @@ -56,7 +56,7 @@ func (o *EndpointNotAllowedForPlan) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *EndpointNotAllowedForPlan) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *EndpointNotAllowedForPlan) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *EndpointNotAllowedForPlan) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *EndpointNotAllowedForPlan) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *EndpointNotAllowedForPlan) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *EndpointNotAllowedForPlan) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *EndpointNotAllowedForPlan) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *EndpointNotAllowedForPlan) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o EndpointNotAllowedForPlan) MarshalJSON() ([]byte, error) { diff --git a/model_estimate_gas_limit_e400.go b/model_estimate_gas_limit_e400.go new file mode 100644 index 0000000..712e6bd --- /dev/null +++ b/model_estimate_gas_limit_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateGasLimitE400 - struct for EstimateGasLimitE400 +type EstimateGasLimitE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsEstimateGasLimitE400 is a convenience function that returns InvalidPagination wrapped in EstimateGasLimitE400 +func InvalidPaginationAsEstimateGasLimitE400(v *InvalidPagination) EstimateGasLimitE400 { + return EstimateGasLimitE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsEstimateGasLimitE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in EstimateGasLimitE400 +func LimitGreaterThanAllowedAsEstimateGasLimitE400(v *LimitGreaterThanAllowed) EstimateGasLimitE400 { + return EstimateGasLimitE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsEstimateGasLimitE400 is a convenience function that returns UriNotFound wrapped in EstimateGasLimitE400 +func UriNotFoundAsEstimateGasLimitE400(v *UriNotFound) EstimateGasLimitE400 { + return EstimateGasLimitE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateGasLimitE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateGasLimitE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateGasLimitE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateGasLimitE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateGasLimitE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableEstimateGasLimitE400 struct { + value *EstimateGasLimitE400 + isSet bool +} + +func (v NullableEstimateGasLimitE400) Get() *EstimateGasLimitE400 { + return v.value +} + +func (v *NullableEstimateGasLimitE400) Set(val *EstimateGasLimitE400) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitE400) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitE400(val *EstimateGasLimitE400) *NullableEstimateGasLimitE400 { + return &NullableEstimateGasLimitE400{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_gas_limit_e401.go b/model_estimate_gas_limit_e401.go new file mode 100644 index 0000000..26d4b12 --- /dev/null +++ b/model_estimate_gas_limit_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateGasLimitE401 - struct for EstimateGasLimitE401 +type EstimateGasLimitE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsEstimateGasLimitE401 is a convenience function that returns InvalidApiKey wrapped in EstimateGasLimitE401 +func InvalidApiKeyAsEstimateGasLimitE401(v *InvalidApiKey) EstimateGasLimitE401 { + return EstimateGasLimitE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsEstimateGasLimitE401 is a convenience function that returns MissingApiKey wrapped in EstimateGasLimitE401 +func MissingApiKeyAsEstimateGasLimitE401(v *MissingApiKey) EstimateGasLimitE401 { + return EstimateGasLimitE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateGasLimitE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateGasLimitE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateGasLimitE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateGasLimitE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateGasLimitE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableEstimateGasLimitE401 struct { + value *EstimateGasLimitE401 + isSet bool +} + +func (v NullableEstimateGasLimitE401) Get() *EstimateGasLimitE401 { + return v.value +} + +func (v *NullableEstimateGasLimitE401) Set(val *EstimateGasLimitE401) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitE401) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitE401(val *EstimateGasLimitE401) *NullableEstimateGasLimitE401 { + return &NullableEstimateGasLimitE401{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_gas_limit_e403.go b/model_estimate_gas_limit_e403.go new file mode 100644 index 0000000..6b19a83 --- /dev/null +++ b/model_estimate_gas_limit_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateGasLimitE403 - struct for EstimateGasLimitE403 +type EstimateGasLimitE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsEstimateGasLimitE403 is a convenience function that returns BannedIpAddress wrapped in EstimateGasLimitE403 +func BannedIpAddressAsEstimateGasLimitE403(v *BannedIpAddress) EstimateGasLimitE403 { + return EstimateGasLimitE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsEstimateGasLimitE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in EstimateGasLimitE403 +func EndpointNotAllowedForApiKeyAsEstimateGasLimitE403(v *EndpointNotAllowedForApiKey) EstimateGasLimitE403 { + return EstimateGasLimitE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsEstimateGasLimitE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in EstimateGasLimitE403 +func EndpointNotAllowedForPlanAsEstimateGasLimitE403(v *EndpointNotAllowedForPlan) EstimateGasLimitE403 { + return EstimateGasLimitE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsEstimateGasLimitE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in EstimateGasLimitE403 +func FeatureMainnetsNotAllowedForPlanAsEstimateGasLimitE403(v *FeatureMainnetsNotAllowedForPlan) EstimateGasLimitE403 { + return EstimateGasLimitE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateGasLimitE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateGasLimitE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateGasLimitE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateGasLimitE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateGasLimitE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableEstimateGasLimitE403 struct { + value *EstimateGasLimitE403 + isSet bool +} + +func (v NullableEstimateGasLimitE403) Get() *EstimateGasLimitE403 { + return v.value +} + +func (v *NullableEstimateGasLimitE403) Set(val *EstimateGasLimitE403) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitE403) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitE403(val *EstimateGasLimitE403) *NullableEstimateGasLimitE403 { + return &NullableEstimateGasLimitE403{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_gas_limit_r.go b/model_estimate_gas_limit_r.go new file mode 100644 index 0000000..62c7d4a --- /dev/null +++ b/model_estimate_gas_limit_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateGasLimitR struct for EstimateGasLimitR +type EstimateGasLimitR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data EstimateGasLimitRData `json:"data"` +} + +// NewEstimateGasLimitR instantiates a new EstimateGasLimitR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateGasLimitR(apiVersion string, requestId string, data EstimateGasLimitRData) *EstimateGasLimitR { + this := EstimateGasLimitR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewEstimateGasLimitRWithDefaults instantiates a new EstimateGasLimitR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateGasLimitRWithDefaults() *EstimateGasLimitR { + this := EstimateGasLimitR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *EstimateGasLimitR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *EstimateGasLimitR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *EstimateGasLimitR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *EstimateGasLimitR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *EstimateGasLimitR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *EstimateGasLimitR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *EstimateGasLimitR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *EstimateGasLimitR) GetData() EstimateGasLimitRData { + if o == nil { + var ret EstimateGasLimitRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitR) GetDataOk() (*EstimateGasLimitRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *EstimateGasLimitR) SetData(v EstimateGasLimitRData) { + o.Data = v +} + +func (o EstimateGasLimitR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableEstimateGasLimitR struct { + value *EstimateGasLimitR + isSet bool +} + +func (v NullableEstimateGasLimitR) Get() *EstimateGasLimitR { + return v.value +} + +func (v *NullableEstimateGasLimitR) Set(val *EstimateGasLimitR) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitR) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitR(val *EstimateGasLimitR) *NullableEstimateGasLimitR { + return &NullableEstimateGasLimitR{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_gas_limit_r_data.go b/model_estimate_gas_limit_r_data.go new file mode 100644 index 0000000..9a60490 --- /dev/null +++ b/model_estimate_gas_limit_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateGasLimitRData struct for EstimateGasLimitRData +type EstimateGasLimitRData struct { + Item EstimateGasLimitRI `json:"item"` +} + +// NewEstimateGasLimitRData instantiates a new EstimateGasLimitRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateGasLimitRData(item EstimateGasLimitRI) *EstimateGasLimitRData { + this := EstimateGasLimitRData{} + this.Item = item + return &this +} + +// NewEstimateGasLimitRDataWithDefaults instantiates a new EstimateGasLimitRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateGasLimitRDataWithDefaults() *EstimateGasLimitRData { + this := EstimateGasLimitRData{} + return &this +} + +// GetItem returns the Item field value +func (o *EstimateGasLimitRData) GetItem() EstimateGasLimitRI { + if o == nil { + var ret EstimateGasLimitRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRData) GetItemOk() (*EstimateGasLimitRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *EstimateGasLimitRData) SetItem(v EstimateGasLimitRI) { + o.Item = v +} + +func (o EstimateGasLimitRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableEstimateGasLimitRData struct { + value *EstimateGasLimitRData + isSet bool +} + +func (v NullableEstimateGasLimitRData) Get() *EstimateGasLimitRData { + return v.value +} + +func (v *NullableEstimateGasLimitRData) Set(val *EstimateGasLimitRData) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitRData) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitRData(val *EstimateGasLimitRData) *NullableEstimateGasLimitRData { + return &NullableEstimateGasLimitRData{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_gas_limit_rb.go b/model_estimate_gas_limit_rb.go new file mode 100644 index 0000000..81d8c7a --- /dev/null +++ b/model_estimate_gas_limit_rb.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateGasLimitRB struct for EstimateGasLimitRB +type EstimateGasLimitRB struct { + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data EstimateGasLimitRBData `json:"data"` +} + +// NewEstimateGasLimitRB instantiates a new EstimateGasLimitRB object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateGasLimitRB(data EstimateGasLimitRBData) *EstimateGasLimitRB { + this := EstimateGasLimitRB{} + this.Data = data + return &this +} + +// NewEstimateGasLimitRBWithDefaults instantiates a new EstimateGasLimitRB object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateGasLimitRBWithDefaults() *EstimateGasLimitRB { + this := EstimateGasLimitRB{} + return &this +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *EstimateGasLimitRB) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRB) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *EstimateGasLimitRB) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *EstimateGasLimitRB) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *EstimateGasLimitRB) GetData() EstimateGasLimitRBData { + if o == nil { + var ret EstimateGasLimitRBData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRB) GetDataOk() (*EstimateGasLimitRBData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *EstimateGasLimitRB) SetData(v EstimateGasLimitRBData) { + o.Data = v +} + +func (o EstimateGasLimitRB) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableEstimateGasLimitRB struct { + value *EstimateGasLimitRB + isSet bool +} + +func (v NullableEstimateGasLimitRB) Get() *EstimateGasLimitRB { + return v.value +} + +func (v *NullableEstimateGasLimitRB) Set(val *EstimateGasLimitRB) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitRB) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitRB) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitRB(val *EstimateGasLimitRB) *NullableEstimateGasLimitRB { + return &NullableEstimateGasLimitRB{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitRB) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitRB) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_gas_limit_rb_data.go b/model_estimate_gas_limit_rb_data.go new file mode 100644 index 0000000..d887224 --- /dev/null +++ b/model_estimate_gas_limit_rb_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateGasLimitRBData struct for EstimateGasLimitRBData +type EstimateGasLimitRBData struct { + Item EstimateGasLimitRBDataItem `json:"item"` +} + +// NewEstimateGasLimitRBData instantiates a new EstimateGasLimitRBData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateGasLimitRBData(item EstimateGasLimitRBDataItem) *EstimateGasLimitRBData { + this := EstimateGasLimitRBData{} + this.Item = item + return &this +} + +// NewEstimateGasLimitRBDataWithDefaults instantiates a new EstimateGasLimitRBData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateGasLimitRBDataWithDefaults() *EstimateGasLimitRBData { + this := EstimateGasLimitRBData{} + return &this +} + +// GetItem returns the Item field value +func (o *EstimateGasLimitRBData) GetItem() EstimateGasLimitRBDataItem { + if o == nil { + var ret EstimateGasLimitRBDataItem + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRBData) GetItemOk() (*EstimateGasLimitRBDataItem, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *EstimateGasLimitRBData) SetItem(v EstimateGasLimitRBDataItem) { + o.Item = v +} + +func (o EstimateGasLimitRBData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableEstimateGasLimitRBData struct { + value *EstimateGasLimitRBData + isSet bool +} + +func (v NullableEstimateGasLimitRBData) Get() *EstimateGasLimitRBData { + return v.value +} + +func (v *NullableEstimateGasLimitRBData) Set(val *EstimateGasLimitRBData) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitRBData) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitRBData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitRBData(val *EstimateGasLimitRBData) *NullableEstimateGasLimitRBData { + return &NullableEstimateGasLimitRBData{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitRBData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitRBData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_gas_limit_rb_data_item.go b/model_estimate_gas_limit_rb_data_item.go new file mode 100644 index 0000000..9021714 --- /dev/null +++ b/model_estimate_gas_limit_rb_data_item.go @@ -0,0 +1,207 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateGasLimitRBDataItem struct for EstimateGasLimitRBDataItem +type EstimateGasLimitRBDataItem struct { + // Represents an optional field to add additonal data. + AdditionalData *string `json:"additionalData,omitempty"` + // Represents transactions' amount. + Amount string `json:"amount"` + // The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. + Recipient string `json:"recipient"` + // Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. + Sender string `json:"sender"` +} + +// NewEstimateGasLimitRBDataItem instantiates a new EstimateGasLimitRBDataItem object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateGasLimitRBDataItem(amount string, recipient string, sender string) *EstimateGasLimitRBDataItem { + this := EstimateGasLimitRBDataItem{} + this.Amount = amount + this.Recipient = recipient + this.Sender = sender + return &this +} + +// NewEstimateGasLimitRBDataItemWithDefaults instantiates a new EstimateGasLimitRBDataItem object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateGasLimitRBDataItemWithDefaults() *EstimateGasLimitRBDataItem { + this := EstimateGasLimitRBDataItem{} + return &this +} + +// GetAdditionalData returns the AdditionalData field value if set, zero value otherwise. +func (o *EstimateGasLimitRBDataItem) GetAdditionalData() string { + if o == nil || o.AdditionalData == nil { + var ret string + return ret + } + return *o.AdditionalData +} + +// GetAdditionalDataOk returns a tuple with the AdditionalData field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRBDataItem) GetAdditionalDataOk() (*string, bool) { + if o == nil || o.AdditionalData == nil { + return nil, false + } + return o.AdditionalData, true +} + +// HasAdditionalData returns a boolean if a field has been set. +func (o *EstimateGasLimitRBDataItem) HasAdditionalData() bool { + if o != nil && o.AdditionalData != nil { + return true + } + + return false +} + +// SetAdditionalData gets a reference to the given string and assigns it to the AdditionalData field. +func (o *EstimateGasLimitRBDataItem) SetAdditionalData(v string) { + o.AdditionalData = &v +} + +// GetAmount returns the Amount field value +func (o *EstimateGasLimitRBDataItem) GetAmount() string { + if o == nil { + var ret string + return ret + } + + return o.Amount +} + +// GetAmountOk returns a tuple with the Amount field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRBDataItem) GetAmountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Amount, true +} + +// SetAmount sets field value +func (o *EstimateGasLimitRBDataItem) SetAmount(v string) { + o.Amount = v +} + +// GetRecipient returns the Recipient field value +func (o *EstimateGasLimitRBDataItem) GetRecipient() string { + if o == nil { + var ret string + return ret + } + + return o.Recipient +} + +// GetRecipientOk returns a tuple with the Recipient field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRBDataItem) GetRecipientOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Recipient, true +} + +// SetRecipient sets field value +func (o *EstimateGasLimitRBDataItem) SetRecipient(v string) { + o.Recipient = v +} + +// GetSender returns the Sender field value +func (o *EstimateGasLimitRBDataItem) GetSender() string { + if o == nil { + var ret string + return ret + } + + return o.Sender +} + +// GetSenderOk returns a tuple with the Sender field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRBDataItem) GetSenderOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sender, true +} + +// SetSender sets field value +func (o *EstimateGasLimitRBDataItem) SetSender(v string) { + o.Sender = v +} + +func (o EstimateGasLimitRBDataItem) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.AdditionalData != nil { + toSerialize["additionalData"] = o.AdditionalData + } + if true { + toSerialize["amount"] = o.Amount + } + if true { + toSerialize["recipient"] = o.Recipient + } + if true { + toSerialize["sender"] = o.Sender + } + return json.Marshal(toSerialize) +} + +type NullableEstimateGasLimitRBDataItem struct { + value *EstimateGasLimitRBDataItem + isSet bool +} + +func (v NullableEstimateGasLimitRBDataItem) Get() *EstimateGasLimitRBDataItem { + return v.value +} + +func (v *NullableEstimateGasLimitRBDataItem) Set(val *EstimateGasLimitRBDataItem) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitRBDataItem) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitRBDataItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitRBDataItem(val *EstimateGasLimitRBDataItem) *NullableEstimateGasLimitRBDataItem { + return &NullableEstimateGasLimitRBDataItem{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitRBDataItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitRBDataItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_gas_limit_ri.go b/model_estimate_gas_limit_ri.go new file mode 100644 index 0000000..f04c848 --- /dev/null +++ b/model_estimate_gas_limit_ri.go @@ -0,0 +1,110 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateGasLimitRI struct for EstimateGasLimitRI +type EstimateGasLimitRI struct { + // Represents the amount of gas used by this specific transaction alone. + GasLimit string `json:"gasLimit"` +} + +// NewEstimateGasLimitRI instantiates a new EstimateGasLimitRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateGasLimitRI(gasLimit string) *EstimateGasLimitRI { + this := EstimateGasLimitRI{} + this.GasLimit = gasLimit + return &this +} + +// NewEstimateGasLimitRIWithDefaults instantiates a new EstimateGasLimitRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateGasLimitRIWithDefaults() *EstimateGasLimitRI { + this := EstimateGasLimitRI{} + return &this +} + +// GetGasLimit returns the GasLimit field value +func (o *EstimateGasLimitRI) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *EstimateGasLimitRI) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *EstimateGasLimitRI) SetGasLimit(v string) { + o.GasLimit = v +} + +func (o EstimateGasLimitRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["gasLimit"] = o.GasLimit + } + return json.Marshal(toSerialize) +} + +type NullableEstimateGasLimitRI struct { + value *EstimateGasLimitRI + isSet bool +} + +func (v NullableEstimateGasLimitRI) Get() *EstimateGasLimitRI { + return v.value +} + +func (v *NullableEstimateGasLimitRI) Set(val *EstimateGasLimitRI) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateGasLimitRI) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateGasLimitRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateGasLimitRI(val *EstimateGasLimitRI) *NullableEstimateGasLimitRI { + return &NullableEstimateGasLimitRI{value: val, isSet: true} +} + +func (v NullableEstimateGasLimitRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateGasLimitRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_e400.go b/model_estimate_token_gas_limit_e400.go new file mode 100644 index 0000000..0395ec8 --- /dev/null +++ b/model_estimate_token_gas_limit_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateTokenGasLimitE400 - struct for EstimateTokenGasLimitE400 +type EstimateTokenGasLimitE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsEstimateTokenGasLimitE400 is a convenience function that returns InvalidPagination wrapped in EstimateTokenGasLimitE400 +func InvalidPaginationAsEstimateTokenGasLimitE400(v *InvalidPagination) EstimateTokenGasLimitE400 { + return EstimateTokenGasLimitE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsEstimateTokenGasLimitE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in EstimateTokenGasLimitE400 +func LimitGreaterThanAllowedAsEstimateTokenGasLimitE400(v *LimitGreaterThanAllowed) EstimateTokenGasLimitE400 { + return EstimateTokenGasLimitE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsEstimateTokenGasLimitE400 is a convenience function that returns UriNotFound wrapped in EstimateTokenGasLimitE400 +func UriNotFoundAsEstimateTokenGasLimitE400(v *UriNotFound) EstimateTokenGasLimitE400 { + return EstimateTokenGasLimitE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateTokenGasLimitE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateTokenGasLimitE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateTokenGasLimitE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateTokenGasLimitE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateTokenGasLimitE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableEstimateTokenGasLimitE400 struct { + value *EstimateTokenGasLimitE400 + isSet bool +} + +func (v NullableEstimateTokenGasLimitE400) Get() *EstimateTokenGasLimitE400 { + return v.value +} + +func (v *NullableEstimateTokenGasLimitE400) Set(val *EstimateTokenGasLimitE400) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitE400) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitE400(val *EstimateTokenGasLimitE400) *NullableEstimateTokenGasLimitE400 { + return &NullableEstimateTokenGasLimitE400{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_e401.go b/model_estimate_token_gas_limit_e401.go new file mode 100644 index 0000000..f387984 --- /dev/null +++ b/model_estimate_token_gas_limit_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateTokenGasLimitE401 - struct for EstimateTokenGasLimitE401 +type EstimateTokenGasLimitE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsEstimateTokenGasLimitE401 is a convenience function that returns InvalidApiKey wrapped in EstimateTokenGasLimitE401 +func InvalidApiKeyAsEstimateTokenGasLimitE401(v *InvalidApiKey) EstimateTokenGasLimitE401 { + return EstimateTokenGasLimitE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsEstimateTokenGasLimitE401 is a convenience function that returns MissingApiKey wrapped in EstimateTokenGasLimitE401 +func MissingApiKeyAsEstimateTokenGasLimitE401(v *MissingApiKey) EstimateTokenGasLimitE401 { + return EstimateTokenGasLimitE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateTokenGasLimitE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateTokenGasLimitE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateTokenGasLimitE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateTokenGasLimitE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateTokenGasLimitE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableEstimateTokenGasLimitE401 struct { + value *EstimateTokenGasLimitE401 + isSet bool +} + +func (v NullableEstimateTokenGasLimitE401) Get() *EstimateTokenGasLimitE401 { + return v.value +} + +func (v *NullableEstimateTokenGasLimitE401) Set(val *EstimateTokenGasLimitE401) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitE401) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitE401(val *EstimateTokenGasLimitE401) *NullableEstimateTokenGasLimitE401 { + return &NullableEstimateTokenGasLimitE401{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_e403.go b/model_estimate_token_gas_limit_e403.go new file mode 100644 index 0000000..1270083 --- /dev/null +++ b/model_estimate_token_gas_limit_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateTokenGasLimitE403 - struct for EstimateTokenGasLimitE403 +type EstimateTokenGasLimitE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsEstimateTokenGasLimitE403 is a convenience function that returns BannedIpAddress wrapped in EstimateTokenGasLimitE403 +func BannedIpAddressAsEstimateTokenGasLimitE403(v *BannedIpAddress) EstimateTokenGasLimitE403 { + return EstimateTokenGasLimitE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsEstimateTokenGasLimitE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in EstimateTokenGasLimitE403 +func EndpointNotAllowedForApiKeyAsEstimateTokenGasLimitE403(v *EndpointNotAllowedForApiKey) EstimateTokenGasLimitE403 { + return EstimateTokenGasLimitE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsEstimateTokenGasLimitE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in EstimateTokenGasLimitE403 +func EndpointNotAllowedForPlanAsEstimateTokenGasLimitE403(v *EndpointNotAllowedForPlan) EstimateTokenGasLimitE403 { + return EstimateTokenGasLimitE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsEstimateTokenGasLimitE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in EstimateTokenGasLimitE403 +func FeatureMainnetsNotAllowedForPlanAsEstimateTokenGasLimitE403(v *FeatureMainnetsNotAllowedForPlan) EstimateTokenGasLimitE403 { + return EstimateTokenGasLimitE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateTokenGasLimitE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateTokenGasLimitE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateTokenGasLimitE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateTokenGasLimitE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateTokenGasLimitE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableEstimateTokenGasLimitE403 struct { + value *EstimateTokenGasLimitE403 + isSet bool +} + +func (v NullableEstimateTokenGasLimitE403) Get() *EstimateTokenGasLimitE403 { + return v.value +} + +func (v *NullableEstimateTokenGasLimitE403) Set(val *EstimateTokenGasLimitE403) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitE403) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitE403(val *EstimateTokenGasLimitE403) *NullableEstimateTokenGasLimitE403 { + return &NullableEstimateTokenGasLimitE403{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_r.go b/model_estimate_token_gas_limit_r.go new file mode 100644 index 0000000..a4e7acf --- /dev/null +++ b/model_estimate_token_gas_limit_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTokenGasLimitR struct for EstimateTokenGasLimitR +type EstimateTokenGasLimitR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data EstimateTokenGasLimitRData `json:"data"` +} + +// NewEstimateTokenGasLimitR instantiates a new EstimateTokenGasLimitR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTokenGasLimitR(apiVersion string, requestId string, data EstimateTokenGasLimitRData) *EstimateTokenGasLimitR { + this := EstimateTokenGasLimitR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewEstimateTokenGasLimitRWithDefaults instantiates a new EstimateTokenGasLimitR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTokenGasLimitRWithDefaults() *EstimateTokenGasLimitR { + this := EstimateTokenGasLimitR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *EstimateTokenGasLimitR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *EstimateTokenGasLimitR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *EstimateTokenGasLimitR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *EstimateTokenGasLimitR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *EstimateTokenGasLimitR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *EstimateTokenGasLimitR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *EstimateTokenGasLimitR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *EstimateTokenGasLimitR) GetData() EstimateTokenGasLimitRData { + if o == nil { + var ret EstimateTokenGasLimitRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitR) GetDataOk() (*EstimateTokenGasLimitRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *EstimateTokenGasLimitR) SetData(v EstimateTokenGasLimitRData) { + o.Data = v +} + +func (o EstimateTokenGasLimitR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTokenGasLimitR struct { + value *EstimateTokenGasLimitR + isSet bool +} + +func (v NullableEstimateTokenGasLimitR) Get() *EstimateTokenGasLimitR { + return v.value +} + +func (v *NullableEstimateTokenGasLimitR) Set(val *EstimateTokenGasLimitR) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitR) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitR(val *EstimateTokenGasLimitR) *NullableEstimateTokenGasLimitR { + return &NullableEstimateTokenGasLimitR{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_r_data.go b/model_estimate_token_gas_limit_r_data.go new file mode 100644 index 0000000..97b4c70 --- /dev/null +++ b/model_estimate_token_gas_limit_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTokenGasLimitRData struct for EstimateTokenGasLimitRData +type EstimateTokenGasLimitRData struct { + Item EstimateTokenGasLimitRI `json:"item"` +} + +// NewEstimateTokenGasLimitRData instantiates a new EstimateTokenGasLimitRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTokenGasLimitRData(item EstimateTokenGasLimitRI) *EstimateTokenGasLimitRData { + this := EstimateTokenGasLimitRData{} + this.Item = item + return &this +} + +// NewEstimateTokenGasLimitRDataWithDefaults instantiates a new EstimateTokenGasLimitRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTokenGasLimitRDataWithDefaults() *EstimateTokenGasLimitRData { + this := EstimateTokenGasLimitRData{} + return &this +} + +// GetItem returns the Item field value +func (o *EstimateTokenGasLimitRData) GetItem() EstimateTokenGasLimitRI { + if o == nil { + var ret EstimateTokenGasLimitRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRData) GetItemOk() (*EstimateTokenGasLimitRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *EstimateTokenGasLimitRData) SetItem(v EstimateTokenGasLimitRI) { + o.Item = v +} + +func (o EstimateTokenGasLimitRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTokenGasLimitRData struct { + value *EstimateTokenGasLimitRData + isSet bool +} + +func (v NullableEstimateTokenGasLimitRData) Get() *EstimateTokenGasLimitRData { + return v.value +} + +func (v *NullableEstimateTokenGasLimitRData) Set(val *EstimateTokenGasLimitRData) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitRData) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitRData(val *EstimateTokenGasLimitRData) *NullableEstimateTokenGasLimitRData { + return &NullableEstimateTokenGasLimitRData{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_rb.go b/model_estimate_token_gas_limit_rb.go new file mode 100644 index 0000000..bc9364b --- /dev/null +++ b/model_estimate_token_gas_limit_rb.go @@ -0,0 +1,146 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTokenGasLimitRB struct for EstimateTokenGasLimitRB +type EstimateTokenGasLimitRB struct { + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data EstimateTokenGasLimitRBData `json:"data"` +} + +// NewEstimateTokenGasLimitRB instantiates a new EstimateTokenGasLimitRB object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTokenGasLimitRB(data EstimateTokenGasLimitRBData) *EstimateTokenGasLimitRB { + this := EstimateTokenGasLimitRB{} + this.Data = data + return &this +} + +// NewEstimateTokenGasLimitRBWithDefaults instantiates a new EstimateTokenGasLimitRB object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTokenGasLimitRBWithDefaults() *EstimateTokenGasLimitRB { + this := EstimateTokenGasLimitRB{} + return &this +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *EstimateTokenGasLimitRB) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRB) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *EstimateTokenGasLimitRB) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *EstimateTokenGasLimitRB) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *EstimateTokenGasLimitRB) GetData() EstimateTokenGasLimitRBData { + if o == nil { + var ret EstimateTokenGasLimitRBData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRB) GetDataOk() (*EstimateTokenGasLimitRBData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *EstimateTokenGasLimitRB) SetData(v EstimateTokenGasLimitRBData) { + o.Data = v +} + +func (o EstimateTokenGasLimitRB) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTokenGasLimitRB struct { + value *EstimateTokenGasLimitRB + isSet bool +} + +func (v NullableEstimateTokenGasLimitRB) Get() *EstimateTokenGasLimitRB { + return v.value +} + +func (v *NullableEstimateTokenGasLimitRB) Set(val *EstimateTokenGasLimitRB) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitRB) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitRB) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitRB(val *EstimateTokenGasLimitRB) *NullableEstimateTokenGasLimitRB { + return &NullableEstimateTokenGasLimitRB{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitRB) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitRB) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_rb_data.go b/model_estimate_token_gas_limit_rb_data.go new file mode 100644 index 0000000..4f51241 --- /dev/null +++ b/model_estimate_token_gas_limit_rb_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTokenGasLimitRBData struct for EstimateTokenGasLimitRBData +type EstimateTokenGasLimitRBData struct { + Item EstimateTokenGasLimitRBDataItem `json:"item"` +} + +// NewEstimateTokenGasLimitRBData instantiates a new EstimateTokenGasLimitRBData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTokenGasLimitRBData(item EstimateTokenGasLimitRBDataItem) *EstimateTokenGasLimitRBData { + this := EstimateTokenGasLimitRBData{} + this.Item = item + return &this +} + +// NewEstimateTokenGasLimitRBDataWithDefaults instantiates a new EstimateTokenGasLimitRBData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTokenGasLimitRBDataWithDefaults() *EstimateTokenGasLimitRBData { + this := EstimateTokenGasLimitRBData{} + return &this +} + +// GetItem returns the Item field value +func (o *EstimateTokenGasLimitRBData) GetItem() EstimateTokenGasLimitRBDataItem { + if o == nil { + var ret EstimateTokenGasLimitRBDataItem + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRBData) GetItemOk() (*EstimateTokenGasLimitRBDataItem, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *EstimateTokenGasLimitRBData) SetItem(v EstimateTokenGasLimitRBDataItem) { + o.Item = v +} + +func (o EstimateTokenGasLimitRBData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTokenGasLimitRBData struct { + value *EstimateTokenGasLimitRBData + isSet bool +} + +func (v NullableEstimateTokenGasLimitRBData) Get() *EstimateTokenGasLimitRBData { + return v.value +} + +func (v *NullableEstimateTokenGasLimitRBData) Set(val *EstimateTokenGasLimitRBData) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitRBData) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitRBData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitRBData(val *EstimateTokenGasLimitRBData) *NullableEstimateTokenGasLimitRBData { + return &NullableEstimateTokenGasLimitRBData{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitRBData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitRBData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_rb_data_item.go b/model_estimate_token_gas_limit_rb_data_item.go new file mode 100644 index 0000000..dc772ed --- /dev/null +++ b/model_estimate_token_gas_limit_rb_data_item.go @@ -0,0 +1,230 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTokenGasLimitRBDataItem struct for EstimateTokenGasLimitRBDataItem +type EstimateTokenGasLimitRBDataItem struct { + // Represents transactions' amount. + Amount string `json:"amount"` + // Defines the specific token identifier. For Ethereum-based transactions it is the contract. + Contract string `json:"contract"` + // Represents the ERC contract type. It can be ERC20 or ERC721 + ContractType string `json:"contractType"` + // The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. + Recipient string `json:"recipient"` + // Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender. + Sender string `json:"sender"` +} + +// NewEstimateTokenGasLimitRBDataItem instantiates a new EstimateTokenGasLimitRBDataItem object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTokenGasLimitRBDataItem(amount string, contract string, contractType string, recipient string, sender string) *EstimateTokenGasLimitRBDataItem { + this := EstimateTokenGasLimitRBDataItem{} + this.Amount = amount + this.Contract = contract + this.ContractType = contractType + this.Recipient = recipient + this.Sender = sender + return &this +} + +// NewEstimateTokenGasLimitRBDataItemWithDefaults instantiates a new EstimateTokenGasLimitRBDataItem object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTokenGasLimitRBDataItemWithDefaults() *EstimateTokenGasLimitRBDataItem { + this := EstimateTokenGasLimitRBDataItem{} + return &this +} + +// GetAmount returns the Amount field value +func (o *EstimateTokenGasLimitRBDataItem) GetAmount() string { + if o == nil { + var ret string + return ret + } + + return o.Amount +} + +// GetAmountOk returns a tuple with the Amount field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRBDataItem) GetAmountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Amount, true +} + +// SetAmount sets field value +func (o *EstimateTokenGasLimitRBDataItem) SetAmount(v string) { + o.Amount = v +} + +// GetContract returns the Contract field value +func (o *EstimateTokenGasLimitRBDataItem) GetContract() string { + if o == nil { + var ret string + return ret + } + + return o.Contract +} + +// GetContractOk returns a tuple with the Contract field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRBDataItem) GetContractOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Contract, true +} + +// SetContract sets field value +func (o *EstimateTokenGasLimitRBDataItem) SetContract(v string) { + o.Contract = v +} + +// GetContractType returns the ContractType field value +func (o *EstimateTokenGasLimitRBDataItem) GetContractType() string { + if o == nil { + var ret string + return ret + } + + return o.ContractType +} + +// GetContractTypeOk returns a tuple with the ContractType field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRBDataItem) GetContractTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractType, true +} + +// SetContractType sets field value +func (o *EstimateTokenGasLimitRBDataItem) SetContractType(v string) { + o.ContractType = v +} + +// GetRecipient returns the Recipient field value +func (o *EstimateTokenGasLimitRBDataItem) GetRecipient() string { + if o == nil { + var ret string + return ret + } + + return o.Recipient +} + +// GetRecipientOk returns a tuple with the Recipient field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRBDataItem) GetRecipientOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Recipient, true +} + +// SetRecipient sets field value +func (o *EstimateTokenGasLimitRBDataItem) SetRecipient(v string) { + o.Recipient = v +} + +// GetSender returns the Sender field value +func (o *EstimateTokenGasLimitRBDataItem) GetSender() string { + if o == nil { + var ret string + return ret + } + + return o.Sender +} + +// GetSenderOk returns a tuple with the Sender field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRBDataItem) GetSenderOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sender, true +} + +// SetSender sets field value +func (o *EstimateTokenGasLimitRBDataItem) SetSender(v string) { + o.Sender = v +} + +func (o EstimateTokenGasLimitRBDataItem) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["amount"] = o.Amount + } + if true { + toSerialize["contract"] = o.Contract + } + if true { + toSerialize["contractType"] = o.ContractType + } + if true { + toSerialize["recipient"] = o.Recipient + } + if true { + toSerialize["sender"] = o.Sender + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTokenGasLimitRBDataItem struct { + value *EstimateTokenGasLimitRBDataItem + isSet bool +} + +func (v NullableEstimateTokenGasLimitRBDataItem) Get() *EstimateTokenGasLimitRBDataItem { + return v.value +} + +func (v *NullableEstimateTokenGasLimitRBDataItem) Set(val *EstimateTokenGasLimitRBDataItem) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitRBDataItem) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitRBDataItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitRBDataItem(val *EstimateTokenGasLimitRBDataItem) *NullableEstimateTokenGasLimitRBDataItem { + return &NullableEstimateTokenGasLimitRBDataItem{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitRBDataItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitRBDataItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_token_gas_limit_ri.go b/model_estimate_token_gas_limit_ri.go new file mode 100644 index 0000000..85a0ede --- /dev/null +++ b/model_estimate_token_gas_limit_ri.go @@ -0,0 +1,110 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTokenGasLimitRI struct for EstimateTokenGasLimitRI +type EstimateTokenGasLimitRI struct { + // Represents the amount of gas used by this specific transaction alone. + GasLimit string `json:"gasLimit"` +} + +// NewEstimateTokenGasLimitRI instantiates a new EstimateTokenGasLimitRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTokenGasLimitRI(gasLimit string) *EstimateTokenGasLimitRI { + this := EstimateTokenGasLimitRI{} + this.GasLimit = gasLimit + return &this +} + +// NewEstimateTokenGasLimitRIWithDefaults instantiates a new EstimateTokenGasLimitRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTokenGasLimitRIWithDefaults() *EstimateTokenGasLimitRI { + this := EstimateTokenGasLimitRI{} + return &this +} + +// GetGasLimit returns the GasLimit field value +func (o *EstimateTokenGasLimitRI) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *EstimateTokenGasLimitRI) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *EstimateTokenGasLimitRI) SetGasLimit(v string) { + o.GasLimit = v +} + +func (o EstimateTokenGasLimitRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["gasLimit"] = o.GasLimit + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTokenGasLimitRI struct { + value *EstimateTokenGasLimitRI + isSet bool +} + +func (v NullableEstimateTokenGasLimitRI) Get() *EstimateTokenGasLimitRI { + return v.value +} + +func (v *NullableEstimateTokenGasLimitRI) Set(val *EstimateTokenGasLimitRI) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTokenGasLimitRI) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTokenGasLimitRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTokenGasLimitRI(val *EstimateTokenGasLimitRI) *NullableEstimateTokenGasLimitRI { + return &NullableEstimateTokenGasLimitRI{value: val, isSet: true} +} + +func (v NullableEstimateTokenGasLimitRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTokenGasLimitRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_transaction_smart_fee_e400.go b/model_estimate_transaction_smart_fee_e400.go new file mode 100644 index 0000000..d072288 --- /dev/null +++ b/model_estimate_transaction_smart_fee_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateTransactionSmartFeeE400 - struct for EstimateTransactionSmartFeeE400 +type EstimateTransactionSmartFeeE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsEstimateTransactionSmartFeeE400 is a convenience function that returns InvalidPagination wrapped in EstimateTransactionSmartFeeE400 +func InvalidPaginationAsEstimateTransactionSmartFeeE400(v *InvalidPagination) EstimateTransactionSmartFeeE400 { + return EstimateTransactionSmartFeeE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsEstimateTransactionSmartFeeE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in EstimateTransactionSmartFeeE400 +func LimitGreaterThanAllowedAsEstimateTransactionSmartFeeE400(v *LimitGreaterThanAllowed) EstimateTransactionSmartFeeE400 { + return EstimateTransactionSmartFeeE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsEstimateTransactionSmartFeeE400 is a convenience function that returns UriNotFound wrapped in EstimateTransactionSmartFeeE400 +func UriNotFoundAsEstimateTransactionSmartFeeE400(v *UriNotFound) EstimateTransactionSmartFeeE400 { + return EstimateTransactionSmartFeeE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateTransactionSmartFeeE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateTransactionSmartFeeE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateTransactionSmartFeeE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateTransactionSmartFeeE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateTransactionSmartFeeE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableEstimateTransactionSmartFeeE400 struct { + value *EstimateTransactionSmartFeeE400 + isSet bool +} + +func (v NullableEstimateTransactionSmartFeeE400) Get() *EstimateTransactionSmartFeeE400 { + return v.value +} + +func (v *NullableEstimateTransactionSmartFeeE400) Set(val *EstimateTransactionSmartFeeE400) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTransactionSmartFeeE400) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTransactionSmartFeeE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTransactionSmartFeeE400(val *EstimateTransactionSmartFeeE400) *NullableEstimateTransactionSmartFeeE400 { + return &NullableEstimateTransactionSmartFeeE400{value: val, isSet: true} +} + +func (v NullableEstimateTransactionSmartFeeE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTransactionSmartFeeE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_transaction_smart_fee_e401.go b/model_estimate_transaction_smart_fee_e401.go new file mode 100644 index 0000000..f40dddf --- /dev/null +++ b/model_estimate_transaction_smart_fee_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateTransactionSmartFeeE401 - struct for EstimateTransactionSmartFeeE401 +type EstimateTransactionSmartFeeE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsEstimateTransactionSmartFeeE401 is a convenience function that returns InvalidApiKey wrapped in EstimateTransactionSmartFeeE401 +func InvalidApiKeyAsEstimateTransactionSmartFeeE401(v *InvalidApiKey) EstimateTransactionSmartFeeE401 { + return EstimateTransactionSmartFeeE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsEstimateTransactionSmartFeeE401 is a convenience function that returns MissingApiKey wrapped in EstimateTransactionSmartFeeE401 +func MissingApiKeyAsEstimateTransactionSmartFeeE401(v *MissingApiKey) EstimateTransactionSmartFeeE401 { + return EstimateTransactionSmartFeeE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateTransactionSmartFeeE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateTransactionSmartFeeE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateTransactionSmartFeeE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateTransactionSmartFeeE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateTransactionSmartFeeE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableEstimateTransactionSmartFeeE401 struct { + value *EstimateTransactionSmartFeeE401 + isSet bool +} + +func (v NullableEstimateTransactionSmartFeeE401) Get() *EstimateTransactionSmartFeeE401 { + return v.value +} + +func (v *NullableEstimateTransactionSmartFeeE401) Set(val *EstimateTransactionSmartFeeE401) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTransactionSmartFeeE401) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTransactionSmartFeeE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTransactionSmartFeeE401(val *EstimateTransactionSmartFeeE401) *NullableEstimateTransactionSmartFeeE401 { + return &NullableEstimateTransactionSmartFeeE401{value: val, isSet: true} +} + +func (v NullableEstimateTransactionSmartFeeE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTransactionSmartFeeE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_transaction_smart_fee_e403.go b/model_estimate_transaction_smart_fee_e403.go new file mode 100644 index 0000000..6bf09bb --- /dev/null +++ b/model_estimate_transaction_smart_fee_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// EstimateTransactionSmartFeeE403 - struct for EstimateTransactionSmartFeeE403 +type EstimateTransactionSmartFeeE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsEstimateTransactionSmartFeeE403 is a convenience function that returns BannedIpAddress wrapped in EstimateTransactionSmartFeeE403 +func BannedIpAddressAsEstimateTransactionSmartFeeE403(v *BannedIpAddress) EstimateTransactionSmartFeeE403 { + return EstimateTransactionSmartFeeE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsEstimateTransactionSmartFeeE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in EstimateTransactionSmartFeeE403 +func EndpointNotAllowedForApiKeyAsEstimateTransactionSmartFeeE403(v *EndpointNotAllowedForApiKey) EstimateTransactionSmartFeeE403 { + return EstimateTransactionSmartFeeE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsEstimateTransactionSmartFeeE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in EstimateTransactionSmartFeeE403 +func EndpointNotAllowedForPlanAsEstimateTransactionSmartFeeE403(v *EndpointNotAllowedForPlan) EstimateTransactionSmartFeeE403 { + return EstimateTransactionSmartFeeE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsEstimateTransactionSmartFeeE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in EstimateTransactionSmartFeeE403 +func FeatureMainnetsNotAllowedForPlanAsEstimateTransactionSmartFeeE403(v *FeatureMainnetsNotAllowedForPlan) EstimateTransactionSmartFeeE403 { + return EstimateTransactionSmartFeeE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *EstimateTransactionSmartFeeE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(EstimateTransactionSmartFeeE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(EstimateTransactionSmartFeeE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src EstimateTransactionSmartFeeE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *EstimateTransactionSmartFeeE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableEstimateTransactionSmartFeeE403 struct { + value *EstimateTransactionSmartFeeE403 + isSet bool +} + +func (v NullableEstimateTransactionSmartFeeE403) Get() *EstimateTransactionSmartFeeE403 { + return v.value +} + +func (v *NullableEstimateTransactionSmartFeeE403) Set(val *EstimateTransactionSmartFeeE403) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTransactionSmartFeeE403) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTransactionSmartFeeE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTransactionSmartFeeE403(val *EstimateTransactionSmartFeeE403) *NullableEstimateTransactionSmartFeeE403 { + return &NullableEstimateTransactionSmartFeeE403{value: val, isSet: true} +} + +func (v NullableEstimateTransactionSmartFeeE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTransactionSmartFeeE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_transaction_smart_fee_r.go b/model_estimate_transaction_smart_fee_r.go new file mode 100644 index 0000000..9a55126 --- /dev/null +++ b/model_estimate_transaction_smart_fee_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTransactionSmartFeeR struct for EstimateTransactionSmartFeeR +type EstimateTransactionSmartFeeR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data EstimateTransactionSmartFeeRData `json:"data"` +} + +// NewEstimateTransactionSmartFeeR instantiates a new EstimateTransactionSmartFeeR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTransactionSmartFeeR(apiVersion string, requestId string, data EstimateTransactionSmartFeeRData) *EstimateTransactionSmartFeeR { + this := EstimateTransactionSmartFeeR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewEstimateTransactionSmartFeeRWithDefaults instantiates a new EstimateTransactionSmartFeeR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTransactionSmartFeeRWithDefaults() *EstimateTransactionSmartFeeR { + this := EstimateTransactionSmartFeeR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *EstimateTransactionSmartFeeR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *EstimateTransactionSmartFeeR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *EstimateTransactionSmartFeeR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *EstimateTransactionSmartFeeR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *EstimateTransactionSmartFeeR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *EstimateTransactionSmartFeeR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *EstimateTransactionSmartFeeR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EstimateTransactionSmartFeeR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *EstimateTransactionSmartFeeR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *EstimateTransactionSmartFeeR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *EstimateTransactionSmartFeeR) GetData() EstimateTransactionSmartFeeRData { + if o == nil { + var ret EstimateTransactionSmartFeeRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *EstimateTransactionSmartFeeR) GetDataOk() (*EstimateTransactionSmartFeeRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *EstimateTransactionSmartFeeR) SetData(v EstimateTransactionSmartFeeRData) { + o.Data = v +} + +func (o EstimateTransactionSmartFeeR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTransactionSmartFeeR struct { + value *EstimateTransactionSmartFeeR + isSet bool +} + +func (v NullableEstimateTransactionSmartFeeR) Get() *EstimateTransactionSmartFeeR { + return v.value +} + +func (v *NullableEstimateTransactionSmartFeeR) Set(val *EstimateTransactionSmartFeeR) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTransactionSmartFeeR) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTransactionSmartFeeR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTransactionSmartFeeR(val *EstimateTransactionSmartFeeR) *NullableEstimateTransactionSmartFeeR { + return &NullableEstimateTransactionSmartFeeR{value: val, isSet: true} +} + +func (v NullableEstimateTransactionSmartFeeR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTransactionSmartFeeR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_transaction_smart_fee_r_data.go b/model_estimate_transaction_smart_fee_r_data.go new file mode 100644 index 0000000..7bfb0b3 --- /dev/null +++ b/model_estimate_transaction_smart_fee_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTransactionSmartFeeRData struct for EstimateTransactionSmartFeeRData +type EstimateTransactionSmartFeeRData struct { + Item EstimateTransactionSmartFeeRI `json:"item"` +} + +// NewEstimateTransactionSmartFeeRData instantiates a new EstimateTransactionSmartFeeRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTransactionSmartFeeRData(item EstimateTransactionSmartFeeRI) *EstimateTransactionSmartFeeRData { + this := EstimateTransactionSmartFeeRData{} + this.Item = item + return &this +} + +// NewEstimateTransactionSmartFeeRDataWithDefaults instantiates a new EstimateTransactionSmartFeeRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTransactionSmartFeeRDataWithDefaults() *EstimateTransactionSmartFeeRData { + this := EstimateTransactionSmartFeeRData{} + return &this +} + +// GetItem returns the Item field value +func (o *EstimateTransactionSmartFeeRData) GetItem() EstimateTransactionSmartFeeRI { + if o == nil { + var ret EstimateTransactionSmartFeeRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *EstimateTransactionSmartFeeRData) GetItemOk() (*EstimateTransactionSmartFeeRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *EstimateTransactionSmartFeeRData) SetItem(v EstimateTransactionSmartFeeRI) { + o.Item = v +} + +func (o EstimateTransactionSmartFeeRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTransactionSmartFeeRData struct { + value *EstimateTransactionSmartFeeRData + isSet bool +} + +func (v NullableEstimateTransactionSmartFeeRData) Get() *EstimateTransactionSmartFeeRData { + return v.value +} + +func (v *NullableEstimateTransactionSmartFeeRData) Set(val *EstimateTransactionSmartFeeRData) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTransactionSmartFeeRData) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTransactionSmartFeeRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTransactionSmartFeeRData(val *EstimateTransactionSmartFeeRData) *NullableEstimateTransactionSmartFeeRData { + return &NullableEstimateTransactionSmartFeeRData{value: val, isSet: true} +} + +func (v NullableEstimateTransactionSmartFeeRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTransactionSmartFeeRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_estimate_transaction_smart_fee_ri.go b/model_estimate_transaction_smart_fee_ri.go new file mode 100644 index 0000000..870d77c --- /dev/null +++ b/model_estimate_transaction_smart_fee_ri.go @@ -0,0 +1,170 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// EstimateTransactionSmartFeeRI struct for EstimateTransactionSmartFeeRI +type EstimateTransactionSmartFeeRI struct { + // Represents the confirmation target in blocks + ConfirmationTarget int32 `json:"confirmationTarget"` + // Represents the Fee Rate value. + FeeRate string `json:"feeRate"` + // Defines the fee unit. + Unit string `json:"unit"` +} + +// NewEstimateTransactionSmartFeeRI instantiates a new EstimateTransactionSmartFeeRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewEstimateTransactionSmartFeeRI(confirmationTarget int32, feeRate string, unit string) *EstimateTransactionSmartFeeRI { + this := EstimateTransactionSmartFeeRI{} + this.ConfirmationTarget = confirmationTarget + this.FeeRate = feeRate + this.Unit = unit + return &this +} + +// NewEstimateTransactionSmartFeeRIWithDefaults instantiates a new EstimateTransactionSmartFeeRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEstimateTransactionSmartFeeRIWithDefaults() *EstimateTransactionSmartFeeRI { + this := EstimateTransactionSmartFeeRI{} + return &this +} + +// GetConfirmationTarget returns the ConfirmationTarget field value +func (o *EstimateTransactionSmartFeeRI) GetConfirmationTarget() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ConfirmationTarget +} + +// GetConfirmationTargetOk returns a tuple with the ConfirmationTarget field value +// and a boolean to check if the value has been set. +func (o *EstimateTransactionSmartFeeRI) GetConfirmationTargetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ConfirmationTarget, true +} + +// SetConfirmationTarget sets field value +func (o *EstimateTransactionSmartFeeRI) SetConfirmationTarget(v int32) { + o.ConfirmationTarget = v +} + +// GetFeeRate returns the FeeRate field value +func (o *EstimateTransactionSmartFeeRI) GetFeeRate() string { + if o == nil { + var ret string + return ret + } + + return o.FeeRate +} + +// GetFeeRateOk returns a tuple with the FeeRate field value +// and a boolean to check if the value has been set. +func (o *EstimateTransactionSmartFeeRI) GetFeeRateOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FeeRate, true +} + +// SetFeeRate sets field value +func (o *EstimateTransactionSmartFeeRI) SetFeeRate(v string) { + o.FeeRate = v +} + +// GetUnit returns the Unit field value +func (o *EstimateTransactionSmartFeeRI) GetUnit() string { + if o == nil { + var ret string + return ret + } + + return o.Unit +} + +// GetUnitOk returns a tuple with the Unit field value +// and a boolean to check if the value has been set. +func (o *EstimateTransactionSmartFeeRI) GetUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Unit, true +} + +// SetUnit sets field value +func (o *EstimateTransactionSmartFeeRI) SetUnit(v string) { + o.Unit = v +} + +func (o EstimateTransactionSmartFeeRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["confirmationTarget"] = o.ConfirmationTarget + } + if true { + toSerialize["feeRate"] = o.FeeRate + } + if true { + toSerialize["unit"] = o.Unit + } + return json.Marshal(toSerialize) +} + +type NullableEstimateTransactionSmartFeeRI struct { + value *EstimateTransactionSmartFeeRI + isSet bool +} + +func (v NullableEstimateTransactionSmartFeeRI) Get() *EstimateTransactionSmartFeeRI { + return v.value +} + +func (v *NullableEstimateTransactionSmartFeeRI) Set(val *EstimateTransactionSmartFeeRI) { + v.value = val + v.isSet = true +} + +func (v NullableEstimateTransactionSmartFeeRI) IsSet() bool { + return v.isSet +} + +func (v *NullableEstimateTransactionSmartFeeRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEstimateTransactionSmartFeeRI(val *EstimateTransactionSmartFeeRI) *NullableEstimateTransactionSmartFeeRI { + return &NullableEstimateTransactionSmartFeeRI{value: val, isSet: true} +} + +func (v NullableEstimateTransactionSmartFeeRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEstimateTransactionSmartFeeRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_feature_mainnets_not_allowed_for_plan.go b/model_feature_mainnets_not_allowed_for_plan.go index 64f4bbf..a0a4738 100644 --- a/model_feature_mainnets_not_allowed_for_plan.go +++ b/model_feature_mainnets_not_allowed_for_plan.go @@ -21,7 +21,7 @@ type FeatureMainnetsNotAllowedForPlan struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewFeatureMainnetsNotAllowedForPlan instantiates a new FeatureMainnetsNotAllowedForPlan object @@ -56,7 +56,7 @@ func (o *FeatureMainnetsNotAllowedForPlan) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *FeatureMainnetsNotAllowedForPlan) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *FeatureMainnetsNotAllowedForPlan) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *FeatureMainnetsNotAllowedForPlan) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *FeatureMainnetsNotAllowedForPlan) GetDetails() []BannedIpAddressDetails var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *FeatureMainnetsNotAllowedForPlan) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *FeatureMainnetsNotAllowedForPlan) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *FeatureMainnetsNotAllowedForPlan) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *FeatureMainnetsNotAllowedForPlan) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o FeatureMainnetsNotAllowedForPlan) MarshalJSON() ([]byte, error) { diff --git a/model_generate_deposit_address_e400.go b/model_generate_deposit_address_e400.go index e560c8f..2629ca1 100644 --- a/model_generate_deposit_address_e400.go +++ b/model_generate_deposit_address_e400.go @@ -25,17 +25,23 @@ type GenerateDepositAddressE400 struct { // InvalidPaginationAsGenerateDepositAddressE400 is a convenience function that returns InvalidPagination wrapped in GenerateDepositAddressE400 func InvalidPaginationAsGenerateDepositAddressE400(v *InvalidPagination) GenerateDepositAddressE400 { - return GenerateDepositAddressE400{ InvalidPagination: v} + return GenerateDepositAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGenerateDepositAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GenerateDepositAddressE400 func LimitGreaterThanAllowedAsGenerateDepositAddressE400(v *LimitGreaterThanAllowed) GenerateDepositAddressE400 { - return GenerateDepositAddressE400{ LimitGreaterThanAllowed: v} + return GenerateDepositAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGenerateDepositAddressE400 is a convenience function that returns UriNotFound wrapped in GenerateDepositAddressE400 func UriNotFoundAsGenerateDepositAddressE400(v *UriNotFound) GenerateDepositAddressE400 { - return GenerateDepositAddressE400{ UriNotFound: v} + return GenerateDepositAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GenerateDepositAddressE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GenerateDepositAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GenerateDepositAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GenerateDepositAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GenerateDepositAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_generate_deposit_address_e401.go b/model_generate_deposit_address_e401.go index d8964c7..13b4a3d 100644 --- a/model_generate_deposit_address_e401.go +++ b/model_generate_deposit_address_e401.go @@ -24,12 +24,16 @@ type GenerateDepositAddressE401 struct { // InvalidApiKeyAsGenerateDepositAddressE401 is a convenience function that returns InvalidApiKey wrapped in GenerateDepositAddressE401 func InvalidApiKeyAsGenerateDepositAddressE401(v *InvalidApiKey) GenerateDepositAddressE401 { - return GenerateDepositAddressE401{ InvalidApiKey: v} + return GenerateDepositAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGenerateDepositAddressE401 is a convenience function that returns MissingApiKey wrapped in GenerateDepositAddressE401 func MissingApiKeyAsGenerateDepositAddressE401(v *MissingApiKey) GenerateDepositAddressE401 { - return GenerateDepositAddressE401{ MissingApiKey: v} + return GenerateDepositAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GenerateDepositAddressE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GenerateDepositAddressE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GenerateDepositAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GenerateDepositAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_generate_deposit_address_e403.go b/model_generate_deposit_address_e403.go index 1a53cd9..06dd25a 100644 --- a/model_generate_deposit_address_e403.go +++ b/model_generate_deposit_address_e403.go @@ -27,27 +27,37 @@ type GenerateDepositAddressE403 struct { // BannedIpAddressAsGenerateDepositAddressE403 is a convenience function that returns BannedIpAddress wrapped in GenerateDepositAddressE403 func BannedIpAddressAsGenerateDepositAddressE403(v *BannedIpAddress) GenerateDepositAddressE403 { - return GenerateDepositAddressE403{ BannedIpAddress: v} + return GenerateDepositAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGenerateDepositAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GenerateDepositAddressE403 func EndpointNotAllowedForApiKeyAsGenerateDepositAddressE403(v *EndpointNotAllowedForApiKey) GenerateDepositAddressE403 { - return GenerateDepositAddressE403{ EndpointNotAllowedForApiKey: v} + return GenerateDepositAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGenerateDepositAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GenerateDepositAddressE403 func EndpointNotAllowedForPlanAsGenerateDepositAddressE403(v *EndpointNotAllowedForPlan) GenerateDepositAddressE403 { - return GenerateDepositAddressE403{ EndpointNotAllowedForPlan: v} + return GenerateDepositAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGenerateDepositAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GenerateDepositAddressE403 func FeatureMainnetsNotAllowedForPlanAsGenerateDepositAddressE403(v *FeatureMainnetsNotAllowedForPlan) GenerateDepositAddressE403 { - return GenerateDepositAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return GenerateDepositAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } // WalletAsAServiceDepositAddressesLimitReachedAsGenerateDepositAddressE403 is a convenience function that returns WalletAsAServiceDepositAddressesLimitReached wrapped in GenerateDepositAddressE403 func WalletAsAServiceDepositAddressesLimitReachedAsGenerateDepositAddressE403(v *WalletAsAServiceDepositAddressesLimitReached) GenerateDepositAddressE403 { - return GenerateDepositAddressE403{ WalletAsAServiceDepositAddressesLimitReached: v} + return GenerateDepositAddressE403{ + WalletAsAServiceDepositAddressesLimitReached: v, + } } @@ -56,7 +66,7 @@ func (dst *GenerateDepositAddressE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *GenerateDepositAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *GenerateDepositAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *GenerateDepositAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *GenerateDepositAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into WalletAsAServiceDepositAddressesLimitReached - err = json.Unmarshal(data, &dst.WalletAsAServiceDepositAddressesLimitReached) + err = newStrictDecoder(data).Decode(&dst.WalletAsAServiceDepositAddressesLimitReached) if err == nil { jsonWalletAsAServiceDepositAddressesLimitReached, _ := json.Marshal(dst.WalletAsAServiceDepositAddressesLimitReached) if string(jsonWalletAsAServiceDepositAddressesLimitReached) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src GenerateDepositAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GenerateDepositAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_generate_deposit_address_r.go b/model_generate_deposit_address_r.go index cb6c8eb..152ac20 100644 --- a/model_generate_deposit_address_r.go +++ b/model_generate_deposit_address_r.go @@ -59,7 +59,7 @@ func (o *GenerateDepositAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GenerateDepositAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GenerateDepositAddressR) GetData() GenerateDepositAddressRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressR) GetDataOk() (*GenerateDepositAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_generate_deposit_address_r_data.go b/model_generate_deposit_address_r_data.go index 1cb301a..e7de8fc 100644 --- a/model_generate_deposit_address_r_data.go +++ b/model_generate_deposit_address_r_data.go @@ -51,7 +51,7 @@ func (o *GenerateDepositAddressRData) GetItem() GenerateDepositAddressRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressRData) GetItemOk() (*GenerateDepositAddressRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_generate_deposit_address_rb.go b/model_generate_deposit_address_rb.go index d028e91..3a843ec 100644 --- a/model_generate_deposit_address_rb.go +++ b/model_generate_deposit_address_rb.go @@ -85,7 +85,7 @@ func (o *GenerateDepositAddressRB) GetData() GenerateDepositAddressRBData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressRB) GetDataOk() (*GenerateDepositAddressRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_generate_deposit_address_rb_data.go b/model_generate_deposit_address_rb_data.go index d44c615..7a1c530 100644 --- a/model_generate_deposit_address_rb_data.go +++ b/model_generate_deposit_address_rb_data.go @@ -51,7 +51,7 @@ func (o *GenerateDepositAddressRBData) GetItem() GenerateDepositAddressRBDataIte // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressRBData) GetItemOk() (*GenerateDepositAddressRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_generate_deposit_address_rb_data_item.go b/model_generate_deposit_address_rb_data_item.go index da9d2a0..f0e7a53 100644 --- a/model_generate_deposit_address_rb_data_item.go +++ b/model_generate_deposit_address_rb_data_item.go @@ -52,7 +52,7 @@ func (o *GenerateDepositAddressRBDataItem) GetLabel() string { // GetLabelOk returns a tuple with the Label field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressRBDataItem) GetLabelOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Label, true diff --git a/model_generate_deposit_address_ri.go b/model_generate_deposit_address_ri.go index 1e66fdf..29e739f 100644 --- a/model_generate_deposit_address_ri.go +++ b/model_generate_deposit_address_ri.go @@ -58,7 +58,7 @@ func (o *GenerateDepositAddressRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -82,7 +82,7 @@ func (o *GenerateDepositAddressRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -106,7 +106,7 @@ func (o *GenerateDepositAddressRI) GetLabel() string { // GetLabelOk returns a tuple with the Label field value // and a boolean to check if the value has been set. func (o *GenerateDepositAddressRI) GetLabelOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Label, true diff --git a/model_get_address_details_e400.go b/model_get_address_details_e400.go index 517a2ed..40a09e1 100644 --- a/model_get_address_details_e400.go +++ b/model_get_address_details_e400.go @@ -25,17 +25,23 @@ type GetAddressDetailsE400 struct { // InvalidPaginationAsGetAddressDetailsE400 is a convenience function that returns InvalidPagination wrapped in GetAddressDetailsE400 func InvalidPaginationAsGetAddressDetailsE400(v *InvalidPagination) GetAddressDetailsE400 { - return GetAddressDetailsE400{ InvalidPagination: v} + return GetAddressDetailsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetAddressDetailsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetAddressDetailsE400 func LimitGreaterThanAllowedAsGetAddressDetailsE400(v *LimitGreaterThanAllowed) GetAddressDetailsE400 { - return GetAddressDetailsE400{ LimitGreaterThanAllowed: v} + return GetAddressDetailsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetAddressDetailsE400 is a convenience function that returns UriNotFound wrapped in GetAddressDetailsE400 func UriNotFoundAsGetAddressDetailsE400(v *UriNotFound) GetAddressDetailsE400 { - return GetAddressDetailsE400{ UriNotFound: v} + return GetAddressDetailsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetAddressDetailsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetAddressDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetAddressDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetAddressDetailsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAddressDetailsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_address_details_e401.go b/model_get_address_details_e401.go index b88185e..9580c48 100644 --- a/model_get_address_details_e401.go +++ b/model_get_address_details_e401.go @@ -24,12 +24,16 @@ type GetAddressDetailsE401 struct { // InvalidApiKeyAsGetAddressDetailsE401 is a convenience function that returns InvalidApiKey wrapped in GetAddressDetailsE401 func InvalidApiKeyAsGetAddressDetailsE401(v *InvalidApiKey) GetAddressDetailsE401 { - return GetAddressDetailsE401{ InvalidApiKey: v} + return GetAddressDetailsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetAddressDetailsE401 is a convenience function that returns MissingApiKey wrapped in GetAddressDetailsE401 func MissingApiKeyAsGetAddressDetailsE401(v *MissingApiKey) GetAddressDetailsE401 { - return GetAddressDetailsE401{ MissingApiKey: v} + return GetAddressDetailsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetAddressDetailsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetAddressDetailsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetAddressDetailsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAddressDetailsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_address_details_e403.go b/model_get_address_details_e403.go index 42c34fc..f59f03a 100644 --- a/model_get_address_details_e403.go +++ b/model_get_address_details_e403.go @@ -26,22 +26,30 @@ type GetAddressDetailsE403 struct { // BannedIpAddressAsGetAddressDetailsE403 is a convenience function that returns BannedIpAddress wrapped in GetAddressDetailsE403 func BannedIpAddressAsGetAddressDetailsE403(v *BannedIpAddress) GetAddressDetailsE403 { - return GetAddressDetailsE403{ BannedIpAddress: v} + return GetAddressDetailsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetAddressDetailsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetAddressDetailsE403 func EndpointNotAllowedForApiKeyAsGetAddressDetailsE403(v *EndpointNotAllowedForApiKey) GetAddressDetailsE403 { - return GetAddressDetailsE403{ EndpointNotAllowedForApiKey: v} + return GetAddressDetailsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetAddressDetailsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetAddressDetailsE403 func EndpointNotAllowedForPlanAsGetAddressDetailsE403(v *EndpointNotAllowedForPlan) GetAddressDetailsE403 { - return GetAddressDetailsE403{ EndpointNotAllowedForPlan: v} + return GetAddressDetailsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetAddressDetailsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetAddressDetailsE403 func FeatureMainnetsNotAllowedForPlanAsGetAddressDetailsE403(v *FeatureMainnetsNotAllowedForPlan) GetAddressDetailsE403 { - return GetAddressDetailsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetAddressDetailsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetAddressDetailsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetAddressDetailsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAddressDetailsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_address_details_from_callback_e400.go b/model_get_address_details_from_callback_e400.go index 4105bbd..7f38c84 100644 --- a/model_get_address_details_from_callback_e400.go +++ b/model_get_address_details_from_callback_e400.go @@ -25,17 +25,23 @@ type GetAddressDetailsFromCallbackE400 struct { // InvalidPaginationAsGetAddressDetailsFromCallbackE400 is a convenience function that returns InvalidPagination wrapped in GetAddressDetailsFromCallbackE400 func InvalidPaginationAsGetAddressDetailsFromCallbackE400(v *InvalidPagination) GetAddressDetailsFromCallbackE400 { - return GetAddressDetailsFromCallbackE400{ InvalidPagination: v} + return GetAddressDetailsFromCallbackE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetAddressDetailsFromCallbackE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetAddressDetailsFromCallbackE400 func LimitGreaterThanAllowedAsGetAddressDetailsFromCallbackE400(v *LimitGreaterThanAllowed) GetAddressDetailsFromCallbackE400 { - return GetAddressDetailsFromCallbackE400{ LimitGreaterThanAllowed: v} + return GetAddressDetailsFromCallbackE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetAddressDetailsFromCallbackE400 is a convenience function that returns UriNotFound wrapped in GetAddressDetailsFromCallbackE400 func UriNotFoundAsGetAddressDetailsFromCallbackE400(v *UriNotFound) GetAddressDetailsFromCallbackE400 { - return GetAddressDetailsFromCallbackE400{ UriNotFound: v} + return GetAddressDetailsFromCallbackE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetAddressDetailsFromCallbackE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetAddressDetailsFromCallbackE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetAddressDetailsFromCallbackE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetAddressDetailsFromCallbackE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAddressDetailsFromCallbackE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_address_details_from_callback_e401.go b/model_get_address_details_from_callback_e401.go index 37712e0..cc8644b 100644 --- a/model_get_address_details_from_callback_e401.go +++ b/model_get_address_details_from_callback_e401.go @@ -24,12 +24,16 @@ type GetAddressDetailsFromCallbackE401 struct { // InvalidApiKeyAsGetAddressDetailsFromCallbackE401 is a convenience function that returns InvalidApiKey wrapped in GetAddressDetailsFromCallbackE401 func InvalidApiKeyAsGetAddressDetailsFromCallbackE401(v *InvalidApiKey) GetAddressDetailsFromCallbackE401 { - return GetAddressDetailsFromCallbackE401{ InvalidApiKey: v} + return GetAddressDetailsFromCallbackE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetAddressDetailsFromCallbackE401 is a convenience function that returns MissingApiKey wrapped in GetAddressDetailsFromCallbackE401 func MissingApiKeyAsGetAddressDetailsFromCallbackE401(v *MissingApiKey) GetAddressDetailsFromCallbackE401 { - return GetAddressDetailsFromCallbackE401{ MissingApiKey: v} + return GetAddressDetailsFromCallbackE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetAddressDetailsFromCallbackE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetAddressDetailsFromCallbackE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetAddressDetailsFromCallbackE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAddressDetailsFromCallbackE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_address_details_from_callback_e403.go b/model_get_address_details_from_callback_e403.go index 13b6981..139535c 100644 --- a/model_get_address_details_from_callback_e403.go +++ b/model_get_address_details_from_callback_e403.go @@ -26,22 +26,30 @@ type GetAddressDetailsFromCallbackE403 struct { // BannedIpAddressAsGetAddressDetailsFromCallbackE403 is a convenience function that returns BannedIpAddress wrapped in GetAddressDetailsFromCallbackE403 func BannedIpAddressAsGetAddressDetailsFromCallbackE403(v *BannedIpAddress) GetAddressDetailsFromCallbackE403 { - return GetAddressDetailsFromCallbackE403{ BannedIpAddress: v} + return GetAddressDetailsFromCallbackE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetAddressDetailsFromCallbackE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetAddressDetailsFromCallbackE403 func EndpointNotAllowedForApiKeyAsGetAddressDetailsFromCallbackE403(v *EndpointNotAllowedForApiKey) GetAddressDetailsFromCallbackE403 { - return GetAddressDetailsFromCallbackE403{ EndpointNotAllowedForApiKey: v} + return GetAddressDetailsFromCallbackE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetAddressDetailsFromCallbackE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetAddressDetailsFromCallbackE403 func EndpointNotAllowedForPlanAsGetAddressDetailsFromCallbackE403(v *EndpointNotAllowedForPlan) GetAddressDetailsFromCallbackE403 { - return GetAddressDetailsFromCallbackE403{ EndpointNotAllowedForPlan: v} + return GetAddressDetailsFromCallbackE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetAddressDetailsFromCallbackE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetAddressDetailsFromCallbackE403 func FeatureMainnetsNotAllowedForPlanAsGetAddressDetailsFromCallbackE403(v *FeatureMainnetsNotAllowedForPlan) GetAddressDetailsFromCallbackE403 { - return GetAddressDetailsFromCallbackE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetAddressDetailsFromCallbackE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetAddressDetailsFromCallbackE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetAddressDetailsFromCallbackE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetAddressDetailsFromCallbackE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetAddressDetailsFromCallbackE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetAddressDetailsFromCallbackE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAddressDetailsFromCallbackE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_address_details_from_callback_r.go b/model_get_address_details_from_callback_r.go index 5a51366..0d26a8b 100644 --- a/model_get_address_details_from_callback_r.go +++ b/model_get_address_details_from_callback_r.go @@ -59,7 +59,7 @@ func (o *GetAddressDetailsFromCallbackR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsFromCallbackR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetAddressDetailsFromCallbackR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsFromCallbackR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetAddressDetailsFromCallbackR) GetData() GetAddressDetailsFromCallback // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsFromCallbackR) GetDataOk() (*GetAddressDetailsFromCallbackRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_address_details_from_callback_r_data.go b/model_get_address_details_from_callback_r_data.go index 7a3dd5c..46d451b 100644 --- a/model_get_address_details_from_callback_r_data.go +++ b/model_get_address_details_from_callback_r_data.go @@ -51,7 +51,7 @@ func (o *GetAddressDetailsFromCallbackRData) GetItem() GetAddressDetailsFromCall // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsFromCallbackRData) GetItemOk() (*GetAddressDetailsFromCallbackRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_address_details_from_callback_ri.go b/model_get_address_details_from_callback_ri.go index 2187932..e99efa4 100644 --- a/model_get_address_details_from_callback_ri.go +++ b/model_get_address_details_from_callback_ri.go @@ -27,7 +27,7 @@ type GetAddressDetailsFromCallbackRI struct { TotalReceived *GetAddressDetailsFromCallbackRITotalReceived `json:"totalReceived,omitempty"` TotalSpent *GetAddressDetailsFromCallbackRITotalSpent `json:"totalSpent,omitempty"` // Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. - Sequence *int32 `json:"sequence,omitempty"` + Sequence *int64 `json:"sequence,omitempty"` } // NewGetAddressDetailsFromCallbackRI instantiates a new GetAddressDetailsFromCallbackRI object @@ -64,7 +64,7 @@ func (o *GetAddressDetailsFromCallbackRI) GetIncomingTransactionsCount() int32 { // GetIncomingTransactionsCountOk returns a tuple with the IncomingTransactionsCount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsFromCallbackRI) GetIncomingTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IncomingTransactionsCount, true @@ -88,7 +88,7 @@ func (o *GetAddressDetailsFromCallbackRI) GetOutgoingTransactionsCount() int32 { // GetOutgoingTransactionsCountOk returns a tuple with the OutgoingTransactionsCount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsFromCallbackRI) GetOutgoingTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OutgoingTransactionsCount, true @@ -112,7 +112,7 @@ func (o *GetAddressDetailsFromCallbackRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsFromCallbackRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -136,7 +136,7 @@ func (o *GetAddressDetailsFromCallbackRI) GetConfirmedBalance() GetAddressDetail // GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsFromCallbackRI) GetConfirmedBalanceOk() (*GetAddressDetailsRIConfirmedBalance, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmedBalance, true @@ -212,9 +212,9 @@ func (o *GetAddressDetailsFromCallbackRI) SetTotalSpent(v GetAddressDetailsFromC } // GetSequence returns the Sequence field value if set, zero value otherwise. -func (o *GetAddressDetailsFromCallbackRI) GetSequence() int32 { +func (o *GetAddressDetailsFromCallbackRI) GetSequence() int64 { if o == nil || o.Sequence == nil { - var ret int32 + var ret int64 return ret } return *o.Sequence @@ -222,7 +222,7 @@ func (o *GetAddressDetailsFromCallbackRI) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetAddressDetailsFromCallbackRI) GetSequenceOk() (*int32, bool) { +func (o *GetAddressDetailsFromCallbackRI) GetSequenceOk() (*int64, bool) { if o == nil || o.Sequence == nil { return nil, false } @@ -238,8 +238,8 @@ func (o *GetAddressDetailsFromCallbackRI) HasSequence() bool { return false } -// SetSequence gets a reference to the given int32 and assigns it to the Sequence field. -func (o *GetAddressDetailsFromCallbackRI) SetSequence(v int32) { +// SetSequence gets a reference to the given int64 and assigns it to the Sequence field. +func (o *GetAddressDetailsFromCallbackRI) SetSequence(v int64) { o.Sequence = &v } diff --git a/model_get_address_details_r.go b/model_get_address_details_r.go index 064cc10..53fbd3d 100644 --- a/model_get_address_details_r.go +++ b/model_get_address_details_r.go @@ -59,7 +59,7 @@ func (o *GetAddressDetailsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetAddressDetailsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetAddressDetailsR) GetData() GetAddressDetailsRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsR) GetDataOk() (*GetAddressDetailsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_address_details_r_data.go b/model_get_address_details_r_data.go index 18c5fd8..f07328f 100644 --- a/model_get_address_details_r_data.go +++ b/model_get_address_details_r_data.go @@ -51,7 +51,7 @@ func (o *GetAddressDetailsRData) GetItem() GetAddressDetailsRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRData) GetItemOk() (*GetAddressDetailsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_address_details_ri.go b/model_get_address_details_ri.go index d665229..e658c25 100644 --- a/model_get_address_details_ri.go +++ b/model_get_address_details_ri.go @@ -22,9 +22,9 @@ type GetAddressDetailsRI struct { ConfirmedBalance GetAddressDetailsRIConfirmedBalance `json:"confirmedBalance"` TotalReceived GetAddressDetailsRITotalReceived `json:"totalReceived"` TotalSpent GetAddressDetailsRITotalSpent `json:"totalSpent"` - // Defines the count of the incoming transactions. + // Defines the received transaction count to the address. IncomingTransactionsCount int32 `json:"incomingTransactionsCount"` - // Defines the count of the outgoing transactions. + // Defines the sent transaction count from the address. OutgoingTransactionsCount int32 `json:"outgoingTransactionsCount"` } @@ -64,7 +64,7 @@ func (o *GetAddressDetailsRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -88,7 +88,7 @@ func (o *GetAddressDetailsRI) GetConfirmedBalance() GetAddressDetailsRIConfirmed // GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRI) GetConfirmedBalanceOk() (*GetAddressDetailsRIConfirmedBalance, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmedBalance, true @@ -112,7 +112,7 @@ func (o *GetAddressDetailsRI) GetTotalReceived() GetAddressDetailsRITotalReceive // GetTotalReceivedOk returns a tuple with the TotalReceived field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRI) GetTotalReceivedOk() (*GetAddressDetailsRITotalReceived, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalReceived, true @@ -136,7 +136,7 @@ func (o *GetAddressDetailsRI) GetTotalSpent() GetAddressDetailsRITotalSpent { // GetTotalSpentOk returns a tuple with the TotalSpent field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRI) GetTotalSpentOk() (*GetAddressDetailsRITotalSpent, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalSpent, true @@ -160,7 +160,7 @@ func (o *GetAddressDetailsRI) GetIncomingTransactionsCount() int32 { // GetIncomingTransactionsCountOk returns a tuple with the IncomingTransactionsCount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRI) GetIncomingTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IncomingTransactionsCount, true @@ -184,7 +184,7 @@ func (o *GetAddressDetailsRI) GetOutgoingTransactionsCount() int32 { // GetOutgoingTransactionsCountOk returns a tuple with the OutgoingTransactionsCount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRI) GetOutgoingTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OutgoingTransactionsCount, true diff --git a/model_get_address_details_ri_confirmed_balance.go b/model_get_address_details_ri_confirmed_balance.go index f369a88..db3872d 100644 --- a/model_get_address_details_ri_confirmed_balance.go +++ b/model_get_address_details_ri_confirmed_balance.go @@ -55,7 +55,7 @@ func (o *GetAddressDetailsRIConfirmedBalance) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRIConfirmedBalance) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetAddressDetailsRIConfirmedBalance) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRIConfirmedBalance) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_address_details_ri_total_received.go b/model_get_address_details_ri_total_received.go index 3071710..44a0b90 100644 --- a/model_get_address_details_ri_total_received.go +++ b/model_get_address_details_ri_total_received.go @@ -55,7 +55,7 @@ func (o *GetAddressDetailsRITotalReceived) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRITotalReceived) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetAddressDetailsRITotalReceived) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRITotalReceived) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_address_details_ri_total_spent.go b/model_get_address_details_ri_total_spent.go index a74233a..6b9cdab 100644 --- a/model_get_address_details_ri_total_spent.go +++ b/model_get_address_details_ri_total_spent.go @@ -55,7 +55,7 @@ func (o *GetAddressDetailsRITotalSpent) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRITotalSpent) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetAddressDetailsRITotalSpent) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetAddressDetailsRITotalSpent) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_asset_details_by_asset_ide400.go b/model_get_asset_details_by_asset_ide400.go index e886b38..9eee069 100644 --- a/model_get_asset_details_by_asset_ide400.go +++ b/model_get_asset_details_by_asset_ide400.go @@ -25,17 +25,23 @@ type GetAssetDetailsByAssetIDE400 struct { // InvalidPaginationAsGetAssetDetailsByAssetIDE400 is a convenience function that returns InvalidPagination wrapped in GetAssetDetailsByAssetIDE400 func InvalidPaginationAsGetAssetDetailsByAssetIDE400(v *InvalidPagination) GetAssetDetailsByAssetIDE400 { - return GetAssetDetailsByAssetIDE400{ InvalidPagination: v} + return GetAssetDetailsByAssetIDE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetAssetDetailsByAssetIDE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetAssetDetailsByAssetIDE400 func LimitGreaterThanAllowedAsGetAssetDetailsByAssetIDE400(v *LimitGreaterThanAllowed) GetAssetDetailsByAssetIDE400 { - return GetAssetDetailsByAssetIDE400{ LimitGreaterThanAllowed: v} + return GetAssetDetailsByAssetIDE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetAssetDetailsByAssetIDE400 is a convenience function that returns UriNotFound wrapped in GetAssetDetailsByAssetIDE400 func UriNotFoundAsGetAssetDetailsByAssetIDE400(v *UriNotFound) GetAssetDetailsByAssetIDE400 { - return GetAssetDetailsByAssetIDE400{ UriNotFound: v} + return GetAssetDetailsByAssetIDE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetAssetDetailsByAssetIDE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetAssetDetailsByAssetIDE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetAssetDetailsByAssetIDE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetAssetDetailsByAssetIDE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAssetDetailsByAssetIDE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_asset_details_by_asset_ide401.go b/model_get_asset_details_by_asset_ide401.go index 85b234c..49ba27e 100644 --- a/model_get_asset_details_by_asset_ide401.go +++ b/model_get_asset_details_by_asset_ide401.go @@ -24,12 +24,16 @@ type GetAssetDetailsByAssetIDE401 struct { // InvalidApiKeyAsGetAssetDetailsByAssetIDE401 is a convenience function that returns InvalidApiKey wrapped in GetAssetDetailsByAssetIDE401 func InvalidApiKeyAsGetAssetDetailsByAssetIDE401(v *InvalidApiKey) GetAssetDetailsByAssetIDE401 { - return GetAssetDetailsByAssetIDE401{ InvalidApiKey: v} + return GetAssetDetailsByAssetIDE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetAssetDetailsByAssetIDE401 is a convenience function that returns MissingApiKey wrapped in GetAssetDetailsByAssetIDE401 func MissingApiKeyAsGetAssetDetailsByAssetIDE401(v *MissingApiKey) GetAssetDetailsByAssetIDE401 { - return GetAssetDetailsByAssetIDE401{ MissingApiKey: v} + return GetAssetDetailsByAssetIDE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetAssetDetailsByAssetIDE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetAssetDetailsByAssetIDE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetAssetDetailsByAssetIDE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAssetDetailsByAssetIDE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_asset_details_by_asset_ide403.go b/model_get_asset_details_by_asset_ide403.go index bbad7f4..f79e3d8 100644 --- a/model_get_asset_details_by_asset_ide403.go +++ b/model_get_asset_details_by_asset_ide403.go @@ -26,22 +26,30 @@ type GetAssetDetailsByAssetIDE403 struct { // BannedIpAddressAsGetAssetDetailsByAssetIDE403 is a convenience function that returns BannedIpAddress wrapped in GetAssetDetailsByAssetIDE403 func BannedIpAddressAsGetAssetDetailsByAssetIDE403(v *BannedIpAddress) GetAssetDetailsByAssetIDE403 { - return GetAssetDetailsByAssetIDE403{ BannedIpAddress: v} + return GetAssetDetailsByAssetIDE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetAssetDetailsByAssetIDE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetAssetDetailsByAssetIDE403 func EndpointNotAllowedForApiKeyAsGetAssetDetailsByAssetIDE403(v *EndpointNotAllowedForApiKey) GetAssetDetailsByAssetIDE403 { - return GetAssetDetailsByAssetIDE403{ EndpointNotAllowedForApiKey: v} + return GetAssetDetailsByAssetIDE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetAssetDetailsByAssetIDE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetAssetDetailsByAssetIDE403 func EndpointNotAllowedForPlanAsGetAssetDetailsByAssetIDE403(v *EndpointNotAllowedForPlan) GetAssetDetailsByAssetIDE403 { - return GetAssetDetailsByAssetIDE403{ EndpointNotAllowedForPlan: v} + return GetAssetDetailsByAssetIDE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetAssetDetailsByAssetIDE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetAssetDetailsByAssetIDE403 func FeatureMainnetsNotAllowedForPlanAsGetAssetDetailsByAssetIDE403(v *FeatureMainnetsNotAllowedForPlan) GetAssetDetailsByAssetIDE403 { - return GetAssetDetailsByAssetIDE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetAssetDetailsByAssetIDE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetAssetDetailsByAssetIDE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetAssetDetailsByAssetIDE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetAssetDetailsByAssetIDE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetAssetDetailsByAssetIDE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetAssetDetailsByAssetIDE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAssetDetailsByAssetIDE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_asset_details_by_asset_idr.go b/model_get_asset_details_by_asset_idr.go index 41bae06..c25dca1 100644 --- a/model_get_asset_details_by_asset_idr.go +++ b/model_get_asset_details_by_asset_idr.go @@ -59,7 +59,7 @@ func (o *GetAssetDetailsByAssetIDR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetAssetDetailsByAssetIDR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetAssetDetailsByAssetIDR) GetData() GetAssetDetailsByAssetIDRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDR) GetDataOk() (*GetAssetDetailsByAssetIDRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_asset_details_by_asset_idr_data.go b/model_get_asset_details_by_asset_idr_data.go index 91844a2..c5de978 100644 --- a/model_get_asset_details_by_asset_idr_data.go +++ b/model_get_asset_details_by_asset_idr_data.go @@ -51,7 +51,7 @@ func (o *GetAssetDetailsByAssetIDRData) GetItem() GetAssetDetailsByAssetIDRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRData) GetItemOk() (*GetAssetDetailsByAssetIDRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_asset_details_by_asset_idri.go b/model_get_asset_details_by_asset_idri.go index 52936da..0da41a7 100644 --- a/model_get_asset_details_by_asset_idri.go +++ b/model_get_asset_details_by_asset_idri.go @@ -72,7 +72,7 @@ func (o *GetAssetDetailsByAssetIDRI) GetAssetId() string { // GetAssetIdOk returns a tuple with the AssetId field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRI) GetAssetIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetId, true @@ -96,7 +96,7 @@ func (o *GetAssetDetailsByAssetIDRI) GetAssetLogo() GetAssetDetailsByAssetIDRIAs // GetAssetLogoOk returns a tuple with the AssetLogo field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRI) GetAssetLogoOk() (*GetAssetDetailsByAssetIDRIAssetLogo, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetLogo, true @@ -120,7 +120,7 @@ func (o *GetAssetDetailsByAssetIDRI) GetAssetName() string { // GetAssetNameOk returns a tuple with the AssetName field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRI) GetAssetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetName, true @@ -144,7 +144,7 @@ func (o *GetAssetDetailsByAssetIDRI) GetAssetOriginalSymbol() string { // GetAssetOriginalSymbolOk returns a tuple with the AssetOriginalSymbol field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRI) GetAssetOriginalSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetOriginalSymbol, true @@ -168,7 +168,7 @@ func (o *GetAssetDetailsByAssetIDRI) GetAssetSymbol() string { // GetAssetSymbolOk returns a tuple with the AssetSymbol field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRI) GetAssetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetSymbol, true @@ -192,7 +192,7 @@ func (o *GetAssetDetailsByAssetIDRI) GetAssetType() string { // GetAssetTypeOk returns a tuple with the AssetType field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRI) GetAssetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetType, true @@ -216,7 +216,7 @@ func (o *GetAssetDetailsByAssetIDRI) GetLatestRate() GetAssetDetailsByAssetIDRIL // GetLatestRateOk returns a tuple with the LatestRate field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRI) GetLatestRateOk() (*GetAssetDetailsByAssetIDRILatestRate, bool) { - if o == nil { + if o == nil { return nil, false } return &o.LatestRate, true @@ -272,7 +272,7 @@ func (o *GetAssetDetailsByAssetIDRI) GetSpecificData() GetAssetDetailsByAssetIDR // GetSpecificDataOk returns a tuple with the SpecificData field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRI) GetSpecificDataOk() (*GetAssetDetailsByAssetIDRIS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SpecificData, true diff --git a/model_get_asset_details_by_asset_idri_asset_logo.go b/model_get_asset_details_by_asset_idri_asset_logo.go index 6fd8874..87077fb 100644 --- a/model_get_asset_details_by_asset_idri_asset_logo.go +++ b/model_get_asset_details_by_asset_idri_asset_logo.go @@ -58,7 +58,7 @@ func (o *GetAssetDetailsByAssetIDRIAssetLogo) GetEncoding() string { // GetEncodingOk returns a tuple with the Encoding field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRIAssetLogo) GetEncodingOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Encoding, true @@ -82,7 +82,7 @@ func (o *GetAssetDetailsByAssetIDRIAssetLogo) GetImageData() string { // GetImageDataOk returns a tuple with the ImageData field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRIAssetLogo) GetImageDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ImageData, true @@ -106,7 +106,7 @@ func (o *GetAssetDetailsByAssetIDRIAssetLogo) GetMimeType() string { // GetMimeTypeOk returns a tuple with the MimeType field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRIAssetLogo) GetMimeTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MimeType, true diff --git a/model_get_asset_details_by_asset_idri_latest_rate.go b/model_get_asset_details_by_asset_idri_latest_rate.go index 1b8ea49..9ca4540 100644 --- a/model_get_asset_details_by_asset_idri_latest_rate.go +++ b/model_get_asset_details_by_asset_idri_latest_rate.go @@ -57,7 +57,7 @@ func (o *GetAssetDetailsByAssetIDRILatestRate) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRILatestRate) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -113,7 +113,7 @@ func (o *GetAssetDetailsByAssetIDRILatestRate) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRILatestRate) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_asset_details_by_asset_idris.go b/model_get_asset_details_by_asset_idris.go index 387a7dc..11f9066 100644 --- a/model_get_asset_details_by_asset_idris.go +++ b/model_get_asset_details_by_asset_idris.go @@ -23,7 +23,9 @@ type GetAssetDetailsByAssetIDRIS struct { // GetAssetDetailsByAssetIDRISCAsGetAssetDetailsByAssetIDRIS is a convenience function that returns GetAssetDetailsByAssetIDRISC wrapped in GetAssetDetailsByAssetIDRIS func GetAssetDetailsByAssetIDRISCAsGetAssetDetailsByAssetIDRIS(v *GetAssetDetailsByAssetIDRISC) GetAssetDetailsByAssetIDRIS { - return GetAssetDetailsByAssetIDRIS{ GetAssetDetailsByAssetIDRISC: v} + return GetAssetDetailsByAssetIDRIS{ + GetAssetDetailsByAssetIDRISC: v, + } } @@ -32,7 +34,7 @@ func (dst *GetAssetDetailsByAssetIDRIS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into GetAssetDetailsByAssetIDRISC - err = json.Unmarshal(data, &dst.GetAssetDetailsByAssetIDRISC) + err = newStrictDecoder(data).Decode(&dst.GetAssetDetailsByAssetIDRISC) if err == nil { jsonGetAssetDetailsByAssetIDRISC, _ := json.Marshal(dst.GetAssetDetailsByAssetIDRISC) if string(jsonGetAssetDetailsByAssetIDRISC) == "{}" { // empty struct @@ -67,6 +69,9 @@ func (src GetAssetDetailsByAssetIDRIS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAssetDetailsByAssetIDRIS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetAssetDetailsByAssetIDRISC != nil { return obj.GetAssetDetailsByAssetIDRISC } diff --git a/model_get_asset_details_by_asset_idrisc.go b/model_get_asset_details_by_asset_idrisc.go index 84e72c1..5895ef6 100644 --- a/model_get_asset_details_by_asset_idrisc.go +++ b/model_get_asset_details_by_asset_idrisc.go @@ -73,7 +73,7 @@ func (o *GetAssetDetailsByAssetIDRISC) GetVar1HourPriceChangeInPercentage() stri // GetVar1HourPriceChangeInPercentageOk returns a tuple with the Var1HourPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRISC) GetVar1HourPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var1HourPriceChangeInPercentage, true @@ -97,7 +97,7 @@ func (o *GetAssetDetailsByAssetIDRISC) GetVar1WeekPriceChangeInPercentage() stri // GetVar1WeekPriceChangeInPercentageOk returns a tuple with the Var1WeekPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRISC) GetVar1WeekPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var1WeekPriceChangeInPercentage, true @@ -121,7 +121,7 @@ func (o *GetAssetDetailsByAssetIDRISC) GetVar24HoursPriceChangeInPercentage() st // GetVar24HoursPriceChangeInPercentageOk returns a tuple with the Var24HoursPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRISC) GetVar24HoursPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var24HoursPriceChangeInPercentage, true @@ -145,7 +145,7 @@ func (o *GetAssetDetailsByAssetIDRISC) GetVar24HoursTradingVolume() string { // GetVar24HoursTradingVolumeOk returns a tuple with the Var24HoursTradingVolume field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRISC) GetVar24HoursTradingVolumeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var24HoursTradingVolume, true @@ -169,7 +169,7 @@ func (o *GetAssetDetailsByAssetIDRISC) GetAssetType() string { // GetAssetTypeOk returns a tuple with the AssetType field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRISC) GetAssetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetType, true @@ -193,7 +193,7 @@ func (o *GetAssetDetailsByAssetIDRISC) GetCirculatingSupply() string { // GetCirculatingSupplyOk returns a tuple with the CirculatingSupply field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRISC) GetCirculatingSupplyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CirculatingSupply, true @@ -217,7 +217,7 @@ func (o *GetAssetDetailsByAssetIDRISC) GetMarketCapInUSD() string { // GetMarketCapInUSDOk returns a tuple with the MarketCapInUSD field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRISC) GetMarketCapInUSDOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MarketCapInUSD, true @@ -241,7 +241,7 @@ func (o *GetAssetDetailsByAssetIDRISC) GetMaxSupply() string { // GetMaxSupplyOk returns a tuple with the MaxSupply field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetIDRISC) GetMaxSupplyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MaxSupply, true diff --git a/model_get_asset_details_by_asset_symbol_e400.go b/model_get_asset_details_by_asset_symbol_e400.go index 9ed40b0..e25106b 100644 --- a/model_get_asset_details_by_asset_symbol_e400.go +++ b/model_get_asset_details_by_asset_symbol_e400.go @@ -25,17 +25,23 @@ type GetAssetDetailsByAssetSymbolE400 struct { // InvalidPaginationAsGetAssetDetailsByAssetSymbolE400 is a convenience function that returns InvalidPagination wrapped in GetAssetDetailsByAssetSymbolE400 func InvalidPaginationAsGetAssetDetailsByAssetSymbolE400(v *InvalidPagination) GetAssetDetailsByAssetSymbolE400 { - return GetAssetDetailsByAssetSymbolE400{ InvalidPagination: v} + return GetAssetDetailsByAssetSymbolE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetAssetDetailsByAssetSymbolE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetAssetDetailsByAssetSymbolE400 func LimitGreaterThanAllowedAsGetAssetDetailsByAssetSymbolE400(v *LimitGreaterThanAllowed) GetAssetDetailsByAssetSymbolE400 { - return GetAssetDetailsByAssetSymbolE400{ LimitGreaterThanAllowed: v} + return GetAssetDetailsByAssetSymbolE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetAssetDetailsByAssetSymbolE400 is a convenience function that returns UriNotFound wrapped in GetAssetDetailsByAssetSymbolE400 func UriNotFoundAsGetAssetDetailsByAssetSymbolE400(v *UriNotFound) GetAssetDetailsByAssetSymbolE400 { - return GetAssetDetailsByAssetSymbolE400{ UriNotFound: v} + return GetAssetDetailsByAssetSymbolE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetAssetDetailsByAssetSymbolE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetAssetDetailsByAssetSymbolE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetAssetDetailsByAssetSymbolE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetAssetDetailsByAssetSymbolE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAssetDetailsByAssetSymbolE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_asset_details_by_asset_symbol_e401.go b/model_get_asset_details_by_asset_symbol_e401.go index f06d571..992df43 100644 --- a/model_get_asset_details_by_asset_symbol_e401.go +++ b/model_get_asset_details_by_asset_symbol_e401.go @@ -24,12 +24,16 @@ type GetAssetDetailsByAssetSymbolE401 struct { // InvalidApiKeyAsGetAssetDetailsByAssetSymbolE401 is a convenience function that returns InvalidApiKey wrapped in GetAssetDetailsByAssetSymbolE401 func InvalidApiKeyAsGetAssetDetailsByAssetSymbolE401(v *InvalidApiKey) GetAssetDetailsByAssetSymbolE401 { - return GetAssetDetailsByAssetSymbolE401{ InvalidApiKey: v} + return GetAssetDetailsByAssetSymbolE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetAssetDetailsByAssetSymbolE401 is a convenience function that returns MissingApiKey wrapped in GetAssetDetailsByAssetSymbolE401 func MissingApiKeyAsGetAssetDetailsByAssetSymbolE401(v *MissingApiKey) GetAssetDetailsByAssetSymbolE401 { - return GetAssetDetailsByAssetSymbolE401{ MissingApiKey: v} + return GetAssetDetailsByAssetSymbolE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetAssetDetailsByAssetSymbolE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetAssetDetailsByAssetSymbolE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetAssetDetailsByAssetSymbolE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAssetDetailsByAssetSymbolE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_asset_details_by_asset_symbol_e403.go b/model_get_asset_details_by_asset_symbol_e403.go index 88057f1..8805de0 100644 --- a/model_get_asset_details_by_asset_symbol_e403.go +++ b/model_get_asset_details_by_asset_symbol_e403.go @@ -26,22 +26,30 @@ type GetAssetDetailsByAssetSymbolE403 struct { // BannedIpAddressAsGetAssetDetailsByAssetSymbolE403 is a convenience function that returns BannedIpAddress wrapped in GetAssetDetailsByAssetSymbolE403 func BannedIpAddressAsGetAssetDetailsByAssetSymbolE403(v *BannedIpAddress) GetAssetDetailsByAssetSymbolE403 { - return GetAssetDetailsByAssetSymbolE403{ BannedIpAddress: v} + return GetAssetDetailsByAssetSymbolE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetAssetDetailsByAssetSymbolE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetAssetDetailsByAssetSymbolE403 func EndpointNotAllowedForApiKeyAsGetAssetDetailsByAssetSymbolE403(v *EndpointNotAllowedForApiKey) GetAssetDetailsByAssetSymbolE403 { - return GetAssetDetailsByAssetSymbolE403{ EndpointNotAllowedForApiKey: v} + return GetAssetDetailsByAssetSymbolE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetAssetDetailsByAssetSymbolE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetAssetDetailsByAssetSymbolE403 func EndpointNotAllowedForPlanAsGetAssetDetailsByAssetSymbolE403(v *EndpointNotAllowedForPlan) GetAssetDetailsByAssetSymbolE403 { - return GetAssetDetailsByAssetSymbolE403{ EndpointNotAllowedForPlan: v} + return GetAssetDetailsByAssetSymbolE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetAssetDetailsByAssetSymbolE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetAssetDetailsByAssetSymbolE403 func FeatureMainnetsNotAllowedForPlanAsGetAssetDetailsByAssetSymbolE403(v *FeatureMainnetsNotAllowedForPlan) GetAssetDetailsByAssetSymbolE403 { - return GetAssetDetailsByAssetSymbolE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetAssetDetailsByAssetSymbolE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetAssetDetailsByAssetSymbolE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetAssetDetailsByAssetSymbolE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetAssetDetailsByAssetSymbolE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetAssetDetailsByAssetSymbolE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetAssetDetailsByAssetSymbolE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAssetDetailsByAssetSymbolE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_asset_details_by_asset_symbol_r.go b/model_get_asset_details_by_asset_symbol_r.go index dd8575a..839db89 100644 --- a/model_get_asset_details_by_asset_symbol_r.go +++ b/model_get_asset_details_by_asset_symbol_r.go @@ -59,7 +59,7 @@ func (o *GetAssetDetailsByAssetSymbolR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetAssetDetailsByAssetSymbolR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetAssetDetailsByAssetSymbolR) GetData() GetAssetDetailsByAssetSymbolRD // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolR) GetDataOk() (*GetAssetDetailsByAssetSymbolRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_asset_details_by_asset_symbol_r_data.go b/model_get_asset_details_by_asset_symbol_r_data.go index 4c665d8..ee9ce2e 100644 --- a/model_get_asset_details_by_asset_symbol_r_data.go +++ b/model_get_asset_details_by_asset_symbol_r_data.go @@ -51,7 +51,7 @@ func (o *GetAssetDetailsByAssetSymbolRData) GetItem() GetAssetDetailsByAssetSymb // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRData) GetItemOk() (*GetAssetDetailsByAssetSymbolRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_asset_details_by_asset_symbol_ri.go b/model_get_asset_details_by_asset_symbol_ri.go index ca8b5ff..2d7df3d 100644 --- a/model_get_asset_details_by_asset_symbol_ri.go +++ b/model_get_asset_details_by_asset_symbol_ri.go @@ -72,7 +72,7 @@ func (o *GetAssetDetailsByAssetSymbolRI) GetAssetId() string { // GetAssetIdOk returns a tuple with the AssetId field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRI) GetAssetIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetId, true @@ -96,7 +96,7 @@ func (o *GetAssetDetailsByAssetSymbolRI) GetAssetLogo() GetAssetDetailsByAssetID // GetAssetLogoOk returns a tuple with the AssetLogo field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRI) GetAssetLogoOk() (*GetAssetDetailsByAssetIDRIAssetLogo, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetLogo, true @@ -120,7 +120,7 @@ func (o *GetAssetDetailsByAssetSymbolRI) GetAssetName() string { // GetAssetNameOk returns a tuple with the AssetName field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRI) GetAssetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetName, true @@ -144,7 +144,7 @@ func (o *GetAssetDetailsByAssetSymbolRI) GetAssetOriginalSymbol() string { // GetAssetOriginalSymbolOk returns a tuple with the AssetOriginalSymbol field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRI) GetAssetOriginalSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetOriginalSymbol, true @@ -168,7 +168,7 @@ func (o *GetAssetDetailsByAssetSymbolRI) GetAssetSymbol() string { // GetAssetSymbolOk returns a tuple with the AssetSymbol field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRI) GetAssetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetSymbol, true @@ -192,7 +192,7 @@ func (o *GetAssetDetailsByAssetSymbolRI) GetAssetType() string { // GetAssetTypeOk returns a tuple with the AssetType field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRI) GetAssetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetType, true @@ -216,7 +216,7 @@ func (o *GetAssetDetailsByAssetSymbolRI) GetLatestRate() GetAssetDetailsByAssetI // GetLatestRateOk returns a tuple with the LatestRate field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRI) GetLatestRateOk() (*GetAssetDetailsByAssetIDRILatestRate, bool) { - if o == nil { + if o == nil { return nil, false } return &o.LatestRate, true @@ -272,7 +272,7 @@ func (o *GetAssetDetailsByAssetSymbolRI) GetSpecificData() GetAssetDetailsByAsse // GetSpecificDataOk returns a tuple with the SpecificData field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRI) GetSpecificDataOk() (*GetAssetDetailsByAssetSymbolRIS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SpecificData, true diff --git a/model_get_asset_details_by_asset_symbol_ris.go b/model_get_asset_details_by_asset_symbol_ris.go index dfebd53..637774c 100644 --- a/model_get_asset_details_by_asset_symbol_ris.go +++ b/model_get_asset_details_by_asset_symbol_ris.go @@ -23,7 +23,9 @@ type GetAssetDetailsByAssetSymbolRIS struct { // GetAssetDetailsByAssetSymbolRISCAsGetAssetDetailsByAssetSymbolRIS is a convenience function that returns GetAssetDetailsByAssetSymbolRISC wrapped in GetAssetDetailsByAssetSymbolRIS func GetAssetDetailsByAssetSymbolRISCAsGetAssetDetailsByAssetSymbolRIS(v *GetAssetDetailsByAssetSymbolRISC) GetAssetDetailsByAssetSymbolRIS { - return GetAssetDetailsByAssetSymbolRIS{ GetAssetDetailsByAssetSymbolRISC: v} + return GetAssetDetailsByAssetSymbolRIS{ + GetAssetDetailsByAssetSymbolRISC: v, + } } @@ -32,7 +34,7 @@ func (dst *GetAssetDetailsByAssetSymbolRIS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into GetAssetDetailsByAssetSymbolRISC - err = json.Unmarshal(data, &dst.GetAssetDetailsByAssetSymbolRISC) + err = newStrictDecoder(data).Decode(&dst.GetAssetDetailsByAssetSymbolRISC) if err == nil { jsonGetAssetDetailsByAssetSymbolRISC, _ := json.Marshal(dst.GetAssetDetailsByAssetSymbolRISC) if string(jsonGetAssetDetailsByAssetSymbolRISC) == "{}" { // empty struct @@ -67,6 +69,9 @@ func (src GetAssetDetailsByAssetSymbolRIS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetAssetDetailsByAssetSymbolRIS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetAssetDetailsByAssetSymbolRISC != nil { return obj.GetAssetDetailsByAssetSymbolRISC } diff --git a/model_get_asset_details_by_asset_symbol_risc.go b/model_get_asset_details_by_asset_symbol_risc.go index cf4993b..dfae8d1 100644 --- a/model_get_asset_details_by_asset_symbol_risc.go +++ b/model_get_asset_details_by_asset_symbol_risc.go @@ -73,7 +73,7 @@ func (o *GetAssetDetailsByAssetSymbolRISC) GetVar1HourPriceChangeInPercentage() // GetVar1HourPriceChangeInPercentageOk returns a tuple with the Var1HourPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRISC) GetVar1HourPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var1HourPriceChangeInPercentage, true @@ -97,7 +97,7 @@ func (o *GetAssetDetailsByAssetSymbolRISC) GetVar1WeekPriceChangeInPercentage() // GetVar1WeekPriceChangeInPercentageOk returns a tuple with the Var1WeekPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRISC) GetVar1WeekPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var1WeekPriceChangeInPercentage, true @@ -121,7 +121,7 @@ func (o *GetAssetDetailsByAssetSymbolRISC) GetVar24HoursPriceChangeInPercentage( // GetVar24HoursPriceChangeInPercentageOk returns a tuple with the Var24HoursPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRISC) GetVar24HoursPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var24HoursPriceChangeInPercentage, true @@ -145,7 +145,7 @@ func (o *GetAssetDetailsByAssetSymbolRISC) GetVar24HoursTradingVolume() string { // GetVar24HoursTradingVolumeOk returns a tuple with the Var24HoursTradingVolume field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRISC) GetVar24HoursTradingVolumeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var24HoursTradingVolume, true @@ -169,7 +169,7 @@ func (o *GetAssetDetailsByAssetSymbolRISC) GetAssetType() string { // GetAssetTypeOk returns a tuple with the AssetType field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRISC) GetAssetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetType, true @@ -193,7 +193,7 @@ func (o *GetAssetDetailsByAssetSymbolRISC) GetCirculatingSupply() string { // GetCirculatingSupplyOk returns a tuple with the CirculatingSupply field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRISC) GetCirculatingSupplyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CirculatingSupply, true @@ -217,7 +217,7 @@ func (o *GetAssetDetailsByAssetSymbolRISC) GetMarketCapInUSD() string { // GetMarketCapInUSDOk returns a tuple with the MarketCapInUSD field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRISC) GetMarketCapInUSDOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MarketCapInUSD, true @@ -241,7 +241,7 @@ func (o *GetAssetDetailsByAssetSymbolRISC) GetMaxSupply() string { // GetMaxSupplyOk returns a tuple with the MaxSupply field value // and a boolean to check if the value has been set. func (o *GetAssetDetailsByAssetSymbolRISC) GetMaxSupplyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MaxSupply, true diff --git a/model_get_block_details_by_block_hash_e400.go b/model_get_block_details_by_block_hash_e400.go index 630dca8..80a30c9 100644 --- a/model_get_block_details_by_block_hash_e400.go +++ b/model_get_block_details_by_block_hash_e400.go @@ -25,17 +25,23 @@ type GetBlockDetailsByBlockHashE400 struct { // InvalidPaginationAsGetBlockDetailsByBlockHashE400 is a convenience function that returns InvalidPagination wrapped in GetBlockDetailsByBlockHashE400 func InvalidPaginationAsGetBlockDetailsByBlockHashE400(v *InvalidPagination) GetBlockDetailsByBlockHashE400 { - return GetBlockDetailsByBlockHashE400{ InvalidPagination: v} + return GetBlockDetailsByBlockHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetBlockDetailsByBlockHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetBlockDetailsByBlockHashE400 func LimitGreaterThanAllowedAsGetBlockDetailsByBlockHashE400(v *LimitGreaterThanAllowed) GetBlockDetailsByBlockHashE400 { - return GetBlockDetailsByBlockHashE400{ LimitGreaterThanAllowed: v} + return GetBlockDetailsByBlockHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetBlockDetailsByBlockHashE400 is a convenience function that returns UriNotFound wrapped in GetBlockDetailsByBlockHashE400 func UriNotFoundAsGetBlockDetailsByBlockHashE400(v *UriNotFound) GetBlockDetailsByBlockHashE400 { - return GetBlockDetailsByBlockHashE400{ UriNotFound: v} + return GetBlockDetailsByBlockHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetBlockDetailsByBlockHashE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetBlockDetailsByBlockHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_block_details_by_block_hash_e401.go b/model_get_block_details_by_block_hash_e401.go index 100a87a..42811fb 100644 --- a/model_get_block_details_by_block_hash_e401.go +++ b/model_get_block_details_by_block_hash_e401.go @@ -24,12 +24,16 @@ type GetBlockDetailsByBlockHashE401 struct { // InvalidApiKeyAsGetBlockDetailsByBlockHashE401 is a convenience function that returns InvalidApiKey wrapped in GetBlockDetailsByBlockHashE401 func InvalidApiKeyAsGetBlockDetailsByBlockHashE401(v *InvalidApiKey) GetBlockDetailsByBlockHashE401 { - return GetBlockDetailsByBlockHashE401{ InvalidApiKey: v} + return GetBlockDetailsByBlockHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetBlockDetailsByBlockHashE401 is a convenience function that returns MissingApiKey wrapped in GetBlockDetailsByBlockHashE401 func MissingApiKeyAsGetBlockDetailsByBlockHashE401(v *MissingApiKey) GetBlockDetailsByBlockHashE401 { - return GetBlockDetailsByBlockHashE401{ MissingApiKey: v} + return GetBlockDetailsByBlockHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetBlockDetailsByBlockHashE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetBlockDetailsByBlockHashE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetBlockDetailsByBlockHashE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetBlockDetailsByBlockHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_block_details_by_block_hash_e403.go b/model_get_block_details_by_block_hash_e403.go index 6ef2116..1d7da08 100644 --- a/model_get_block_details_by_block_hash_e403.go +++ b/model_get_block_details_by_block_hash_e403.go @@ -26,22 +26,30 @@ type GetBlockDetailsByBlockHashE403 struct { // BannedIpAddressAsGetBlockDetailsByBlockHashE403 is a convenience function that returns BannedIpAddress wrapped in GetBlockDetailsByBlockHashE403 func BannedIpAddressAsGetBlockDetailsByBlockHashE403(v *BannedIpAddress) GetBlockDetailsByBlockHashE403 { - return GetBlockDetailsByBlockHashE403{ BannedIpAddress: v} + return GetBlockDetailsByBlockHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetBlockDetailsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetBlockDetailsByBlockHashE403 func EndpointNotAllowedForApiKeyAsGetBlockDetailsByBlockHashE403(v *EndpointNotAllowedForApiKey) GetBlockDetailsByBlockHashE403 { - return GetBlockDetailsByBlockHashE403{ EndpointNotAllowedForApiKey: v} + return GetBlockDetailsByBlockHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetBlockDetailsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetBlockDetailsByBlockHashE403 func EndpointNotAllowedForPlanAsGetBlockDetailsByBlockHashE403(v *EndpointNotAllowedForPlan) GetBlockDetailsByBlockHashE403 { - return GetBlockDetailsByBlockHashE403{ EndpointNotAllowedForPlan: v} + return GetBlockDetailsByBlockHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetBlockDetailsByBlockHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetBlockDetailsByBlockHashE403 func FeatureMainnetsNotAllowedForPlanAsGetBlockDetailsByBlockHashE403(v *FeatureMainnetsNotAllowedForPlan) GetBlockDetailsByBlockHashE403 { - return GetBlockDetailsByBlockHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetBlockDetailsByBlockHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetBlockDetailsByBlockHashE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetBlockDetailsByBlockHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_block_details_by_block_hash_from_callback_e400.go b/model_get_block_details_by_block_hash_from_callback_e400.go index e4f094f..7ddb349 100644 --- a/model_get_block_details_by_block_hash_from_callback_e400.go +++ b/model_get_block_details_by_block_hash_from_callback_e400.go @@ -25,17 +25,23 @@ type GetBlockDetailsByBlockHashFromCallbackE400 struct { // InvalidPaginationAsGetBlockDetailsByBlockHashFromCallbackE400 is a convenience function that returns InvalidPagination wrapped in GetBlockDetailsByBlockHashFromCallbackE400 func InvalidPaginationAsGetBlockDetailsByBlockHashFromCallbackE400(v *InvalidPagination) GetBlockDetailsByBlockHashFromCallbackE400 { - return GetBlockDetailsByBlockHashFromCallbackE400{ InvalidPagination: v} + return GetBlockDetailsByBlockHashFromCallbackE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetBlockDetailsByBlockHashFromCallbackE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetBlockDetailsByBlockHashFromCallbackE400 func LimitGreaterThanAllowedAsGetBlockDetailsByBlockHashFromCallbackE400(v *LimitGreaterThanAllowed) GetBlockDetailsByBlockHashFromCallbackE400 { - return GetBlockDetailsByBlockHashFromCallbackE400{ LimitGreaterThanAllowed: v} + return GetBlockDetailsByBlockHashFromCallbackE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetBlockDetailsByBlockHashFromCallbackE400 is a convenience function that returns UriNotFound wrapped in GetBlockDetailsByBlockHashFromCallbackE400 func UriNotFoundAsGetBlockDetailsByBlockHashFromCallbackE400(v *UriNotFound) GetBlockDetailsByBlockHashFromCallbackE400 { - return GetBlockDetailsByBlockHashFromCallbackE400{ UriNotFound: v} + return GetBlockDetailsByBlockHashFromCallbackE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE400) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE400) UnmarshalJSON(data []byte } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE400) UnmarshalJSON(data []byte } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetBlockDetailsByBlockHashFromCallbackE400) MarshalJSON() ([]byte, err // Get the actual instance func (obj *GetBlockDetailsByBlockHashFromCallbackE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_block_details_by_block_hash_from_callback_e401.go b/model_get_block_details_by_block_hash_from_callback_e401.go index 61c6be9..972ba69 100644 --- a/model_get_block_details_by_block_hash_from_callback_e401.go +++ b/model_get_block_details_by_block_hash_from_callback_e401.go @@ -24,12 +24,16 @@ type GetBlockDetailsByBlockHashFromCallbackE401 struct { // InvalidApiKeyAsGetBlockDetailsByBlockHashFromCallbackE401 is a convenience function that returns InvalidApiKey wrapped in GetBlockDetailsByBlockHashFromCallbackE401 func InvalidApiKeyAsGetBlockDetailsByBlockHashFromCallbackE401(v *InvalidApiKey) GetBlockDetailsByBlockHashFromCallbackE401 { - return GetBlockDetailsByBlockHashFromCallbackE401{ InvalidApiKey: v} + return GetBlockDetailsByBlockHashFromCallbackE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetBlockDetailsByBlockHashFromCallbackE401 is a convenience function that returns MissingApiKey wrapped in GetBlockDetailsByBlockHashFromCallbackE401 func MissingApiKeyAsGetBlockDetailsByBlockHashFromCallbackE401(v *MissingApiKey) GetBlockDetailsByBlockHashFromCallbackE401 { - return GetBlockDetailsByBlockHashFromCallbackE401{ MissingApiKey: v} + return GetBlockDetailsByBlockHashFromCallbackE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE401) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE401) UnmarshalJSON(data []byte } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetBlockDetailsByBlockHashFromCallbackE401) MarshalJSON() ([]byte, err // Get the actual instance func (obj *GetBlockDetailsByBlockHashFromCallbackE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_block_details_by_block_hash_from_callback_e403.go b/model_get_block_details_by_block_hash_from_callback_e403.go index 37786a7..f11c145 100644 --- a/model_get_block_details_by_block_hash_from_callback_e403.go +++ b/model_get_block_details_by_block_hash_from_callback_e403.go @@ -26,22 +26,30 @@ type GetBlockDetailsByBlockHashFromCallbackE403 struct { // BannedIpAddressAsGetBlockDetailsByBlockHashFromCallbackE403 is a convenience function that returns BannedIpAddress wrapped in GetBlockDetailsByBlockHashFromCallbackE403 func BannedIpAddressAsGetBlockDetailsByBlockHashFromCallbackE403(v *BannedIpAddress) GetBlockDetailsByBlockHashFromCallbackE403 { - return GetBlockDetailsByBlockHashFromCallbackE403{ BannedIpAddress: v} + return GetBlockDetailsByBlockHashFromCallbackE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetBlockDetailsByBlockHashFromCallbackE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetBlockDetailsByBlockHashFromCallbackE403 func EndpointNotAllowedForApiKeyAsGetBlockDetailsByBlockHashFromCallbackE403(v *EndpointNotAllowedForApiKey) GetBlockDetailsByBlockHashFromCallbackE403 { - return GetBlockDetailsByBlockHashFromCallbackE403{ EndpointNotAllowedForApiKey: v} + return GetBlockDetailsByBlockHashFromCallbackE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetBlockDetailsByBlockHashFromCallbackE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetBlockDetailsByBlockHashFromCallbackE403 func EndpointNotAllowedForPlanAsGetBlockDetailsByBlockHashFromCallbackE403(v *EndpointNotAllowedForPlan) GetBlockDetailsByBlockHashFromCallbackE403 { - return GetBlockDetailsByBlockHashFromCallbackE403{ EndpointNotAllowedForPlan: v} + return GetBlockDetailsByBlockHashFromCallbackE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetBlockDetailsByBlockHashFromCallbackE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetBlockDetailsByBlockHashFromCallbackE403 func FeatureMainnetsNotAllowedForPlanAsGetBlockDetailsByBlockHashFromCallbackE403(v *FeatureMainnetsNotAllowedForPlan) GetBlockDetailsByBlockHashFromCallbackE403 { - return GetBlockDetailsByBlockHashFromCallbackE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetBlockDetailsByBlockHashFromCallbackE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE403) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE403) UnmarshalJSON(data []byte } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE403) UnmarshalJSON(data []byte } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackE403) UnmarshalJSON(data []byte } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetBlockDetailsByBlockHashFromCallbackE403) MarshalJSON() ([]byte, err // Get the actual instance func (obj *GetBlockDetailsByBlockHashFromCallbackE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_block_details_by_block_hash_from_callback_r.go b/model_get_block_details_by_block_hash_from_callback_r.go index 4aca397..5be8070 100644 --- a/model_get_block_details_by_block_hash_from_callback_r.go +++ b/model_get_block_details_by_block_hash_from_callback_r.go @@ -59,7 +59,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackR) GetData() GetBlockDetailsByBlo // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackR) GetDataOk() (*GetBlockDetailsByBlockHashFromCallbackRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_block_details_by_block_hash_from_callback_r_data.go b/model_get_block_details_by_block_hash_from_callback_r_data.go index cadd6c9..9c60e96 100644 --- a/model_get_block_details_by_block_hash_from_callback_r_data.go +++ b/model_get_block_details_by_block_hash_from_callback_r_data.go @@ -51,7 +51,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRData) GetItem() GetBlockDetailsB // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRData) GetItemOk() (*GetBlockDetailsByBlockHashFromCallbackRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_block_details_by_block_hash_from_callback_ri.go b/model_get_block_details_by_block_hash_from_callback_ri.go index 471b6b2..2679fd6 100644 --- a/model_get_block_details_by_block_hash_from_callback_ri.go +++ b/model_get_block_details_by_block_hash_from_callback_ri.go @@ -66,7 +66,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetHash() string { // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -90,7 +90,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetHeight() int32 { // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -114,7 +114,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetPreviousBlockHash() string // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -138,7 +138,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -162,7 +162,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetTransactionsCount() int32 // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -186,7 +186,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetBlockchainSpecific() GetBl // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRI) GetBlockchainSpecificOk() (*GetBlockDetailsByBlockHashFromCallbackRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_get_block_details_by_block_hash_from_callback_ribs.go b/model_get_block_details_by_block_hash_from_callback_ribs.go index 50d8530..188bea7 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribs.go +++ b/model_get_block_details_by_block_hash_from_callback_ribs.go @@ -33,57 +33,79 @@ type GetBlockDetailsByBlockHashFromCallbackRIBS struct { // GetBlockDetailsByBlockHashFromCallbackRIBSBAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSB wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSBAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSB: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSB: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSBCAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSBC wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSBCAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSBC: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSBC: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSBSCAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSBSC wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSBSCAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSBSC: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSBSC: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSDAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSD wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSDAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSD: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSD: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSD2AsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSD2 wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSD2AsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSD2: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSD2: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSEAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSE wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSEAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSE: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSE: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSECAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSEC wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSECAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSEC: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSEC: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSLAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSL wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSLAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSL: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSL: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSXAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSX wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSXAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSX) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSX: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSX: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSZAsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSZ wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSZAsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSZ: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSZ: v, + } } // GetBlockDetailsByBlockHashFromCallbackRIBSZ2AsGetBlockDetailsByBlockHashFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHashFromCallbackRIBSZ2 wrapped in GetBlockDetailsByBlockHashFromCallbackRIBS func GetBlockDetailsByBlockHashFromCallbackRIBSZ2AsGetBlockDetailsByBlockHashFromCallbackRIBS(v *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetBlockDetailsByBlockHashFromCallbackRIBS { - return GetBlockDetailsByBlockHashFromCallbackRIBS{ GetBlockDetailsByBlockHashFromCallbackRIBSZ2: v} + return GetBlockDetailsByBlockHashFromCallbackRIBS{ + GetBlockDetailsByBlockHashFromCallbackRIBSZ2: v, + } } @@ -92,7 +114,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSB - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSB) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSB) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSB, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSB) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSB) == "{}" { // empty struct @@ -105,7 +127,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSBC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSBC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSBC) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSBC, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSBC) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSBC) == "{}" { // empty struct @@ -118,7 +140,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSBSC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSBSC) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSBSC, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSBSC) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSBSC) == "{}" { // empty struct @@ -131,7 +153,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSD - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSD) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSD) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSD, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSD) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSD) == "{}" { // empty struct @@ -144,7 +166,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSD2 - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSD2) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSD2) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSD2, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSD2) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSD2) == "{}" { // empty struct @@ -157,7 +179,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSE - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSE) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSE) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSE, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSE) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSE) == "{}" { // empty struct @@ -170,7 +192,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSEC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSEC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSEC) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSEC, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSEC) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSEC) == "{}" { // empty struct @@ -183,7 +205,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSL - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSL) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSL) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSL, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSL) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSL) == "{}" { // empty struct @@ -196,7 +218,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSX - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSX) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSX) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSX, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSX) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSX) == "{}" { // empty struct @@ -209,7 +231,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSZ - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSZ) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSZ) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSZ, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSZ) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSZ) == "{}" { // empty struct @@ -222,7 +244,7 @@ func (dst *GetBlockDetailsByBlockHashFromCallbackRIBS) UnmarshalJSON(data []byte } // try to unmarshal data into GetBlockDetailsByBlockHashFromCallbackRIBSZ2 - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashFromCallbackRIBSZ2) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashFromCallbackRIBSZ2) if err == nil { jsonGetBlockDetailsByBlockHashFromCallbackRIBSZ2, _ := json.Marshal(dst.GetBlockDetailsByBlockHashFromCallbackRIBSZ2) if string(jsonGetBlockDetailsByBlockHashFromCallbackRIBSZ2) == "{}" { // empty struct @@ -307,6 +329,9 @@ func (src GetBlockDetailsByBlockHashFromCallbackRIBS) MarshalJSON() ([]byte, err // Get the actual instance func (obj *GetBlockDetailsByBlockHashFromCallbackRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetBlockDetailsByBlockHashFromCallbackRIBSB != nil { return obj.GetBlockDetailsByBlockHashFromCallbackRIBSB } diff --git a/model_get_block_details_by_block_hash_from_callback_ribsb.go b/model_get_block_details_by_block_hash_from_callback_ribsb.go index f5d7824..4bd5ac2 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsb.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsb.go @@ -79,7 +79,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -103,7 +103,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -127,7 +127,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -151,7 +151,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -175,7 +175,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -199,7 +199,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -223,7 +223,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSB) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_hash_from_callback_ribsbc.go b/model_get_block_details_by_block_hash_from_callback_ribsbc.go index 86b791e..8b3cdfd 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsbc.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsbc.go @@ -73,7 +73,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -97,7 +97,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -121,7 +121,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -145,7 +145,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -169,7 +169,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -193,7 +193,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -217,7 +217,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBC) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_block_details_by_block_hash_from_callback_ribsbsc.go b/model_get_block_details_by_block_hash_from_callback_ribsbsc.go index 778e85b..a5c926a 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsbsc.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsbsc.go @@ -35,7 +35,7 @@ type GetBlockDetailsByBlockHashFromCallbackRIBSBSC struct { Size int32 `json:"size"` // Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block TotalDifficulty string `json:"totalDifficulty"` - Uncles *[]string `json:"uncles,omitempty"` + Uncles []string `json:"uncles,omitempty"` } // NewGetBlockDetailsByBlockHashFromCallbackRIBSBSC instantiates a new GetBlockDetailsByBlockHashFromCallbackRIBSBSC object @@ -77,7 +77,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -101,7 +101,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -125,7 +125,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -149,7 +149,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -173,7 +173,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetMinedInSeconds() int3 // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -197,7 +197,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -221,7 +221,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -245,7 +245,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -269,7 +269,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetTotalDifficulty() str // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -286,12 +286,12 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetUncles() []string { var ret []string return ret } - return *o.Uncles + return o.Uncles } // GetUnclesOk returns a tuple with the Uncles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetUnclesOk() (*[]string, bool) { +func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) GetUnclesOk() ([]string, bool) { if o == nil || o.Uncles == nil { return nil, false } @@ -309,7 +309,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) HasUncles() bool { // SetUncles gets a reference to the given []string and assigns it to the Uncles field. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSBSC) SetUncles(v []string) { - o.Uncles = &v + o.Uncles = v } func (o GetBlockDetailsByBlockHashFromCallbackRIBSBSC) MarshalJSON() ([]byte, error) { diff --git a/model_get_block_details_by_block_hash_from_callback_ribsd.go b/model_get_block_details_by_block_hash_from_callback_ribsd.go index f2bd286..da1e013 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsd.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsd.go @@ -73,7 +73,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -97,7 +97,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -121,7 +121,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -145,7 +145,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -169,7 +169,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -193,7 +193,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -217,7 +217,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_block_details_by_block_hash_from_callback_ribsd2.go b/model_get_block_details_by_block_hash_from_callback_ribsd2.go index b8064bd..845a9e5 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsd2.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsd2.go @@ -76,7 +76,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -100,7 +100,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -124,7 +124,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -148,7 +148,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -172,7 +172,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -196,7 +196,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -220,7 +220,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -244,7 +244,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -268,7 +268,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSD2) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_hash_from_callback_ribse.go b/model_get_block_details_by_block_hash_from_callback_ribse.go index 519fe21..a4ef64f 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribse.go +++ b/model_get_block_details_by_block_hash_from_callback_ribse.go @@ -35,7 +35,7 @@ type GetBlockDetailsByBlockHashFromCallbackRIBSE struct { Size int32 `json:"size"` // Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block. TotalDifficulty string `json:"totalDifficulty"` - Uncles *[]string `json:"uncles,omitempty"` + Uncles []string `json:"uncles,omitempty"` } // NewGetBlockDetailsByBlockHashFromCallbackRIBSE instantiates a new GetBlockDetailsByBlockHashFromCallbackRIBSE object @@ -77,7 +77,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -101,7 +101,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -125,7 +125,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -149,7 +149,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -173,7 +173,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetMinedInSeconds() int32 // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -197,7 +197,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -221,7 +221,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -245,7 +245,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -269,7 +269,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetTotalDifficulty() strin // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -286,12 +286,12 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetUncles() []string { var ret []string return ret } - return *o.Uncles + return o.Uncles } // GetUnclesOk returns a tuple with the Uncles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetUnclesOk() (*[]string, bool) { +func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) GetUnclesOk() ([]string, bool) { if o == nil || o.Uncles == nil { return nil, false } @@ -309,7 +309,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) HasUncles() bool { // SetUncles gets a reference to the given []string and assigns it to the Uncles field. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSE) SetUncles(v []string) { - o.Uncles = &v + o.Uncles = v } func (o GetBlockDetailsByBlockHashFromCallbackRIBSE) MarshalJSON() ([]byte, error) { diff --git a/model_get_block_details_by_block_hash_from_callback_ribsec.go b/model_get_block_details_by_block_hash_from_callback_ribsec.go index 793f4ad..f8c6265 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsec.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsec.go @@ -35,7 +35,7 @@ type GetBlockDetailsByBlockHashFromCallbackRIBSEC struct { Size int32 `json:"size"` // Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block. TotalDifficulty string `json:"totalDifficulty"` - Uncles *[]string `json:"uncles,omitempty"` + Uncles []string `json:"uncles,omitempty"` } // NewGetBlockDetailsByBlockHashFromCallbackRIBSEC instantiates a new GetBlockDetailsByBlockHashFromCallbackRIBSEC object @@ -77,7 +77,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -101,7 +101,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -125,7 +125,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -149,7 +149,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -173,7 +173,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetMinedInSeconds() int32 // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -197,7 +197,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -221,7 +221,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -245,7 +245,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -269,7 +269,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetTotalDifficulty() stri // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -286,12 +286,12 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetUncles() []string { var ret []string return ret } - return *o.Uncles + return o.Uncles } // GetUnclesOk returns a tuple with the Uncles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetUnclesOk() (*[]string, bool) { +func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) GetUnclesOk() ([]string, bool) { if o == nil || o.Uncles == nil { return nil, false } @@ -309,7 +309,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) HasUncles() bool { // SetUncles gets a reference to the given []string and assigns it to the Uncles field. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSEC) SetUncles(v []string) { - o.Uncles = &v + o.Uncles = v } func (o GetBlockDetailsByBlockHashFromCallbackRIBSEC) MarshalJSON() ([]byte, error) { diff --git a/model_get_block_details_by_block_hash_from_callback_ribsl.go b/model_get_block_details_by_block_hash_from_callback_ribsl.go index e5ef73c..0f68745 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsl.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsl.go @@ -79,7 +79,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -103,7 +103,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -127,7 +127,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -151,7 +151,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -175,7 +175,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -199,7 +199,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -223,7 +223,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetStrippedsize() int32 { // GetStrippedsizeOk returns a tuple with the Strippedsize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetStrippedsizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Strippedsize, true @@ -247,7 +247,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSL) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_hash_from_callback_ribsx.go b/model_get_block_details_by_block_hash_from_callback_ribsx.go index 05ef16b..73802f4 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsx.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsx.go @@ -53,7 +53,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSX) GetTotalCoins() GetLatestM // GetTotalCoinsOk returns a tuple with the TotalCoins field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSX) GetTotalCoinsOk() (*GetLatestMinedXRPRippleBlockRITotalCoins, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalCoins, true @@ -77,7 +77,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSX) GetTotalFees() GetLatestMi // GetTotalFeesOk returns a tuple with the TotalFees field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSX) GetTotalFeesOk() (*GetLatestMinedXRPRippleBlockRITotalFees, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalFees, true diff --git a/model_get_block_details_by_block_hash_from_callback_ribsz.go b/model_get_block_details_by_block_hash_from_callback_ribsz.go index e53a0d8..c3bdf2e 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsz.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsz.go @@ -69,7 +69,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -93,7 +93,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetDsBlock() int32 { // GetDsBlockOk returns a tuple with the DsBlock field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetDsBlockOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsBlock, true @@ -117,7 +117,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetDsDifficulty() string { // GetDsDifficultyOk returns a tuple with the DsDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetDsDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsDifficulty, true @@ -141,7 +141,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetDsLeader() string { // GetDsLeaderOk returns a tuple with the DsLeader field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetDsLeaderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsLeader, true @@ -165,7 +165,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -189,7 +189,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -212,11 +212,11 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetMicroBlocks() []string // GetMicroBlocksOk returns a tuple with the MicroBlocks field value // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetMicroBlocksOk() (*[]string, bool) { - if o == nil { +func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ) GetMicroBlocksOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.MicroBlocks, true + return o.MicroBlocks, true } // SetMicroBlocks sets field value diff --git a/model_get_block_details_by_block_hash_from_callback_ribsz2.go b/model_get_block_details_by_block_hash_from_callback_ribsz2.go index a32aae6..4047ee3 100644 --- a/model_get_block_details_by_block_hash_from_callback_ribsz2.go +++ b/model_get_block_details_by_block_hash_from_callback_ribsz2.go @@ -67,7 +67,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -91,7 +91,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -115,7 +115,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -139,7 +139,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -163,7 +163,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -187,7 +187,7 @@ func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashFromCallbackRIBSZ2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true diff --git a/model_get_block_details_by_block_hash_r.go b/model_get_block_details_by_block_hash_r.go index d555e0e..a556b5a 100644 --- a/model_get_block_details_by_block_hash_r.go +++ b/model_get_block_details_by_block_hash_r.go @@ -59,7 +59,7 @@ func (o *GetBlockDetailsByBlockHashR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetBlockDetailsByBlockHashR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetBlockDetailsByBlockHashR) GetData() GetBlockDetailsByBlockHashRData // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashR) GetDataOk() (*GetBlockDetailsByBlockHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_block_details_by_block_hash_r_data.go b/model_get_block_details_by_block_hash_r_data.go index 07e2cc2..6cd09fb 100644 --- a/model_get_block_details_by_block_hash_r_data.go +++ b/model_get_block_details_by_block_hash_r_data.go @@ -51,7 +51,7 @@ func (o *GetBlockDetailsByBlockHashRData) GetItem() GetBlockDetailsByBlockHashRI // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRData) GetItemOk() (*GetBlockDetailsByBlockHashRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_block_details_by_block_hash_ri.go b/model_get_block_details_by_block_hash_ri.go index 1ec044c..19316bb 100644 --- a/model_get_block_details_by_block_hash_ri.go +++ b/model_get_block_details_by_block_hash_ri.go @@ -69,7 +69,7 @@ func (o *GetBlockDetailsByBlockHashRI) GetHash() string { // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRI) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -93,7 +93,7 @@ func (o *GetBlockDetailsByBlockHashRI) GetHeight() int32 { // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRI) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -117,7 +117,7 @@ func (o *GetBlockDetailsByBlockHashRI) GetNextBlockHash() string { // GetNextBlockHashOk returns a tuple with the NextBlockHash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRI) GetNextBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.NextBlockHash, true @@ -141,7 +141,7 @@ func (o *GetBlockDetailsByBlockHashRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -165,7 +165,7 @@ func (o *GetBlockDetailsByBlockHashRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -189,7 +189,7 @@ func (o *GetBlockDetailsByBlockHashRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -213,7 +213,7 @@ func (o *GetBlockDetailsByBlockHashRI) GetBlockchainSpecific() GetBlockDetailsBy // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRI) GetBlockchainSpecificOk() (*GetBlockDetailsByBlockHashRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_get_block_details_by_block_hash_ribs.go b/model_get_block_details_by_block_hash_ribs.go index 866a095..f5005e9 100644 --- a/model_get_block_details_by_block_hash_ribs.go +++ b/model_get_block_details_by_block_hash_ribs.go @@ -31,47 +31,65 @@ type GetBlockDetailsByBlockHashRIBS struct { // GetBlockDetailsByBlockHashRIBSBAsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSB wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSBAsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSB) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSB: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSB: v, + } } // GetBlockDetailsByBlockHashRIBSBCAsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSBC wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSBCAsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSBC) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSBC: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSBC: v, + } } // GetBlockDetailsByBlockHashRIBSBSCAsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSBSC wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSBSCAsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSBSC) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSBSC: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSBSC: v, + } } // GetBlockDetailsByBlockHashRIBSDAsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSD wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSDAsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSD) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSD: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSD: v, + } } // GetBlockDetailsByBlockHashRIBSD2AsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSD2 wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSD2AsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSD2) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSD2: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSD2: v, + } } // GetBlockDetailsByBlockHashRIBSEAsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSE wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSEAsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSE) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSE: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSE: v, + } } // GetBlockDetailsByBlockHashRIBSECAsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSEC wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSECAsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSEC) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSEC: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSEC: v, + } } // GetBlockDetailsByBlockHashRIBSLAsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSL wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSLAsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSL) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSL: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSL: v, + } } // GetBlockDetailsByBlockHashRIBSZAsGetBlockDetailsByBlockHashRIBS is a convenience function that returns GetBlockDetailsByBlockHashRIBSZ wrapped in GetBlockDetailsByBlockHashRIBS func GetBlockDetailsByBlockHashRIBSZAsGetBlockDetailsByBlockHashRIBS(v *GetBlockDetailsByBlockHashRIBSZ) GetBlockDetailsByBlockHashRIBS { - return GetBlockDetailsByBlockHashRIBS{ GetBlockDetailsByBlockHashRIBSZ: v} + return GetBlockDetailsByBlockHashRIBS{ + GetBlockDetailsByBlockHashRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into GetBlockDetailsByBlockHashRIBSB - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSB) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSB) if err == nil { jsonGetBlockDetailsByBlockHashRIBSB, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSB) if string(jsonGetBlockDetailsByBlockHashRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHashRIBSBC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSBC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSBC) if err == nil { jsonGetBlockDetailsByBlockHashRIBSBC, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSBC) if string(jsonGetBlockDetailsByBlockHashRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHashRIBSBSC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSBSC) if err == nil { jsonGetBlockDetailsByBlockHashRIBSBSC, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSBSC) if string(jsonGetBlockDetailsByBlockHashRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHashRIBSD - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSD) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSD) if err == nil { jsonGetBlockDetailsByBlockHashRIBSD, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSD) if string(jsonGetBlockDetailsByBlockHashRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHashRIBSD2 - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSD2) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSD2) if err == nil { jsonGetBlockDetailsByBlockHashRIBSD2, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSD2) if string(jsonGetBlockDetailsByBlockHashRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHashRIBSE - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSE) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSE) if err == nil { jsonGetBlockDetailsByBlockHashRIBSE, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSE) if string(jsonGetBlockDetailsByBlockHashRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHashRIBSEC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSEC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSEC) if err == nil { jsonGetBlockDetailsByBlockHashRIBSEC, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSEC) if string(jsonGetBlockDetailsByBlockHashRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHashRIBSL - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSL) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSL) if err == nil { jsonGetBlockDetailsByBlockHashRIBSL, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSL) if string(jsonGetBlockDetailsByBlockHashRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *GetBlockDetailsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHashRIBSZ - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHashRIBSZ) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHashRIBSZ) if err == nil { jsonGetBlockDetailsByBlockHashRIBSZ, _ := json.Marshal(dst.GetBlockDetailsByBlockHashRIBSZ) if string(jsonGetBlockDetailsByBlockHashRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src GetBlockDetailsByBlockHashRIBS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetBlockDetailsByBlockHashRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetBlockDetailsByBlockHashRIBSB != nil { return obj.GetBlockDetailsByBlockHashRIBSB } diff --git a/model_get_block_details_by_block_hash_ribsb.go b/model_get_block_details_by_block_hash_ribsb.go index 2b544ef..ab55edf 100644 --- a/model_get_block_details_by_block_hash_ribsb.go +++ b/model_get_block_details_by_block_hash_ribsb.go @@ -79,7 +79,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -103,7 +103,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -127,7 +127,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -151,7 +151,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -175,7 +175,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -199,7 +199,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -223,7 +223,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetBlockDetailsByBlockHashRIBSB) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSB) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_hash_ribsbc.go b/model_get_block_details_by_block_hash_ribsbc.go index be2ec6b..89c6999 100644 --- a/model_get_block_details_by_block_hash_ribsbc.go +++ b/model_get_block_details_by_block_hash_ribsbc.go @@ -73,7 +73,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -97,7 +97,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -121,7 +121,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -145,7 +145,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBC) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBC) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -169,7 +169,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBC) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBC) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -193,7 +193,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBC) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBC) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -217,7 +217,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBC) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBC) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_block_details_by_block_hash_ribsbsc.go b/model_get_block_details_by_block_hash_ribsbsc.go index b7eadbf..b1433fd 100644 --- a/model_get_block_details_by_block_hash_ribsbsc.go +++ b/model_get_block_details_by_block_hash_ribsbsc.go @@ -76,7 +76,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -100,7 +100,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -124,7 +124,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -148,7 +148,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -172,7 +172,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -196,7 +196,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -220,7 +220,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -244,7 +244,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -268,7 +268,7 @@ func (o *GetBlockDetailsByBlockHashRIBSBSC) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSBSC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true diff --git a/model_get_block_details_by_block_hash_ribsd.go b/model_get_block_details_by_block_hash_ribsd.go index 4e89ef8..328e7ca 100644 --- a/model_get_block_details_by_block_hash_ribsd.go +++ b/model_get_block_details_by_block_hash_ribsd.go @@ -76,7 +76,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -100,7 +100,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -124,7 +124,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -148,7 +148,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -172,7 +172,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -196,7 +196,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -220,7 +220,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -244,7 +244,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -268,7 +268,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_hash_ribsd2.go b/model_get_block_details_by_block_hash_ribsd2.go index 16dcb78..c614182 100644 --- a/model_get_block_details_by_block_hash_ribsd2.go +++ b/model_get_block_details_by_block_hash_ribsd2.go @@ -73,7 +73,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD2) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD2) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -97,7 +97,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD2) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD2) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -121,7 +121,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -145,7 +145,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -169,7 +169,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -193,7 +193,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD2) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -217,7 +217,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetBlockDetailsByBlockHashRIBSD2) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSD2) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_block_details_by_block_hash_ribse.go b/model_get_block_details_by_block_hash_ribse.go index 7accfde..bd6285b 100644 --- a/model_get_block_details_by_block_hash_ribse.go +++ b/model_get_block_details_by_block_hash_ribse.go @@ -78,7 +78,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -102,7 +102,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -126,7 +126,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -150,7 +150,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -174,7 +174,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -198,7 +198,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -222,7 +222,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -246,7 +246,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -270,7 +270,7 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSE) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -293,11 +293,11 @@ func (o *GetBlockDetailsByBlockHashRIBSE) GetUncles() []string { // GetUnclesOk returns a tuple with the Uncles field value // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHashRIBSE) GetUnclesOk() (*[]string, bool) { - if o == nil { +func (o *GetBlockDetailsByBlockHashRIBSE) GetUnclesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Uncles, true + return o.Uncles, true } // SetUncles sets field value diff --git a/model_get_block_details_by_block_hash_ribsec.go b/model_get_block_details_by_block_hash_ribsec.go index 27fa673..b539470 100644 --- a/model_get_block_details_by_block_hash_ribsec.go +++ b/model_get_block_details_by_block_hash_ribsec.go @@ -78,7 +78,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -102,7 +102,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -126,7 +126,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -150,7 +150,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -174,7 +174,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -198,7 +198,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -222,7 +222,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -246,7 +246,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -270,7 +270,7 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSEC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -293,11 +293,11 @@ func (o *GetBlockDetailsByBlockHashRIBSEC) GetUncles() []string { // GetUnclesOk returns a tuple with the Uncles field value // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHashRIBSEC) GetUnclesOk() (*[]string, bool) { - if o == nil { +func (o *GetBlockDetailsByBlockHashRIBSEC) GetUnclesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Uncles, true + return o.Uncles, true } // SetUncles sets field value diff --git a/model_get_block_details_by_block_hash_ribsl.go b/model_get_block_details_by_block_hash_ribsl.go index 6159088..fafa63f 100644 --- a/model_get_block_details_by_block_hash_ribsl.go +++ b/model_get_block_details_by_block_hash_ribsl.go @@ -79,7 +79,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -103,7 +103,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -127,7 +127,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -151,7 +151,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -175,7 +175,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -199,7 +199,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -223,7 +223,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetBlockDetailsByBlockHashRIBSL) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSL) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_hash_ribsz.go b/model_get_block_details_by_block_hash_ribsz.go index 1f2600f..733e8e5 100644 --- a/model_get_block_details_by_block_hash_ribsz.go +++ b/model_get_block_details_by_block_hash_ribsz.go @@ -70,7 +70,7 @@ func (o *GetBlockDetailsByBlockHashRIBSZ) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSZ) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -94,7 +94,7 @@ func (o *GetBlockDetailsByBlockHashRIBSZ) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSZ) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -118,7 +118,7 @@ func (o *GetBlockDetailsByBlockHashRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -142,7 +142,7 @@ func (o *GetBlockDetailsByBlockHashRIBSZ) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSZ) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -166,7 +166,7 @@ func (o *GetBlockDetailsByBlockHashRIBSZ) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSZ) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -190,7 +190,7 @@ func (o *GetBlockDetailsByBlockHashRIBSZ) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSZ) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -214,7 +214,7 @@ func (o *GetBlockDetailsByBlockHashRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHashRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true diff --git a/model_get_block_details_by_block_height_e400.go b/model_get_block_details_by_block_height_e400.go index 27fd562..cf7a85d 100644 --- a/model_get_block_details_by_block_height_e400.go +++ b/model_get_block_details_by_block_height_e400.go @@ -25,17 +25,23 @@ type GetBlockDetailsByBlockHeightE400 struct { // InvalidPaginationAsGetBlockDetailsByBlockHeightE400 is a convenience function that returns InvalidPagination wrapped in GetBlockDetailsByBlockHeightE400 func InvalidPaginationAsGetBlockDetailsByBlockHeightE400(v *InvalidPagination) GetBlockDetailsByBlockHeightE400 { - return GetBlockDetailsByBlockHeightE400{ InvalidPagination: v} + return GetBlockDetailsByBlockHeightE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetBlockDetailsByBlockHeightE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetBlockDetailsByBlockHeightE400 func LimitGreaterThanAllowedAsGetBlockDetailsByBlockHeightE400(v *LimitGreaterThanAllowed) GetBlockDetailsByBlockHeightE400 { - return GetBlockDetailsByBlockHeightE400{ LimitGreaterThanAllowed: v} + return GetBlockDetailsByBlockHeightE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetBlockDetailsByBlockHeightE400 is a convenience function that returns UriNotFound wrapped in GetBlockDetailsByBlockHeightE400 func UriNotFoundAsGetBlockDetailsByBlockHeightE400(v *UriNotFound) GetBlockDetailsByBlockHeightE400 { - return GetBlockDetailsByBlockHeightE400{ UriNotFound: v} + return GetBlockDetailsByBlockHeightE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetBlockDetailsByBlockHeightE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetBlockDetailsByBlockHeightE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_block_details_by_block_height_e401.go b/model_get_block_details_by_block_height_e401.go index 14e2c66..3559f36 100644 --- a/model_get_block_details_by_block_height_e401.go +++ b/model_get_block_details_by_block_height_e401.go @@ -24,12 +24,16 @@ type GetBlockDetailsByBlockHeightE401 struct { // InvalidApiKeyAsGetBlockDetailsByBlockHeightE401 is a convenience function that returns InvalidApiKey wrapped in GetBlockDetailsByBlockHeightE401 func InvalidApiKeyAsGetBlockDetailsByBlockHeightE401(v *InvalidApiKey) GetBlockDetailsByBlockHeightE401 { - return GetBlockDetailsByBlockHeightE401{ InvalidApiKey: v} + return GetBlockDetailsByBlockHeightE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetBlockDetailsByBlockHeightE401 is a convenience function that returns MissingApiKey wrapped in GetBlockDetailsByBlockHeightE401 func MissingApiKeyAsGetBlockDetailsByBlockHeightE401(v *MissingApiKey) GetBlockDetailsByBlockHeightE401 { - return GetBlockDetailsByBlockHeightE401{ MissingApiKey: v} + return GetBlockDetailsByBlockHeightE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetBlockDetailsByBlockHeightE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetBlockDetailsByBlockHeightE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetBlockDetailsByBlockHeightE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetBlockDetailsByBlockHeightE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_block_details_by_block_height_e403.go b/model_get_block_details_by_block_height_e403.go index a85fcfc..2d5910f 100644 --- a/model_get_block_details_by_block_height_e403.go +++ b/model_get_block_details_by_block_height_e403.go @@ -26,22 +26,30 @@ type GetBlockDetailsByBlockHeightE403 struct { // BannedIpAddressAsGetBlockDetailsByBlockHeightE403 is a convenience function that returns BannedIpAddress wrapped in GetBlockDetailsByBlockHeightE403 func BannedIpAddressAsGetBlockDetailsByBlockHeightE403(v *BannedIpAddress) GetBlockDetailsByBlockHeightE403 { - return GetBlockDetailsByBlockHeightE403{ BannedIpAddress: v} + return GetBlockDetailsByBlockHeightE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetBlockDetailsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetBlockDetailsByBlockHeightE403 func EndpointNotAllowedForApiKeyAsGetBlockDetailsByBlockHeightE403(v *EndpointNotAllowedForApiKey) GetBlockDetailsByBlockHeightE403 { - return GetBlockDetailsByBlockHeightE403{ EndpointNotAllowedForApiKey: v} + return GetBlockDetailsByBlockHeightE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetBlockDetailsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetBlockDetailsByBlockHeightE403 func EndpointNotAllowedForPlanAsGetBlockDetailsByBlockHeightE403(v *EndpointNotAllowedForPlan) GetBlockDetailsByBlockHeightE403 { - return GetBlockDetailsByBlockHeightE403{ EndpointNotAllowedForPlan: v} + return GetBlockDetailsByBlockHeightE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetBlockDetailsByBlockHeightE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetBlockDetailsByBlockHeightE403 func FeatureMainnetsNotAllowedForPlanAsGetBlockDetailsByBlockHeightE403(v *FeatureMainnetsNotAllowedForPlan) GetBlockDetailsByBlockHeightE403 { - return GetBlockDetailsByBlockHeightE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetBlockDetailsByBlockHeightE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetBlockDetailsByBlockHeightE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetBlockDetailsByBlockHeightE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_block_details_by_block_height_from_callback_e400.go b/model_get_block_details_by_block_height_from_callback_e400.go index 8b4a572..c2822a2 100644 --- a/model_get_block_details_by_block_height_from_callback_e400.go +++ b/model_get_block_details_by_block_height_from_callback_e400.go @@ -25,17 +25,23 @@ type GetBlockDetailsByBlockHeightFromCallbackE400 struct { // InvalidPaginationAsGetBlockDetailsByBlockHeightFromCallbackE400 is a convenience function that returns InvalidPagination wrapped in GetBlockDetailsByBlockHeightFromCallbackE400 func InvalidPaginationAsGetBlockDetailsByBlockHeightFromCallbackE400(v *InvalidPagination) GetBlockDetailsByBlockHeightFromCallbackE400 { - return GetBlockDetailsByBlockHeightFromCallbackE400{ InvalidPagination: v} + return GetBlockDetailsByBlockHeightFromCallbackE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetBlockDetailsByBlockHeightFromCallbackE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetBlockDetailsByBlockHeightFromCallbackE400 func LimitGreaterThanAllowedAsGetBlockDetailsByBlockHeightFromCallbackE400(v *LimitGreaterThanAllowed) GetBlockDetailsByBlockHeightFromCallbackE400 { - return GetBlockDetailsByBlockHeightFromCallbackE400{ LimitGreaterThanAllowed: v} + return GetBlockDetailsByBlockHeightFromCallbackE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetBlockDetailsByBlockHeightFromCallbackE400 is a convenience function that returns UriNotFound wrapped in GetBlockDetailsByBlockHeightFromCallbackE400 func UriNotFoundAsGetBlockDetailsByBlockHeightFromCallbackE400(v *UriNotFound) GetBlockDetailsByBlockHeightFromCallbackE400 { - return GetBlockDetailsByBlockHeightFromCallbackE400{ UriNotFound: v} + return GetBlockDetailsByBlockHeightFromCallbackE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE400) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE400) UnmarshalJSON(data []by } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE400) UnmarshalJSON(data []by } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetBlockDetailsByBlockHeightFromCallbackE400) MarshalJSON() ([]byte, e // Get the actual instance func (obj *GetBlockDetailsByBlockHeightFromCallbackE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_block_details_by_block_height_from_callback_e401.go b/model_get_block_details_by_block_height_from_callback_e401.go index 4668ef1..7871b27 100644 --- a/model_get_block_details_by_block_height_from_callback_e401.go +++ b/model_get_block_details_by_block_height_from_callback_e401.go @@ -24,12 +24,16 @@ type GetBlockDetailsByBlockHeightFromCallbackE401 struct { // InvalidApiKeyAsGetBlockDetailsByBlockHeightFromCallbackE401 is a convenience function that returns InvalidApiKey wrapped in GetBlockDetailsByBlockHeightFromCallbackE401 func InvalidApiKeyAsGetBlockDetailsByBlockHeightFromCallbackE401(v *InvalidApiKey) GetBlockDetailsByBlockHeightFromCallbackE401 { - return GetBlockDetailsByBlockHeightFromCallbackE401{ InvalidApiKey: v} + return GetBlockDetailsByBlockHeightFromCallbackE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetBlockDetailsByBlockHeightFromCallbackE401 is a convenience function that returns MissingApiKey wrapped in GetBlockDetailsByBlockHeightFromCallbackE401 func MissingApiKeyAsGetBlockDetailsByBlockHeightFromCallbackE401(v *MissingApiKey) GetBlockDetailsByBlockHeightFromCallbackE401 { - return GetBlockDetailsByBlockHeightFromCallbackE401{ MissingApiKey: v} + return GetBlockDetailsByBlockHeightFromCallbackE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE401) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE401) UnmarshalJSON(data []by } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetBlockDetailsByBlockHeightFromCallbackE401) MarshalJSON() ([]byte, e // Get the actual instance func (obj *GetBlockDetailsByBlockHeightFromCallbackE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_block_details_by_block_height_from_callback_e403.go b/model_get_block_details_by_block_height_from_callback_e403.go index fdc4033..e3c6e6e 100644 --- a/model_get_block_details_by_block_height_from_callback_e403.go +++ b/model_get_block_details_by_block_height_from_callback_e403.go @@ -26,22 +26,30 @@ type GetBlockDetailsByBlockHeightFromCallbackE403 struct { // BannedIpAddressAsGetBlockDetailsByBlockHeightFromCallbackE403 is a convenience function that returns BannedIpAddress wrapped in GetBlockDetailsByBlockHeightFromCallbackE403 func BannedIpAddressAsGetBlockDetailsByBlockHeightFromCallbackE403(v *BannedIpAddress) GetBlockDetailsByBlockHeightFromCallbackE403 { - return GetBlockDetailsByBlockHeightFromCallbackE403{ BannedIpAddress: v} + return GetBlockDetailsByBlockHeightFromCallbackE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetBlockDetailsByBlockHeightFromCallbackE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetBlockDetailsByBlockHeightFromCallbackE403 func EndpointNotAllowedForApiKeyAsGetBlockDetailsByBlockHeightFromCallbackE403(v *EndpointNotAllowedForApiKey) GetBlockDetailsByBlockHeightFromCallbackE403 { - return GetBlockDetailsByBlockHeightFromCallbackE403{ EndpointNotAllowedForApiKey: v} + return GetBlockDetailsByBlockHeightFromCallbackE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetBlockDetailsByBlockHeightFromCallbackE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetBlockDetailsByBlockHeightFromCallbackE403 func EndpointNotAllowedForPlanAsGetBlockDetailsByBlockHeightFromCallbackE403(v *EndpointNotAllowedForPlan) GetBlockDetailsByBlockHeightFromCallbackE403 { - return GetBlockDetailsByBlockHeightFromCallbackE403{ EndpointNotAllowedForPlan: v} + return GetBlockDetailsByBlockHeightFromCallbackE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetBlockDetailsByBlockHeightFromCallbackE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetBlockDetailsByBlockHeightFromCallbackE403 func FeatureMainnetsNotAllowedForPlanAsGetBlockDetailsByBlockHeightFromCallbackE403(v *FeatureMainnetsNotAllowedForPlan) GetBlockDetailsByBlockHeightFromCallbackE403 { - return GetBlockDetailsByBlockHeightFromCallbackE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetBlockDetailsByBlockHeightFromCallbackE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE403) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE403) UnmarshalJSON(data []by } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE403) UnmarshalJSON(data []by } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackE403) UnmarshalJSON(data []by } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetBlockDetailsByBlockHeightFromCallbackE403) MarshalJSON() ([]byte, e // Get the actual instance func (obj *GetBlockDetailsByBlockHeightFromCallbackE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_block_details_by_block_height_from_callback_r.go b/model_get_block_details_by_block_height_from_callback_r.go index f915841..bd8534d 100644 --- a/model_get_block_details_by_block_height_from_callback_r.go +++ b/model_get_block_details_by_block_height_from_callback_r.go @@ -59,7 +59,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackR) GetData() GetBlockDetailsByB // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackR) GetDataOk() (*GetBlockDetailsByBlockHeightFromCallbackRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_block_details_by_block_height_from_callback_r_data.go b/model_get_block_details_by_block_height_from_callback_r_data.go index 648a707..f81b9b8 100644 --- a/model_get_block_details_by_block_height_from_callback_r_data.go +++ b/model_get_block_details_by_block_height_from_callback_r_data.go @@ -51,7 +51,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRData) GetItem() GetBlockDetail // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRData) GetItemOk() (*GetBlockDetailsByBlockHeightFromCallbackRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_block_details_by_block_height_from_callback_ri.go b/model_get_block_details_by_block_height_from_callback_ri.go index b9f3020..21faeeb 100644 --- a/model_get_block_details_by_block_height_from_callback_ri.go +++ b/model_get_block_details_by_block_height_from_callback_ri.go @@ -66,7 +66,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetHash() string { // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -90,7 +90,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetHeight() int32 { // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -114,7 +114,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetPreviousBlockHash() stri // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -138,7 +138,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -162,7 +162,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetTransactionsCount() int3 // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -186,7 +186,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetBlockchainSpecific() Get // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRI) GetBlockchainSpecificOk() (*GetBlockDetailsByBlockHeightFromCallbackRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_get_block_details_by_block_height_from_callback_ribs.go b/model_get_block_details_by_block_height_from_callback_ribs.go index 9e72436..baae52e 100644 --- a/model_get_block_details_by_block_height_from_callback_ribs.go +++ b/model_get_block_details_by_block_height_from_callback_ribs.go @@ -33,57 +33,79 @@ type GetBlockDetailsByBlockHeightFromCallbackRIBS struct { // GetBlockDetailsByBlockHeightFromCallbackRIBSBAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSB wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSBAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSB: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSB: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSBCAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSBC wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSBCAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSBC: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSBC: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSBSCAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSBSC wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSBSCAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSBSC: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSBSC: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSDAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSD wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSDAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSD: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSD: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSD2AsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSD2 wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSD2AsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSD2: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSD2: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSEAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSE wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSEAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSE: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSE: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSECAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSEC wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSECAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSEC: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSEC: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSLAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSL wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSLAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSL: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSL: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSXAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSX wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSXAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSX) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSX: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSX: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSZAsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSZ wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSZAsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSZ: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSZ: v, + } } // GetBlockDetailsByBlockHeightFromCallbackRIBSZ2AsGetBlockDetailsByBlockHeightFromCallbackRIBS is a convenience function that returns GetBlockDetailsByBlockHeightFromCallbackRIBSZ2 wrapped in GetBlockDetailsByBlockHeightFromCallbackRIBS func GetBlockDetailsByBlockHeightFromCallbackRIBSZ2AsGetBlockDetailsByBlockHeightFromCallbackRIBS(v *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetBlockDetailsByBlockHeightFromCallbackRIBS { - return GetBlockDetailsByBlockHeightFromCallbackRIBS{ GetBlockDetailsByBlockHeightFromCallbackRIBSZ2: v} + return GetBlockDetailsByBlockHeightFromCallbackRIBS{ + GetBlockDetailsByBlockHeightFromCallbackRIBSZ2: v, + } } @@ -92,7 +114,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSB - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSB) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSB) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSB, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSB) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSB) == "{}" { // empty struct @@ -105,7 +127,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSBC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSBC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSBC) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSBC, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSBC) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSBC) == "{}" { // empty struct @@ -118,7 +140,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSBSC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSBSC, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSBSC) == "{}" { // empty struct @@ -131,7 +153,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSD - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSD) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSD) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSD, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSD) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSD) == "{}" { // empty struct @@ -144,7 +166,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSD2 - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSD2) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSD2) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSD2, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSD2) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSD2) == "{}" { // empty struct @@ -157,7 +179,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSE - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSE) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSE) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSE, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSE) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSE) == "{}" { // empty struct @@ -170,7 +192,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSEC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSEC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSEC) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSEC, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSEC) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSEC) == "{}" { // empty struct @@ -183,7 +205,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSL - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSL) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSL) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSL, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSL) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSL) == "{}" { // empty struct @@ -196,7 +218,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSX - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSX) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSX) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSX, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSX) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSX) == "{}" { // empty struct @@ -209,7 +231,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSZ - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSZ) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSZ) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSZ, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSZ) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSZ) == "{}" { // empty struct @@ -222,7 +244,7 @@ func (dst *GetBlockDetailsByBlockHeightFromCallbackRIBS) UnmarshalJSON(data []by } // try to unmarshal data into GetBlockDetailsByBlockHeightFromCallbackRIBSZ2 - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) if err == nil { jsonGetBlockDetailsByBlockHeightFromCallbackRIBSZ2, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) if string(jsonGetBlockDetailsByBlockHeightFromCallbackRIBSZ2) == "{}" { // empty struct @@ -307,6 +329,9 @@ func (src GetBlockDetailsByBlockHeightFromCallbackRIBS) MarshalJSON() ([]byte, e // Get the actual instance func (obj *GetBlockDetailsByBlockHeightFromCallbackRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetBlockDetailsByBlockHeightFromCallbackRIBSB != nil { return obj.GetBlockDetailsByBlockHeightFromCallbackRIBSB } diff --git a/model_get_block_details_by_block_height_from_callback_ribsb.go b/model_get_block_details_by_block_height_from_callback_ribsb.go index 654de50..c69449a 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsb.go +++ b/model_get_block_details_by_block_height_from_callback_ribsb.go @@ -79,7 +79,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -103,7 +103,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -127,7 +127,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -151,7 +151,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -175,7 +175,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -199,7 +199,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -223,7 +223,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetStrippedSize() int32 // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSB) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_height_from_callback_ribsbc.go b/model_get_block_details_by_block_height_from_callback_ribsbc.go index b1f2d29..647b5b7 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsbc.go +++ b/model_get_block_details_by_block_height_from_callback_ribsbc.go @@ -73,7 +73,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -97,7 +97,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -121,7 +121,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetDifficulty() string // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -145,7 +145,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetMerkleRoot() string // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -169,7 +169,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -193,7 +193,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -217,7 +217,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetVersionHex() string // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBC) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_block_details_by_block_height_from_callback_ribsbsc.go b/model_get_block_details_by_block_height_from_callback_ribsbsc.go index 3d0fdd2..bdbf4f9 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsbsc.go +++ b/model_get_block_details_by_block_height_from_callback_ribsbsc.go @@ -35,7 +35,7 @@ type GetBlockDetailsByBlockHeightFromCallbackRIBSBSC struct { Size int32 `json:"size"` // Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block TotalDifficulty string `json:"totalDifficulty"` - Uncles *[]string `json:"uncles,omitempty"` + Uncles []string `json:"uncles,omitempty"` } // NewGetBlockDetailsByBlockHeightFromCallbackRIBSBSC instantiates a new GetBlockDetailsByBlockHeightFromCallbackRIBSBSC object @@ -77,7 +77,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetDifficulty() string // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -101,7 +101,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetExtraData() string // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -125,7 +125,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -149,7 +149,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -173,7 +173,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetMinedInSeconds() in // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -197,7 +197,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -221,7 +221,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetSha3Uncles() string // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -245,7 +245,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -269,7 +269,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetTotalDifficulty() s // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -286,12 +286,12 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetUncles() []string { var ret []string return ret } - return *o.Uncles + return o.Uncles } // GetUnclesOk returns a tuple with the Uncles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetUnclesOk() (*[]string, bool) { +func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) GetUnclesOk() ([]string, bool) { if o == nil || o.Uncles == nil { return nil, false } @@ -309,7 +309,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) HasUncles() bool { // SetUncles gets a reference to the given []string and assigns it to the Uncles field. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) SetUncles(v []string) { - o.Uncles = &v + o.Uncles = v } func (o GetBlockDetailsByBlockHeightFromCallbackRIBSBSC) MarshalJSON() ([]byte, error) { diff --git a/model_get_block_details_by_block_height_from_callback_ribsd.go b/model_get_block_details_by_block_height_from_callback_ribsd.go index 12a3cdb..8329d69 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsd.go +++ b/model_get_block_details_by_block_height_from_callback_ribsd.go @@ -73,7 +73,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -97,7 +97,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -121,7 +121,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -145,7 +145,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -169,7 +169,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -193,7 +193,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -217,7 +217,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_block_details_by_block_height_from_callback_ribsd2.go b/model_get_block_details_by_block_height_from_callback_ribsd2.go index 400797e..3a5c0d7 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsd2.go +++ b/model_get_block_details_by_block_height_from_callback_ribsd2.go @@ -76,7 +76,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -100,7 +100,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -124,7 +124,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetDifficulty() string // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -148,7 +148,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetMerkleRoot() string // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -172,7 +172,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -196,7 +196,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -220,7 +220,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetStrippedSize() int32 // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -244,7 +244,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -268,7 +268,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSD2) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_height_from_callback_ribse.go b/model_get_block_details_by_block_height_from_callback_ribse.go index ba69629..f3f3b7e 100644 --- a/model_get_block_details_by_block_height_from_callback_ribse.go +++ b/model_get_block_details_by_block_height_from_callback_ribse.go @@ -35,7 +35,7 @@ type GetBlockDetailsByBlockHeightFromCallbackRIBSE struct { Size int32 `json:"size"` // Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block. TotalDifficulty string `json:"totalDifficulty"` - Uncles *[]string `json:"uncles,omitempty"` + Uncles []string `json:"uncles,omitempty"` } // NewGetBlockDetailsByBlockHeightFromCallbackRIBSE instantiates a new GetBlockDetailsByBlockHeightFromCallbackRIBSE object @@ -77,7 +77,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -101,7 +101,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -125,7 +125,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -149,7 +149,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -173,7 +173,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetMinedInSeconds() int3 // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -197,7 +197,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -221,7 +221,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -245,7 +245,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -269,7 +269,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetTotalDifficulty() str // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -286,12 +286,12 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetUncles() []string { var ret []string return ret } - return *o.Uncles + return o.Uncles } // GetUnclesOk returns a tuple with the Uncles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetUnclesOk() (*[]string, bool) { +func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) GetUnclesOk() ([]string, bool) { if o == nil || o.Uncles == nil { return nil, false } @@ -309,7 +309,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) HasUncles() bool { // SetUncles gets a reference to the given []string and assigns it to the Uncles field. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSE) SetUncles(v []string) { - o.Uncles = &v + o.Uncles = v } func (o GetBlockDetailsByBlockHeightFromCallbackRIBSE) MarshalJSON() ([]byte, error) { diff --git a/model_get_block_details_by_block_height_from_callback_ribsec.go b/model_get_block_details_by_block_height_from_callback_ribsec.go index 28be0cd..4c54944 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsec.go +++ b/model_get_block_details_by_block_height_from_callback_ribsec.go @@ -35,7 +35,7 @@ type GetBlockDetailsByBlockHeightFromCallbackRIBSEC struct { Size int32 `json:"size"` // Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block. TotalDifficulty string `json:"totalDifficulty"` - Uncles *[]string `json:"uncles,omitempty"` + Uncles []string `json:"uncles,omitempty"` } // NewGetBlockDetailsByBlockHeightFromCallbackRIBSEC instantiates a new GetBlockDetailsByBlockHeightFromCallbackRIBSEC object @@ -77,7 +77,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetDifficulty() string // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -101,7 +101,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -125,7 +125,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -149,7 +149,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -173,7 +173,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetMinedInSeconds() int // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -197,7 +197,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -221,7 +221,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetSha3Uncles() string // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -245,7 +245,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -269,7 +269,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetTotalDifficulty() st // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -286,12 +286,12 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetUncles() []string { var ret []string return ret } - return *o.Uncles + return o.Uncles } // GetUnclesOk returns a tuple with the Uncles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetUnclesOk() (*[]string, bool) { +func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) GetUnclesOk() ([]string, bool) { if o == nil || o.Uncles == nil { return nil, false } @@ -309,7 +309,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) HasUncles() bool { // SetUncles gets a reference to the given []string and assigns it to the Uncles field. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSEC) SetUncles(v []string) { - o.Uncles = &v + o.Uncles = v } func (o GetBlockDetailsByBlockHeightFromCallbackRIBSEC) MarshalJSON() ([]byte, error) { diff --git a/model_get_block_details_by_block_height_from_callback_ribsl.go b/model_get_block_details_by_block_height_from_callback_ribsl.go index 97f5bf9..3483d57 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsl.go +++ b/model_get_block_details_by_block_height_from_callback_ribsl.go @@ -79,7 +79,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -103,7 +103,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -127,7 +127,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -151,7 +151,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -175,7 +175,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -199,7 +199,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -223,7 +223,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetStrippedsize() int32 // GetStrippedsizeOk returns a tuple with the Strippedsize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetStrippedsizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Strippedsize, true @@ -247,7 +247,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSL) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_height_from_callback_ribsx.go b/model_get_block_details_by_block_height_from_callback_ribsx.go index 04329b7..3350337 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsx.go +++ b/model_get_block_details_by_block_height_from_callback_ribsx.go @@ -53,7 +53,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSX) GetTotalCoins() GetLates // GetTotalCoinsOk returns a tuple with the TotalCoins field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSX) GetTotalCoinsOk() (*GetLatestMinedXRPRippleBlockRITotalCoins, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalCoins, true @@ -77,7 +77,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSX) GetTotalFees() GetLatest // GetTotalFeesOk returns a tuple with the TotalFees field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSX) GetTotalFeesOk() (*GetLatestMinedXRPRippleBlockRITotalFees, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalFees, true diff --git a/model_get_block_details_by_block_height_from_callback_ribsz.go b/model_get_block_details_by_block_height_from_callback_ribsz.go index 4544cf9..268830e 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsz.go +++ b/model_get_block_details_by_block_height_from_callback_ribsz.go @@ -69,7 +69,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -93,7 +93,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetDsBlock() int32 { // GetDsBlockOk returns a tuple with the DsBlock field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetDsBlockOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsBlock, true @@ -117,7 +117,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetDsDifficulty() string // GetDsDifficultyOk returns a tuple with the DsDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetDsDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsDifficulty, true @@ -141,7 +141,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetDsLeader() string { // GetDsLeaderOk returns a tuple with the DsLeader field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetDsLeaderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsLeader, true @@ -165,7 +165,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -189,7 +189,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -212,11 +212,11 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetMicroBlocks() []strin // GetMicroBlocksOk returns a tuple with the MicroBlocks field value // and a boolean to check if the value has been set. -func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetMicroBlocksOk() (*[]string, bool) { - if o == nil { +func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ) GetMicroBlocksOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.MicroBlocks, true + return o.MicroBlocks, true } // SetMicroBlocks sets field value diff --git a/model_get_block_details_by_block_height_from_callback_ribsz2.go b/model_get_block_details_by_block_height_from_callback_ribsz2.go index b1a114a..3f602df 100644 --- a/model_get_block_details_by_block_height_from_callback_ribsz2.go +++ b/model_get_block_details_by_block_height_from_callback_ribsz2.go @@ -67,7 +67,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -91,7 +91,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -115,7 +115,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetMerkleRoot() string // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -139,7 +139,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -163,7 +163,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -187,7 +187,7 @@ func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightFromCallbackRIBSZ2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true diff --git a/model_get_block_details_by_block_height_r.go b/model_get_block_details_by_block_height_r.go index 4f7dec1..93029ad 100644 --- a/model_get_block_details_by_block_height_r.go +++ b/model_get_block_details_by_block_height_r.go @@ -59,7 +59,7 @@ func (o *GetBlockDetailsByBlockHeightR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetBlockDetailsByBlockHeightR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetBlockDetailsByBlockHeightR) GetData() GetBlockDetailsByBlockHeightRD // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightR) GetDataOk() (*GetBlockDetailsByBlockHeightRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_block_details_by_block_height_r_data.go b/model_get_block_details_by_block_height_r_data.go index 66cbba8..2efaaeb 100644 --- a/model_get_block_details_by_block_height_r_data.go +++ b/model_get_block_details_by_block_height_r_data.go @@ -51,7 +51,7 @@ func (o *GetBlockDetailsByBlockHeightRData) GetItem() GetBlockDetailsByBlockHeig // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRData) GetItemOk() (*GetBlockDetailsByBlockHeightRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_block_details_by_block_height_ri.go b/model_get_block_details_by_block_height_ri.go index 2f5cfc2..a6f9a9d 100644 --- a/model_get_block_details_by_block_height_ri.go +++ b/model_get_block_details_by_block_height_ri.go @@ -69,7 +69,7 @@ func (o *GetBlockDetailsByBlockHeightRI) GetHash() string { // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRI) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -93,7 +93,7 @@ func (o *GetBlockDetailsByBlockHeightRI) GetHeight() int32 { // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRI) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -117,7 +117,7 @@ func (o *GetBlockDetailsByBlockHeightRI) GetNextBlockHash() string { // GetNextBlockHashOk returns a tuple with the NextBlockHash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRI) GetNextBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.NextBlockHash, true @@ -141,7 +141,7 @@ func (o *GetBlockDetailsByBlockHeightRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -165,7 +165,7 @@ func (o *GetBlockDetailsByBlockHeightRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -189,7 +189,7 @@ func (o *GetBlockDetailsByBlockHeightRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -213,7 +213,7 @@ func (o *GetBlockDetailsByBlockHeightRI) GetBlockchainSpecific() GetBlockDetails // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRI) GetBlockchainSpecificOk() (*GetBlockDetailsByBlockHeightRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_get_block_details_by_block_height_ribs.go b/model_get_block_details_by_block_height_ribs.go index 6f1c78d..95e4437 100644 --- a/model_get_block_details_by_block_height_ribs.go +++ b/model_get_block_details_by_block_height_ribs.go @@ -31,47 +31,65 @@ type GetBlockDetailsByBlockHeightRIBS struct { // GetBlockDetailsByBlockHeightRIBSBAsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSB wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSBAsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSB) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSB: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSB: v, + } } // GetBlockDetailsByBlockHeightRIBSBCAsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSBC wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSBCAsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSBC) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSBC: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSBC: v, + } } // GetBlockDetailsByBlockHeightRIBSBSCAsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSBSC wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSBSCAsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSBSC) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSBSC: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSBSC: v, + } } // GetBlockDetailsByBlockHeightRIBSDAsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSD wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSDAsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSD) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSD: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSD: v, + } } // GetBlockDetailsByBlockHeightRIBSD2AsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSD2 wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSD2AsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSD2) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSD2: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSD2: v, + } } // GetBlockDetailsByBlockHeightRIBSEAsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSE wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSEAsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSE) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSE: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSE: v, + } } // GetBlockDetailsByBlockHeightRIBSECAsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSEC wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSECAsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSEC) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSEC: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSEC: v, + } } // GetBlockDetailsByBlockHeightRIBSLAsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSL wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSLAsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSL) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSL: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSL: v, + } } // GetBlockDetailsByBlockHeightRIBSZAsGetBlockDetailsByBlockHeightRIBS is a convenience function that returns GetBlockDetailsByBlockHeightRIBSZ wrapped in GetBlockDetailsByBlockHeightRIBS func GetBlockDetailsByBlockHeightRIBSZAsGetBlockDetailsByBlockHeightRIBS(v *GetBlockDetailsByBlockHeightRIBSZ) GetBlockDetailsByBlockHeightRIBS { - return GetBlockDetailsByBlockHeightRIBS{ GetBlockDetailsByBlockHeightRIBSZ: v} + return GetBlockDetailsByBlockHeightRIBS{ + GetBlockDetailsByBlockHeightRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSB - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSB) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSB) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSB, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSB) if string(jsonGetBlockDetailsByBlockHeightRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSBC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSBC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSBC) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSBC, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSBC) if string(jsonGetBlockDetailsByBlockHeightRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSBSC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSBSC) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSBSC, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSBSC) if string(jsonGetBlockDetailsByBlockHeightRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSD - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSD) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSD) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSD, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSD) if string(jsonGetBlockDetailsByBlockHeightRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSD2 - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSD2) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSD2) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSD2, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSD2) if string(jsonGetBlockDetailsByBlockHeightRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSE - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSE) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSE) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSE, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSE) if string(jsonGetBlockDetailsByBlockHeightRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSEC - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSEC) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSEC) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSEC, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSEC) if string(jsonGetBlockDetailsByBlockHeightRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSL - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSL) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSL) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSL, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSL) if string(jsonGetBlockDetailsByBlockHeightRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *GetBlockDetailsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetBlockDetailsByBlockHeightRIBSZ - err = json.Unmarshal(data, &dst.GetBlockDetailsByBlockHeightRIBSZ) + err = newStrictDecoder(data).Decode(&dst.GetBlockDetailsByBlockHeightRIBSZ) if err == nil { jsonGetBlockDetailsByBlockHeightRIBSZ, _ := json.Marshal(dst.GetBlockDetailsByBlockHeightRIBSZ) if string(jsonGetBlockDetailsByBlockHeightRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src GetBlockDetailsByBlockHeightRIBS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetBlockDetailsByBlockHeightRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetBlockDetailsByBlockHeightRIBSB != nil { return obj.GetBlockDetailsByBlockHeightRIBSB } diff --git a/model_get_block_details_by_block_height_ribsb.go b/model_get_block_details_by_block_height_ribsb.go index 337da5a..36f3077 100644 --- a/model_get_block_details_by_block_height_ribsb.go +++ b/model_get_block_details_by_block_height_ribsb.go @@ -79,7 +79,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -103,7 +103,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -127,7 +127,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -151,7 +151,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -175,7 +175,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -199,7 +199,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -223,7 +223,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSB) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSB) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_height_ribsbc.go b/model_get_block_details_by_block_height_ribsbc.go index 8b28c59..1817345 100644 --- a/model_get_block_details_by_block_height_ribsbc.go +++ b/model_get_block_details_by_block_height_ribsbc.go @@ -73,7 +73,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -97,7 +97,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -121,7 +121,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -145,7 +145,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBC) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBC) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -169,7 +169,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBC) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBC) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -193,7 +193,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBC) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBC) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -217,7 +217,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBC) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBC) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_block_details_by_block_height_ribsbsc.go b/model_get_block_details_by_block_height_ribsbsc.go index 1f1a484..9a078e7 100644 --- a/model_get_block_details_by_block_height_ribsbsc.go +++ b/model_get_block_details_by_block_height_ribsbsc.go @@ -76,7 +76,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -100,7 +100,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -124,7 +124,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -148,7 +148,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -172,7 +172,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -196,7 +196,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -220,7 +220,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -244,7 +244,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -268,7 +268,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSBSC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true diff --git a/model_get_block_details_by_block_height_ribsd.go b/model_get_block_details_by_block_height_ribsd.go index 9eb732a..8f2dbab 100644 --- a/model_get_block_details_by_block_height_ribsd.go +++ b/model_get_block_details_by_block_height_ribsd.go @@ -76,7 +76,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -100,7 +100,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -124,7 +124,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -148,7 +148,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -172,7 +172,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -196,7 +196,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -220,7 +220,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -244,7 +244,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -268,7 +268,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_height_ribsd2.go b/model_get_block_details_by_block_height_ribsd2.go index 42f89e8..0cd8656 100644 --- a/model_get_block_details_by_block_height_ribsd2.go +++ b/model_get_block_details_by_block_height_ribsd2.go @@ -73,7 +73,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD2) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD2) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -97,7 +97,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD2) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD2) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -121,7 +121,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -145,7 +145,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -169,7 +169,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -193,7 +193,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD2) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -217,7 +217,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSD2) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSD2) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_block_details_by_block_height_ribse.go b/model_get_block_details_by_block_height_ribse.go index 836877d..4e967de 100644 --- a/model_get_block_details_by_block_height_ribse.go +++ b/model_get_block_details_by_block_height_ribse.go @@ -76,7 +76,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -100,7 +100,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -124,7 +124,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -148,7 +148,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -172,7 +172,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -196,7 +196,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -220,7 +220,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -244,7 +244,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -268,7 +268,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSE) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSE) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true diff --git a/model_get_block_details_by_block_height_ribsec.go b/model_get_block_details_by_block_height_ribsec.go index 45dbfd9..421d0c4 100644 --- a/model_get_block_details_by_block_height_ribsec.go +++ b/model_get_block_details_by_block_height_ribsec.go @@ -76,7 +76,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -100,7 +100,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -124,7 +124,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -148,7 +148,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -172,7 +172,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -196,7 +196,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -220,7 +220,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -244,7 +244,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -268,7 +268,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSEC) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSEC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true diff --git a/model_get_block_details_by_block_height_ribsl.go b/model_get_block_details_by_block_height_ribsl.go index d3fb04d..f7b7d1b 100644 --- a/model_get_block_details_by_block_height_ribsl.go +++ b/model_get_block_details_by_block_height_ribsl.go @@ -79,7 +79,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -103,7 +103,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -127,7 +127,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -151,7 +151,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -175,7 +175,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -199,7 +199,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -223,7 +223,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSL) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSL) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_block_details_by_block_height_ribsz.go b/model_get_block_details_by_block_height_ribsz.go index 6e97a77..ebbfeec 100644 --- a/model_get_block_details_by_block_height_ribsz.go +++ b/model_get_block_details_by_block_height_ribsz.go @@ -70,7 +70,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSZ) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSZ) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -94,7 +94,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSZ) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSZ) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -118,7 +118,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -142,7 +142,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSZ) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSZ) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -166,7 +166,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSZ) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSZ) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -190,7 +190,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSZ) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSZ) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -214,7 +214,7 @@ func (o *GetBlockDetailsByBlockHeightRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetBlockDetailsByBlockHeightRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true diff --git a/model_get_blockchain_event_subscription_details_by_reference_ide400.go b/model_get_blockchain_event_subscription_details_by_reference_ide400.go new file mode 100644 index 0000000..33194b8 --- /dev/null +++ b/model_get_blockchain_event_subscription_details_by_reference_ide400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetBlockchainEventSubscriptionDetailsByReferenceIDE400 - struct for GetBlockchainEventSubscriptionDetailsByReferenceIDE400 +type GetBlockchainEventSubscriptionDetailsByReferenceIDE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsGetBlockchainEventSubscriptionDetailsByReferenceIDE400 is a convenience function that returns InvalidPagination wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE400 +func InvalidPaginationAsGetBlockchainEventSubscriptionDetailsByReferenceIDE400(v *InvalidPagination) GetBlockchainEventSubscriptionDetailsByReferenceIDE400 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsGetBlockchainEventSubscriptionDetailsByReferenceIDE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE400 +func LimitGreaterThanAllowedAsGetBlockchainEventSubscriptionDetailsByReferenceIDE400(v *LimitGreaterThanAllowed) GetBlockchainEventSubscriptionDetailsByReferenceIDE400 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsGetBlockchainEventSubscriptionDetailsByReferenceIDE400 is a convenience function that returns UriNotFound wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE400 +func UriNotFoundAsGetBlockchainEventSubscriptionDetailsByReferenceIDE400(v *UriNotFound) GetBlockchainEventSubscriptionDetailsByReferenceIDE400 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetBlockchainEventSubscriptionDetailsByReferenceIDE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetBlockchainEventSubscriptionDetailsByReferenceIDE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetBlockchainEventSubscriptionDetailsByReferenceIDE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400 struct { + value *GetBlockchainEventSubscriptionDetailsByReferenceIDE400 + isSet bool +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400) Get() *GetBlockchainEventSubscriptionDetailsByReferenceIDE400 { + return v.value +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400) Set(val *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400(val *GetBlockchainEventSubscriptionDetailsByReferenceIDE400) *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400 { + return &NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400{value: val, isSet: true} +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_blockchain_event_subscription_details_by_reference_ide401.go b/model_get_blockchain_event_subscription_details_by_reference_ide401.go new file mode 100644 index 0000000..33b5117 --- /dev/null +++ b/model_get_blockchain_event_subscription_details_by_reference_ide401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetBlockchainEventSubscriptionDetailsByReferenceIDE401 - struct for GetBlockchainEventSubscriptionDetailsByReferenceIDE401 +type GetBlockchainEventSubscriptionDetailsByReferenceIDE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsGetBlockchainEventSubscriptionDetailsByReferenceIDE401 is a convenience function that returns InvalidApiKey wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE401 +func InvalidApiKeyAsGetBlockchainEventSubscriptionDetailsByReferenceIDE401(v *InvalidApiKey) GetBlockchainEventSubscriptionDetailsByReferenceIDE401 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsGetBlockchainEventSubscriptionDetailsByReferenceIDE401 is a convenience function that returns MissingApiKey wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE401 +func MissingApiKeyAsGetBlockchainEventSubscriptionDetailsByReferenceIDE401(v *MissingApiKey) GetBlockchainEventSubscriptionDetailsByReferenceIDE401 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetBlockchainEventSubscriptionDetailsByReferenceIDE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetBlockchainEventSubscriptionDetailsByReferenceIDE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetBlockchainEventSubscriptionDetailsByReferenceIDE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401 struct { + value *GetBlockchainEventSubscriptionDetailsByReferenceIDE401 + isSet bool +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401) Get() *GetBlockchainEventSubscriptionDetailsByReferenceIDE401 { + return v.value +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401) Set(val *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401(val *GetBlockchainEventSubscriptionDetailsByReferenceIDE401) *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401 { + return &NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401{value: val, isSet: true} +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_blockchain_event_subscription_details_by_reference_ide403.go b/model_get_blockchain_event_subscription_details_by_reference_ide403.go new file mode 100644 index 0000000..a7ed382 --- /dev/null +++ b/model_get_blockchain_event_subscription_details_by_reference_ide403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetBlockchainEventSubscriptionDetailsByReferenceIDE403 - struct for GetBlockchainEventSubscriptionDetailsByReferenceIDE403 +type GetBlockchainEventSubscriptionDetailsByReferenceIDE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsGetBlockchainEventSubscriptionDetailsByReferenceIDE403 is a convenience function that returns BannedIpAddress wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE403 +func BannedIpAddressAsGetBlockchainEventSubscriptionDetailsByReferenceIDE403(v *BannedIpAddress) GetBlockchainEventSubscriptionDetailsByReferenceIDE403 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsGetBlockchainEventSubscriptionDetailsByReferenceIDE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE403 +func EndpointNotAllowedForApiKeyAsGetBlockchainEventSubscriptionDetailsByReferenceIDE403(v *EndpointNotAllowedForApiKey) GetBlockchainEventSubscriptionDetailsByReferenceIDE403 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsGetBlockchainEventSubscriptionDetailsByReferenceIDE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE403 +func EndpointNotAllowedForPlanAsGetBlockchainEventSubscriptionDetailsByReferenceIDE403(v *EndpointNotAllowedForPlan) GetBlockchainEventSubscriptionDetailsByReferenceIDE403 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsGetBlockchainEventSubscriptionDetailsByReferenceIDE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetBlockchainEventSubscriptionDetailsByReferenceIDE403 +func FeatureMainnetsNotAllowedForPlanAsGetBlockchainEventSubscriptionDetailsByReferenceIDE403(v *FeatureMainnetsNotAllowedForPlan) GetBlockchainEventSubscriptionDetailsByReferenceIDE403 { + return GetBlockchainEventSubscriptionDetailsByReferenceIDE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetBlockchainEventSubscriptionDetailsByReferenceIDE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetBlockchainEventSubscriptionDetailsByReferenceIDE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetBlockchainEventSubscriptionDetailsByReferenceIDE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403 struct { + value *GetBlockchainEventSubscriptionDetailsByReferenceIDE403 + isSet bool +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403) Get() *GetBlockchainEventSubscriptionDetailsByReferenceIDE403 { + return v.value +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403) Set(val *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403(val *GetBlockchainEventSubscriptionDetailsByReferenceIDE403) *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403 { + return &NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403{value: val, isSet: true} +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_blockchain_event_subscription_details_by_reference_idr.go b/model_get_blockchain_event_subscription_details_by_reference_idr.go new file mode 100644 index 0000000..49339a7 --- /dev/null +++ b/model_get_blockchain_event_subscription_details_by_reference_idr.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetBlockchainEventSubscriptionDetailsByReferenceIDR struct for GetBlockchainEventSubscriptionDetailsByReferenceIDR +type GetBlockchainEventSubscriptionDetailsByReferenceIDR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data GetBlockchainEventSubscriptionDetailsByReferenceIDRData `json:"data"` +} + +// NewGetBlockchainEventSubscriptionDetailsByReferenceIDR instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockchainEventSubscriptionDetailsByReferenceIDR(apiVersion string, requestId string, data GetBlockchainEventSubscriptionDetailsByReferenceIDRData) *GetBlockchainEventSubscriptionDetailsByReferenceIDR { + this := GetBlockchainEventSubscriptionDetailsByReferenceIDR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewGetBlockchainEventSubscriptionDetailsByReferenceIDRWithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRWithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDR { + this := GetBlockchainEventSubscriptionDetailsByReferenceIDR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetData() GetBlockchainEventSubscriptionDetailsByReferenceIDRData { + if o == nil { + var ret GetBlockchainEventSubscriptionDetailsByReferenceIDRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) GetDataOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDR) SetData(v GetBlockchainEventSubscriptionDetailsByReferenceIDRData) { + o.Data = v +} + +func (o GetBlockchainEventSubscriptionDetailsByReferenceIDR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR struct { + value *GetBlockchainEventSubscriptionDetailsByReferenceIDR + isSet bool +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR) Get() *GetBlockchainEventSubscriptionDetailsByReferenceIDR { + return v.value +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR) Set(val *GetBlockchainEventSubscriptionDetailsByReferenceIDR) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockchainEventSubscriptionDetailsByReferenceIDR(val *GetBlockchainEventSubscriptionDetailsByReferenceIDR) *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR { + return &NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR{value: val, isSet: true} +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_blockchain_event_subscription_details_by_reference_idr_data.go b/model_get_blockchain_event_subscription_details_by_reference_idr_data.go new file mode 100644 index 0000000..2a3e34c --- /dev/null +++ b/model_get_blockchain_event_subscription_details_by_reference_idr_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetBlockchainEventSubscriptionDetailsByReferenceIDRData struct for GetBlockchainEventSubscriptionDetailsByReferenceIDRData +type GetBlockchainEventSubscriptionDetailsByReferenceIDRData struct { + Item GetBlockchainEventSubscriptionDetailsByReferenceIDRI `json:"item"` +} + +// NewGetBlockchainEventSubscriptionDetailsByReferenceIDRData instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRData(item GetBlockchainEventSubscriptionDetailsByReferenceIDRI) *GetBlockchainEventSubscriptionDetailsByReferenceIDRData { + this := GetBlockchainEventSubscriptionDetailsByReferenceIDRData{} + this.Item = item + return &this +} + +// NewGetBlockchainEventSubscriptionDetailsByReferenceIDRDataWithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRDataWithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDRData { + this := GetBlockchainEventSubscriptionDetailsByReferenceIDRData{} + return &this +} + +// GetItem returns the Item field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRData) GetItem() GetBlockchainEventSubscriptionDetailsByReferenceIDRI { + if o == nil { + var ret GetBlockchainEventSubscriptionDetailsByReferenceIDRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRData) GetItemOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRData) SetItem(v GetBlockchainEventSubscriptionDetailsByReferenceIDRI) { + o.Item = v +} + +func (o GetBlockchainEventSubscriptionDetailsByReferenceIDRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData struct { + value *GetBlockchainEventSubscriptionDetailsByReferenceIDRData + isSet bool +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData) Get() *GetBlockchainEventSubscriptionDetailsByReferenceIDRData { + return v.value +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData) Set(val *GetBlockchainEventSubscriptionDetailsByReferenceIDRData) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData(val *GetBlockchainEventSubscriptionDetailsByReferenceIDRData) *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData { + return &NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData{value: val, isSet: true} +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_blockchain_event_subscription_details_by_reference_idri.go b/model_get_blockchain_event_subscription_details_by_reference_idri.go new file mode 100644 index 0000000..7d78d9f --- /dev/null +++ b/model_get_blockchain_event_subscription_details_by_reference_idri.go @@ -0,0 +1,475 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetBlockchainEventSubscriptionDetailsByReferenceIDRI struct for GetBlockchainEventSubscriptionDetailsByReferenceIDRI +type GetBlockchainEventSubscriptionDetailsByReferenceIDRI struct { + // Represents the address of the transaction. + Address *string `json:"address,omitempty"` + // Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + Blockchain string `json:"blockchain"` + // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). + CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + CallbackUrl string `json:"callbackUrl"` + // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. + ConfirmationsCount *int32 `json:"confirmationsCount,omitempty"` + // Defines the specific time/date when the subscription was created in Unix Timestamp. + CreatedTimestamp int32 `json:"createdTimestamp"` + // Represents the deactivation reason details, available when a blockchain event subscription has status isActive - false. + DeactivationReasons []ListBlockchainEventsSubscriptionsRIDeactivationReasons `json:"deactivationReasons,omitempty"` + // Defines the type of the specific event available for the customer to subscribe to for callback notification. + EventType string `json:"eventType"` + // Defines whether the subscription is active or not. Set as boolean. + IsActive bool `json:"isActive"` + // Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + Network string `json:"network"` + // Represents a unique ID used to reference the specific callback subscription. + ReferenceId string `json:"referenceId"` + // Represents the unique identification string that defines the transaction. + TransactionId *string `json:"transactionId,omitempty"` +} + +// NewGetBlockchainEventSubscriptionDetailsByReferenceIDRI instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRI(blockchain string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, network string, referenceId string) *GetBlockchainEventSubscriptionDetailsByReferenceIDRI { + this := GetBlockchainEventSubscriptionDetailsByReferenceIDRI{} + this.Blockchain = blockchain + this.CallbackUrl = callbackUrl + this.CreatedTimestamp = createdTimestamp + this.EventType = eventType + this.IsActive = isActive + this.Network = network + this.ReferenceId = referenceId + return &this +} + +// NewGetBlockchainEventSubscriptionDetailsByReferenceIDRIWithDefaults instantiates a new GetBlockchainEventSubscriptionDetailsByReferenceIDRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetBlockchainEventSubscriptionDetailsByReferenceIDRIWithDefaults() *GetBlockchainEventSubscriptionDetailsByReferenceIDRI { + this := GetBlockchainEventSubscriptionDetailsByReferenceIDRI{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetAddress() string { + if o == nil || o.Address == nil { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetAddressOk() (*string, bool) { + if o == nil || o.Address == nil { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasAddress() bool { + if o != nil && o.Address != nil { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetAddress(v string) { + o.Address = &v +} + +// GetBlockchain returns the Blockchain field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetBlockchain() string { + if o == nil { + var ret string + return ret + } + + return o.Blockchain +} + +// GetBlockchainOk returns a tuple with the Blockchain field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetBlockchainOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Blockchain, true +} + +// SetBlockchain sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetBlockchain(v string) { + o.Blockchain = v +} + +// GetCallbackSecretKey returns the CallbackSecretKey field value if set, zero value otherwise. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCallbackSecretKey() string { + if o == nil || o.CallbackSecretKey == nil { + var ret string + return ret + } + return *o.CallbackSecretKey +} + +// GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCallbackSecretKeyOk() (*string, bool) { + if o == nil || o.CallbackSecretKey == nil { + return nil, false + } + return o.CallbackSecretKey, true +} + +// HasCallbackSecretKey returns a boolean if a field has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasCallbackSecretKey() bool { + if o != nil && o.CallbackSecretKey != nil { + return true + } + + return false +} + +// SetCallbackSecretKey gets a reference to the given string and assigns it to the CallbackSecretKey field. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetCallbackSecretKey(v string) { + o.CallbackSecretKey = &v +} + +// GetCallbackUrl returns the CallbackUrl field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCallbackUrl() string { + if o == nil { + var ret string + return ret + } + + return o.CallbackUrl +} + +// GetCallbackUrlOk returns a tuple with the CallbackUrl field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCallbackUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CallbackUrl, true +} + +// SetCallbackUrl sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetCallbackUrl(v string) { + o.CallbackUrl = v +} + +// GetConfirmationsCount returns the ConfirmationsCount field value if set, zero value otherwise. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetConfirmationsCount() int32 { + if o == nil || o.ConfirmationsCount == nil { + var ret int32 + return ret + } + return *o.ConfirmationsCount +} + +// GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetConfirmationsCountOk() (*int32, bool) { + if o == nil || o.ConfirmationsCount == nil { + return nil, false + } + return o.ConfirmationsCount, true +} + +// HasConfirmationsCount returns a boolean if a field has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasConfirmationsCount() bool { + if o != nil && o.ConfirmationsCount != nil { + return true + } + + return false +} + +// SetConfirmationsCount gets a reference to the given int32 and assigns it to the ConfirmationsCount field. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetConfirmationsCount(v int32) { + o.ConfirmationsCount = &v +} + +// GetCreatedTimestamp returns the CreatedTimestamp field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCreatedTimestamp() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.CreatedTimestamp +} + +// GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetCreatedTimestampOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.CreatedTimestamp, true +} + +// SetCreatedTimestamp sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetCreatedTimestamp(v int32) { + o.CreatedTimestamp = v +} + +// GetDeactivationReasons returns the DeactivationReasons field value if set, zero value otherwise. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetDeactivationReasons() []ListBlockchainEventsSubscriptionsRIDeactivationReasons { + if o == nil || o.DeactivationReasons == nil { + var ret []ListBlockchainEventsSubscriptionsRIDeactivationReasons + return ret + } + return o.DeactivationReasons +} + +// GetDeactivationReasonsOk returns a tuple with the DeactivationReasons field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetDeactivationReasonsOk() ([]ListBlockchainEventsSubscriptionsRIDeactivationReasons, bool) { + if o == nil || o.DeactivationReasons == nil { + return nil, false + } + return o.DeactivationReasons, true +} + +// HasDeactivationReasons returns a boolean if a field has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasDeactivationReasons() bool { + if o != nil && o.DeactivationReasons != nil { + return true + } + + return false +} + +// SetDeactivationReasons gets a reference to the given []ListBlockchainEventsSubscriptionsRIDeactivationReasons and assigns it to the DeactivationReasons field. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetDeactivationReasons(v []ListBlockchainEventsSubscriptionsRIDeactivationReasons) { + o.DeactivationReasons = v +} + +// GetEventType returns the EventType field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetEventType() string { + if o == nil { + var ret string + return ret + } + + return o.EventType +} + +// GetEventTypeOk returns a tuple with the EventType field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetEventTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.EventType, true +} + +// SetEventType sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetEventType(v string) { + o.EventType = v +} + +// GetIsActive returns the IsActive field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetIsActive() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetIsActiveOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsActive, true +} + +// SetIsActive sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetIsActive(v bool) { + o.IsActive = v +} + +// GetNetwork returns the Network field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetNetwork() string { + if o == nil { + var ret string + return ret + } + + return o.Network +} + +// GetNetworkOk returns a tuple with the Network field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetNetworkOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Network, true +} + +// SetNetwork sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetNetwork(v string) { + o.Network = v +} + +// GetReferenceId returns the ReferenceId field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetReferenceId() string { + if o == nil { + var ret string + return ret + } + + return o.ReferenceId +} + +// GetReferenceIdOk returns a tuple with the ReferenceId field value +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetReferenceIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ReferenceId, true +} + +// SetReferenceId sets field value +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetReferenceId(v string) { + o.ReferenceId = v +} + +// GetTransactionId returns the TransactionId field value if set, zero value otherwise. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetTransactionId() string { + if o == nil || o.TransactionId == nil { + var ret string + return ret + } + return *o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) GetTransactionIdOk() (*string, bool) { + if o == nil || o.TransactionId == nil { + return nil, false + } + return o.TransactionId, true +} + +// HasTransactionId returns a boolean if a field has been set. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) HasTransactionId() bool { + if o != nil && o.TransactionId != nil { + return true + } + + return false +} + +// SetTransactionId gets a reference to the given string and assigns it to the TransactionId field. +func (o *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) SetTransactionId(v string) { + o.TransactionId = &v +} + +func (o GetBlockchainEventSubscriptionDetailsByReferenceIDRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Address != nil { + toSerialize["address"] = o.Address + } + if true { + toSerialize["blockchain"] = o.Blockchain + } + if o.CallbackSecretKey != nil { + toSerialize["callbackSecretKey"] = o.CallbackSecretKey + } + if true { + toSerialize["callbackUrl"] = o.CallbackUrl + } + if o.ConfirmationsCount != nil { + toSerialize["confirmationsCount"] = o.ConfirmationsCount + } + if true { + toSerialize["createdTimestamp"] = o.CreatedTimestamp + } + if o.DeactivationReasons != nil { + toSerialize["deactivationReasons"] = o.DeactivationReasons + } + if true { + toSerialize["eventType"] = o.EventType + } + if true { + toSerialize["isActive"] = o.IsActive + } + if true { + toSerialize["network"] = o.Network + } + if true { + toSerialize["referenceId"] = o.ReferenceId + } + if o.TransactionId != nil { + toSerialize["transactionId"] = o.TransactionId + } + return json.Marshal(toSerialize) +} + +type NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI struct { + value *GetBlockchainEventSubscriptionDetailsByReferenceIDRI + isSet bool +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI) Get() *GetBlockchainEventSubscriptionDetailsByReferenceIDRI { + return v.value +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI) Set(val *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) { + v.value = val + v.isSet = true +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI(val *GetBlockchainEventSubscriptionDetailsByReferenceIDRI) *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI { + return &NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI{value: val, isSet: true} +} + +func (v NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBlockchainEventSubscriptionDetailsByReferenceIDRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_eip1559_fee_recommendations_e400.go b/model_get_eip1559_fee_recommendations_e400.go index 4d26e87..6d2381b 100644 --- a/model_get_eip1559_fee_recommendations_e400.go +++ b/model_get_eip1559_fee_recommendations_e400.go @@ -25,17 +25,23 @@ type GetEIP1559FeeRecommendationsE400 struct { // InvalidPaginationAsGetEIP1559FeeRecommendationsE400 is a convenience function that returns InvalidPagination wrapped in GetEIP1559FeeRecommendationsE400 func InvalidPaginationAsGetEIP1559FeeRecommendationsE400(v *InvalidPagination) GetEIP1559FeeRecommendationsE400 { - return GetEIP1559FeeRecommendationsE400{ InvalidPagination: v} + return GetEIP1559FeeRecommendationsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetEIP1559FeeRecommendationsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetEIP1559FeeRecommendationsE400 func LimitGreaterThanAllowedAsGetEIP1559FeeRecommendationsE400(v *LimitGreaterThanAllowed) GetEIP1559FeeRecommendationsE400 { - return GetEIP1559FeeRecommendationsE400{ LimitGreaterThanAllowed: v} + return GetEIP1559FeeRecommendationsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetEIP1559FeeRecommendationsE400 is a convenience function that returns UriNotFound wrapped in GetEIP1559FeeRecommendationsE400 func UriNotFoundAsGetEIP1559FeeRecommendationsE400(v *UriNotFound) GetEIP1559FeeRecommendationsE400 { - return GetEIP1559FeeRecommendationsE400{ UriNotFound: v} + return GetEIP1559FeeRecommendationsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetEIP1559FeeRecommendationsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetEIP1559FeeRecommendationsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetEIP1559FeeRecommendationsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetEIP1559FeeRecommendationsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetEIP1559FeeRecommendationsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_eip1559_fee_recommendations_e401.go b/model_get_eip1559_fee_recommendations_e401.go index 98b5c27..e392b66 100644 --- a/model_get_eip1559_fee_recommendations_e401.go +++ b/model_get_eip1559_fee_recommendations_e401.go @@ -24,12 +24,16 @@ type GetEIP1559FeeRecommendationsE401 struct { // InvalidApiKeyAsGetEIP1559FeeRecommendationsE401 is a convenience function that returns InvalidApiKey wrapped in GetEIP1559FeeRecommendationsE401 func InvalidApiKeyAsGetEIP1559FeeRecommendationsE401(v *InvalidApiKey) GetEIP1559FeeRecommendationsE401 { - return GetEIP1559FeeRecommendationsE401{ InvalidApiKey: v} + return GetEIP1559FeeRecommendationsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetEIP1559FeeRecommendationsE401 is a convenience function that returns MissingApiKey wrapped in GetEIP1559FeeRecommendationsE401 func MissingApiKeyAsGetEIP1559FeeRecommendationsE401(v *MissingApiKey) GetEIP1559FeeRecommendationsE401 { - return GetEIP1559FeeRecommendationsE401{ MissingApiKey: v} + return GetEIP1559FeeRecommendationsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetEIP1559FeeRecommendationsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetEIP1559FeeRecommendationsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetEIP1559FeeRecommendationsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetEIP1559FeeRecommendationsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_eip1559_fee_recommendations_e403.go b/model_get_eip1559_fee_recommendations_e403.go index c03d2d8..f1d7cc5 100644 --- a/model_get_eip1559_fee_recommendations_e403.go +++ b/model_get_eip1559_fee_recommendations_e403.go @@ -26,22 +26,30 @@ type GetEIP1559FeeRecommendationsE403 struct { // BannedIpAddressAsGetEIP1559FeeRecommendationsE403 is a convenience function that returns BannedIpAddress wrapped in GetEIP1559FeeRecommendationsE403 func BannedIpAddressAsGetEIP1559FeeRecommendationsE403(v *BannedIpAddress) GetEIP1559FeeRecommendationsE403 { - return GetEIP1559FeeRecommendationsE403{ BannedIpAddress: v} + return GetEIP1559FeeRecommendationsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetEIP1559FeeRecommendationsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetEIP1559FeeRecommendationsE403 func EndpointNotAllowedForApiKeyAsGetEIP1559FeeRecommendationsE403(v *EndpointNotAllowedForApiKey) GetEIP1559FeeRecommendationsE403 { - return GetEIP1559FeeRecommendationsE403{ EndpointNotAllowedForApiKey: v} + return GetEIP1559FeeRecommendationsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetEIP1559FeeRecommendationsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetEIP1559FeeRecommendationsE403 func EndpointNotAllowedForPlanAsGetEIP1559FeeRecommendationsE403(v *EndpointNotAllowedForPlan) GetEIP1559FeeRecommendationsE403 { - return GetEIP1559FeeRecommendationsE403{ EndpointNotAllowedForPlan: v} + return GetEIP1559FeeRecommendationsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetEIP1559FeeRecommendationsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetEIP1559FeeRecommendationsE403 func FeatureMainnetsNotAllowedForPlanAsGetEIP1559FeeRecommendationsE403(v *FeatureMainnetsNotAllowedForPlan) GetEIP1559FeeRecommendationsE403 { - return GetEIP1559FeeRecommendationsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetEIP1559FeeRecommendationsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetEIP1559FeeRecommendationsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetEIP1559FeeRecommendationsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetEIP1559FeeRecommendationsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetEIP1559FeeRecommendationsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetEIP1559FeeRecommendationsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetEIP1559FeeRecommendationsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_eip1559_fee_recommendations_r.go b/model_get_eip1559_fee_recommendations_r.go index 08f362b..e13063a 100644 --- a/model_get_eip1559_fee_recommendations_r.go +++ b/model_get_eip1559_fee_recommendations_r.go @@ -59,7 +59,7 @@ func (o *GetEIP1559FeeRecommendationsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetEIP1559FeeRecommendationsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetEIP1559FeeRecommendationsR) GetData() GetEIP1559FeeRecommendationsRD // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsR) GetDataOk() (*GetEIP1559FeeRecommendationsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_eip1559_fee_recommendations_r_data.go b/model_get_eip1559_fee_recommendations_r_data.go index c7b4b81..c057a08 100644 --- a/model_get_eip1559_fee_recommendations_r_data.go +++ b/model_get_eip1559_fee_recommendations_r_data.go @@ -51,7 +51,7 @@ func (o *GetEIP1559FeeRecommendationsRData) GetItem() GetEIP1559FeeRecommendatio // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRData) GetItemOk() (*GetEIP1559FeeRecommendationsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_eip1559_fee_recommendations_ri.go b/model_get_eip1559_fee_recommendations_ri.go index a33cdf4..717139d 100644 --- a/model_get_eip1559_fee_recommendations_ri.go +++ b/model_get_eip1559_fee_recommendations_ri.go @@ -55,7 +55,7 @@ func (o *GetEIP1559FeeRecommendationsRI) GetBaseFeePerGas() GetEIP1559FeeRecomme // GetBaseFeePerGasOk returns a tuple with the BaseFeePerGas field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRI) GetBaseFeePerGasOk() (*GetEIP1559FeeRecommendationsRIBaseFeePerGas, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BaseFeePerGas, true @@ -79,7 +79,7 @@ func (o *GetEIP1559FeeRecommendationsRI) GetMaxFeePerGas() GetEIP1559FeeRecommen // GetMaxFeePerGasOk returns a tuple with the MaxFeePerGas field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRI) GetMaxFeePerGasOk() (*GetEIP1559FeeRecommendationsRIMaxFeePerGas, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MaxFeePerGas, true @@ -103,7 +103,7 @@ func (o *GetEIP1559FeeRecommendationsRI) GetMaxPriorityFeePerGas() GetEIP1559Fee // GetMaxPriorityFeePerGasOk returns a tuple with the MaxPriorityFeePerGas field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRI) GetMaxPriorityFeePerGasOk() (*GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MaxPriorityFeePerGas, true diff --git a/model_get_eip1559_fee_recommendations_ri_base_fee_per_gas.go b/model_get_eip1559_fee_recommendations_ri_base_fee_per_gas.go index 174aa19..4337931 100644 --- a/model_get_eip1559_fee_recommendations_ri_base_fee_per_gas.go +++ b/model_get_eip1559_fee_recommendations_ri_base_fee_per_gas.go @@ -55,7 +55,7 @@ func (o *GetEIP1559FeeRecommendationsRIBaseFeePerGas) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIBaseFeePerGas) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -79,7 +79,7 @@ func (o *GetEIP1559FeeRecommendationsRIBaseFeePerGas) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIBaseFeePerGas) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_eip1559_fee_recommendations_ri_max_fee_per_gas.go b/model_get_eip1559_fee_recommendations_ri_max_fee_per_gas.go index 346b362..6dd891c 100644 --- a/model_get_eip1559_fee_recommendations_ri_max_fee_per_gas.go +++ b/model_get_eip1559_fee_recommendations_ri_max_fee_per_gas.go @@ -61,7 +61,7 @@ func (o *GetEIP1559FeeRecommendationsRIMaxFeePerGas) GetFast() string { // GetFastOk returns a tuple with the Fast field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIMaxFeePerGas) GetFastOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fast, true @@ -85,7 +85,7 @@ func (o *GetEIP1559FeeRecommendationsRIMaxFeePerGas) GetSlow() string { // GetSlowOk returns a tuple with the Slow field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIMaxFeePerGas) GetSlowOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Slow, true @@ -109,7 +109,7 @@ func (o *GetEIP1559FeeRecommendationsRIMaxFeePerGas) GetStandard() string { // GetStandardOk returns a tuple with the Standard field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIMaxFeePerGas) GetStandardOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Standard, true @@ -133,7 +133,7 @@ func (o *GetEIP1559FeeRecommendationsRIMaxFeePerGas) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIMaxFeePerGas) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_eip1559_fee_recommendations_ri_max_priority_fee_per_gas.go b/model_get_eip1559_fee_recommendations_ri_max_priority_fee_per_gas.go index c211550..5575b77 100644 --- a/model_get_eip1559_fee_recommendations_ri_max_priority_fee_per_gas.go +++ b/model_get_eip1559_fee_recommendations_ri_max_priority_fee_per_gas.go @@ -61,7 +61,7 @@ func (o *GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas) GetFast() string { // GetFastOk returns a tuple with the Fast field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas) GetFastOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fast, true @@ -85,7 +85,7 @@ func (o *GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas) GetSlow() string { // GetSlowOk returns a tuple with the Slow field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas) GetSlowOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Slow, true @@ -109,7 +109,7 @@ func (o *GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas) GetStandard() strin // GetStandardOk returns a tuple with the Standard field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas) GetStandardOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Standard, true @@ -133,7 +133,7 @@ func (o *GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetEIP1559FeeRecommendationsRIMaxPriorityFeePerGas) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_exchange_rate_by_asset_symbols_e400.go b/model_get_exchange_rate_by_asset_symbols_e400.go index de4d6af..aee8255 100644 --- a/model_get_exchange_rate_by_asset_symbols_e400.go +++ b/model_get_exchange_rate_by_asset_symbols_e400.go @@ -25,17 +25,23 @@ type GetExchangeRateByAssetSymbolsE400 struct { // InvalidPaginationAsGetExchangeRateByAssetSymbolsE400 is a convenience function that returns InvalidPagination wrapped in GetExchangeRateByAssetSymbolsE400 func InvalidPaginationAsGetExchangeRateByAssetSymbolsE400(v *InvalidPagination) GetExchangeRateByAssetSymbolsE400 { - return GetExchangeRateByAssetSymbolsE400{ InvalidPagination: v} + return GetExchangeRateByAssetSymbolsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetExchangeRateByAssetSymbolsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetExchangeRateByAssetSymbolsE400 func LimitGreaterThanAllowedAsGetExchangeRateByAssetSymbolsE400(v *LimitGreaterThanAllowed) GetExchangeRateByAssetSymbolsE400 { - return GetExchangeRateByAssetSymbolsE400{ LimitGreaterThanAllowed: v} + return GetExchangeRateByAssetSymbolsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetExchangeRateByAssetSymbolsE400 is a convenience function that returns UriNotFound wrapped in GetExchangeRateByAssetSymbolsE400 func UriNotFoundAsGetExchangeRateByAssetSymbolsE400(v *UriNotFound) GetExchangeRateByAssetSymbolsE400 { - return GetExchangeRateByAssetSymbolsE400{ UriNotFound: v} + return GetExchangeRateByAssetSymbolsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetExchangeRateByAssetSymbolsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetExchangeRateByAssetSymbolsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetExchangeRateByAssetSymbolsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetExchangeRateByAssetSymbolsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetExchangeRateByAssetSymbolsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_exchange_rate_by_asset_symbols_e401.go b/model_get_exchange_rate_by_asset_symbols_e401.go index d509f27..84e9e5f 100644 --- a/model_get_exchange_rate_by_asset_symbols_e401.go +++ b/model_get_exchange_rate_by_asset_symbols_e401.go @@ -24,12 +24,16 @@ type GetExchangeRateByAssetSymbolsE401 struct { // InvalidApiKeyAsGetExchangeRateByAssetSymbolsE401 is a convenience function that returns InvalidApiKey wrapped in GetExchangeRateByAssetSymbolsE401 func InvalidApiKeyAsGetExchangeRateByAssetSymbolsE401(v *InvalidApiKey) GetExchangeRateByAssetSymbolsE401 { - return GetExchangeRateByAssetSymbolsE401{ InvalidApiKey: v} + return GetExchangeRateByAssetSymbolsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetExchangeRateByAssetSymbolsE401 is a convenience function that returns MissingApiKey wrapped in GetExchangeRateByAssetSymbolsE401 func MissingApiKeyAsGetExchangeRateByAssetSymbolsE401(v *MissingApiKey) GetExchangeRateByAssetSymbolsE401 { - return GetExchangeRateByAssetSymbolsE401{ MissingApiKey: v} + return GetExchangeRateByAssetSymbolsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetExchangeRateByAssetSymbolsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetExchangeRateByAssetSymbolsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetExchangeRateByAssetSymbolsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetExchangeRateByAssetSymbolsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_exchange_rate_by_asset_symbols_e403.go b/model_get_exchange_rate_by_asset_symbols_e403.go index 7f84b1f..d105581 100644 --- a/model_get_exchange_rate_by_asset_symbols_e403.go +++ b/model_get_exchange_rate_by_asset_symbols_e403.go @@ -26,22 +26,30 @@ type GetExchangeRateByAssetSymbolsE403 struct { // BannedIpAddressAsGetExchangeRateByAssetSymbolsE403 is a convenience function that returns BannedIpAddress wrapped in GetExchangeRateByAssetSymbolsE403 func BannedIpAddressAsGetExchangeRateByAssetSymbolsE403(v *BannedIpAddress) GetExchangeRateByAssetSymbolsE403 { - return GetExchangeRateByAssetSymbolsE403{ BannedIpAddress: v} + return GetExchangeRateByAssetSymbolsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetExchangeRateByAssetSymbolsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetExchangeRateByAssetSymbolsE403 func EndpointNotAllowedForApiKeyAsGetExchangeRateByAssetSymbolsE403(v *EndpointNotAllowedForApiKey) GetExchangeRateByAssetSymbolsE403 { - return GetExchangeRateByAssetSymbolsE403{ EndpointNotAllowedForApiKey: v} + return GetExchangeRateByAssetSymbolsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetExchangeRateByAssetSymbolsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetExchangeRateByAssetSymbolsE403 func EndpointNotAllowedForPlanAsGetExchangeRateByAssetSymbolsE403(v *EndpointNotAllowedForPlan) GetExchangeRateByAssetSymbolsE403 { - return GetExchangeRateByAssetSymbolsE403{ EndpointNotAllowedForPlan: v} + return GetExchangeRateByAssetSymbolsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetExchangeRateByAssetSymbolsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetExchangeRateByAssetSymbolsE403 func FeatureMainnetsNotAllowedForPlanAsGetExchangeRateByAssetSymbolsE403(v *FeatureMainnetsNotAllowedForPlan) GetExchangeRateByAssetSymbolsE403 { - return GetExchangeRateByAssetSymbolsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetExchangeRateByAssetSymbolsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetExchangeRateByAssetSymbolsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetExchangeRateByAssetSymbolsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetExchangeRateByAssetSymbolsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetExchangeRateByAssetSymbolsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetExchangeRateByAssetSymbolsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetExchangeRateByAssetSymbolsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_exchange_rate_by_asset_symbols_e422.go b/model_get_exchange_rate_by_asset_symbols_e422.go index 50f5406..a3c6281 100644 --- a/model_get_exchange_rate_by_asset_symbols_e422.go +++ b/model_get_exchange_rate_by_asset_symbols_e422.go @@ -24,12 +24,16 @@ type GetExchangeRateByAssetSymbolsE422 struct { // CouldNotCalculateRateForPairAsGetExchangeRateByAssetSymbolsE422 is a convenience function that returns CouldNotCalculateRateForPair wrapped in GetExchangeRateByAssetSymbolsE422 func CouldNotCalculateRateForPairAsGetExchangeRateByAssetSymbolsE422(v *CouldNotCalculateRateForPair) GetExchangeRateByAssetSymbolsE422 { - return GetExchangeRateByAssetSymbolsE422{ CouldNotCalculateRateForPair: v} + return GetExchangeRateByAssetSymbolsE422{ + CouldNotCalculateRateForPair: v, + } } // InvalidRequestBodyStructureAsGetExchangeRateByAssetSymbolsE422 is a convenience function that returns InvalidRequestBodyStructure wrapped in GetExchangeRateByAssetSymbolsE422 func InvalidRequestBodyStructureAsGetExchangeRateByAssetSymbolsE422(v *InvalidRequestBodyStructure) GetExchangeRateByAssetSymbolsE422 { - return GetExchangeRateByAssetSymbolsE422{ InvalidRequestBodyStructure: v} + return GetExchangeRateByAssetSymbolsE422{ + InvalidRequestBodyStructure: v, + } } @@ -38,7 +42,7 @@ func (dst *GetExchangeRateByAssetSymbolsE422) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into CouldNotCalculateRateForPair - err = json.Unmarshal(data, &dst.CouldNotCalculateRateForPair) + err = newStrictDecoder(data).Decode(&dst.CouldNotCalculateRateForPair) if err == nil { jsonCouldNotCalculateRateForPair, _ := json.Marshal(dst.CouldNotCalculateRateForPair) if string(jsonCouldNotCalculateRateForPair) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetExchangeRateByAssetSymbolsE422) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidRequestBodyStructure - err = json.Unmarshal(data, &dst.InvalidRequestBodyStructure) + err = newStrictDecoder(data).Decode(&dst.InvalidRequestBodyStructure) if err == nil { jsonInvalidRequestBodyStructure, _ := json.Marshal(dst.InvalidRequestBodyStructure) if string(jsonInvalidRequestBodyStructure) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetExchangeRateByAssetSymbolsE422) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetExchangeRateByAssetSymbolsE422) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.CouldNotCalculateRateForPair != nil { return obj.CouldNotCalculateRateForPair } diff --git a/model_get_exchange_rate_by_asset_symbols_r.go b/model_get_exchange_rate_by_asset_symbols_r.go index f3e3201..8f0518b 100644 --- a/model_get_exchange_rate_by_asset_symbols_r.go +++ b/model_get_exchange_rate_by_asset_symbols_r.go @@ -59,7 +59,7 @@ func (o *GetExchangeRateByAssetSymbolsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetExchangeRateByAssetSymbolsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetExchangeRateByAssetSymbolsR) GetData() GetExchangeRateByAssetSymbols // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsR) GetDataOk() (*GetExchangeRateByAssetSymbolsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_exchange_rate_by_asset_symbols_r_data.go b/model_get_exchange_rate_by_asset_symbols_r_data.go index 0b8c632..0c9597a 100644 --- a/model_get_exchange_rate_by_asset_symbols_r_data.go +++ b/model_get_exchange_rate_by_asset_symbols_r_data.go @@ -51,7 +51,7 @@ func (o *GetExchangeRateByAssetSymbolsRData) GetItem() GetExchangeRateByAssetSym // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsRData) GetItemOk() (*GetExchangeRateByAssetSymbolsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_exchange_rate_by_asset_symbols_ri.go b/model_get_exchange_rate_by_asset_symbols_ri.go index 153a744..8af7cb7 100644 --- a/model_get_exchange_rate_by_asset_symbols_ri.go +++ b/model_get_exchange_rate_by_asset_symbols_ri.go @@ -67,7 +67,7 @@ func (o *GetExchangeRateByAssetSymbolsRI) GetCalculationTimestamp() int32 { // GetCalculationTimestampOk returns a tuple with the CalculationTimestamp field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsRI) GetCalculationTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CalculationTimestamp, true @@ -91,7 +91,7 @@ func (o *GetExchangeRateByAssetSymbolsRI) GetFromAssetId() string { // GetFromAssetIdOk returns a tuple with the FromAssetId field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsRI) GetFromAssetIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAssetId, true @@ -115,7 +115,7 @@ func (o *GetExchangeRateByAssetSymbolsRI) GetFromAssetSymbol() string { // GetFromAssetSymbolOk returns a tuple with the FromAssetSymbol field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsRI) GetFromAssetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAssetSymbol, true @@ -139,7 +139,7 @@ func (o *GetExchangeRateByAssetSymbolsRI) GetRate() string { // GetRateOk returns a tuple with the Rate field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsRI) GetRateOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Rate, true @@ -163,7 +163,7 @@ func (o *GetExchangeRateByAssetSymbolsRI) GetToAssetId() string { // GetToAssetIdOk returns a tuple with the ToAssetId field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsRI) GetToAssetIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAssetId, true @@ -187,7 +187,7 @@ func (o *GetExchangeRateByAssetSymbolsRI) GetToAssetSymbol() string { // GetToAssetSymbolOk returns a tuple with the ToAssetSymbol field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetSymbolsRI) GetToAssetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAssetSymbol, true diff --git a/model_get_exchange_rate_by_assets_ids_e400.go b/model_get_exchange_rate_by_assets_ids_e400.go index c1bca52..32e4f3f 100644 --- a/model_get_exchange_rate_by_assets_ids_e400.go +++ b/model_get_exchange_rate_by_assets_ids_e400.go @@ -25,17 +25,23 @@ type GetExchangeRateByAssetsIDsE400 struct { // InvalidPaginationAsGetExchangeRateByAssetsIDsE400 is a convenience function that returns InvalidPagination wrapped in GetExchangeRateByAssetsIDsE400 func InvalidPaginationAsGetExchangeRateByAssetsIDsE400(v *InvalidPagination) GetExchangeRateByAssetsIDsE400 { - return GetExchangeRateByAssetsIDsE400{ InvalidPagination: v} + return GetExchangeRateByAssetsIDsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetExchangeRateByAssetsIDsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetExchangeRateByAssetsIDsE400 func LimitGreaterThanAllowedAsGetExchangeRateByAssetsIDsE400(v *LimitGreaterThanAllowed) GetExchangeRateByAssetsIDsE400 { - return GetExchangeRateByAssetsIDsE400{ LimitGreaterThanAllowed: v} + return GetExchangeRateByAssetsIDsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetExchangeRateByAssetsIDsE400 is a convenience function that returns UriNotFound wrapped in GetExchangeRateByAssetsIDsE400 func UriNotFoundAsGetExchangeRateByAssetsIDsE400(v *UriNotFound) GetExchangeRateByAssetsIDsE400 { - return GetExchangeRateByAssetsIDsE400{ UriNotFound: v} + return GetExchangeRateByAssetsIDsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetExchangeRateByAssetsIDsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetExchangeRateByAssetsIDsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetExchangeRateByAssetsIDsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetExchangeRateByAssetsIDsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetExchangeRateByAssetsIDsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_exchange_rate_by_assets_ids_e401.go b/model_get_exchange_rate_by_assets_ids_e401.go index 2620d39..412c68c 100644 --- a/model_get_exchange_rate_by_assets_ids_e401.go +++ b/model_get_exchange_rate_by_assets_ids_e401.go @@ -24,12 +24,16 @@ type GetExchangeRateByAssetsIDsE401 struct { // InvalidApiKeyAsGetExchangeRateByAssetsIDsE401 is a convenience function that returns InvalidApiKey wrapped in GetExchangeRateByAssetsIDsE401 func InvalidApiKeyAsGetExchangeRateByAssetsIDsE401(v *InvalidApiKey) GetExchangeRateByAssetsIDsE401 { - return GetExchangeRateByAssetsIDsE401{ InvalidApiKey: v} + return GetExchangeRateByAssetsIDsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetExchangeRateByAssetsIDsE401 is a convenience function that returns MissingApiKey wrapped in GetExchangeRateByAssetsIDsE401 func MissingApiKeyAsGetExchangeRateByAssetsIDsE401(v *MissingApiKey) GetExchangeRateByAssetsIDsE401 { - return GetExchangeRateByAssetsIDsE401{ MissingApiKey: v} + return GetExchangeRateByAssetsIDsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetExchangeRateByAssetsIDsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetExchangeRateByAssetsIDsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetExchangeRateByAssetsIDsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetExchangeRateByAssetsIDsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_exchange_rate_by_assets_ids_e403.go b/model_get_exchange_rate_by_assets_ids_e403.go index d3b6495..7bda900 100644 --- a/model_get_exchange_rate_by_assets_ids_e403.go +++ b/model_get_exchange_rate_by_assets_ids_e403.go @@ -26,22 +26,30 @@ type GetExchangeRateByAssetsIDsE403 struct { // BannedIpAddressAsGetExchangeRateByAssetsIDsE403 is a convenience function that returns BannedIpAddress wrapped in GetExchangeRateByAssetsIDsE403 func BannedIpAddressAsGetExchangeRateByAssetsIDsE403(v *BannedIpAddress) GetExchangeRateByAssetsIDsE403 { - return GetExchangeRateByAssetsIDsE403{ BannedIpAddress: v} + return GetExchangeRateByAssetsIDsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetExchangeRateByAssetsIDsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetExchangeRateByAssetsIDsE403 func EndpointNotAllowedForApiKeyAsGetExchangeRateByAssetsIDsE403(v *EndpointNotAllowedForApiKey) GetExchangeRateByAssetsIDsE403 { - return GetExchangeRateByAssetsIDsE403{ EndpointNotAllowedForApiKey: v} + return GetExchangeRateByAssetsIDsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetExchangeRateByAssetsIDsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetExchangeRateByAssetsIDsE403 func EndpointNotAllowedForPlanAsGetExchangeRateByAssetsIDsE403(v *EndpointNotAllowedForPlan) GetExchangeRateByAssetsIDsE403 { - return GetExchangeRateByAssetsIDsE403{ EndpointNotAllowedForPlan: v} + return GetExchangeRateByAssetsIDsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetExchangeRateByAssetsIDsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetExchangeRateByAssetsIDsE403 func FeatureMainnetsNotAllowedForPlanAsGetExchangeRateByAssetsIDsE403(v *FeatureMainnetsNotAllowedForPlan) GetExchangeRateByAssetsIDsE403 { - return GetExchangeRateByAssetsIDsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetExchangeRateByAssetsIDsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetExchangeRateByAssetsIDsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetExchangeRateByAssetsIDsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetExchangeRateByAssetsIDsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetExchangeRateByAssetsIDsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetExchangeRateByAssetsIDsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetExchangeRateByAssetsIDsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_exchange_rate_by_assets_ids_e422.go b/model_get_exchange_rate_by_assets_ids_e422.go index 4d8b7d5..c5620c8 100644 --- a/model_get_exchange_rate_by_assets_ids_e422.go +++ b/model_get_exchange_rate_by_assets_ids_e422.go @@ -24,12 +24,16 @@ type GetExchangeRateByAssetsIDsE422 struct { // CouldNotCalculateRateForPairAsGetExchangeRateByAssetsIDsE422 is a convenience function that returns CouldNotCalculateRateForPair wrapped in GetExchangeRateByAssetsIDsE422 func CouldNotCalculateRateForPairAsGetExchangeRateByAssetsIDsE422(v *CouldNotCalculateRateForPair) GetExchangeRateByAssetsIDsE422 { - return GetExchangeRateByAssetsIDsE422{ CouldNotCalculateRateForPair: v} + return GetExchangeRateByAssetsIDsE422{ + CouldNotCalculateRateForPair: v, + } } // InvalidRequestBodyStructureAsGetExchangeRateByAssetsIDsE422 is a convenience function that returns InvalidRequestBodyStructure wrapped in GetExchangeRateByAssetsIDsE422 func InvalidRequestBodyStructureAsGetExchangeRateByAssetsIDsE422(v *InvalidRequestBodyStructure) GetExchangeRateByAssetsIDsE422 { - return GetExchangeRateByAssetsIDsE422{ InvalidRequestBodyStructure: v} + return GetExchangeRateByAssetsIDsE422{ + InvalidRequestBodyStructure: v, + } } @@ -38,7 +42,7 @@ func (dst *GetExchangeRateByAssetsIDsE422) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into CouldNotCalculateRateForPair - err = json.Unmarshal(data, &dst.CouldNotCalculateRateForPair) + err = newStrictDecoder(data).Decode(&dst.CouldNotCalculateRateForPair) if err == nil { jsonCouldNotCalculateRateForPair, _ := json.Marshal(dst.CouldNotCalculateRateForPair) if string(jsonCouldNotCalculateRateForPair) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetExchangeRateByAssetsIDsE422) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidRequestBodyStructure - err = json.Unmarshal(data, &dst.InvalidRequestBodyStructure) + err = newStrictDecoder(data).Decode(&dst.InvalidRequestBodyStructure) if err == nil { jsonInvalidRequestBodyStructure, _ := json.Marshal(dst.InvalidRequestBodyStructure) if string(jsonInvalidRequestBodyStructure) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetExchangeRateByAssetsIDsE422) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetExchangeRateByAssetsIDsE422) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.CouldNotCalculateRateForPair != nil { return obj.CouldNotCalculateRateForPair } diff --git a/model_get_exchange_rate_by_assets_ids_r.go b/model_get_exchange_rate_by_assets_ids_r.go index 335e340..da926b4 100644 --- a/model_get_exchange_rate_by_assets_ids_r.go +++ b/model_get_exchange_rate_by_assets_ids_r.go @@ -59,7 +59,7 @@ func (o *GetExchangeRateByAssetsIDsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetExchangeRateByAssetsIDsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetExchangeRateByAssetsIDsR) GetData() GetExchangeRateByAssetsIDsRData // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsR) GetDataOk() (*GetExchangeRateByAssetsIDsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_exchange_rate_by_assets_ids_r_data.go b/model_get_exchange_rate_by_assets_ids_r_data.go index 51b0655..7bc2b64 100644 --- a/model_get_exchange_rate_by_assets_ids_r_data.go +++ b/model_get_exchange_rate_by_assets_ids_r_data.go @@ -51,7 +51,7 @@ func (o *GetExchangeRateByAssetsIDsRData) GetItem() GetExchangeRateByAssetsIDsRI // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsRData) GetItemOk() (*GetExchangeRateByAssetsIDsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_exchange_rate_by_assets_ids_ri.go b/model_get_exchange_rate_by_assets_ids_ri.go index 251a4d0..b03dbb6 100644 --- a/model_get_exchange_rate_by_assets_ids_ri.go +++ b/model_get_exchange_rate_by_assets_ids_ri.go @@ -67,7 +67,7 @@ func (o *GetExchangeRateByAssetsIDsRI) GetCalculationTimestamp() int32 { // GetCalculationTimestampOk returns a tuple with the CalculationTimestamp field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsRI) GetCalculationTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CalculationTimestamp, true @@ -91,7 +91,7 @@ func (o *GetExchangeRateByAssetsIDsRI) GetFromAssetId() string { // GetFromAssetIdOk returns a tuple with the FromAssetId field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsRI) GetFromAssetIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAssetId, true @@ -115,7 +115,7 @@ func (o *GetExchangeRateByAssetsIDsRI) GetFromAssetSymbol() string { // GetFromAssetSymbolOk returns a tuple with the FromAssetSymbol field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsRI) GetFromAssetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAssetSymbol, true @@ -139,7 +139,7 @@ func (o *GetExchangeRateByAssetsIDsRI) GetRate() string { // GetRateOk returns a tuple with the Rate field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsRI) GetRateOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Rate, true @@ -163,7 +163,7 @@ func (o *GetExchangeRateByAssetsIDsRI) GetToAssetId() string { // GetToAssetIdOk returns a tuple with the ToAssetId field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsRI) GetToAssetIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAssetId, true @@ -187,7 +187,7 @@ func (o *GetExchangeRateByAssetsIDsRI) GetToAssetSymbol() string { // GetToAssetSymbolOk returns a tuple with the ToAssetSymbol field value // and a boolean to check if the value has been set. func (o *GetExchangeRateByAssetsIDsRI) GetToAssetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAssetSymbol, true diff --git a/model_get_fee_address_details_e400.go b/model_get_fee_address_details_e400.go index 4614c27..c4050f2 100644 --- a/model_get_fee_address_details_e400.go +++ b/model_get_fee_address_details_e400.go @@ -25,17 +25,23 @@ type GetFeeAddressDetailsE400 struct { // InvalidPaginationAsGetFeeAddressDetailsE400 is a convenience function that returns InvalidPagination wrapped in GetFeeAddressDetailsE400 func InvalidPaginationAsGetFeeAddressDetailsE400(v *InvalidPagination) GetFeeAddressDetailsE400 { - return GetFeeAddressDetailsE400{ InvalidPagination: v} + return GetFeeAddressDetailsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetFeeAddressDetailsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetFeeAddressDetailsE400 func LimitGreaterThanAllowedAsGetFeeAddressDetailsE400(v *LimitGreaterThanAllowed) GetFeeAddressDetailsE400 { - return GetFeeAddressDetailsE400{ LimitGreaterThanAllowed: v} + return GetFeeAddressDetailsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetFeeAddressDetailsE400 is a convenience function that returns UriNotFound wrapped in GetFeeAddressDetailsE400 func UriNotFoundAsGetFeeAddressDetailsE400(v *UriNotFound) GetFeeAddressDetailsE400 { - return GetFeeAddressDetailsE400{ UriNotFound: v} + return GetFeeAddressDetailsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetFeeAddressDetailsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetFeeAddressDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetFeeAddressDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetFeeAddressDetailsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetFeeAddressDetailsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_fee_address_details_e401.go b/model_get_fee_address_details_e401.go index b5b07ff..9260483 100644 --- a/model_get_fee_address_details_e401.go +++ b/model_get_fee_address_details_e401.go @@ -24,12 +24,16 @@ type GetFeeAddressDetailsE401 struct { // InvalidApiKeyAsGetFeeAddressDetailsE401 is a convenience function that returns InvalidApiKey wrapped in GetFeeAddressDetailsE401 func InvalidApiKeyAsGetFeeAddressDetailsE401(v *InvalidApiKey) GetFeeAddressDetailsE401 { - return GetFeeAddressDetailsE401{ InvalidApiKey: v} + return GetFeeAddressDetailsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetFeeAddressDetailsE401 is a convenience function that returns MissingApiKey wrapped in GetFeeAddressDetailsE401 func MissingApiKeyAsGetFeeAddressDetailsE401(v *MissingApiKey) GetFeeAddressDetailsE401 { - return GetFeeAddressDetailsE401{ MissingApiKey: v} + return GetFeeAddressDetailsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetFeeAddressDetailsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetFeeAddressDetailsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetFeeAddressDetailsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetFeeAddressDetailsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_fee_address_details_e403.go b/model_get_fee_address_details_e403.go index 0eb9e92..8844bcf 100644 --- a/model_get_fee_address_details_e403.go +++ b/model_get_fee_address_details_e403.go @@ -26,22 +26,30 @@ type GetFeeAddressDetailsE403 struct { // BannedIpAddressAsGetFeeAddressDetailsE403 is a convenience function that returns BannedIpAddress wrapped in GetFeeAddressDetailsE403 func BannedIpAddressAsGetFeeAddressDetailsE403(v *BannedIpAddress) GetFeeAddressDetailsE403 { - return GetFeeAddressDetailsE403{ BannedIpAddress: v} + return GetFeeAddressDetailsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetFeeAddressDetailsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetFeeAddressDetailsE403 func EndpointNotAllowedForApiKeyAsGetFeeAddressDetailsE403(v *EndpointNotAllowedForApiKey) GetFeeAddressDetailsE403 { - return GetFeeAddressDetailsE403{ EndpointNotAllowedForApiKey: v} + return GetFeeAddressDetailsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetFeeAddressDetailsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetFeeAddressDetailsE403 func EndpointNotAllowedForPlanAsGetFeeAddressDetailsE403(v *EndpointNotAllowedForPlan) GetFeeAddressDetailsE403 { - return GetFeeAddressDetailsE403{ EndpointNotAllowedForPlan: v} + return GetFeeAddressDetailsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetFeeAddressDetailsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetFeeAddressDetailsE403 func FeatureMainnetsNotAllowedForPlanAsGetFeeAddressDetailsE403(v *FeatureMainnetsNotAllowedForPlan) GetFeeAddressDetailsE403 { - return GetFeeAddressDetailsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetFeeAddressDetailsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetFeeAddressDetailsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetFeeAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetFeeAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetFeeAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetFeeAddressDetailsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetFeeAddressDetailsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_fee_address_details_r.go b/model_get_fee_address_details_r.go index b583953..4405ce8 100644 --- a/model_get_fee_address_details_r.go +++ b/model_get_fee_address_details_r.go @@ -59,7 +59,7 @@ func (o *GetFeeAddressDetailsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetFeeAddressDetailsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetFeeAddressDetailsR) GetData() GetFeeAddressDetailsRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsR) GetDataOk() (*GetFeeAddressDetailsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_fee_address_details_r_data.go b/model_get_fee_address_details_r_data.go index 827cd66..cc58426 100644 --- a/model_get_fee_address_details_r_data.go +++ b/model_get_fee_address_details_r_data.go @@ -51,7 +51,7 @@ func (o *GetFeeAddressDetailsRData) GetItem() GetFeeAddressDetailsRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsRData) GetItemOk() (*GetFeeAddressDetailsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_fee_address_details_ri.go b/model_get_fee_address_details_ri.go index 8f5ffa8..03880a7 100644 --- a/model_get_fee_address_details_ri.go +++ b/model_get_fee_address_details_ri.go @@ -57,7 +57,7 @@ func (o *GetFeeAddressDetailsRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -81,7 +81,7 @@ func (o *GetFeeAddressDetailsRI) GetBalance() GetFeeAddressDetailsRIBalance { // GetBalanceOk returns a tuple with the Balance field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsRI) GetBalanceOk() (*GetFeeAddressDetailsRIBalance, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Balance, true @@ -105,7 +105,7 @@ func (o *GetFeeAddressDetailsRI) GetMinimumTransferAmount() string { // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsRI) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true diff --git a/model_get_fee_address_details_ri_balance.go b/model_get_fee_address_details_ri_balance.go index edbfef7..54861ed 100644 --- a/model_get_fee_address_details_ri_balance.go +++ b/model_get_fee_address_details_ri_balance.go @@ -55,7 +55,7 @@ func (o *GetFeeAddressDetailsRIBalance) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsRIBalance) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetFeeAddressDetailsRIBalance) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetFeeAddressDetailsRIBalance) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_fee_recommendations_e400.go b/model_get_fee_recommendations_e400.go index 75340e4..c1fe1fb 100644 --- a/model_get_fee_recommendations_e400.go +++ b/model_get_fee_recommendations_e400.go @@ -25,17 +25,23 @@ type GetFeeRecommendationsE400 struct { // InvalidPaginationAsGetFeeRecommendationsE400 is a convenience function that returns InvalidPagination wrapped in GetFeeRecommendationsE400 func InvalidPaginationAsGetFeeRecommendationsE400(v *InvalidPagination) GetFeeRecommendationsE400 { - return GetFeeRecommendationsE400{ InvalidPagination: v} + return GetFeeRecommendationsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetFeeRecommendationsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetFeeRecommendationsE400 func LimitGreaterThanAllowedAsGetFeeRecommendationsE400(v *LimitGreaterThanAllowed) GetFeeRecommendationsE400 { - return GetFeeRecommendationsE400{ LimitGreaterThanAllowed: v} + return GetFeeRecommendationsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetFeeRecommendationsE400 is a convenience function that returns UriNotFound wrapped in GetFeeRecommendationsE400 func UriNotFoundAsGetFeeRecommendationsE400(v *UriNotFound) GetFeeRecommendationsE400 { - return GetFeeRecommendationsE400{ UriNotFound: v} + return GetFeeRecommendationsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetFeeRecommendationsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetFeeRecommendationsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetFeeRecommendationsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetFeeRecommendationsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetFeeRecommendationsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_fee_recommendations_e401.go b/model_get_fee_recommendations_e401.go index c4d9f4c..bbd9fbb 100644 --- a/model_get_fee_recommendations_e401.go +++ b/model_get_fee_recommendations_e401.go @@ -24,12 +24,16 @@ type GetFeeRecommendationsE401 struct { // InvalidApiKeyAsGetFeeRecommendationsE401 is a convenience function that returns InvalidApiKey wrapped in GetFeeRecommendationsE401 func InvalidApiKeyAsGetFeeRecommendationsE401(v *InvalidApiKey) GetFeeRecommendationsE401 { - return GetFeeRecommendationsE401{ InvalidApiKey: v} + return GetFeeRecommendationsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetFeeRecommendationsE401 is a convenience function that returns MissingApiKey wrapped in GetFeeRecommendationsE401 func MissingApiKeyAsGetFeeRecommendationsE401(v *MissingApiKey) GetFeeRecommendationsE401 { - return GetFeeRecommendationsE401{ MissingApiKey: v} + return GetFeeRecommendationsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetFeeRecommendationsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetFeeRecommendationsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetFeeRecommendationsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetFeeRecommendationsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_fee_recommendations_e403.go b/model_get_fee_recommendations_e403.go index 7dae8ce..30721b5 100644 --- a/model_get_fee_recommendations_e403.go +++ b/model_get_fee_recommendations_e403.go @@ -26,22 +26,30 @@ type GetFeeRecommendationsE403 struct { // BannedIpAddressAsGetFeeRecommendationsE403 is a convenience function that returns BannedIpAddress wrapped in GetFeeRecommendationsE403 func BannedIpAddressAsGetFeeRecommendationsE403(v *BannedIpAddress) GetFeeRecommendationsE403 { - return GetFeeRecommendationsE403{ BannedIpAddress: v} + return GetFeeRecommendationsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetFeeRecommendationsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetFeeRecommendationsE403 func EndpointNotAllowedForApiKeyAsGetFeeRecommendationsE403(v *EndpointNotAllowedForApiKey) GetFeeRecommendationsE403 { - return GetFeeRecommendationsE403{ EndpointNotAllowedForApiKey: v} + return GetFeeRecommendationsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetFeeRecommendationsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetFeeRecommendationsE403 func EndpointNotAllowedForPlanAsGetFeeRecommendationsE403(v *EndpointNotAllowedForPlan) GetFeeRecommendationsE403 { - return GetFeeRecommendationsE403{ EndpointNotAllowedForPlan: v} + return GetFeeRecommendationsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetFeeRecommendationsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetFeeRecommendationsE403 func FeatureMainnetsNotAllowedForPlanAsGetFeeRecommendationsE403(v *FeatureMainnetsNotAllowedForPlan) GetFeeRecommendationsE403 { - return GetFeeRecommendationsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetFeeRecommendationsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetFeeRecommendationsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetFeeRecommendationsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetFeeRecommendationsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetFeeRecommendationsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetFeeRecommendationsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetFeeRecommendationsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_fee_recommendations_r.go b/model_get_fee_recommendations_r.go index b0ef3cc..5760f70 100644 --- a/model_get_fee_recommendations_r.go +++ b/model_get_fee_recommendations_r.go @@ -59,7 +59,7 @@ func (o *GetFeeRecommendationsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetFeeRecommendationsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetFeeRecommendationsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetFeeRecommendationsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetFeeRecommendationsR) GetData() GetFeeRecommendationsRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetFeeRecommendationsR) GetDataOk() (*GetFeeRecommendationsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_fee_recommendations_r_data.go b/model_get_fee_recommendations_r_data.go index e2bde7d..def10b3 100644 --- a/model_get_fee_recommendations_r_data.go +++ b/model_get_fee_recommendations_r_data.go @@ -51,7 +51,7 @@ func (o *GetFeeRecommendationsRData) GetItem() GetFeeRecommendationsRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetFeeRecommendationsRData) GetItemOk() (*GetFeeRecommendationsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_fee_recommendations_ri.go b/model_get_fee_recommendations_ri.go index 3460de7..02812b8 100644 --- a/model_get_fee_recommendations_ri.go +++ b/model_get_fee_recommendations_ri.go @@ -25,18 +25,21 @@ type GetFeeRecommendationsRI struct { Slow string `json:"slow"` // Standard fee per byte calculated from unconfirmed transactions Standard string `json:"standard"` + // Represents the fee cushion multiplier used to multiply the base fee. + FeeCushionMultiplier string `json:"feeCushionMultiplier"` } // NewGetFeeRecommendationsRI instantiates a new GetFeeRecommendationsRI object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetFeeRecommendationsRI(unit string, fast string, slow string, standard string) *GetFeeRecommendationsRI { +func NewGetFeeRecommendationsRI(unit string, fast string, slow string, standard string, feeCushionMultiplier string) *GetFeeRecommendationsRI { this := GetFeeRecommendationsRI{} this.Unit = unit this.Fast = fast this.Slow = slow this.Standard = standard + this.FeeCushionMultiplier = feeCushionMultiplier return &this } @@ -61,7 +64,7 @@ func (o *GetFeeRecommendationsRI) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetFeeRecommendationsRI) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -85,7 +88,7 @@ func (o *GetFeeRecommendationsRI) GetFast() string { // GetFastOk returns a tuple with the Fast field value // and a boolean to check if the value has been set. func (o *GetFeeRecommendationsRI) GetFastOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fast, true @@ -109,7 +112,7 @@ func (o *GetFeeRecommendationsRI) GetSlow() string { // GetSlowOk returns a tuple with the Slow field value // and a boolean to check if the value has been set. func (o *GetFeeRecommendationsRI) GetSlowOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Slow, true @@ -133,7 +136,7 @@ func (o *GetFeeRecommendationsRI) GetStandard() string { // GetStandardOk returns a tuple with the Standard field value // and a boolean to check if the value has been set. func (o *GetFeeRecommendationsRI) GetStandardOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Standard, true @@ -144,6 +147,30 @@ func (o *GetFeeRecommendationsRI) SetStandard(v string) { o.Standard = v } +// GetFeeCushionMultiplier returns the FeeCushionMultiplier field value +func (o *GetFeeRecommendationsRI) GetFeeCushionMultiplier() string { + if o == nil { + var ret string + return ret + } + + return o.FeeCushionMultiplier +} + +// GetFeeCushionMultiplierOk returns a tuple with the FeeCushionMultiplier field value +// and a boolean to check if the value has been set. +func (o *GetFeeRecommendationsRI) GetFeeCushionMultiplierOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FeeCushionMultiplier, true +} + +// SetFeeCushionMultiplier sets field value +func (o *GetFeeRecommendationsRI) SetFeeCushionMultiplier(v string) { + o.FeeCushionMultiplier = v +} + func (o GetFeeRecommendationsRI) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { @@ -158,6 +185,9 @@ func (o GetFeeRecommendationsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["standard"] = o.Standard } + if true { + toSerialize["feeCushionMultiplier"] = o.FeeCushionMultiplier + } return json.Marshal(toSerialize) } diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e400.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e400.go new file mode 100644 index 0000000..90b0635 --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e400.go @@ -0,0 +1,299 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetHDWalletXPubYPubZPubAssetsE400 - struct for GetHDWalletXPubYPubZPubAssetsE400 +type GetHDWalletXPubYPubZPubAssetsE400 struct { + InvalidBlockchain *InvalidBlockchain + InvalidNetwork *InvalidNetwork + InvalidPagination *InvalidPagination + InvalidXpub *InvalidXpub + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound + XpubNotSynced *XpubNotSynced +} + +// InvalidBlockchainAsGetHDWalletXPubYPubZPubAssetsE400 is a convenience function that returns InvalidBlockchain wrapped in GetHDWalletXPubYPubZPubAssetsE400 +func InvalidBlockchainAsGetHDWalletXPubYPubZPubAssetsE400(v *InvalidBlockchain) GetHDWalletXPubYPubZPubAssetsE400 { + return GetHDWalletXPubYPubZPubAssetsE400{ + InvalidBlockchain: v, + } +} + +// InvalidNetworkAsGetHDWalletXPubYPubZPubAssetsE400 is a convenience function that returns InvalidNetwork wrapped in GetHDWalletXPubYPubZPubAssetsE400 +func InvalidNetworkAsGetHDWalletXPubYPubZPubAssetsE400(v *InvalidNetwork) GetHDWalletXPubYPubZPubAssetsE400 { + return GetHDWalletXPubYPubZPubAssetsE400{ + InvalidNetwork: v, + } +} + +// InvalidPaginationAsGetHDWalletXPubYPubZPubAssetsE400 is a convenience function that returns InvalidPagination wrapped in GetHDWalletXPubYPubZPubAssetsE400 +func InvalidPaginationAsGetHDWalletXPubYPubZPubAssetsE400(v *InvalidPagination) GetHDWalletXPubYPubZPubAssetsE400 { + return GetHDWalletXPubYPubZPubAssetsE400{ + InvalidPagination: v, + } +} + +// InvalidXpubAsGetHDWalletXPubYPubZPubAssetsE400 is a convenience function that returns InvalidXpub wrapped in GetHDWalletXPubYPubZPubAssetsE400 +func InvalidXpubAsGetHDWalletXPubYPubZPubAssetsE400(v *InvalidXpub) GetHDWalletXPubYPubZPubAssetsE400 { + return GetHDWalletXPubYPubZPubAssetsE400{ + InvalidXpub: v, + } +} + +// LimitGreaterThanAllowedAsGetHDWalletXPubYPubZPubAssetsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetHDWalletXPubYPubZPubAssetsE400 +func LimitGreaterThanAllowedAsGetHDWalletXPubYPubZPubAssetsE400(v *LimitGreaterThanAllowed) GetHDWalletXPubYPubZPubAssetsE400 { + return GetHDWalletXPubYPubZPubAssetsE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsGetHDWalletXPubYPubZPubAssetsE400 is a convenience function that returns UriNotFound wrapped in GetHDWalletXPubYPubZPubAssetsE400 +func UriNotFoundAsGetHDWalletXPubYPubZPubAssetsE400(v *UriNotFound) GetHDWalletXPubYPubZPubAssetsE400 { + return GetHDWalletXPubYPubZPubAssetsE400{ + UriNotFound: v, + } +} + +// XpubNotSyncedAsGetHDWalletXPubYPubZPubAssetsE400 is a convenience function that returns XpubNotSynced wrapped in GetHDWalletXPubYPubZPubAssetsE400 +func XpubNotSyncedAsGetHDWalletXPubYPubZPubAssetsE400(v *XpubNotSynced) GetHDWalletXPubYPubZPubAssetsE400 { + return GetHDWalletXPubYPubZPubAssetsE400{ + XpubNotSynced: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetHDWalletXPubYPubZPubAssetsE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidBlockchain + err = newStrictDecoder(data).Decode(&dst.InvalidBlockchain) + if err == nil { + jsonInvalidBlockchain, _ := json.Marshal(dst.InvalidBlockchain) + if string(jsonInvalidBlockchain) == "{}" { // empty struct + dst.InvalidBlockchain = nil + } else { + match++ + } + } else { + dst.InvalidBlockchain = nil + } + + // try to unmarshal data into InvalidNetwork + err = newStrictDecoder(data).Decode(&dst.InvalidNetwork) + if err == nil { + jsonInvalidNetwork, _ := json.Marshal(dst.InvalidNetwork) + if string(jsonInvalidNetwork) == "{}" { // empty struct + dst.InvalidNetwork = nil + } else { + match++ + } + } else { + dst.InvalidNetwork = nil + } + + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into InvalidXpub + err = newStrictDecoder(data).Decode(&dst.InvalidXpub) + if err == nil { + jsonInvalidXpub, _ := json.Marshal(dst.InvalidXpub) + if string(jsonInvalidXpub) == "{}" { // empty struct + dst.InvalidXpub = nil + } else { + match++ + } + } else { + dst.InvalidXpub = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + // try to unmarshal data into XpubNotSynced + err = newStrictDecoder(data).Decode(&dst.XpubNotSynced) + if err == nil { + jsonXpubNotSynced, _ := json.Marshal(dst.XpubNotSynced) + if string(jsonXpubNotSynced) == "{}" { // empty struct + dst.XpubNotSynced = nil + } else { + match++ + } + } else { + dst.XpubNotSynced = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidBlockchain = nil + dst.InvalidNetwork = nil + dst.InvalidPagination = nil + dst.InvalidXpub = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + dst.XpubNotSynced = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetHDWalletXPubYPubZPubAssetsE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetHDWalletXPubYPubZPubAssetsE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetHDWalletXPubYPubZPubAssetsE400) MarshalJSON() ([]byte, error) { + if src.InvalidBlockchain != nil { + return json.Marshal(&src.InvalidBlockchain) + } + + if src.InvalidNetwork != nil { + return json.Marshal(&src.InvalidNetwork) + } + + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.InvalidXpub != nil { + return json.Marshal(&src.InvalidXpub) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + if src.XpubNotSynced != nil { + return json.Marshal(&src.XpubNotSynced) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetHDWalletXPubYPubZPubAssetsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidBlockchain != nil { + return obj.InvalidBlockchain + } + + if obj.InvalidNetwork != nil { + return obj.InvalidNetwork + } + + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.InvalidXpub != nil { + return obj.InvalidXpub + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + if obj.XpubNotSynced != nil { + return obj.XpubNotSynced + } + + // all schemas are nil + return nil +} + +type NullableGetHDWalletXPubYPubZPubAssetsE400 struct { + value *GetHDWalletXPubYPubZPubAssetsE400 + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE400) Get() *GetHDWalletXPubYPubZPubAssetsE400 { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE400) Set(val *GetHDWalletXPubYPubZPubAssetsE400) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE400) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsE400(val *GetHDWalletXPubYPubZPubAssetsE400) *NullableGetHDWalletXPubYPubZPubAssetsE400 { + return &NullableGetHDWalletXPubYPubZPubAssetsE400{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e401.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e401.go new file mode 100644 index 0000000..410922a --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetHDWalletXPubYPubZPubAssetsE401 - struct for GetHDWalletXPubYPubZPubAssetsE401 +type GetHDWalletXPubYPubZPubAssetsE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsGetHDWalletXPubYPubZPubAssetsE401 is a convenience function that returns InvalidApiKey wrapped in GetHDWalletXPubYPubZPubAssetsE401 +func InvalidApiKeyAsGetHDWalletXPubYPubZPubAssetsE401(v *InvalidApiKey) GetHDWalletXPubYPubZPubAssetsE401 { + return GetHDWalletXPubYPubZPubAssetsE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsGetHDWalletXPubYPubZPubAssetsE401 is a convenience function that returns MissingApiKey wrapped in GetHDWalletXPubYPubZPubAssetsE401 +func MissingApiKeyAsGetHDWalletXPubYPubZPubAssetsE401(v *MissingApiKey) GetHDWalletXPubYPubZPubAssetsE401 { + return GetHDWalletXPubYPubZPubAssetsE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetHDWalletXPubYPubZPubAssetsE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetHDWalletXPubYPubZPubAssetsE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetHDWalletXPubYPubZPubAssetsE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetHDWalletXPubYPubZPubAssetsE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetHDWalletXPubYPubZPubAssetsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableGetHDWalletXPubYPubZPubAssetsE401 struct { + value *GetHDWalletXPubYPubZPubAssetsE401 + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE401) Get() *GetHDWalletXPubYPubZPubAssetsE401 { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE401) Set(val *GetHDWalletXPubYPubZPubAssetsE401) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE401) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsE401(val *GetHDWalletXPubYPubZPubAssetsE401) *NullableGetHDWalletXPubYPubZPubAssetsE401 { + return &NullableGetHDWalletXPubYPubZPubAssetsE401{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e403.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e403.go new file mode 100644 index 0000000..b946b67 --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetHDWalletXPubYPubZPubAssetsE403 - struct for GetHDWalletXPubYPubZPubAssetsE403 +type GetHDWalletXPubYPubZPubAssetsE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsGetHDWalletXPubYPubZPubAssetsE403 is a convenience function that returns BannedIpAddress wrapped in GetHDWalletXPubYPubZPubAssetsE403 +func BannedIpAddressAsGetHDWalletXPubYPubZPubAssetsE403(v *BannedIpAddress) GetHDWalletXPubYPubZPubAssetsE403 { + return GetHDWalletXPubYPubZPubAssetsE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsGetHDWalletXPubYPubZPubAssetsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetHDWalletXPubYPubZPubAssetsE403 +func EndpointNotAllowedForApiKeyAsGetHDWalletXPubYPubZPubAssetsE403(v *EndpointNotAllowedForApiKey) GetHDWalletXPubYPubZPubAssetsE403 { + return GetHDWalletXPubYPubZPubAssetsE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsGetHDWalletXPubYPubZPubAssetsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetHDWalletXPubYPubZPubAssetsE403 +func EndpointNotAllowedForPlanAsGetHDWalletXPubYPubZPubAssetsE403(v *EndpointNotAllowedForPlan) GetHDWalletXPubYPubZPubAssetsE403 { + return GetHDWalletXPubYPubZPubAssetsE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsGetHDWalletXPubYPubZPubAssetsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetHDWalletXPubYPubZPubAssetsE403 +func FeatureMainnetsNotAllowedForPlanAsGetHDWalletXPubYPubZPubAssetsE403(v *FeatureMainnetsNotAllowedForPlan) GetHDWalletXPubYPubZPubAssetsE403 { + return GetHDWalletXPubYPubZPubAssetsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetHDWalletXPubYPubZPubAssetsE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetHDWalletXPubYPubZPubAssetsE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetHDWalletXPubYPubZPubAssetsE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetHDWalletXPubYPubZPubAssetsE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetHDWalletXPubYPubZPubAssetsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableGetHDWalletXPubYPubZPubAssetsE403 struct { + value *GetHDWalletXPubYPubZPubAssetsE403 + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE403) Get() *GetHDWalletXPubYPubZPubAssetsE403 { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE403) Set(val *GetHDWalletXPubYPubZPubAssetsE403) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE403) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsE403(val *GetHDWalletXPubYPubZPubAssetsE403) *NullableGetHDWalletXPubYPubZPubAssetsE403 { + return &NullableGetHDWalletXPubYPubZPubAssetsE403{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e422.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e422.go new file mode 100644 index 0000000..8e7c370 --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_e422.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetHDWalletXPubYPubZPubAssetsE422 - struct for GetHDWalletXPubYPubZPubAssetsE422 +type GetHDWalletXPubYPubZPubAssetsE422 struct { + InvalidRequestBodyStructure *InvalidRequestBodyStructure + XpubSyncInProgress *XpubSyncInProgress +} + +// InvalidRequestBodyStructureAsGetHDWalletXPubYPubZPubAssetsE422 is a convenience function that returns InvalidRequestBodyStructure wrapped in GetHDWalletXPubYPubZPubAssetsE422 +func InvalidRequestBodyStructureAsGetHDWalletXPubYPubZPubAssetsE422(v *InvalidRequestBodyStructure) GetHDWalletXPubYPubZPubAssetsE422 { + return GetHDWalletXPubYPubZPubAssetsE422{ + InvalidRequestBodyStructure: v, + } +} + +// XpubSyncInProgressAsGetHDWalletXPubYPubZPubAssetsE422 is a convenience function that returns XpubSyncInProgress wrapped in GetHDWalletXPubYPubZPubAssetsE422 +func XpubSyncInProgressAsGetHDWalletXPubYPubZPubAssetsE422(v *XpubSyncInProgress) GetHDWalletXPubYPubZPubAssetsE422 { + return GetHDWalletXPubYPubZPubAssetsE422{ + XpubSyncInProgress: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetHDWalletXPubYPubZPubAssetsE422) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidRequestBodyStructure + err = newStrictDecoder(data).Decode(&dst.InvalidRequestBodyStructure) + if err == nil { + jsonInvalidRequestBodyStructure, _ := json.Marshal(dst.InvalidRequestBodyStructure) + if string(jsonInvalidRequestBodyStructure) == "{}" { // empty struct + dst.InvalidRequestBodyStructure = nil + } else { + match++ + } + } else { + dst.InvalidRequestBodyStructure = nil + } + + // try to unmarshal data into XpubSyncInProgress + err = newStrictDecoder(data).Decode(&dst.XpubSyncInProgress) + if err == nil { + jsonXpubSyncInProgress, _ := json.Marshal(dst.XpubSyncInProgress) + if string(jsonXpubSyncInProgress) == "{}" { // empty struct + dst.XpubSyncInProgress = nil + } else { + match++ + } + } else { + dst.XpubSyncInProgress = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidRequestBodyStructure = nil + dst.XpubSyncInProgress = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetHDWalletXPubYPubZPubAssetsE422)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetHDWalletXPubYPubZPubAssetsE422)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetHDWalletXPubYPubZPubAssetsE422) MarshalJSON() ([]byte, error) { + if src.InvalidRequestBodyStructure != nil { + return json.Marshal(&src.InvalidRequestBodyStructure) + } + + if src.XpubSyncInProgress != nil { + return json.Marshal(&src.XpubSyncInProgress) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetHDWalletXPubYPubZPubAssetsE422) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidRequestBodyStructure != nil { + return obj.InvalidRequestBodyStructure + } + + if obj.XpubSyncInProgress != nil { + return obj.XpubSyncInProgress + } + + // all schemas are nil + return nil +} + +type NullableGetHDWalletXPubYPubZPubAssetsE422 struct { + value *GetHDWalletXPubYPubZPubAssetsE422 + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE422) Get() *GetHDWalletXPubYPubZPubAssetsE422 { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE422) Set(val *GetHDWalletXPubYPubZPubAssetsE422) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE422) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE422) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsE422(val *GetHDWalletXPubYPubZPubAssetsE422) *NullableGetHDWalletXPubYPubZPubAssetsE422 { + return &NullableGetHDWalletXPubYPubZPubAssetsE422{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsE422) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsE422) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_r.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_r.go new file mode 100644 index 0000000..1888b73 --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetHDWalletXPubYPubZPubAssetsR struct for GetHDWalletXPubYPubZPubAssetsR +type GetHDWalletXPubYPubZPubAssetsR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data GetHDWalletXPubYPubZPubAssetsRData `json:"data"` +} + +// NewGetHDWalletXPubYPubZPubAssetsR instantiates a new GetHDWalletXPubYPubZPubAssetsR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetHDWalletXPubYPubZPubAssetsR(apiVersion string, requestId string, data GetHDWalletXPubYPubZPubAssetsRData) *GetHDWalletXPubYPubZPubAssetsR { + this := GetHDWalletXPubYPubZPubAssetsR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewGetHDWalletXPubYPubZPubAssetsRWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetHDWalletXPubYPubZPubAssetsRWithDefaults() *GetHDWalletXPubYPubZPubAssetsR { + this := GetHDWalletXPubYPubZPubAssetsR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *GetHDWalletXPubYPubZPubAssetsR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *GetHDWalletXPubYPubZPubAssetsR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *GetHDWalletXPubYPubZPubAssetsR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *GetHDWalletXPubYPubZPubAssetsR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *GetHDWalletXPubYPubZPubAssetsR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *GetHDWalletXPubYPubZPubAssetsR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *GetHDWalletXPubYPubZPubAssetsR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *GetHDWalletXPubYPubZPubAssetsR) GetData() GetHDWalletXPubYPubZPubAssetsRData { + if o == nil { + var ret GetHDWalletXPubYPubZPubAssetsRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsR) GetDataOk() (*GetHDWalletXPubYPubZPubAssetsRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *GetHDWalletXPubYPubZPubAssetsR) SetData(v GetHDWalletXPubYPubZPubAssetsRData) { + o.Data = v +} + +func (o GetHDWalletXPubYPubZPubAssetsR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableGetHDWalletXPubYPubZPubAssetsR struct { + value *GetHDWalletXPubYPubZPubAssetsR + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsR) Get() *GetHDWalletXPubYPubZPubAssetsR { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsR) Set(val *GetHDWalletXPubYPubZPubAssetsR) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsR) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsR(val *GetHDWalletXPubYPubZPubAssetsR) *NullableGetHDWalletXPubYPubZPubAssetsR { + return &NullableGetHDWalletXPubYPubZPubAssetsR{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_r_data.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_r_data.go new file mode 100644 index 0000000..c3985ef --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetHDWalletXPubYPubZPubAssetsRData struct for GetHDWalletXPubYPubZPubAssetsRData +type GetHDWalletXPubYPubZPubAssetsRData struct { + Item GetHDWalletXPubYPubZPubAssetsRI `json:"item"` +} + +// NewGetHDWalletXPubYPubZPubAssetsRData instantiates a new GetHDWalletXPubYPubZPubAssetsRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetHDWalletXPubYPubZPubAssetsRData(item GetHDWalletXPubYPubZPubAssetsRI) *GetHDWalletXPubYPubZPubAssetsRData { + this := GetHDWalletXPubYPubZPubAssetsRData{} + this.Item = item + return &this +} + +// NewGetHDWalletXPubYPubZPubAssetsRDataWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetHDWalletXPubYPubZPubAssetsRDataWithDefaults() *GetHDWalletXPubYPubZPubAssetsRData { + this := GetHDWalletXPubYPubZPubAssetsRData{} + return &this +} + +// GetItem returns the Item field value +func (o *GetHDWalletXPubYPubZPubAssetsRData) GetItem() GetHDWalletXPubYPubZPubAssetsRI { + if o == nil { + var ret GetHDWalletXPubYPubZPubAssetsRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRData) GetItemOk() (*GetHDWalletXPubYPubZPubAssetsRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRData) SetItem(v GetHDWalletXPubYPubZPubAssetsRI) { + o.Item = v +} + +func (o GetHDWalletXPubYPubZPubAssetsRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableGetHDWalletXPubYPubZPubAssetsRData struct { + value *GetHDWalletXPubYPubZPubAssetsRData + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRData) Get() *GetHDWalletXPubYPubZPubAssetsRData { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRData) Set(val *GetHDWalletXPubYPubZPubAssetsRData) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRData) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsRData(val *GetHDWalletXPubYPubZPubAssetsRData) *NullableGetHDWalletXPubYPubZPubAssetsRData { + return &NullableGetHDWalletXPubYPubZPubAssetsRData{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri.go new file mode 100644 index 0000000..c2d9f03 --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri.go @@ -0,0 +1,183 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetHDWalletXPubYPubZPubAssetsRI struct for GetHDWalletXPubYPubZPubAssetsRI +type GetHDWalletXPubYPubZPubAssetsRI struct { + // Represents fungible tokens'es detailed information + FungibleTokens []GetHDWalletXPubYPubZPubAssetsRIFungibleTokens `json:"fungibleTokens,omitempty"` + // Represents non-fungible tokens'es detailed information. + NonFungibleTokens []GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens `json:"nonFungibleTokens,omitempty"` + ConfirmedBalance GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance `json:"confirmedBalance"` +} + +// NewGetHDWalletXPubYPubZPubAssetsRI instantiates a new GetHDWalletXPubYPubZPubAssetsRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetHDWalletXPubYPubZPubAssetsRI(confirmedBalance GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) *GetHDWalletXPubYPubZPubAssetsRI { + this := GetHDWalletXPubYPubZPubAssetsRI{} + this.ConfirmedBalance = confirmedBalance + return &this +} + +// NewGetHDWalletXPubYPubZPubAssetsRIWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetHDWalletXPubYPubZPubAssetsRIWithDefaults() *GetHDWalletXPubYPubZPubAssetsRI { + this := GetHDWalletXPubYPubZPubAssetsRI{} + return &this +} + +// GetFungibleTokens returns the FungibleTokens field value if set, zero value otherwise. +func (o *GetHDWalletXPubYPubZPubAssetsRI) GetFungibleTokens() []GetHDWalletXPubYPubZPubAssetsRIFungibleTokens { + if o == nil || o.FungibleTokens == nil { + var ret []GetHDWalletXPubYPubZPubAssetsRIFungibleTokens + return ret + } + return o.FungibleTokens +} + +// GetFungibleTokensOk returns a tuple with the FungibleTokens field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRI) GetFungibleTokensOk() ([]GetHDWalletXPubYPubZPubAssetsRIFungibleTokens, bool) { + if o == nil || o.FungibleTokens == nil { + return nil, false + } + return o.FungibleTokens, true +} + +// HasFungibleTokens returns a boolean if a field has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRI) HasFungibleTokens() bool { + if o != nil && o.FungibleTokens != nil { + return true + } + + return false +} + +// SetFungibleTokens gets a reference to the given []GetHDWalletXPubYPubZPubAssetsRIFungibleTokens and assigns it to the FungibleTokens field. +func (o *GetHDWalletXPubYPubZPubAssetsRI) SetFungibleTokens(v []GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) { + o.FungibleTokens = v +} + +// GetNonFungibleTokens returns the NonFungibleTokens field value if set, zero value otherwise. +func (o *GetHDWalletXPubYPubZPubAssetsRI) GetNonFungibleTokens() []GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens { + if o == nil || o.NonFungibleTokens == nil { + var ret []GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens + return ret + } + return o.NonFungibleTokens +} + +// GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRI) GetNonFungibleTokensOk() ([]GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens, bool) { + if o == nil || o.NonFungibleTokens == nil { + return nil, false + } + return o.NonFungibleTokens, true +} + +// HasNonFungibleTokens returns a boolean if a field has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRI) HasNonFungibleTokens() bool { + if o != nil && o.NonFungibleTokens != nil { + return true + } + + return false +} + +// SetNonFungibleTokens gets a reference to the given []GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens and assigns it to the NonFungibleTokens field. +func (o *GetHDWalletXPubYPubZPubAssetsRI) SetNonFungibleTokens(v []GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) { + o.NonFungibleTokens = v +} + +// GetConfirmedBalance returns the ConfirmedBalance field value +func (o *GetHDWalletXPubYPubZPubAssetsRI) GetConfirmedBalance() GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance { + if o == nil { + var ret GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance + return ret + } + + return o.ConfirmedBalance +} + +// GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRI) GetConfirmedBalanceOk() (*GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance, bool) { + if o == nil { + return nil, false + } + return &o.ConfirmedBalance, true +} + +// SetConfirmedBalance sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRI) SetConfirmedBalance(v GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) { + o.ConfirmedBalance = v +} + +func (o GetHDWalletXPubYPubZPubAssetsRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.FungibleTokens != nil { + toSerialize["fungibleTokens"] = o.FungibleTokens + } + if o.NonFungibleTokens != nil { + toSerialize["nonFungibleTokens"] = o.NonFungibleTokens + } + if true { + toSerialize["confirmedBalance"] = o.ConfirmedBalance + } + return json.Marshal(toSerialize) +} + +type NullableGetHDWalletXPubYPubZPubAssetsRI struct { + value *GetHDWalletXPubYPubZPubAssetsRI + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRI) Get() *GetHDWalletXPubYPubZPubAssetsRI { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRI) Set(val *GetHDWalletXPubYPubZPubAssetsRI) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRI) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsRI(val *GetHDWalletXPubYPubZPubAssetsRI) *NullableGetHDWalletXPubYPubZPubAssetsRI { + return &NullableGetHDWalletXPubYPubZPubAssetsRI{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_confirmed_balance.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_confirmed_balance.go new file mode 100644 index 0000000..c20bfc4 --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_confirmed_balance.go @@ -0,0 +1,140 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance struct for GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance +type GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance struct { + // Represents the confirmed balance for the specified blockchain protocol. + Amount string `json:"amount"` + // Specifies the unit of the amount of the confirmed balance. + Unit string `json:"unit"` +} + +// NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance instantiates a new GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance(amount string, unit string) *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance { + this := GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance{} + this.Amount = amount + this.Unit = unit + return &this +} + +// NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalanceWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetHDWalletXPubYPubZPubAssetsRIConfirmedBalanceWithDefaults() *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance { + this := GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance{} + return &this +} + +// GetAmount returns the Amount field value +func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) GetAmount() string { + if o == nil { + var ret string + return ret + } + + return o.Amount +} + +// GetAmountOk returns a tuple with the Amount field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) GetAmountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Amount, true +} + +// SetAmount sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) SetAmount(v string) { + o.Amount = v +} + +// GetUnit returns the Unit field value +func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) GetUnit() string { + if o == nil { + var ret string + return ret + } + + return o.Unit +} + +// GetUnitOk returns a tuple with the Unit field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) GetUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Unit, true +} + +// SetUnit sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) SetUnit(v string) { + o.Unit = v +} + +func (o GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["amount"] = o.Amount + } + if true { + toSerialize["unit"] = o.Unit + } + return json.Marshal(toSerialize) +} + +type NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance struct { + value *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) Get() *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) Set(val *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance(val *GetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) *NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance { + return &NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRIConfirmedBalance) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_fungible_tokens.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_fungible_tokens.go new file mode 100644 index 0000000..7139d34 --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_fungible_tokens.go @@ -0,0 +1,200 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetHDWalletXPubYPubZPubAssetsRIFungibleTokens struct for GetHDWalletXPubYPubZPubAssetsRIFungibleTokens +type GetHDWalletXPubYPubZPubAssetsRIFungibleTokens struct { + // Defines the amount of the fungible tokens. + Amount string `json:"amount"` + // Represents tokens' contract address. + Identifier string `json:"identifier"` + // Defines the symbol of the fungible token. + Symbol string `json:"symbol"` + // Defines the specific token type. + Type string `json:"type"` +} + +// NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokens instantiates a new GetHDWalletXPubYPubZPubAssetsRIFungibleTokens object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokens(amount string, identifier string, symbol string, type_ string) *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens { + this := GetHDWalletXPubYPubZPubAssetsRIFungibleTokens{} + this.Amount = amount + this.Identifier = identifier + this.Symbol = symbol + this.Type = type_ + return &this +} + +// NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokensWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRIFungibleTokens object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetHDWalletXPubYPubZPubAssetsRIFungibleTokensWithDefaults() *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens { + this := GetHDWalletXPubYPubZPubAssetsRIFungibleTokens{} + return &this +} + +// GetAmount returns the Amount field value +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetAmount() string { + if o == nil { + var ret string + return ret + } + + return o.Amount +} + +// GetAmountOk returns a tuple with the Amount field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetAmountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Amount, true +} + +// SetAmount sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) SetAmount(v string) { + o.Amount = v +} + +// GetIdentifier returns the Identifier field value +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetIdentifier() string { + if o == nil { + var ret string + return ret + } + + return o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetIdentifierOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Identifier, true +} + +// SetIdentifier sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) SetIdentifier(v string) { + o.Identifier = v +} + +// GetSymbol returns the Symbol field value +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetSymbol() string { + if o == nil { + var ret string + return ret + } + + return o.Symbol +} + +// GetSymbolOk returns a tuple with the Symbol field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetSymbolOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Symbol, true +} + +// SetSymbol sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) SetSymbol(v string) { + o.Symbol = v +} + +// GetType returns the Type field value +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) SetType(v string) { + o.Type = v +} + +func (o GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["amount"] = o.Amount + } + if true { + toSerialize["identifier"] = o.Identifier + } + if true { + toSerialize["symbol"] = o.Symbol + } + if true { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens struct { + value *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens) Get() *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens) Set(val *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens(val *GetHDWalletXPubYPubZPubAssetsRIFungibleTokens) *NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens { + return &NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRIFungibleTokens) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_non_fungible_tokens.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_non_fungible_tokens.go new file mode 100644 index 0000000..4ec0ce7 --- /dev/null +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_assets_ri_non_fungible_tokens.go @@ -0,0 +1,200 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens struct for GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens +type GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens struct { + // Represents tokens' contract address. + Identifier string `json:"identifier"` + // Defines the symbol of the non-fungible token. + Symbol string `json:"symbol"` + // Represents tokens' unique identifier. + TokenId string `json:"tokenId"` + // Defines the specific token type. + Type string `json:"type"` +} + +// NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens instantiates a new GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens(identifier string, symbol string, tokenId string, type_ string) *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens { + this := GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens{} + this.Identifier = identifier + this.Symbol = symbol + this.TokenId = tokenId + this.Type = type_ + return &this +} + +// NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokensWithDefaults instantiates a new GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetHDWalletXPubYPubZPubAssetsRINonFungibleTokensWithDefaults() *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens { + this := GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens{} + return &this +} + +// GetIdentifier returns the Identifier field value +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetIdentifier() string { + if o == nil { + var ret string + return ret + } + + return o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetIdentifierOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Identifier, true +} + +// SetIdentifier sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) SetIdentifier(v string) { + o.Identifier = v +} + +// GetSymbol returns the Symbol field value +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetSymbol() string { + if o == nil { + var ret string + return ret + } + + return o.Symbol +} + +// GetSymbolOk returns a tuple with the Symbol field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetSymbolOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Symbol, true +} + +// SetSymbol sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) SetSymbol(v string) { + o.Symbol = v +} + +// GetTokenId returns the TokenId field value +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetTokenId() string { + if o == nil { + var ret string + return ret + } + + return o.TokenId +} + +// GetTokenIdOk returns a tuple with the TokenId field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetTokenIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenId, true +} + +// SetTokenId sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) SetTokenId(v string) { + o.TokenId = v +} + +// GetType returns the Type field value +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) SetType(v string) { + o.Type = v +} + +func (o GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["identifier"] = o.Identifier + } + if true { + toSerialize["symbol"] = o.Symbol + } + if true { + toSerialize["tokenId"] = o.TokenId + } + if true { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens struct { + value *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens + isSet bool +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) Get() *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens { + return v.value +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) Set(val *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) { + v.value = val + v.isSet = true +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens(val *GetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) *NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens { + return &NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens{value: val, isSet: true} +} + +func (v NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHDWalletXPubYPubZPubAssetsRINonFungibleTokens) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e400.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e400.go index b44f8c8..6cb69c4 100644 --- a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e400.go +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e400.go @@ -29,37 +29,51 @@ type GetHDWalletXPubYPubZPubDetailsE400 struct { // InvalidBlockchainAsGetHDWalletXPubYPubZPubDetailsE400 is a convenience function that returns InvalidBlockchain wrapped in GetHDWalletXPubYPubZPubDetailsE400 func InvalidBlockchainAsGetHDWalletXPubYPubZPubDetailsE400(v *InvalidBlockchain) GetHDWalletXPubYPubZPubDetailsE400 { - return GetHDWalletXPubYPubZPubDetailsE400{ InvalidBlockchain: v} + return GetHDWalletXPubYPubZPubDetailsE400{ + InvalidBlockchain: v, + } } // InvalidNetworkAsGetHDWalletXPubYPubZPubDetailsE400 is a convenience function that returns InvalidNetwork wrapped in GetHDWalletXPubYPubZPubDetailsE400 func InvalidNetworkAsGetHDWalletXPubYPubZPubDetailsE400(v *InvalidNetwork) GetHDWalletXPubYPubZPubDetailsE400 { - return GetHDWalletXPubYPubZPubDetailsE400{ InvalidNetwork: v} + return GetHDWalletXPubYPubZPubDetailsE400{ + InvalidNetwork: v, + } } // InvalidPaginationAsGetHDWalletXPubYPubZPubDetailsE400 is a convenience function that returns InvalidPagination wrapped in GetHDWalletXPubYPubZPubDetailsE400 func InvalidPaginationAsGetHDWalletXPubYPubZPubDetailsE400(v *InvalidPagination) GetHDWalletXPubYPubZPubDetailsE400 { - return GetHDWalletXPubYPubZPubDetailsE400{ InvalidPagination: v} + return GetHDWalletXPubYPubZPubDetailsE400{ + InvalidPagination: v, + } } // InvalidXpubAsGetHDWalletXPubYPubZPubDetailsE400 is a convenience function that returns InvalidXpub wrapped in GetHDWalletXPubYPubZPubDetailsE400 func InvalidXpubAsGetHDWalletXPubYPubZPubDetailsE400(v *InvalidXpub) GetHDWalletXPubYPubZPubDetailsE400 { - return GetHDWalletXPubYPubZPubDetailsE400{ InvalidXpub: v} + return GetHDWalletXPubYPubZPubDetailsE400{ + InvalidXpub: v, + } } // LimitGreaterThanAllowedAsGetHDWalletXPubYPubZPubDetailsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetHDWalletXPubYPubZPubDetailsE400 func LimitGreaterThanAllowedAsGetHDWalletXPubYPubZPubDetailsE400(v *LimitGreaterThanAllowed) GetHDWalletXPubYPubZPubDetailsE400 { - return GetHDWalletXPubYPubZPubDetailsE400{ LimitGreaterThanAllowed: v} + return GetHDWalletXPubYPubZPubDetailsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetHDWalletXPubYPubZPubDetailsE400 is a convenience function that returns UriNotFound wrapped in GetHDWalletXPubYPubZPubDetailsE400 func UriNotFoundAsGetHDWalletXPubYPubZPubDetailsE400(v *UriNotFound) GetHDWalletXPubYPubZPubDetailsE400 { - return GetHDWalletXPubYPubZPubDetailsE400{ UriNotFound: v} + return GetHDWalletXPubYPubZPubDetailsE400{ + UriNotFound: v, + } } // XpubNotSyncedAsGetHDWalletXPubYPubZPubDetailsE400 is a convenience function that returns XpubNotSynced wrapped in GetHDWalletXPubYPubZPubDetailsE400 func XpubNotSyncedAsGetHDWalletXPubYPubZPubDetailsE400(v *XpubNotSynced) GetHDWalletXPubYPubZPubDetailsE400 { - return GetHDWalletXPubYPubZPubDetailsE400{ XpubNotSynced: v} + return GetHDWalletXPubYPubZPubDetailsE400{ + XpubNotSynced: v, + } } @@ -68,7 +82,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidBlockchain - err = json.Unmarshal(data, &dst.InvalidBlockchain) + err = newStrictDecoder(data).Decode(&dst.InvalidBlockchain) if err == nil { jsonInvalidBlockchain, _ := json.Marshal(dst.InvalidBlockchain) if string(jsonInvalidBlockchain) == "{}" { // empty struct @@ -81,7 +95,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into InvalidNetwork - err = json.Unmarshal(data, &dst.InvalidNetwork) + err = newStrictDecoder(data).Decode(&dst.InvalidNetwork) if err == nil { jsonInvalidNetwork, _ := json.Marshal(dst.InvalidNetwork) if string(jsonInvalidNetwork) == "{}" { // empty struct @@ -94,7 +108,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -107,7 +121,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into InvalidXpub - err = json.Unmarshal(data, &dst.InvalidXpub) + err = newStrictDecoder(data).Decode(&dst.InvalidXpub) if err == nil { jsonInvalidXpub, _ := json.Marshal(dst.InvalidXpub) if string(jsonInvalidXpub) == "{}" { // empty struct @@ -120,7 +134,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -133,7 +147,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -146,7 +160,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into XpubNotSynced - err = json.Unmarshal(data, &dst.XpubNotSynced) + err = newStrictDecoder(data).Decode(&dst.XpubNotSynced) if err == nil { jsonXpubNotSynced, _ := json.Marshal(dst.XpubNotSynced) if string(jsonXpubNotSynced) == "{}" { // empty struct @@ -211,6 +225,9 @@ func (src GetHDWalletXPubYPubZPubDetailsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetHDWalletXPubYPubZPubDetailsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidBlockchain != nil { return obj.InvalidBlockchain } diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e401.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e401.go index 77cf3bf..d44e324 100644 --- a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e401.go +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e401.go @@ -24,12 +24,16 @@ type GetHDWalletXPubYPubZPubDetailsE401 struct { // InvalidApiKeyAsGetHDWalletXPubYPubZPubDetailsE401 is a convenience function that returns InvalidApiKey wrapped in GetHDWalletXPubYPubZPubDetailsE401 func InvalidApiKeyAsGetHDWalletXPubYPubZPubDetailsE401(v *InvalidApiKey) GetHDWalletXPubYPubZPubDetailsE401 { - return GetHDWalletXPubYPubZPubDetailsE401{ InvalidApiKey: v} + return GetHDWalletXPubYPubZPubDetailsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetHDWalletXPubYPubZPubDetailsE401 is a convenience function that returns MissingApiKey wrapped in GetHDWalletXPubYPubZPubDetailsE401 func MissingApiKeyAsGetHDWalletXPubYPubZPubDetailsE401(v *MissingApiKey) GetHDWalletXPubYPubZPubDetailsE401 { - return GetHDWalletXPubYPubZPubDetailsE401{ MissingApiKey: v} + return GetHDWalletXPubYPubZPubDetailsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetHDWalletXPubYPubZPubDetailsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetHDWalletXPubYPubZPubDetailsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e403.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e403.go index db5542b..a486870 100644 --- a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e403.go +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e403.go @@ -26,22 +26,30 @@ type GetHDWalletXPubYPubZPubDetailsE403 struct { // BannedIpAddressAsGetHDWalletXPubYPubZPubDetailsE403 is a convenience function that returns BannedIpAddress wrapped in GetHDWalletXPubYPubZPubDetailsE403 func BannedIpAddressAsGetHDWalletXPubYPubZPubDetailsE403(v *BannedIpAddress) GetHDWalletXPubYPubZPubDetailsE403 { - return GetHDWalletXPubYPubZPubDetailsE403{ BannedIpAddress: v} + return GetHDWalletXPubYPubZPubDetailsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetHDWalletXPubYPubZPubDetailsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetHDWalletXPubYPubZPubDetailsE403 func EndpointNotAllowedForApiKeyAsGetHDWalletXPubYPubZPubDetailsE403(v *EndpointNotAllowedForApiKey) GetHDWalletXPubYPubZPubDetailsE403 { - return GetHDWalletXPubYPubZPubDetailsE403{ EndpointNotAllowedForApiKey: v} + return GetHDWalletXPubYPubZPubDetailsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetHDWalletXPubYPubZPubDetailsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetHDWalletXPubYPubZPubDetailsE403 func EndpointNotAllowedForPlanAsGetHDWalletXPubYPubZPubDetailsE403(v *EndpointNotAllowedForPlan) GetHDWalletXPubYPubZPubDetailsE403 { - return GetHDWalletXPubYPubZPubDetailsE403{ EndpointNotAllowedForPlan: v} + return GetHDWalletXPubYPubZPubDetailsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetHDWalletXPubYPubZPubDetailsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetHDWalletXPubYPubZPubDetailsE403 func FeatureMainnetsNotAllowedForPlanAsGetHDWalletXPubYPubZPubDetailsE403(v *FeatureMainnetsNotAllowedForPlan) GetHDWalletXPubYPubZPubDetailsE403 { - return GetHDWalletXPubYPubZPubDetailsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetHDWalletXPubYPubZPubDetailsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetHDWalletXPubYPubZPubDetailsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetHDWalletXPubYPubZPubDetailsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e422.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e422.go index 3b34c81..3e3025c 100644 --- a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e422.go +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_e422.go @@ -24,12 +24,16 @@ type GetHDWalletXPubYPubZPubDetailsE422 struct { // InvalidRequestBodyStructureAsGetHDWalletXPubYPubZPubDetailsE422 is a convenience function that returns InvalidRequestBodyStructure wrapped in GetHDWalletXPubYPubZPubDetailsE422 func InvalidRequestBodyStructureAsGetHDWalletXPubYPubZPubDetailsE422(v *InvalidRequestBodyStructure) GetHDWalletXPubYPubZPubDetailsE422 { - return GetHDWalletXPubYPubZPubDetailsE422{ InvalidRequestBodyStructure: v} + return GetHDWalletXPubYPubZPubDetailsE422{ + InvalidRequestBodyStructure: v, + } } // XpubSyncInProgressAsGetHDWalletXPubYPubZPubDetailsE422 is a convenience function that returns XpubSyncInProgress wrapped in GetHDWalletXPubYPubZPubDetailsE422 func XpubSyncInProgressAsGetHDWalletXPubYPubZPubDetailsE422(v *XpubSyncInProgress) GetHDWalletXPubYPubZPubDetailsE422 { - return GetHDWalletXPubYPubZPubDetailsE422{ XpubSyncInProgress: v} + return GetHDWalletXPubYPubZPubDetailsE422{ + XpubSyncInProgress: v, + } } @@ -38,7 +42,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE422) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidRequestBodyStructure - err = json.Unmarshal(data, &dst.InvalidRequestBodyStructure) + err = newStrictDecoder(data).Decode(&dst.InvalidRequestBodyStructure) if err == nil { jsonInvalidRequestBodyStructure, _ := json.Marshal(dst.InvalidRequestBodyStructure) if string(jsonInvalidRequestBodyStructure) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetHDWalletXPubYPubZPubDetailsE422) UnmarshalJSON(data []byte) error } // try to unmarshal data into XpubSyncInProgress - err = json.Unmarshal(data, &dst.XpubSyncInProgress) + err = newStrictDecoder(data).Decode(&dst.XpubSyncInProgress) if err == nil { jsonXpubSyncInProgress, _ := json.Marshal(dst.XpubSyncInProgress) if string(jsonXpubSyncInProgress) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetHDWalletXPubYPubZPubDetailsE422) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetHDWalletXPubYPubZPubDetailsE422) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidRequestBodyStructure != nil { return obj.InvalidRequestBodyStructure } diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_r.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_r.go index fcc8e02..9ecc7cd 100644 --- a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_r.go +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_r.go @@ -59,7 +59,7 @@ func (o *GetHDWalletXPubYPubZPubDetailsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetHDWalletXPubYPubZPubDetailsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetHDWalletXPubYPubZPubDetailsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetHDWalletXPubYPubZPubDetailsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetHDWalletXPubYPubZPubDetailsR) GetData() GetHDWalletXPubYPubZPubDetai // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetHDWalletXPubYPubZPubDetailsR) GetDataOk() (*GetHDWalletXPubYPubZPubDetailsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_r_data.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_r_data.go index b1017c3..050d7fd 100644 --- a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_r_data.go +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_r_data.go @@ -51,7 +51,7 @@ func (o *GetHDWalletXPubYPubZPubDetailsRData) GetItem() GetHDWalletXPubYPubZPubD // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetHDWalletXPubYPubZPubDetailsRData) GetItemOk() (*GetHDWalletXPubYPubZPubDetailsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_ri.go b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_ri.go index e29dfd0..9380fcc 100644 --- a/model_get_hd_wallet_x_pub_y_pub_z_pub_details_ri.go +++ b/model_get_hd_wallet_x_pub_y_pub_z_pub_details_ri.go @@ -20,20 +20,18 @@ type GetHDWalletXPubYPubZPubDetailsRI struct { // Specifies the confirmed coins balance of the Wallet. ConfirmedBalance string `json:"confirmedBalance"` // Defines the total currency received to the Wallet. - TotalReceived string `json:"totalReceived"` + TotalReceived *string `json:"totalReceived,omitempty"` // Defines the total currency spent from the Wallet. - TotalSpent string `json:"totalSpent"` + TotalSpent *string `json:"totalSpent,omitempty"` } // NewGetHDWalletXPubYPubZPubDetailsRI instantiates a new GetHDWalletXPubYPubZPubDetailsRI object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetHDWalletXPubYPubZPubDetailsRI(confirmedBalance string, totalReceived string, totalSpent string) *GetHDWalletXPubYPubZPubDetailsRI { +func NewGetHDWalletXPubYPubZPubDetailsRI(confirmedBalance string) *GetHDWalletXPubYPubZPubDetailsRI { this := GetHDWalletXPubYPubZPubDetailsRI{} this.ConfirmedBalance = confirmedBalance - this.TotalReceived = totalReceived - this.TotalSpent = totalSpent return &this } @@ -58,7 +56,7 @@ func (o *GetHDWalletXPubYPubZPubDetailsRI) GetConfirmedBalance() string { // GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value // and a boolean to check if the value has been set. func (o *GetHDWalletXPubYPubZPubDetailsRI) GetConfirmedBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmedBalance, true @@ -69,52 +67,68 @@ func (o *GetHDWalletXPubYPubZPubDetailsRI) SetConfirmedBalance(v string) { o.ConfirmedBalance = v } -// GetTotalReceived returns the TotalReceived field value +// GetTotalReceived returns the TotalReceived field value if set, zero value otherwise. func (o *GetHDWalletXPubYPubZPubDetailsRI) GetTotalReceived() string { - if o == nil { + if o == nil || o.TotalReceived == nil { var ret string return ret } - - return o.TotalReceived + return *o.TotalReceived } -// GetTotalReceivedOk returns a tuple with the TotalReceived field value +// GetTotalReceivedOk returns a tuple with the TotalReceived field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *GetHDWalletXPubYPubZPubDetailsRI) GetTotalReceivedOk() (*string, bool) { - if o == nil { + if o == nil || o.TotalReceived == nil { return nil, false } - return &o.TotalReceived, true + return o.TotalReceived, true +} + +// HasTotalReceived returns a boolean if a field has been set. +func (o *GetHDWalletXPubYPubZPubDetailsRI) HasTotalReceived() bool { + if o != nil && o.TotalReceived != nil { + return true + } + + return false } -// SetTotalReceived sets field value +// SetTotalReceived gets a reference to the given string and assigns it to the TotalReceived field. func (o *GetHDWalletXPubYPubZPubDetailsRI) SetTotalReceived(v string) { - o.TotalReceived = v + o.TotalReceived = &v } -// GetTotalSpent returns the TotalSpent field value +// GetTotalSpent returns the TotalSpent field value if set, zero value otherwise. func (o *GetHDWalletXPubYPubZPubDetailsRI) GetTotalSpent() string { - if o == nil { + if o == nil || o.TotalSpent == nil { var ret string return ret } - - return o.TotalSpent + return *o.TotalSpent } -// GetTotalSpentOk returns a tuple with the TotalSpent field value +// GetTotalSpentOk returns a tuple with the TotalSpent field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *GetHDWalletXPubYPubZPubDetailsRI) GetTotalSpentOk() (*string, bool) { - if o == nil { + if o == nil || o.TotalSpent == nil { return nil, false } - return &o.TotalSpent, true + return o.TotalSpent, true } -// SetTotalSpent sets field value +// HasTotalSpent returns a boolean if a field has been set. +func (o *GetHDWalletXPubYPubZPubDetailsRI) HasTotalSpent() bool { + if o != nil && o.TotalSpent != nil { + return true + } + + return false +} + +// SetTotalSpent gets a reference to the given string and assigns it to the TotalSpent field. func (o *GetHDWalletXPubYPubZPubDetailsRI) SetTotalSpent(v string) { - o.TotalSpent = v + o.TotalSpent = &v } func (o GetHDWalletXPubYPubZPubDetailsRI) MarshalJSON() ([]byte, error) { @@ -122,10 +136,10 @@ func (o GetHDWalletXPubYPubZPubDetailsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["confirmedBalance"] = o.ConfirmedBalance } - if true { + if o.TotalReceived != nil { toSerialize["totalReceived"] = o.TotalReceived } - if true { + if o.TotalSpent != nil { toSerialize["totalSpent"] = o.TotalSpent } return json.Marshal(toSerialize) diff --git a/model_get_internal_transaction_by_transaction_hash_and_operation_id_e400.go b/model_get_internal_transaction_by_transaction_hash_and_operation_id_e400.go index 4726423..223d614 100644 --- a/model_get_internal_transaction_by_transaction_hash_and_operation_id_e400.go +++ b/model_get_internal_transaction_by_transaction_hash_and_operation_id_e400.go @@ -25,17 +25,23 @@ type GetInternalTransactionByTransactionHashAndOperationIdE400 struct { // InvalidPaginationAsGetInternalTransactionByTransactionHashAndOperationIdE400 is a convenience function that returns InvalidPagination wrapped in GetInternalTransactionByTransactionHashAndOperationIdE400 func InvalidPaginationAsGetInternalTransactionByTransactionHashAndOperationIdE400(v *InvalidPagination) GetInternalTransactionByTransactionHashAndOperationIdE400 { - return GetInternalTransactionByTransactionHashAndOperationIdE400{ InvalidPagination: v} + return GetInternalTransactionByTransactionHashAndOperationIdE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetInternalTransactionByTransactionHashAndOperationIdE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetInternalTransactionByTransactionHashAndOperationIdE400 func LimitGreaterThanAllowedAsGetInternalTransactionByTransactionHashAndOperationIdE400(v *LimitGreaterThanAllowed) GetInternalTransactionByTransactionHashAndOperationIdE400 { - return GetInternalTransactionByTransactionHashAndOperationIdE400{ LimitGreaterThanAllowed: v} + return GetInternalTransactionByTransactionHashAndOperationIdE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetInternalTransactionByTransactionHashAndOperationIdE400 is a convenience function that returns UriNotFound wrapped in GetInternalTransactionByTransactionHashAndOperationIdE400 func UriNotFoundAsGetInternalTransactionByTransactionHashAndOperationIdE400(v *UriNotFound) GetInternalTransactionByTransactionHashAndOperationIdE400 { - return GetInternalTransactionByTransactionHashAndOperationIdE400{ UriNotFound: v} + return GetInternalTransactionByTransactionHashAndOperationIdE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE400) UnmarshalJ var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE400) UnmarshalJ } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE400) UnmarshalJ } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetInternalTransactionByTransactionHashAndOperationIdE400) MarshalJSON // Get the actual instance func (obj *GetInternalTransactionByTransactionHashAndOperationIdE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_internal_transaction_by_transaction_hash_and_operation_id_e401.go b/model_get_internal_transaction_by_transaction_hash_and_operation_id_e401.go index 18d2638..8105690 100644 --- a/model_get_internal_transaction_by_transaction_hash_and_operation_id_e401.go +++ b/model_get_internal_transaction_by_transaction_hash_and_operation_id_e401.go @@ -24,12 +24,16 @@ type GetInternalTransactionByTransactionHashAndOperationIdE401 struct { // InvalidApiKeyAsGetInternalTransactionByTransactionHashAndOperationIdE401 is a convenience function that returns InvalidApiKey wrapped in GetInternalTransactionByTransactionHashAndOperationIdE401 func InvalidApiKeyAsGetInternalTransactionByTransactionHashAndOperationIdE401(v *InvalidApiKey) GetInternalTransactionByTransactionHashAndOperationIdE401 { - return GetInternalTransactionByTransactionHashAndOperationIdE401{ InvalidApiKey: v} + return GetInternalTransactionByTransactionHashAndOperationIdE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetInternalTransactionByTransactionHashAndOperationIdE401 is a convenience function that returns MissingApiKey wrapped in GetInternalTransactionByTransactionHashAndOperationIdE401 func MissingApiKeyAsGetInternalTransactionByTransactionHashAndOperationIdE401(v *MissingApiKey) GetInternalTransactionByTransactionHashAndOperationIdE401 { - return GetInternalTransactionByTransactionHashAndOperationIdE401{ MissingApiKey: v} + return GetInternalTransactionByTransactionHashAndOperationIdE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE401) UnmarshalJ var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE401) UnmarshalJ } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetInternalTransactionByTransactionHashAndOperationIdE401) MarshalJSON // Get the actual instance func (obj *GetInternalTransactionByTransactionHashAndOperationIdE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_internal_transaction_by_transaction_hash_and_operation_id_e403.go b/model_get_internal_transaction_by_transaction_hash_and_operation_id_e403.go index b0e6c18..b253495 100644 --- a/model_get_internal_transaction_by_transaction_hash_and_operation_id_e403.go +++ b/model_get_internal_transaction_by_transaction_hash_and_operation_id_e403.go @@ -26,22 +26,30 @@ type GetInternalTransactionByTransactionHashAndOperationIdE403 struct { // BannedIpAddressAsGetInternalTransactionByTransactionHashAndOperationIdE403 is a convenience function that returns BannedIpAddress wrapped in GetInternalTransactionByTransactionHashAndOperationIdE403 func BannedIpAddressAsGetInternalTransactionByTransactionHashAndOperationIdE403(v *BannedIpAddress) GetInternalTransactionByTransactionHashAndOperationIdE403 { - return GetInternalTransactionByTransactionHashAndOperationIdE403{ BannedIpAddress: v} + return GetInternalTransactionByTransactionHashAndOperationIdE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetInternalTransactionByTransactionHashAndOperationIdE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetInternalTransactionByTransactionHashAndOperationIdE403 func EndpointNotAllowedForApiKeyAsGetInternalTransactionByTransactionHashAndOperationIdE403(v *EndpointNotAllowedForApiKey) GetInternalTransactionByTransactionHashAndOperationIdE403 { - return GetInternalTransactionByTransactionHashAndOperationIdE403{ EndpointNotAllowedForApiKey: v} + return GetInternalTransactionByTransactionHashAndOperationIdE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetInternalTransactionByTransactionHashAndOperationIdE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetInternalTransactionByTransactionHashAndOperationIdE403 func EndpointNotAllowedForPlanAsGetInternalTransactionByTransactionHashAndOperationIdE403(v *EndpointNotAllowedForPlan) GetInternalTransactionByTransactionHashAndOperationIdE403 { - return GetInternalTransactionByTransactionHashAndOperationIdE403{ EndpointNotAllowedForPlan: v} + return GetInternalTransactionByTransactionHashAndOperationIdE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetInternalTransactionByTransactionHashAndOperationIdE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetInternalTransactionByTransactionHashAndOperationIdE403 func FeatureMainnetsNotAllowedForPlanAsGetInternalTransactionByTransactionHashAndOperationIdE403(v *FeatureMainnetsNotAllowedForPlan) GetInternalTransactionByTransactionHashAndOperationIdE403 { - return GetInternalTransactionByTransactionHashAndOperationIdE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetInternalTransactionByTransactionHashAndOperationIdE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE403) UnmarshalJ var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE403) UnmarshalJ } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE403) UnmarshalJ } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetInternalTransactionByTransactionHashAndOperationIdE403) UnmarshalJ } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetInternalTransactionByTransactionHashAndOperationIdE403) MarshalJSON // Get the actual instance func (obj *GetInternalTransactionByTransactionHashAndOperationIdE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_internal_transaction_by_transaction_hash_and_operation_id_r.go b/model_get_internal_transaction_by_transaction_hash_and_operation_id_r.go index 8d3aea1..7ea9654 100644 --- a/model_get_internal_transaction_by_transaction_hash_and_operation_id_r.go +++ b/model_get_internal_transaction_by_transaction_hash_and_operation_id_r.go @@ -59,7 +59,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdR) GetApiVersion() // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdR) GetRequestId() // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdR) GetData() GetIn // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdR) GetDataOk() (*GetInternalTransactionByTransactionHashAndOperationIdRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_internal_transaction_by_transaction_hash_and_operation_id_r_data.go b/model_get_internal_transaction_by_transaction_hash_and_operation_id_r_data.go index 3962ea5..e08676a 100644 --- a/model_get_internal_transaction_by_transaction_hash_and_operation_id_r_data.go +++ b/model_get_internal_transaction_by_transaction_hash_and_operation_id_r_data.go @@ -51,7 +51,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRData) GetItem() G // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRData) GetItemOk() (*GetInternalTransactionByTransactionHashAndOperationIdRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_internal_transaction_by_transaction_hash_and_operation_id_ri.go b/model_get_internal_transaction_by_transaction_hash_and_operation_id_ri.go index dd718d5..a9fd464 100644 --- a/model_get_internal_transaction_by_transaction_hash_and_operation_id_ri.go +++ b/model_get_internal_transaction_by_transaction_hash_and_operation_id_ri.go @@ -73,7 +73,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetAmount() st // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -97,7 +97,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetBlockHash() // GetBlockHashOk returns a tuple with the BlockHash field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHash, true @@ -121,7 +121,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetBlockHeight // GetBlockHeightOk returns a tuple with the BlockHeight field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHeight, true @@ -145,7 +145,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetOperationTy // GetOperationTypeOk returns a tuple with the OperationType field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetOperationTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OperationType, true @@ -169,7 +169,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetParentHash( // GetParentHashOk returns a tuple with the ParentHash field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetParentHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ParentHash, true @@ -193,7 +193,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetRecipient() // GetRecipientOk returns a tuple with the Recipient field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetRecipientOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Recipient, true @@ -217,7 +217,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetSender() st // GetSenderOk returns a tuple with the Sender field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetSenderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sender, true @@ -241,7 +241,7 @@ func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetTimestamp() // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetInternalTransactionByTransactionHashAndOperationIdRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_get_last_mined_block_e400.go b/model_get_last_mined_block_e400.go index 8736357..eafce7a 100644 --- a/model_get_last_mined_block_e400.go +++ b/model_get_last_mined_block_e400.go @@ -25,17 +25,23 @@ type GetLastMinedBlockE400 struct { // InvalidPaginationAsGetLastMinedBlockE400 is a convenience function that returns InvalidPagination wrapped in GetLastMinedBlockE400 func InvalidPaginationAsGetLastMinedBlockE400(v *InvalidPagination) GetLastMinedBlockE400 { - return GetLastMinedBlockE400{ InvalidPagination: v} + return GetLastMinedBlockE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetLastMinedBlockE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetLastMinedBlockE400 func LimitGreaterThanAllowedAsGetLastMinedBlockE400(v *LimitGreaterThanAllowed) GetLastMinedBlockE400 { - return GetLastMinedBlockE400{ LimitGreaterThanAllowed: v} + return GetLastMinedBlockE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetLastMinedBlockE400 is a convenience function that returns UriNotFound wrapped in GetLastMinedBlockE400 func UriNotFoundAsGetLastMinedBlockE400(v *UriNotFound) GetLastMinedBlockE400 { - return GetLastMinedBlockE400{ UriNotFound: v} + return GetLastMinedBlockE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetLastMinedBlockE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetLastMinedBlockE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetLastMinedBlockE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetLastMinedBlockE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLastMinedBlockE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_last_mined_block_e401.go b/model_get_last_mined_block_e401.go index 5a1922f..ce240f4 100644 --- a/model_get_last_mined_block_e401.go +++ b/model_get_last_mined_block_e401.go @@ -24,12 +24,16 @@ type GetLastMinedBlockE401 struct { // InvalidApiKeyAsGetLastMinedBlockE401 is a convenience function that returns InvalidApiKey wrapped in GetLastMinedBlockE401 func InvalidApiKeyAsGetLastMinedBlockE401(v *InvalidApiKey) GetLastMinedBlockE401 { - return GetLastMinedBlockE401{ InvalidApiKey: v} + return GetLastMinedBlockE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetLastMinedBlockE401 is a convenience function that returns MissingApiKey wrapped in GetLastMinedBlockE401 func MissingApiKeyAsGetLastMinedBlockE401(v *MissingApiKey) GetLastMinedBlockE401 { - return GetLastMinedBlockE401{ MissingApiKey: v} + return GetLastMinedBlockE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetLastMinedBlockE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetLastMinedBlockE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetLastMinedBlockE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLastMinedBlockE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_last_mined_block_e403.go b/model_get_last_mined_block_e403.go index 6682208..40e581b 100644 --- a/model_get_last_mined_block_e403.go +++ b/model_get_last_mined_block_e403.go @@ -26,22 +26,30 @@ type GetLastMinedBlockE403 struct { // BannedIpAddressAsGetLastMinedBlockE403 is a convenience function that returns BannedIpAddress wrapped in GetLastMinedBlockE403 func BannedIpAddressAsGetLastMinedBlockE403(v *BannedIpAddress) GetLastMinedBlockE403 { - return GetLastMinedBlockE403{ BannedIpAddress: v} + return GetLastMinedBlockE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetLastMinedBlockE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetLastMinedBlockE403 func EndpointNotAllowedForApiKeyAsGetLastMinedBlockE403(v *EndpointNotAllowedForApiKey) GetLastMinedBlockE403 { - return GetLastMinedBlockE403{ EndpointNotAllowedForApiKey: v} + return GetLastMinedBlockE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetLastMinedBlockE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetLastMinedBlockE403 func EndpointNotAllowedForPlanAsGetLastMinedBlockE403(v *EndpointNotAllowedForPlan) GetLastMinedBlockE403 { - return GetLastMinedBlockE403{ EndpointNotAllowedForPlan: v} + return GetLastMinedBlockE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetLastMinedBlockE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetLastMinedBlockE403 func FeatureMainnetsNotAllowedForPlanAsGetLastMinedBlockE403(v *FeatureMainnetsNotAllowedForPlan) GetLastMinedBlockE403 { - return GetLastMinedBlockE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetLastMinedBlockE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetLastMinedBlockE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetLastMinedBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetLastMinedBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetLastMinedBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetLastMinedBlockE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLastMinedBlockE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_last_mined_block_r.go b/model_get_last_mined_block_r.go index cf1ff47..a14b1c4 100644 --- a/model_get_last_mined_block_r.go +++ b/model_get_last_mined_block_r.go @@ -59,7 +59,7 @@ func (o *GetLastMinedBlockR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetLastMinedBlockR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetLastMinedBlockR) GetData() GetLastMinedBlockRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockR) GetDataOk() (*GetLastMinedBlockRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_last_mined_block_r_data.go b/model_get_last_mined_block_r_data.go index f8e0e88..a42f296 100644 --- a/model_get_last_mined_block_r_data.go +++ b/model_get_last_mined_block_r_data.go @@ -51,7 +51,7 @@ func (o *GetLastMinedBlockRData) GetItem() GetLastMinedBlockRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRData) GetItemOk() (*GetLastMinedBlockRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_last_mined_block_ri.go b/model_get_last_mined_block_ri.go index 2def2b6..227deae 100644 --- a/model_get_last_mined_block_ri.go +++ b/model_get_last_mined_block_ri.go @@ -66,7 +66,7 @@ func (o *GetLastMinedBlockRI) GetHash() string { // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRI) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -90,7 +90,7 @@ func (o *GetLastMinedBlockRI) GetHeight() int32 { // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRI) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -114,7 +114,7 @@ func (o *GetLastMinedBlockRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -138,7 +138,7 @@ func (o *GetLastMinedBlockRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -162,7 +162,7 @@ func (o *GetLastMinedBlockRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -186,7 +186,7 @@ func (o *GetLastMinedBlockRI) GetBlockchainSpecific() GetLastMinedBlockRIBS { // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRI) GetBlockchainSpecificOk() (*GetLastMinedBlockRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_get_last_mined_block_ribs.go b/model_get_last_mined_block_ribs.go index ac8e254..513e80b 100644 --- a/model_get_last_mined_block_ribs.go +++ b/model_get_last_mined_block_ribs.go @@ -31,47 +31,65 @@ type GetLastMinedBlockRIBS struct { // GetLastMinedBlockRIBSBAsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSB wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSBAsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSB) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSB: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSB: v, + } } // GetLastMinedBlockRIBSBCAsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSBC wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSBCAsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSBC) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSBC: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSBC: v, + } } // GetLastMinedBlockRIBSBSCAsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSBSC wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSBSCAsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSBSC) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSBSC: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSBSC: v, + } } // GetLastMinedBlockRIBSDAsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSD wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSDAsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSD) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSD: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSD: v, + } } // GetLastMinedBlockRIBSD2AsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSD2 wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSD2AsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSD2) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSD2: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSD2: v, + } } // GetLastMinedBlockRIBSEAsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSE wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSEAsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSE) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSE: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSE: v, + } } // GetLastMinedBlockRIBSECAsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSEC wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSECAsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSEC) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSEC: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSEC: v, + } } // GetLastMinedBlockRIBSLAsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSL wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSLAsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSL) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSL: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSL: v, + } } // GetLastMinedBlockRIBSZAsGetLastMinedBlockRIBS is a convenience function that returns GetLastMinedBlockRIBSZ wrapped in GetLastMinedBlockRIBS func GetLastMinedBlockRIBSZAsGetLastMinedBlockRIBS(v *GetLastMinedBlockRIBSZ) GetLastMinedBlockRIBS { - return GetLastMinedBlockRIBS{ GetLastMinedBlockRIBSZ: v} + return GetLastMinedBlockRIBS{ + GetLastMinedBlockRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into GetLastMinedBlockRIBSB - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSB) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSB) if err == nil { jsonGetLastMinedBlockRIBSB, _ := json.Marshal(dst.GetLastMinedBlockRIBSB) if string(jsonGetLastMinedBlockRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetLastMinedBlockRIBSBC - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSBC) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSBC) if err == nil { jsonGetLastMinedBlockRIBSBC, _ := json.Marshal(dst.GetLastMinedBlockRIBSBC) if string(jsonGetLastMinedBlockRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetLastMinedBlockRIBSBSC - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSBSC) if err == nil { jsonGetLastMinedBlockRIBSBSC, _ := json.Marshal(dst.GetLastMinedBlockRIBSBSC) if string(jsonGetLastMinedBlockRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetLastMinedBlockRIBSD - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSD) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSD) if err == nil { jsonGetLastMinedBlockRIBSD, _ := json.Marshal(dst.GetLastMinedBlockRIBSD) if string(jsonGetLastMinedBlockRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetLastMinedBlockRIBSD2 - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSD2) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSD2) if err == nil { jsonGetLastMinedBlockRIBSD2, _ := json.Marshal(dst.GetLastMinedBlockRIBSD2) if string(jsonGetLastMinedBlockRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetLastMinedBlockRIBSE - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSE) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSE) if err == nil { jsonGetLastMinedBlockRIBSE, _ := json.Marshal(dst.GetLastMinedBlockRIBSE) if string(jsonGetLastMinedBlockRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetLastMinedBlockRIBSEC - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSEC) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSEC) if err == nil { jsonGetLastMinedBlockRIBSEC, _ := json.Marshal(dst.GetLastMinedBlockRIBSEC) if string(jsonGetLastMinedBlockRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetLastMinedBlockRIBSL - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSL) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSL) if err == nil { jsonGetLastMinedBlockRIBSL, _ := json.Marshal(dst.GetLastMinedBlockRIBSL) if string(jsonGetLastMinedBlockRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *GetLastMinedBlockRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into GetLastMinedBlockRIBSZ - err = json.Unmarshal(data, &dst.GetLastMinedBlockRIBSZ) + err = newStrictDecoder(data).Decode(&dst.GetLastMinedBlockRIBSZ) if err == nil { jsonGetLastMinedBlockRIBSZ, _ := json.Marshal(dst.GetLastMinedBlockRIBSZ) if string(jsonGetLastMinedBlockRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src GetLastMinedBlockRIBS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLastMinedBlockRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetLastMinedBlockRIBSB != nil { return obj.GetLastMinedBlockRIBSB } diff --git a/model_get_last_mined_block_ribsb.go b/model_get_last_mined_block_ribsb.go index dc07605..4b4601d 100644 --- a/model_get_last_mined_block_ribsb.go +++ b/model_get_last_mined_block_ribsb.go @@ -79,7 +79,7 @@ func (o *GetLastMinedBlockRIBSB) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -103,7 +103,7 @@ func (o *GetLastMinedBlockRIBSB) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -127,7 +127,7 @@ func (o *GetLastMinedBlockRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -151,7 +151,7 @@ func (o *GetLastMinedBlockRIBSB) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -175,7 +175,7 @@ func (o *GetLastMinedBlockRIBSB) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -199,7 +199,7 @@ func (o *GetLastMinedBlockRIBSB) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -223,7 +223,7 @@ func (o *GetLastMinedBlockRIBSB) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *GetLastMinedBlockRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetLastMinedBlockRIBSB) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetLastMinedBlockRIBSB) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSB) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_last_mined_block_ribsbc.go b/model_get_last_mined_block_ribsbc.go index acb7720..e1e4018 100644 --- a/model_get_last_mined_block_ribsbc.go +++ b/model_get_last_mined_block_ribsbc.go @@ -73,7 +73,7 @@ func (o *GetLastMinedBlockRIBSBC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -97,7 +97,7 @@ func (o *GetLastMinedBlockRIBSBC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -121,7 +121,7 @@ func (o *GetLastMinedBlockRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -145,7 +145,7 @@ func (o *GetLastMinedBlockRIBSBC) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBC) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -169,7 +169,7 @@ func (o *GetLastMinedBlockRIBSBC) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBC) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -193,7 +193,7 @@ func (o *GetLastMinedBlockRIBSBC) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBC) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -217,7 +217,7 @@ func (o *GetLastMinedBlockRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetLastMinedBlockRIBSBC) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBC) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_last_mined_block_ribsbsc.go b/model_get_last_mined_block_ribsbsc.go index 73a975b..78c4af5 100644 --- a/model_get_last_mined_block_ribsbsc.go +++ b/model_get_last_mined_block_ribsbsc.go @@ -78,7 +78,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -102,7 +102,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -126,7 +126,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -150,7 +150,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -174,7 +174,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -198,7 +198,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -222,7 +222,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -246,7 +246,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -270,7 +270,7 @@ func (o *GetLastMinedBlockRIBSBSC) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSBSC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -293,11 +293,11 @@ func (o *GetLastMinedBlockRIBSBSC) GetUncles() []string { // GetUnclesOk returns a tuple with the Uncles field value // and a boolean to check if the value has been set. -func (o *GetLastMinedBlockRIBSBSC) GetUnclesOk() (*[]string, bool) { - if o == nil { +func (o *GetLastMinedBlockRIBSBSC) GetUnclesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Uncles, true + return o.Uncles, true } // SetUncles sets field value diff --git a/model_get_last_mined_block_ribsd.go b/model_get_last_mined_block_ribsd.go index e9779be..d167a18 100644 --- a/model_get_last_mined_block_ribsd.go +++ b/model_get_last_mined_block_ribsd.go @@ -76,7 +76,7 @@ func (o *GetLastMinedBlockRIBSD) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -100,7 +100,7 @@ func (o *GetLastMinedBlockRIBSD) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -124,7 +124,7 @@ func (o *GetLastMinedBlockRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -148,7 +148,7 @@ func (o *GetLastMinedBlockRIBSD) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -172,7 +172,7 @@ func (o *GetLastMinedBlockRIBSD) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -196,7 +196,7 @@ func (o *GetLastMinedBlockRIBSD) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -220,7 +220,7 @@ func (o *GetLastMinedBlockRIBSD) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -244,7 +244,7 @@ func (o *GetLastMinedBlockRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -268,7 +268,7 @@ func (o *GetLastMinedBlockRIBSD) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_last_mined_block_ribsd2.go b/model_get_last_mined_block_ribsd2.go index 680a725..2116485 100644 --- a/model_get_last_mined_block_ribsd2.go +++ b/model_get_last_mined_block_ribsd2.go @@ -73,7 +73,7 @@ func (o *GetLastMinedBlockRIBSD2) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD2) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -97,7 +97,7 @@ func (o *GetLastMinedBlockRIBSD2) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD2) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -121,7 +121,7 @@ func (o *GetLastMinedBlockRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -145,7 +145,7 @@ func (o *GetLastMinedBlockRIBSD2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -169,7 +169,7 @@ func (o *GetLastMinedBlockRIBSD2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -193,7 +193,7 @@ func (o *GetLastMinedBlockRIBSD2) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -217,7 +217,7 @@ func (o *GetLastMinedBlockRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *GetLastMinedBlockRIBSD2) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSD2) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_get_last_mined_block_ribse.go b/model_get_last_mined_block_ribse.go index 256b58d..4e65eb6 100644 --- a/model_get_last_mined_block_ribse.go +++ b/model_get_last_mined_block_ribse.go @@ -78,7 +78,7 @@ func (o *GetLastMinedBlockRIBSE) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -102,7 +102,7 @@ func (o *GetLastMinedBlockRIBSE) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -126,7 +126,7 @@ func (o *GetLastMinedBlockRIBSE) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -150,7 +150,7 @@ func (o *GetLastMinedBlockRIBSE) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -174,7 +174,7 @@ func (o *GetLastMinedBlockRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -198,7 +198,7 @@ func (o *GetLastMinedBlockRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -222,7 +222,7 @@ func (o *GetLastMinedBlockRIBSE) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -246,7 +246,7 @@ func (o *GetLastMinedBlockRIBSE) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -270,7 +270,7 @@ func (o *GetLastMinedBlockRIBSE) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSE) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -293,11 +293,11 @@ func (o *GetLastMinedBlockRIBSE) GetUncles() []string { // GetUnclesOk returns a tuple with the Uncles field value // and a boolean to check if the value has been set. -func (o *GetLastMinedBlockRIBSE) GetUnclesOk() (*[]string, bool) { - if o == nil { +func (o *GetLastMinedBlockRIBSE) GetUnclesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Uncles, true + return o.Uncles, true } // SetUncles sets field value diff --git a/model_get_last_mined_block_ribsec.go b/model_get_last_mined_block_ribsec.go index a163177..d1b8354 100644 --- a/model_get_last_mined_block_ribsec.go +++ b/model_get_last_mined_block_ribsec.go @@ -78,7 +78,7 @@ func (o *GetLastMinedBlockRIBSEC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -102,7 +102,7 @@ func (o *GetLastMinedBlockRIBSEC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -126,7 +126,7 @@ func (o *GetLastMinedBlockRIBSEC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -150,7 +150,7 @@ func (o *GetLastMinedBlockRIBSEC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -174,7 +174,7 @@ func (o *GetLastMinedBlockRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -198,7 +198,7 @@ func (o *GetLastMinedBlockRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -222,7 +222,7 @@ func (o *GetLastMinedBlockRIBSEC) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -246,7 +246,7 @@ func (o *GetLastMinedBlockRIBSEC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -270,7 +270,7 @@ func (o *GetLastMinedBlockRIBSEC) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSEC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -293,11 +293,11 @@ func (o *GetLastMinedBlockRIBSEC) GetUncles() []string { // GetUnclesOk returns a tuple with the Uncles field value // and a boolean to check if the value has been set. -func (o *GetLastMinedBlockRIBSEC) GetUnclesOk() (*[]string, bool) { - if o == nil { +func (o *GetLastMinedBlockRIBSEC) GetUnclesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Uncles, true + return o.Uncles, true } // SetUncles sets field value diff --git a/model_get_last_mined_block_ribsl.go b/model_get_last_mined_block_ribsl.go index 3dac8bb..05c722d 100644 --- a/model_get_last_mined_block_ribsl.go +++ b/model_get_last_mined_block_ribsl.go @@ -79,7 +79,7 @@ func (o *GetLastMinedBlockRIBSL) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -103,7 +103,7 @@ func (o *GetLastMinedBlockRIBSL) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -127,7 +127,7 @@ func (o *GetLastMinedBlockRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -151,7 +151,7 @@ func (o *GetLastMinedBlockRIBSL) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -175,7 +175,7 @@ func (o *GetLastMinedBlockRIBSL) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -199,7 +199,7 @@ func (o *GetLastMinedBlockRIBSL) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -223,7 +223,7 @@ func (o *GetLastMinedBlockRIBSL) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *GetLastMinedBlockRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *GetLastMinedBlockRIBSL) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *GetLastMinedBlockRIBSL) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSL) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_get_last_mined_block_ribsz.go b/model_get_last_mined_block_ribsz.go index 1e858c4..6e1104a 100644 --- a/model_get_last_mined_block_ribsz.go +++ b/model_get_last_mined_block_ribsz.go @@ -70,7 +70,7 @@ func (o *GetLastMinedBlockRIBSZ) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSZ) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -94,7 +94,7 @@ func (o *GetLastMinedBlockRIBSZ) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSZ) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -118,7 +118,7 @@ func (o *GetLastMinedBlockRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -142,7 +142,7 @@ func (o *GetLastMinedBlockRIBSZ) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSZ) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -166,7 +166,7 @@ func (o *GetLastMinedBlockRIBSZ) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSZ) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -190,7 +190,7 @@ func (o *GetLastMinedBlockRIBSZ) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSZ) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -214,7 +214,7 @@ func (o *GetLastMinedBlockRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetLastMinedBlockRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true diff --git a/model_get_latest_mined_xrp_ripple_block_e400.go b/model_get_latest_mined_xrp_ripple_block_e400.go index cc640b0..e77813b 100644 --- a/model_get_latest_mined_xrp_ripple_block_e400.go +++ b/model_get_latest_mined_xrp_ripple_block_e400.go @@ -25,17 +25,23 @@ type GetLatestMinedXRPRippleBlockE400 struct { // InvalidPaginationAsGetLatestMinedXRPRippleBlockE400 is a convenience function that returns InvalidPagination wrapped in GetLatestMinedXRPRippleBlockE400 func InvalidPaginationAsGetLatestMinedXRPRippleBlockE400(v *InvalidPagination) GetLatestMinedXRPRippleBlockE400 { - return GetLatestMinedXRPRippleBlockE400{ InvalidPagination: v} + return GetLatestMinedXRPRippleBlockE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetLatestMinedXRPRippleBlockE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetLatestMinedXRPRippleBlockE400 func LimitGreaterThanAllowedAsGetLatestMinedXRPRippleBlockE400(v *LimitGreaterThanAllowed) GetLatestMinedXRPRippleBlockE400 { - return GetLatestMinedXRPRippleBlockE400{ LimitGreaterThanAllowed: v} + return GetLatestMinedXRPRippleBlockE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetLatestMinedXRPRippleBlockE400 is a convenience function that returns UriNotFound wrapped in GetLatestMinedXRPRippleBlockE400 func UriNotFoundAsGetLatestMinedXRPRippleBlockE400(v *UriNotFound) GetLatestMinedXRPRippleBlockE400 { - return GetLatestMinedXRPRippleBlockE400{ UriNotFound: v} + return GetLatestMinedXRPRippleBlockE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetLatestMinedXRPRippleBlockE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetLatestMinedXRPRippleBlockE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetLatestMinedXRPRippleBlockE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetLatestMinedXRPRippleBlockE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLatestMinedXRPRippleBlockE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_latest_mined_xrp_ripple_block_e401.go b/model_get_latest_mined_xrp_ripple_block_e401.go index f9ea8a1..31d9f45 100644 --- a/model_get_latest_mined_xrp_ripple_block_e401.go +++ b/model_get_latest_mined_xrp_ripple_block_e401.go @@ -24,12 +24,16 @@ type GetLatestMinedXRPRippleBlockE401 struct { // InvalidApiKeyAsGetLatestMinedXRPRippleBlockE401 is a convenience function that returns InvalidApiKey wrapped in GetLatestMinedXRPRippleBlockE401 func InvalidApiKeyAsGetLatestMinedXRPRippleBlockE401(v *InvalidApiKey) GetLatestMinedXRPRippleBlockE401 { - return GetLatestMinedXRPRippleBlockE401{ InvalidApiKey: v} + return GetLatestMinedXRPRippleBlockE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetLatestMinedXRPRippleBlockE401 is a convenience function that returns MissingApiKey wrapped in GetLatestMinedXRPRippleBlockE401 func MissingApiKeyAsGetLatestMinedXRPRippleBlockE401(v *MissingApiKey) GetLatestMinedXRPRippleBlockE401 { - return GetLatestMinedXRPRippleBlockE401{ MissingApiKey: v} + return GetLatestMinedXRPRippleBlockE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetLatestMinedXRPRippleBlockE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetLatestMinedXRPRippleBlockE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetLatestMinedXRPRippleBlockE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLatestMinedXRPRippleBlockE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_latest_mined_xrp_ripple_block_e403.go b/model_get_latest_mined_xrp_ripple_block_e403.go index 7bc9574..e1a602e 100644 --- a/model_get_latest_mined_xrp_ripple_block_e403.go +++ b/model_get_latest_mined_xrp_ripple_block_e403.go @@ -26,22 +26,30 @@ type GetLatestMinedXRPRippleBlockE403 struct { // BannedIpAddressAsGetLatestMinedXRPRippleBlockE403 is a convenience function that returns BannedIpAddress wrapped in GetLatestMinedXRPRippleBlockE403 func BannedIpAddressAsGetLatestMinedXRPRippleBlockE403(v *BannedIpAddress) GetLatestMinedXRPRippleBlockE403 { - return GetLatestMinedXRPRippleBlockE403{ BannedIpAddress: v} + return GetLatestMinedXRPRippleBlockE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetLatestMinedXRPRippleBlockE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetLatestMinedXRPRippleBlockE403 func EndpointNotAllowedForApiKeyAsGetLatestMinedXRPRippleBlockE403(v *EndpointNotAllowedForApiKey) GetLatestMinedXRPRippleBlockE403 { - return GetLatestMinedXRPRippleBlockE403{ EndpointNotAllowedForApiKey: v} + return GetLatestMinedXRPRippleBlockE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetLatestMinedXRPRippleBlockE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetLatestMinedXRPRippleBlockE403 func EndpointNotAllowedForPlanAsGetLatestMinedXRPRippleBlockE403(v *EndpointNotAllowedForPlan) GetLatestMinedXRPRippleBlockE403 { - return GetLatestMinedXRPRippleBlockE403{ EndpointNotAllowedForPlan: v} + return GetLatestMinedXRPRippleBlockE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetLatestMinedXRPRippleBlockE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetLatestMinedXRPRippleBlockE403 func FeatureMainnetsNotAllowedForPlanAsGetLatestMinedXRPRippleBlockE403(v *FeatureMainnetsNotAllowedForPlan) GetLatestMinedXRPRippleBlockE403 { - return GetLatestMinedXRPRippleBlockE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetLatestMinedXRPRippleBlockE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetLatestMinedXRPRippleBlockE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetLatestMinedXRPRippleBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetLatestMinedXRPRippleBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetLatestMinedXRPRippleBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetLatestMinedXRPRippleBlockE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLatestMinedXRPRippleBlockE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_latest_mined_xrp_ripple_block_r.go b/model_get_latest_mined_xrp_ripple_block_r.go index 55abe8c..9993192 100644 --- a/model_get_latest_mined_xrp_ripple_block_r.go +++ b/model_get_latest_mined_xrp_ripple_block_r.go @@ -59,7 +59,7 @@ func (o *GetLatestMinedXRPRippleBlockR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetLatestMinedXRPRippleBlockR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetLatestMinedXRPRippleBlockR) GetData() GetLatestMinedXRPRippleBlockRD // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockR) GetDataOk() (*GetLatestMinedXRPRippleBlockRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_latest_mined_xrp_ripple_block_r_data.go b/model_get_latest_mined_xrp_ripple_block_r_data.go index 3328f03..1957e6d 100644 --- a/model_get_latest_mined_xrp_ripple_block_r_data.go +++ b/model_get_latest_mined_xrp_ripple_block_r_data.go @@ -51,7 +51,7 @@ func (o *GetLatestMinedXRPRippleBlockRData) GetItem() GetLatestMinedXRPRippleBlo // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRData) GetItemOk() (*GetLatestMinedXRPRippleBlockRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_latest_mined_xrp_ripple_block_ri.go b/model_get_latest_mined_xrp_ripple_block_ri.go index 3b3d686..a330ac0 100644 --- a/model_get_latest_mined_xrp_ripple_block_ri.go +++ b/model_get_latest_mined_xrp_ripple_block_ri.go @@ -68,7 +68,7 @@ func (o *GetLatestMinedXRPRippleBlockRI) GetBlockHash() string { // GetBlockHashOk returns a tuple with the BlockHash field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRI) GetBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHash, true @@ -92,7 +92,7 @@ func (o *GetLatestMinedXRPRippleBlockRI) GetBlockHeight() int32 { // GetBlockHeightOk returns a tuple with the BlockHeight field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRI) GetBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHeight, true @@ -116,7 +116,7 @@ func (o *GetLatestMinedXRPRippleBlockRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -140,7 +140,7 @@ func (o *GetLatestMinedXRPRippleBlockRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -164,7 +164,7 @@ func (o *GetLatestMinedXRPRippleBlockRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -188,7 +188,7 @@ func (o *GetLatestMinedXRPRippleBlockRI) GetTotalCoins() GetLatestMinedXRPRipple // GetTotalCoinsOk returns a tuple with the TotalCoins field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRI) GetTotalCoinsOk() (*GetLatestMinedXRPRippleBlockRITotalCoins, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalCoins, true @@ -212,7 +212,7 @@ func (o *GetLatestMinedXRPRippleBlockRI) GetTotalFees() GetLatestMinedXRPRippleB // GetTotalFeesOk returns a tuple with the TotalFees field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRI) GetTotalFeesOk() (*GetLatestMinedXRPRippleBlockRITotalFees, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalFees, true diff --git a/model_get_latest_mined_xrp_ripple_block_ri_total_coins.go b/model_get_latest_mined_xrp_ripple_block_ri_total_coins.go index 5adaffe..e9d217c 100644 --- a/model_get_latest_mined_xrp_ripple_block_ri_total_coins.go +++ b/model_get_latest_mined_xrp_ripple_block_ri_total_coins.go @@ -55,7 +55,7 @@ func (o *GetLatestMinedXRPRippleBlockRITotalCoins) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRITotalCoins) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetLatestMinedXRPRippleBlockRITotalCoins) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRITotalCoins) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_latest_mined_xrp_ripple_block_ri_total_fees.go b/model_get_latest_mined_xrp_ripple_block_ri_total_fees.go index e8bb36c..7d92e8e 100644 --- a/model_get_latest_mined_xrp_ripple_block_ri_total_fees.go +++ b/model_get_latest_mined_xrp_ripple_block_ri_total_fees.go @@ -55,7 +55,7 @@ func (o *GetLatestMinedXRPRippleBlockRITotalFees) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRITotalFees) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetLatestMinedXRPRippleBlockRITotalFees) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetLatestMinedXRPRippleBlockRITotalFees) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_latest_mined_zilliqa_block_e400.go b/model_get_latest_mined_zilliqa_block_e400.go index b2c394a..da1c65e 100644 --- a/model_get_latest_mined_zilliqa_block_e400.go +++ b/model_get_latest_mined_zilliqa_block_e400.go @@ -25,17 +25,23 @@ type GetLatestMinedZilliqaBlockE400 struct { // InvalidPaginationAsGetLatestMinedZilliqaBlockE400 is a convenience function that returns InvalidPagination wrapped in GetLatestMinedZilliqaBlockE400 func InvalidPaginationAsGetLatestMinedZilliqaBlockE400(v *InvalidPagination) GetLatestMinedZilliqaBlockE400 { - return GetLatestMinedZilliqaBlockE400{ InvalidPagination: v} + return GetLatestMinedZilliqaBlockE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetLatestMinedZilliqaBlockE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetLatestMinedZilliqaBlockE400 func LimitGreaterThanAllowedAsGetLatestMinedZilliqaBlockE400(v *LimitGreaterThanAllowed) GetLatestMinedZilliqaBlockE400 { - return GetLatestMinedZilliqaBlockE400{ LimitGreaterThanAllowed: v} + return GetLatestMinedZilliqaBlockE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetLatestMinedZilliqaBlockE400 is a convenience function that returns UriNotFound wrapped in GetLatestMinedZilliqaBlockE400 func UriNotFoundAsGetLatestMinedZilliqaBlockE400(v *UriNotFound) GetLatestMinedZilliqaBlockE400 { - return GetLatestMinedZilliqaBlockE400{ UriNotFound: v} + return GetLatestMinedZilliqaBlockE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetLatestMinedZilliqaBlockE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetLatestMinedZilliqaBlockE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetLatestMinedZilliqaBlockE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetLatestMinedZilliqaBlockE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLatestMinedZilliqaBlockE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_latest_mined_zilliqa_block_e401.go b/model_get_latest_mined_zilliqa_block_e401.go index 81e4e2a..ccfab8d 100644 --- a/model_get_latest_mined_zilliqa_block_e401.go +++ b/model_get_latest_mined_zilliqa_block_e401.go @@ -24,12 +24,16 @@ type GetLatestMinedZilliqaBlockE401 struct { // InvalidApiKeyAsGetLatestMinedZilliqaBlockE401 is a convenience function that returns InvalidApiKey wrapped in GetLatestMinedZilliqaBlockE401 func InvalidApiKeyAsGetLatestMinedZilliqaBlockE401(v *InvalidApiKey) GetLatestMinedZilliqaBlockE401 { - return GetLatestMinedZilliqaBlockE401{ InvalidApiKey: v} + return GetLatestMinedZilliqaBlockE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetLatestMinedZilliqaBlockE401 is a convenience function that returns MissingApiKey wrapped in GetLatestMinedZilliqaBlockE401 func MissingApiKeyAsGetLatestMinedZilliqaBlockE401(v *MissingApiKey) GetLatestMinedZilliqaBlockE401 { - return GetLatestMinedZilliqaBlockE401{ MissingApiKey: v} + return GetLatestMinedZilliqaBlockE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetLatestMinedZilliqaBlockE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetLatestMinedZilliqaBlockE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetLatestMinedZilliqaBlockE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLatestMinedZilliqaBlockE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_latest_mined_zilliqa_block_e403.go b/model_get_latest_mined_zilliqa_block_e403.go index ba38c90..b74bf41 100644 --- a/model_get_latest_mined_zilliqa_block_e403.go +++ b/model_get_latest_mined_zilliqa_block_e403.go @@ -26,22 +26,30 @@ type GetLatestMinedZilliqaBlockE403 struct { // BannedIpAddressAsGetLatestMinedZilliqaBlockE403 is a convenience function that returns BannedIpAddress wrapped in GetLatestMinedZilliqaBlockE403 func BannedIpAddressAsGetLatestMinedZilliqaBlockE403(v *BannedIpAddress) GetLatestMinedZilliqaBlockE403 { - return GetLatestMinedZilliqaBlockE403{ BannedIpAddress: v} + return GetLatestMinedZilliqaBlockE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetLatestMinedZilliqaBlockE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetLatestMinedZilliqaBlockE403 func EndpointNotAllowedForApiKeyAsGetLatestMinedZilliqaBlockE403(v *EndpointNotAllowedForApiKey) GetLatestMinedZilliqaBlockE403 { - return GetLatestMinedZilliqaBlockE403{ EndpointNotAllowedForApiKey: v} + return GetLatestMinedZilliqaBlockE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetLatestMinedZilliqaBlockE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetLatestMinedZilliqaBlockE403 func EndpointNotAllowedForPlanAsGetLatestMinedZilliqaBlockE403(v *EndpointNotAllowedForPlan) GetLatestMinedZilliqaBlockE403 { - return GetLatestMinedZilliqaBlockE403{ EndpointNotAllowedForPlan: v} + return GetLatestMinedZilliqaBlockE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetLatestMinedZilliqaBlockE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetLatestMinedZilliqaBlockE403 func FeatureMainnetsNotAllowedForPlanAsGetLatestMinedZilliqaBlockE403(v *FeatureMainnetsNotAllowedForPlan) GetLatestMinedZilliqaBlockE403 { - return GetLatestMinedZilliqaBlockE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetLatestMinedZilliqaBlockE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetLatestMinedZilliqaBlockE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetLatestMinedZilliqaBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetLatestMinedZilliqaBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetLatestMinedZilliqaBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetLatestMinedZilliqaBlockE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetLatestMinedZilliqaBlockE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_latest_mined_zilliqa_block_r.go b/model_get_latest_mined_zilliqa_block_r.go index 9f5271f..cd785db 100644 --- a/model_get_latest_mined_zilliqa_block_r.go +++ b/model_get_latest_mined_zilliqa_block_r.go @@ -59,7 +59,7 @@ func (o *GetLatestMinedZilliqaBlockR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetLatestMinedZilliqaBlockR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetLatestMinedZilliqaBlockR) GetData() GetLatestMinedZilliqaBlockRData // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockR) GetDataOk() (*GetLatestMinedZilliqaBlockRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_latest_mined_zilliqa_block_r_data.go b/model_get_latest_mined_zilliqa_block_r_data.go index 2b7ecef..d12b42c 100644 --- a/model_get_latest_mined_zilliqa_block_r_data.go +++ b/model_get_latest_mined_zilliqa_block_r_data.go @@ -51,7 +51,7 @@ func (o *GetLatestMinedZilliqaBlockRData) GetItem() GetLatestMinedZilliqaBlockRI // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRData) GetItemOk() (*GetLatestMinedZilliqaBlockRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_latest_mined_zilliqa_block_ri.go b/model_get_latest_mined_zilliqa_block_ri.go index 01043c9..8991465 100644 --- a/model_get_latest_mined_zilliqa_block_ri.go +++ b/model_get_latest_mined_zilliqa_block_ri.go @@ -84,7 +84,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetBlockHash() string { // GetBlockHashOk returns a tuple with the BlockHash field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHash, true @@ -108,7 +108,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetBlockHeight() int32 { // GetBlockHeightOk returns a tuple with the BlockHeight field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHeight, true @@ -132,7 +132,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -156,7 +156,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetDsBlock() int32 { // GetDsBlockOk returns a tuple with the DsBlock field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetDsBlockOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsBlock, true @@ -180,7 +180,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetDsDifficulty() string { // GetDsDifficultyOk returns a tuple with the DsDifficulty field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetDsDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsDifficulty, true @@ -204,7 +204,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetDsLeader() string { // GetDsLeaderOk returns a tuple with the DsLeader field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetDsLeaderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsLeader, true @@ -228,7 +228,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -252,7 +252,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -275,11 +275,11 @@ func (o *GetLatestMinedZilliqaBlockRI) GetMicroBlocks() []string { // GetMicroBlocksOk returns a tuple with the MicroBlocks field value // and a boolean to check if the value has been set. -func (o *GetLatestMinedZilliqaBlockRI) GetMicroBlocksOk() (*[]string, bool) { - if o == nil { +func (o *GetLatestMinedZilliqaBlockRI) GetMicroBlocksOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.MicroBlocks, true + return o.MicroBlocks, true } // SetMicroBlocks sets field value @@ -300,7 +300,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -324,7 +324,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -348,7 +348,7 @@ func (o *GetLatestMinedZilliqaBlockRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetLatestMinedZilliqaBlockRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true diff --git a/model_get_next_available_nonce_e400.go b/model_get_next_available_nonce_e400.go new file mode 100644 index 0000000..2af0e29 --- /dev/null +++ b/model_get_next_available_nonce_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetNextAvailableNonceE400 - struct for GetNextAvailableNonceE400 +type GetNextAvailableNonceE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsGetNextAvailableNonceE400 is a convenience function that returns InvalidPagination wrapped in GetNextAvailableNonceE400 +func InvalidPaginationAsGetNextAvailableNonceE400(v *InvalidPagination) GetNextAvailableNonceE400 { + return GetNextAvailableNonceE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsGetNextAvailableNonceE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetNextAvailableNonceE400 +func LimitGreaterThanAllowedAsGetNextAvailableNonceE400(v *LimitGreaterThanAllowed) GetNextAvailableNonceE400 { + return GetNextAvailableNonceE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsGetNextAvailableNonceE400 is a convenience function that returns UriNotFound wrapped in GetNextAvailableNonceE400 +func UriNotFoundAsGetNextAvailableNonceE400(v *UriNotFound) GetNextAvailableNonceE400 { + return GetNextAvailableNonceE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetNextAvailableNonceE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetNextAvailableNonceE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetNextAvailableNonceE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetNextAvailableNonceE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetNextAvailableNonceE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableGetNextAvailableNonceE400 struct { + value *GetNextAvailableNonceE400 + isSet bool +} + +func (v NullableGetNextAvailableNonceE400) Get() *GetNextAvailableNonceE400 { + return v.value +} + +func (v *NullableGetNextAvailableNonceE400) Set(val *GetNextAvailableNonceE400) { + v.value = val + v.isSet = true +} + +func (v NullableGetNextAvailableNonceE400) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNextAvailableNonceE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNextAvailableNonceE400(val *GetNextAvailableNonceE400) *NullableGetNextAvailableNonceE400 { + return &NullableGetNextAvailableNonceE400{value: val, isSet: true} +} + +func (v NullableGetNextAvailableNonceE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNextAvailableNonceE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_next_available_nonce_e401.go b/model_get_next_available_nonce_e401.go new file mode 100644 index 0000000..f64d942 --- /dev/null +++ b/model_get_next_available_nonce_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetNextAvailableNonceE401 - struct for GetNextAvailableNonceE401 +type GetNextAvailableNonceE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsGetNextAvailableNonceE401 is a convenience function that returns InvalidApiKey wrapped in GetNextAvailableNonceE401 +func InvalidApiKeyAsGetNextAvailableNonceE401(v *InvalidApiKey) GetNextAvailableNonceE401 { + return GetNextAvailableNonceE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsGetNextAvailableNonceE401 is a convenience function that returns MissingApiKey wrapped in GetNextAvailableNonceE401 +func MissingApiKeyAsGetNextAvailableNonceE401(v *MissingApiKey) GetNextAvailableNonceE401 { + return GetNextAvailableNonceE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetNextAvailableNonceE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetNextAvailableNonceE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetNextAvailableNonceE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetNextAvailableNonceE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetNextAvailableNonceE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableGetNextAvailableNonceE401 struct { + value *GetNextAvailableNonceE401 + isSet bool +} + +func (v NullableGetNextAvailableNonceE401) Get() *GetNextAvailableNonceE401 { + return v.value +} + +func (v *NullableGetNextAvailableNonceE401) Set(val *GetNextAvailableNonceE401) { + v.value = val + v.isSet = true +} + +func (v NullableGetNextAvailableNonceE401) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNextAvailableNonceE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNextAvailableNonceE401(val *GetNextAvailableNonceE401) *NullableGetNextAvailableNonceE401 { + return &NullableGetNextAvailableNonceE401{value: val, isSet: true} +} + +func (v NullableGetNextAvailableNonceE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNextAvailableNonceE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_next_available_nonce_e403.go b/model_get_next_available_nonce_e403.go new file mode 100644 index 0000000..a395b13 --- /dev/null +++ b/model_get_next_available_nonce_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetNextAvailableNonceE403 - struct for GetNextAvailableNonceE403 +type GetNextAvailableNonceE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsGetNextAvailableNonceE403 is a convenience function that returns BannedIpAddress wrapped in GetNextAvailableNonceE403 +func BannedIpAddressAsGetNextAvailableNonceE403(v *BannedIpAddress) GetNextAvailableNonceE403 { + return GetNextAvailableNonceE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsGetNextAvailableNonceE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetNextAvailableNonceE403 +func EndpointNotAllowedForApiKeyAsGetNextAvailableNonceE403(v *EndpointNotAllowedForApiKey) GetNextAvailableNonceE403 { + return GetNextAvailableNonceE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsGetNextAvailableNonceE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetNextAvailableNonceE403 +func EndpointNotAllowedForPlanAsGetNextAvailableNonceE403(v *EndpointNotAllowedForPlan) GetNextAvailableNonceE403 { + return GetNextAvailableNonceE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsGetNextAvailableNonceE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetNextAvailableNonceE403 +func FeatureMainnetsNotAllowedForPlanAsGetNextAvailableNonceE403(v *FeatureMainnetsNotAllowedForPlan) GetNextAvailableNonceE403 { + return GetNextAvailableNonceE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetNextAvailableNonceE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetNextAvailableNonceE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetNextAvailableNonceE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetNextAvailableNonceE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetNextAvailableNonceE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableGetNextAvailableNonceE403 struct { + value *GetNextAvailableNonceE403 + isSet bool +} + +func (v NullableGetNextAvailableNonceE403) Get() *GetNextAvailableNonceE403 { + return v.value +} + +func (v *NullableGetNextAvailableNonceE403) Set(val *GetNextAvailableNonceE403) { + v.value = val + v.isSet = true +} + +func (v NullableGetNextAvailableNonceE403) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNextAvailableNonceE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNextAvailableNonceE403(val *GetNextAvailableNonceE403) *NullableGetNextAvailableNonceE403 { + return &NullableGetNextAvailableNonceE403{value: val, isSet: true} +} + +func (v NullableGetNextAvailableNonceE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNextAvailableNonceE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_next_available_nonce_r.go b/model_get_next_available_nonce_r.go new file mode 100644 index 0000000..7391286 --- /dev/null +++ b/model_get_next_available_nonce_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetNextAvailableNonceR struct for GetNextAvailableNonceR +type GetNextAvailableNonceR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data GetNextAvailableNonceRData `json:"data"` +} + +// NewGetNextAvailableNonceR instantiates a new GetNextAvailableNonceR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetNextAvailableNonceR(apiVersion string, requestId string, data GetNextAvailableNonceRData) *GetNextAvailableNonceR { + this := GetNextAvailableNonceR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewGetNextAvailableNonceRWithDefaults instantiates a new GetNextAvailableNonceR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetNextAvailableNonceRWithDefaults() *GetNextAvailableNonceR { + this := GetNextAvailableNonceR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *GetNextAvailableNonceR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *GetNextAvailableNonceR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *GetNextAvailableNonceR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *GetNextAvailableNonceR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *GetNextAvailableNonceR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *GetNextAvailableNonceR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *GetNextAvailableNonceR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetNextAvailableNonceR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *GetNextAvailableNonceR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *GetNextAvailableNonceR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *GetNextAvailableNonceR) GetData() GetNextAvailableNonceRData { + if o == nil { + var ret GetNextAvailableNonceRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *GetNextAvailableNonceR) GetDataOk() (*GetNextAvailableNonceRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *GetNextAvailableNonceR) SetData(v GetNextAvailableNonceRData) { + o.Data = v +} + +func (o GetNextAvailableNonceR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableGetNextAvailableNonceR struct { + value *GetNextAvailableNonceR + isSet bool +} + +func (v NullableGetNextAvailableNonceR) Get() *GetNextAvailableNonceR { + return v.value +} + +func (v *NullableGetNextAvailableNonceR) Set(val *GetNextAvailableNonceR) { + v.value = val + v.isSet = true +} + +func (v NullableGetNextAvailableNonceR) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNextAvailableNonceR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNextAvailableNonceR(val *GetNextAvailableNonceR) *NullableGetNextAvailableNonceR { + return &NullableGetNextAvailableNonceR{value: val, isSet: true} +} + +func (v NullableGetNextAvailableNonceR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNextAvailableNonceR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_next_available_nonce_r_data.go b/model_get_next_available_nonce_r_data.go new file mode 100644 index 0000000..118538c --- /dev/null +++ b/model_get_next_available_nonce_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetNextAvailableNonceRData struct for GetNextAvailableNonceRData +type GetNextAvailableNonceRData struct { + Item GetNextAvailableNonceRI `json:"item"` +} + +// NewGetNextAvailableNonceRData instantiates a new GetNextAvailableNonceRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetNextAvailableNonceRData(item GetNextAvailableNonceRI) *GetNextAvailableNonceRData { + this := GetNextAvailableNonceRData{} + this.Item = item + return &this +} + +// NewGetNextAvailableNonceRDataWithDefaults instantiates a new GetNextAvailableNonceRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetNextAvailableNonceRDataWithDefaults() *GetNextAvailableNonceRData { + this := GetNextAvailableNonceRData{} + return &this +} + +// GetItem returns the Item field value +func (o *GetNextAvailableNonceRData) GetItem() GetNextAvailableNonceRI { + if o == nil { + var ret GetNextAvailableNonceRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *GetNextAvailableNonceRData) GetItemOk() (*GetNextAvailableNonceRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *GetNextAvailableNonceRData) SetItem(v GetNextAvailableNonceRI) { + o.Item = v +} + +func (o GetNextAvailableNonceRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableGetNextAvailableNonceRData struct { + value *GetNextAvailableNonceRData + isSet bool +} + +func (v NullableGetNextAvailableNonceRData) Get() *GetNextAvailableNonceRData { + return v.value +} + +func (v *NullableGetNextAvailableNonceRData) Set(val *GetNextAvailableNonceRData) { + v.value = val + v.isSet = true +} + +func (v NullableGetNextAvailableNonceRData) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNextAvailableNonceRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNextAvailableNonceRData(val *GetNextAvailableNonceRData) *NullableGetNextAvailableNonceRData { + return &NullableGetNextAvailableNonceRData{value: val, isSet: true} +} + +func (v NullableGetNextAvailableNonceRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNextAvailableNonceRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_next_available_nonce_ri.go b/model_get_next_available_nonce_ri.go new file mode 100644 index 0000000..78c7bd8 --- /dev/null +++ b/model_get_next_available_nonce_ri.go @@ -0,0 +1,110 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetNextAvailableNonceRI struct for GetNextAvailableNonceRI +type GetNextAvailableNonceRI struct { + // Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. + NextAvailableNonce int32 `json:"nextAvailableNonce"` +} + +// NewGetNextAvailableNonceRI instantiates a new GetNextAvailableNonceRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetNextAvailableNonceRI(nextAvailableNonce int32) *GetNextAvailableNonceRI { + this := GetNextAvailableNonceRI{} + this.NextAvailableNonce = nextAvailableNonce + return &this +} + +// NewGetNextAvailableNonceRIWithDefaults instantiates a new GetNextAvailableNonceRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetNextAvailableNonceRIWithDefaults() *GetNextAvailableNonceRI { + this := GetNextAvailableNonceRI{} + return &this +} + +// GetNextAvailableNonce returns the NextAvailableNonce field value +func (o *GetNextAvailableNonceRI) GetNextAvailableNonce() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.NextAvailableNonce +} + +// GetNextAvailableNonceOk returns a tuple with the NextAvailableNonce field value +// and a boolean to check if the value has been set. +func (o *GetNextAvailableNonceRI) GetNextAvailableNonceOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.NextAvailableNonce, true +} + +// SetNextAvailableNonce sets field value +func (o *GetNextAvailableNonceRI) SetNextAvailableNonce(v int32) { + o.NextAvailableNonce = v +} + +func (o GetNextAvailableNonceRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["nextAvailableNonce"] = o.NextAvailableNonce + } + return json.Marshal(toSerialize) +} + +type NullableGetNextAvailableNonceRI struct { + value *GetNextAvailableNonceRI + isSet bool +} + +func (v NullableGetNextAvailableNonceRI) Get() *GetNextAvailableNonceRI { + return v.value +} + +func (v *NullableGetNextAvailableNonceRI) Set(val *GetNextAvailableNonceRI) { + v.value = val + v.isSet = true +} + +func (v NullableGetNextAvailableNonceRI) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNextAvailableNonceRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNextAvailableNonceRI(val *GetNextAvailableNonceRI) *NullableGetNextAvailableNonceRI { + return &NullableGetNextAvailableNonceRI{value: val, isSet: true} +} + +func (v NullableGetNextAvailableNonceRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNextAvailableNonceRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_omni_transaction_details_by_transaction_id_txid_e400.go b/model_get_omni_transaction_details_by_transaction_id_txid_e400.go index 14f5d8d..d02bbd7 100644 --- a/model_get_omni_transaction_details_by_transaction_id_txid_e400.go +++ b/model_get_omni_transaction_details_by_transaction_id_txid_e400.go @@ -25,17 +25,23 @@ type GetOmniTransactionDetailsByTransactionIDTxidE400 struct { // InvalidPaginationAsGetOmniTransactionDetailsByTransactionIDTxidE400 is a convenience function that returns InvalidPagination wrapped in GetOmniTransactionDetailsByTransactionIDTxidE400 func InvalidPaginationAsGetOmniTransactionDetailsByTransactionIDTxidE400(v *InvalidPagination) GetOmniTransactionDetailsByTransactionIDTxidE400 { - return GetOmniTransactionDetailsByTransactionIDTxidE400{ InvalidPagination: v} + return GetOmniTransactionDetailsByTransactionIDTxidE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetOmniTransactionDetailsByTransactionIDTxidE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetOmniTransactionDetailsByTransactionIDTxidE400 func LimitGreaterThanAllowedAsGetOmniTransactionDetailsByTransactionIDTxidE400(v *LimitGreaterThanAllowed) GetOmniTransactionDetailsByTransactionIDTxidE400 { - return GetOmniTransactionDetailsByTransactionIDTxidE400{ LimitGreaterThanAllowed: v} + return GetOmniTransactionDetailsByTransactionIDTxidE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetOmniTransactionDetailsByTransactionIDTxidE400 is a convenience function that returns UriNotFound wrapped in GetOmniTransactionDetailsByTransactionIDTxidE400 func UriNotFoundAsGetOmniTransactionDetailsByTransactionIDTxidE400(v *UriNotFound) GetOmniTransactionDetailsByTransactionIDTxidE400 { - return GetOmniTransactionDetailsByTransactionIDTxidE400{ UriNotFound: v} + return GetOmniTransactionDetailsByTransactionIDTxidE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE400) UnmarshalJSON(data var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE400) UnmarshalJSON(data } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE400) UnmarshalJSON(data } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetOmniTransactionDetailsByTransactionIDTxidE400) MarshalJSON() ([]byt // Get the actual instance func (obj *GetOmniTransactionDetailsByTransactionIDTxidE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_omni_transaction_details_by_transaction_id_txid_e401.go b/model_get_omni_transaction_details_by_transaction_id_txid_e401.go index a2d88f5..a3218cd 100644 --- a/model_get_omni_transaction_details_by_transaction_id_txid_e401.go +++ b/model_get_omni_transaction_details_by_transaction_id_txid_e401.go @@ -24,12 +24,16 @@ type GetOmniTransactionDetailsByTransactionIDTxidE401 struct { // InvalidApiKeyAsGetOmniTransactionDetailsByTransactionIDTxidE401 is a convenience function that returns InvalidApiKey wrapped in GetOmniTransactionDetailsByTransactionIDTxidE401 func InvalidApiKeyAsGetOmniTransactionDetailsByTransactionIDTxidE401(v *InvalidApiKey) GetOmniTransactionDetailsByTransactionIDTxidE401 { - return GetOmniTransactionDetailsByTransactionIDTxidE401{ InvalidApiKey: v} + return GetOmniTransactionDetailsByTransactionIDTxidE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetOmniTransactionDetailsByTransactionIDTxidE401 is a convenience function that returns MissingApiKey wrapped in GetOmniTransactionDetailsByTransactionIDTxidE401 func MissingApiKeyAsGetOmniTransactionDetailsByTransactionIDTxidE401(v *MissingApiKey) GetOmniTransactionDetailsByTransactionIDTxidE401 { - return GetOmniTransactionDetailsByTransactionIDTxidE401{ MissingApiKey: v} + return GetOmniTransactionDetailsByTransactionIDTxidE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE401) UnmarshalJSON(data var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE401) UnmarshalJSON(data } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetOmniTransactionDetailsByTransactionIDTxidE401) MarshalJSON() ([]byt // Get the actual instance func (obj *GetOmniTransactionDetailsByTransactionIDTxidE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_omni_transaction_details_by_transaction_id_txid_e403.go b/model_get_omni_transaction_details_by_transaction_id_txid_e403.go index 02d2dcd..be70738 100644 --- a/model_get_omni_transaction_details_by_transaction_id_txid_e403.go +++ b/model_get_omni_transaction_details_by_transaction_id_txid_e403.go @@ -26,22 +26,30 @@ type GetOmniTransactionDetailsByTransactionIDTxidE403 struct { // BannedIpAddressAsGetOmniTransactionDetailsByTransactionIDTxidE403 is a convenience function that returns BannedIpAddress wrapped in GetOmniTransactionDetailsByTransactionIDTxidE403 func BannedIpAddressAsGetOmniTransactionDetailsByTransactionIDTxidE403(v *BannedIpAddress) GetOmniTransactionDetailsByTransactionIDTxidE403 { - return GetOmniTransactionDetailsByTransactionIDTxidE403{ BannedIpAddress: v} + return GetOmniTransactionDetailsByTransactionIDTxidE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetOmniTransactionDetailsByTransactionIDTxidE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetOmniTransactionDetailsByTransactionIDTxidE403 func EndpointNotAllowedForApiKeyAsGetOmniTransactionDetailsByTransactionIDTxidE403(v *EndpointNotAllowedForApiKey) GetOmniTransactionDetailsByTransactionIDTxidE403 { - return GetOmniTransactionDetailsByTransactionIDTxidE403{ EndpointNotAllowedForApiKey: v} + return GetOmniTransactionDetailsByTransactionIDTxidE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetOmniTransactionDetailsByTransactionIDTxidE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetOmniTransactionDetailsByTransactionIDTxidE403 func EndpointNotAllowedForPlanAsGetOmniTransactionDetailsByTransactionIDTxidE403(v *EndpointNotAllowedForPlan) GetOmniTransactionDetailsByTransactionIDTxidE403 { - return GetOmniTransactionDetailsByTransactionIDTxidE403{ EndpointNotAllowedForPlan: v} + return GetOmniTransactionDetailsByTransactionIDTxidE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetOmniTransactionDetailsByTransactionIDTxidE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetOmniTransactionDetailsByTransactionIDTxidE403 func FeatureMainnetsNotAllowedForPlanAsGetOmniTransactionDetailsByTransactionIDTxidE403(v *FeatureMainnetsNotAllowedForPlan) GetOmniTransactionDetailsByTransactionIDTxidE403 { - return GetOmniTransactionDetailsByTransactionIDTxidE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetOmniTransactionDetailsByTransactionIDTxidE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE403) UnmarshalJSON(data var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE403) UnmarshalJSON(data } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE403) UnmarshalJSON(data } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetOmniTransactionDetailsByTransactionIDTxidE403) UnmarshalJSON(data } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetOmniTransactionDetailsByTransactionIDTxidE403) MarshalJSON() ([]byt // Get the actual instance func (obj *GetOmniTransactionDetailsByTransactionIDTxidE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_omni_transaction_details_by_transaction_id_txid_r.go b/model_get_omni_transaction_details_by_transaction_id_txid_r.go index c25ffcd..1013bcf 100644 --- a/model_get_omni_transaction_details_by_transaction_id_txid_r.go +++ b/model_get_omni_transaction_details_by_transaction_id_txid_r.go @@ -59,7 +59,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidR) GetData() GetOmniTransac // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidR) GetDataOk() (*GetOmniTransactionDetailsByTransactionIDTxidRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_omni_transaction_details_by_transaction_id_txid_r_data.go b/model_get_omni_transaction_details_by_transaction_id_txid_r_data.go index c178771..3e4c3f8 100644 --- a/model_get_omni_transaction_details_by_transaction_id_txid_r_data.go +++ b/model_get_omni_transaction_details_by_transaction_id_txid_r_data.go @@ -51,7 +51,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRData) GetItem() GetOmniTra // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRData) GetItemOk() (*GetOmniTransactionDetailsByTransactionIDTxidRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_omni_transaction_details_by_transaction_id_txid_ri.go b/model_get_omni_transaction_details_by_transaction_id_txid_ri.go index 83ea6db..63e7ae5 100644 --- a/model_get_omni_transaction_details_by_transaction_id_txid_ri.go +++ b/model_get_omni_transaction_details_by_transaction_id_txid_ri.go @@ -90,7 +90,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -114,7 +114,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetDivisible() bool { // GetDivisibleOk returns a tuple with the Divisible field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetDivisibleOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Divisible, true @@ -138,7 +138,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetMinedInBlockHash() s // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -162,7 +162,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetMinedInBlockHeight() // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -186,7 +186,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -209,11 +209,11 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetRecipients() []ListO // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetRecipientsOk() (*[]ListOmniTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetRecipientsOk() ([]ListOmniTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -233,11 +233,11 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetSenders() []GetOmniT // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetSendersOk() (*[]GetOmniTransactionDetailsByTransactionIDTxidRISenders, bool) { - if o == nil { +func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetSendersOk() ([]GetOmniTransactionDetailsByTransactionIDTxidRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -258,7 +258,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -282,7 +282,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetTransactionId() stri // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -306,7 +306,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -330,7 +330,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetTypeInt() int32 { // GetTypeIntOk returns a tuple with the TypeInt field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetTypeIntOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TypeInt, true @@ -354,7 +354,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetValid() bool { // GetValidOk returns a tuple with the Valid field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetValidOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Valid, true @@ -378,7 +378,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -402,7 +402,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetFee() ListUnconfirme // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRI) GetFeeOk() (*ListUnconfirmedOmniTransactionsByAddressRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true diff --git a/model_get_omni_transaction_details_by_transaction_id_txid_ri_senders.go b/model_get_omni_transaction_details_by_transaction_id_txid_ri_senders.go index 46b7b81..138fe6f 100644 --- a/model_get_omni_transaction_details_by_transaction_id_txid_ri_senders.go +++ b/model_get_omni_transaction_details_by_transaction_id_txid_ri_senders.go @@ -55,7 +55,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRISenders) GetAddress() str // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetOmniTransactionDetailsByTransactionIDTxidRISenders) GetAmount() stri // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetOmniTransactionDetailsByTransactionIDTxidRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_raw_transaction_data_e400.go b/model_get_raw_transaction_data_e400.go new file mode 100644 index 0000000..34d8a53 --- /dev/null +++ b/model_get_raw_transaction_data_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetRawTransactionDataE400 - struct for GetRawTransactionDataE400 +type GetRawTransactionDataE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsGetRawTransactionDataE400 is a convenience function that returns InvalidPagination wrapped in GetRawTransactionDataE400 +func InvalidPaginationAsGetRawTransactionDataE400(v *InvalidPagination) GetRawTransactionDataE400 { + return GetRawTransactionDataE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsGetRawTransactionDataE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetRawTransactionDataE400 +func LimitGreaterThanAllowedAsGetRawTransactionDataE400(v *LimitGreaterThanAllowed) GetRawTransactionDataE400 { + return GetRawTransactionDataE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsGetRawTransactionDataE400 is a convenience function that returns UriNotFound wrapped in GetRawTransactionDataE400 +func UriNotFoundAsGetRawTransactionDataE400(v *UriNotFound) GetRawTransactionDataE400 { + return GetRawTransactionDataE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetRawTransactionDataE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetRawTransactionDataE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetRawTransactionDataE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetRawTransactionDataE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetRawTransactionDataE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableGetRawTransactionDataE400 struct { + value *GetRawTransactionDataE400 + isSet bool +} + +func (v NullableGetRawTransactionDataE400) Get() *GetRawTransactionDataE400 { + return v.value +} + +func (v *NullableGetRawTransactionDataE400) Set(val *GetRawTransactionDataE400) { + v.value = val + v.isSet = true +} + +func (v NullableGetRawTransactionDataE400) IsSet() bool { + return v.isSet +} + +func (v *NullableGetRawTransactionDataE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetRawTransactionDataE400(val *GetRawTransactionDataE400) *NullableGetRawTransactionDataE400 { + return &NullableGetRawTransactionDataE400{value: val, isSet: true} +} + +func (v NullableGetRawTransactionDataE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetRawTransactionDataE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_raw_transaction_data_e401.go b/model_get_raw_transaction_data_e401.go new file mode 100644 index 0000000..a0a4c9d --- /dev/null +++ b/model_get_raw_transaction_data_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetRawTransactionDataE401 - struct for GetRawTransactionDataE401 +type GetRawTransactionDataE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsGetRawTransactionDataE401 is a convenience function that returns InvalidApiKey wrapped in GetRawTransactionDataE401 +func InvalidApiKeyAsGetRawTransactionDataE401(v *InvalidApiKey) GetRawTransactionDataE401 { + return GetRawTransactionDataE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsGetRawTransactionDataE401 is a convenience function that returns MissingApiKey wrapped in GetRawTransactionDataE401 +func MissingApiKeyAsGetRawTransactionDataE401(v *MissingApiKey) GetRawTransactionDataE401 { + return GetRawTransactionDataE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetRawTransactionDataE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetRawTransactionDataE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetRawTransactionDataE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetRawTransactionDataE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetRawTransactionDataE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableGetRawTransactionDataE401 struct { + value *GetRawTransactionDataE401 + isSet bool +} + +func (v NullableGetRawTransactionDataE401) Get() *GetRawTransactionDataE401 { + return v.value +} + +func (v *NullableGetRawTransactionDataE401) Set(val *GetRawTransactionDataE401) { + v.value = val + v.isSet = true +} + +func (v NullableGetRawTransactionDataE401) IsSet() bool { + return v.isSet +} + +func (v *NullableGetRawTransactionDataE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetRawTransactionDataE401(val *GetRawTransactionDataE401) *NullableGetRawTransactionDataE401 { + return &NullableGetRawTransactionDataE401{value: val, isSet: true} +} + +func (v NullableGetRawTransactionDataE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetRawTransactionDataE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_raw_transaction_data_e403.go b/model_get_raw_transaction_data_e403.go new file mode 100644 index 0000000..bbe0dcd --- /dev/null +++ b/model_get_raw_transaction_data_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// GetRawTransactionDataE403 - struct for GetRawTransactionDataE403 +type GetRawTransactionDataE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsGetRawTransactionDataE403 is a convenience function that returns BannedIpAddress wrapped in GetRawTransactionDataE403 +func BannedIpAddressAsGetRawTransactionDataE403(v *BannedIpAddress) GetRawTransactionDataE403 { + return GetRawTransactionDataE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsGetRawTransactionDataE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetRawTransactionDataE403 +func EndpointNotAllowedForApiKeyAsGetRawTransactionDataE403(v *EndpointNotAllowedForApiKey) GetRawTransactionDataE403 { + return GetRawTransactionDataE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsGetRawTransactionDataE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetRawTransactionDataE403 +func EndpointNotAllowedForPlanAsGetRawTransactionDataE403(v *EndpointNotAllowedForPlan) GetRawTransactionDataE403 { + return GetRawTransactionDataE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsGetRawTransactionDataE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetRawTransactionDataE403 +func FeatureMainnetsNotAllowedForPlanAsGetRawTransactionDataE403(v *FeatureMainnetsNotAllowedForPlan) GetRawTransactionDataE403 { + return GetRawTransactionDataE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *GetRawTransactionDataE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(GetRawTransactionDataE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(GetRawTransactionDataE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetRawTransactionDataE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *GetRawTransactionDataE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableGetRawTransactionDataE403 struct { + value *GetRawTransactionDataE403 + isSet bool +} + +func (v NullableGetRawTransactionDataE403) Get() *GetRawTransactionDataE403 { + return v.value +} + +func (v *NullableGetRawTransactionDataE403) Set(val *GetRawTransactionDataE403) { + v.value = val + v.isSet = true +} + +func (v NullableGetRawTransactionDataE403) IsSet() bool { + return v.isSet +} + +func (v *NullableGetRawTransactionDataE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetRawTransactionDataE403(val *GetRawTransactionDataE403) *NullableGetRawTransactionDataE403 { + return &NullableGetRawTransactionDataE403{value: val, isSet: true} +} + +func (v NullableGetRawTransactionDataE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetRawTransactionDataE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_raw_transaction_data_r.go b/model_get_raw_transaction_data_r.go new file mode 100644 index 0000000..7af974a --- /dev/null +++ b/model_get_raw_transaction_data_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetRawTransactionDataR struct for GetRawTransactionDataR +type GetRawTransactionDataR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data GetRawTransactionDataRData `json:"data"` +} + +// NewGetRawTransactionDataR instantiates a new GetRawTransactionDataR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetRawTransactionDataR(apiVersion string, requestId string, data GetRawTransactionDataRData) *GetRawTransactionDataR { + this := GetRawTransactionDataR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewGetRawTransactionDataRWithDefaults instantiates a new GetRawTransactionDataR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetRawTransactionDataRWithDefaults() *GetRawTransactionDataR { + this := GetRawTransactionDataR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *GetRawTransactionDataR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *GetRawTransactionDataR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *GetRawTransactionDataR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *GetRawTransactionDataR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *GetRawTransactionDataR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *GetRawTransactionDataR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *GetRawTransactionDataR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetRawTransactionDataR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *GetRawTransactionDataR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *GetRawTransactionDataR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *GetRawTransactionDataR) GetData() GetRawTransactionDataRData { + if o == nil { + var ret GetRawTransactionDataRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *GetRawTransactionDataR) GetDataOk() (*GetRawTransactionDataRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *GetRawTransactionDataR) SetData(v GetRawTransactionDataRData) { + o.Data = v +} + +func (o GetRawTransactionDataR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableGetRawTransactionDataR struct { + value *GetRawTransactionDataR + isSet bool +} + +func (v NullableGetRawTransactionDataR) Get() *GetRawTransactionDataR { + return v.value +} + +func (v *NullableGetRawTransactionDataR) Set(val *GetRawTransactionDataR) { + v.value = val + v.isSet = true +} + +func (v NullableGetRawTransactionDataR) IsSet() bool { + return v.isSet +} + +func (v *NullableGetRawTransactionDataR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetRawTransactionDataR(val *GetRawTransactionDataR) *NullableGetRawTransactionDataR { + return &NullableGetRawTransactionDataR{value: val, isSet: true} +} + +func (v NullableGetRawTransactionDataR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetRawTransactionDataR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_raw_transaction_data_r_data.go b/model_get_raw_transaction_data_r_data.go new file mode 100644 index 0000000..f7437ce --- /dev/null +++ b/model_get_raw_transaction_data_r_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetRawTransactionDataRData struct for GetRawTransactionDataRData +type GetRawTransactionDataRData struct { + Item GetRawTransactionDataRI `json:"item"` +} + +// NewGetRawTransactionDataRData instantiates a new GetRawTransactionDataRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetRawTransactionDataRData(item GetRawTransactionDataRI) *GetRawTransactionDataRData { + this := GetRawTransactionDataRData{} + this.Item = item + return &this +} + +// NewGetRawTransactionDataRDataWithDefaults instantiates a new GetRawTransactionDataRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetRawTransactionDataRDataWithDefaults() *GetRawTransactionDataRData { + this := GetRawTransactionDataRData{} + return &this +} + +// GetItem returns the Item field value +func (o *GetRawTransactionDataRData) GetItem() GetRawTransactionDataRI { + if o == nil { + var ret GetRawTransactionDataRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *GetRawTransactionDataRData) GetItemOk() (*GetRawTransactionDataRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *GetRawTransactionDataRData) SetItem(v GetRawTransactionDataRI) { + o.Item = v +} + +func (o GetRawTransactionDataRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableGetRawTransactionDataRData struct { + value *GetRawTransactionDataRData + isSet bool +} + +func (v NullableGetRawTransactionDataRData) Get() *GetRawTransactionDataRData { + return v.value +} + +func (v *NullableGetRawTransactionDataRData) Set(val *GetRawTransactionDataRData) { + v.value = val + v.isSet = true +} + +func (v NullableGetRawTransactionDataRData) IsSet() bool { + return v.isSet +} + +func (v *NullableGetRawTransactionDataRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetRawTransactionDataRData(val *GetRawTransactionDataRData) *NullableGetRawTransactionDataRData { + return &NullableGetRawTransactionDataRData{value: val, isSet: true} +} + +func (v NullableGetRawTransactionDataRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetRawTransactionDataRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_raw_transaction_data_ri.go b/model_get_raw_transaction_data_ri.go new file mode 100644 index 0000000..d87be3f --- /dev/null +++ b/model_get_raw_transaction_data_ri.go @@ -0,0 +1,110 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// GetRawTransactionDataRI struct for GetRawTransactionDataRI +type GetRawTransactionDataRI struct { + // Represents the raw transaction data in hexadecimal format. + TransactionHex string `json:"transactionHex"` +} + +// NewGetRawTransactionDataRI instantiates a new GetRawTransactionDataRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetRawTransactionDataRI(transactionHex string) *GetRawTransactionDataRI { + this := GetRawTransactionDataRI{} + this.TransactionHex = transactionHex + return &this +} + +// NewGetRawTransactionDataRIWithDefaults instantiates a new GetRawTransactionDataRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetRawTransactionDataRIWithDefaults() *GetRawTransactionDataRI { + this := GetRawTransactionDataRI{} + return &this +} + +// GetTransactionHex returns the TransactionHex field value +func (o *GetRawTransactionDataRI) GetTransactionHex() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHex +} + +// GetTransactionHexOk returns a tuple with the TransactionHex field value +// and a boolean to check if the value has been set. +func (o *GetRawTransactionDataRI) GetTransactionHexOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHex, true +} + +// SetTransactionHex sets field value +func (o *GetRawTransactionDataRI) SetTransactionHex(v string) { + o.TransactionHex = v +} + +func (o GetRawTransactionDataRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["transactionHex"] = o.TransactionHex + } + return json.Marshal(toSerialize) +} + +type NullableGetRawTransactionDataRI struct { + value *GetRawTransactionDataRI + isSet bool +} + +func (v NullableGetRawTransactionDataRI) Get() *GetRawTransactionDataRI { + return v.value +} + +func (v *NullableGetRawTransactionDataRI) Set(val *GetRawTransactionDataRI) { + v.value = val + v.isSet = true +} + +func (v NullableGetRawTransactionDataRI) IsSet() bool { + return v.isSet +} + +func (v *NullableGetRawTransactionDataRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetRawTransactionDataRI(val *GetRawTransactionDataRI) *NullableGetRawTransactionDataRI { + return &NullableGetRawTransactionDataRI{value: val, isSet: true} +} + +func (v NullableGetRawTransactionDataRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetRawTransactionDataRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_token_details_by_contract_address_e400.go b/model_get_token_details_by_contract_address_e400.go index c794758..d9706e6 100644 --- a/model_get_token_details_by_contract_address_e400.go +++ b/model_get_token_details_by_contract_address_e400.go @@ -25,17 +25,23 @@ type GetTokenDetailsByContractAddressE400 struct { // InvalidPaginationAsGetTokenDetailsByContractAddressE400 is a convenience function that returns InvalidPagination wrapped in GetTokenDetailsByContractAddressE400 func InvalidPaginationAsGetTokenDetailsByContractAddressE400(v *InvalidPagination) GetTokenDetailsByContractAddressE400 { - return GetTokenDetailsByContractAddressE400{ InvalidPagination: v} + return GetTokenDetailsByContractAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetTokenDetailsByContractAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetTokenDetailsByContractAddressE400 func LimitGreaterThanAllowedAsGetTokenDetailsByContractAddressE400(v *LimitGreaterThanAllowed) GetTokenDetailsByContractAddressE400 { - return GetTokenDetailsByContractAddressE400{ LimitGreaterThanAllowed: v} + return GetTokenDetailsByContractAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetTokenDetailsByContractAddressE400 is a convenience function that returns UriNotFound wrapped in GetTokenDetailsByContractAddressE400 func UriNotFoundAsGetTokenDetailsByContractAddressE400(v *UriNotFound) GetTokenDetailsByContractAddressE400 { - return GetTokenDetailsByContractAddressE400{ UriNotFound: v} + return GetTokenDetailsByContractAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetTokenDetailsByContractAddressE400) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetTokenDetailsByContractAddressE400) UnmarshalJSON(data []byte) erro } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetTokenDetailsByContractAddressE400) UnmarshalJSON(data []byte) erro } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetTokenDetailsByContractAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetTokenDetailsByContractAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_token_details_by_contract_address_e401.go b/model_get_token_details_by_contract_address_e401.go index eb97160..b2b30ca 100644 --- a/model_get_token_details_by_contract_address_e401.go +++ b/model_get_token_details_by_contract_address_e401.go @@ -24,12 +24,16 @@ type GetTokenDetailsByContractAddressE401 struct { // InvalidApiKeyAsGetTokenDetailsByContractAddressE401 is a convenience function that returns InvalidApiKey wrapped in GetTokenDetailsByContractAddressE401 func InvalidApiKeyAsGetTokenDetailsByContractAddressE401(v *InvalidApiKey) GetTokenDetailsByContractAddressE401 { - return GetTokenDetailsByContractAddressE401{ InvalidApiKey: v} + return GetTokenDetailsByContractAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetTokenDetailsByContractAddressE401 is a convenience function that returns MissingApiKey wrapped in GetTokenDetailsByContractAddressE401 func MissingApiKeyAsGetTokenDetailsByContractAddressE401(v *MissingApiKey) GetTokenDetailsByContractAddressE401 { - return GetTokenDetailsByContractAddressE401{ MissingApiKey: v} + return GetTokenDetailsByContractAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetTokenDetailsByContractAddressE401) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetTokenDetailsByContractAddressE401) UnmarshalJSON(data []byte) erro } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetTokenDetailsByContractAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetTokenDetailsByContractAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_token_details_by_contract_address_e403.go b/model_get_token_details_by_contract_address_e403.go index 0a1fb3a..617f717 100644 --- a/model_get_token_details_by_contract_address_e403.go +++ b/model_get_token_details_by_contract_address_e403.go @@ -26,22 +26,30 @@ type GetTokenDetailsByContractAddressE403 struct { // BannedIpAddressAsGetTokenDetailsByContractAddressE403 is a convenience function that returns BannedIpAddress wrapped in GetTokenDetailsByContractAddressE403 func BannedIpAddressAsGetTokenDetailsByContractAddressE403(v *BannedIpAddress) GetTokenDetailsByContractAddressE403 { - return GetTokenDetailsByContractAddressE403{ BannedIpAddress: v} + return GetTokenDetailsByContractAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetTokenDetailsByContractAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetTokenDetailsByContractAddressE403 func EndpointNotAllowedForApiKeyAsGetTokenDetailsByContractAddressE403(v *EndpointNotAllowedForApiKey) GetTokenDetailsByContractAddressE403 { - return GetTokenDetailsByContractAddressE403{ EndpointNotAllowedForApiKey: v} + return GetTokenDetailsByContractAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetTokenDetailsByContractAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetTokenDetailsByContractAddressE403 func EndpointNotAllowedForPlanAsGetTokenDetailsByContractAddressE403(v *EndpointNotAllowedForPlan) GetTokenDetailsByContractAddressE403 { - return GetTokenDetailsByContractAddressE403{ EndpointNotAllowedForPlan: v} + return GetTokenDetailsByContractAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetTokenDetailsByContractAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetTokenDetailsByContractAddressE403 func FeatureMainnetsNotAllowedForPlanAsGetTokenDetailsByContractAddressE403(v *FeatureMainnetsNotAllowedForPlan) GetTokenDetailsByContractAddressE403 { - return GetTokenDetailsByContractAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetTokenDetailsByContractAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetTokenDetailsByContractAddressE403) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetTokenDetailsByContractAddressE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetTokenDetailsByContractAddressE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetTokenDetailsByContractAddressE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetTokenDetailsByContractAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetTokenDetailsByContractAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_token_details_by_contract_address_r.go b/model_get_token_details_by_contract_address_r.go index b51575f..7c9d7dc 100644 --- a/model_get_token_details_by_contract_address_r.go +++ b/model_get_token_details_by_contract_address_r.go @@ -59,7 +59,7 @@ func (o *GetTokenDetailsByContractAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetTokenDetailsByContractAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetTokenDetailsByContractAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetTokenDetailsByContractAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetTokenDetailsByContractAddressR) GetData() GetTokenDetailsByContractA // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetTokenDetailsByContractAddressR) GetDataOk() (*GetTokenDetailsByContractAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_token_details_by_contract_address_r_data.go b/model_get_token_details_by_contract_address_r_data.go index 8e29f71..9f590ba 100644 --- a/model_get_token_details_by_contract_address_r_data.go +++ b/model_get_token_details_by_contract_address_r_data.go @@ -51,7 +51,7 @@ func (o *GetTokenDetailsByContractAddressRData) GetItem() GetTokenDetailsByContr // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetTokenDetailsByContractAddressRData) GetItemOk() (*GetTokenDetailsByContractAddressRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_token_details_by_contract_address_ri.go b/model_get_token_details_by_contract_address_ri.go index e2fc7d6..f6552ea 100644 --- a/model_get_token_details_by_contract_address_ri.go +++ b/model_get_token_details_by_contract_address_ri.go @@ -62,7 +62,7 @@ func (o *GetTokenDetailsByContractAddressRI) GetTokenDecimals() string { // GetTokenDecimalsOk returns a tuple with the TokenDecimals field value // and a boolean to check if the value has been set. func (o *GetTokenDetailsByContractAddressRI) GetTokenDecimalsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenDecimals, true @@ -150,7 +150,7 @@ func (o *GetTokenDetailsByContractAddressRI) GetTokenType() string { // GetTokenTypeOk returns a tuple with the TokenType field value // and a boolean to check if the value has been set. func (o *GetTokenDetailsByContractAddressRI) GetTokenTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenType, true @@ -174,7 +174,7 @@ func (o *GetTokenDetailsByContractAddressRI) GetTotalSupply() string { // GetTotalSupplyOk returns a tuple with the TotalSupply field value // and a boolean to check if the value has been set. func (o *GetTokenDetailsByContractAddressRI) GetTotalSupplyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalSupply, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_e400.go b/model_get_transaction_details_by_transaction_id_from_callback_e400.go index b317400..95ff33b 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_e400.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_e400.go @@ -25,17 +25,23 @@ type GetTransactionDetailsByTransactionIDFromCallbackE400 struct { // InvalidPaginationAsGetTransactionDetailsByTransactionIDFromCallbackE400 is a convenience function that returns InvalidPagination wrapped in GetTransactionDetailsByTransactionIDFromCallbackE400 func InvalidPaginationAsGetTransactionDetailsByTransactionIDFromCallbackE400(v *InvalidPagination) GetTransactionDetailsByTransactionIDFromCallbackE400 { - return GetTransactionDetailsByTransactionIDFromCallbackE400{ InvalidPagination: v} + return GetTransactionDetailsByTransactionIDFromCallbackE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetTransactionDetailsByTransactionIDFromCallbackE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetTransactionDetailsByTransactionIDFromCallbackE400 func LimitGreaterThanAllowedAsGetTransactionDetailsByTransactionIDFromCallbackE400(v *LimitGreaterThanAllowed) GetTransactionDetailsByTransactionIDFromCallbackE400 { - return GetTransactionDetailsByTransactionIDFromCallbackE400{ LimitGreaterThanAllowed: v} + return GetTransactionDetailsByTransactionIDFromCallbackE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetTransactionDetailsByTransactionIDFromCallbackE400 is a convenience function that returns UriNotFound wrapped in GetTransactionDetailsByTransactionIDFromCallbackE400 func UriNotFoundAsGetTransactionDetailsByTransactionIDFromCallbackE400(v *UriNotFound) GetTransactionDetailsByTransactionIDFromCallbackE400 { - return GetTransactionDetailsByTransactionIDFromCallbackE400{ UriNotFound: v} + return GetTransactionDetailsByTransactionIDFromCallbackE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE400) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE400) UnmarshalJSON(d } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE400) UnmarshalJSON(d } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetTransactionDetailsByTransactionIDFromCallbackE400) MarshalJSON() ([ // Get the actual instance func (obj *GetTransactionDetailsByTransactionIDFromCallbackE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_transaction_details_by_transaction_id_from_callback_e401.go b/model_get_transaction_details_by_transaction_id_from_callback_e401.go index 0f57369..b287852 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_e401.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_e401.go @@ -24,12 +24,16 @@ type GetTransactionDetailsByTransactionIDFromCallbackE401 struct { // InvalidApiKeyAsGetTransactionDetailsByTransactionIDFromCallbackE401 is a convenience function that returns InvalidApiKey wrapped in GetTransactionDetailsByTransactionIDFromCallbackE401 func InvalidApiKeyAsGetTransactionDetailsByTransactionIDFromCallbackE401(v *InvalidApiKey) GetTransactionDetailsByTransactionIDFromCallbackE401 { - return GetTransactionDetailsByTransactionIDFromCallbackE401{ InvalidApiKey: v} + return GetTransactionDetailsByTransactionIDFromCallbackE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetTransactionDetailsByTransactionIDFromCallbackE401 is a convenience function that returns MissingApiKey wrapped in GetTransactionDetailsByTransactionIDFromCallbackE401 func MissingApiKeyAsGetTransactionDetailsByTransactionIDFromCallbackE401(v *MissingApiKey) GetTransactionDetailsByTransactionIDFromCallbackE401 { - return GetTransactionDetailsByTransactionIDFromCallbackE401{ MissingApiKey: v} + return GetTransactionDetailsByTransactionIDFromCallbackE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE401) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE401) UnmarshalJSON(d } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetTransactionDetailsByTransactionIDFromCallbackE401) MarshalJSON() ([ // Get the actual instance func (obj *GetTransactionDetailsByTransactionIDFromCallbackE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_transaction_details_by_transaction_id_from_callback_e403.go b/model_get_transaction_details_by_transaction_id_from_callback_e403.go index 5937d4e..483edfa 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_e403.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_e403.go @@ -26,22 +26,30 @@ type GetTransactionDetailsByTransactionIDFromCallbackE403 struct { // BannedIpAddressAsGetTransactionDetailsByTransactionIDFromCallbackE403 is a convenience function that returns BannedIpAddress wrapped in GetTransactionDetailsByTransactionIDFromCallbackE403 func BannedIpAddressAsGetTransactionDetailsByTransactionIDFromCallbackE403(v *BannedIpAddress) GetTransactionDetailsByTransactionIDFromCallbackE403 { - return GetTransactionDetailsByTransactionIDFromCallbackE403{ BannedIpAddress: v} + return GetTransactionDetailsByTransactionIDFromCallbackE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetTransactionDetailsByTransactionIDFromCallbackE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetTransactionDetailsByTransactionIDFromCallbackE403 func EndpointNotAllowedForApiKeyAsGetTransactionDetailsByTransactionIDFromCallbackE403(v *EndpointNotAllowedForApiKey) GetTransactionDetailsByTransactionIDFromCallbackE403 { - return GetTransactionDetailsByTransactionIDFromCallbackE403{ EndpointNotAllowedForApiKey: v} + return GetTransactionDetailsByTransactionIDFromCallbackE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetTransactionDetailsByTransactionIDFromCallbackE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetTransactionDetailsByTransactionIDFromCallbackE403 func EndpointNotAllowedForPlanAsGetTransactionDetailsByTransactionIDFromCallbackE403(v *EndpointNotAllowedForPlan) GetTransactionDetailsByTransactionIDFromCallbackE403 { - return GetTransactionDetailsByTransactionIDFromCallbackE403{ EndpointNotAllowedForPlan: v} + return GetTransactionDetailsByTransactionIDFromCallbackE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetTransactionDetailsByTransactionIDFromCallbackE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetTransactionDetailsByTransactionIDFromCallbackE403 func FeatureMainnetsNotAllowedForPlanAsGetTransactionDetailsByTransactionIDFromCallbackE403(v *FeatureMainnetsNotAllowedForPlan) GetTransactionDetailsByTransactionIDFromCallbackE403 { - return GetTransactionDetailsByTransactionIDFromCallbackE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetTransactionDetailsByTransactionIDFromCallbackE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE403) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE403) UnmarshalJSON(d } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE403) UnmarshalJSON(d } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackE403) UnmarshalJSON(d } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetTransactionDetailsByTransactionIDFromCallbackE403) MarshalJSON() ([ // Get the actual instance func (obj *GetTransactionDetailsByTransactionIDFromCallbackE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_transaction_details_by_transaction_id_from_callback_r.go b/model_get_transaction_details_by_transaction_id_from_callback_r.go index 62a13dd..27953b3 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_r.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_r.go @@ -59,7 +59,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackR) GetApiVersion() stri // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackR) GetRequestId() strin // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackR) GetData() GetTransac // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackR) GetDataOk() (*GetTransactionDetailsByTransactionIDFromCallbackRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_r_data.go b/model_get_transaction_details_by_transaction_id_from_callback_r_data.go index 9bb0fd8..52d59e3 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_r_data.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_r_data.go @@ -51,7 +51,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRData) GetItem() GetTra // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRData) GetItemOk() (*GetTransactionDetailsByTransactionIDFromCallbackRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ri.go b/model_get_transaction_details_by_transaction_id_from_callback_ri.go index fdc0fce..f282e82 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ri.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ri.go @@ -76,7 +76,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -100,7 +100,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetMinedInBlockHash // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -124,7 +124,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetMinedInBlockHeig // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -147,11 +147,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetRecipients() []G // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetRecipientsOk() (*[]GetTransactionDetailsByTransactionIDFromCallbackRIRecipients, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetRecipientsOk() ([]GetTransactionDetailsByTransactionIDFromCallbackRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -171,11 +171,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetSenders() []GetT // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetSendersOk() (*[]GetTransactionDetailsByTransactionIDFromCallbackRISenders, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetSendersOk() ([]GetTransactionDetailsByTransactionIDFromCallbackRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -196,7 +196,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetTimestamp() int3 // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -220,7 +220,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetTransactionHash( // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -244,7 +244,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetFee() GetTransac // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetFeeOk() (*GetTransactionDetailsByTransactionIDFromCallbackRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -268,7 +268,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetIsConfirmed() bo // GetIsConfirmedOk returns a tuple with the IsConfirmed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetIsConfirmedOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsConfirmed, true @@ -292,7 +292,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetBlockchainSpecif // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRI) GetBlockchainSpecificOk() (*GetTransactionDetailsByTransactionIDFromCallbackRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ri_fee.go b/model_get_transaction_details_by_transaction_id_from_callback_ri_fee.go index 91bec95..0005463 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ri_fee.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ri_fee.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIFee) GetAmount() stri // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIFee) GetUnit() string // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ri_recipients.go b/model_get_transaction_details_by_transaction_id_from_callback_ri_recipients.go index 9910665..399bdfa 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ri_recipients.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ri_recipients.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIRecipients) GetAddres // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIRecipients) GetAmount // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ri_senders.go b/model_get_transaction_details_by_transaction_id_from_callback_ri_senders.go index ba0d789..02947c8 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ri_senders.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ri_senders.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRISenders) GetAddress() // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRISenders) GetAmount() // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribs.go b/model_get_transaction_details_by_transaction_id_from_callback_ribs.go index ff9f3eb..3705bfb 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribs.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribs.go @@ -33,57 +33,79 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBS struct { // GetTransactionDetailsByTransactionIDFromCallbackRIBSBAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSB wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSBAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSB: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSB: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSBCAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSBC wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSBCAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSBC: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSBC: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSBSCAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSBSCAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSDAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSD wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSDAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSD: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSD: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSD2AsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSD2 wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSD2AsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSD2: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSD2: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSEAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSE wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSEAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSE: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSE: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSECAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSEC wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSECAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSEC: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSEC: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSLAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSL wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSLAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSL: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSL: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSXAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSX wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSXAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSX: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSX: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSZAsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSZ wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSZAsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSZ: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSZ: v, + } } // GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2AsGetTransactionDetailsByTransactionIDFromCallbackRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2 wrapped in GetTransactionDetailsByTransactionIDFromCallbackRIBS func GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2AsGetTransactionDetailsByTransactionIDFromCallbackRIBS(v *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetTransactionDetailsByTransactionIDFromCallbackRIBS { - return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2: v} + return GetTransactionDetailsByTransactionIDFromCallbackRIBS{ + GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2: v, + } } @@ -92,7 +114,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSB - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSB) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSB) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSB, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSB) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSB) == "{}" { // empty struct @@ -105,7 +127,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSBC - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSBC, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSBC) == "{}" { // empty struct @@ -118,7 +140,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSBSC, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) == "{}" { // empty struct @@ -131,7 +153,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSD - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSD) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSD) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSD, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSD) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSD) == "{}" { // empty struct @@ -144,7 +166,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSD2 - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSD2, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSD2) == "{}" { // empty struct @@ -157,7 +179,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSE - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSE) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSE) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSE, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSE) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSE) == "{}" { // empty struct @@ -170,7 +192,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSEC - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSEC, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSEC) == "{}" { // empty struct @@ -183,7 +205,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSL - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSL) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSL) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSL, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSL) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSL) == "{}" { // empty struct @@ -196,7 +218,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSX - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSX) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSX) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSX, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSX) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSX) == "{}" { // empty struct @@ -209,7 +231,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSZ - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSZ, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSZ) == "{}" { // empty struct @@ -222,7 +244,7 @@ func (dst *GetTransactionDetailsByTransactionIDFromCallbackRIBS) UnmarshalJSON(d } // try to unmarshal data into GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2 - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) if err == nil { jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) if string(jsonGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) == "{}" { // empty struct @@ -307,6 +329,9 @@ func (src GetTransactionDetailsByTransactionIDFromCallbackRIBS) MarshalJSON() ([ // Get the actual instance func (obj *GetTransactionDetailsByTransactionIDFromCallbackRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetTransactionDetailsByTransactionIDFromCallbackRIBSB != nil { return obj.GetTransactionDetailsByTransactionIDFromCallbackRIBSB } diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsb.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsb.go index 9e9d16e..5a0053a 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsb.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsb.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDFromCallbackRIBSB Bitcoin type GetTransactionDetailsByTransactionIDFromCallbackRIBSB struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSB struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSB(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin, vout []GetTransactionDetailsByTransactionIDRIBSBVout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSB { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSB(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin, vout []GetTransactionDetailsByTransactionIDRIBSBVout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSB { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSB{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBWithDefaults() *Get } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktime() in // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetSize() int32 // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVSize() int32 // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVersion() int // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVin() []GetTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVinOk() (*[]GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVinOk() ([]GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVout() []GetT // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSBVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSB) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSBVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsb_script_sig.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsb_script_sig.go index add0b4c..71c53d3 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsb_script_sig.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsb_script_sig.go @@ -58,7 +58,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig) GetAsm( // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig) GetHex( // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig) GetType // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsb_vin.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsb_vin.go index a33257b..c93eee5 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsb_vin.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsb_vin.go @@ -22,7 +22,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig, sequence int32, txinwitness []string) *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig, sequence int64, txinwitness []string) *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetAddresses( // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -122,7 +122,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetScriptSig( // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDFromCallbackRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -134,9 +134,9 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) SetScriptSig( } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -145,15 +145,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequence() // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) SetSequence(v int64) { o.Sequence = v } @@ -201,11 +201,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetTxinwitnes // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsbc.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsbc.go index 8578f7e..2a511b8 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsbc.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsbc.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDFromCallbackRIBSBC Bitcoin Cash type GetTransactionDetailsByTransactionIDFromCallbackRIBSBC struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSBC struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBC(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBCVin, vout []GetTransactionDetailsByTransactionIDRIBSBCVout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBC(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBCVin, vout []GetTransactionDetailsByTransactionIDRIBSBCVout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSBC{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSBCWithDefaults() *Ge } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktime() i // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetSize() int32 // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetVersion() in // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetVin() []GetT // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSBCVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSBCVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetVout() []Get // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSBCVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBC) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSBCVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsbsc.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsbsc.go index 4e12ccb..e936f4e 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsbsc.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsbsc.go @@ -66,7 +66,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetContract() // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -90,7 +90,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetGasLimit() // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -114,7 +114,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetGasPrice() // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSBSCGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -138,7 +138,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetGasUsed() s // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -162,7 +162,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetInputData() // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -186,7 +186,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetNonce() int // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSBSC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsd.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsd.go index 45c9aeb..264a73b 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsd.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsd.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDFromCallbackRIBSD Dash type GetTransactionDetailsByTransactionIDFromCallbackRIBSD struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSD struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSD{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSDWithDefaults() *Get } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktime() in // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetSize() int32 // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetVersion() int // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetVin() []GetTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetVinOk() (*[]GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetVinOk() ([]GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetVout() []GetT // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSD2Vout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSD2Vout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsd2.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsd2.go index 5f7f7c6..633bd33 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsd2.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsd2.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDFromCallbackRIBSD2 Dogecoin type GetTransactionDetailsByTransactionIDFromCallbackRIBSD2 struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSD2 struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2 { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2 { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSD2{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2WithDefaults() *Ge } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktime() i // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetSize() int32 // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetVersion() in // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetVin() []GetT // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetVinOk() (*[]GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetVinOk() ([]GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetVout() []Get // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2) GetVoutOk() ([]GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsd2_vin.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsd2_vin.go index 423366f..7cc99f9 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsd2_vin.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsd2_vin.go @@ -22,7 +22,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int32, txinwitness []string, value string) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int64, txinwitness []string, value string) *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -66,11 +66,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetAddresses // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -123,7 +123,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetScriptSig // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -135,9 +135,9 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) SetScriptSig } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -146,15 +146,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequence( // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) SetSequence(v int64) { o.Sequence = v } @@ -202,11 +202,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetTxinwitne // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -227,7 +227,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetValue() s // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsd2_vout.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsd2_vout.go index fcad81c..cb0a292 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsd2_vout.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsd2_vout.go @@ -57,7 +57,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout) GetIsSpent( // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout) GetScriptPu // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSDScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout) GetValue() // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSD2Vout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsd_vin.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsd_vin.go index 8a433a6..86b4d74 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsd_vin.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsd_vin.go @@ -22,7 +22,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // String representation of the txid Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSDVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int32, txinwitness []string) *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSDVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int64, txinwitness []string) *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetAddresses( // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -122,7 +122,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetScriptSig( // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -134,9 +134,9 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) SetScriptSig( } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -145,15 +145,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequence() // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) SetSequence(v int64) { o.Sequence = v } @@ -201,11 +201,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetTxinwitnes // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSDVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribse.go b/model_get_transaction_details_by_transaction_id_from_callback_ribse.go index 1efddea..432c39c 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribse.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribse.go @@ -69,7 +69,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetContract() st // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -93,7 +93,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetGasLimit() st // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -117,7 +117,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetGasPrice() Ge // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -141,7 +141,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetGasUsed() str // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -165,7 +165,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetInputData() s // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -189,7 +189,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetNonce() int32 // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -213,7 +213,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetTransactionSt // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSE) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsec.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsec.go index 471ac7f..4f6a6c9 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsec.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsec.go @@ -66,7 +66,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetContract() s // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -90,7 +90,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetGasLimit() s // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -114,7 +114,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetGasPrice() G // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSECGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -138,7 +138,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetGasUsed() st // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -162,7 +162,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetInputData() // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -186,7 +186,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetNonce() int3 // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSEC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsl.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsl.go index 3171b6b..e4f7dd7 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsl.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsl.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDFromCallbackRIBSL Litecoin type GetTransactionDetailsByTransactionIDFromCallbackRIBSL struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSL struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSL(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSL { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSL(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSL { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSL{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSLWithDefaults() *Get } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktime() in // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetSize() int32 // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVSize() int32 // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVersion() int // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVin() []GetTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSLVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSLVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVout() []GetT // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSL) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsx.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsx.go index d202b45..af3dfd3 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsx.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsx.go @@ -20,11 +20,11 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSX struct { // Represents additional data that may be needed. AdditionalData string `json:"additionalData"` // Defines the destination tag value. - DestinationTag *int32 `json:"destinationTag,omitempty"` + DestinationTag *int64 `json:"destinationTag,omitempty"` Offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer `json:"offer"` Receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive `json:"receive"` // Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Defines the status of the transaction. Status string `json:"status"` // Defines the type of the transaction. @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSX struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSX(additionalData string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, sequence int32, status string, type_ string, value GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue) *GetTransactionDetailsByTransactionIDFromCallbackRIBSX { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSX(additionalData string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, sequence int64, status string, type_ string, value GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue) *GetTransactionDetailsByTransactionIDFromCallbackRIBSX { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSX{} this.AdditionalData = additionalData this.Offer = offer @@ -69,7 +69,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetAdditionalDat // GetAdditionalDataOk returns a tuple with the AdditionalData field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetAdditionalDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AdditionalData, true @@ -81,9 +81,9 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetAdditionalDat } // GetDestinationTag returns the DestinationTag field value if set, zero value otherwise. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTag() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTag() int64 { if o == nil || o.DestinationTag == nil { - var ret int32 + var ret int64 return ret } return *o.DestinationTag @@ -91,7 +91,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTa // GetDestinationTagOk returns a tuple with the DestinationTag field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTagOk() (*int32, bool) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetDestinationTagOk() (*int64, bool) { if o == nil || o.DestinationTag == nil { return nil, false } @@ -107,8 +107,8 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) HasDestinationTa return false } -// SetDestinationTag gets a reference to the given int32 and assigns it to the DestinationTag field. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetDestinationTag(v int32) { +// SetDestinationTag gets a reference to the given int64 and assigns it to the DestinationTag field. +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetDestinationTag(v int64) { o.DestinationTag = &v } @@ -125,7 +125,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetOffer() GetXR // GetOfferOk returns a tuple with the Offer field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetOfferOk() (*GetXRPRippleTransactionDetailsByTransactionIDRIOffer, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Offer, true @@ -149,7 +149,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetReceive() Get // GetReceiveOk returns a tuple with the Receive field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetReceiveOk() (*GetXRPRippleTransactionDetailsByTransactionIDRIReceive, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Receive, true @@ -161,9 +161,9 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetReceive(v Get } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -172,15 +172,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequence() in // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) SetSequence(v int64) { o.Sequence = v } @@ -197,7 +197,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetStatus() stri // GetStatusOk returns a tuple with the Status field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Status, true @@ -221,7 +221,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetType() string // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -245,7 +245,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetValue() GetTr // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSX) GetValueOk() (*GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsx_value.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsx_value.go index 10b7931..e41ada7 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsx_value.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsx_value.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue) GetAmount() // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue) GetUnit() s // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSXValue) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsz.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsz.go index ced0ac0..a5d69ea 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsz.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsz.go @@ -26,7 +26,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSZ struct { // Is used to sign transactions that contain at least one JoinSplit description. JoinSplitSig string `json:"joinSplitSig"` // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // \"Overwinter\" is the network upgrade for the Zcash blockchain. Overwintered bool `json:"overwintered"` // Represents the total size of this transaction. @@ -53,7 +53,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSZ struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSZ{} this.BindingSig = bindingSig this.ExpiryHeight = expiryHeight @@ -94,7 +94,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetBindingSig() // GetBindingSigOk returns a tuple with the BindingSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetBindingSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BindingSig, true @@ -118,7 +118,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetExpiryHeight( // GetExpiryHeightOk returns a tuple with the ExpiryHeight field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetExpiryHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExpiryHeight, true @@ -142,7 +142,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetJoinSplitPubK // GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitPubKey, true @@ -166,7 +166,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetJoinSplitSig( // GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetJoinSplitSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitSig, true @@ -178,9 +178,9 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) SetJoinSplitSig( } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -189,15 +189,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktime() in // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) SetLocktime(v int64) { o.Locktime = v } @@ -214,7 +214,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetOverwintered( // GetOverwinteredOk returns a tuple with the Overwintered field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetOverwinteredOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Overwintered, true @@ -238,7 +238,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetSize() int32 // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -261,11 +261,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVJoinSplit() // GetVJoinSplitOk returns a tuple with the VJoinSplit field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVJoinSplitOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVJoinSplitOk() ([]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, bool) { + if o == nil { return nil, false } - return &o.VJoinSplit, true + return o.VJoinSplit, true } // SetVJoinSplit sets field value @@ -285,11 +285,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVShieldedOutp // GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVShieldedOutputOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { + if o == nil { return nil, false } - return &o.VShieldedOutput, true + return o.VShieldedOutput, true } // SetVShieldedOutput sets field value @@ -309,11 +309,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVShieldedSpen // GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { + if o == nil { return nil, false } - return &o.VShieldedSpend, true + return o.VShieldedSpend, true } // SetVShieldedSpend sets field value @@ -334,7 +334,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetValueBalance( // GetValueBalanceOk returns a tuple with the ValueBalance field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetValueBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ValueBalance, true @@ -358,7 +358,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVersion() int // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -382,7 +382,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVersionGroupI // GetVersionGroupIdOk returns a tuple with the VersionGroupId field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVersionGroupIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionGroupId, true @@ -405,11 +405,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVin() []GetTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSZVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -429,11 +429,11 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVout() []GetT // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsz2.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsz2.go index 7784ae1..bce8fd7 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsz2.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsz2.go @@ -63,7 +63,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetGasLimit() i // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -87,7 +87,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetGasPrice() G // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -111,7 +111,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetGasUsed() in // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -135,7 +135,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetNonce() int3 // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -159,7 +159,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetTransactionS // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_get_transaction_details_by_transaction_id_from_callback_ribsz2_gas_price.go b/model_get_transaction_details_by_transaction_id_from_callback_ribsz2_gas_price.go index 2ed97e5..3479794 100644 --- a/model_get_transaction_details_by_transaction_id_from_callback_ribsz2_gas_price.go +++ b/model_get_transaction_details_by_transaction_id_from_callback_ribsz2_gas_price.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice struct for GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice type GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice struct { // Defines the price of the gas. - Amount int32 `json:"amount"` + Amount int64 `json:"amount"` // Defines the unit of the gas price amount, e.g. BTC, ETH, XRP. Unit string `json:"unit"` } @@ -27,7 +27,7 @@ type GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice(amount int32, unit string) *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice { +func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice(amount int64, unit string) *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice { this := GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice{} this.Amount = amount this.Unit = unit @@ -43,9 +43,9 @@ func NewGetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPriceWithDefaul } // GetAmount returns the Amount field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmount() int32 { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmount() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -54,15 +54,15 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmou // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmountOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetAmountOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Amount, true } // SetAmount sets field value -func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) SetAmount(v int32) { +func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) SetAmount(v int64) { o.Amount = v } @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetUnit // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDFromCallbackRIBSZ2GasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_transaction_details_by_transaction_ide400.go b/model_get_transaction_details_by_transaction_ide400.go index 4fad6e7..4ca97b6 100644 --- a/model_get_transaction_details_by_transaction_ide400.go +++ b/model_get_transaction_details_by_transaction_ide400.go @@ -25,17 +25,23 @@ type GetTransactionDetailsByTransactionIDE400 struct { // InvalidPaginationAsGetTransactionDetailsByTransactionIDE400 is a convenience function that returns InvalidPagination wrapped in GetTransactionDetailsByTransactionIDE400 func InvalidPaginationAsGetTransactionDetailsByTransactionIDE400(v *InvalidPagination) GetTransactionDetailsByTransactionIDE400 { - return GetTransactionDetailsByTransactionIDE400{ InvalidPagination: v} + return GetTransactionDetailsByTransactionIDE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetTransactionDetailsByTransactionIDE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetTransactionDetailsByTransactionIDE400 func LimitGreaterThanAllowedAsGetTransactionDetailsByTransactionIDE400(v *LimitGreaterThanAllowed) GetTransactionDetailsByTransactionIDE400 { - return GetTransactionDetailsByTransactionIDE400{ LimitGreaterThanAllowed: v} + return GetTransactionDetailsByTransactionIDE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetTransactionDetailsByTransactionIDE400 is a convenience function that returns UriNotFound wrapped in GetTransactionDetailsByTransactionIDE400 func UriNotFoundAsGetTransactionDetailsByTransactionIDE400(v *UriNotFound) GetTransactionDetailsByTransactionIDE400 { - return GetTransactionDetailsByTransactionIDE400{ UriNotFound: v} + return GetTransactionDetailsByTransactionIDE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetTransactionDetailsByTransactionIDE400) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetTransactionDetailsByTransactionIDE400) UnmarshalJSON(data []byte) } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetTransactionDetailsByTransactionIDE400) UnmarshalJSON(data []byte) } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetTransactionDetailsByTransactionIDE400) MarshalJSON() ([]byte, error // Get the actual instance func (obj *GetTransactionDetailsByTransactionIDE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_transaction_details_by_transaction_ide401.go b/model_get_transaction_details_by_transaction_ide401.go index 621eb5a..7a3d42b 100644 --- a/model_get_transaction_details_by_transaction_ide401.go +++ b/model_get_transaction_details_by_transaction_ide401.go @@ -24,12 +24,16 @@ type GetTransactionDetailsByTransactionIDE401 struct { // InvalidApiKeyAsGetTransactionDetailsByTransactionIDE401 is a convenience function that returns InvalidApiKey wrapped in GetTransactionDetailsByTransactionIDE401 func InvalidApiKeyAsGetTransactionDetailsByTransactionIDE401(v *InvalidApiKey) GetTransactionDetailsByTransactionIDE401 { - return GetTransactionDetailsByTransactionIDE401{ InvalidApiKey: v} + return GetTransactionDetailsByTransactionIDE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetTransactionDetailsByTransactionIDE401 is a convenience function that returns MissingApiKey wrapped in GetTransactionDetailsByTransactionIDE401 func MissingApiKeyAsGetTransactionDetailsByTransactionIDE401(v *MissingApiKey) GetTransactionDetailsByTransactionIDE401 { - return GetTransactionDetailsByTransactionIDE401{ MissingApiKey: v} + return GetTransactionDetailsByTransactionIDE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetTransactionDetailsByTransactionIDE401) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetTransactionDetailsByTransactionIDE401) UnmarshalJSON(data []byte) } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetTransactionDetailsByTransactionIDE401) MarshalJSON() ([]byte, error // Get the actual instance func (obj *GetTransactionDetailsByTransactionIDE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_transaction_details_by_transaction_ide403.go b/model_get_transaction_details_by_transaction_ide403.go index 2646540..ff0a81e 100644 --- a/model_get_transaction_details_by_transaction_ide403.go +++ b/model_get_transaction_details_by_transaction_ide403.go @@ -26,22 +26,30 @@ type GetTransactionDetailsByTransactionIDE403 struct { // BannedIpAddressAsGetTransactionDetailsByTransactionIDE403 is a convenience function that returns BannedIpAddress wrapped in GetTransactionDetailsByTransactionIDE403 func BannedIpAddressAsGetTransactionDetailsByTransactionIDE403(v *BannedIpAddress) GetTransactionDetailsByTransactionIDE403 { - return GetTransactionDetailsByTransactionIDE403{ BannedIpAddress: v} + return GetTransactionDetailsByTransactionIDE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetTransactionDetailsByTransactionIDE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetTransactionDetailsByTransactionIDE403 func EndpointNotAllowedForApiKeyAsGetTransactionDetailsByTransactionIDE403(v *EndpointNotAllowedForApiKey) GetTransactionDetailsByTransactionIDE403 { - return GetTransactionDetailsByTransactionIDE403{ EndpointNotAllowedForApiKey: v} + return GetTransactionDetailsByTransactionIDE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetTransactionDetailsByTransactionIDE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetTransactionDetailsByTransactionIDE403 func EndpointNotAllowedForPlanAsGetTransactionDetailsByTransactionIDE403(v *EndpointNotAllowedForPlan) GetTransactionDetailsByTransactionIDE403 { - return GetTransactionDetailsByTransactionIDE403{ EndpointNotAllowedForPlan: v} + return GetTransactionDetailsByTransactionIDE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetTransactionDetailsByTransactionIDE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetTransactionDetailsByTransactionIDE403 func FeatureMainnetsNotAllowedForPlanAsGetTransactionDetailsByTransactionIDE403(v *FeatureMainnetsNotAllowedForPlan) GetTransactionDetailsByTransactionIDE403 { - return GetTransactionDetailsByTransactionIDE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetTransactionDetailsByTransactionIDE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetTransactionDetailsByTransactionIDE403) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetTransactionDetailsByTransactionIDE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetTransactionDetailsByTransactionIDE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetTransactionDetailsByTransactionIDE403) UnmarshalJSON(data []byte) } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetTransactionDetailsByTransactionIDE403) MarshalJSON() ([]byte, error // Get the actual instance func (obj *GetTransactionDetailsByTransactionIDE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_transaction_details_by_transaction_idr.go b/model_get_transaction_details_by_transaction_idr.go index e9f7df9..1f27365 100644 --- a/model_get_transaction_details_by_transaction_idr.go +++ b/model_get_transaction_details_by_transaction_idr.go @@ -59,7 +59,7 @@ func (o *GetTransactionDetailsByTransactionIDR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetTransactionDetailsByTransactionIDR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDR) GetData() GetTransactionDetailsB // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDR) GetDataOk() (*GetTransactionDetailsByTransactionIDRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_transaction_details_by_transaction_idr_data.go b/model_get_transaction_details_by_transaction_idr_data.go index c1ef123..306fc1b 100644 --- a/model_get_transaction_details_by_transaction_idr_data.go +++ b/model_get_transaction_details_by_transaction_idr_data.go @@ -51,7 +51,7 @@ func (o *GetTransactionDetailsByTransactionIDRData) GetItem() GetTransactionDeta // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRData) GetItemOk() (*GetTransactionDetailsByTransactionIDRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_transaction_details_by_transaction_idri.go b/model_get_transaction_details_by_transaction_idri.go index 2887707..025e393 100644 --- a/model_get_transaction_details_by_transaction_idri.go +++ b/model_get_transaction_details_by_transaction_idri.go @@ -78,7 +78,7 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -102,7 +102,7 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetIsConfirmed() bool { // GetIsConfirmedOk returns a tuple with the IsConfirmed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRI) GetIsConfirmedOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsConfirmed, true @@ -189,11 +189,11 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetRecipients() []GetTransactio // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRI) GetRecipientsOk() (*[]GetTransactionDetailsByTransactionIDRIRecipients, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRI) GetRecipientsOk() ([]GetTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -213,11 +213,11 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetSenders() []GetTransactionDe // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRI) GetSendersOk() (*[]GetTransactionDetailsByTransactionIDRISenders, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRI) GetSendersOk() ([]GetTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -238,7 +238,7 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -262,7 +262,7 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -286,7 +286,7 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -310,7 +310,7 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetFee() GetTransactionDetailsB // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRI) GetFeeOk() (*GetTransactionDetailsByTransactionIDRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -334,7 +334,7 @@ func (o *GetTransactionDetailsByTransactionIDRI) GetBlockchainSpecific() GetTran // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRI) GetBlockchainSpecificOk() (*GetTransactionDetailsByTransactionIDRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_get_transaction_details_by_transaction_idri_fee.go b/model_get_transaction_details_by_transaction_idri_fee.go index e9db1df..f861d2d 100644 --- a/model_get_transaction_details_by_transaction_idri_fee.go +++ b/model_get_transaction_details_by_transaction_idri_fee.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_transaction_details_by_transaction_idri_recipients.go b/model_get_transaction_details_by_transaction_idri_recipients.go index 8d918d0..982fc89 100644 --- a/model_get_transaction_details_by_transaction_idri_recipients.go +++ b/model_get_transaction_details_by_transaction_idri_recipients.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_transaction_details_by_transaction_idri_senders.go b/model_get_transaction_details_by_transaction_idri_senders.go index 80e2218..1bfe85a 100644 --- a/model_get_transaction_details_by_transaction_idri_senders.go +++ b/model_get_transaction_details_by_transaction_idri_senders.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_transaction_details_by_transaction_idribs.go b/model_get_transaction_details_by_transaction_idribs.go index e4af705..cde06ca 100644 --- a/model_get_transaction_details_by_transaction_idribs.go +++ b/model_get_transaction_details_by_transaction_idribs.go @@ -31,47 +31,65 @@ type GetTransactionDetailsByTransactionIDRIBS struct { // GetTransactionDetailsByTransactionIDRIBSBAsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSB wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSBAsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSB) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSB: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSB: v, + } } // GetTransactionDetailsByTransactionIDRIBSBCAsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSBC wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSBCAsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSBC) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSBC: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSBC: v, + } } // GetTransactionDetailsByTransactionIDRIBSBSCAsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSBSC wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSBSCAsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSBSC) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSBSC: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSBSC: v, + } } // GetTransactionDetailsByTransactionIDRIBSDAsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSD wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSDAsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSD) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSD: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSD: v, + } } // GetTransactionDetailsByTransactionIDRIBSD2AsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSD2 wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSD2AsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSD2) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSD2: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSD2: v, + } } // GetTransactionDetailsByTransactionIDRIBSEAsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSE wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSEAsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSE) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSE: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSE: v, + } } // GetTransactionDetailsByTransactionIDRIBSECAsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSEC wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSECAsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSEC) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSEC: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSEC: v, + } } // GetTransactionDetailsByTransactionIDRIBSLAsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSL wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSLAsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSL) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSL: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSL: v, + } } // GetTransactionDetailsByTransactionIDRIBSZAsGetTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetTransactionDetailsByTransactionIDRIBSZ wrapped in GetTransactionDetailsByTransactionIDRIBS func GetTransactionDetailsByTransactionIDRIBSZAsGetTransactionDetailsByTransactionIDRIBS(v *GetTransactionDetailsByTransactionIDRIBSZ) GetTransactionDetailsByTransactionIDRIBS { - return GetTransactionDetailsByTransactionIDRIBS{ GetTransactionDetailsByTransactionIDRIBSZ: v} + return GetTransactionDetailsByTransactionIDRIBS{ + GetTransactionDetailsByTransactionIDRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSB - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSB) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSB) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSB, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSB) if string(jsonGetTransactionDetailsByTransactionIDRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSBC - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSBC) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSBC) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSBC, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSBC) if string(jsonGetTransactionDetailsByTransactionIDRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSBSC - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSBSC) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSBSC, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSBSC) if string(jsonGetTransactionDetailsByTransactionIDRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSD - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSD) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSD) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSD, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSD) if string(jsonGetTransactionDetailsByTransactionIDRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSD2 - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSD2) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSD2) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSD2, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSD2) if string(jsonGetTransactionDetailsByTransactionIDRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSE - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSE) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSE) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSE, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSE) if string(jsonGetTransactionDetailsByTransactionIDRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSEC - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSEC) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSEC) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSEC, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSEC) if string(jsonGetTransactionDetailsByTransactionIDRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSL - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSL) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSL) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSL, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSL) if string(jsonGetTransactionDetailsByTransactionIDRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *GetTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into GetTransactionDetailsByTransactionIDRIBSZ - err = json.Unmarshal(data, &dst.GetTransactionDetailsByTransactionIDRIBSZ) + err = newStrictDecoder(data).Decode(&dst.GetTransactionDetailsByTransactionIDRIBSZ) if err == nil { jsonGetTransactionDetailsByTransactionIDRIBSZ, _ := json.Marshal(dst.GetTransactionDetailsByTransactionIDRIBSZ) if string(jsonGetTransactionDetailsByTransactionIDRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src GetTransactionDetailsByTransactionIDRIBS) MarshalJSON() ([]byte, error // Get the actual instance func (obj *GetTransactionDetailsByTransactionIDRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetTransactionDetailsByTransactionIDRIBSB != nil { return obj.GetTransactionDetailsByTransactionIDRIBSB } diff --git a/model_get_transaction_details_by_transaction_idribsb.go b/model_get_transaction_details_by_transaction_idribsb.go index 0c5223e..4307574 100644 --- a/model_get_transaction_details_by_transaction_idribsb.go +++ b/model_get_transaction_details_by_transaction_idribsb.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDRIBSB Bitcoin type GetTransactionDetailsByTransactionIDRIBSB struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type GetTransactionDetailsByTransactionIDRIBSB struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSB(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBVin, vout []GetTransactionDetailsByTransactionIDRIBSBVout) *GetTransactionDetailsByTransactionIDRIBSB { +func NewGetTransactionDetailsByTransactionIDRIBSB(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBVin, vout []GetTransactionDetailsByTransactionIDRIBSBVout) *GetTransactionDetailsByTransactionIDRIBSB { this := GetTransactionDetailsByTransactionIDRIBSB{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewGetTransactionDetailsByTransactionIDRIBSBWithDefaults() *GetTransactionD } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSB) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSB) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVin() []GetTransactionDet // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSBVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSBVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVout() []GetTransactionDe // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSBVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSB) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSBVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_idribsb_script_pub_key.go b/model_get_transaction_details_by_transaction_idribsb_script_pub_key.go index 7095a81..48f0675 100644 --- a/model_get_transaction_details_by_transaction_idribsb_script_pub_key.go +++ b/model_get_transaction_details_by_transaction_idribsb_script_pub_key.go @@ -62,11 +62,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAddresses() [ // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAsm() string // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetHex() string // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetReqSigs() int // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetType() string // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsb_script_sig.go b/model_get_transaction_details_by_transaction_idribsb_script_sig.go index edfbfff..c5b2b17 100644 --- a/model_get_transaction_details_by_transaction_idribsb_script_sig.go +++ b/model_get_transaction_details_by_transaction_idribsb_script_sig.go @@ -58,7 +58,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsb_vin.go b/model_get_transaction_details_by_transaction_idribsb_vin.go index 7605105..1846130 100644 --- a/model_get_transaction_details_by_transaction_idribsb_vin.go +++ b/model_get_transaction_details_by_transaction_idribsb_vin.go @@ -22,7 +22,7 @@ type GetTransactionDetailsByTransactionIDRIBSBVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDRIBSBVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSBVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int32, txinwitness []string) *GetTransactionDetailsByTransactionIDRIBSBVin { +func NewGetTransactionDetailsByTransactionIDRIBSBVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int64, txinwitness []string) *GetTransactionDetailsByTransactionIDRIBSBVin { this := GetTransactionDetailsByTransactionIDRIBSBVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -122,7 +122,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetScriptSig() GetTransac // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -134,9 +134,9 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBVin) SetScriptSig(v GetTransac } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -145,15 +145,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSBVin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSBVin) SetSequence(v int64) { o.Sequence = v } @@ -201,11 +201,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetTxinwitness() []string // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value diff --git a/model_get_transaction_details_by_transaction_idribsb_vout.go b/model_get_transaction_details_by_transaction_idribsb_vout.go index cb512c3..aad612c 100644 --- a/model_get_transaction_details_by_transaction_idribsb_vout.go +++ b/model_get_transaction_details_by_transaction_idribsb_vout.go @@ -57,7 +57,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBVout) GetScriptPubKey() GetTra // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBVout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_idribsbc.go b/model_get_transaction_details_by_transaction_idribsbc.go index e91caed..f3e3f6c 100644 --- a/model_get_transaction_details_by_transaction_idribsbc.go +++ b/model_get_transaction_details_by_transaction_idribsbc.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDRIBSBC Bitcoin Cash type GetTransactionDetailsByTransactionIDRIBSBC struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type GetTransactionDetailsByTransactionIDRIBSBC struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSBC(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBCVin, vout []GetTransactionDetailsByTransactionIDRIBSBCVout) *GetTransactionDetailsByTransactionIDRIBSBC { +func NewGetTransactionDetailsByTransactionIDRIBSBC(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSBCVin, vout []GetTransactionDetailsByTransactionIDRIBSBCVout) *GetTransactionDetailsByTransactionIDRIBSBC { this := GetTransactionDetailsByTransactionIDRIBSBC{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetTransactionDetailsByTransactionIDRIBSBCWithDefaults() *GetTransaction } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSBC) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSBC) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetVin() []GetTransactionDe // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSBCVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSBCVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetVout() []GetTransactionD // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSBCVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBC) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSBCVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_idribsbc_script_pub_key.go b/model_get_transaction_details_by_transaction_idribsbc_script_pub_key.go index 3ef2e4b..6514e78 100644 --- a/model_get_transaction_details_by_transaction_idribsbc_script_pub_key.go +++ b/model_get_transaction_details_by_transaction_idribsbc_script_pub_key.go @@ -62,11 +62,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAddresses() // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAsm() string // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetHex() string // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetReqSigs() in // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetType() strin // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsbc_vin.go b/model_get_transaction_details_by_transaction_idribsbc_vin.go index 0cb6915..a78ff90 100644 --- a/model_get_transaction_details_by_transaction_idribsbc_vin.go +++ b/model_get_transaction_details_by_transaction_idribsbc_vin.go @@ -22,7 +22,7 @@ type GetTransactionDetailsByTransactionIDRIBSBCVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDRIBSBCVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSBCVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int32, txinwitness []string) *GetTransactionDetailsByTransactionIDRIBSBCVin { +func NewGetTransactionDetailsByTransactionIDRIBSBCVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int64, txinwitness []string) *GetTransactionDetailsByTransactionIDRIBSBCVin { this := GetTransactionDetailsByTransactionIDRIBSBCVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -122,7 +122,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetScriptSig() GetTransa // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -134,9 +134,9 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) SetScriptSig(v GetTransa } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -145,15 +145,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) SetSequence(v int64) { o.Sequence = v } @@ -201,11 +201,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetTxinwitness() []strin // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSBCVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value diff --git a/model_get_transaction_details_by_transaction_idribsbc_vout.go b/model_get_transaction_details_by_transaction_idribsbc_vout.go index dd9dda8..fb929a0 100644 --- a/model_get_transaction_details_by_transaction_idribsbc_vout.go +++ b/model_get_transaction_details_by_transaction_idribsbc_vout.go @@ -57,7 +57,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBCVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCVout) GetScriptPubKey() GetTr // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBCVout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBCVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBCVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_idribsbsc.go b/model_get_transaction_details_by_transaction_idribsbsc.go index 75e6bd0..98b2565 100644 --- a/model_get_transaction_details_by_transaction_idribsbsc.go +++ b/model_get_transaction_details_by_transaction_idribsbsc.go @@ -66,7 +66,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -90,7 +90,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -114,7 +114,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetGasPrice() GetTransacti // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSBSCGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -138,7 +138,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -162,7 +162,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -186,7 +186,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBSC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true diff --git a/model_get_transaction_details_by_transaction_idribsbsc_gas_price.go b/model_get_transaction_details_by_transaction_idribsbsc_gas_price.go index 2d62d83..864cac1 100644 --- a/model_get_transaction_details_by_transaction_idribsbsc_gas_price.go +++ b/model_get_transaction_details_by_transaction_idribsbsc_gas_price.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBSCGasPrice) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBSCGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSBSCGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSBSCGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_transaction_details_by_transaction_idribsd.go b/model_get_transaction_details_by_transaction_idribsd.go index 097dac2..1bcdf6d 100644 --- a/model_get_transaction_details_by_transaction_idribsd.go +++ b/model_get_transaction_details_by_transaction_idribsd.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDRIBSD Dogecoin type GetTransactionDetailsByTransactionIDRIBSD struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type GetTransactionDetailsByTransactionIDRIBSD struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSD(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *GetTransactionDetailsByTransactionIDRIBSD { +func NewGetTransactionDetailsByTransactionIDRIBSD(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *GetTransactionDetailsByTransactionIDRIBSD { this := GetTransactionDetailsByTransactionIDRIBSD{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetTransactionDetailsByTransactionIDRIBSDWithDefaults() *GetTransactionD } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSD) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSD) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD) GetVin() []GetTransactionDet // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSDVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSDVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD) GetVout() []GetTransactionDe // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_idribsd2.go b/model_get_transaction_details_by_transaction_idribsd2.go index 50dd20c..26ed28e 100644 --- a/model_get_transaction_details_by_transaction_idribsd2.go +++ b/model_get_transaction_details_by_transaction_idribsd2.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDRIBSD2 Dash type GetTransactionDetailsByTransactionIDRIBSD2 struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type GetTransactionDetailsByTransactionIDRIBSD2 struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSD2(locktime int32, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout) *GetTransactionDetailsByTransactionIDRIBSD2 { +func NewGetTransactionDetailsByTransactionIDRIBSD2(locktime int64, size int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout) *GetTransactionDetailsByTransactionIDRIBSD2 { this := GetTransactionDetailsByTransactionIDRIBSD2{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetTransactionDetailsByTransactionIDRIBSD2WithDefaults() *GetTransaction } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSD2) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSD2) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetVin() []GetTransactionDe // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSD2Vin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSD2Vin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetVout() []GetTransactionD // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSD2Vout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD2) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSD2Vout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_idribsd2_script_pub_key.go b/model_get_transaction_details_by_transaction_idribsd2_script_pub_key.go index 878e8a8..13f3d13 100644 --- a/model_get_transaction_details_by_transaction_idribsd2_script_pub_key.go +++ b/model_get_transaction_details_by_transaction_idribsd2_script_pub_key.go @@ -62,11 +62,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetAddresses() // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetAsm() string // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetHex() string // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetReqSigs() in // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetType() strin // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsd2_script_sig.go b/model_get_transaction_details_by_transaction_idribsd2_script_sig.go index 44efce7..55d1aae 100644 --- a/model_get_transaction_details_by_transaction_idribsd2_script_sig.go +++ b/model_get_transaction_details_by_transaction_idribsd2_script_sig.go @@ -58,7 +58,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2ScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsd2_vin.go b/model_get_transaction_details_by_transaction_idribsd2_vin.go index 5c6e9b3..0f2fc57 100644 --- a/model_get_transaction_details_by_transaction_idribsd2_vin.go +++ b/model_get_transaction_details_by_transaction_idribsd2_vin.go @@ -22,7 +22,7 @@ type GetTransactionDetailsByTransactionIDRIBSD2Vin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDRIBSD2Vin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int32, txinwitness []string) *GetTransactionDetailsByTransactionIDRIBSD2Vin { +func NewGetTransactionDetailsByTransactionIDRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int64, txinwitness []string) *GetTransactionDetailsByTransactionIDRIBSD2Vin { this := GetTransactionDetailsByTransactionIDRIBSD2Vin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -122,7 +122,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetScriptSig() GetTransa // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -134,9 +134,9 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) SetScriptSig(v GetTransa } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -145,15 +145,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) SetSequence(v int64) { o.Sequence = v } @@ -201,11 +201,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetTxinwitness() []strin // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSD2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value diff --git a/model_get_transaction_details_by_transaction_idribsd2_vout.go b/model_get_transaction_details_by_transaction_idribsd2_vout.go index 7cea3ed..bc5b560 100644 --- a/model_get_transaction_details_by_transaction_idribsd2_vout.go +++ b/model_get_transaction_details_by_transaction_idribsd2_vout.go @@ -57,7 +57,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2Vout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2Vout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2Vout) GetScriptPubKey() GetTr // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2Vout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSD2ScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSD2Vout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSD2Vout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_idribsd_script_pub_key.go b/model_get_transaction_details_by_transaction_idribsd_script_pub_key.go index fb61cd3..52eed8b 100644 --- a/model_get_transaction_details_by_transaction_idribsd_script_pub_key.go +++ b/model_get_transaction_details_by_transaction_idribsd_script_pub_key.go @@ -62,11 +62,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetAddresses() [ // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetAsm() string // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetHex() string // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetReqSigs() int // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetType() string // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsd_script_sig.go b/model_get_transaction_details_by_transaction_idribsd_script_sig.go index 52dafc8..697d922 100644 --- a/model_get_transaction_details_by_transaction_idribsd_script_sig.go +++ b/model_get_transaction_details_by_transaction_idribsd_script_sig.go @@ -58,7 +58,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsd_vin.go b/model_get_transaction_details_by_transaction_idribsd_vin.go index f3b6b93..a25ff2e 100644 --- a/model_get_transaction_details_by_transaction_idribsd_vin.go +++ b/model_get_transaction_details_by_transaction_idribsd_vin.go @@ -22,7 +22,7 @@ type GetTransactionDetailsByTransactionIDRIBSDVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDRIBSDVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSDVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int32, txinwitness []string, value string) *GetTransactionDetailsByTransactionIDRIBSDVin { +func NewGetTransactionDetailsByTransactionIDRIBSDVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int64, txinwitness []string, value string) *GetTransactionDetailsByTransactionIDRIBSDVin { this := GetTransactionDetailsByTransactionIDRIBSDVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -66,11 +66,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -123,7 +123,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetScriptSig() GetTransac // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -135,9 +135,9 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVin) SetScriptSig(v GetTransac } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -146,15 +146,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSDVin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSDVin) SetSequence(v int64) { o.Sequence = v } @@ -202,11 +202,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetTxinwitness() []string // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -227,7 +227,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_idribsd_vout.go b/model_get_transaction_details_by_transaction_idribsd_vout.go index 2bb89ad..2cbd716 100644 --- a/model_get_transaction_details_by_transaction_idribsd_vout.go +++ b/model_get_transaction_details_by_transaction_idribsd_vout.go @@ -57,7 +57,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVout) GetScriptPubKey() GetTra // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDVout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSDScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSDVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSDVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_idribse.go b/model_get_transaction_details_by_transaction_idribse.go index 3cfd66f..6bfde4a 100644 --- a/model_get_transaction_details_by_transaction_idribse.go +++ b/model_get_transaction_details_by_transaction_idribse.go @@ -69,7 +69,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSE) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSE) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -93,7 +93,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -117,7 +117,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSE) GetGasPrice() GetTransaction // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSE) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -141,7 +141,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -165,7 +165,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSE) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSE) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -189,7 +189,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSE) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSE) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -213,7 +213,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSE) GetTransactionStatus() strin // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSE) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_get_transaction_details_by_transaction_idribse_gas_price.go b/model_get_transaction_details_by_transaction_idribse_gas_price.go index da3d633..d0b29f3 100644 --- a/model_get_transaction_details_by_transaction_idribse_gas_price.go +++ b/model_get_transaction_details_by_transaction_idribse_gas_price.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSEGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSEGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSEGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSEGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_transaction_details_by_transaction_idribsec.go b/model_get_transaction_details_by_transaction_idribsec.go index 8bd1e06..c3e5b4d 100644 --- a/model_get_transaction_details_by_transaction_idribsec.go +++ b/model_get_transaction_details_by_transaction_idribsec.go @@ -66,7 +66,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -90,7 +90,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -114,7 +114,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetGasPrice() GetTransactio // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSECGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -138,7 +138,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -162,7 +162,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -186,7 +186,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSEC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true diff --git a/model_get_transaction_details_by_transaction_idribsec_gas_price.go b/model_get_transaction_details_by_transaction_idribsec_gas_price.go index 00c3491..ad663df 100644 --- a/model_get_transaction_details_by_transaction_idribsec_gas_price.go +++ b/model_get_transaction_details_by_transaction_idribsec_gas_price.go @@ -55,7 +55,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSECGasPrice) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSECGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSECGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSECGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_transaction_details_by_transaction_idribsl.go b/model_get_transaction_details_by_transaction_idribsl.go index d92a466..72f2274 100644 --- a/model_get_transaction_details_by_transaction_idribsl.go +++ b/model_get_transaction_details_by_transaction_idribsl.go @@ -18,7 +18,7 @@ import ( // GetTransactionDetailsByTransactionIDRIBSL Litecoin type GetTransactionDetailsByTransactionIDRIBSL struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type GetTransactionDetailsByTransactionIDRIBSL struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSL(locktime int32, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *GetTransactionDetailsByTransactionIDRIBSL { +func NewGetTransactionDetailsByTransactionIDRIBSL(locktime int64, size int32, vSize int32, version int32, vin []GetTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *GetTransactionDetailsByTransactionIDRIBSL { this := GetTransactionDetailsByTransactionIDRIBSL{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewGetTransactionDetailsByTransactionIDRIBSLWithDefaults() *GetTransactionD } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSL) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSL) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVin() []GetTransactionDet // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSLVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSLVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVout() []GetTransactionDe // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSL) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_idribsl_script_pub_key.go b/model_get_transaction_details_by_transaction_idribsl_script_pub_key.go index 5cec740..0a02cb9 100644 --- a/model_get_transaction_details_by_transaction_idribsl_script_pub_key.go +++ b/model_get_transaction_details_by_transaction_idribsl_script_pub_key.go @@ -62,11 +62,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetAddresses() [ // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetAsm() string // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetHex() string // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetReqSigs() int // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetType() string // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsl_script_sig.go b/model_get_transaction_details_by_transaction_idribsl_script_sig.go index 2d23865..9ae0fb3 100644 --- a/model_get_transaction_details_by_transaction_idribsl_script_sig.go +++ b/model_get_transaction_details_by_transaction_idribsl_script_sig.go @@ -58,7 +58,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsl_vin.go b/model_get_transaction_details_by_transaction_idribsl_vin.go index a821031..a0ccc4e 100644 --- a/model_get_transaction_details_by_transaction_idribsl_vin.go +++ b/model_get_transaction_details_by_transaction_idribsl_vin.go @@ -22,7 +22,7 @@ type GetTransactionDetailsByTransactionIDRIBSLVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDRIBSLScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type GetTransactionDetailsByTransactionIDRIBSLVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSLVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSLScriptSig, sequence int32, txinwitness []string) *GetTransactionDetailsByTransactionIDRIBSLVin { +func NewGetTransactionDetailsByTransactionIDRIBSLVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSLScriptSig, sequence int64, txinwitness []string) *GetTransactionDetailsByTransactionIDRIBSLVin { this := GetTransactionDetailsByTransactionIDRIBSLVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -122,7 +122,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetScriptSig() GetTransac // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSLScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -134,9 +134,9 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLVin) SetScriptSig(v GetTransac } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -145,15 +145,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSLVin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSLVin) SetSequence(v int64) { o.Sequence = v } @@ -201,11 +201,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetTxinwitness() []string // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSLVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value diff --git a/model_get_transaction_details_by_transaction_idribsl_vout.go b/model_get_transaction_details_by_transaction_idribsl_vout.go index 52f4a6b..6899d3e 100644 --- a/model_get_transaction_details_by_transaction_idribsl_vout.go +++ b/model_get_transaction_details_by_transaction_idribsl_vout.go @@ -57,7 +57,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLVout) GetScriptPubKey() GetTra // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLVout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSLScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSLVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSLVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_details_by_transaction_idribsz.go b/model_get_transaction_details_by_transaction_idribsz.go index ca6d530..e96b1f9 100644 --- a/model_get_transaction_details_by_transaction_idribsz.go +++ b/model_get_transaction_details_by_transaction_idribsz.go @@ -26,7 +26,7 @@ type GetTransactionDetailsByTransactionIDRIBSZ struct { // Is used to sign transactions that contain at least one JoinSplit description. JoinSplitSig string `json:"joinSplitSig"` // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // \"Overwinter\" is the network upgrade for the Zcash blockchain. Overwintered bool `json:"overwintered"` // Represents the total size of this transaction. @@ -53,7 +53,7 @@ type GetTransactionDetailsByTransactionIDRIBSZ struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *GetTransactionDetailsByTransactionIDRIBSZ { +func NewGetTransactionDetailsByTransactionIDRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *GetTransactionDetailsByTransactionIDRIBSZ { this := GetTransactionDetailsByTransactionIDRIBSZ{} this.BindingSig = bindingSig this.ExpiryHeight = expiryHeight @@ -94,7 +94,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetBindingSig() string { // GetBindingSigOk returns a tuple with the BindingSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetBindingSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BindingSig, true @@ -118,7 +118,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetExpiryHeight() int32 { // GetExpiryHeightOk returns a tuple with the ExpiryHeight field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetExpiryHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExpiryHeight, true @@ -142,7 +142,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetJoinSplitPubKey() string // GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitPubKey, true @@ -166,7 +166,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetJoinSplitSig() string { // GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetJoinSplitSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitSig, true @@ -178,9 +178,9 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) SetJoinSplitSig(v string) { } // GetLocktime returns the Locktime field value -func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -189,15 +189,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSZ) SetLocktime(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSZ) SetLocktime(v int64) { o.Locktime = v } @@ -214,7 +214,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetOverwintered() bool { // GetOverwinteredOk returns a tuple with the Overwintered field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetOverwinteredOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Overwintered, true @@ -238,7 +238,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -261,11 +261,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVJoinSplit() []GetTransac // GetVJoinSplitOk returns a tuple with the VJoinSplit field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVJoinSplitOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVJoinSplitOk() ([]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, bool) { + if o == nil { return nil, false } - return &o.VJoinSplit, true + return o.VJoinSplit, true } // SetVJoinSplit sets field value @@ -285,11 +285,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVShieldedOutput() []GetTr // GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVShieldedOutputOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { + if o == nil { return nil, false } - return &o.VShieldedOutput, true + return o.VShieldedOutput, true } // SetVShieldedOutput sets field value @@ -309,11 +309,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVShieldedSpend() []GetTra // GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { + if o == nil { return nil, false } - return &o.VShieldedSpend, true + return o.VShieldedSpend, true } // SetVShieldedSpend sets field value @@ -334,7 +334,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetValueBalance() string { // GetValueBalanceOk returns a tuple with the ValueBalance field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetValueBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ValueBalance, true @@ -358,7 +358,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -382,7 +382,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVersionGroupId() string { // GetVersionGroupIdOk returns a tuple with the VersionGroupId field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVersionGroupIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionGroupId, true @@ -405,11 +405,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVin() []GetTransactionDet // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVin, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSZVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -429,11 +429,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVout() []GetTransactionDe // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZ) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_transaction_details_by_transaction_idribsz_script_pub_key.go b/model_get_transaction_details_by_transaction_idribsz_script_pub_key.go index 29a572a..f0de3dd 100644 --- a/model_get_transaction_details_by_transaction_idribsz_script_pub_key.go +++ b/model_get_transaction_details_by_transaction_idribsz_script_pub_key.go @@ -62,11 +62,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetAddresses() [ // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetAsm() string // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetHex() string // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetReqSigs() int // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetType() string // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsz_script_sig.go b/model_get_transaction_details_by_transaction_idribsz_script_sig.go index bb25702..c3ceb8d 100644 --- a/model_get_transaction_details_by_transaction_idribsz_script_sig.go +++ b/model_get_transaction_details_by_transaction_idribsz_script_sig.go @@ -58,7 +58,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_transaction_details_by_transaction_idribsz_v_join_split.go b/model_get_transaction_details_by_transaction_idribsz_v_join_split.go index fe65bfb..1248902 100644 --- a/model_get_transaction_details_by_transaction_idribsz_v_join_split.go +++ b/model_get_transaction_details_by_transaction_idribsz_v_join_split.go @@ -75,7 +75,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetAnchor() string // GetAnchorOk returns a tuple with the Anchor field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetAnchorOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Anchor, true @@ -98,11 +98,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetCipherTexts() [ // GetCipherTextsOk returns a tuple with the CipherTexts field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetCipherTextsOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetCipherTextsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.CipherTexts, true + return o.CipherTexts, true } // SetCipherTexts sets field value @@ -122,11 +122,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetCommitments() [ // GetCommitmentsOk returns a tuple with the Commitments field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetCommitmentsOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetCommitmentsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Commitments, true + return o.Commitments, true } // SetCommitments sets field value @@ -146,11 +146,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetMacs() []string // GetMacsOk returns a tuple with the Macs field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetMacsOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetMacsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Macs, true + return o.Macs, true } // SetMacs sets field value @@ -170,11 +170,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetNullifiers() [] // GetNullifiersOk returns a tuple with the Nullifiers field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetNullifiersOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetNullifiersOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Nullifiers, true + return o.Nullifiers, true } // SetNullifiers sets field value @@ -195,7 +195,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetOneTimePubKey() // GetOneTimePubKeyOk returns a tuple with the OneTimePubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetOneTimePubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OneTimePubKey, true @@ -219,7 +219,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetProof() string // GetProofOk returns a tuple with the Proof field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetProofOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Proof, true @@ -243,7 +243,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetRandomSeed() st // GetRandomSeedOk returns a tuple with the RandomSeed field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetRandomSeedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RandomSeed, true @@ -267,7 +267,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetVPubNew() strin // GetVPubNewOk returns a tuple with the VPubNew field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetVPubNewOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VPubNew, true @@ -291,7 +291,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetVPubOld() strin // GetVPubOldOk returns a tuple with the VPubOld field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) GetVPubOldOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VPubOld, true diff --git a/model_get_transaction_details_by_transaction_idribsz_v_shielded_output.go b/model_get_transaction_details_by_transaction_idribsz_v_shielded_output.go index 20d2080..0ec3f66 100644 --- a/model_get_transaction_details_by_transaction_idribsz_v_shielded_output.go +++ b/model_get_transaction_details_by_transaction_idribsz_v_shielded_output.go @@ -67,7 +67,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetCmu() stri // GetCmuOk returns a tuple with the Cmu field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetCmuOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Cmu, true @@ -91,7 +91,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetCv() strin // GetCvOk returns a tuple with the Cv field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetCvOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Cv, true @@ -115,7 +115,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetEncCipherT // GetEncCipherTextOk returns a tuple with the EncCipherText field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetEncCipherTextOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EncCipherText, true @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetEphemeralK // GetEphemeralKeyOk returns a tuple with the EphemeralKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetEphemeralKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EphemeralKey, true @@ -163,7 +163,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetOutCipherT // GetOutCipherTextOk returns a tuple with the OutCipherText field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetOutCipherTextOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OutCipherText, true @@ -187,7 +187,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetProof() st // GetProofOk returns a tuple with the Proof field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) GetProofOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Proof, true diff --git a/model_get_transaction_details_by_transaction_idribsz_v_shielded_spend.go b/model_get_transaction_details_by_transaction_idribsz_v_shielded_spend.go index 0d4b0df..d10109b 100644 --- a/model_get_transaction_details_by_transaction_idribsz_v_shielded_spend.go +++ b/model_get_transaction_details_by_transaction_idribsz_v_shielded_spend.go @@ -67,7 +67,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetAnchor() st // GetAnchorOk returns a tuple with the Anchor field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetAnchorOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Anchor, true @@ -91,7 +91,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetCv() string // GetCvOk returns a tuple with the Cv field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetCvOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Cv, true @@ -115,7 +115,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetNullifier() // GetNullifierOk returns a tuple with the Nullifier field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetNullifierOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nullifier, true @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetProof() str // GetProofOk returns a tuple with the Proof field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetProofOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Proof, true @@ -163,7 +163,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetRk() string // GetRkOk returns a tuple with the Rk field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetRkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Rk, true @@ -187,7 +187,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetSpendAuthSi // GetSpendAuthSigOk returns a tuple with the SpendAuthSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) GetSpendAuthSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SpendAuthSig, true diff --git a/model_get_transaction_details_by_transaction_idribsz_vin.go b/model_get_transaction_details_by_transaction_idribsz_vin.go index 948ba3e..633fe1a 100644 --- a/model_get_transaction_details_by_transaction_idribsz_vin.go +++ b/model_get_transaction_details_by_transaction_idribsz_vin.go @@ -20,7 +20,7 @@ type GetTransactionDetailsByTransactionIDRIBSZVin struct { Addresses []string `json:"addresses"` ScriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` Txinwitness []string `json:"txinwitness"` @@ -34,7 +34,7 @@ type GetTransactionDetailsByTransactionIDRIBSZVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetTransactionDetailsByTransactionIDRIBSZVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int32, txid string, txinwitness []string, value string, vout int32) *GetTransactionDetailsByTransactionIDRIBSZVin { +func NewGetTransactionDetailsByTransactionIDRIBSZVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int64, txid string, txinwitness []string, value string, vout int32) *GetTransactionDetailsByTransactionIDRIBSZVin { this := GetTransactionDetailsByTransactionIDRIBSZVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -66,11 +66,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -91,7 +91,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetScriptSig() GetTransac // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSZScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -103,9 +103,9 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVin) SetScriptSig(v GetTransac } // GetSequence returns the Sequence field value -func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int32 { +func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -114,15 +114,15 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetTransactionDetailsByTransactionIDRIBSZVin) SetSequence(v int32) { +func (o *GetTransactionDetailsByTransactionIDRIBSZVin) SetSequence(v int64) { o.Sequence = v } @@ -139,7 +139,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -162,11 +162,11 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetTxinwitness() []string // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -187,7 +187,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -211,7 +211,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_get_transaction_details_by_transaction_idribsz_vout.go b/model_get_transaction_details_by_transaction_idribsz_vout.go index fde461a..24114df 100644 --- a/model_get_transaction_details_by_transaction_idribsz_vout.go +++ b/model_get_transaction_details_by_transaction_idribsz_vout.go @@ -57,7 +57,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVout) GetScriptPubKey() GetTra // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSZScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetTransactionDetailsByTransactionIDRIBSZVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetTransactionDetailsByTransactionIDRIBSZVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_transaction_request_details_e400.go b/model_get_transaction_request_details_e400.go index 6c3c6d9..b8fdf9a 100644 --- a/model_get_transaction_request_details_e400.go +++ b/model_get_transaction_request_details_e400.go @@ -25,17 +25,23 @@ type GetTransactionRequestDetailsE400 struct { // InvalidPaginationAsGetTransactionRequestDetailsE400 is a convenience function that returns InvalidPagination wrapped in GetTransactionRequestDetailsE400 func InvalidPaginationAsGetTransactionRequestDetailsE400(v *InvalidPagination) GetTransactionRequestDetailsE400 { - return GetTransactionRequestDetailsE400{ InvalidPagination: v} + return GetTransactionRequestDetailsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetTransactionRequestDetailsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetTransactionRequestDetailsE400 func LimitGreaterThanAllowedAsGetTransactionRequestDetailsE400(v *LimitGreaterThanAllowed) GetTransactionRequestDetailsE400 { - return GetTransactionRequestDetailsE400{ LimitGreaterThanAllowed: v} + return GetTransactionRequestDetailsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetTransactionRequestDetailsE400 is a convenience function that returns UriNotFound wrapped in GetTransactionRequestDetailsE400 func UriNotFoundAsGetTransactionRequestDetailsE400(v *UriNotFound) GetTransactionRequestDetailsE400 { - return GetTransactionRequestDetailsE400{ UriNotFound: v} + return GetTransactionRequestDetailsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetTransactionRequestDetailsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetTransactionRequestDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetTransactionRequestDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetTransactionRequestDetailsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetTransactionRequestDetailsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_transaction_request_details_e401.go b/model_get_transaction_request_details_e401.go index 88e03e1..dc895dc 100644 --- a/model_get_transaction_request_details_e401.go +++ b/model_get_transaction_request_details_e401.go @@ -24,12 +24,16 @@ type GetTransactionRequestDetailsE401 struct { // InvalidApiKeyAsGetTransactionRequestDetailsE401 is a convenience function that returns InvalidApiKey wrapped in GetTransactionRequestDetailsE401 func InvalidApiKeyAsGetTransactionRequestDetailsE401(v *InvalidApiKey) GetTransactionRequestDetailsE401 { - return GetTransactionRequestDetailsE401{ InvalidApiKey: v} + return GetTransactionRequestDetailsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetTransactionRequestDetailsE401 is a convenience function that returns MissingApiKey wrapped in GetTransactionRequestDetailsE401 func MissingApiKeyAsGetTransactionRequestDetailsE401(v *MissingApiKey) GetTransactionRequestDetailsE401 { - return GetTransactionRequestDetailsE401{ MissingApiKey: v} + return GetTransactionRequestDetailsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetTransactionRequestDetailsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetTransactionRequestDetailsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetTransactionRequestDetailsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetTransactionRequestDetailsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_transaction_request_details_e403.go b/model_get_transaction_request_details_e403.go index 649a820..9fc7dd0 100644 --- a/model_get_transaction_request_details_e403.go +++ b/model_get_transaction_request_details_e403.go @@ -26,22 +26,30 @@ type GetTransactionRequestDetailsE403 struct { // BannedIpAddressAsGetTransactionRequestDetailsE403 is a convenience function that returns BannedIpAddress wrapped in GetTransactionRequestDetailsE403 func BannedIpAddressAsGetTransactionRequestDetailsE403(v *BannedIpAddress) GetTransactionRequestDetailsE403 { - return GetTransactionRequestDetailsE403{ BannedIpAddress: v} + return GetTransactionRequestDetailsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetTransactionRequestDetailsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetTransactionRequestDetailsE403 func EndpointNotAllowedForApiKeyAsGetTransactionRequestDetailsE403(v *EndpointNotAllowedForApiKey) GetTransactionRequestDetailsE403 { - return GetTransactionRequestDetailsE403{ EndpointNotAllowedForApiKey: v} + return GetTransactionRequestDetailsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetTransactionRequestDetailsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetTransactionRequestDetailsE403 func EndpointNotAllowedForPlanAsGetTransactionRequestDetailsE403(v *EndpointNotAllowedForPlan) GetTransactionRequestDetailsE403 { - return GetTransactionRequestDetailsE403{ EndpointNotAllowedForPlan: v} + return GetTransactionRequestDetailsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetTransactionRequestDetailsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetTransactionRequestDetailsE403 func FeatureMainnetsNotAllowedForPlanAsGetTransactionRequestDetailsE403(v *FeatureMainnetsNotAllowedForPlan) GetTransactionRequestDetailsE403 { - return GetTransactionRequestDetailsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetTransactionRequestDetailsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetTransactionRequestDetailsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetTransactionRequestDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetTransactionRequestDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetTransactionRequestDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetTransactionRequestDetailsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetTransactionRequestDetailsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_transaction_request_details_r.go b/model_get_transaction_request_details_r.go index 8479a8b..d37e084 100644 --- a/model_get_transaction_request_details_r.go +++ b/model_get_transaction_request_details_r.go @@ -59,7 +59,7 @@ func (o *GetTransactionRequestDetailsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetTransactionRequestDetailsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetTransactionRequestDetailsR) GetData() GetTransactionRequestDetailsRD // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsR) GetDataOk() (*GetTransactionRequestDetailsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_transaction_request_details_r_data.go b/model_get_transaction_request_details_r_data.go index 9134543..4aaa641 100644 --- a/model_get_transaction_request_details_r_data.go +++ b/model_get_transaction_request_details_r_data.go @@ -51,7 +51,7 @@ func (o *GetTransactionRequestDetailsRData) GetItem() GetTransactionRequestDetai // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRData) GetItemOk() (*GetTransactionRequestDetailsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_transaction_request_details_ri.go b/model_get_transaction_request_details_ri.go index 1bd00bc..da213d6 100644 --- a/model_get_transaction_request_details_ri.go +++ b/model_get_transaction_request_details_ri.go @@ -29,6 +29,8 @@ type GetTransactionRequestDetailsRI struct { Recipients []GetTransactionRequestDetailsRIRecipients `json:"recipients"` // Defines the total transaction amount. TotalTransactionAmount string `json:"totalTransactionAmount"` + // Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain. + TransactionId *string `json:"transactionId,omitempty"` // Defines the status of the transaction request, e.g. pending. TransactionRequestStatus string `json:"transactionRequestStatus"` // Defines the transaction type, if it is for coins or tokens. @@ -79,7 +81,7 @@ func (o *GetTransactionRequestDetailsRI) GetAdditionalDetails() string { // GetAdditionalDetailsOk returns a tuple with the AdditionalDetails field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetAdditionalDetailsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AdditionalDetails, true @@ -103,7 +105,7 @@ func (o *GetTransactionRequestDetailsRI) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -127,7 +129,7 @@ func (o *GetTransactionRequestDetailsRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -151,7 +153,7 @@ func (o *GetTransactionRequestDetailsRI) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -174,11 +176,11 @@ func (o *GetTransactionRequestDetailsRI) GetRecipients() []GetTransactionRequest // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *GetTransactionRequestDetailsRI) GetRecipientsOk() (*[]GetTransactionRequestDetailsRIRecipients, bool) { - if o == nil { +func (o *GetTransactionRequestDetailsRI) GetRecipientsOk() ([]GetTransactionRequestDetailsRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -199,7 +201,7 @@ func (o *GetTransactionRequestDetailsRI) GetTotalTransactionAmount() string { // GetTotalTransactionAmountOk returns a tuple with the TotalTransactionAmount field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetTotalTransactionAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalTransactionAmount, true @@ -210,6 +212,38 @@ func (o *GetTransactionRequestDetailsRI) SetTotalTransactionAmount(v string) { o.TotalTransactionAmount = v } +// GetTransactionId returns the TransactionId field value if set, zero value otherwise. +func (o *GetTransactionRequestDetailsRI) GetTransactionId() string { + if o == nil || o.TransactionId == nil { + var ret string + return ret + } + return *o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionRequestDetailsRI) GetTransactionIdOk() (*string, bool) { + if o == nil || o.TransactionId == nil { + return nil, false + } + return o.TransactionId, true +} + +// HasTransactionId returns a boolean if a field has been set. +func (o *GetTransactionRequestDetailsRI) HasTransactionId() bool { + if o != nil && o.TransactionId != nil { + return true + } + + return false +} + +// SetTransactionId gets a reference to the given string and assigns it to the TransactionId field. +func (o *GetTransactionRequestDetailsRI) SetTransactionId(v string) { + o.TransactionId = &v +} + // GetTransactionRequestStatus returns the TransactionRequestStatus field value func (o *GetTransactionRequestDetailsRI) GetTransactionRequestStatus() string { if o == nil { @@ -223,7 +257,7 @@ func (o *GetTransactionRequestDetailsRI) GetTransactionRequestStatus() string { // GetTransactionRequestStatusOk returns a tuple with the TransactionRequestStatus field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetTransactionRequestStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionRequestStatus, true @@ -247,7 +281,7 @@ func (o *GetTransactionRequestDetailsRI) GetTransactionType() string { // GetTransactionTypeOk returns a tuple with the TransactionType field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetTransactionTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionType, true @@ -271,7 +305,7 @@ func (o *GetTransactionRequestDetailsRI) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -295,7 +329,7 @@ func (o *GetTransactionRequestDetailsRI) GetWalletId() string { // GetWalletIdOk returns a tuple with the WalletId field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRI) GetWalletIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.WalletId, true @@ -326,6 +360,9 @@ func (o GetTransactionRequestDetailsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["totalTransactionAmount"] = o.TotalTransactionAmount } + if o.TransactionId != nil { + toSerialize["transactionId"] = o.TransactionId + } if true { toSerialize["transactionRequestStatus"] = o.TransactionRequestStatus } diff --git a/model_get_transaction_request_details_ri_recipients.go b/model_get_transaction_request_details_ri_recipients.go index 914208b..3ae74b8 100644 --- a/model_get_transaction_request_details_ri_recipients.go +++ b/model_get_transaction_request_details_ri_recipients.go @@ -19,8 +19,12 @@ import ( type GetTransactionRequestDetailsRIRecipients struct { // The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient. Address string `json:"address"` + // Defines a specific Tag that is an additional XRP address feature. It helps identify a transaction recipient beyond a wallet address. The tag that was encoded into the x-Address along with the Classic Address. + AddressTag *int32 `json:"addressTag,omitempty"` // Represents the amount received to this address. Amount string `json:"amount"` + // Represents the public address, which is a compressed and shortened form of a public key. A classic address is shown when the destination address is an x-Address. + ClassicAddress *string `json:"classicAddress,omitempty"` // Defines the unit of the amount. Unit string `json:"unit"` } @@ -58,7 +62,7 @@ func (o *GetTransactionRequestDetailsRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -69,6 +73,38 @@ func (o *GetTransactionRequestDetailsRIRecipients) SetAddress(v string) { o.Address = v } +// GetAddressTag returns the AddressTag field value if set, zero value otherwise. +func (o *GetTransactionRequestDetailsRIRecipients) GetAddressTag() int32 { + if o == nil || o.AddressTag == nil { + var ret int32 + return ret + } + return *o.AddressTag +} + +// GetAddressTagOk returns a tuple with the AddressTag field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionRequestDetailsRIRecipients) GetAddressTagOk() (*int32, bool) { + if o == nil || o.AddressTag == nil { + return nil, false + } + return o.AddressTag, true +} + +// HasAddressTag returns a boolean if a field has been set. +func (o *GetTransactionRequestDetailsRIRecipients) HasAddressTag() bool { + if o != nil && o.AddressTag != nil { + return true + } + + return false +} + +// SetAddressTag gets a reference to the given int32 and assigns it to the AddressTag field. +func (o *GetTransactionRequestDetailsRIRecipients) SetAddressTag(v int32) { + o.AddressTag = &v +} + // GetAmount returns the Amount field value func (o *GetTransactionRequestDetailsRIRecipients) GetAmount() string { if o == nil { @@ -82,7 +118,7 @@ func (o *GetTransactionRequestDetailsRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -93,6 +129,38 @@ func (o *GetTransactionRequestDetailsRIRecipients) SetAmount(v string) { o.Amount = v } +// GetClassicAddress returns the ClassicAddress field value if set, zero value otherwise. +func (o *GetTransactionRequestDetailsRIRecipients) GetClassicAddress() string { + if o == nil || o.ClassicAddress == nil { + var ret string + return ret + } + return *o.ClassicAddress +} + +// GetClassicAddressOk returns a tuple with the ClassicAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetTransactionRequestDetailsRIRecipients) GetClassicAddressOk() (*string, bool) { + if o == nil || o.ClassicAddress == nil { + return nil, false + } + return o.ClassicAddress, true +} + +// HasClassicAddress returns a boolean if a field has been set. +func (o *GetTransactionRequestDetailsRIRecipients) HasClassicAddress() bool { + if o != nil && o.ClassicAddress != nil { + return true + } + + return false +} + +// SetClassicAddress gets a reference to the given string and assigns it to the ClassicAddress field. +func (o *GetTransactionRequestDetailsRIRecipients) SetClassicAddress(v string) { + o.ClassicAddress = &v +} + // GetUnit returns the Unit field value func (o *GetTransactionRequestDetailsRIRecipients) GetUnit() string { if o == nil { @@ -106,7 +174,7 @@ func (o *GetTransactionRequestDetailsRIRecipients) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetTransactionRequestDetailsRIRecipients) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true @@ -122,9 +190,15 @@ func (o GetTransactionRequestDetailsRIRecipients) MarshalJSON() ([]byte, error) if true { toSerialize["address"] = o.Address } + if o.AddressTag != nil { + toSerialize["addressTag"] = o.AddressTag + } if true { toSerialize["amount"] = o.Amount } + if o.ClassicAddress != nil { + toSerialize["classicAddress"] = o.ClassicAddress + } if true { toSerialize["unit"] = o.Unit } diff --git a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e400.go b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e400.go index c538362..37bf9f2 100644 --- a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e400.go +++ b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e400.go @@ -25,17 +25,23 @@ type GetUnconfirmedOmniTransactionByTransactionIDTxidE400 struct { // InvalidPaginationAsGetUnconfirmedOmniTransactionByTransactionIDTxidE400 is a convenience function that returns InvalidPagination wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE400 func InvalidPaginationAsGetUnconfirmedOmniTransactionByTransactionIDTxidE400(v *InvalidPagination) GetUnconfirmedOmniTransactionByTransactionIDTxidE400 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE400{ InvalidPagination: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetUnconfirmedOmniTransactionByTransactionIDTxidE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE400 func LimitGreaterThanAllowedAsGetUnconfirmedOmniTransactionByTransactionIDTxidE400(v *LimitGreaterThanAllowed) GetUnconfirmedOmniTransactionByTransactionIDTxidE400 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE400{ LimitGreaterThanAllowed: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetUnconfirmedOmniTransactionByTransactionIDTxidE400 is a convenience function that returns UriNotFound wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE400 func UriNotFoundAsGetUnconfirmedOmniTransactionByTransactionIDTxidE400(v *UriNotFound) GetUnconfirmedOmniTransactionByTransactionIDTxidE400 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE400{ UriNotFound: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE400) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE400) UnmarshalJSON(d } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE400) UnmarshalJSON(d } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetUnconfirmedOmniTransactionByTransactionIDTxidE400) MarshalJSON() ([ // Get the actual instance func (obj *GetUnconfirmedOmniTransactionByTransactionIDTxidE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e401.go b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e401.go index 2786d20..b7b6fcc 100644 --- a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e401.go +++ b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e401.go @@ -24,12 +24,16 @@ type GetUnconfirmedOmniTransactionByTransactionIDTxidE401 struct { // InvalidApiKeyAsGetUnconfirmedOmniTransactionByTransactionIDTxidE401 is a convenience function that returns InvalidApiKey wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE401 func InvalidApiKeyAsGetUnconfirmedOmniTransactionByTransactionIDTxidE401(v *InvalidApiKey) GetUnconfirmedOmniTransactionByTransactionIDTxidE401 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE401{ InvalidApiKey: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetUnconfirmedOmniTransactionByTransactionIDTxidE401 is a convenience function that returns MissingApiKey wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE401 func MissingApiKeyAsGetUnconfirmedOmniTransactionByTransactionIDTxidE401(v *MissingApiKey) GetUnconfirmedOmniTransactionByTransactionIDTxidE401 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE401{ MissingApiKey: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE401) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE401) UnmarshalJSON(d } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetUnconfirmedOmniTransactionByTransactionIDTxidE401) MarshalJSON() ([ // Get the actual instance func (obj *GetUnconfirmedOmniTransactionByTransactionIDTxidE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e403.go b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e403.go index 4c6dd0b..32a1853 100644 --- a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e403.go +++ b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_e403.go @@ -26,22 +26,30 @@ type GetUnconfirmedOmniTransactionByTransactionIDTxidE403 struct { // BannedIpAddressAsGetUnconfirmedOmniTransactionByTransactionIDTxidE403 is a convenience function that returns BannedIpAddress wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE403 func BannedIpAddressAsGetUnconfirmedOmniTransactionByTransactionIDTxidE403(v *BannedIpAddress) GetUnconfirmedOmniTransactionByTransactionIDTxidE403 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE403{ BannedIpAddress: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetUnconfirmedOmniTransactionByTransactionIDTxidE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE403 func EndpointNotAllowedForApiKeyAsGetUnconfirmedOmniTransactionByTransactionIDTxidE403(v *EndpointNotAllowedForApiKey) GetUnconfirmedOmniTransactionByTransactionIDTxidE403 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE403{ EndpointNotAllowedForApiKey: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetUnconfirmedOmniTransactionByTransactionIDTxidE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE403 func EndpointNotAllowedForPlanAsGetUnconfirmedOmniTransactionByTransactionIDTxidE403(v *EndpointNotAllowedForPlan) GetUnconfirmedOmniTransactionByTransactionIDTxidE403 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE403{ EndpointNotAllowedForPlan: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetUnconfirmedOmniTransactionByTransactionIDTxidE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetUnconfirmedOmniTransactionByTransactionIDTxidE403 func FeatureMainnetsNotAllowedForPlanAsGetUnconfirmedOmniTransactionByTransactionIDTxidE403(v *FeatureMainnetsNotAllowedForPlan) GetUnconfirmedOmniTransactionByTransactionIDTxidE403 { - return GetUnconfirmedOmniTransactionByTransactionIDTxidE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetUnconfirmedOmniTransactionByTransactionIDTxidE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE403) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE403) UnmarshalJSON(d } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE403) UnmarshalJSON(d } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetUnconfirmedOmniTransactionByTransactionIDTxidE403) UnmarshalJSON(d } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetUnconfirmedOmniTransactionByTransactionIDTxidE403) MarshalJSON() ([ // Get the actual instance func (obj *GetUnconfirmedOmniTransactionByTransactionIDTxidE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_r.go b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_r.go index 680b0ae..7e7fdb3 100644 --- a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_r.go +++ b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_r.go @@ -59,7 +59,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidR) GetApiVersion() stri // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidR) GetRequestId() strin // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidR) GetData() GetUnconfi // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidR) GetDataOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_r_data.go b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_r_data.go index b0edb76..f7b1cd0 100644 --- a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_r_data.go +++ b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_r_data.go @@ -51,7 +51,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRData) GetItem() GetUnc // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRData) GetItemOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri.go b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri.go index 3567460..1208b93 100644 --- a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri.go +++ b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri.go @@ -87,7 +87,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -111,7 +111,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetDivisible() bool // GetDivisibleOk returns a tuple with the Divisible field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetDivisibleOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Divisible, true @@ -135,7 +135,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetMined() bool { // GetMinedOk returns a tuple with the Mined field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetMinedOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Mined, true @@ -159,7 +159,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetPropertyId() int // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -182,11 +182,11 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetRecipients() []G // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetRecipientsOk() (*[]GetUnconfirmedOmniTransactionByTransactionIDTxidRIRecipients, bool) { - if o == nil { +func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetRecipientsOk() ([]GetUnconfirmedOmniTransactionByTransactionIDTxidRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -206,11 +206,11 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetSenders() []GetU // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetSendersOk() (*[]GetUnconfirmedOmniTransactionByTransactionIDTxidRISenders, bool) { - if o == nil { +func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetSendersOk() ([]GetUnconfirmedOmniTransactionByTransactionIDTxidRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -231,7 +231,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetSent() bool { // GetSentOk returns a tuple with the Sent field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetSentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sent, true @@ -255,7 +255,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetTimestamp() int3 // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -279,7 +279,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetTransactionId() // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -303,7 +303,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -327,7 +327,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetTypeInt() int32 // GetTypeIntOk returns a tuple with the TypeInt field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetTypeIntOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TypeInt, true @@ -351,7 +351,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetVersion() int32 // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -375,7 +375,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetFee() ListUnconf // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRI) GetFeeOk() (*ListUnconfirmedOmniTransactionsByAddressRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true diff --git a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri_recipients.go b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri_recipients.go index 8a315b8..b93ebf9 100644 --- a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri_recipients.go +++ b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri_recipients.go @@ -55,7 +55,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRIRecipients) GetAddres // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRIRecipients) GetAmount // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri_senders.go b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri_senders.go index 3d82458..7604b50 100644 --- a/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri_senders.go +++ b/model_get_unconfirmed_omni_transaction_by_transaction_id_txid_ri_senders.go @@ -55,7 +55,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRISenders) GetAddress() // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRISenders) GetAmount() // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetUnconfirmedOmniTransactionByTransactionIDTxidRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_wallet_asset_details_e400.go b/model_get_wallet_asset_details_e400.go index 8d6a913..484295a 100644 --- a/model_get_wallet_asset_details_e400.go +++ b/model_get_wallet_asset_details_e400.go @@ -25,17 +25,23 @@ type GetWalletAssetDetailsE400 struct { // InvalidPaginationAsGetWalletAssetDetailsE400 is a convenience function that returns InvalidPagination wrapped in GetWalletAssetDetailsE400 func InvalidPaginationAsGetWalletAssetDetailsE400(v *InvalidPagination) GetWalletAssetDetailsE400 { - return GetWalletAssetDetailsE400{ InvalidPagination: v} + return GetWalletAssetDetailsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetWalletAssetDetailsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetWalletAssetDetailsE400 func LimitGreaterThanAllowedAsGetWalletAssetDetailsE400(v *LimitGreaterThanAllowed) GetWalletAssetDetailsE400 { - return GetWalletAssetDetailsE400{ LimitGreaterThanAllowed: v} + return GetWalletAssetDetailsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetWalletAssetDetailsE400 is a convenience function that returns UriNotFound wrapped in GetWalletAssetDetailsE400 func UriNotFoundAsGetWalletAssetDetailsE400(v *UriNotFound) GetWalletAssetDetailsE400 { - return GetWalletAssetDetailsE400{ UriNotFound: v} + return GetWalletAssetDetailsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetWalletAssetDetailsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetWalletAssetDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetWalletAssetDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetWalletAssetDetailsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetWalletAssetDetailsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_wallet_asset_details_e401.go b/model_get_wallet_asset_details_e401.go index da178db..e91aa94 100644 --- a/model_get_wallet_asset_details_e401.go +++ b/model_get_wallet_asset_details_e401.go @@ -24,12 +24,16 @@ type GetWalletAssetDetailsE401 struct { // InvalidApiKeyAsGetWalletAssetDetailsE401 is a convenience function that returns InvalidApiKey wrapped in GetWalletAssetDetailsE401 func InvalidApiKeyAsGetWalletAssetDetailsE401(v *InvalidApiKey) GetWalletAssetDetailsE401 { - return GetWalletAssetDetailsE401{ InvalidApiKey: v} + return GetWalletAssetDetailsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetWalletAssetDetailsE401 is a convenience function that returns MissingApiKey wrapped in GetWalletAssetDetailsE401 func MissingApiKeyAsGetWalletAssetDetailsE401(v *MissingApiKey) GetWalletAssetDetailsE401 { - return GetWalletAssetDetailsE401{ MissingApiKey: v} + return GetWalletAssetDetailsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetWalletAssetDetailsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetWalletAssetDetailsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetWalletAssetDetailsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetWalletAssetDetailsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_wallet_asset_details_e403.go b/model_get_wallet_asset_details_e403.go index a17a9a0..61a90b8 100644 --- a/model_get_wallet_asset_details_e403.go +++ b/model_get_wallet_asset_details_e403.go @@ -26,22 +26,30 @@ type GetWalletAssetDetailsE403 struct { // BannedIpAddressAsGetWalletAssetDetailsE403 is a convenience function that returns BannedIpAddress wrapped in GetWalletAssetDetailsE403 func BannedIpAddressAsGetWalletAssetDetailsE403(v *BannedIpAddress) GetWalletAssetDetailsE403 { - return GetWalletAssetDetailsE403{ BannedIpAddress: v} + return GetWalletAssetDetailsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetWalletAssetDetailsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetWalletAssetDetailsE403 func EndpointNotAllowedForApiKeyAsGetWalletAssetDetailsE403(v *EndpointNotAllowedForApiKey) GetWalletAssetDetailsE403 { - return GetWalletAssetDetailsE403{ EndpointNotAllowedForApiKey: v} + return GetWalletAssetDetailsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetWalletAssetDetailsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetWalletAssetDetailsE403 func EndpointNotAllowedForPlanAsGetWalletAssetDetailsE403(v *EndpointNotAllowedForPlan) GetWalletAssetDetailsE403 { - return GetWalletAssetDetailsE403{ EndpointNotAllowedForPlan: v} + return GetWalletAssetDetailsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetWalletAssetDetailsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetWalletAssetDetailsE403 func FeatureMainnetsNotAllowedForPlanAsGetWalletAssetDetailsE403(v *FeatureMainnetsNotAllowedForPlan) GetWalletAssetDetailsE403 { - return GetWalletAssetDetailsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetWalletAssetDetailsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetWalletAssetDetailsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetWalletAssetDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetWalletAssetDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetWalletAssetDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetWalletAssetDetailsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetWalletAssetDetailsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_wallet_asset_details_r.go b/model_get_wallet_asset_details_r.go index 89278fc..1fa9444 100644 --- a/model_get_wallet_asset_details_r.go +++ b/model_get_wallet_asset_details_r.go @@ -59,7 +59,7 @@ func (o *GetWalletAssetDetailsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetWalletAssetDetailsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetWalletAssetDetailsR) GetData() GetWalletAssetDetailsRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsR) GetDataOk() (*GetWalletAssetDetailsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_wallet_asset_details_r_data.go b/model_get_wallet_asset_details_r_data.go index 3efa090..7761be6 100644 --- a/model_get_wallet_asset_details_r_data.go +++ b/model_get_wallet_asset_details_r_data.go @@ -51,7 +51,7 @@ func (o *GetWalletAssetDetailsRData) GetItem() GetWalletAssetDetailsRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRData) GetItemOk() (*GetWalletAssetDetailsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_wallet_asset_details_ri.go b/model_get_wallet_asset_details_ri.go index 7c1826d..de51883 100644 --- a/model_get_wallet_asset_details_ri.go +++ b/model_get_wallet_asset_details_ri.go @@ -67,7 +67,7 @@ func (o *GetWalletAssetDetailsRI) GetConfirmedBalance() GetWalletAssetDetailsRIC // GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRI) GetConfirmedBalanceOk() (*GetWalletAssetDetailsRIConfirmedBalance, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmedBalance, true @@ -91,7 +91,7 @@ func (o *GetWalletAssetDetailsRI) GetDepositAddressesCount() int32 { // GetDepositAddressesCountOk returns a tuple with the DepositAddressesCount field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRI) GetDepositAddressesCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DepositAddressesCount, true @@ -114,11 +114,11 @@ func (o *GetWalletAssetDetailsRI) GetFungibleTokens() []GetWalletAssetDetailsRIF // GetFungibleTokensOk returns a tuple with the FungibleTokens field value // and a boolean to check if the value has been set. -func (o *GetWalletAssetDetailsRI) GetFungibleTokensOk() (*[]GetWalletAssetDetailsRIFungibleTokens, bool) { - if o == nil { +func (o *GetWalletAssetDetailsRI) GetFungibleTokensOk() ([]GetWalletAssetDetailsRIFungibleTokens, bool) { + if o == nil { return nil, false } - return &o.FungibleTokens, true + return o.FungibleTokens, true } // SetFungibleTokens sets field value @@ -139,7 +139,7 @@ func (o *GetWalletAssetDetailsRI) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRI) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -162,11 +162,11 @@ func (o *GetWalletAssetDetailsRI) GetNonFungibleTokens() []GetWalletAssetDetails // GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field value // and a boolean to check if the value has been set. -func (o *GetWalletAssetDetailsRI) GetNonFungibleTokensOk() (*[]GetWalletAssetDetailsRINonFungibleTokens, bool) { - if o == nil { +func (o *GetWalletAssetDetailsRI) GetNonFungibleTokensOk() ([]GetWalletAssetDetailsRINonFungibleTokens, bool) { + if o == nil { return nil, false } - return &o.NonFungibleTokens, true + return o.NonFungibleTokens, true } // SetNonFungibleTokens sets field value @@ -187,7 +187,7 @@ func (o *GetWalletAssetDetailsRI) GetRecievedConfirmedAmount() GetWalletAssetDet // GetRecievedConfirmedAmountOk returns a tuple with the RecievedConfirmedAmount field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRI) GetRecievedConfirmedAmountOk() (*GetWalletAssetDetailsRIRecievedConfirmedAmount, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RecievedConfirmedAmount, true @@ -211,7 +211,7 @@ func (o *GetWalletAssetDetailsRI) GetSentConfirmedAmount() GetWalletAssetDetails // GetSentConfirmedAmountOk returns a tuple with the SentConfirmedAmount field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRI) GetSentConfirmedAmountOk() (*GetWalletAssetDetailsRISentConfirmedAmount, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SentConfirmedAmount, true diff --git a/model_get_wallet_asset_details_ri_confirmed_balance.go b/model_get_wallet_asset_details_ri_confirmed_balance.go index 9558b7f..1fd05df 100644 --- a/model_get_wallet_asset_details_ri_confirmed_balance.go +++ b/model_get_wallet_asset_details_ri_confirmed_balance.go @@ -55,7 +55,7 @@ func (o *GetWalletAssetDetailsRIConfirmedBalance) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRIConfirmedBalance) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetWalletAssetDetailsRIConfirmedBalance) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRIConfirmedBalance) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_wallet_asset_details_ri_fungible_tokens.go b/model_get_wallet_asset_details_ri_fungible_tokens.go index 6cdf620..bedead8 100644 --- a/model_get_wallet_asset_details_ri_fungible_tokens.go +++ b/model_get_wallet_asset_details_ri_fungible_tokens.go @@ -61,7 +61,7 @@ func (o *GetWalletAssetDetailsRIFungibleTokens) GetConfirmedAmount() string { // GetConfirmedAmountOk returns a tuple with the ConfirmedAmount field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRIFungibleTokens) GetConfirmedAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmedAmount, true @@ -85,7 +85,7 @@ func (o *GetWalletAssetDetailsRIFungibleTokens) GetIdentifier() string { // GetIdentifierOk returns a tuple with the Identifier field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRIFungibleTokens) GetIdentifierOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Identifier, true @@ -109,7 +109,7 @@ func (o *GetWalletAssetDetailsRIFungibleTokens) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRIFungibleTokens) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -133,7 +133,7 @@ func (o *GetWalletAssetDetailsRIFungibleTokens) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRIFungibleTokens) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_wallet_asset_details_ri_non_fungible_tokens.go b/model_get_wallet_asset_details_ri_non_fungible_tokens.go index ac45654..5d6011c 100644 --- a/model_get_wallet_asset_details_ri_non_fungible_tokens.go +++ b/model_get_wallet_asset_details_ri_non_fungible_tokens.go @@ -61,7 +61,7 @@ func (o *GetWalletAssetDetailsRINonFungibleTokens) GetIdentifier() string { // GetIdentifierOk returns a tuple with the Identifier field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRINonFungibleTokens) GetIdentifierOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Identifier, true @@ -85,7 +85,7 @@ func (o *GetWalletAssetDetailsRINonFungibleTokens) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRINonFungibleTokens) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -109,7 +109,7 @@ func (o *GetWalletAssetDetailsRINonFungibleTokens) GetTokenId() string { // GetTokenIdOk returns a tuple with the TokenId field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRINonFungibleTokens) GetTokenIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenId, true @@ -133,7 +133,7 @@ func (o *GetWalletAssetDetailsRINonFungibleTokens) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRINonFungibleTokens) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_wallet_asset_details_ri_recieved_confirmed_amount.go b/model_get_wallet_asset_details_ri_recieved_confirmed_amount.go index 7996ed3..6f01dbd 100644 --- a/model_get_wallet_asset_details_ri_recieved_confirmed_amount.go +++ b/model_get_wallet_asset_details_ri_recieved_confirmed_amount.go @@ -55,7 +55,7 @@ func (o *GetWalletAssetDetailsRIRecievedConfirmedAmount) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRIRecievedConfirmedAmount) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetWalletAssetDetailsRIRecievedConfirmedAmount) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRIRecievedConfirmedAmount) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_wallet_asset_details_ri_sent_confirmed_amount.go b/model_get_wallet_asset_details_ri_sent_confirmed_amount.go index ca13e81..85d81dc 100644 --- a/model_get_wallet_asset_details_ri_sent_confirmed_amount.go +++ b/model_get_wallet_asset_details_ri_sent_confirmed_amount.go @@ -55,7 +55,7 @@ func (o *GetWalletAssetDetailsRISentConfirmedAmount) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRISentConfirmedAmount) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetWalletAssetDetailsRISentConfirmedAmount) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetWalletAssetDetailsRISentConfirmedAmount) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_wallet_transaction_details_by_transaction_ide400.go b/model_get_wallet_transaction_details_by_transaction_ide400.go index 3e8a239..9c731c9 100644 --- a/model_get_wallet_transaction_details_by_transaction_ide400.go +++ b/model_get_wallet_transaction_details_by_transaction_ide400.go @@ -25,17 +25,23 @@ type GetWalletTransactionDetailsByTransactionIDE400 struct { // InvalidPaginationAsGetWalletTransactionDetailsByTransactionIDE400 is a convenience function that returns InvalidPagination wrapped in GetWalletTransactionDetailsByTransactionIDE400 func InvalidPaginationAsGetWalletTransactionDetailsByTransactionIDE400(v *InvalidPagination) GetWalletTransactionDetailsByTransactionIDE400 { - return GetWalletTransactionDetailsByTransactionIDE400{ InvalidPagination: v} + return GetWalletTransactionDetailsByTransactionIDE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetWalletTransactionDetailsByTransactionIDE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetWalletTransactionDetailsByTransactionIDE400 func LimitGreaterThanAllowedAsGetWalletTransactionDetailsByTransactionIDE400(v *LimitGreaterThanAllowed) GetWalletTransactionDetailsByTransactionIDE400 { - return GetWalletTransactionDetailsByTransactionIDE400{ LimitGreaterThanAllowed: v} + return GetWalletTransactionDetailsByTransactionIDE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetWalletTransactionDetailsByTransactionIDE400 is a convenience function that returns UriNotFound wrapped in GetWalletTransactionDetailsByTransactionIDE400 func UriNotFoundAsGetWalletTransactionDetailsByTransactionIDE400(v *UriNotFound) GetWalletTransactionDetailsByTransactionIDE400 { - return GetWalletTransactionDetailsByTransactionIDE400{ UriNotFound: v} + return GetWalletTransactionDetailsByTransactionIDE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE400) UnmarshalJSON(data [] var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE400) UnmarshalJSON(data [] } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE400) UnmarshalJSON(data [] } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetWalletTransactionDetailsByTransactionIDE400) MarshalJSON() ([]byte, // Get the actual instance func (obj *GetWalletTransactionDetailsByTransactionIDE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_wallet_transaction_details_by_transaction_ide401.go b/model_get_wallet_transaction_details_by_transaction_ide401.go index e1a7a92..87215c5 100644 --- a/model_get_wallet_transaction_details_by_transaction_ide401.go +++ b/model_get_wallet_transaction_details_by_transaction_ide401.go @@ -24,12 +24,16 @@ type GetWalletTransactionDetailsByTransactionIDE401 struct { // InvalidApiKeyAsGetWalletTransactionDetailsByTransactionIDE401 is a convenience function that returns InvalidApiKey wrapped in GetWalletTransactionDetailsByTransactionIDE401 func InvalidApiKeyAsGetWalletTransactionDetailsByTransactionIDE401(v *InvalidApiKey) GetWalletTransactionDetailsByTransactionIDE401 { - return GetWalletTransactionDetailsByTransactionIDE401{ InvalidApiKey: v} + return GetWalletTransactionDetailsByTransactionIDE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetWalletTransactionDetailsByTransactionIDE401 is a convenience function that returns MissingApiKey wrapped in GetWalletTransactionDetailsByTransactionIDE401 func MissingApiKeyAsGetWalletTransactionDetailsByTransactionIDE401(v *MissingApiKey) GetWalletTransactionDetailsByTransactionIDE401 { - return GetWalletTransactionDetailsByTransactionIDE401{ MissingApiKey: v} + return GetWalletTransactionDetailsByTransactionIDE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE401) UnmarshalJSON(data [] var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE401) UnmarshalJSON(data [] } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetWalletTransactionDetailsByTransactionIDE401) MarshalJSON() ([]byte, // Get the actual instance func (obj *GetWalletTransactionDetailsByTransactionIDE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_wallet_transaction_details_by_transaction_ide403.go b/model_get_wallet_transaction_details_by_transaction_ide403.go index 6885059..ee4a3e6 100644 --- a/model_get_wallet_transaction_details_by_transaction_ide403.go +++ b/model_get_wallet_transaction_details_by_transaction_ide403.go @@ -26,22 +26,30 @@ type GetWalletTransactionDetailsByTransactionIDE403 struct { // BannedIpAddressAsGetWalletTransactionDetailsByTransactionIDE403 is a convenience function that returns BannedIpAddress wrapped in GetWalletTransactionDetailsByTransactionIDE403 func BannedIpAddressAsGetWalletTransactionDetailsByTransactionIDE403(v *BannedIpAddress) GetWalletTransactionDetailsByTransactionIDE403 { - return GetWalletTransactionDetailsByTransactionIDE403{ BannedIpAddress: v} + return GetWalletTransactionDetailsByTransactionIDE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetWalletTransactionDetailsByTransactionIDE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetWalletTransactionDetailsByTransactionIDE403 func EndpointNotAllowedForApiKeyAsGetWalletTransactionDetailsByTransactionIDE403(v *EndpointNotAllowedForApiKey) GetWalletTransactionDetailsByTransactionIDE403 { - return GetWalletTransactionDetailsByTransactionIDE403{ EndpointNotAllowedForApiKey: v} + return GetWalletTransactionDetailsByTransactionIDE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetWalletTransactionDetailsByTransactionIDE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetWalletTransactionDetailsByTransactionIDE403 func EndpointNotAllowedForPlanAsGetWalletTransactionDetailsByTransactionIDE403(v *EndpointNotAllowedForPlan) GetWalletTransactionDetailsByTransactionIDE403 { - return GetWalletTransactionDetailsByTransactionIDE403{ EndpointNotAllowedForPlan: v} + return GetWalletTransactionDetailsByTransactionIDE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetWalletTransactionDetailsByTransactionIDE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetWalletTransactionDetailsByTransactionIDE403 func FeatureMainnetsNotAllowedForPlanAsGetWalletTransactionDetailsByTransactionIDE403(v *FeatureMainnetsNotAllowedForPlan) GetWalletTransactionDetailsByTransactionIDE403 { - return GetWalletTransactionDetailsByTransactionIDE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetWalletTransactionDetailsByTransactionIDE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE403) UnmarshalJSON(data [] var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE403) UnmarshalJSON(data [] } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE403) UnmarshalJSON(data [] } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDE403) UnmarshalJSON(data [] } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetWalletTransactionDetailsByTransactionIDE403) MarshalJSON() ([]byte, // Get the actual instance func (obj *GetWalletTransactionDetailsByTransactionIDE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_wallet_transaction_details_by_transaction_idr.go b/model_get_wallet_transaction_details_by_transaction_idr.go index 8d27c3e..8d05754 100644 --- a/model_get_wallet_transaction_details_by_transaction_idr.go +++ b/model_get_wallet_transaction_details_by_transaction_idr.go @@ -59,7 +59,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDR) GetData() GetWalletTransac // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDR) GetDataOk() (*GetWalletTransactionDetailsByTransactionIDRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_wallet_transaction_details_by_transaction_idr_data.go b/model_get_wallet_transaction_details_by_transaction_idr_data.go index 8aa69a2..e8565ca 100644 --- a/model_get_wallet_transaction_details_by_transaction_idr_data.go +++ b/model_get_wallet_transaction_details_by_transaction_idr_data.go @@ -51,7 +51,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRData) GetItem() GetWalletTra // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRData) GetItemOk() (*GetWalletTransactionDetailsByTransactionIDRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_wallet_transaction_details_by_transaction_idri.go b/model_get_wallet_transaction_details_by_transaction_idri.go index 9650741..c5b9522 100644 --- a/model_get_wallet_transaction_details_by_transaction_idri.go +++ b/model_get_wallet_transaction_details_by_transaction_idri.go @@ -78,7 +78,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -102,7 +102,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetIsConfirmed() bool { // GetIsConfirmedOk returns a tuple with the IsConfirmed field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRI) GetIsConfirmedOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsConfirmed, true @@ -189,11 +189,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetRecipients() []GetWall // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRI) GetRecipientsOk() (*[]GetWalletTransactionDetailsByTransactionIDRIRecipients, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRI) GetRecipientsOk() ([]GetWalletTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -213,11 +213,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetSenders() []GetWalletT // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRI) GetSendersOk() (*[]GetWalletTransactionDetailsByTransactionIDRISenders, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRI) GetSendersOk() ([]GetWalletTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -238,7 +238,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -262,7 +262,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetTransactionHash() stri // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -286,7 +286,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetTransactionId() string // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -310,7 +310,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetFee() GetWalletTransac // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRI) GetFeeOk() (*GetWalletTransactionDetailsByTransactionIDRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -334,7 +334,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRI) GetBlockchainSpecific() G // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRI) GetBlockchainSpecificOk() (*GetWalletTransactionDetailsByTransactionIDRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_get_wallet_transaction_details_by_transaction_idri_fee.go b/model_get_wallet_transaction_details_by_transaction_idri_fee.go index db9d970..e019572 100644 --- a/model_get_wallet_transaction_details_by_transaction_idri_fee.go +++ b/model_get_wallet_transaction_details_by_transaction_idri_fee.go @@ -54,7 +54,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -78,7 +78,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_wallet_transaction_details_by_transaction_idri_recipients.go b/model_get_wallet_transaction_details_by_transaction_idri_recipients.go index 1f29120..de1a245 100644 --- a/model_get_wallet_transaction_details_by_transaction_idri_recipients.go +++ b/model_get_wallet_transaction_details_by_transaction_idri_recipients.go @@ -55,7 +55,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIRecipients) GetAddress() st // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIRecipients) GetAmount() str // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_wallet_transaction_details_by_transaction_idri_senders.go b/model_get_wallet_transaction_details_by_transaction_idri_senders.go index ada3f21..17afa68 100644 --- a/model_get_wallet_transaction_details_by_transaction_idri_senders.go +++ b/model_get_wallet_transaction_details_by_transaction_idri_senders.go @@ -55,7 +55,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRISenders) GetAddress() strin // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRISenders) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribs.go b/model_get_wallet_transaction_details_by_transaction_idribs.go index 05bf50c..988915f 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribs.go +++ b/model_get_wallet_transaction_details_by_transaction_idribs.go @@ -31,47 +31,65 @@ type GetWalletTransactionDetailsByTransactionIDRIBS struct { // GetWalletTransactionDetailsByTransactionIDRIBSBAsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSB wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSBAsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSB) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSB: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSB: v, + } } // GetWalletTransactionDetailsByTransactionIDRIBSBCAsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSBC wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSBCAsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSBC: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSBC: v, + } } // GetWalletTransactionDetailsByTransactionIDRIBSBSCAsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSBSC wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSBSCAsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSBSC: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSBSC: v, + } } // GetWalletTransactionDetailsByTransactionIDRIBSDAsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSD wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSDAsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSD) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSD: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSD: v, + } } // GetWalletTransactionDetailsByTransactionIDRIBSD2AsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSD2 wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSD2AsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSD2: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSD2: v, + } } // GetWalletTransactionDetailsByTransactionIDRIBSEAsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSE wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSEAsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSE) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSE: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSE: v, + } } // GetWalletTransactionDetailsByTransactionIDRIBSECAsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSEC wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSECAsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSEC: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSEC: v, + } } // GetWalletTransactionDetailsByTransactionIDRIBSLAsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSL wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSLAsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSL) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSL: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSL: v, + } } // GetWalletTransactionDetailsByTransactionIDRIBSZAsGetWalletTransactionDetailsByTransactionIDRIBS is a convenience function that returns GetWalletTransactionDetailsByTransactionIDRIBSZ wrapped in GetWalletTransactionDetailsByTransactionIDRIBS func GetWalletTransactionDetailsByTransactionIDRIBSZAsGetWalletTransactionDetailsByTransactionIDRIBS(v *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetWalletTransactionDetailsByTransactionIDRIBS { - return GetWalletTransactionDetailsByTransactionIDRIBS{ GetWalletTransactionDetailsByTransactionIDRIBSZ: v} + return GetWalletTransactionDetailsByTransactionIDRIBS{ + GetWalletTransactionDetailsByTransactionIDRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] var err error match := 0 // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSB - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSB) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSB) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSB, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSB) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] } // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSBC - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSBC) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSBC) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSBC, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSBC) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] } // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSBSC - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSBSC) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSBSC, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSBSC) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] } // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSD - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSD) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSD) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSD, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSD) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] } // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSD2 - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSD2) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSD2) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSD2, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSD2) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] } // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSE - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSE) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSE) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSE, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSE) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] } // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSEC - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSEC) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSEC) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSEC, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSEC) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] } // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSL - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSL) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSL) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSL, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSL) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *GetWalletTransactionDetailsByTransactionIDRIBS) UnmarshalJSON(data [] } // try to unmarshal data into GetWalletTransactionDetailsByTransactionIDRIBSZ - err = json.Unmarshal(data, &dst.GetWalletTransactionDetailsByTransactionIDRIBSZ) + err = newStrictDecoder(data).Decode(&dst.GetWalletTransactionDetailsByTransactionIDRIBSZ) if err == nil { jsonGetWalletTransactionDetailsByTransactionIDRIBSZ, _ := json.Marshal(dst.GetWalletTransactionDetailsByTransactionIDRIBSZ) if string(jsonGetWalletTransactionDetailsByTransactionIDRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src GetWalletTransactionDetailsByTransactionIDRIBS) MarshalJSON() ([]byte, // Get the actual instance func (obj *GetWalletTransactionDetailsByTransactionIDRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.GetWalletTransactionDetailsByTransactionIDRIBSB != nil { return obj.GetWalletTransactionDetailsByTransactionIDRIBSB } diff --git a/model_get_wallet_transaction_details_by_transaction_idribsb.go b/model_get_wallet_transaction_details_by_transaction_idribsb.go index b5562b2..b1913ff 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsb.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsb.go @@ -18,7 +18,7 @@ import ( // GetWalletTransactionDetailsByTransactionIDRIBSB Bitcoin type GetWalletTransactionDetailsByTransactionIDRIBSB struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSB struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSB(locktime int32, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSBVin, vout []GetWalletTransactionDetailsByTransactionIDRIBSBVout) *GetWalletTransactionDetailsByTransactionIDRIBSB { +func NewGetWalletTransactionDetailsByTransactionIDRIBSB(locktime int64, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSBVin, vout []GetWalletTransactionDetailsByTransactionIDRIBSBVout) *GetWalletTransactionDetailsByTransactionIDRIBSB { this := GetWalletTransactionDetailsByTransactionIDRIBSB{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewGetWalletTransactionDetailsByTransactionIDRIBSBWithDefaults() *GetWallet } // GetLocktime returns the Locktime field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktime() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) SetLocktime(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVin() []GetWalletTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVinOk() (*[]GetWalletTransactionDetailsByTransactionIDRIBSBVin, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVinOk() ([]GetWalletTransactionDetailsByTransactionIDRIBSBVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVout() []GetWalletT // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVoutOk() (*[]GetWalletTransactionDetailsByTransactionIDRIBSBVout, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSB) GetVoutOk() ([]GetWalletTransactionDetailsByTransactionIDRIBSBVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_wallet_transaction_details_by_transaction_idribsb_script_pub_key.go b/model_get_wallet_transaction_details_by_transaction_idribsb_script_pub_key.go index ce9b32d..b9126f0 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsb_script_pub_key.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsb_script_pub_key.go @@ -62,11 +62,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAddress // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAsm() s // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetHex() s // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetReqSigs // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetType() // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsb_script_sig.go b/model_get_wallet_transaction_details_by_transaction_idribsb_script_sig.go index 17889d2..6f65751 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsb_script_sig.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsb_script_sig.go @@ -58,7 +58,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig) GetAsm() stri // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig) GetHex() stri // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig) GetType() str // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsb_vin.go b/model_get_wallet_transaction_details_by_transaction_idribsb_vin.go index b5ce1b1..1bc5f97 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsb_vin.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsb_vin.go @@ -22,10 +22,10 @@ type GetWalletTransactionDetailsByTransactionIDRIBSBVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Represents the sent/received amount. Value *string `json:"value,omitempty"` // It refers to the index of the output address of this transaction. The index starts from 0. @@ -36,7 +36,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSBVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSBVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int32, txid string, vout int32) *GetWalletTransactionDetailsByTransactionIDRIBSBVin { +func NewGetWalletTransactionDetailsByTransactionIDRIBSBVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig, sequence int64, txid string, vout int32) *GetWalletTransactionDetailsByTransactionIDRIBSBVin { this := GetWalletTransactionDetailsByTransactionIDRIBSBVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -66,11 +66,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetAddresses() []st // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -123,7 +123,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetScriptSig() GetW // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetScriptSigOk() (*GetWalletTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -135,9 +135,9 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) SetScriptSig(v GetW } // GetSequence returns the Sequence field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -146,15 +146,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequence() int32 // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) SetSequence(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) SetSequence(v int64) { o.Sequence = v } @@ -171,7 +171,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -188,12 +188,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetTxinwitness() [] var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetTxinwitnessOk() (*[]string, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -211,7 +211,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) HasTxinwitness() bo // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value if set, zero value otherwise. @@ -259,7 +259,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsb_vout.go b/model_get_wallet_transaction_details_by_transaction_idribsb_vout.go index c76daa1..cb8170a 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsb_vout.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsb_vout.go @@ -57,7 +57,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVout) GetIsSpent() bool // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVout) GetScriptPubKey() // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVout) GetScriptPubKeyOk() (*GetWalletTransactionDetailsByTransactionIDRIBSBScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVout) GetValue() string // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsbc.go b/model_get_wallet_transaction_details_by_transaction_idribsbc.go index f27e09f..1b5052c 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsbc.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsbc.go @@ -18,7 +18,7 @@ import ( // GetWalletTransactionDetailsByTransactionIDRIBSBC Bitcoin Cash type GetWalletTransactionDetailsByTransactionIDRIBSBC struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction version number. @@ -33,7 +33,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSBC struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSBC(locktime int32, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSBCVin, vout []GetWalletTransactionDetailsByTransactionIDRIBSBCVout) *GetWalletTransactionDetailsByTransactionIDRIBSBC { +func NewGetWalletTransactionDetailsByTransactionIDRIBSBC(locktime int64, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSBCVin, vout []GetWalletTransactionDetailsByTransactionIDRIBSBCVout) *GetWalletTransactionDetailsByTransactionIDRIBSBC { this := GetWalletTransactionDetailsByTransactionIDRIBSBC{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetWalletTransactionDetailsByTransactionIDRIBSBCWithDefaults() *GetWalle } // GetLocktime returns the Locktime field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) SetLocktime(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetVin() []GetWalletT // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetVinOk() (*[]GetWalletTransactionDetailsByTransactionIDRIBSBCVin, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetVinOk() ([]GetWalletTransactionDetailsByTransactionIDRIBSBCVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetVout() []GetWallet // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetVoutOk() (*[]GetWalletTransactionDetailsByTransactionIDRIBSBCVout, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBC) GetVoutOk() ([]GetWalletTransactionDetailsByTransactionIDRIBSBCVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_wallet_transaction_details_by_transaction_idribsbc_script_pub_key.go b/model_get_wallet_transaction_details_by_transaction_idribsbc_script_pub_key.go index 09fec43..a27b20e 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsbc_script_pub_key.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsbc_script_pub_key.go @@ -62,11 +62,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAddres // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAsm() // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetHex() // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetReqSig // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetType() // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsbc_script_sig.go b/model_get_wallet_transaction_details_by_transaction_idribsbc_script_sig.go index e09f080..0f62e4e 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsbc_script_sig.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsbc_script_sig.go @@ -58,7 +58,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig) GetAsm() str // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig) GetHex() str // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig) GetType() st // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsbc_vin.go b/model_get_wallet_transaction_details_by_transaction_idribsbc_vin.go index 5374efa..ea03f54 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsbc_vin.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsbc_vin.go @@ -22,10 +22,10 @@ type GetWalletTransactionDetailsByTransactionIDRIBSBCVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Represents the sent/received amount. Value *string `json:"value,omitempty"` // It refers to the index of the output address of this transaction. The index starts from 0. @@ -36,7 +36,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSBCVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSBCVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig, sequence int32, txid string) *GetWalletTransactionDetailsByTransactionIDRIBSBCVin { +func NewGetWalletTransactionDetailsByTransactionIDRIBSBCVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig, sequence int64, txid string) *GetWalletTransactionDetailsByTransactionIDRIBSBCVin { this := GetWalletTransactionDetailsByTransactionIDRIBSBCVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetAddresses() []s // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -122,7 +122,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetScriptSig() Get // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetScriptSigOk() (*GetWalletTransactionDetailsByTransactionIDRIBSBCScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -134,9 +134,9 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) SetScriptSig(v Get } // GetSequence returns the Sequence field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -145,15 +145,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequence() int3 // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) SetSequence(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) SetSequence(v int64) { o.Sequence = v } @@ -170,7 +170,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -187,12 +187,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetTxinwitness() [ var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetTxinwitnessOk() (*[]string, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -210,7 +210,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) HasTxinwitness() b // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value if set, zero value otherwise. diff --git a/model_get_wallet_transaction_details_by_transaction_idribsbc_vout.go b/model_get_wallet_transaction_details_by_transaction_idribsbc_vout.go index 2c459cb..c4cf024 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsbc_vout.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsbc_vout.go @@ -57,7 +57,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVout) GetIsSpent() bool // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVout) GetScriptPubKey() // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVout) GetScriptPubKeyOk() (*GetWalletTransactionDetailsByTransactionIDRIBSBCScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVout) GetValue() string // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBCVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsbsc.go b/model_get_wallet_transaction_details_by_transaction_idribsbsc.go index 081554e..7a9835a 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsbsc.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsbsc.go @@ -66,7 +66,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetContract() string // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -90,7 +90,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetGasLimit() string // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -114,7 +114,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetGasPrice() GetTra // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSBSCGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -138,7 +138,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetGasUsed() string // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -162,7 +162,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetInputData() strin // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -186,7 +186,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSBSC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsd.go b/model_get_wallet_transaction_details_by_transaction_idribsd.go index 087942b..44eeba2 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsd.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsd.go @@ -18,7 +18,7 @@ import ( // GetWalletTransactionDetailsByTransactionIDRIBSD Dogecoin type GetWalletTransactionDetailsByTransactionIDRIBSD struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction version number. @@ -33,7 +33,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSD struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSD(locktime int32, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *GetWalletTransactionDetailsByTransactionIDRIBSD { +func NewGetWalletTransactionDetailsByTransactionIDRIBSD(locktime int64, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *GetWalletTransactionDetailsByTransactionIDRIBSD { this := GetWalletTransactionDetailsByTransactionIDRIBSD{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetWalletTransactionDetailsByTransactionIDRIBSDWithDefaults() *GetWallet } // GetLocktime returns the Locktime field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktime() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) SetLocktime(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetVin() []GetWalletTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetVinOk() (*[]GetWalletTransactionDetailsByTransactionIDRIBSDVin, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetVinOk() ([]GetWalletTransactionDetailsByTransactionIDRIBSDVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetVout() []GetTransac // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_wallet_transaction_details_by_transaction_idribsd2.go b/model_get_wallet_transaction_details_by_transaction_idribsd2.go index 49e986c..557856c 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsd2.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsd2.go @@ -18,7 +18,7 @@ import ( // GetWalletTransactionDetailsByTransactionIDRIBSD2 Dash type GetWalletTransactionDetailsByTransactionIDRIBSD2 struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction version number. @@ -33,7 +33,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSD2 struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSD2(locktime int32, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout) *GetWalletTransactionDetailsByTransactionIDRIBSD2 { +func NewGetWalletTransactionDetailsByTransactionIDRIBSD2(locktime int64, size int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSD2Vin, vout []GetTransactionDetailsByTransactionIDRIBSD2Vout) *GetWalletTransactionDetailsByTransactionIDRIBSD2 { this := GetWalletTransactionDetailsByTransactionIDRIBSD2{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewGetWalletTransactionDetailsByTransactionIDRIBSD2WithDefaults() *GetWalle } // GetLocktime returns the Locktime field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) SetLocktime(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetVin() []GetWalletT // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetVinOk() (*[]GetWalletTransactionDetailsByTransactionIDRIBSD2Vin, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetVinOk() ([]GetWalletTransactionDetailsByTransactionIDRIBSD2Vin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetVout() []GetTransa // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSD2Vout, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSD2Vout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_wallet_transaction_details_by_transaction_idribsd2_vin.go b/model_get_wallet_transaction_details_by_transaction_idribsd2_vin.go index a28e686..ece6d2e 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsd2_vin.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsd2_vin.go @@ -22,10 +22,10 @@ type GetWalletTransactionDetailsByTransactionIDRIBSD2Vin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Represents the sent/received amount. Value *string `json:"value,omitempty"` // It refers to the index of the output address of this transaction. The index starts from 0. @@ -36,7 +36,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSD2Vin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int32) *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin { +func NewGetWalletTransactionDetailsByTransactionIDRIBSD2Vin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, sequence int64) *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin { this := GetWalletTransactionDetailsByTransactionIDRIBSD2Vin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -64,11 +64,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetAddresses() []s // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -121,7 +121,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetScriptSig() Get // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSD2ScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -133,9 +133,9 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) SetScriptSig(v Get } // GetSequence returns the Sequence field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -144,15 +144,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequence() int3 // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) SetSequence(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) SetSequence(v int64) { o.Sequence = v } @@ -194,12 +194,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetTxinwitness() [ var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetTxinwitnessOk() (*[]string, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -217,7 +217,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) HasTxinwitness() b // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSD2Vin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value if set, zero value otherwise. diff --git a/model_get_wallet_transaction_details_by_transaction_idribsd_script_sig.go b/model_get_wallet_transaction_details_by_transaction_idribsd_script_sig.go index d7320fa..3f5f351 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsd_script_sig.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsd_script_sig.go @@ -58,7 +58,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig) GetAsm() stri // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig) GetHex() stri // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig) GetType() str // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsd_vin.go b/model_get_wallet_transaction_details_by_transaction_idribsd_vin.go index 5370029..cd1d939 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsd_vin.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsd_vin.go @@ -22,10 +22,10 @@ type GetWalletTransactionDetailsByTransactionIDRIBSDVin struct { Coinbase *string `json:"coinbase,omitempty"` ScriptSig GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Represents the sent/received amount. Value string `json:"value"` // It refers to the index of the output address of this transaction. The index starts from 0. @@ -36,7 +36,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSDVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSDVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int32, value string) *GetWalletTransactionDetailsByTransactionIDRIBSDVin { +func NewGetWalletTransactionDetailsByTransactionIDRIBSDVin(addresses []string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig, sequence int64, value string) *GetWalletTransactionDetailsByTransactionIDRIBSDVin { this := GetWalletTransactionDetailsByTransactionIDRIBSDVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetAddresses() []st // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -122,7 +122,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetScriptSig() GetW // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetScriptSigOk() (*GetWalletTransactionDetailsByTransactionIDRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -134,9 +134,9 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) SetScriptSig(v GetW } // GetSequence returns the Sequence field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -145,15 +145,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequence() int32 // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) SetSequence(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) SetSequence(v int64) { o.Sequence = v } @@ -195,12 +195,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetTxinwitness() [] var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetTxinwitnessOk() (*[]string, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -218,7 +218,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) HasTxinwitness() bo // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value @@ -234,7 +234,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSDVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribse.go b/model_get_wallet_transaction_details_by_transaction_idribse.go index 8f069ca..d9fc1a3 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribse.go +++ b/model_get_wallet_transaction_details_by_transaction_idribse.go @@ -69,7 +69,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -93,7 +93,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -117,7 +117,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetGasPrice() GetWalle // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetGasPriceOk() (*GetWalletTransactionDetailsByTransactionIDRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -141,7 +141,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -165,7 +165,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetInputData() string // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -189,7 +189,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -213,7 +213,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetTransactionStatus() // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSE) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribse_gas_price.go b/model_get_wallet_transaction_details_by_transaction_idribse_gas_price.go index e792dcc..9e06d15 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribse_gas_price.go +++ b/model_get_wallet_transaction_details_by_transaction_idribse_gas_price.go @@ -55,7 +55,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSEGasPrice) GetAmount() st // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSEGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSEGasPrice) GetUnit() stri // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSEGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsec.go b/model_get_wallet_transaction_details_by_transaction_idribsec.go index 752e347..fcd0eb4 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsec.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsec.go @@ -66,7 +66,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetContract() string // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -90,7 +90,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetGasLimit() string // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -114,7 +114,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetGasPrice() GetTran // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSECGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -138,7 +138,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -162,7 +162,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetInputData() string // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -186,7 +186,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSEC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsl.go b/model_get_wallet_transaction_details_by_transaction_idribsl.go index 0269a4c..258a03c 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsl.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsl.go @@ -18,7 +18,7 @@ import ( // GetWalletTransactionDetailsByTransactionIDRIBSL Litecoin type GetWalletTransactionDetailsByTransactionIDRIBSL struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSL struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSL(locktime int32, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *GetWalletTransactionDetailsByTransactionIDRIBSL { +func NewGetWalletTransactionDetailsByTransactionIDRIBSL(locktime int64, size int32, vSize int32, version int32, vin []GetWalletTransactionDetailsByTransactionIDRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *GetWalletTransactionDetailsByTransactionIDRIBSL { this := GetWalletTransactionDetailsByTransactionIDRIBSL{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewGetWalletTransactionDetailsByTransactionIDRIBSLWithDefaults() *GetWallet } // GetLocktime returns the Locktime field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktime() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) SetLocktime(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVin() []GetWalletTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVinOk() (*[]GetWalletTransactionDetailsByTransactionIDRIBSLVin, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVinOk() ([]GetWalletTransactionDetailsByTransactionIDRIBSLVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVout() []GetTransac // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSL) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_wallet_transaction_details_by_transaction_idribsl_script_sig.go b/model_get_wallet_transaction_details_by_transaction_idribsl_script_sig.go index be49803..263ee9b 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsl_script_sig.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsl_script_sig.go @@ -58,7 +58,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig) GetAsm() stri // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig) GetHex() stri // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig) GetType() str // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsl_vin.go b/model_get_wallet_transaction_details_by_transaction_idribsl_vin.go index 77e86b1..5fa19d0 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsl_vin.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsl_vin.go @@ -22,10 +22,10 @@ type GetWalletTransactionDetailsByTransactionIDRIBSLVin struct { Coinbase string `json:"coinbase"` ScriptSig GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Represents the sent/received amount. Value string `json:"value"` // It refers to the index of the output address of this transaction. The index starts from 0. @@ -36,7 +36,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSLVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSLVin(addresses []string, coinbase string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig, sequence int32, txid string, value string, vout int32) *GetWalletTransactionDetailsByTransactionIDRIBSLVin { +func NewGetWalletTransactionDetailsByTransactionIDRIBSLVin(addresses []string, coinbase string, scriptSig GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig, sequence int64, txid string, value string, vout int32) *GetWalletTransactionDetailsByTransactionIDRIBSLVin { this := GetWalletTransactionDetailsByTransactionIDRIBSLVin{} this.Addresses = addresses this.Coinbase = coinbase @@ -68,11 +68,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetAddresses() []st // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -93,7 +93,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetCoinbase() strin // GetCoinbaseOk returns a tuple with the Coinbase field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetCoinbaseOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Coinbase, true @@ -117,7 +117,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetScriptSig() GetW // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetScriptSigOk() (*GetWalletTransactionDetailsByTransactionIDRIBSLScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -129,9 +129,9 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) SetScriptSig(v GetW } // GetSequence returns the Sequence field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -140,15 +140,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequence() int32 // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) SetSequence(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) SetSequence(v int64) { o.Sequence = v } @@ -165,7 +165,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -182,12 +182,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetTxinwitness() [] var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetTxinwitnessOk() (*[]string, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -205,7 +205,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) HasTxinwitness() bo // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value @@ -221,7 +221,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -245,7 +245,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSLVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_get_wallet_transaction_details_by_transaction_idribsz.go b/model_get_wallet_transaction_details_by_transaction_idribsz.go index 96b1691..ba91f63 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsz.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsz.go @@ -26,17 +26,17 @@ type GetWalletTransactionDetailsByTransactionIDRIBSZ struct { // Is used to sign transactions that contain at least one JoinSplit description. JoinSplitSig string `json:"joinSplitSig"` // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // \"Overwinter\" is the network upgrade for the Zcash blockchain. Overwintered bool `json:"overwintered"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents a sequence of JoinSplit descriptions using BCTV14 proofs. - VJoinSplit *[]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit `json:"vJoinSplit,omitempty"` + VJoinSplit []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit `json:"vJoinSplit,omitempty"` // Object Array representation of transaction output descriptions - VShieldedOutput *[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput `json:"vShieldedOutput,omitempty"` + VShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput `json:"vShieldedOutput,omitempty"` // Object Array representation of transaction spend descriptions - VShieldedSpend *[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend `json:"vShieldedSpend,omitempty"` + VShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend `json:"vShieldedSpend,omitempty"` // String representation of the transaction value balance ValueBalance string `json:"valueBalance"` // Represents the transaction version number. @@ -53,7 +53,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSZ struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, valueBalance string, version int32, versionGroupId string, vin []GetWalletTransactionDetailsByTransactionIDRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout) *GetWalletTransactionDetailsByTransactionIDRIBSZ { +func NewGetWalletTransactionDetailsByTransactionIDRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, valueBalance string, version int32, versionGroupId string, vin []GetWalletTransactionDetailsByTransactionIDRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout) *GetWalletTransactionDetailsByTransactionIDRIBSZ { this := GetWalletTransactionDetailsByTransactionIDRIBSZ{} this.BindingSig = bindingSig this.ExpiryHeight = expiryHeight @@ -91,7 +91,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetBindingSig() string // GetBindingSigOk returns a tuple with the BindingSig field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetBindingSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BindingSig, true @@ -115,7 +115,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetExpiryHeight() int3 // GetExpiryHeightOk returns a tuple with the ExpiryHeight field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetExpiryHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExpiryHeight, true @@ -139,7 +139,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetJoinSplitPubKey() s // GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitPubKey, true @@ -163,7 +163,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetJoinSplitSig() stri // GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetJoinSplitSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitSig, true @@ -175,9 +175,9 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) SetJoinSplitSig(v stri } // GetLocktime returns the Locktime field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -186,15 +186,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) SetLocktime(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) SetLocktime(v int64) { o.Locktime = v } @@ -211,7 +211,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetOverwintered() bool // GetOverwinteredOk returns a tuple with the Overwintered field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetOverwinteredOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Overwintered, true @@ -235,7 +235,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -252,12 +252,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVJoinSplit() []GetT var ret []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit return ret } - return *o.VJoinSplit + return o.VJoinSplit } // GetVJoinSplitOk returns a tuple with the VJoinSplit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVJoinSplitOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVJoinSplitOk() ([]GetTransactionDetailsByTransactionIDRIBSZVJoinSplit, bool) { if o == nil || o.VJoinSplit == nil { return nil, false } @@ -275,7 +275,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) HasVJoinSplit() bool { // SetVJoinSplit gets a reference to the given []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit and assigns it to the VJoinSplit field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) SetVJoinSplit(v []GetTransactionDetailsByTransactionIDRIBSZVJoinSplit) { - o.VJoinSplit = &v + o.VJoinSplit = v } // GetVShieldedOutput returns the VShieldedOutput field value if set, zero value otherwise. @@ -284,12 +284,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVShieldedOutput() [ var ret []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput return ret } - return *o.VShieldedOutput + return o.VShieldedOutput } // GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVShieldedOutputOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { if o == nil || o.VShieldedOutput == nil { return nil, false } @@ -307,7 +307,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) HasVShieldedOutput() b // SetVShieldedOutput gets a reference to the given []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput and assigns it to the VShieldedOutput field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) SetVShieldedOutput(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) { - o.VShieldedOutput = &v + o.VShieldedOutput = v } // GetVShieldedSpend returns the VShieldedSpend field value if set, zero value otherwise. @@ -316,12 +316,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVShieldedSpend() [] var ret []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend return ret } - return *o.VShieldedSpend + return o.VShieldedSpend } // GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { if o == nil || o.VShieldedSpend == nil { return nil, false } @@ -339,7 +339,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) HasVShieldedSpend() bo // SetVShieldedSpend gets a reference to the given []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend and assigns it to the VShieldedSpend field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) SetVShieldedSpend(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) { - o.VShieldedSpend = &v + o.VShieldedSpend = v } // GetValueBalance returns the ValueBalance field value @@ -355,7 +355,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetValueBalance() stri // GetValueBalanceOk returns a tuple with the ValueBalance field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetValueBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ValueBalance, true @@ -379,7 +379,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -403,7 +403,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVersionGroupId() st // GetVersionGroupIdOk returns a tuple with the VersionGroupId field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVersionGroupIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionGroupId, true @@ -426,11 +426,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVin() []GetWalletTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVinOk() (*[]GetWalletTransactionDetailsByTransactionIDRIBSZVin, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVinOk() ([]GetWalletTransactionDetailsByTransactionIDRIBSZVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -450,11 +450,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVout() []ListTransa // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVoutOk() (*[]ListTransactionsByBlockHeightRIBSZVout, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZ) GetVoutOk() ([]ListTransactionsByBlockHeightRIBSZVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_get_wallet_transaction_details_by_transaction_idribsz_vin.go b/model_get_wallet_transaction_details_by_transaction_idribsz_vin.go index 15e8c55..6a8c1a3 100644 --- a/model_get_wallet_transaction_details_by_transaction_idribsz_vin.go +++ b/model_get_wallet_transaction_details_by_transaction_idribsz_vin.go @@ -20,10 +20,10 @@ type GetWalletTransactionDetailsByTransactionIDRIBSZVin struct { Addresses []string `json:"addresses"` ScriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Defines the specific amount. Value string `json:"value"` // It refers to the index of the output address of this transaction. The index starts from 0. @@ -34,7 +34,7 @@ type GetWalletTransactionDetailsByTransactionIDRIBSZVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetWalletTransactionDetailsByTransactionIDRIBSZVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int32, txid string, value string, vout int32) *GetWalletTransactionDetailsByTransactionIDRIBSZVin { +func NewGetWalletTransactionDetailsByTransactionIDRIBSZVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int64, txid string, value string, vout int32) *GetWalletTransactionDetailsByTransactionIDRIBSZVin { this := GetWalletTransactionDetailsByTransactionIDRIBSZVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetAddresses() []st // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -90,7 +90,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetScriptSig() GetT // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSZScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -102,9 +102,9 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) SetScriptSig(v GetT } // GetSequence returns the Sequence field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int32 { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -113,15 +113,15 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequence() int32 // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) SetSequence(v int32) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) SetSequence(v int64) { o.Sequence = v } @@ -138,7 +138,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -155,12 +155,12 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetTxinwitness() [] var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetTxinwitnessOk() (*[]string, bool) { +func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -178,7 +178,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) HasTxinwitness() bo // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value @@ -194,7 +194,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -218,7 +218,7 @@ func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *GetWalletTransactionDetailsByTransactionIDRIBSZVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_get_xrp_ripple_address_details_e400.go b/model_get_xrp_ripple_address_details_e400.go index 20e0ecd..a196138 100644 --- a/model_get_xrp_ripple_address_details_e400.go +++ b/model_get_xrp_ripple_address_details_e400.go @@ -25,17 +25,23 @@ type GetXRPRippleAddressDetailsE400 struct { // InvalidPaginationAsGetXRPRippleAddressDetailsE400 is a convenience function that returns InvalidPagination wrapped in GetXRPRippleAddressDetailsE400 func InvalidPaginationAsGetXRPRippleAddressDetailsE400(v *InvalidPagination) GetXRPRippleAddressDetailsE400 { - return GetXRPRippleAddressDetailsE400{ InvalidPagination: v} + return GetXRPRippleAddressDetailsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetXRPRippleAddressDetailsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetXRPRippleAddressDetailsE400 func LimitGreaterThanAllowedAsGetXRPRippleAddressDetailsE400(v *LimitGreaterThanAllowed) GetXRPRippleAddressDetailsE400 { - return GetXRPRippleAddressDetailsE400{ LimitGreaterThanAllowed: v} + return GetXRPRippleAddressDetailsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetXRPRippleAddressDetailsE400 is a convenience function that returns UriNotFound wrapped in GetXRPRippleAddressDetailsE400 func UriNotFoundAsGetXRPRippleAddressDetailsE400(v *UriNotFound) GetXRPRippleAddressDetailsE400 { - return GetXRPRippleAddressDetailsE400{ UriNotFound: v} + return GetXRPRippleAddressDetailsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetXRPRippleAddressDetailsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetXRPRippleAddressDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetXRPRippleAddressDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetXRPRippleAddressDetailsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetXRPRippleAddressDetailsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_xrp_ripple_address_details_e401.go b/model_get_xrp_ripple_address_details_e401.go index 44d7bf6..c33ef57 100644 --- a/model_get_xrp_ripple_address_details_e401.go +++ b/model_get_xrp_ripple_address_details_e401.go @@ -24,12 +24,16 @@ type GetXRPRippleAddressDetailsE401 struct { // InvalidApiKeyAsGetXRPRippleAddressDetailsE401 is a convenience function that returns InvalidApiKey wrapped in GetXRPRippleAddressDetailsE401 func InvalidApiKeyAsGetXRPRippleAddressDetailsE401(v *InvalidApiKey) GetXRPRippleAddressDetailsE401 { - return GetXRPRippleAddressDetailsE401{ InvalidApiKey: v} + return GetXRPRippleAddressDetailsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetXRPRippleAddressDetailsE401 is a convenience function that returns MissingApiKey wrapped in GetXRPRippleAddressDetailsE401 func MissingApiKeyAsGetXRPRippleAddressDetailsE401(v *MissingApiKey) GetXRPRippleAddressDetailsE401 { - return GetXRPRippleAddressDetailsE401{ MissingApiKey: v} + return GetXRPRippleAddressDetailsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetXRPRippleAddressDetailsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetXRPRippleAddressDetailsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetXRPRippleAddressDetailsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetXRPRippleAddressDetailsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_xrp_ripple_address_details_e403.go b/model_get_xrp_ripple_address_details_e403.go index 341f6a0..360ff5d 100644 --- a/model_get_xrp_ripple_address_details_e403.go +++ b/model_get_xrp_ripple_address_details_e403.go @@ -26,22 +26,30 @@ type GetXRPRippleAddressDetailsE403 struct { // BannedIpAddressAsGetXRPRippleAddressDetailsE403 is a convenience function that returns BannedIpAddress wrapped in GetXRPRippleAddressDetailsE403 func BannedIpAddressAsGetXRPRippleAddressDetailsE403(v *BannedIpAddress) GetXRPRippleAddressDetailsE403 { - return GetXRPRippleAddressDetailsE403{ BannedIpAddress: v} + return GetXRPRippleAddressDetailsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetXRPRippleAddressDetailsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetXRPRippleAddressDetailsE403 func EndpointNotAllowedForApiKeyAsGetXRPRippleAddressDetailsE403(v *EndpointNotAllowedForApiKey) GetXRPRippleAddressDetailsE403 { - return GetXRPRippleAddressDetailsE403{ EndpointNotAllowedForApiKey: v} + return GetXRPRippleAddressDetailsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetXRPRippleAddressDetailsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetXRPRippleAddressDetailsE403 func EndpointNotAllowedForPlanAsGetXRPRippleAddressDetailsE403(v *EndpointNotAllowedForPlan) GetXRPRippleAddressDetailsE403 { - return GetXRPRippleAddressDetailsE403{ EndpointNotAllowedForPlan: v} + return GetXRPRippleAddressDetailsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetXRPRippleAddressDetailsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetXRPRippleAddressDetailsE403 func FeatureMainnetsNotAllowedForPlanAsGetXRPRippleAddressDetailsE403(v *FeatureMainnetsNotAllowedForPlan) GetXRPRippleAddressDetailsE403 { - return GetXRPRippleAddressDetailsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetXRPRippleAddressDetailsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetXRPRippleAddressDetailsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetXRPRippleAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetXRPRippleAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetXRPRippleAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetXRPRippleAddressDetailsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetXRPRippleAddressDetailsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_xrp_ripple_address_details_r.go b/model_get_xrp_ripple_address_details_r.go index 0adf91e..cf690b2 100644 --- a/model_get_xrp_ripple_address_details_r.go +++ b/model_get_xrp_ripple_address_details_r.go @@ -59,7 +59,7 @@ func (o *GetXRPRippleAddressDetailsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetXRPRippleAddressDetailsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetXRPRippleAddressDetailsR) GetData() GetXRPRippleAddressDetailsRData // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsR) GetDataOk() (*GetXRPRippleAddressDetailsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_xrp_ripple_address_details_r_data.go b/model_get_xrp_ripple_address_details_r_data.go index 0a4b3f1..373f311 100644 --- a/model_get_xrp_ripple_address_details_r_data.go +++ b/model_get_xrp_ripple_address_details_r_data.go @@ -51,7 +51,7 @@ func (o *GetXRPRippleAddressDetailsRData) GetItem() GetXRPRippleAddressDetailsRI // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsRData) GetItemOk() (*GetXRPRippleAddressDetailsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_xrp_ripple_address_details_ri.go b/model_get_xrp_ripple_address_details_ri.go index 71e2940..435fc6c 100644 --- a/model_get_xrp_ripple_address_details_ri.go +++ b/model_get_xrp_ripple_address_details_ri.go @@ -23,7 +23,7 @@ type GetXRPRippleAddressDetailsRI struct { // Defines the count of all confirmed outgoing transactions for coins. This applies to coins only, not to tokens transfers OutgoingTransactionsCount int32 `json:"outgoingTransactionsCount"` // Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the total number of all transactions as part of this block. TransactionsCount int32 `json:"transactionsCount"` } @@ -32,7 +32,7 @@ type GetXRPRippleAddressDetailsRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetXRPRippleAddressDetailsRI(balance GetXRPRippleAddressDetailsRIBalance, incomingTransactionsCount int32, outgoingTransactionsCount int32, sequence int32, transactionsCount int32) *GetXRPRippleAddressDetailsRI { +func NewGetXRPRippleAddressDetailsRI(balance GetXRPRippleAddressDetailsRIBalance, incomingTransactionsCount int32, outgoingTransactionsCount int32, sequence int64, transactionsCount int32) *GetXRPRippleAddressDetailsRI { this := GetXRPRippleAddressDetailsRI{} this.Balance = balance this.IncomingTransactionsCount = incomingTransactionsCount @@ -63,7 +63,7 @@ func (o *GetXRPRippleAddressDetailsRI) GetBalance() GetXRPRippleAddressDetailsRI // GetBalanceOk returns a tuple with the Balance field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsRI) GetBalanceOk() (*GetXRPRippleAddressDetailsRIBalance, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Balance, true @@ -87,7 +87,7 @@ func (o *GetXRPRippleAddressDetailsRI) GetIncomingTransactionsCount() int32 { // GetIncomingTransactionsCountOk returns a tuple with the IncomingTransactionsCount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsRI) GetIncomingTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IncomingTransactionsCount, true @@ -111,7 +111,7 @@ func (o *GetXRPRippleAddressDetailsRI) GetOutgoingTransactionsCount() int32 { // GetOutgoingTransactionsCountOk returns a tuple with the OutgoingTransactionsCount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsRI) GetOutgoingTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OutgoingTransactionsCount, true @@ -123,9 +123,9 @@ func (o *GetXRPRippleAddressDetailsRI) SetOutgoingTransactionsCount(v int32) { } // GetSequence returns the Sequence field value -func (o *GetXRPRippleAddressDetailsRI) GetSequence() int32 { +func (o *GetXRPRippleAddressDetailsRI) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -134,15 +134,15 @@ func (o *GetXRPRippleAddressDetailsRI) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetXRPRippleAddressDetailsRI) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetXRPRippleAddressDetailsRI) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetXRPRippleAddressDetailsRI) SetSequence(v int32) { +func (o *GetXRPRippleAddressDetailsRI) SetSequence(v int64) { o.Sequence = v } @@ -159,7 +159,7 @@ func (o *GetXRPRippleAddressDetailsRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true diff --git a/model_get_xrp_ripple_address_details_ri_balance.go b/model_get_xrp_ripple_address_details_ri_balance.go index 0643077..f31c604 100644 --- a/model_get_xrp_ripple_address_details_ri_balance.go +++ b/model_get_xrp_ripple_address_details_ri_balance.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleAddressDetailsRIBalance) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsRIBalance) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleAddressDetailsRIBalance) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetXRPRippleAddressDetailsRIBalance) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_xrp_ripple_block_details_by_block_hash_e400.go b/model_get_xrp_ripple_block_details_by_block_hash_e400.go index 5dc854e..4623ec2 100644 --- a/model_get_xrp_ripple_block_details_by_block_hash_e400.go +++ b/model_get_xrp_ripple_block_details_by_block_hash_e400.go @@ -25,17 +25,23 @@ type GetXRPRippleBlockDetailsByBlockHashE400 struct { // InvalidPaginationAsGetXRPRippleBlockDetailsByBlockHashE400 is a convenience function that returns InvalidPagination wrapped in GetXRPRippleBlockDetailsByBlockHashE400 func InvalidPaginationAsGetXRPRippleBlockDetailsByBlockHashE400(v *InvalidPagination) GetXRPRippleBlockDetailsByBlockHashE400 { - return GetXRPRippleBlockDetailsByBlockHashE400{ InvalidPagination: v} + return GetXRPRippleBlockDetailsByBlockHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetXRPRippleBlockDetailsByBlockHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetXRPRippleBlockDetailsByBlockHashE400 func LimitGreaterThanAllowedAsGetXRPRippleBlockDetailsByBlockHashE400(v *LimitGreaterThanAllowed) GetXRPRippleBlockDetailsByBlockHashE400 { - return GetXRPRippleBlockDetailsByBlockHashE400{ LimitGreaterThanAllowed: v} + return GetXRPRippleBlockDetailsByBlockHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetXRPRippleBlockDetailsByBlockHashE400 is a convenience function that returns UriNotFound wrapped in GetXRPRippleBlockDetailsByBlockHashE400 func UriNotFoundAsGetXRPRippleBlockDetailsByBlockHashE400(v *UriNotFound) GetXRPRippleBlockDetailsByBlockHashE400 { - return GetXRPRippleBlockDetailsByBlockHashE400{ UriNotFound: v} + return GetXRPRippleBlockDetailsByBlockHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) e } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) e } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetXRPRippleBlockDetailsByBlockHashE400) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *GetXRPRippleBlockDetailsByBlockHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_xrp_ripple_block_details_by_block_hash_e401.go b/model_get_xrp_ripple_block_details_by_block_hash_e401.go index 48bd8e5..05eae75 100644 --- a/model_get_xrp_ripple_block_details_by_block_hash_e401.go +++ b/model_get_xrp_ripple_block_details_by_block_hash_e401.go @@ -24,12 +24,16 @@ type GetXRPRippleBlockDetailsByBlockHashE401 struct { // InvalidApiKeyAsGetXRPRippleBlockDetailsByBlockHashE401 is a convenience function that returns InvalidApiKey wrapped in GetXRPRippleBlockDetailsByBlockHashE401 func InvalidApiKeyAsGetXRPRippleBlockDetailsByBlockHashE401(v *InvalidApiKey) GetXRPRippleBlockDetailsByBlockHashE401 { - return GetXRPRippleBlockDetailsByBlockHashE401{ InvalidApiKey: v} + return GetXRPRippleBlockDetailsByBlockHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetXRPRippleBlockDetailsByBlockHashE401 is a convenience function that returns MissingApiKey wrapped in GetXRPRippleBlockDetailsByBlockHashE401 func MissingApiKeyAsGetXRPRippleBlockDetailsByBlockHashE401(v *MissingApiKey) GetXRPRippleBlockDetailsByBlockHashE401 { - return GetXRPRippleBlockDetailsByBlockHashE401{ MissingApiKey: v} + return GetXRPRippleBlockDetailsByBlockHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE401) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE401) UnmarshalJSON(data []byte) e } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetXRPRippleBlockDetailsByBlockHashE401) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *GetXRPRippleBlockDetailsByBlockHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_xrp_ripple_block_details_by_block_hash_e403.go b/model_get_xrp_ripple_block_details_by_block_hash_e403.go index 8d347db..128499d 100644 --- a/model_get_xrp_ripple_block_details_by_block_hash_e403.go +++ b/model_get_xrp_ripple_block_details_by_block_hash_e403.go @@ -26,22 +26,30 @@ type GetXRPRippleBlockDetailsByBlockHashE403 struct { // BannedIpAddressAsGetXRPRippleBlockDetailsByBlockHashE403 is a convenience function that returns BannedIpAddress wrapped in GetXRPRippleBlockDetailsByBlockHashE403 func BannedIpAddressAsGetXRPRippleBlockDetailsByBlockHashE403(v *BannedIpAddress) GetXRPRippleBlockDetailsByBlockHashE403 { - return GetXRPRippleBlockDetailsByBlockHashE403{ BannedIpAddress: v} + return GetXRPRippleBlockDetailsByBlockHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetXRPRippleBlockDetailsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetXRPRippleBlockDetailsByBlockHashE403 func EndpointNotAllowedForApiKeyAsGetXRPRippleBlockDetailsByBlockHashE403(v *EndpointNotAllowedForApiKey) GetXRPRippleBlockDetailsByBlockHashE403 { - return GetXRPRippleBlockDetailsByBlockHashE403{ EndpointNotAllowedForApiKey: v} + return GetXRPRippleBlockDetailsByBlockHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetXRPRippleBlockDetailsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetXRPRippleBlockDetailsByBlockHashE403 func EndpointNotAllowedForPlanAsGetXRPRippleBlockDetailsByBlockHashE403(v *EndpointNotAllowedForPlan) GetXRPRippleBlockDetailsByBlockHashE403 { - return GetXRPRippleBlockDetailsByBlockHashE403{ EndpointNotAllowedForPlan: v} + return GetXRPRippleBlockDetailsByBlockHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetXRPRippleBlockDetailsByBlockHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetXRPRippleBlockDetailsByBlockHashE403 func FeatureMainnetsNotAllowedForPlanAsGetXRPRippleBlockDetailsByBlockHashE403(v *FeatureMainnetsNotAllowedForPlan) GetXRPRippleBlockDetailsByBlockHashE403 { - return GetXRPRippleBlockDetailsByBlockHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetXRPRippleBlockDetailsByBlockHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetXRPRippleBlockDetailsByBlockHashE403) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *GetXRPRippleBlockDetailsByBlockHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_xrp_ripple_block_details_by_block_hash_r.go b/model_get_xrp_ripple_block_details_by_block_hash_r.go index ec05c7f..1a5be93 100644 --- a/model_get_xrp_ripple_block_details_by_block_hash_r.go +++ b/model_get_xrp_ripple_block_details_by_block_hash_r.go @@ -59,7 +59,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashR) GetData() GetXRPRippleBlockDetail // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashR) GetDataOk() (*GetXRPRippleBlockDetailsByBlockHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_xrp_ripple_block_details_by_block_hash_r_data.go b/model_get_xrp_ripple_block_details_by_block_hash_r_data.go index 0ac21dc..4e1f0f9 100644 --- a/model_get_xrp_ripple_block_details_by_block_hash_r_data.go +++ b/model_get_xrp_ripple_block_details_by_block_hash_r_data.go @@ -51,7 +51,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRData) GetItem() GetXRPRippleBlockDe // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRData) GetItemOk() (*GetXRPRippleBlockDetailsByBlockHashRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_xrp_ripple_block_details_by_block_hash_ri.go b/model_get_xrp_ripple_block_details_by_block_hash_ri.go index 4746ee9..a726d00 100644 --- a/model_get_xrp_ripple_block_details_by_block_hash_ri.go +++ b/model_get_xrp_ripple_block_details_by_block_hash_ri.go @@ -71,7 +71,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetBlockHash() string { // GetBlockHashOk returns a tuple with the BlockHash field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHash, true @@ -95,7 +95,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetBlockHeight() int32 { // GetBlockHeightOk returns a tuple with the BlockHeight field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHeight, true @@ -119,7 +119,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetNextBlockHash() string { // GetNextBlockHashOk returns a tuple with the NextBlockHash field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetNextBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.NextBlockHash, true @@ -143,7 +143,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -167,7 +167,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -191,7 +191,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetTotalCoins() GetXRPRippleBloc // GetTotalCoinsOk returns a tuple with the TotalCoins field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetTotalCoinsOk() (*GetXRPRippleBlockDetailsByBlockHashRITotalCoins, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalCoins, true @@ -215,7 +215,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetTotalFees() GetXRPRippleBlock // GetTotalFeesOk returns a tuple with the TotalFees field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetTotalFeesOk() (*GetXRPRippleBlockDetailsByBlockHeightRITotalFees, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalFees, true @@ -239,7 +239,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true diff --git a/model_get_xrp_ripple_block_details_by_block_hash_ri_total_coins.go b/model_get_xrp_ripple_block_details_by_block_hash_ri_total_coins.go index 4f97681..8e64418 100644 --- a/model_get_xrp_ripple_block_details_by_block_hash_ri_total_coins.go +++ b/model_get_xrp_ripple_block_details_by_block_hash_ri_total_coins.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRITotalCoins) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRITotalCoins) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHashRITotalCoins) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHashRITotalCoins) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_xrp_ripple_block_details_by_block_height_e400.go b/model_get_xrp_ripple_block_details_by_block_height_e400.go index 3c6fd58..cf3eec9 100644 --- a/model_get_xrp_ripple_block_details_by_block_height_e400.go +++ b/model_get_xrp_ripple_block_details_by_block_height_e400.go @@ -25,17 +25,23 @@ type GetXRPRippleBlockDetailsByBlockHeightE400 struct { // InvalidPaginationAsGetXRPRippleBlockDetailsByBlockHeightE400 is a convenience function that returns InvalidPagination wrapped in GetXRPRippleBlockDetailsByBlockHeightE400 func InvalidPaginationAsGetXRPRippleBlockDetailsByBlockHeightE400(v *InvalidPagination) GetXRPRippleBlockDetailsByBlockHeightE400 { - return GetXRPRippleBlockDetailsByBlockHeightE400{ InvalidPagination: v} + return GetXRPRippleBlockDetailsByBlockHeightE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetXRPRippleBlockDetailsByBlockHeightE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetXRPRippleBlockDetailsByBlockHeightE400 func LimitGreaterThanAllowedAsGetXRPRippleBlockDetailsByBlockHeightE400(v *LimitGreaterThanAllowed) GetXRPRippleBlockDetailsByBlockHeightE400 { - return GetXRPRippleBlockDetailsByBlockHeightE400{ LimitGreaterThanAllowed: v} + return GetXRPRippleBlockDetailsByBlockHeightE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetXRPRippleBlockDetailsByBlockHeightE400 is a convenience function that returns UriNotFound wrapped in GetXRPRippleBlockDetailsByBlockHeightE400 func UriNotFoundAsGetXRPRippleBlockDetailsByBlockHeightE400(v *UriNotFound) GetXRPRippleBlockDetailsByBlockHeightE400 { - return GetXRPRippleBlockDetailsByBlockHeightE400{ UriNotFound: v} + return GetXRPRippleBlockDetailsByBlockHeightE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetXRPRippleBlockDetailsByBlockHeightE400) MarshalJSON() ([]byte, erro // Get the actual instance func (obj *GetXRPRippleBlockDetailsByBlockHeightE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_xrp_ripple_block_details_by_block_height_e401.go b/model_get_xrp_ripple_block_details_by_block_height_e401.go index 9b1d831..0d7c4a6 100644 --- a/model_get_xrp_ripple_block_details_by_block_height_e401.go +++ b/model_get_xrp_ripple_block_details_by_block_height_e401.go @@ -24,12 +24,16 @@ type GetXRPRippleBlockDetailsByBlockHeightE401 struct { // InvalidApiKeyAsGetXRPRippleBlockDetailsByBlockHeightE401 is a convenience function that returns InvalidApiKey wrapped in GetXRPRippleBlockDetailsByBlockHeightE401 func InvalidApiKeyAsGetXRPRippleBlockDetailsByBlockHeightE401(v *InvalidApiKey) GetXRPRippleBlockDetailsByBlockHeightE401 { - return GetXRPRippleBlockDetailsByBlockHeightE401{ InvalidApiKey: v} + return GetXRPRippleBlockDetailsByBlockHeightE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetXRPRippleBlockDetailsByBlockHeightE401 is a convenience function that returns MissingApiKey wrapped in GetXRPRippleBlockDetailsByBlockHeightE401 func MissingApiKeyAsGetXRPRippleBlockDetailsByBlockHeightE401(v *MissingApiKey) GetXRPRippleBlockDetailsByBlockHeightE401 { - return GetXRPRippleBlockDetailsByBlockHeightE401{ MissingApiKey: v} + return GetXRPRippleBlockDetailsByBlockHeightE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE401) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE401) UnmarshalJSON(data []byte) } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetXRPRippleBlockDetailsByBlockHeightE401) MarshalJSON() ([]byte, erro // Get the actual instance func (obj *GetXRPRippleBlockDetailsByBlockHeightE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_xrp_ripple_block_details_by_block_height_e403.go b/model_get_xrp_ripple_block_details_by_block_height_e403.go index b704ade..37951ed 100644 --- a/model_get_xrp_ripple_block_details_by_block_height_e403.go +++ b/model_get_xrp_ripple_block_details_by_block_height_e403.go @@ -26,22 +26,30 @@ type GetXRPRippleBlockDetailsByBlockHeightE403 struct { // BannedIpAddressAsGetXRPRippleBlockDetailsByBlockHeightE403 is a convenience function that returns BannedIpAddress wrapped in GetXRPRippleBlockDetailsByBlockHeightE403 func BannedIpAddressAsGetXRPRippleBlockDetailsByBlockHeightE403(v *BannedIpAddress) GetXRPRippleBlockDetailsByBlockHeightE403 { - return GetXRPRippleBlockDetailsByBlockHeightE403{ BannedIpAddress: v} + return GetXRPRippleBlockDetailsByBlockHeightE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetXRPRippleBlockDetailsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetXRPRippleBlockDetailsByBlockHeightE403 func EndpointNotAllowedForApiKeyAsGetXRPRippleBlockDetailsByBlockHeightE403(v *EndpointNotAllowedForApiKey) GetXRPRippleBlockDetailsByBlockHeightE403 { - return GetXRPRippleBlockDetailsByBlockHeightE403{ EndpointNotAllowedForApiKey: v} + return GetXRPRippleBlockDetailsByBlockHeightE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetXRPRippleBlockDetailsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetXRPRippleBlockDetailsByBlockHeightE403 func EndpointNotAllowedForPlanAsGetXRPRippleBlockDetailsByBlockHeightE403(v *EndpointNotAllowedForPlan) GetXRPRippleBlockDetailsByBlockHeightE403 { - return GetXRPRippleBlockDetailsByBlockHeightE403{ EndpointNotAllowedForPlan: v} + return GetXRPRippleBlockDetailsByBlockHeightE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetXRPRippleBlockDetailsByBlockHeightE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetXRPRippleBlockDetailsByBlockHeightE403 func FeatureMainnetsNotAllowedForPlanAsGetXRPRippleBlockDetailsByBlockHeightE403(v *FeatureMainnetsNotAllowedForPlan) GetXRPRippleBlockDetailsByBlockHeightE403 { - return GetXRPRippleBlockDetailsByBlockHeightE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetXRPRippleBlockDetailsByBlockHeightE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetXRPRippleBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetXRPRippleBlockDetailsByBlockHeightE403) MarshalJSON() ([]byte, erro // Get the actual instance func (obj *GetXRPRippleBlockDetailsByBlockHeightE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_xrp_ripple_block_details_by_block_height_r.go b/model_get_xrp_ripple_block_details_by_block_height_r.go index 0cc7cba..543b63c 100644 --- a/model_get_xrp_ripple_block_details_by_block_height_r.go +++ b/model_get_xrp_ripple_block_details_by_block_height_r.go @@ -59,7 +59,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightR) GetData() GetXRPRippleBlockDeta // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightR) GetDataOk() (*GetXRPRippleBlockDetailsByBlockHeightRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_xrp_ripple_block_details_by_block_height_r_data.go b/model_get_xrp_ripple_block_details_by_block_height_r_data.go index b17022d..f2a533b 100644 --- a/model_get_xrp_ripple_block_details_by_block_height_r_data.go +++ b/model_get_xrp_ripple_block_details_by_block_height_r_data.go @@ -51,7 +51,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRData) GetItem() GetXRPRippleBlock // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRData) GetItemOk() (*GetXRPRippleBlockDetailsByBlockHeightRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_xrp_ripple_block_details_by_block_height_ri.go b/model_get_xrp_ripple_block_details_by_block_height_ri.go index 757e5fb..6a72ecf 100644 --- a/model_get_xrp_ripple_block_details_by_block_height_ri.go +++ b/model_get_xrp_ripple_block_details_by_block_height_ri.go @@ -71,7 +71,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetBlockHash() string { // GetBlockHashOk returns a tuple with the BlockHash field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHash, true @@ -95,7 +95,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetBlockHeight() int32 { // GetBlockHeightOk returns a tuple with the BlockHeight field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHeight, true @@ -119,7 +119,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetNextBlockHash() string { // GetNextBlockHashOk returns a tuple with the NextBlockHash field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetNextBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.NextBlockHash, true @@ -143,7 +143,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetPreviousBlockHash() string // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -167,7 +167,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -191,7 +191,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetTotalCoins() GetXRPRippleBl // GetTotalCoinsOk returns a tuple with the TotalCoins field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetTotalCoinsOk() (*GetXRPRippleBlockDetailsByBlockHeightRITotalCoins, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalCoins, true @@ -215,7 +215,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetTotalFees() GetXRPRippleBlo // GetTotalFeesOk returns a tuple with the TotalFees field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetTotalFeesOk() (*GetXRPRippleBlockDetailsByBlockHeightRITotalFees, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalFees, true @@ -239,7 +239,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true diff --git a/model_get_xrp_ripple_block_details_by_block_height_ri_total_coins.go b/model_get_xrp_ripple_block_details_by_block_height_ri_total_coins.go index 4629c23..2a3a3a9 100644 --- a/model_get_xrp_ripple_block_details_by_block_height_ri_total_coins.go +++ b/model_get_xrp_ripple_block_details_by_block_height_ri_total_coins.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRITotalCoins) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRITotalCoins) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRITotalCoins) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRITotalCoins) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_xrp_ripple_block_details_by_block_height_ri_total_fees.go b/model_get_xrp_ripple_block_details_by_block_height_ri_total_fees.go index 40326a5..85973ef 100644 --- a/model_get_xrp_ripple_block_details_by_block_height_ri_total_fees.go +++ b/model_get_xrp_ripple_block_details_by_block_height_ri_total_fees.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRITotalFees) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRITotalFees) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleBlockDetailsByBlockHeightRITotalFees) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetXRPRippleBlockDetailsByBlockHeightRITotalFees) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_ide400.go b/model_get_xrp_ripple_transaction_details_by_transaction_ide400.go index 86494d5..0509000 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_ide400.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_ide400.go @@ -25,17 +25,23 @@ type GetXRPRippleTransactionDetailsByTransactionIDE400 struct { // InvalidPaginationAsGetXRPRippleTransactionDetailsByTransactionIDE400 is a convenience function that returns InvalidPagination wrapped in GetXRPRippleTransactionDetailsByTransactionIDE400 func InvalidPaginationAsGetXRPRippleTransactionDetailsByTransactionIDE400(v *InvalidPagination) GetXRPRippleTransactionDetailsByTransactionIDE400 { - return GetXRPRippleTransactionDetailsByTransactionIDE400{ InvalidPagination: v} + return GetXRPRippleTransactionDetailsByTransactionIDE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetXRPRippleTransactionDetailsByTransactionIDE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetXRPRippleTransactionDetailsByTransactionIDE400 func LimitGreaterThanAllowedAsGetXRPRippleTransactionDetailsByTransactionIDE400(v *LimitGreaterThanAllowed) GetXRPRippleTransactionDetailsByTransactionIDE400 { - return GetXRPRippleTransactionDetailsByTransactionIDE400{ LimitGreaterThanAllowed: v} + return GetXRPRippleTransactionDetailsByTransactionIDE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetXRPRippleTransactionDetailsByTransactionIDE400 is a convenience function that returns UriNotFound wrapped in GetXRPRippleTransactionDetailsByTransactionIDE400 func UriNotFoundAsGetXRPRippleTransactionDetailsByTransactionIDE400(v *UriNotFound) GetXRPRippleTransactionDetailsByTransactionIDE400 { - return GetXRPRippleTransactionDetailsByTransactionIDE400{ UriNotFound: v} + return GetXRPRippleTransactionDetailsByTransactionIDE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE400) UnmarshalJSON(data var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE400) UnmarshalJSON(data } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE400) UnmarshalJSON(data } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetXRPRippleTransactionDetailsByTransactionIDE400) MarshalJSON() ([]by // Get the actual instance func (obj *GetXRPRippleTransactionDetailsByTransactionIDE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_ide401.go b/model_get_xrp_ripple_transaction_details_by_transaction_ide401.go index 8501efa..a684475 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_ide401.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_ide401.go @@ -24,12 +24,16 @@ type GetXRPRippleTransactionDetailsByTransactionIDE401 struct { // InvalidApiKeyAsGetXRPRippleTransactionDetailsByTransactionIDE401 is a convenience function that returns InvalidApiKey wrapped in GetXRPRippleTransactionDetailsByTransactionIDE401 func InvalidApiKeyAsGetXRPRippleTransactionDetailsByTransactionIDE401(v *InvalidApiKey) GetXRPRippleTransactionDetailsByTransactionIDE401 { - return GetXRPRippleTransactionDetailsByTransactionIDE401{ InvalidApiKey: v} + return GetXRPRippleTransactionDetailsByTransactionIDE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetXRPRippleTransactionDetailsByTransactionIDE401 is a convenience function that returns MissingApiKey wrapped in GetXRPRippleTransactionDetailsByTransactionIDE401 func MissingApiKeyAsGetXRPRippleTransactionDetailsByTransactionIDE401(v *MissingApiKey) GetXRPRippleTransactionDetailsByTransactionIDE401 { - return GetXRPRippleTransactionDetailsByTransactionIDE401{ MissingApiKey: v} + return GetXRPRippleTransactionDetailsByTransactionIDE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE401) UnmarshalJSON(data var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE401) UnmarshalJSON(data } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetXRPRippleTransactionDetailsByTransactionIDE401) MarshalJSON() ([]by // Get the actual instance func (obj *GetXRPRippleTransactionDetailsByTransactionIDE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_ide403.go b/model_get_xrp_ripple_transaction_details_by_transaction_ide403.go index cfab6c7..6af6410 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_ide403.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_ide403.go @@ -26,22 +26,30 @@ type GetXRPRippleTransactionDetailsByTransactionIDE403 struct { // BannedIpAddressAsGetXRPRippleTransactionDetailsByTransactionIDE403 is a convenience function that returns BannedIpAddress wrapped in GetXRPRippleTransactionDetailsByTransactionIDE403 func BannedIpAddressAsGetXRPRippleTransactionDetailsByTransactionIDE403(v *BannedIpAddress) GetXRPRippleTransactionDetailsByTransactionIDE403 { - return GetXRPRippleTransactionDetailsByTransactionIDE403{ BannedIpAddress: v} + return GetXRPRippleTransactionDetailsByTransactionIDE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetXRPRippleTransactionDetailsByTransactionIDE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetXRPRippleTransactionDetailsByTransactionIDE403 func EndpointNotAllowedForApiKeyAsGetXRPRippleTransactionDetailsByTransactionIDE403(v *EndpointNotAllowedForApiKey) GetXRPRippleTransactionDetailsByTransactionIDE403 { - return GetXRPRippleTransactionDetailsByTransactionIDE403{ EndpointNotAllowedForApiKey: v} + return GetXRPRippleTransactionDetailsByTransactionIDE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetXRPRippleTransactionDetailsByTransactionIDE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetXRPRippleTransactionDetailsByTransactionIDE403 func EndpointNotAllowedForPlanAsGetXRPRippleTransactionDetailsByTransactionIDE403(v *EndpointNotAllowedForPlan) GetXRPRippleTransactionDetailsByTransactionIDE403 { - return GetXRPRippleTransactionDetailsByTransactionIDE403{ EndpointNotAllowedForPlan: v} + return GetXRPRippleTransactionDetailsByTransactionIDE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetXRPRippleTransactionDetailsByTransactionIDE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetXRPRippleTransactionDetailsByTransactionIDE403 func FeatureMainnetsNotAllowedForPlanAsGetXRPRippleTransactionDetailsByTransactionIDE403(v *FeatureMainnetsNotAllowedForPlan) GetXRPRippleTransactionDetailsByTransactionIDE403 { - return GetXRPRippleTransactionDetailsByTransactionIDE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetXRPRippleTransactionDetailsByTransactionIDE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE403) UnmarshalJSON(data var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE403) UnmarshalJSON(data } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE403) UnmarshalJSON(data } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetXRPRippleTransactionDetailsByTransactionIDE403) UnmarshalJSON(data } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetXRPRippleTransactionDetailsByTransactionIDE403) MarshalJSON() ([]by // Get the actual instance func (obj *GetXRPRippleTransactionDetailsByTransactionIDE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idr.go b/model_get_xrp_ripple_transaction_details_by_transaction_idr.go index 9e43cb5..9df8bf9 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idr.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idr.go @@ -59,7 +59,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDR) GetApiVersion() string // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDR) GetData() GetXRPRippleT // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDR) GetDataOk() (*GetXRPRippleTransactionDetailsByTransactionIDRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idr_data.go b/model_get_xrp_ripple_transaction_details_by_transaction_idr_data.go index 80d18c5..4c50429 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idr_data.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idr_data.go @@ -51,7 +51,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRData) GetItem() GetXRPRip // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRData) GetItemOk() (*GetXRPRippleTransactionDetailsByTransactionIDRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idri.go b/model_get_xrp_ripple_transaction_details_by_transaction_idri.go index 2536adb..8523941 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idri.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idri.go @@ -19,7 +19,7 @@ import ( type GetXRPRippleTransactionDetailsByTransactionIDRI struct { // Represents additional data that may be needed. AdditionalData string `json:"additionalData"` - DestinationTag *int32 `json:"destinationTag,omitempty"` + DestinationTag *int64 `json:"destinationTag,omitempty"` // Defines the index of the transaction, i.e. the consecutive place it takes in the blockchain. Index string `json:"index"` // Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @@ -33,7 +33,7 @@ type GetXRPRippleTransactionDetailsByTransactionIDRI struct { // Represents an object of addresses that provide the funds. Senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders `json:"senders"` // Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Defines the status of the transaction. Status *string `json:"status,omitempty"` // Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. @@ -50,7 +50,7 @@ type GetXRPRippleTransactionDetailsByTransactionIDRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGetXRPRippleTransactionDetailsByTransactionIDRI(additionalData string, index string, minedInBlockHash string, minedInBlockHeight string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int32, timestamp int32, transactionHash string, type_ string, fee GetXRPRippleTransactionDetailsByTransactionIDRIFee, value GetXRPRippleTransactionDetailsByTransactionIDRIValue) *GetXRPRippleTransactionDetailsByTransactionIDRI { +func NewGetXRPRippleTransactionDetailsByTransactionIDRI(additionalData string, index string, minedInBlockHash string, minedInBlockHeight string, offer GetXRPRippleTransactionDetailsByTransactionIDRIOffer, receive GetXRPRippleTransactionDetailsByTransactionIDRIReceive, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int64, timestamp int32, transactionHash string, type_ string, fee GetXRPRippleTransactionDetailsByTransactionIDRIFee, value GetXRPRippleTransactionDetailsByTransactionIDRIValue) *GetXRPRippleTransactionDetailsByTransactionIDRI { this := GetXRPRippleTransactionDetailsByTransactionIDRI{} this.AdditionalData = additionalData this.Index = index @@ -90,7 +90,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetAdditionalData() st // GetAdditionalDataOk returns a tuple with the AdditionalData field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetAdditionalDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AdditionalData, true @@ -102,9 +102,9 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetAdditionalData(v st } // GetDestinationTag returns the DestinationTag field value if set, zero value otherwise. -func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTag() int32 { +func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTag() int64 { if o == nil || o.DestinationTag == nil { - var ret int32 + var ret int64 return ret } return *o.DestinationTag @@ -112,7 +112,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTag() in // GetDestinationTagOk returns a tuple with the DestinationTag field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTagOk() (*int32, bool) { +func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetDestinationTagOk() (*int64, bool) { if o == nil || o.DestinationTag == nil { return nil, false } @@ -128,8 +128,8 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) HasDestinationTag() bo return false } -// SetDestinationTag gets a reference to the given int32 and assigns it to the DestinationTag field. -func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetDestinationTag(v int32) { +// SetDestinationTag gets a reference to the given int64 and assigns it to the DestinationTag field. +func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetDestinationTag(v int64) { o.DestinationTag = &v } @@ -146,7 +146,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetIndex() string { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetIndexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -170,7 +170,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetMinedInBlockHash() // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -194,7 +194,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetMinedInBlockHeight( // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetMinedInBlockHeightOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -218,7 +218,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetOffer() GetXRPRippl // GetOfferOk returns a tuple with the Offer field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetOfferOk() (*GetXRPRippleTransactionDetailsByTransactionIDRIOffer, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Offer, true @@ -242,7 +242,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetReceive() GetXRPRip // GetReceiveOk returns a tuple with the Receive field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetReceiveOk() (*GetXRPRippleTransactionDetailsByTransactionIDRIReceive, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Receive, true @@ -265,11 +265,11 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetRecipients() []GetX // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetRecipientsOk() (*[]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, bool) { - if o == nil { +func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetRecipientsOk() ([]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -289,11 +289,11 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSenders() []GetXRPR // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSendersOk() (*[]GetXRPRippleTransactionDetailsByTransactionIDRISenders, bool) { - if o == nil { +func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSendersOk() ([]GetXRPRippleTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -302,9 +302,9 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetSenders(v []GetXRPR } // GetSequence returns the Sequence field value -func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequence() int32 { +func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -313,15 +313,15 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetSequence(v int32) { +func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) SetSequence(v int64) { o.Sequence = v } @@ -370,7 +370,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -394,7 +394,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetTransactionHash() s // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -418,7 +418,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -442,7 +442,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetFee() GetXRPRippleT // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetFeeOk() (*GetXRPRippleTransactionDetailsByTransactionIDRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -466,7 +466,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetValue() GetXRPRippl // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRI) GetValueOk() (*GetXRPRippleTransactionDetailsByTransactionIDRIValue, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idri_fee.go b/model_get_xrp_ripple_transaction_details_by_transaction_idri_fee.go index 670bb79..284ed4b 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idri_fee.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idri_fee.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIFee) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idri_offer.go b/model_get_xrp_ripple_transaction_details_by_transaction_idri_offer.go index e7581f7..2e57beb 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idri_offer.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idri_offer.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIOffer) GetAmount() strin // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIOffer) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIOffer) GetUnit() string // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIOffer) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idri_receive.go b/model_get_xrp_ripple_transaction_details_by_transaction_idri_receive.go index a4dfb8e..48b571c 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idri_receive.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idri_receive.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIReceive) GetAmount() str // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIReceive) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIReceive) GetUnit() strin // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIReceive) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idri_recipients.go b/model_get_xrp_ripple_transaction_details_by_transaction_idri_recipients.go index 4ed4885..07f9faf 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idri_recipients.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idri_recipients.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIRecipients) GetAddress() // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIRecipients) GetAmount() // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idri_senders.go b/model_get_xrp_ripple_transaction_details_by_transaction_idri_senders.go index 916a116..f601ae2 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idri_senders.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idri_senders.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRISenders) GetAddress() st // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRISenders) GetAmount() str // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_xrp_ripple_transaction_details_by_transaction_idri_value.go b/model_get_xrp_ripple_transaction_details_by_transaction_idri_value.go index f3f9c26..b1a72cc 100644 --- a/model_get_xrp_ripple_transaction_details_by_transaction_idri_value.go +++ b/model_get_xrp_ripple_transaction_details_by_transaction_idri_value.go @@ -55,7 +55,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIValue) GetAmount() strin // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIValue) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetXRPRippleTransactionDetailsByTransactionIDRIValue) GetUnit() string // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetXRPRippleTransactionDetailsByTransactionIDRIValue) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_zilliqa_address_details_e400.go b/model_get_zilliqa_address_details_e400.go index 9ee4796..fe27ecb 100644 --- a/model_get_zilliqa_address_details_e400.go +++ b/model_get_zilliqa_address_details_e400.go @@ -25,17 +25,23 @@ type GetZilliqaAddressDetailsE400 struct { // InvalidPaginationAsGetZilliqaAddressDetailsE400 is a convenience function that returns InvalidPagination wrapped in GetZilliqaAddressDetailsE400 func InvalidPaginationAsGetZilliqaAddressDetailsE400(v *InvalidPagination) GetZilliqaAddressDetailsE400 { - return GetZilliqaAddressDetailsE400{ InvalidPagination: v} + return GetZilliqaAddressDetailsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetZilliqaAddressDetailsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetZilliqaAddressDetailsE400 func LimitGreaterThanAllowedAsGetZilliqaAddressDetailsE400(v *LimitGreaterThanAllowed) GetZilliqaAddressDetailsE400 { - return GetZilliqaAddressDetailsE400{ LimitGreaterThanAllowed: v} + return GetZilliqaAddressDetailsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetZilliqaAddressDetailsE400 is a convenience function that returns UriNotFound wrapped in GetZilliqaAddressDetailsE400 func UriNotFoundAsGetZilliqaAddressDetailsE400(v *UriNotFound) GetZilliqaAddressDetailsE400 { - return GetZilliqaAddressDetailsE400{ UriNotFound: v} + return GetZilliqaAddressDetailsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetZilliqaAddressDetailsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetZilliqaAddressDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetZilliqaAddressDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetZilliqaAddressDetailsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetZilliqaAddressDetailsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_zilliqa_address_details_e401.go b/model_get_zilliqa_address_details_e401.go index 7365c79..80a759f 100644 --- a/model_get_zilliqa_address_details_e401.go +++ b/model_get_zilliqa_address_details_e401.go @@ -24,12 +24,16 @@ type GetZilliqaAddressDetailsE401 struct { // InvalidApiKeyAsGetZilliqaAddressDetailsE401 is a convenience function that returns InvalidApiKey wrapped in GetZilliqaAddressDetailsE401 func InvalidApiKeyAsGetZilliqaAddressDetailsE401(v *InvalidApiKey) GetZilliqaAddressDetailsE401 { - return GetZilliqaAddressDetailsE401{ InvalidApiKey: v} + return GetZilliqaAddressDetailsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetZilliqaAddressDetailsE401 is a convenience function that returns MissingApiKey wrapped in GetZilliqaAddressDetailsE401 func MissingApiKeyAsGetZilliqaAddressDetailsE401(v *MissingApiKey) GetZilliqaAddressDetailsE401 { - return GetZilliqaAddressDetailsE401{ MissingApiKey: v} + return GetZilliqaAddressDetailsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetZilliqaAddressDetailsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetZilliqaAddressDetailsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetZilliqaAddressDetailsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetZilliqaAddressDetailsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_zilliqa_address_details_e403.go b/model_get_zilliqa_address_details_e403.go index 73023e0..9c340bc 100644 --- a/model_get_zilliqa_address_details_e403.go +++ b/model_get_zilliqa_address_details_e403.go @@ -26,22 +26,30 @@ type GetZilliqaAddressDetailsE403 struct { // BannedIpAddressAsGetZilliqaAddressDetailsE403 is a convenience function that returns BannedIpAddress wrapped in GetZilliqaAddressDetailsE403 func BannedIpAddressAsGetZilliqaAddressDetailsE403(v *BannedIpAddress) GetZilliqaAddressDetailsE403 { - return GetZilliqaAddressDetailsE403{ BannedIpAddress: v} + return GetZilliqaAddressDetailsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetZilliqaAddressDetailsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetZilliqaAddressDetailsE403 func EndpointNotAllowedForApiKeyAsGetZilliqaAddressDetailsE403(v *EndpointNotAllowedForApiKey) GetZilliqaAddressDetailsE403 { - return GetZilliqaAddressDetailsE403{ EndpointNotAllowedForApiKey: v} + return GetZilliqaAddressDetailsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetZilliqaAddressDetailsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetZilliqaAddressDetailsE403 func EndpointNotAllowedForPlanAsGetZilliqaAddressDetailsE403(v *EndpointNotAllowedForPlan) GetZilliqaAddressDetailsE403 { - return GetZilliqaAddressDetailsE403{ EndpointNotAllowedForPlan: v} + return GetZilliqaAddressDetailsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetZilliqaAddressDetailsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetZilliqaAddressDetailsE403 func FeatureMainnetsNotAllowedForPlanAsGetZilliqaAddressDetailsE403(v *FeatureMainnetsNotAllowedForPlan) GetZilliqaAddressDetailsE403 { - return GetZilliqaAddressDetailsE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetZilliqaAddressDetailsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetZilliqaAddressDetailsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetZilliqaAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetZilliqaAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetZilliqaAddressDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetZilliqaAddressDetailsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetZilliqaAddressDetailsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_zilliqa_address_details_r.go b/model_get_zilliqa_address_details_r.go index 4005f91..56ba138 100644 --- a/model_get_zilliqa_address_details_r.go +++ b/model_get_zilliqa_address_details_r.go @@ -59,7 +59,7 @@ func (o *GetZilliqaAddressDetailsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetZilliqaAddressDetailsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetZilliqaAddressDetailsR) GetData() GetZilliqaAddressDetailsRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsR) GetDataOk() (*GetZilliqaAddressDetailsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_zilliqa_address_details_r_data.go b/model_get_zilliqa_address_details_r_data.go index 8f02801..e6f8f0d 100644 --- a/model_get_zilliqa_address_details_r_data.go +++ b/model_get_zilliqa_address_details_r_data.go @@ -51,7 +51,7 @@ func (o *GetZilliqaAddressDetailsRData) GetItem() GetZilliqaAddressDetailsRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsRData) GetItemOk() (*GetZilliqaAddressDetailsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_zilliqa_address_details_ri.go b/model_get_zilliqa_address_details_ri.go index f11758c..a72ccfa 100644 --- a/model_get_zilliqa_address_details_ri.go +++ b/model_get_zilliqa_address_details_ri.go @@ -60,7 +60,7 @@ func (o *GetZilliqaAddressDetailsRI) GetBalance() GetZilliqaAddressDetailsRIBala // GetBalanceOk returns a tuple with the Balance field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsRI) GetBalanceOk() (*GetZilliqaAddressDetailsRIBalance, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Balance, true @@ -84,7 +84,7 @@ func (o *GetZilliqaAddressDetailsRI) GetIncomingTransactionsCount() int32 { // GetIncomingTransactionsCountOk returns a tuple with the IncomingTransactionsCount field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsRI) GetIncomingTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IncomingTransactionsCount, true @@ -108,7 +108,7 @@ func (o *GetZilliqaAddressDetailsRI) GetOutgoingTransactionsCount() int32 { // GetOutgoingTransactionsCountOk returns a tuple with the OutgoingTransactionsCount field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsRI) GetOutgoingTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OutgoingTransactionsCount, true @@ -132,7 +132,7 @@ func (o *GetZilliqaAddressDetailsRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true diff --git a/model_get_zilliqa_address_details_ri_balance.go b/model_get_zilliqa_address_details_ri_balance.go index 45b8564..827cc0a 100644 --- a/model_get_zilliqa_address_details_ri_balance.go +++ b/model_get_zilliqa_address_details_ri_balance.go @@ -55,7 +55,7 @@ func (o *GetZilliqaAddressDetailsRIBalance) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsRIBalance) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetZilliqaAddressDetailsRIBalance) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetZilliqaAddressDetailsRIBalance) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_zilliqa_block_details_by_block_hash_e400.go b/model_get_zilliqa_block_details_by_block_hash_e400.go index d9cd704..bed9188 100644 --- a/model_get_zilliqa_block_details_by_block_hash_e400.go +++ b/model_get_zilliqa_block_details_by_block_hash_e400.go @@ -25,17 +25,23 @@ type GetZilliqaBlockDetailsByBlockHashE400 struct { // InvalidPaginationAsGetZilliqaBlockDetailsByBlockHashE400 is a convenience function that returns InvalidPagination wrapped in GetZilliqaBlockDetailsByBlockHashE400 func InvalidPaginationAsGetZilliqaBlockDetailsByBlockHashE400(v *InvalidPagination) GetZilliqaBlockDetailsByBlockHashE400 { - return GetZilliqaBlockDetailsByBlockHashE400{ InvalidPagination: v} + return GetZilliqaBlockDetailsByBlockHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetZilliqaBlockDetailsByBlockHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetZilliqaBlockDetailsByBlockHashE400 func LimitGreaterThanAllowedAsGetZilliqaBlockDetailsByBlockHashE400(v *LimitGreaterThanAllowed) GetZilliqaBlockDetailsByBlockHashE400 { - return GetZilliqaBlockDetailsByBlockHashE400{ LimitGreaterThanAllowed: v} + return GetZilliqaBlockDetailsByBlockHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetZilliqaBlockDetailsByBlockHashE400 is a convenience function that returns UriNotFound wrapped in GetZilliqaBlockDetailsByBlockHashE400 func UriNotFoundAsGetZilliqaBlockDetailsByBlockHashE400(v *UriNotFound) GetZilliqaBlockDetailsByBlockHashE400 { - return GetZilliqaBlockDetailsByBlockHashE400{ UriNotFound: v} + return GetZilliqaBlockDetailsByBlockHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetZilliqaBlockDetailsByBlockHashE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetZilliqaBlockDetailsByBlockHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_zilliqa_block_details_by_block_hash_e401.go b/model_get_zilliqa_block_details_by_block_hash_e401.go index b5b5832..f6c2a49 100644 --- a/model_get_zilliqa_block_details_by_block_hash_e401.go +++ b/model_get_zilliqa_block_details_by_block_hash_e401.go @@ -24,12 +24,16 @@ type GetZilliqaBlockDetailsByBlockHashE401 struct { // InvalidApiKeyAsGetZilliqaBlockDetailsByBlockHashE401 is a convenience function that returns InvalidApiKey wrapped in GetZilliqaBlockDetailsByBlockHashE401 func InvalidApiKeyAsGetZilliqaBlockDetailsByBlockHashE401(v *InvalidApiKey) GetZilliqaBlockDetailsByBlockHashE401 { - return GetZilliqaBlockDetailsByBlockHashE401{ InvalidApiKey: v} + return GetZilliqaBlockDetailsByBlockHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetZilliqaBlockDetailsByBlockHashE401 is a convenience function that returns MissingApiKey wrapped in GetZilliqaBlockDetailsByBlockHashE401 func MissingApiKeyAsGetZilliqaBlockDetailsByBlockHashE401(v *MissingApiKey) GetZilliqaBlockDetailsByBlockHashE401 { - return GetZilliqaBlockDetailsByBlockHashE401{ MissingApiKey: v} + return GetZilliqaBlockDetailsByBlockHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE401) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE401) UnmarshalJSON(data []byte) err } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetZilliqaBlockDetailsByBlockHashE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetZilliqaBlockDetailsByBlockHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_zilliqa_block_details_by_block_hash_e403.go b/model_get_zilliqa_block_details_by_block_hash_e403.go index 250d2b0..b9a79f7 100644 --- a/model_get_zilliqa_block_details_by_block_hash_e403.go +++ b/model_get_zilliqa_block_details_by_block_hash_e403.go @@ -26,22 +26,30 @@ type GetZilliqaBlockDetailsByBlockHashE403 struct { // BannedIpAddressAsGetZilliqaBlockDetailsByBlockHashE403 is a convenience function that returns BannedIpAddress wrapped in GetZilliqaBlockDetailsByBlockHashE403 func BannedIpAddressAsGetZilliqaBlockDetailsByBlockHashE403(v *BannedIpAddress) GetZilliqaBlockDetailsByBlockHashE403 { - return GetZilliqaBlockDetailsByBlockHashE403{ BannedIpAddress: v} + return GetZilliqaBlockDetailsByBlockHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetZilliqaBlockDetailsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetZilliqaBlockDetailsByBlockHashE403 func EndpointNotAllowedForApiKeyAsGetZilliqaBlockDetailsByBlockHashE403(v *EndpointNotAllowedForApiKey) GetZilliqaBlockDetailsByBlockHashE403 { - return GetZilliqaBlockDetailsByBlockHashE403{ EndpointNotAllowedForApiKey: v} + return GetZilliqaBlockDetailsByBlockHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetZilliqaBlockDetailsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetZilliqaBlockDetailsByBlockHashE403 func EndpointNotAllowedForPlanAsGetZilliqaBlockDetailsByBlockHashE403(v *EndpointNotAllowedForPlan) GetZilliqaBlockDetailsByBlockHashE403 { - return GetZilliqaBlockDetailsByBlockHashE403{ EndpointNotAllowedForPlan: v} + return GetZilliqaBlockDetailsByBlockHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetZilliqaBlockDetailsByBlockHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetZilliqaBlockDetailsByBlockHashE403 func FeatureMainnetsNotAllowedForPlanAsGetZilliqaBlockDetailsByBlockHashE403(v *FeatureMainnetsNotAllowedForPlan) GetZilliqaBlockDetailsByBlockHashE403 { - return GetZilliqaBlockDetailsByBlockHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetZilliqaBlockDetailsByBlockHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHashE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetZilliqaBlockDetailsByBlockHashE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *GetZilliqaBlockDetailsByBlockHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_zilliqa_block_details_by_block_hash_r.go b/model_get_zilliqa_block_details_by_block_hash_r.go index cca1db5..13c302b 100644 --- a/model_get_zilliqa_block_details_by_block_hash_r.go +++ b/model_get_zilliqa_block_details_by_block_hash_r.go @@ -59,7 +59,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashR) GetData() GetZilliqaBlockDetailsByB // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashR) GetDataOk() (*GetZilliqaBlockDetailsByBlockHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_zilliqa_block_details_by_block_hash_r_data.go b/model_get_zilliqa_block_details_by_block_hash_r_data.go index 9b073d6..5afdb49 100644 --- a/model_get_zilliqa_block_details_by_block_hash_r_data.go +++ b/model_get_zilliqa_block_details_by_block_hash_r_data.go @@ -51,7 +51,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRData) GetItem() GetZilliqaBlockDetail // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRData) GetItemOk() (*GetZilliqaBlockDetailsByBlockHashRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_zilliqa_block_details_by_block_hash_ri.go b/model_get_zilliqa_block_details_by_block_hash_ri.go index 7fe5005..cc12d77 100644 --- a/model_get_zilliqa_block_details_by_block_hash_ri.go +++ b/model_get_zilliqa_block_details_by_block_hash_ri.go @@ -84,7 +84,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetBlockHeight() int32 { // GetBlockHeightOk returns a tuple with the BlockHeight field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHeight, true @@ -108,7 +108,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -132,7 +132,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetDsBlock() int32 { // GetDsBlockOk returns a tuple with the DsBlock field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetDsBlockOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsBlock, true @@ -156,7 +156,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetDsDifficulty() string { // GetDsDifficultyOk returns a tuple with the DsDifficulty field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetDsDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsDifficulty, true @@ -180,7 +180,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetDsLeader() string { // GetDsLeaderOk returns a tuple with the DsLeader field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetDsLeaderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsLeader, true @@ -204,7 +204,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -228,7 +228,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -251,11 +251,11 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetMicroBlocks() []string { // GetMicroBlocksOk returns a tuple with the MicroBlocks field value // and a boolean to check if the value has been set. -func (o *GetZilliqaBlockDetailsByBlockHashRI) GetMicroBlocksOk() (*[]string, bool) { - if o == nil { +func (o *GetZilliqaBlockDetailsByBlockHashRI) GetMicroBlocksOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.MicroBlocks, true + return o.MicroBlocks, true } // SetMicroBlocks sets field value @@ -276,7 +276,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetNextBlockHash() string { // GetNextBlockHashOk returns a tuple with the NextBlockHash field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetNextBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.NextBlockHash, true @@ -300,7 +300,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -324,7 +324,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -348,7 +348,7 @@ func (o *GetZilliqaBlockDetailsByBlockHashRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHashRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true diff --git a/model_get_zilliqa_block_details_by_block_height_e400.go b/model_get_zilliqa_block_details_by_block_height_e400.go index 18d751a..79f320f 100644 --- a/model_get_zilliqa_block_details_by_block_height_e400.go +++ b/model_get_zilliqa_block_details_by_block_height_e400.go @@ -25,17 +25,23 @@ type GetZilliqaBlockDetailsByBlockHeightE400 struct { // InvalidPaginationAsGetZilliqaBlockDetailsByBlockHeightE400 is a convenience function that returns InvalidPagination wrapped in GetZilliqaBlockDetailsByBlockHeightE400 func InvalidPaginationAsGetZilliqaBlockDetailsByBlockHeightE400(v *InvalidPagination) GetZilliqaBlockDetailsByBlockHeightE400 { - return GetZilliqaBlockDetailsByBlockHeightE400{ InvalidPagination: v} + return GetZilliqaBlockDetailsByBlockHeightE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetZilliqaBlockDetailsByBlockHeightE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetZilliqaBlockDetailsByBlockHeightE400 func LimitGreaterThanAllowedAsGetZilliqaBlockDetailsByBlockHeightE400(v *LimitGreaterThanAllowed) GetZilliqaBlockDetailsByBlockHeightE400 { - return GetZilliqaBlockDetailsByBlockHeightE400{ LimitGreaterThanAllowed: v} + return GetZilliqaBlockDetailsByBlockHeightE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetZilliqaBlockDetailsByBlockHeightE400 is a convenience function that returns UriNotFound wrapped in GetZilliqaBlockDetailsByBlockHeightE400 func UriNotFoundAsGetZilliqaBlockDetailsByBlockHeightE400(v *UriNotFound) GetZilliqaBlockDetailsByBlockHeightE400 { - return GetZilliqaBlockDetailsByBlockHeightE400{ UriNotFound: v} + return GetZilliqaBlockDetailsByBlockHeightE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) e } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE400) UnmarshalJSON(data []byte) e } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetZilliqaBlockDetailsByBlockHeightE400) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *GetZilliqaBlockDetailsByBlockHeightE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_zilliqa_block_details_by_block_height_e401.go b/model_get_zilliqa_block_details_by_block_height_e401.go index a95a3ac..cc35534 100644 --- a/model_get_zilliqa_block_details_by_block_height_e401.go +++ b/model_get_zilliqa_block_details_by_block_height_e401.go @@ -24,12 +24,16 @@ type GetZilliqaBlockDetailsByBlockHeightE401 struct { // InvalidApiKeyAsGetZilliqaBlockDetailsByBlockHeightE401 is a convenience function that returns InvalidApiKey wrapped in GetZilliqaBlockDetailsByBlockHeightE401 func InvalidApiKeyAsGetZilliqaBlockDetailsByBlockHeightE401(v *InvalidApiKey) GetZilliqaBlockDetailsByBlockHeightE401 { - return GetZilliqaBlockDetailsByBlockHeightE401{ InvalidApiKey: v} + return GetZilliqaBlockDetailsByBlockHeightE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetZilliqaBlockDetailsByBlockHeightE401 is a convenience function that returns MissingApiKey wrapped in GetZilliqaBlockDetailsByBlockHeightE401 func MissingApiKeyAsGetZilliqaBlockDetailsByBlockHeightE401(v *MissingApiKey) GetZilliqaBlockDetailsByBlockHeightE401 { - return GetZilliqaBlockDetailsByBlockHeightE401{ MissingApiKey: v} + return GetZilliqaBlockDetailsByBlockHeightE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE401) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE401) UnmarshalJSON(data []byte) e } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetZilliqaBlockDetailsByBlockHeightE401) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *GetZilliqaBlockDetailsByBlockHeightE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_zilliqa_block_details_by_block_height_e403.go b/model_get_zilliqa_block_details_by_block_height_e403.go index 403b361..d3e57a9 100644 --- a/model_get_zilliqa_block_details_by_block_height_e403.go +++ b/model_get_zilliqa_block_details_by_block_height_e403.go @@ -26,22 +26,30 @@ type GetZilliqaBlockDetailsByBlockHeightE403 struct { // BannedIpAddressAsGetZilliqaBlockDetailsByBlockHeightE403 is a convenience function that returns BannedIpAddress wrapped in GetZilliqaBlockDetailsByBlockHeightE403 func BannedIpAddressAsGetZilliqaBlockDetailsByBlockHeightE403(v *BannedIpAddress) GetZilliqaBlockDetailsByBlockHeightE403 { - return GetZilliqaBlockDetailsByBlockHeightE403{ BannedIpAddress: v} + return GetZilliqaBlockDetailsByBlockHeightE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetZilliqaBlockDetailsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetZilliqaBlockDetailsByBlockHeightE403 func EndpointNotAllowedForApiKeyAsGetZilliqaBlockDetailsByBlockHeightE403(v *EndpointNotAllowedForApiKey) GetZilliqaBlockDetailsByBlockHeightE403 { - return GetZilliqaBlockDetailsByBlockHeightE403{ EndpointNotAllowedForApiKey: v} + return GetZilliqaBlockDetailsByBlockHeightE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetZilliqaBlockDetailsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetZilliqaBlockDetailsByBlockHeightE403 func EndpointNotAllowedForPlanAsGetZilliqaBlockDetailsByBlockHeightE403(v *EndpointNotAllowedForPlan) GetZilliqaBlockDetailsByBlockHeightE403 { - return GetZilliqaBlockDetailsByBlockHeightE403{ EndpointNotAllowedForPlan: v} + return GetZilliqaBlockDetailsByBlockHeightE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetZilliqaBlockDetailsByBlockHeightE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetZilliqaBlockDetailsByBlockHeightE403 func FeatureMainnetsNotAllowedForPlanAsGetZilliqaBlockDetailsByBlockHeightE403(v *FeatureMainnetsNotAllowedForPlan) GetZilliqaBlockDetailsByBlockHeightE403 { - return GetZilliqaBlockDetailsByBlockHeightE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetZilliqaBlockDetailsByBlockHeightE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) e var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetZilliqaBlockDetailsByBlockHeightE403) UnmarshalJSON(data []byte) e } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetZilliqaBlockDetailsByBlockHeightE403) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *GetZilliqaBlockDetailsByBlockHeightE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_zilliqa_block_details_by_block_height_r.go b/model_get_zilliqa_block_details_by_block_height_r.go index 25ffb1a..5ee0ffa 100644 --- a/model_get_zilliqa_block_details_by_block_height_r.go +++ b/model_get_zilliqa_block_details_by_block_height_r.go @@ -59,7 +59,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightR) GetData() GetZilliqaBlockDetailsB // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightR) GetDataOk() (*GetZilliqaBlockDetailsByBlockHeightRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_zilliqa_block_details_by_block_height_r_data.go b/model_get_zilliqa_block_details_by_block_height_r_data.go index cac7d2b..ef967fe 100644 --- a/model_get_zilliqa_block_details_by_block_height_r_data.go +++ b/model_get_zilliqa_block_details_by_block_height_r_data.go @@ -51,7 +51,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRData) GetItem() GetZilliqaBlockDeta // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRData) GetItemOk() (*GetZilliqaBlockDetailsByBlockHeightRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_zilliqa_block_details_by_block_height_ri.go b/model_get_zilliqa_block_details_by_block_height_ri.go index 11165af..d0da6b7 100644 --- a/model_get_zilliqa_block_details_by_block_height_ri.go +++ b/model_get_zilliqa_block_details_by_block_height_ri.go @@ -84,7 +84,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetBlockHash() string { // GetBlockHashOk returns a tuple with the BlockHash field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHash, true @@ -108,7 +108,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -132,7 +132,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetDsBlock() int32 { // GetDsBlockOk returns a tuple with the DsBlock field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetDsBlockOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsBlock, true @@ -156,7 +156,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetDsDifficulty() string { // GetDsDifficultyOk returns a tuple with the DsDifficulty field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetDsDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsDifficulty, true @@ -180,7 +180,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetDsLeader() string { // GetDsLeaderOk returns a tuple with the DsLeader field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetDsLeaderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsLeader, true @@ -204,7 +204,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -228,7 +228,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -251,11 +251,11 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetMicroBlocks() []string { // GetMicroBlocksOk returns a tuple with the MicroBlocks field value // and a boolean to check if the value has been set. -func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetMicroBlocksOk() (*[]string, bool) { - if o == nil { +func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetMicroBlocksOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.MicroBlocks, true + return o.MicroBlocks, true } // SetMicroBlocks sets field value @@ -276,7 +276,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetNextBlockHash() string { // GetNextBlockHashOk returns a tuple with the NextBlockHash field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetNextBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.NextBlockHash, true @@ -300,7 +300,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -324,7 +324,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -348,7 +348,7 @@ func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *GetZilliqaBlockDetailsByBlockHeightRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true diff --git a/model_get_zilliqa_transaction_details_by_transaction_ide400.go b/model_get_zilliqa_transaction_details_by_transaction_ide400.go index 5acef70..721d38a 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_ide400.go +++ b/model_get_zilliqa_transaction_details_by_transaction_ide400.go @@ -25,17 +25,23 @@ type GetZilliqaTransactionDetailsByTransactionIDE400 struct { // InvalidPaginationAsGetZilliqaTransactionDetailsByTransactionIDE400 is a convenience function that returns InvalidPagination wrapped in GetZilliqaTransactionDetailsByTransactionIDE400 func InvalidPaginationAsGetZilliqaTransactionDetailsByTransactionIDE400(v *InvalidPagination) GetZilliqaTransactionDetailsByTransactionIDE400 { - return GetZilliqaTransactionDetailsByTransactionIDE400{ InvalidPagination: v} + return GetZilliqaTransactionDetailsByTransactionIDE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsGetZilliqaTransactionDetailsByTransactionIDE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in GetZilliqaTransactionDetailsByTransactionIDE400 func LimitGreaterThanAllowedAsGetZilliqaTransactionDetailsByTransactionIDE400(v *LimitGreaterThanAllowed) GetZilliqaTransactionDetailsByTransactionIDE400 { - return GetZilliqaTransactionDetailsByTransactionIDE400{ LimitGreaterThanAllowed: v} + return GetZilliqaTransactionDetailsByTransactionIDE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsGetZilliqaTransactionDetailsByTransactionIDE400 is a convenience function that returns UriNotFound wrapped in GetZilliqaTransactionDetailsByTransactionIDE400 func UriNotFoundAsGetZilliqaTransactionDetailsByTransactionIDE400(v *UriNotFound) GetZilliqaTransactionDetailsByTransactionIDE400 { - return GetZilliqaTransactionDetailsByTransactionIDE400{ UriNotFound: v} + return GetZilliqaTransactionDetailsByTransactionIDE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE400) UnmarshalJSON(data [ var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE400) UnmarshalJSON(data [ } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE400) UnmarshalJSON(data [ } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src GetZilliqaTransactionDetailsByTransactionIDE400) MarshalJSON() ([]byte // Get the actual instance func (obj *GetZilliqaTransactionDetailsByTransactionIDE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_get_zilliqa_transaction_details_by_transaction_ide401.go b/model_get_zilliqa_transaction_details_by_transaction_ide401.go index 0818090..ea119fc 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_ide401.go +++ b/model_get_zilliqa_transaction_details_by_transaction_ide401.go @@ -24,12 +24,16 @@ type GetZilliqaTransactionDetailsByTransactionIDE401 struct { // InvalidApiKeyAsGetZilliqaTransactionDetailsByTransactionIDE401 is a convenience function that returns InvalidApiKey wrapped in GetZilliqaTransactionDetailsByTransactionIDE401 func InvalidApiKeyAsGetZilliqaTransactionDetailsByTransactionIDE401(v *InvalidApiKey) GetZilliqaTransactionDetailsByTransactionIDE401 { - return GetZilliqaTransactionDetailsByTransactionIDE401{ InvalidApiKey: v} + return GetZilliqaTransactionDetailsByTransactionIDE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsGetZilliqaTransactionDetailsByTransactionIDE401 is a convenience function that returns MissingApiKey wrapped in GetZilliqaTransactionDetailsByTransactionIDE401 func MissingApiKeyAsGetZilliqaTransactionDetailsByTransactionIDE401(v *MissingApiKey) GetZilliqaTransactionDetailsByTransactionIDE401 { - return GetZilliqaTransactionDetailsByTransactionIDE401{ MissingApiKey: v} + return GetZilliqaTransactionDetailsByTransactionIDE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE401) UnmarshalJSON(data [ var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE401) UnmarshalJSON(data [ } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src GetZilliqaTransactionDetailsByTransactionIDE401) MarshalJSON() ([]byte // Get the actual instance func (obj *GetZilliqaTransactionDetailsByTransactionIDE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_get_zilliqa_transaction_details_by_transaction_ide403.go b/model_get_zilliqa_transaction_details_by_transaction_ide403.go index 4ab5acc..ad0e939 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_ide403.go +++ b/model_get_zilliqa_transaction_details_by_transaction_ide403.go @@ -26,22 +26,30 @@ type GetZilliqaTransactionDetailsByTransactionIDE403 struct { // BannedIpAddressAsGetZilliqaTransactionDetailsByTransactionIDE403 is a convenience function that returns BannedIpAddress wrapped in GetZilliqaTransactionDetailsByTransactionIDE403 func BannedIpAddressAsGetZilliqaTransactionDetailsByTransactionIDE403(v *BannedIpAddress) GetZilliqaTransactionDetailsByTransactionIDE403 { - return GetZilliqaTransactionDetailsByTransactionIDE403{ BannedIpAddress: v} + return GetZilliqaTransactionDetailsByTransactionIDE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsGetZilliqaTransactionDetailsByTransactionIDE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in GetZilliqaTransactionDetailsByTransactionIDE403 func EndpointNotAllowedForApiKeyAsGetZilliqaTransactionDetailsByTransactionIDE403(v *EndpointNotAllowedForApiKey) GetZilliqaTransactionDetailsByTransactionIDE403 { - return GetZilliqaTransactionDetailsByTransactionIDE403{ EndpointNotAllowedForApiKey: v} + return GetZilliqaTransactionDetailsByTransactionIDE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsGetZilliqaTransactionDetailsByTransactionIDE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in GetZilliqaTransactionDetailsByTransactionIDE403 func EndpointNotAllowedForPlanAsGetZilliqaTransactionDetailsByTransactionIDE403(v *EndpointNotAllowedForPlan) GetZilliqaTransactionDetailsByTransactionIDE403 { - return GetZilliqaTransactionDetailsByTransactionIDE403{ EndpointNotAllowedForPlan: v} + return GetZilliqaTransactionDetailsByTransactionIDE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsGetZilliqaTransactionDetailsByTransactionIDE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in GetZilliqaTransactionDetailsByTransactionIDE403 func FeatureMainnetsNotAllowedForPlanAsGetZilliqaTransactionDetailsByTransactionIDE403(v *FeatureMainnetsNotAllowedForPlan) GetZilliqaTransactionDetailsByTransactionIDE403 { - return GetZilliqaTransactionDetailsByTransactionIDE403{ FeatureMainnetsNotAllowedForPlan: v} + return GetZilliqaTransactionDetailsByTransactionIDE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE403) UnmarshalJSON(data [ var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE403) UnmarshalJSON(data [ } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE403) UnmarshalJSON(data [ } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *GetZilliqaTransactionDetailsByTransactionIDE403) UnmarshalJSON(data [ } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src GetZilliqaTransactionDetailsByTransactionIDE403) MarshalJSON() ([]byte // Get the actual instance func (obj *GetZilliqaTransactionDetailsByTransactionIDE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_get_zilliqa_transaction_details_by_transaction_idr.go b/model_get_zilliqa_transaction_details_by_transaction_idr.go index ce70a81..8019bc6 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_idr.go +++ b/model_get_zilliqa_transaction_details_by_transaction_idr.go @@ -59,7 +59,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDR) GetData() GetZilliqaTrans // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDR) GetDataOk() (*GetZilliqaTransactionDetailsByTransactionIDRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_get_zilliqa_transaction_details_by_transaction_idr_data.go b/model_get_zilliqa_transaction_details_by_transaction_idr_data.go index 524a9d0..045c95e 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_idr_data.go +++ b/model_get_zilliqa_transaction_details_by_transaction_idr_data.go @@ -51,7 +51,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRData) GetItem() GetZilliqaT // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRData) GetItemOk() (*GetZilliqaTransactionDetailsByTransactionIDRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_get_zilliqa_transaction_details_by_transaction_idri.go b/model_get_zilliqa_transaction_details_by_transaction_idri.go index bc593b6..71e6064 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_idri.go +++ b/model_get_zilliqa_transaction_details_by_transaction_idri.go @@ -84,7 +84,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetFee() GetZilliqaTrans // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetFeeOk() (*GetZilliqaTransactionDetailsByTransactionIDRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -108,7 +108,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -132,7 +132,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetGasPrice() int32 { // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetGasPriceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -156,7 +156,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -180,7 +180,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetMinedInBlockHash() st // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -204,7 +204,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetMinedInBlockHeight() // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -228,7 +228,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -251,11 +251,11 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetRecipients() []GetZil // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetRecipientsOk() (*[]GetZilliqaTransactionDetailsByTransactionIDRIRecipients, bool) { - if o == nil { +func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetRecipientsOk() ([]GetZilliqaTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -275,11 +275,11 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetSenders() []GetZilliq // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetSendersOk() (*[]GetZilliqaTransactionDetailsByTransactionIDRISenders, bool) { - if o == nil { +func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetSendersOk() ([]GetZilliqaTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -300,7 +300,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -324,7 +324,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetTransactionIndex() in // GetTransactionIndexOk returns a tuple with the TransactionIndex field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetTransactionIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionIndex, true @@ -348,7 +348,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetTransactionStatus() s // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRI) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_get_zilliqa_transaction_details_by_transaction_idri_fee.go b/model_get_zilliqa_transaction_details_by_transaction_idri_fee.go index 6039090..4c10e36 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_idri_fee.go +++ b/model_get_zilliqa_transaction_details_by_transaction_idri_fee.go @@ -55,7 +55,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_get_zilliqa_transaction_details_by_transaction_idri_recipients.go b/model_get_zilliqa_transaction_details_by_transaction_idri_recipients.go index 6b51fba..dff9e25 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_idri_recipients.go +++ b/model_get_zilliqa_transaction_details_by_transaction_idri_recipients.go @@ -55,7 +55,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRIRecipients) GetAddress() s // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRIRecipients) GetAmount() st // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_get_zilliqa_transaction_details_by_transaction_idri_senders.go b/model_get_zilliqa_transaction_details_by_transaction_idri_senders.go index 65cba5e..7bc7ff0 100644 --- a/model_get_zilliqa_transaction_details_by_transaction_idri_senders.go +++ b/model_get_zilliqa_transaction_details_by_transaction_idri_senders.go @@ -55,7 +55,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRISenders) GetAddress() stri // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *GetZilliqaTransactionDetailsByTransactionIDRISenders) GetAmount() strin // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *GetZilliqaTransactionDetailsByTransactionIDRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_inline_response_400.go b/model_inline_response_400.go index 47da673..392d88f 100644 --- a/model_inline_response_400.go +++ b/model_inline_response_400.go @@ -59,7 +59,7 @@ func (o *InlineResponse400) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse400) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse400) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse400) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse400) GetError() GetAddressDetailsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse400) GetErrorOk() (*GetAddressDetailsE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_1.go b/model_inline_response_400_1.go index b1ec2bd..ea128e8 100644 --- a/model_inline_response_400_1.go +++ b/model_inline_response_400_1.go @@ -59,7 +59,7 @@ func (o *InlineResponse4001) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4001) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4001) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4001) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4001) GetError() ListOmniTokensByAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4001) GetErrorOk() (*ListOmniTokensByAddressE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_10.go b/model_inline_response_400_10.go index 2168ea1..39dd182 100644 --- a/model_inline_response_400_10.go +++ b/model_inline_response_400_10.go @@ -59,7 +59,7 @@ func (o *InlineResponse40010) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40010) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40010) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40010) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40010) GetError() ListConfirmedTransactionsByAddressE400 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40010) GetErrorOk() (*ListConfirmedTransactionsByAddressE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_100.go b/model_inline_response_400_100.go new file mode 100644 index 0000000..fd51cb1 --- /dev/null +++ b/model_inline_response_400_100.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400100 struct for InlineResponse400100 +type InlineResponse400100 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EstimateGasLimitE400 `json:"error"` +} + +// NewInlineResponse400100 instantiates a new InlineResponse400100 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400100(apiVersion string, requestId string, error_ EstimateGasLimitE400) *InlineResponse400100 { + this := InlineResponse400100{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400100WithDefaults instantiates a new InlineResponse400100 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400100WithDefaults() *InlineResponse400100 { + this := InlineResponse400100{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400100) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400100) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400100) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400100) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400100) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400100) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400100) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400100) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400100) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400100) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400100) GetError() EstimateGasLimitE400 { + if o == nil { + var ret EstimateGasLimitE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400100) GetErrorOk() (*EstimateGasLimitE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400100) SetError(v EstimateGasLimitE400) { + o.Error = v +} + +func (o InlineResponse400100) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400100 struct { + value *InlineResponse400100 + isSet bool +} + +func (v NullableInlineResponse400100) Get() *InlineResponse400100 { + return v.value +} + +func (v *NullableInlineResponse400100) Set(val *InlineResponse400100) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400100) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400100) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400100(val *InlineResponse400100) *NullableInlineResponse400100 { + return &NullableInlineResponse400100{value: val, isSet: true} +} + +func (v NullableInlineResponse400100) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400100) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_101.go b/model_inline_response_400_101.go new file mode 100644 index 0000000..7f319f9 --- /dev/null +++ b/model_inline_response_400_101.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400101 struct for InlineResponse400101 +type InlineResponse400101 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EstimateTokenGasLimitE400 `json:"error"` +} + +// NewInlineResponse400101 instantiates a new InlineResponse400101 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400101(apiVersion string, requestId string, error_ EstimateTokenGasLimitE400) *InlineResponse400101 { + this := InlineResponse400101{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400101WithDefaults instantiates a new InlineResponse400101 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400101WithDefaults() *InlineResponse400101 { + this := InlineResponse400101{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400101) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400101) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400101) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400101) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400101) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400101) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400101) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400101) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400101) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400101) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400101) GetError() EstimateTokenGasLimitE400 { + if o == nil { + var ret EstimateTokenGasLimitE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400101) GetErrorOk() (*EstimateTokenGasLimitE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400101) SetError(v EstimateTokenGasLimitE400) { + o.Error = v +} + +func (o InlineResponse400101) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400101 struct { + value *InlineResponse400101 + isSet bool +} + +func (v NullableInlineResponse400101) Get() *InlineResponse400101 { + return v.value +} + +func (v *NullableInlineResponse400101) Set(val *InlineResponse400101) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400101) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400101) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400101(val *InlineResponse400101) *NullableInlineResponse400101 { + return &NullableInlineResponse400101{value: val, isSet: true} +} + +func (v NullableInlineResponse400101) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400101) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_102.go b/model_inline_response_400_102.go new file mode 100644 index 0000000..3c13616 --- /dev/null +++ b/model_inline_response_400_102.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400102 struct for InlineResponse400102 +type InlineResponse400102 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DecodeRawTransactionHexE400 `json:"error"` +} + +// NewInlineResponse400102 instantiates a new InlineResponse400102 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400102(apiVersion string, requestId string, error_ DecodeRawTransactionHexE400) *InlineResponse400102 { + this := InlineResponse400102{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400102WithDefaults instantiates a new InlineResponse400102 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400102WithDefaults() *InlineResponse400102 { + this := InlineResponse400102{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400102) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400102) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400102) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400102) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400102) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400102) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400102) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400102) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400102) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400102) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400102) GetError() DecodeRawTransactionHexE400 { + if o == nil { + var ret DecodeRawTransactionHexE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400102) GetErrorOk() (*DecodeRawTransactionHexE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400102) SetError(v DecodeRawTransactionHexE400) { + o.Error = v +} + +func (o InlineResponse400102) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400102 struct { + value *InlineResponse400102 + isSet bool +} + +func (v NullableInlineResponse400102) Get() *InlineResponse400102 { + return v.value +} + +func (v *NullableInlineResponse400102) Set(val *InlineResponse400102) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400102) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400102) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400102(val *InlineResponse400102) *NullableInlineResponse400102 { + return &NullableInlineResponse400102{value: val, isSet: true} +} + +func (v NullableInlineResponse400102) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400102) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_103.go b/model_inline_response_400_103.go new file mode 100644 index 0000000..c747ec7 --- /dev/null +++ b/model_inline_response_400_103.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400103 struct for InlineResponse400103 +type InlineResponse400103 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DecodeXAddressE400 `json:"error"` +} + +// NewInlineResponse400103 instantiates a new InlineResponse400103 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400103(apiVersion string, requestId string, error_ DecodeXAddressE400) *InlineResponse400103 { + this := InlineResponse400103{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400103WithDefaults instantiates a new InlineResponse400103 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400103WithDefaults() *InlineResponse400103 { + this := InlineResponse400103{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400103) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400103) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400103) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400103) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400103) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400103) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400103) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400103) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400103) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400103) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400103) GetError() DecodeXAddressE400 { + if o == nil { + var ret DecodeXAddressE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400103) GetErrorOk() (*DecodeXAddressE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400103) SetError(v DecodeXAddressE400) { + o.Error = v +} + +func (o InlineResponse400103) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400103 struct { + value *InlineResponse400103 + isSet bool +} + +func (v NullableInlineResponse400103) Get() *InlineResponse400103 { + return v.value +} + +func (v *NullableInlineResponse400103) Set(val *InlineResponse400103) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400103) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400103) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400103(val *InlineResponse400103) *NullableInlineResponse400103 { + return &NullableInlineResponse400103{value: val, isSet: true} +} + +func (v NullableInlineResponse400103) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400103) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_104.go b/model_inline_response_400_104.go new file mode 100644 index 0000000..e4cf719 --- /dev/null +++ b/model_inline_response_400_104.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400104 struct for InlineResponse400104 +type InlineResponse400104 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EncodeXAddressE400 `json:"error"` +} + +// NewInlineResponse400104 instantiates a new InlineResponse400104 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400104(apiVersion string, requestId string, error_ EncodeXAddressE400) *InlineResponse400104 { + this := InlineResponse400104{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400104WithDefaults instantiates a new InlineResponse400104 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400104WithDefaults() *InlineResponse400104 { + this := InlineResponse400104{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400104) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400104) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400104) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400104) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400104) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400104) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400104) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400104) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400104) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400104) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400104) GetError() EncodeXAddressE400 { + if o == nil { + var ret EncodeXAddressE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400104) GetErrorOk() (*EncodeXAddressE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400104) SetError(v EncodeXAddressE400) { + o.Error = v +} + +func (o InlineResponse400104) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400104 struct { + value *InlineResponse400104 + isSet bool +} + +func (v NullableInlineResponse400104) Get() *InlineResponse400104 { + return v.value +} + +func (v *NullableInlineResponse400104) Set(val *InlineResponse400104) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400104) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400104) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400104(val *InlineResponse400104) *NullableInlineResponse400104 { + return &NullableInlineResponse400104{value: val, isSet: true} +} + +func (v NullableInlineResponse400104) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400104) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_105.go b/model_inline_response_400_105.go new file mode 100644 index 0000000..88b275a --- /dev/null +++ b/model_inline_response_400_105.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400105 struct for InlineResponse400105 +type InlineResponse400105 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListSupportedAssetsE400 `json:"error"` +} + +// NewInlineResponse400105 instantiates a new InlineResponse400105 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400105(apiVersion string, requestId string, error_ ListSupportedAssetsE400) *InlineResponse400105 { + this := InlineResponse400105{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400105WithDefaults instantiates a new InlineResponse400105 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400105WithDefaults() *InlineResponse400105 { + this := InlineResponse400105{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400105) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400105) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400105) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400105) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400105) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400105) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400105) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400105) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400105) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400105) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400105) GetError() ListSupportedAssetsE400 { + if o == nil { + var ret ListSupportedAssetsE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400105) GetErrorOk() (*ListSupportedAssetsE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400105) SetError(v ListSupportedAssetsE400) { + o.Error = v +} + +func (o InlineResponse400105) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400105 struct { + value *InlineResponse400105 + isSet bool +} + +func (v NullableInlineResponse400105) Get() *InlineResponse400105 { + return v.value +} + +func (v *NullableInlineResponse400105) Set(val *InlineResponse400105) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400105) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400105) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400105(val *InlineResponse400105) *NullableInlineResponse400105 { + return &NullableInlineResponse400105{value: val, isSet: true} +} + +func (v NullableInlineResponse400105) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400105) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_106.go b/model_inline_response_400_106.go new file mode 100644 index 0000000..53e3b07 --- /dev/null +++ b/model_inline_response_400_106.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400106 struct for InlineResponse400106 +type InlineResponse400106 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetExchangeRateByAssetSymbolsE400 `json:"error"` +} + +// NewInlineResponse400106 instantiates a new InlineResponse400106 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400106(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE400) *InlineResponse400106 { + this := InlineResponse400106{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400106WithDefaults instantiates a new InlineResponse400106 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400106WithDefaults() *InlineResponse400106 { + this := InlineResponse400106{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400106) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400106) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400106) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400106) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400106) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400106) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400106) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400106) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400106) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400106) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400106) GetError() GetExchangeRateByAssetSymbolsE400 { + if o == nil { + var ret GetExchangeRateByAssetSymbolsE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400106) GetErrorOk() (*GetExchangeRateByAssetSymbolsE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400106) SetError(v GetExchangeRateByAssetSymbolsE400) { + o.Error = v +} + +func (o InlineResponse400106) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400106 struct { + value *InlineResponse400106 + isSet bool +} + +func (v NullableInlineResponse400106) Get() *InlineResponse400106 { + return v.value +} + +func (v *NullableInlineResponse400106) Set(val *InlineResponse400106) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400106) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400106) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400106(val *InlineResponse400106) *NullableInlineResponse400106 { + return &NullableInlineResponse400106{value: val, isSet: true} +} + +func (v NullableInlineResponse400106) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400106) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_107.go b/model_inline_response_400_107.go new file mode 100644 index 0000000..2a48005 --- /dev/null +++ b/model_inline_response_400_107.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400107 struct for InlineResponse400107 +type InlineResponse400107 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetExchangeRateByAssetsIDsE400 `json:"error"` +} + +// NewInlineResponse400107 instantiates a new InlineResponse400107 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400107(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE400) *InlineResponse400107 { + this := InlineResponse400107{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400107WithDefaults instantiates a new InlineResponse400107 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400107WithDefaults() *InlineResponse400107 { + this := InlineResponse400107{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400107) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400107) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400107) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400107) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400107) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400107) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400107) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400107) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400107) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400107) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400107) GetError() GetExchangeRateByAssetsIDsE400 { + if o == nil { + var ret GetExchangeRateByAssetsIDsE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400107) GetErrorOk() (*GetExchangeRateByAssetsIDsE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400107) SetError(v GetExchangeRateByAssetsIDsE400) { + o.Error = v +} + +func (o InlineResponse400107) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400107 struct { + value *InlineResponse400107 + isSet bool +} + +func (v NullableInlineResponse400107) Get() *InlineResponse400107 { + return v.value +} + +func (v *NullableInlineResponse400107) Set(val *InlineResponse400107) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400107) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400107) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400107(val *InlineResponse400107) *NullableInlineResponse400107 { + return &NullableInlineResponse400107{value: val, isSet: true} +} + +func (v NullableInlineResponse400107) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400107) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_108.go b/model_inline_response_400_108.go new file mode 100644 index 0000000..10b85f0 --- /dev/null +++ b/model_inline_response_400_108.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400108 struct for InlineResponse400108 +type InlineResponse400108 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListAssetsDetailsE400 `json:"error"` +} + +// NewInlineResponse400108 instantiates a new InlineResponse400108 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400108(apiVersion string, requestId string, error_ ListAssetsDetailsE400) *InlineResponse400108 { + this := InlineResponse400108{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400108WithDefaults instantiates a new InlineResponse400108 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400108WithDefaults() *InlineResponse400108 { + this := InlineResponse400108{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400108) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400108) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400108) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400108) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400108) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400108) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400108) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400108) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400108) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400108) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400108) GetError() ListAssetsDetailsE400 { + if o == nil { + var ret ListAssetsDetailsE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400108) GetErrorOk() (*ListAssetsDetailsE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400108) SetError(v ListAssetsDetailsE400) { + o.Error = v +} + +func (o InlineResponse400108) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400108 struct { + value *InlineResponse400108 + isSet bool +} + +func (v NullableInlineResponse400108) Get() *InlineResponse400108 { + return v.value +} + +func (v *NullableInlineResponse400108) Set(val *InlineResponse400108) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400108) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400108) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400108(val *InlineResponse400108) *NullableInlineResponse400108 { + return &NullableInlineResponse400108{value: val, isSet: true} +} + +func (v NullableInlineResponse400108) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400108) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_109.go b/model_inline_response_400_109.go new file mode 100644 index 0000000..6718b45 --- /dev/null +++ b/model_inline_response_400_109.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400109 struct for InlineResponse400109 +type InlineResponse400109 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetAssetDetailsByAssetIDE400 `json:"error"` +} + +// NewInlineResponse400109 instantiates a new InlineResponse400109 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400109(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE400) *InlineResponse400109 { + this := InlineResponse400109{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400109WithDefaults instantiates a new InlineResponse400109 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400109WithDefaults() *InlineResponse400109 { + this := InlineResponse400109{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400109) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400109) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400109) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400109) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400109) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400109) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400109) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400109) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400109) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400109) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400109) GetError() GetAssetDetailsByAssetIDE400 { + if o == nil { + var ret GetAssetDetailsByAssetIDE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400109) GetErrorOk() (*GetAssetDetailsByAssetIDE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400109) SetError(v GetAssetDetailsByAssetIDE400) { + o.Error = v +} + +func (o InlineResponse400109) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400109 struct { + value *InlineResponse400109 + isSet bool +} + +func (v NullableInlineResponse400109) Get() *InlineResponse400109 { + return v.value +} + +func (v *NullableInlineResponse400109) Set(val *InlineResponse400109) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400109) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400109) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400109(val *InlineResponse400109) *NullableInlineResponse400109 { + return &NullableInlineResponse400109{value: val, isSet: true} +} + +func (v NullableInlineResponse400109) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400109) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_11.go b/model_inline_response_400_11.go index ebe974d..524d75e 100644 --- a/model_inline_response_400_11.go +++ b/model_inline_response_400_11.go @@ -59,7 +59,7 @@ func (o *InlineResponse40011) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40011) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40011) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40011) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40011) GetError() ListXRPRippleTransactionsByAddressE400 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40011) GetErrorOk() (*ListXRPRippleTransactionsByAddressE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_110.go b/model_inline_response_400_110.go new file mode 100644 index 0000000..c6d94ab --- /dev/null +++ b/model_inline_response_400_110.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse400110 struct for InlineResponse400110 +type InlineResponse400110 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetAssetDetailsByAssetSymbolE400 `json:"error"` +} + +// NewInlineResponse400110 instantiates a new InlineResponse400110 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse400110(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE400) *InlineResponse400110 { + this := InlineResponse400110{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse400110WithDefaults instantiates a new InlineResponse400110 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse400110WithDefaults() *InlineResponse400110 { + this := InlineResponse400110{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse400110) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400110) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse400110) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse400110) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400110) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse400110) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse400110) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse400110) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse400110) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse400110) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse400110) GetError() GetAssetDetailsByAssetSymbolE400 { + if o == nil { + var ret GetAssetDetailsByAssetSymbolE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse400110) GetErrorOk() (*GetAssetDetailsByAssetSymbolE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse400110) SetError(v GetAssetDetailsByAssetSymbolE400) { + o.Error = v +} + +func (o InlineResponse400110) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse400110 struct { + value *InlineResponse400110 + isSet bool +} + +func (v NullableInlineResponse400110) Get() *InlineResponse400110 { + return v.value +} + +func (v *NullableInlineResponse400110) Set(val *InlineResponse400110) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse400110) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse400110) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse400110(val *InlineResponse400110) *NullableInlineResponse400110 { + return &NullableInlineResponse400110{value: val, isSet: true} +} + +func (v NullableInlineResponse400110) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse400110) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_12.go b/model_inline_response_400_12.go index df4c04e..7d91a29 100644 --- a/model_inline_response_400_12.go +++ b/model_inline_response_400_12.go @@ -59,7 +59,7 @@ func (o *InlineResponse40012) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40012) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40012) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40012) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40012) GetError() ListUnconfirmedOmniTransactionsByAddres // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40012) GetErrorOk() (*ListUnconfirmedOmniTransactionsByAddressE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_13.go b/model_inline_response_400_13.go index a6f10e9..5044fe1 100644 --- a/model_inline_response_400_13.go +++ b/model_inline_response_400_13.go @@ -59,7 +59,7 @@ func (o *InlineResponse40013) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40013) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40013) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40013) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40013) GetError() CreateCoinsTransactionRequestFromWallet // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40013) GetErrorOk() (*CreateCoinsTransactionRequestFromWalletE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_14.go b/model_inline_response_400_14.go index 724cdd7..e66544b 100644 --- a/model_inline_response_400_14.go +++ b/model_inline_response_400_14.go @@ -59,7 +59,7 @@ func (o *InlineResponse40014) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40014) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40014) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40014) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40014) GetError() ListZilliqaTransactionsByAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40014) GetErrorOk() (*ListZilliqaTransactionsByAddressE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_15.go b/model_inline_response_400_15.go index 2331534..cb4b22d 100644 --- a/model_inline_response_400_15.go +++ b/model_inline_response_400_15.go @@ -59,7 +59,7 @@ func (o *InlineResponse40015) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40015) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40015) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40015) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40015) GetError() ListUnconfirmedTransactionsByAddressE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40015) GetErrorOk() (*ListUnconfirmedTransactionsByAddressE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_16.go b/model_inline_response_400_16.go index cb8ab50..5e37cff 100644 --- a/model_inline_response_400_16.go +++ b/model_inline_response_400_16.go @@ -23,14 +23,14 @@ type InlineResponse40016 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListAllUnconfirmedTransactionsE400 `json:"error"` + Error ListXRPRippleTransactionsByAddressAndTimeRangeE400 `json:"error"` } // NewInlineResponse40016 instantiates a new InlineResponse40016 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40016(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE400) *InlineResponse40016 { +func NewInlineResponse40016(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByAddressAndTimeRangeE400) *InlineResponse40016 { this := InlineResponse40016{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40016) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40016) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40016) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40016) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40016) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40016) GetError() ListAllUnconfirmedTransactionsE400 { +func (o *InlineResponse40016) GetError() ListXRPRippleTransactionsByAddressAndTimeRangeE400 { if o == nil { - var ret ListAllUnconfirmedTransactionsE400 + var ret ListXRPRippleTransactionsByAddressAndTimeRangeE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40016) GetError() ListAllUnconfirmedTransactionsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40016) GetErrorOk() (*ListAllUnconfirmedTransactionsE400, bool) { - if o == nil { +func (o *InlineResponse40016) GetErrorOk() (*ListXRPRippleTransactionsByAddressAndTimeRangeE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40016) SetError(v ListAllUnconfirmedTransactionsE400) { +func (o *InlineResponse40016) SetError(v ListXRPRippleTransactionsByAddressAndTimeRangeE400) { o.Error = v } diff --git a/model_inline_response_400_17.go b/model_inline_response_400_17.go index fd34afc..560f39d 100644 --- a/model_inline_response_400_17.go +++ b/model_inline_response_400_17.go @@ -23,14 +23,14 @@ type InlineResponse40017 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTransactionsByBlockHashE400 `json:"error"` + Error ListAllUnconfirmedTransactionsE400 `json:"error"` } // NewInlineResponse40017 instantiates a new InlineResponse40017 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40017(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE400) *InlineResponse40017 { +func NewInlineResponse40017(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE400) *InlineResponse40017 { this := InlineResponse40017{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40017) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40017) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40017) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40017) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40017) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40017) GetError() ListTransactionsByBlockHashE400 { +func (o *InlineResponse40017) GetError() ListAllUnconfirmedTransactionsE400 { if o == nil { - var ret ListTransactionsByBlockHashE400 + var ret ListAllUnconfirmedTransactionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40017) GetError() ListTransactionsByBlockHashE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40017) GetErrorOk() (*ListTransactionsByBlockHashE400, bool) { - if o == nil { +func (o *InlineResponse40017) GetErrorOk() (*ListAllUnconfirmedTransactionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40017) SetError(v ListTransactionsByBlockHashE400) { +func (o *InlineResponse40017) SetError(v ListAllUnconfirmedTransactionsE400) { o.Error = v } diff --git a/model_inline_response_400_18.go b/model_inline_response_400_18.go index d9cd0c8..dc81d1c 100644 --- a/model_inline_response_400_18.go +++ b/model_inline_response_400_18.go @@ -23,14 +23,14 @@ type InlineResponse40018 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListXRPRippleTransactionsByBlockHashE400 `json:"error"` + Error ListTransactionsByBlockHashE400 `json:"error"` } // NewInlineResponse40018 instantiates a new InlineResponse40018 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40018(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE400) *InlineResponse40018 { +func NewInlineResponse40018(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE400) *InlineResponse40018 { this := InlineResponse40018{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40018) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40018) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40018) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40018) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40018) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40018) GetError() ListXRPRippleTransactionsByBlockHashE400 { +func (o *InlineResponse40018) GetError() ListTransactionsByBlockHashE400 { if o == nil { - var ret ListXRPRippleTransactionsByBlockHashE400 + var ret ListTransactionsByBlockHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40018) GetError() ListXRPRippleTransactionsByBlockHashE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40018) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE400, bool) { - if o == nil { +func (o *InlineResponse40018) GetErrorOk() (*ListTransactionsByBlockHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40018) SetError(v ListXRPRippleTransactionsByBlockHashE400) { +func (o *InlineResponse40018) SetError(v ListTransactionsByBlockHashE400) { o.Error = v } diff --git a/model_inline_response_400_19.go b/model_inline_response_400_19.go index 56b4ab9..8a431c3 100644 --- a/model_inline_response_400_19.go +++ b/model_inline_response_400_19.go @@ -23,14 +23,14 @@ type InlineResponse40019 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetUnconfirmedOmniTransactionByTransactionIDTxidE400 `json:"error"` + Error ListXRPRippleTransactionsByBlockHashE400 `json:"error"` } // NewInlineResponse40019 instantiates a new InlineResponse40019 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40019(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE400) *InlineResponse40019 { +func NewInlineResponse40019(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE400) *InlineResponse40019 { this := InlineResponse40019{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40019) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40019) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40019) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40019) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40019) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40019) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE400 { +func (o *InlineResponse40019) GetError() ListXRPRippleTransactionsByBlockHashE400 { if o == nil { - var ret GetUnconfirmedOmniTransactionByTransactionIDTxidE400 + var ret ListXRPRippleTransactionsByBlockHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40019) GetError() GetUnconfirmedOmniTransactionByTransact // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40019) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE400, bool) { - if o == nil { +func (o *InlineResponse40019) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40019) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE400) { +func (o *InlineResponse40019) SetError(v ListXRPRippleTransactionsByBlockHashE400) { o.Error = v } diff --git a/model_inline_response_400_2.go b/model_inline_response_400_2.go index f1428bd..71b0061 100644 --- a/model_inline_response_400_2.go +++ b/model_inline_response_400_2.go @@ -59,7 +59,7 @@ func (o *InlineResponse4002) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4002) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4002) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4002) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4002) GetError() GetXRPRippleAddressDetailsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4002) GetErrorOk() (*GetXRPRippleAddressDetailsE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_20.go b/model_inline_response_400_20.go index feaddc8..40713b5 100644 --- a/model_inline_response_400_20.go +++ b/model_inline_response_400_20.go @@ -23,14 +23,14 @@ type InlineResponse40020 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateCoinsTransactionRequestFromAddressE400 `json:"error"` + Error GetUnconfirmedOmniTransactionByTransactionIDTxidE400 `json:"error"` } // NewInlineResponse40020 instantiates a new InlineResponse40020 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40020(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE400) *InlineResponse40020 { +func NewInlineResponse40020(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE400) *InlineResponse40020 { this := InlineResponse40020{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40020) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40020) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40020) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40020) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40020) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40020) GetError() CreateCoinsTransactionRequestFromAddressE400 { +func (o *InlineResponse40020) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE400 { if o == nil { - var ret CreateCoinsTransactionRequestFromAddressE400 + var ret GetUnconfirmedOmniTransactionByTransactionIDTxidE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40020) GetError() CreateCoinsTransactionRequestFromAddres // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40020) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE400, bool) { - if o == nil { +func (o *InlineResponse40020) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40020) SetError(v CreateCoinsTransactionRequestFromAddressE400) { +func (o *InlineResponse40020) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE400) { o.Error = v } diff --git a/model_inline_response_400_21.go b/model_inline_response_400_21.go index 8ee6bb5..b99ece0 100644 --- a/model_inline_response_400_21.go +++ b/model_inline_response_400_21.go @@ -23,14 +23,14 @@ type InlineResponse40021 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListZilliqaTransactionsByBlockHashE400 `json:"error"` + Error CreateCoinsTransactionRequestFromAddressE400 `json:"error"` } // NewInlineResponse40021 instantiates a new InlineResponse40021 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40021(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE400) *InlineResponse40021 { +func NewInlineResponse40021(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE400) *InlineResponse40021 { this := InlineResponse40021{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40021) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40021) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40021) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40021) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40021) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40021) GetError() ListZilliqaTransactionsByBlockHashE400 { +func (o *InlineResponse40021) GetError() CreateCoinsTransactionRequestFromAddressE400 { if o == nil { - var ret ListZilliqaTransactionsByBlockHashE400 + var ret CreateCoinsTransactionRequestFromAddressE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40021) GetError() ListZilliqaTransactionsByBlockHashE400 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40021) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE400, bool) { - if o == nil { +func (o *InlineResponse40021) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40021) SetError(v ListZilliqaTransactionsByBlockHashE400) { +func (o *InlineResponse40021) SetError(v CreateCoinsTransactionRequestFromAddressE400) { o.Error = v } diff --git a/model_inline_response_400_22.go b/model_inline_response_400_22.go index fbd3c37..a450703 100644 --- a/model_inline_response_400_22.go +++ b/model_inline_response_400_22.go @@ -23,14 +23,14 @@ type InlineResponse40022 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListZilliqaTransactionsByBlockHeightE400 `json:"error"` + Error ListZilliqaTransactionsByBlockHashE400 `json:"error"` } // NewInlineResponse40022 instantiates a new InlineResponse40022 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40022(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE400) *InlineResponse40022 { +func NewInlineResponse40022(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE400) *InlineResponse40022 { this := InlineResponse40022{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40022) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40022) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40022) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40022) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40022) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40022) GetError() ListZilliqaTransactionsByBlockHeightE400 { +func (o *InlineResponse40022) GetError() ListZilliqaTransactionsByBlockHashE400 { if o == nil { - var ret ListZilliqaTransactionsByBlockHeightE400 + var ret ListZilliqaTransactionsByBlockHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40022) GetError() ListZilliqaTransactionsByBlockHeightE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40022) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE400, bool) { - if o == nil { +func (o *InlineResponse40022) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40022) SetError(v ListZilliqaTransactionsByBlockHeightE400) { +func (o *InlineResponse40022) SetError(v ListZilliqaTransactionsByBlockHashE400) { o.Error = v } diff --git a/model_inline_response_400_23.go b/model_inline_response_400_23.go index c3a79d0..b3ad2ed 100644 --- a/model_inline_response_400_23.go +++ b/model_inline_response_400_23.go @@ -23,14 +23,14 @@ type InlineResponse40023 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListXRPRippleTransactionsByBlockHeightE400 `json:"error"` + Error ListZilliqaTransactionsByBlockHeightE400 `json:"error"` } // NewInlineResponse40023 instantiates a new InlineResponse40023 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40023(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE400) *InlineResponse40023 { +func NewInlineResponse40023(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE400) *InlineResponse40023 { this := InlineResponse40023{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40023) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40023) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40023) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40023) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40023) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40023) GetError() ListXRPRippleTransactionsByBlockHeightE400 { +func (o *InlineResponse40023) GetError() ListZilliqaTransactionsByBlockHeightE400 { if o == nil { - var ret ListXRPRippleTransactionsByBlockHeightE400 + var ret ListZilliqaTransactionsByBlockHeightE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40023) GetError() ListXRPRippleTransactionsByBlockHeightE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40023) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE400, bool) { - if o == nil { +func (o *InlineResponse40023) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40023) SetError(v ListXRPRippleTransactionsByBlockHeightE400) { +func (o *InlineResponse40023) SetError(v ListZilliqaTransactionsByBlockHeightE400) { o.Error = v } diff --git a/model_inline_response_400_24.go b/model_inline_response_400_24.go index e8125fb..e948a7b 100644 --- a/model_inline_response_400_24.go +++ b/model_inline_response_400_24.go @@ -23,14 +23,14 @@ type InlineResponse40024 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTransactionsByBlockHeightE400 `json:"error"` + Error ListXRPRippleTransactionsByBlockHeightE400 `json:"error"` } // NewInlineResponse40024 instantiates a new InlineResponse40024 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40024(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE400) *InlineResponse40024 { +func NewInlineResponse40024(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE400) *InlineResponse40024 { this := InlineResponse40024{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40024) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40024) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40024) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40024) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40024) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40024) GetError() ListTransactionsByBlockHeightE400 { +func (o *InlineResponse40024) GetError() ListXRPRippleTransactionsByBlockHeightE400 { if o == nil { - var ret ListTransactionsByBlockHeightE400 + var ret ListXRPRippleTransactionsByBlockHeightE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40024) GetError() ListTransactionsByBlockHeightE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40024) GetErrorOk() (*ListTransactionsByBlockHeightE400, bool) { - if o == nil { +func (o *InlineResponse40024) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40024) SetError(v ListTransactionsByBlockHeightE400) { +func (o *InlineResponse40024) SetError(v ListXRPRippleTransactionsByBlockHeightE400) { o.Error = v } diff --git a/model_inline_response_400_25.go b/model_inline_response_400_25.go index a10b51e..0fec848 100644 --- a/model_inline_response_400_25.go +++ b/model_inline_response_400_25.go @@ -23,14 +23,14 @@ type InlineResponse40025 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateCoinsTransactionFromAddressForWholeAmountE400 `json:"error"` + Error ListTransactionsByBlockHeightE400 `json:"error"` } // NewInlineResponse40025 instantiates a new InlineResponse40025 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40025(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE400) *InlineResponse40025 { +func NewInlineResponse40025(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE400) *InlineResponse40025 { this := InlineResponse40025{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40025) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40025) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40025) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40025) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40025) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40025) GetError() CreateCoinsTransactionFromAddressForWholeAmountE400 { +func (o *InlineResponse40025) GetError() ListTransactionsByBlockHeightE400 { if o == nil { - var ret CreateCoinsTransactionFromAddressForWholeAmountE400 + var ret ListTransactionsByBlockHeightE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40025) GetError() CreateCoinsTransactionFromAddressForWho // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40025) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE400, bool) { - if o == nil { +func (o *InlineResponse40025) GetErrorOk() (*ListTransactionsByBlockHeightE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40025) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE400) { +func (o *InlineResponse40025) SetError(v ListTransactionsByBlockHeightE400) { o.Error = v } diff --git a/model_inline_response_400_26.go b/model_inline_response_400_26.go index 0be4ff7..f75ad46 100644 --- a/model_inline_response_400_26.go +++ b/model_inline_response_400_26.go @@ -23,14 +23,14 @@ type InlineResponse40026 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHeightE400 `json:"error"` + Error CreateCoinsTransactionFromAddressForWholeAmountE400 `json:"error"` } // NewInlineResponse40026 instantiates a new InlineResponse40026 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40026(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE400) *InlineResponse40026 { +func NewInlineResponse40026(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE400) *InlineResponse40026 { this := InlineResponse40026{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40026) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40026) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40026) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40026) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40026) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40026) GetError() GetBlockDetailsByBlockHeightE400 { +func (o *InlineResponse40026) GetError() CreateCoinsTransactionFromAddressForWholeAmountE400 { if o == nil { - var ret GetBlockDetailsByBlockHeightE400 + var ret CreateCoinsTransactionFromAddressForWholeAmountE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40026) GetError() GetBlockDetailsByBlockHeightE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40026) GetErrorOk() (*GetBlockDetailsByBlockHeightE400, bool) { - if o == nil { +func (o *InlineResponse40026) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40026) SetError(v GetBlockDetailsByBlockHeightE400) { +func (o *InlineResponse40026) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE400) { o.Error = v } diff --git a/model_inline_response_400_27.go b/model_inline_response_400_27.go index a41b459..149386c 100644 --- a/model_inline_response_400_27.go +++ b/model_inline_response_400_27.go @@ -23,14 +23,14 @@ type InlineResponse40027 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetXRPRippleBlockDetailsByBlockHeightE400 `json:"error"` + Error GetBlockDetailsByBlockHeightE400 `json:"error"` } // NewInlineResponse40027 instantiates a new InlineResponse40027 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40027(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE400) *InlineResponse40027 { +func NewInlineResponse40027(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE400) *InlineResponse40027 { this := InlineResponse40027{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40027) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40027) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40027) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40027) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40027) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40027) GetError() GetXRPRippleBlockDetailsByBlockHeightE400 { +func (o *InlineResponse40027) GetError() GetBlockDetailsByBlockHeightE400 { if o == nil { - var ret GetXRPRippleBlockDetailsByBlockHeightE400 + var ret GetBlockDetailsByBlockHeightE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40027) GetError() GetXRPRippleBlockDetailsByBlockHeightE4 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40027) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE400, bool) { - if o == nil { +func (o *InlineResponse40027) GetErrorOk() (*GetBlockDetailsByBlockHeightE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40027) SetError(v GetXRPRippleBlockDetailsByBlockHeightE400) { +func (o *InlineResponse40027) SetError(v GetBlockDetailsByBlockHeightE400) { o.Error = v } diff --git a/model_inline_response_400_28.go b/model_inline_response_400_28.go index 4253b73..e3a616f 100644 --- a/model_inline_response_400_28.go +++ b/model_inline_response_400_28.go @@ -23,14 +23,14 @@ type InlineResponse40028 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListUnconfirmedOmniTransactionsByPropertyIDE400 `json:"error"` + Error GetXRPRippleBlockDetailsByBlockHeightE400 `json:"error"` } // NewInlineResponse40028 instantiates a new InlineResponse40028 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40028(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE400) *InlineResponse40028 { +func NewInlineResponse40028(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE400) *InlineResponse40028 { this := InlineResponse40028{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40028) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40028) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40028) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40028) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40028) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40028) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE400 { +func (o *InlineResponse40028) GetError() GetXRPRippleBlockDetailsByBlockHeightE400 { if o == nil { - var ret ListUnconfirmedOmniTransactionsByPropertyIDE400 + var ret GetXRPRippleBlockDetailsByBlockHeightE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40028) GetError() ListUnconfirmedOmniTransactionsByProper // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40028) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE400, bool) { - if o == nil { +func (o *InlineResponse40028) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40028) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE400) { +func (o *InlineResponse40028) SetError(v GetXRPRippleBlockDetailsByBlockHeightE400) { o.Error = v } diff --git a/model_inline_response_400_29.go b/model_inline_response_400_29.go index fe3bc2b..cf1a1c9 100644 --- a/model_inline_response_400_29.go +++ b/model_inline_response_400_29.go @@ -23,14 +23,14 @@ type InlineResponse40029 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetZilliqaBlockDetailsByBlockHeightE400 `json:"error"` + Error ListUnconfirmedOmniTransactionsByPropertyIDE400 `json:"error"` } // NewInlineResponse40029 instantiates a new InlineResponse40029 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40029(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE400) *InlineResponse40029 { +func NewInlineResponse40029(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE400) *InlineResponse40029 { this := InlineResponse40029{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40029) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40029) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40029) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40029) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40029) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40029) GetError() GetZilliqaBlockDetailsByBlockHeightE400 { +func (o *InlineResponse40029) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE400 { if o == nil { - var ret GetZilliqaBlockDetailsByBlockHeightE400 + var ret ListUnconfirmedOmniTransactionsByPropertyIDE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40029) GetError() GetZilliqaBlockDetailsByBlockHeightE400 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40029) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE400, bool) { - if o == nil { +func (o *InlineResponse40029) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40029) SetError(v GetZilliqaBlockDetailsByBlockHeightE400) { +func (o *InlineResponse40029) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE400) { o.Error = v } diff --git a/model_inline_response_400_3.go b/model_inline_response_400_3.go index bcb6681..ed396e8 100644 --- a/model_inline_response_400_3.go +++ b/model_inline_response_400_3.go @@ -59,7 +59,7 @@ func (o *InlineResponse4003) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4003) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4003) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4003) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4003) GetError() GetZilliqaAddressDetailsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4003) GetErrorOk() (*GetZilliqaAddressDetailsE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_30.go b/model_inline_response_400_30.go index 3118db0..38adba3 100644 --- a/model_inline_response_400_30.go +++ b/model_inline_response_400_30.go @@ -23,14 +23,14 @@ type InlineResponse40030 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHashE400 `json:"error"` + Error GetZilliqaBlockDetailsByBlockHeightE400 `json:"error"` } // NewInlineResponse40030 instantiates a new InlineResponse40030 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40030(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE400) *InlineResponse40030 { +func NewInlineResponse40030(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE400) *InlineResponse40030 { this := InlineResponse40030{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40030) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40030) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40030) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40030) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40030) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40030) GetError() GetBlockDetailsByBlockHashE400 { +func (o *InlineResponse40030) GetError() GetZilliqaBlockDetailsByBlockHeightE400 { if o == nil { - var ret GetBlockDetailsByBlockHashE400 + var ret GetZilliqaBlockDetailsByBlockHeightE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40030) GetError() GetBlockDetailsByBlockHashE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40030) GetErrorOk() (*GetBlockDetailsByBlockHashE400, bool) { - if o == nil { +func (o *InlineResponse40030) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40030) SetError(v GetBlockDetailsByBlockHashE400) { +func (o *InlineResponse40030) SetError(v GetZilliqaBlockDetailsByBlockHeightE400) { o.Error = v } diff --git a/model_inline_response_400_31.go b/model_inline_response_400_31.go index e6f67dc..33017ec 100644 --- a/model_inline_response_400_31.go +++ b/model_inline_response_400_31.go @@ -23,14 +23,14 @@ type InlineResponse40031 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetXRPRippleBlockDetailsByBlockHashE400 `json:"error"` + Error GetBlockDetailsByBlockHashE400 `json:"error"` } // NewInlineResponse40031 instantiates a new InlineResponse40031 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40031(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE400) *InlineResponse40031 { +func NewInlineResponse40031(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE400) *InlineResponse40031 { this := InlineResponse40031{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40031) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40031) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40031) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40031) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40031) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40031) GetError() GetXRPRippleBlockDetailsByBlockHashE400 { +func (o *InlineResponse40031) GetError() GetBlockDetailsByBlockHashE400 { if o == nil { - var ret GetXRPRippleBlockDetailsByBlockHashE400 + var ret GetBlockDetailsByBlockHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40031) GetError() GetXRPRippleBlockDetailsByBlockHashE400 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40031) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE400, bool) { - if o == nil { +func (o *InlineResponse40031) GetErrorOk() (*GetBlockDetailsByBlockHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40031) SetError(v GetXRPRippleBlockDetailsByBlockHashE400) { +func (o *InlineResponse40031) SetError(v GetBlockDetailsByBlockHashE400) { o.Error = v } diff --git a/model_inline_response_400_32.go b/model_inline_response_400_32.go index 84565ea..1608220 100644 --- a/model_inline_response_400_32.go +++ b/model_inline_response_400_32.go @@ -23,14 +23,14 @@ type InlineResponse40032 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetOmniTransactionDetailsByTransactionIDTxidE400 `json:"error"` + Error GetXRPRippleBlockDetailsByBlockHashE400 `json:"error"` } // NewInlineResponse40032 instantiates a new InlineResponse40032 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40032(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE400) *InlineResponse40032 { +func NewInlineResponse40032(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE400) *InlineResponse40032 { this := InlineResponse40032{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40032) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40032) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40032) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40032) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40032) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40032) GetError() GetOmniTransactionDetailsByTransactionIDTxidE400 { +func (o *InlineResponse40032) GetError() GetXRPRippleBlockDetailsByBlockHashE400 { if o == nil { - var ret GetOmniTransactionDetailsByTransactionIDTxidE400 + var ret GetXRPRippleBlockDetailsByBlockHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40032) GetError() GetOmniTransactionDetailsByTransactionI // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40032) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE400, bool) { - if o == nil { +func (o *InlineResponse40032) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40032) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE400) { +func (o *InlineResponse40032) SetError(v GetXRPRippleBlockDetailsByBlockHashE400) { o.Error = v } diff --git a/model_inline_response_400_33.go b/model_inline_response_400_33.go index 3eccb02..aff7105 100644 --- a/model_inline_response_400_33.go +++ b/model_inline_response_400_33.go @@ -23,14 +23,14 @@ type InlineResponse40033 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetZilliqaBlockDetailsByBlockHashE400 `json:"error"` + Error GetOmniTransactionDetailsByTransactionIDTxidE400 `json:"error"` } // NewInlineResponse40033 instantiates a new InlineResponse40033 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40033(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE400) *InlineResponse40033 { +func NewInlineResponse40033(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE400) *InlineResponse40033 { this := InlineResponse40033{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40033) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40033) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40033) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40033) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40033) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40033) GetError() GetZilliqaBlockDetailsByBlockHashE400 { +func (o *InlineResponse40033) GetError() GetOmniTransactionDetailsByTransactionIDTxidE400 { if o == nil { - var ret GetZilliqaBlockDetailsByBlockHashE400 + var ret GetOmniTransactionDetailsByTransactionIDTxidE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40033) GetError() GetZilliqaBlockDetailsByBlockHashE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40033) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE400, bool) { - if o == nil { +func (o *InlineResponse40033) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40033) SetError(v GetZilliqaBlockDetailsByBlockHashE400) { +func (o *InlineResponse40033) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE400) { o.Error = v } diff --git a/model_inline_response_400_34.go b/model_inline_response_400_34.go index 73be8e6..62922f7 100644 --- a/model_inline_response_400_34.go +++ b/model_inline_response_400_34.go @@ -23,14 +23,14 @@ type InlineResponse40034 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListSupportedTokensE400 `json:"error"` + Error GetZilliqaBlockDetailsByBlockHashE400 `json:"error"` } // NewInlineResponse40034 instantiates a new InlineResponse40034 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40034(apiVersion string, requestId string, error_ ListSupportedTokensE400) *InlineResponse40034 { +func NewInlineResponse40034(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE400) *InlineResponse40034 { this := InlineResponse40034{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40034) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40034) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40034) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40034) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40034) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40034) GetError() ListSupportedTokensE400 { +func (o *InlineResponse40034) GetError() GetZilliqaBlockDetailsByBlockHashE400 { if o == nil { - var ret ListSupportedTokensE400 + var ret GetZilliqaBlockDetailsByBlockHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40034) GetError() ListSupportedTokensE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40034) GetErrorOk() (*ListSupportedTokensE400, bool) { - if o == nil { +func (o *InlineResponse40034) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40034) SetError(v ListSupportedTokensE400) { +func (o *InlineResponse40034) SetError(v GetZilliqaBlockDetailsByBlockHashE400) { o.Error = v } diff --git a/model_inline_response_400_35.go b/model_inline_response_400_35.go index 5f0b74e..74f5c56 100644 --- a/model_inline_response_400_35.go +++ b/model_inline_response_400_35.go @@ -23,14 +23,14 @@ type InlineResponse40035 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetWalletAssetDetailsE400 `json:"error"` + Error ListSupportedTokensE400 `json:"error"` } // NewInlineResponse40035 instantiates a new InlineResponse40035 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40035(apiVersion string, requestId string, error_ GetWalletAssetDetailsE400) *InlineResponse40035 { +func NewInlineResponse40035(apiVersion string, requestId string, error_ ListSupportedTokensE400) *InlineResponse40035 { this := InlineResponse40035{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40035) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40035) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40035) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40035) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40035) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40035) GetError() GetWalletAssetDetailsE400 { +func (o *InlineResponse40035) GetError() ListSupportedTokensE400 { if o == nil { - var ret GetWalletAssetDetailsE400 + var ret ListSupportedTokensE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40035) GetError() GetWalletAssetDetailsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40035) GetErrorOk() (*GetWalletAssetDetailsE400, bool) { - if o == nil { +func (o *InlineResponse40035) GetErrorOk() (*ListSupportedTokensE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40035) SetError(v GetWalletAssetDetailsE400) { +func (o *InlineResponse40035) SetError(v ListSupportedTokensE400) { o.Error = v } diff --git a/model_inline_response_400_36.go b/model_inline_response_400_36.go index ca9408c..02b0c9d 100644 --- a/model_inline_response_400_36.go +++ b/model_inline_response_400_36.go @@ -23,14 +23,14 @@ type InlineResponse40036 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateFungibleTokensTransactionRequestFromAddressE400 `json:"error"` + Error GetWalletAssetDetailsE400 `json:"error"` } // NewInlineResponse40036 instantiates a new InlineResponse40036 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40036(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE400) *InlineResponse40036 { +func NewInlineResponse40036(apiVersion string, requestId string, error_ GetWalletAssetDetailsE400) *InlineResponse40036 { this := InlineResponse40036{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40036) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40036) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40036) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40036) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40036) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40036) GetError() CreateFungibleTokensTransactionRequestFromAddressE400 { +func (o *InlineResponse40036) GetError() GetWalletAssetDetailsE400 { if o == nil { - var ret CreateFungibleTokensTransactionRequestFromAddressE400 + var ret GetWalletAssetDetailsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40036) GetError() CreateFungibleTokensTransactionRequestF // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40036) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE400, bool) { - if o == nil { +func (o *InlineResponse40036) GetErrorOk() (*GetWalletAssetDetailsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40036) SetError(v CreateFungibleTokensTransactionRequestFromAddressE400) { +func (o *InlineResponse40036) SetError(v GetWalletAssetDetailsE400) { o.Error = v } diff --git a/model_inline_response_400_37.go b/model_inline_response_400_37.go index 81b5ec0..b4bb791 100644 --- a/model_inline_response_400_37.go +++ b/model_inline_response_400_37.go @@ -23,14 +23,14 @@ type InlineResponse40037 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLastMinedBlockE400 `json:"error"` + Error CreateFungibleTokensTransactionRequestFromAddressE400 `json:"error"` } // NewInlineResponse40037 instantiates a new InlineResponse40037 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40037(apiVersion string, requestId string, error_ GetLastMinedBlockE400) *InlineResponse40037 { +func NewInlineResponse40037(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE400) *InlineResponse40037 { this := InlineResponse40037{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40037) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40037) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40037) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40037) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40037) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40037) GetError() GetLastMinedBlockE400 { +func (o *InlineResponse40037) GetError() CreateFungibleTokensTransactionRequestFromAddressE400 { if o == nil { - var ret GetLastMinedBlockE400 + var ret CreateFungibleTokensTransactionRequestFromAddressE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40037) GetError() GetLastMinedBlockE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40037) GetErrorOk() (*GetLastMinedBlockE400, bool) { - if o == nil { +func (o *InlineResponse40037) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40037) SetError(v GetLastMinedBlockE400) { +func (o *InlineResponse40037) SetError(v CreateFungibleTokensTransactionRequestFromAddressE400) { o.Error = v } diff --git a/model_inline_response_400_38.go b/model_inline_response_400_38.go index bb60a30..27c23d0 100644 --- a/model_inline_response_400_38.go +++ b/model_inline_response_400_38.go @@ -23,14 +23,14 @@ type InlineResponse40038 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListOmniTransactionsByBlockHeightE400 `json:"error"` + Error ListAllAssetsFromAllWalletsE400 `json:"error"` } // NewInlineResponse40038 instantiates a new InlineResponse40038 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40038(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE400) *InlineResponse40038 { +func NewInlineResponse40038(apiVersion string, requestId string, error_ ListAllAssetsFromAllWalletsE400) *InlineResponse40038 { this := InlineResponse40038{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40038) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40038) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40038) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40038) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40038) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40038) GetError() ListOmniTransactionsByBlockHeightE400 { +func (o *InlineResponse40038) GetError() ListAllAssetsFromAllWalletsE400 { if o == nil { - var ret ListOmniTransactionsByBlockHeightE400 + var ret ListAllAssetsFromAllWalletsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40038) GetError() ListOmniTransactionsByBlockHeightE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40038) GetErrorOk() (*ListOmniTransactionsByBlockHeightE400, bool) { - if o == nil { +func (o *InlineResponse40038) GetErrorOk() (*ListAllAssetsFromAllWalletsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40038) SetError(v ListOmniTransactionsByBlockHeightE400) { +func (o *InlineResponse40038) SetError(v ListAllAssetsFromAllWalletsE400) { o.Error = v } diff --git a/model_inline_response_400_39.go b/model_inline_response_400_39.go index ebd5ee8..d34ae3b 100644 --- a/model_inline_response_400_39.go +++ b/model_inline_response_400_39.go @@ -23,14 +23,14 @@ type InlineResponse40039 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLatestMinedXRPRippleBlockE400 `json:"error"` + Error ListAllAssetsByWalletIDE400 `json:"error"` } // NewInlineResponse40039 instantiates a new InlineResponse40039 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40039(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE400) *InlineResponse40039 { +func NewInlineResponse40039(apiVersion string, requestId string, error_ ListAllAssetsByWalletIDE400) *InlineResponse40039 { this := InlineResponse40039{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40039) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40039) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40039) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40039) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40039) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40039) GetError() GetLatestMinedXRPRippleBlockE400 { +func (o *InlineResponse40039) GetError() ListAllAssetsByWalletIDE400 { if o == nil { - var ret GetLatestMinedXRPRippleBlockE400 + var ret ListAllAssetsByWalletIDE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40039) GetError() GetLatestMinedXRPRippleBlockE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40039) GetErrorOk() (*GetLatestMinedXRPRippleBlockE400, bool) { - if o == nil { +func (o *InlineResponse40039) GetErrorOk() (*ListAllAssetsByWalletIDE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40039) SetError(v GetLatestMinedXRPRippleBlockE400) { +func (o *InlineResponse40039) SetError(v ListAllAssetsByWalletIDE400) { o.Error = v } diff --git a/model_inline_response_400_4.go b/model_inline_response_400_4.go index 2987261..0a30b15 100644 --- a/model_inline_response_400_4.go +++ b/model_inline_response_400_4.go @@ -59,7 +59,7 @@ func (o *InlineResponse4004) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4004) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4004) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4004) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4004) GetError() GetTransactionDetailsByTransactionIDE400 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4004) GetErrorOk() (*GetTransactionDetailsByTransactionIDE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_40.go b/model_inline_response_400_40.go index 2f185b2..44fbb0a 100644 --- a/model_inline_response_400_40.go +++ b/model_inline_response_400_40.go @@ -23,14 +23,14 @@ type InlineResponse40040 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLatestMinedZilliqaBlockE400 `json:"error"` + Error GetLastMinedBlockE400 `json:"error"` } // NewInlineResponse40040 instantiates a new InlineResponse40040 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40040(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE400) *InlineResponse40040 { +func NewInlineResponse40040(apiVersion string, requestId string, error_ GetLastMinedBlockE400) *InlineResponse40040 { this := InlineResponse40040{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40040) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40040) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40040) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40040) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40040) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40040) GetError() GetLatestMinedZilliqaBlockE400 { +func (o *InlineResponse40040) GetError() GetLastMinedBlockE400 { if o == nil { - var ret GetLatestMinedZilliqaBlockE400 + var ret GetLastMinedBlockE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40040) GetError() GetLatestMinedZilliqaBlockE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40040) GetErrorOk() (*GetLatestMinedZilliqaBlockE400, bool) { - if o == nil { +func (o *InlineResponse40040) GetErrorOk() (*GetLastMinedBlockE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40040) SetError(v GetLatestMinedZilliqaBlockE400) { +func (o *InlineResponse40040) SetError(v GetLastMinedBlockE400) { o.Error = v } diff --git a/model_inline_response_400_41.go b/model_inline_response_400_41.go index 4ffc161..e6917ff 100644 --- a/model_inline_response_400_41.go +++ b/model_inline_response_400_41.go @@ -23,14 +23,14 @@ type InlineResponse40041 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTransactionRequestDetailsE400 `json:"error"` + Error ListOmniTransactionsByBlockHeightE400 `json:"error"` } // NewInlineResponse40041 instantiates a new InlineResponse40041 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40041(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE400) *InlineResponse40041 { +func NewInlineResponse40041(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE400) *InlineResponse40041 { this := InlineResponse40041{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40041) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40041) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40041) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40041) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40041) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40041) GetError() GetTransactionRequestDetailsE400 { +func (o *InlineResponse40041) GetError() ListOmniTransactionsByBlockHeightE400 { if o == nil { - var ret GetTransactionRequestDetailsE400 + var ret ListOmniTransactionsByBlockHeightE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40041) GetError() GetTransactionRequestDetailsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40041) GetErrorOk() (*GetTransactionRequestDetailsE400, bool) { - if o == nil { +func (o *InlineResponse40041) GetErrorOk() (*ListOmniTransactionsByBlockHeightE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40041) SetError(v GetTransactionRequestDetailsE400) { +func (o *InlineResponse40041) SetError(v ListOmniTransactionsByBlockHeightE400) { o.Error = v } diff --git a/model_inline_response_400_42.go b/model_inline_response_400_42.go index 57e02b1..b50538a 100644 --- a/model_inline_response_400_42.go +++ b/model_inline_response_400_42.go @@ -23,14 +23,14 @@ type InlineResponse40042 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListLatestMinedBlocksE400 `json:"error"` + Error GetLatestMinedXRPRippleBlockE400 `json:"error"` } // NewInlineResponse40042 instantiates a new InlineResponse40042 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40042(apiVersion string, requestId string, error_ ListLatestMinedBlocksE400) *InlineResponse40042 { +func NewInlineResponse40042(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE400) *InlineResponse40042 { this := InlineResponse40042{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40042) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40042) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40042) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40042) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40042) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40042) GetError() ListLatestMinedBlocksE400 { +func (o *InlineResponse40042) GetError() GetLatestMinedXRPRippleBlockE400 { if o == nil { - var ret ListLatestMinedBlocksE400 + var ret GetLatestMinedXRPRippleBlockE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40042) GetError() ListLatestMinedBlocksE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40042) GetErrorOk() (*ListLatestMinedBlocksE400, bool) { - if o == nil { +func (o *InlineResponse40042) GetErrorOk() (*GetLatestMinedXRPRippleBlockE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40042) SetError(v ListLatestMinedBlocksE400) { +func (o *InlineResponse40042) SetError(v GetLatestMinedXRPRippleBlockE400) { o.Error = v } diff --git a/model_inline_response_400_43.go b/model_inline_response_400_43.go index fb55227..f11f047 100644 --- a/model_inline_response_400_43.go +++ b/model_inline_response_400_43.go @@ -23,14 +23,14 @@ type InlineResponse40043 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error SyncHDWalletXPubYPubZPubE400 `json:"error"` + Error GetLatestMinedZilliqaBlockE400 `json:"error"` } // NewInlineResponse40043 instantiates a new InlineResponse40043 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40043(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE400) *InlineResponse40043 { +func NewInlineResponse40043(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE400) *InlineResponse40043 { this := InlineResponse40043{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40043) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40043) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40043) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40043) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40043) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40043) GetError() SyncHDWalletXPubYPubZPubE400 { +func (o *InlineResponse40043) GetError() GetLatestMinedZilliqaBlockE400 { if o == nil { - var ret SyncHDWalletXPubYPubZPubE400 + var ret GetLatestMinedZilliqaBlockE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40043) GetError() SyncHDWalletXPubYPubZPubE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40043) GetErrorOk() (*SyncHDWalletXPubYPubZPubE400, bool) { - if o == nil { +func (o *InlineResponse40043) GetErrorOk() (*GetLatestMinedZilliqaBlockE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40043) SetError(v SyncHDWalletXPubYPubZPubE400) { +func (o *InlineResponse40043) SetError(v GetLatestMinedZilliqaBlockE400) { o.Error = v } diff --git a/model_inline_response_400_44.go b/model_inline_response_400_44.go index 08d8062..b0e7c30 100644 --- a/model_inline_response_400_44.go +++ b/model_inline_response_400_44.go @@ -23,14 +23,14 @@ type InlineResponse40044 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListOmniTransactionsByBlockHashE400 `json:"error"` + Error GetTransactionRequestDetailsE400 `json:"error"` } // NewInlineResponse40044 instantiates a new InlineResponse40044 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40044(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE400) *InlineResponse40044 { +func NewInlineResponse40044(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE400) *InlineResponse40044 { this := InlineResponse40044{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40044) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40044) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40044) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40044) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40044) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40044) GetError() ListOmniTransactionsByBlockHashE400 { +func (o *InlineResponse40044) GetError() GetTransactionRequestDetailsE400 { if o == nil { - var ret ListOmniTransactionsByBlockHashE400 + var ret GetTransactionRequestDetailsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40044) GetError() ListOmniTransactionsByBlockHashE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40044) GetErrorOk() (*ListOmniTransactionsByBlockHashE400, bool) { - if o == nil { +func (o *InlineResponse40044) GetErrorOk() (*GetTransactionRequestDetailsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40044) SetError(v ListOmniTransactionsByBlockHashE400) { +func (o *InlineResponse40044) SetError(v GetTransactionRequestDetailsE400) { o.Error = v } diff --git a/model_inline_response_400_45.go b/model_inline_response_400_45.go index 4eb4287..f983e51 100644 --- a/model_inline_response_400_45.go +++ b/model_inline_response_400_45.go @@ -23,14 +23,14 @@ type InlineResponse40045 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListWalletTransactionsE400 `json:"error"` + Error ListLatestMinedBlocksE400 `json:"error"` } // NewInlineResponse40045 instantiates a new InlineResponse40045 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40045(apiVersion string, requestId string, error_ ListWalletTransactionsE400) *InlineResponse40045 { +func NewInlineResponse40045(apiVersion string, requestId string, error_ ListLatestMinedBlocksE400) *InlineResponse40045 { this := InlineResponse40045{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40045) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40045) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40045) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40045) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40045) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40045) GetError() ListWalletTransactionsE400 { +func (o *InlineResponse40045) GetError() ListLatestMinedBlocksE400 { if o == nil { - var ret ListWalletTransactionsE400 + var ret ListLatestMinedBlocksE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40045) GetError() ListWalletTransactionsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40045) GetErrorOk() (*ListWalletTransactionsE400, bool) { - if o == nil { +func (o *InlineResponse40045) GetErrorOk() (*ListLatestMinedBlocksE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40045) SetError(v ListWalletTransactionsE400) { +func (o *InlineResponse40045) SetError(v ListLatestMinedBlocksE400) { o.Error = v } diff --git a/model_inline_response_400_46.go b/model_inline_response_400_46.go index 7edd881..bdde0ec 100644 --- a/model_inline_response_400_46.go +++ b/model_inline_response_400_46.go @@ -23,14 +23,14 @@ type InlineResponse40046 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetWalletTransactionDetailsByTransactionIDE400 `json:"error"` + Error SyncHDWalletXPubYPubZPubE400 `json:"error"` } // NewInlineResponse40046 instantiates a new InlineResponse40046 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40046(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE400) *InlineResponse40046 { +func NewInlineResponse40046(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE400) *InlineResponse40046 { this := InlineResponse40046{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40046) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40046) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40046) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40046) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40046) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40046) GetError() GetWalletTransactionDetailsByTransactionIDE400 { +func (o *InlineResponse40046) GetError() SyncHDWalletXPubYPubZPubE400 { if o == nil { - var ret GetWalletTransactionDetailsByTransactionIDE400 + var ret SyncHDWalletXPubYPubZPubE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40046) GetError() GetWalletTransactionDetailsByTransactio // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40046) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE400, bool) { - if o == nil { +func (o *InlineResponse40046) GetErrorOk() (*SyncHDWalletXPubYPubZPubE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40046) SetError(v GetWalletTransactionDetailsByTransactionIDE400) { +func (o *InlineResponse40046) SetError(v SyncHDWalletXPubYPubZPubE400) { o.Error = v } diff --git a/model_inline_response_400_47.go b/model_inline_response_400_47.go index a4a264c..799b6c7 100644 --- a/model_inline_response_400_47.go +++ b/model_inline_response_400_47.go @@ -23,14 +23,14 @@ type InlineResponse40047 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetHDWalletXPubYPubZPubDetailsE400 `json:"error"` + Error ListOmniTransactionsByBlockHashE400 `json:"error"` } // NewInlineResponse40047 instantiates a new InlineResponse40047 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40047(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE400) *InlineResponse40047 { +func NewInlineResponse40047(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE400) *InlineResponse40047 { this := InlineResponse40047{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40047) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40047) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40047) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40047) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40047) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40047) GetError() GetHDWalletXPubYPubZPubDetailsE400 { +func (o *InlineResponse40047) GetError() ListOmniTransactionsByBlockHashE400 { if o == nil { - var ret GetHDWalletXPubYPubZPubDetailsE400 + var ret ListOmniTransactionsByBlockHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40047) GetError() GetHDWalletXPubYPubZPubDetailsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40047) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE400, bool) { - if o == nil { +func (o *InlineResponse40047) GetErrorOk() (*ListOmniTransactionsByBlockHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40047) SetError(v GetHDWalletXPubYPubZPubDetailsE400) { +func (o *InlineResponse40047) SetError(v ListOmniTransactionsByBlockHashE400) { o.Error = v } diff --git a/model_inline_response_400_48.go b/model_inline_response_400_48.go index 936e30f..c4f3c62 100644 --- a/model_inline_response_400_48.go +++ b/model_inline_response_400_48.go @@ -23,14 +23,14 @@ type InlineResponse40048 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListInternalTransactionDetailsByTransactionHashE400 `json:"error"` + Error ListWalletTransactionsE400 `json:"error"` } // NewInlineResponse40048 instantiates a new InlineResponse40048 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40048(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE400) *InlineResponse40048 { +func NewInlineResponse40048(apiVersion string, requestId string, error_ ListWalletTransactionsE400) *InlineResponse40048 { this := InlineResponse40048{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40048) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40048) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40048) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40048) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40048) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40048) GetError() ListInternalTransactionDetailsByTransactionHashE400 { +func (o *InlineResponse40048) GetError() ListWalletTransactionsE400 { if o == nil { - var ret ListInternalTransactionDetailsByTransactionHashE400 + var ret ListWalletTransactionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40048) GetError() ListInternalTransactionDetailsByTransac // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40048) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE400, bool) { - if o == nil { +func (o *InlineResponse40048) GetErrorOk() (*ListWalletTransactionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40048) SetError(v ListInternalTransactionDetailsByTransactionHashE400) { +func (o *InlineResponse40048) SetError(v ListWalletTransactionsE400) { o.Error = v } diff --git a/model_inline_response_400_49.go b/model_inline_response_400_49.go index 60d0c20..0870c94 100644 --- a/model_inline_response_400_49.go +++ b/model_inline_response_400_49.go @@ -23,14 +23,14 @@ type InlineResponse40049 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListHDWalletXPubYPubZPubTransactionsE400 `json:"error"` + Error GetWalletTransactionDetailsByTransactionIDE400 `json:"error"` } // NewInlineResponse40049 instantiates a new InlineResponse40049 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40049(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE400) *InlineResponse40049 { +func NewInlineResponse40049(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE400) *InlineResponse40049 { this := InlineResponse40049{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40049) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40049) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40049) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40049) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40049) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40049) GetError() ListHDWalletXPubYPubZPubTransactionsE400 { +func (o *InlineResponse40049) GetError() GetWalletTransactionDetailsByTransactionIDE400 { if o == nil { - var ret ListHDWalletXPubYPubZPubTransactionsE400 + var ret GetWalletTransactionDetailsByTransactionIDE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40049) GetError() ListHDWalletXPubYPubZPubTransactionsE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40049) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE400, bool) { - if o == nil { +func (o *InlineResponse40049) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40049) SetError(v ListHDWalletXPubYPubZPubTransactionsE400) { +func (o *InlineResponse40049) SetError(v GetWalletTransactionDetailsByTransactionIDE400) { o.Error = v } diff --git a/model_inline_response_400_5.go b/model_inline_response_400_5.go index ffcafda..e902890 100644 --- a/model_inline_response_400_5.go +++ b/model_inline_response_400_5.go @@ -59,7 +59,7 @@ func (o *InlineResponse4005) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4005) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4005) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4005) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4005) GetError() ListOmniTransactionsByAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4005) GetErrorOk() (*ListOmniTransactionsByAddressE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_50.go b/model_inline_response_400_50.go index b1cc7a6..044f5fb 100644 --- a/model_inline_response_400_50.go +++ b/model_inline_response_400_50.go @@ -23,14 +23,14 @@ type InlineResponse40050 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetInternalTransactionByTransactionHashAndOperationIdE400 `json:"error"` + Error GetHDWalletXPubYPubZPubAssetsE400 `json:"error"` } // NewInlineResponse40050 instantiates a new InlineResponse40050 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40050(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE400) *InlineResponse40050 { +func NewInlineResponse40050(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubAssetsE400) *InlineResponse40050 { this := InlineResponse40050{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40050) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40050) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40050) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40050) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40050) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40050) GetError() GetInternalTransactionByTransactionHashAndOperationIdE400 { +func (o *InlineResponse40050) GetError() GetHDWalletXPubYPubZPubAssetsE400 { if o == nil { - var ret GetInternalTransactionByTransactionHashAndOperationIdE400 + var ret GetHDWalletXPubYPubZPubAssetsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40050) GetError() GetInternalTransactionByTransactionHash // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40050) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE400, bool) { - if o == nil { +func (o *InlineResponse40050) GetErrorOk() (*GetHDWalletXPubYPubZPubAssetsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40050) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE400) { +func (o *InlineResponse40050) SetError(v GetHDWalletXPubYPubZPubAssetsE400) { o.Error = v } diff --git a/model_inline_response_400_51.go b/model_inline_response_400_51.go index 0be0ed3..e33828b 100644 --- a/model_inline_response_400_51.go +++ b/model_inline_response_400_51.go @@ -23,14 +23,14 @@ type InlineResponse40051 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListInternalTransactionsByAddressE400 `json:"error"` + Error GetHDWalletXPubYPubZPubDetailsE400 `json:"error"` } // NewInlineResponse40051 instantiates a new InlineResponse40051 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40051(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE400) *InlineResponse40051 { +func NewInlineResponse40051(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE400) *InlineResponse40051 { this := InlineResponse40051{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40051) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40051) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40051) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40051) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40051) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40051) GetError() ListInternalTransactionsByAddressE400 { +func (o *InlineResponse40051) GetError() GetHDWalletXPubYPubZPubDetailsE400 { if o == nil { - var ret ListInternalTransactionsByAddressE400 + var ret GetHDWalletXPubYPubZPubDetailsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40051) GetError() ListInternalTransactionsByAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40051) GetErrorOk() (*ListInternalTransactionsByAddressE400, bool) { - if o == nil { +func (o *InlineResponse40051) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40051) SetError(v ListInternalTransactionsByAddressE400) { +func (o *InlineResponse40051) SetError(v GetHDWalletXPubYPubZPubDetailsE400) { o.Error = v } diff --git a/model_inline_response_400_52.go b/model_inline_response_400_52.go index 76ebe49..f68422d 100644 --- a/model_inline_response_400_52.go +++ b/model_inline_response_400_52.go @@ -23,14 +23,14 @@ type InlineResponse40052 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListUnspentTransactionOutputsByAddressE400 `json:"error"` + Error ListInternalTransactionDetailsByTransactionHashE400 `json:"error"` } // NewInlineResponse40052 instantiates a new InlineResponse40052 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40052(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE400) *InlineResponse40052 { +func NewInlineResponse40052(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE400) *InlineResponse40052 { this := InlineResponse40052{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40052) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40052) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40052) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40052) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40052) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40052) GetError() ListUnspentTransactionOutputsByAddressE400 { +func (o *InlineResponse40052) GetError() ListInternalTransactionDetailsByTransactionHashE400 { if o == nil { - var ret ListUnspentTransactionOutputsByAddressE400 + var ret ListInternalTransactionDetailsByTransactionHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40052) GetError() ListUnspentTransactionOutputsByAddressE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40052) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE400, bool) { - if o == nil { +func (o *InlineResponse40052) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40052) SetError(v ListUnspentTransactionOutputsByAddressE400) { +func (o *InlineResponse40052) SetError(v ListInternalTransactionDetailsByTransactionHashE400) { o.Error = v } diff --git a/model_inline_response_400_53.go b/model_inline_response_400_53.go index fc6340d..869256f 100644 --- a/model_inline_response_400_53.go +++ b/model_inline_response_400_53.go @@ -23,14 +23,14 @@ type InlineResponse40053 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetFeeRecommendationsE400 `json:"error"` + Error ListHDWalletXPubYPubZPubTransactionsE400 `json:"error"` } // NewInlineResponse40053 instantiates a new InlineResponse40053 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40053(apiVersion string, requestId string, error_ GetFeeRecommendationsE400) *InlineResponse40053 { +func NewInlineResponse40053(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE400) *InlineResponse40053 { this := InlineResponse40053{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40053) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40053) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40053) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40053) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40053) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40053) GetError() GetFeeRecommendationsE400 { +func (o *InlineResponse40053) GetError() ListHDWalletXPubYPubZPubTransactionsE400 { if o == nil { - var ret GetFeeRecommendationsE400 + var ret ListHDWalletXPubYPubZPubTransactionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40053) GetError() GetFeeRecommendationsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40053) GetErrorOk() (*GetFeeRecommendationsE400, bool) { - if o == nil { +func (o *InlineResponse40053) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40053) SetError(v GetFeeRecommendationsE400) { +func (o *InlineResponse40053) SetError(v ListHDWalletXPubYPubZPubTransactionsE400) { o.Error = v } diff --git a/model_inline_response_400_54.go b/model_inline_response_400_54.go index e785dcb..aa3a946 100644 --- a/model_inline_response_400_54.go +++ b/model_inline_response_400_54.go @@ -23,14 +23,14 @@ type InlineResponse40054 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensTransfersByTransactionHashE400 `json:"error"` + Error GetInternalTransactionByTransactionHashAndOperationIdE400 `json:"error"` } // NewInlineResponse40054 instantiates a new InlineResponse40054 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40054(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE400) *InlineResponse40054 { +func NewInlineResponse40054(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE400) *InlineResponse40054 { this := InlineResponse40054{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40054) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40054) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40054) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40054) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40054) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40054) GetError() ListTokensTransfersByTransactionHashE400 { +func (o *InlineResponse40054) GetError() GetInternalTransactionByTransactionHashAndOperationIdE400 { if o == nil { - var ret ListTokensTransfersByTransactionHashE400 + var ret GetInternalTransactionByTransactionHashAndOperationIdE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40054) GetError() ListTokensTransfersByTransactionHashE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40054) GetErrorOk() (*ListTokensTransfersByTransactionHashE400, bool) { - if o == nil { +func (o *InlineResponse40054) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40054) SetError(v ListTokensTransfersByTransactionHashE400) { +func (o *InlineResponse40054) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE400) { o.Error = v } diff --git a/model_inline_response_400_55.go b/model_inline_response_400_55.go index be4245b..7bad1e8 100644 --- a/model_inline_response_400_55.go +++ b/model_inline_response_400_55.go @@ -23,14 +23,14 @@ type InlineResponse40055 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListConfirmedTokensTransfersByAddressE400 `json:"error"` + Error ListHDWalletXPubYPubZPubUTXOsE400 `json:"error"` } // NewInlineResponse40055 instantiates a new InlineResponse40055 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40055(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE400) *InlineResponse40055 { +func NewInlineResponse40055(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubUTXOsE400) *InlineResponse40055 { this := InlineResponse40055{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40055) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40055) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40055) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40055) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40055) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40055) GetError() ListConfirmedTokensTransfersByAddressE400 { +func (o *InlineResponse40055) GetError() ListHDWalletXPubYPubZPubUTXOsE400 { if o == nil { - var ret ListConfirmedTokensTransfersByAddressE400 + var ret ListHDWalletXPubYPubZPubUTXOsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40055) GetError() ListConfirmedTokensTransfersByAddressE4 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40055) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE400, bool) { - if o == nil { +func (o *InlineResponse40055) GetErrorOk() (*ListHDWalletXPubYPubZPubUTXOsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40055) SetError(v ListConfirmedTokensTransfersByAddressE400) { +func (o *InlineResponse40055) SetError(v ListHDWalletXPubYPubZPubUTXOsE400) { o.Error = v } diff --git a/model_inline_response_400_56.go b/model_inline_response_400_56.go index 3b6a0d5..3eed6df 100644 --- a/model_inline_response_400_56.go +++ b/model_inline_response_400_56.go @@ -23,14 +23,14 @@ type InlineResponse40056 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensByAddressE400 `json:"error"` + Error ListInternalTransactionsByAddressE400 `json:"error"` } // NewInlineResponse40056 instantiates a new InlineResponse40056 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40056(apiVersion string, requestId string, error_ ListTokensByAddressE400) *InlineResponse40056 { +func NewInlineResponse40056(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE400) *InlineResponse40056 { this := InlineResponse40056{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40056) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40056) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40056) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40056) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40056) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40056) GetError() ListTokensByAddressE400 { +func (o *InlineResponse40056) GetError() ListInternalTransactionsByAddressE400 { if o == nil { - var ret ListTokensByAddressE400 + var ret ListInternalTransactionsByAddressE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40056) GetError() ListTokensByAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40056) GetErrorOk() (*ListTokensByAddressE400, bool) { - if o == nil { +func (o *InlineResponse40056) GetErrorOk() (*ListInternalTransactionsByAddressE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40056) SetError(v ListTokensByAddressE400) { +func (o *InlineResponse40056) SetError(v ListInternalTransactionsByAddressE400) { o.Error = v } diff --git a/model_inline_response_400_57.go b/model_inline_response_400_57.go index bd6dd65..6dcf0b4 100644 --- a/model_inline_response_400_57.go +++ b/model_inline_response_400_57.go @@ -23,14 +23,14 @@ type InlineResponse40057 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTokenDetailsByContractAddressE400 `json:"error"` + Error GetFeeRecommendationsE400 `json:"error"` } // NewInlineResponse40057 instantiates a new InlineResponse40057 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40057(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE400) *InlineResponse40057 { +func NewInlineResponse40057(apiVersion string, requestId string, error_ GetFeeRecommendationsE400) *InlineResponse40057 { this := InlineResponse40057{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40057) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40057) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40057) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40057) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40057) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40057) GetError() GetTokenDetailsByContractAddressE400 { +func (o *InlineResponse40057) GetError() GetFeeRecommendationsE400 { if o == nil { - var ret GetTokenDetailsByContractAddressE400 + var ret GetFeeRecommendationsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40057) GetError() GetTokenDetailsByContractAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40057) GetErrorOk() (*GetTokenDetailsByContractAddressE400, bool) { - if o == nil { +func (o *InlineResponse40057) GetErrorOk() (*GetFeeRecommendationsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40057) SetError(v GetTokenDetailsByContractAddressE400) { +func (o *InlineResponse40057) SetError(v GetFeeRecommendationsE400) { o.Error = v } diff --git a/model_inline_response_400_58.go b/model_inline_response_400_58.go index e511b38..d20d90f 100644 --- a/model_inline_response_400_58.go +++ b/model_inline_response_400_58.go @@ -23,14 +23,14 @@ type InlineResponse40058 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewUnconfirmedCoinsTransactionsE400 `json:"error"` + Error GetNextAvailableNonceE400 `json:"error"` } // NewInlineResponse40058 instantiates a new InlineResponse40058 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40058(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE400) *InlineResponse40058 { +func NewInlineResponse40058(apiVersion string, requestId string, error_ GetNextAvailableNonceE400) *InlineResponse40058 { this := InlineResponse40058{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40058) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40058) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40058) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40058) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40058) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40058) GetError() NewUnconfirmedCoinsTransactionsE400 { +func (o *InlineResponse40058) GetError() GetNextAvailableNonceE400 { if o == nil { - var ret NewUnconfirmedCoinsTransactionsE400 + var ret GetNextAvailableNonceE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40058) GetError() NewUnconfirmedCoinsTransactionsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40058) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE400, bool) { - if o == nil { +func (o *InlineResponse40058) GetErrorOk() (*GetNextAvailableNonceE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40058) SetError(v NewUnconfirmedCoinsTransactionsE400) { +func (o *InlineResponse40058) SetError(v GetNextAvailableNonceE400) { o.Error = v } diff --git a/model_inline_response_400_59.go b/model_inline_response_400_59.go index 8cb0e41..5740867 100644 --- a/model_inline_response_400_59.go +++ b/model_inline_response_400_59.go @@ -23,14 +23,14 @@ type InlineResponse40059 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewUnconfirmedTokensTransactionsE400 `json:"error"` + Error ListUnspentTransactionOutputsByAddressE400 `json:"error"` } // NewInlineResponse40059 instantiates a new InlineResponse40059 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40059(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE400) *InlineResponse40059 { +func NewInlineResponse40059(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE400) *InlineResponse40059 { this := InlineResponse40059{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40059) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40059) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40059) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40059) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40059) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40059) GetError() NewUnconfirmedTokensTransactionsE400 { +func (o *InlineResponse40059) GetError() ListUnspentTransactionOutputsByAddressE400 { if o == nil { - var ret NewUnconfirmedTokensTransactionsE400 + var ret ListUnspentTransactionOutputsByAddressE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40059) GetError() NewUnconfirmedTokensTransactionsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40059) GetErrorOk() (*NewUnconfirmedTokensTransactionsE400, bool) { - if o == nil { +func (o *InlineResponse40059) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40059) SetError(v NewUnconfirmedTokensTransactionsE400) { +func (o *InlineResponse40059) SetError(v ListUnspentTransactionOutputsByAddressE400) { o.Error = v } diff --git a/model_inline_response_400_6.go b/model_inline_response_400_6.go index d927900..b9b65eb 100644 --- a/model_inline_response_400_6.go +++ b/model_inline_response_400_6.go @@ -59,7 +59,7 @@ func (o *InlineResponse4006) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4006) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4006) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4006) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4006) GetError() GetXRPRippleTransactionDetailsByTransact // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4006) GetErrorOk() (*GetXRPRippleTransactionDetailsByTransactionIDE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_60.go b/model_inline_response_400_60.go index 6866733..8c5eac6 100644 --- a/model_inline_response_400_60.go +++ b/model_inline_response_400_60.go @@ -23,14 +23,14 @@ type InlineResponse40060 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedCoinsTransactionsE400 `json:"error"` + Error ListTokensTransfersByTransactionHashE400 `json:"error"` } // NewInlineResponse40060 instantiates a new InlineResponse40060 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40060(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE400) *InlineResponse40060 { +func NewInlineResponse40060(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE400) *InlineResponse40060 { this := InlineResponse40060{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40060) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40060) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40060) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40060) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40060) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40060) GetError() NewConfirmedCoinsTransactionsE400 { +func (o *InlineResponse40060) GetError() ListTokensTransfersByTransactionHashE400 { if o == nil { - var ret NewConfirmedCoinsTransactionsE400 + var ret ListTokensTransfersByTransactionHashE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40060) GetError() NewConfirmedCoinsTransactionsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40060) GetErrorOk() (*NewConfirmedCoinsTransactionsE400, bool) { - if o == nil { +func (o *InlineResponse40060) GetErrorOk() (*ListTokensTransfersByTransactionHashE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40060) SetError(v NewConfirmedCoinsTransactionsE400) { +func (o *InlineResponse40060) SetError(v ListTokensTransfersByTransactionHashE400) { o.Error = v } diff --git a/model_inline_response_400_61.go b/model_inline_response_400_61.go index af47451..2f97799 100644 --- a/model_inline_response_400_61.go +++ b/model_inline_response_400_61.go @@ -23,14 +23,14 @@ type InlineResponse40061 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedTokensTransactionsE400 `json:"error"` + Error ListConfirmedTransactionsByAddressAndTimeRangeE400 `json:"error"` } // NewInlineResponse40061 instantiates a new InlineResponse40061 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40061(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE400) *InlineResponse40061 { +func NewInlineResponse40061(apiVersion string, requestId string, error_ ListConfirmedTransactionsByAddressAndTimeRangeE400) *InlineResponse40061 { this := InlineResponse40061{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40061) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40061) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40061) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40061) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40061) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40061) GetError() NewConfirmedTokensTransactionsE400 { +func (o *InlineResponse40061) GetError() ListConfirmedTransactionsByAddressAndTimeRangeE400 { if o == nil { - var ret NewConfirmedTokensTransactionsE400 + var ret ListConfirmedTransactionsByAddressAndTimeRangeE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40061) GetError() NewConfirmedTokensTransactionsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40061) GetErrorOk() (*NewConfirmedTokensTransactionsE400, bool) { - if o == nil { +func (o *InlineResponse40061) GetErrorOk() (*ListConfirmedTransactionsByAddressAndTimeRangeE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40061) SetError(v NewConfirmedTokensTransactionsE400) { +func (o *InlineResponse40061) SetError(v ListConfirmedTransactionsByAddressAndTimeRangeE400) { o.Error = v } diff --git a/model_inline_response_400_62.go b/model_inline_response_400_62.go index 10b840d..7884eb1 100644 --- a/model_inline_response_400_62.go +++ b/model_inline_response_400_62.go @@ -23,14 +23,14 @@ type InlineResponse40062 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedTokensTransactionsAndEachConfirmationE400 `json:"error"` + Error ListConfirmedTokensTransfersByAddressAndTimeRangeE400 `json:"error"` } // NewInlineResponse40062 instantiates a new InlineResponse40062 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40062(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE400) *InlineResponse40062 { +func NewInlineResponse40062(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressAndTimeRangeE400) *InlineResponse40062 { this := InlineResponse40062{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40062) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40062) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40062) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40062) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40062) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40062) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE400 { +func (o *InlineResponse40062) GetError() ListConfirmedTokensTransfersByAddressAndTimeRangeE400 { if o == nil { - var ret NewConfirmedTokensTransactionsAndEachConfirmationE400 + var ret ListConfirmedTokensTransfersByAddressAndTimeRangeE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40062) GetError() NewConfirmedTokensTransactionsAndEachCo // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40062) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE400, bool) { - if o == nil { +func (o *InlineResponse40062) GetErrorOk() (*ListConfirmedTokensTransfersByAddressAndTimeRangeE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40062) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE400) { +func (o *InlineResponse40062) SetError(v ListConfirmedTokensTransfersByAddressAndTimeRangeE400) { o.Error = v } diff --git a/model_inline_response_400_63.go b/model_inline_response_400_63.go index c07fd76..832effc 100644 --- a/model_inline_response_400_63.go +++ b/model_inline_response_400_63.go @@ -23,14 +23,14 @@ type InlineResponse40063 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedCoinsTransactionsAndEachConfirmationE400 `json:"error"` + Error ListInternalTransactionsByAddressAndTimeRangeE400 `json:"error"` } // NewInlineResponse40063 instantiates a new InlineResponse40063 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40063(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE400) *InlineResponse40063 { +func NewInlineResponse40063(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressAndTimeRangeE400) *InlineResponse40063 { this := InlineResponse40063{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40063) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40063) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40063) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40063) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40063) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40063) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE400 { +func (o *InlineResponse40063) GetError() ListInternalTransactionsByAddressAndTimeRangeE400 { if o == nil { - var ret NewConfirmedCoinsTransactionsAndEachConfirmationE400 + var ret ListInternalTransactionsByAddressAndTimeRangeE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40063) GetError() NewConfirmedCoinsTransactionsAndEachCon // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40063) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE400, bool) { - if o == nil { +func (o *InlineResponse40063) GetErrorOk() (*ListInternalTransactionsByAddressAndTimeRangeE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40063) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE400) { +func (o *InlineResponse40063) SetError(v ListInternalTransactionsByAddressAndTimeRangeE400) { o.Error = v } diff --git a/model_inline_response_400_64.go b/model_inline_response_400_64.go index 16b80c2..98a89ee 100644 --- a/model_inline_response_400_64.go +++ b/model_inline_response_400_64.go @@ -23,14 +23,14 @@ type InlineResponse40064 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error MinedTransactionE400 `json:"error"` + Error ListConfirmedTokensTransfersByAddressE400 `json:"error"` } // NewInlineResponse40064 instantiates a new InlineResponse40064 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40064(apiVersion string, requestId string, error_ MinedTransactionE400) *InlineResponse40064 { +func NewInlineResponse40064(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE400) *InlineResponse40064 { this := InlineResponse40064{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40064) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40064) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40064) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40064) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40064) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40064) GetError() MinedTransactionE400 { +func (o *InlineResponse40064) GetError() ListConfirmedTokensTransfersByAddressE400 { if o == nil { - var ret MinedTransactionE400 + var ret ListConfirmedTokensTransfersByAddressE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40064) GetError() MinedTransactionE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40064) GetErrorOk() (*MinedTransactionE400, bool) { - if o == nil { +func (o *InlineResponse40064) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40064) SetError(v MinedTransactionE400) { +func (o *InlineResponse40064) SetError(v ListConfirmedTokensTransfersByAddressE400) { o.Error = v } diff --git a/model_inline_response_400_65.go b/model_inline_response_400_65.go index 0834f87..53b0a12 100644 --- a/model_inline_response_400_65.go +++ b/model_inline_response_400_65.go @@ -23,14 +23,14 @@ type InlineResponse40065 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewBlockE400 `json:"error"` + Error GetRawTransactionDataE400 `json:"error"` } // NewInlineResponse40065 instantiates a new InlineResponse40065 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40065(apiVersion string, requestId string, error_ NewBlockE400) *InlineResponse40065 { +func NewInlineResponse40065(apiVersion string, requestId string, error_ GetRawTransactionDataE400) *InlineResponse40065 { this := InlineResponse40065{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40065) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40065) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40065) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40065) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40065) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40065) GetError() NewBlockE400 { +func (o *InlineResponse40065) GetError() GetRawTransactionDataE400 { if o == nil { - var ret NewBlockE400 + var ret GetRawTransactionDataE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40065) GetError() NewBlockE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40065) GetErrorOk() (*NewBlockE400, bool) { - if o == nil { +func (o *InlineResponse40065) GetErrorOk() (*GetRawTransactionDataE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40065) SetError(v NewBlockE400) { +func (o *InlineResponse40065) SetError(v GetRawTransactionDataE400) { o.Error = v } diff --git a/model_inline_response_400_66.go b/model_inline_response_400_66.go index e6ab8d9..283ca70 100644 --- a/model_inline_response_400_66.go +++ b/model_inline_response_400_66.go @@ -23,14 +23,14 @@ type InlineResponse40066 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListBlockchainEventsSubscriptionsE400 `json:"error"` + Error ListUnconfirmedTokensTransfersByAddressE400 `json:"error"` } // NewInlineResponse40066 instantiates a new InlineResponse40066 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40066(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE400) *InlineResponse40066 { +func NewInlineResponse40066(apiVersion string, requestId string, error_ ListUnconfirmedTokensTransfersByAddressE400) *InlineResponse40066 { this := InlineResponse40066{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40066) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40066) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40066) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40066) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40066) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40066) GetError() ListBlockchainEventsSubscriptionsE400 { +func (o *InlineResponse40066) GetError() ListUnconfirmedTokensTransfersByAddressE400 { if o == nil { - var ret ListBlockchainEventsSubscriptionsE400 + var ret ListUnconfirmedTokensTransfersByAddressE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40066) GetError() ListBlockchainEventsSubscriptionsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40066) GetErrorOk() (*ListBlockchainEventsSubscriptionsE400, bool) { - if o == nil { +func (o *InlineResponse40066) GetErrorOk() (*ListUnconfirmedTokensTransfersByAddressE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40066) SetError(v ListBlockchainEventsSubscriptionsE400) { +func (o *InlineResponse40066) SetError(v ListUnconfirmedTokensTransfersByAddressE400) { o.Error = v } diff --git a/model_inline_response_400_67.go b/model_inline_response_400_67.go index 9e5e36c..4e05562 100644 --- a/model_inline_response_400_67.go +++ b/model_inline_response_400_67.go @@ -23,14 +23,14 @@ type InlineResponse40067 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ActivateBlockchainEventSubscriptionE400 `json:"error"` + Error ListTokensByAddressE400 `json:"error"` } // NewInlineResponse40067 instantiates a new InlineResponse40067 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40067(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE400) *InlineResponse40067 { +func NewInlineResponse40067(apiVersion string, requestId string, error_ ListTokensByAddressE400) *InlineResponse40067 { this := InlineResponse40067{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40067) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40067) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40067) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40067) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40067) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40067) GetError() ActivateBlockchainEventSubscriptionE400 { +func (o *InlineResponse40067) GetError() ListTokensByAddressE400 { if o == nil { - var ret ActivateBlockchainEventSubscriptionE400 + var ret ListTokensByAddressE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40067) GetError() ActivateBlockchainEventSubscriptionE400 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40067) GetErrorOk() (*ActivateBlockchainEventSubscriptionE400, bool) { - if o == nil { +func (o *InlineResponse40067) GetErrorOk() (*ListTokensByAddressE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40067) SetError(v ActivateBlockchainEventSubscriptionE400) { +func (o *InlineResponse40067) SetError(v ListTokensByAddressE400) { o.Error = v } diff --git a/model_inline_response_400_68.go b/model_inline_response_400_68.go index c491f10..1f71c75 100644 --- a/model_inline_response_400_68.go +++ b/model_inline_response_400_68.go @@ -23,14 +23,14 @@ type InlineResponse40068 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteBlockchainEventSubscriptionE400 `json:"error"` + Error EstimateTransactionSmartFeeE400 `json:"error"` } // NewInlineResponse40068 instantiates a new InlineResponse40068 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40068(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE400) *InlineResponse40068 { +func NewInlineResponse40068(apiVersion string, requestId string, error_ EstimateTransactionSmartFeeE400) *InlineResponse40068 { this := InlineResponse40068{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40068) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40068) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40068) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40068) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40068) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40068) GetError() DeleteBlockchainEventSubscriptionE400 { +func (o *InlineResponse40068) GetError() EstimateTransactionSmartFeeE400 { if o == nil { - var ret DeleteBlockchainEventSubscriptionE400 + var ret EstimateTransactionSmartFeeE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40068) GetError() DeleteBlockchainEventSubscriptionE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40068) GetErrorOk() (*DeleteBlockchainEventSubscriptionE400, bool) { - if o == nil { +func (o *InlineResponse40068) GetErrorOk() (*EstimateTransactionSmartFeeE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40068) SetError(v DeleteBlockchainEventSubscriptionE400) { +func (o *InlineResponse40068) SetError(v EstimateTransactionSmartFeeE400) { o.Error = v } diff --git a/model_inline_response_400_69.go b/model_inline_response_400_69.go index 42604e4..e1e0bd4 100644 --- a/model_inline_response_400_69.go +++ b/model_inline_response_400_69.go @@ -23,14 +23,14 @@ type InlineResponse40069 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAddressDetailsFromCallbackE400 `json:"error"` + Error GetTokenDetailsByContractAddressE400 `json:"error"` } // NewInlineResponse40069 instantiates a new InlineResponse40069 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40069(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE400) *InlineResponse40069 { +func NewInlineResponse40069(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE400) *InlineResponse40069 { this := InlineResponse40069{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40069) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40069) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40069) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40069) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40069) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40069) GetError() GetAddressDetailsFromCallbackE400 { +func (o *InlineResponse40069) GetError() GetTokenDetailsByContractAddressE400 { if o == nil { - var ret GetAddressDetailsFromCallbackE400 + var ret GetTokenDetailsByContractAddressE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40069) GetError() GetAddressDetailsFromCallbackE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40069) GetErrorOk() (*GetAddressDetailsFromCallbackE400, bool) { - if o == nil { +func (o *InlineResponse40069) GetErrorOk() (*GetTokenDetailsByContractAddressE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40069) SetError(v GetAddressDetailsFromCallbackE400) { +func (o *InlineResponse40069) SetError(v GetTokenDetailsByContractAddressE400) { o.Error = v } diff --git a/model_inline_response_400_7.go b/model_inline_response_400_7.go index 1944c79..e00b6af 100644 --- a/model_inline_response_400_7.go +++ b/model_inline_response_400_7.go @@ -59,7 +59,7 @@ func (o *InlineResponse4007) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4007) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4007) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4007) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4007) GetError() ListDepositAddressesE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4007) GetErrorOk() (*ListDepositAddressesE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_70.go b/model_inline_response_400_70.go index f4fb4ab..f1bafcd 100644 --- a/model_inline_response_400_70.go +++ b/model_inline_response_400_70.go @@ -23,14 +23,14 @@ type InlineResponse40070 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTransactionDetailsByTransactionIDFromCallbackE400 `json:"error"` + Error DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 `json:"error"` } // NewInlineResponse40070 instantiates a new InlineResponse40070 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40070(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE400) *InlineResponse40070 { +func NewInlineResponse40070(apiVersion string, requestId string, error_ DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) *InlineResponse40070 { this := InlineResponse40070{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40070) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40070) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40070) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40070) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40070) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40070) GetError() GetTransactionDetailsByTransactionIDFromCallbackE400 { +func (o *InlineResponse40070) GetError() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 { if o == nil { - var ret GetTransactionDetailsByTransactionIDFromCallbackE400 + var ret DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40070) GetError() GetTransactionDetailsByTransactionIDFro // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40070) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE400, bool) { - if o == nil { +func (o *InlineResponse40070) GetErrorOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40070) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE400) { +func (o *InlineResponse40070) SetError(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE400) { o.Error = v } diff --git a/model_inline_response_400_71.go b/model_inline_response_400_71.go index 937a41e..fca2cf8 100644 --- a/model_inline_response_400_71.go +++ b/model_inline_response_400_71.go @@ -23,14 +23,14 @@ type InlineResponse40071 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHashFromCallbackE400 `json:"error"` + Error NewUnconfirmedCoinsTransactionsE400 `json:"error"` } // NewInlineResponse40071 instantiates a new InlineResponse40071 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40071(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE400) *InlineResponse40071 { +func NewInlineResponse40071(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE400) *InlineResponse40071 { this := InlineResponse40071{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40071) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40071) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40071) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40071) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40071) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40071) GetError() GetBlockDetailsByBlockHashFromCallbackE400 { +func (o *InlineResponse40071) GetError() NewUnconfirmedCoinsTransactionsE400 { if o == nil { - var ret GetBlockDetailsByBlockHashFromCallbackE400 + var ret NewUnconfirmedCoinsTransactionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40071) GetError() GetBlockDetailsByBlockHashFromCallbackE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40071) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE400, bool) { - if o == nil { +func (o *InlineResponse40071) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40071) SetError(v GetBlockDetailsByBlockHashFromCallbackE400) { +func (o *InlineResponse40071) SetError(v NewUnconfirmedCoinsTransactionsE400) { o.Error = v } diff --git a/model_inline_response_400_72.go b/model_inline_response_400_72.go index ed0f493..cdc29ec 100644 --- a/model_inline_response_400_72.go +++ b/model_inline_response_400_72.go @@ -23,14 +23,14 @@ type InlineResponse40072 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHeightFromCallbackE400 `json:"error"` + Error NewUnconfirmedTokensTransactionsE400 `json:"error"` } // NewInlineResponse40072 instantiates a new InlineResponse40072 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40072(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE400) *InlineResponse40072 { +func NewInlineResponse40072(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE400) *InlineResponse40072 { this := InlineResponse40072{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40072) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40072) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40072) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40072) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40072) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40072) GetError() GetBlockDetailsByBlockHeightFromCallbackE400 { +func (o *InlineResponse40072) GetError() NewUnconfirmedTokensTransactionsE400 { if o == nil { - var ret GetBlockDetailsByBlockHeightFromCallbackE400 + var ret NewUnconfirmedTokensTransactionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40072) GetError() GetBlockDetailsByBlockHeightFromCallbac // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40072) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE400, bool) { - if o == nil { +func (o *InlineResponse40072) GetErrorOk() (*NewUnconfirmedTokensTransactionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40072) SetError(v GetBlockDetailsByBlockHeightFromCallbackE400) { +func (o *InlineResponse40072) SetError(v NewUnconfirmedTokensTransactionsE400) { o.Error = v } diff --git a/model_inline_response_400_73.go b/model_inline_response_400_73.go index c24ea45..ed971c5 100644 --- a/model_inline_response_400_73.go +++ b/model_inline_response_400_73.go @@ -23,14 +23,14 @@ type InlineResponse40073 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedInternalTransactionsE400 `json:"error"` + Error NewConfirmedCoinsTransactionsE400 `json:"error"` } // NewInlineResponse40073 instantiates a new InlineResponse40073 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40073(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE400) *InlineResponse40073 { +func NewInlineResponse40073(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE400) *InlineResponse40073 { this := InlineResponse40073{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40073) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40073) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40073) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40073) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40073) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40073) GetError() NewConfirmedInternalTransactionsE400 { +func (o *InlineResponse40073) GetError() NewConfirmedCoinsTransactionsE400 { if o == nil { - var ret NewConfirmedInternalTransactionsE400 + var ret NewConfirmedCoinsTransactionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40073) GetError() NewConfirmedInternalTransactionsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40073) GetErrorOk() (*NewConfirmedInternalTransactionsE400, bool) { - if o == nil { +func (o *InlineResponse40073) GetErrorOk() (*NewConfirmedCoinsTransactionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40073) SetError(v NewConfirmedInternalTransactionsE400) { +func (o *InlineResponse40073) SetError(v NewConfirmedCoinsTransactionsE400) { o.Error = v } diff --git a/model_inline_response_400_74.go b/model_inline_response_400_74.go index 30a2028..08d9c63 100644 --- a/model_inline_response_400_74.go +++ b/model_inline_response_400_74.go @@ -23,14 +23,14 @@ type InlineResponse40074 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedInternalTransactionsAndEachConfirmationE400 `json:"error"` + Error NewConfirmedTokensTransactionsE400 `json:"error"` } // NewInlineResponse40074 instantiates a new InlineResponse40074 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40074(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE400) *InlineResponse40074 { +func NewInlineResponse40074(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE400) *InlineResponse40074 { this := InlineResponse40074{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40074) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40074) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40074) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40074) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40074) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40074) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE400 { +func (o *InlineResponse40074) GetError() NewConfirmedTokensTransactionsE400 { if o == nil { - var ret NewConfirmedInternalTransactionsAndEachConfirmationE400 + var ret NewConfirmedTokensTransactionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40074) GetError() NewConfirmedInternalTransactionsAndEach // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40074) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE400, bool) { - if o == nil { +func (o *InlineResponse40074) GetErrorOk() (*NewConfirmedTokensTransactionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40074) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE400) { +func (o *InlineResponse40074) SetError(v NewConfirmedTokensTransactionsE400) { o.Error = v } diff --git a/model_inline_response_400_75.go b/model_inline_response_400_75.go index 9d815cf..be24307 100644 --- a/model_inline_response_400_75.go +++ b/model_inline_response_400_75.go @@ -23,14 +23,14 @@ type InlineResponse40075 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListCoinsForwardingAutomationsE400 `json:"error"` + Error NewConfirmedTokensTransactionsAndEachConfirmationE400 `json:"error"` } // NewInlineResponse40075 instantiates a new InlineResponse40075 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40075(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE400) *InlineResponse40075 { +func NewInlineResponse40075(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE400) *InlineResponse40075 { this := InlineResponse40075{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40075) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40075) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40075) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40075) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40075) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40075) GetError() ListCoinsForwardingAutomationsE400 { +func (o *InlineResponse40075) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE400 { if o == nil { - var ret ListCoinsForwardingAutomationsE400 + var ret NewConfirmedTokensTransactionsAndEachConfirmationE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40075) GetError() ListCoinsForwardingAutomationsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40075) GetErrorOk() (*ListCoinsForwardingAutomationsE400, bool) { - if o == nil { +func (o *InlineResponse40075) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40075) SetError(v ListCoinsForwardingAutomationsE400) { +func (o *InlineResponse40075) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE400) { o.Error = v } diff --git a/model_inline_response_400_76.go b/model_inline_response_400_76.go index 9759feb..9f4553a 100644 --- a/model_inline_response_400_76.go +++ b/model_inline_response_400_76.go @@ -23,14 +23,14 @@ type InlineResponse40076 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateAutomaticCoinsForwardingE400 `json:"error"` + Error NewConfirmedCoinsTransactionsAndEachConfirmationE400 `json:"error"` } // NewInlineResponse40076 instantiates a new InlineResponse40076 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40076(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE400) *InlineResponse40076 { +func NewInlineResponse40076(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE400) *InlineResponse40076 { this := InlineResponse40076{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40076) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40076) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40076) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40076) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40076) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40076) GetError() CreateAutomaticCoinsForwardingE400 { +func (o *InlineResponse40076) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE400 { if o == nil { - var ret CreateAutomaticCoinsForwardingE400 + var ret NewConfirmedCoinsTransactionsAndEachConfirmationE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40076) GetError() CreateAutomaticCoinsForwardingE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40076) GetErrorOk() (*CreateAutomaticCoinsForwardingE400, bool) { - if o == nil { +func (o *InlineResponse40076) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40076) SetError(v CreateAutomaticCoinsForwardingE400) { +func (o *InlineResponse40076) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE400) { o.Error = v } diff --git a/model_inline_response_400_77.go b/model_inline_response_400_77.go index 35de58b..b042164 100644 --- a/model_inline_response_400_77.go +++ b/model_inline_response_400_77.go @@ -23,14 +23,14 @@ type InlineResponse40077 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteAutomaticCoinsForwardingE400 `json:"error"` + Error MinedTransactionE400 `json:"error"` } // NewInlineResponse40077 instantiates a new InlineResponse40077 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40077(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE400) *InlineResponse40077 { +func NewInlineResponse40077(apiVersion string, requestId string, error_ MinedTransactionE400) *InlineResponse40077 { this := InlineResponse40077{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40077) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40077) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40077) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40077) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40077) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40077) GetError() DeleteAutomaticCoinsForwardingE400 { +func (o *InlineResponse40077) GetError() MinedTransactionE400 { if o == nil { - var ret DeleteAutomaticCoinsForwardingE400 + var ret MinedTransactionE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40077) GetError() DeleteAutomaticCoinsForwardingE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40077) GetErrorOk() (*DeleteAutomaticCoinsForwardingE400, bool) { - if o == nil { +func (o *InlineResponse40077) GetErrorOk() (*MinedTransactionE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40077) SetError(v DeleteAutomaticCoinsForwardingE400) { +func (o *InlineResponse40077) SetError(v MinedTransactionE400) { o.Error = v } diff --git a/model_inline_response_400_78.go b/model_inline_response_400_78.go index 17fbe43..2c3b698 100644 --- a/model_inline_response_400_78.go +++ b/model_inline_response_400_78.go @@ -23,14 +23,14 @@ type InlineResponse40078 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensForwardingAutomationsE400 `json:"error"` + Error NewBlockE400 `json:"error"` } // NewInlineResponse40078 instantiates a new InlineResponse40078 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40078(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE400) *InlineResponse40078 { +func NewInlineResponse40078(apiVersion string, requestId string, error_ NewBlockE400) *InlineResponse40078 { this := InlineResponse40078{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40078) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40078) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40078) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40078) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40078) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40078) GetError() ListTokensForwardingAutomationsE400 { +func (o *InlineResponse40078) GetError() NewBlockE400 { if o == nil { - var ret ListTokensForwardingAutomationsE400 + var ret NewBlockE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40078) GetError() ListTokensForwardingAutomationsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40078) GetErrorOk() (*ListTokensForwardingAutomationsE400, bool) { - if o == nil { +func (o *InlineResponse40078) GetErrorOk() (*NewBlockE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40078) SetError(v ListTokensForwardingAutomationsE400) { +func (o *InlineResponse40078) SetError(v NewBlockE400) { o.Error = v } diff --git a/model_inline_response_400_79.go b/model_inline_response_400_79.go index ce42b38..26b45f5 100644 --- a/model_inline_response_400_79.go +++ b/model_inline_response_400_79.go @@ -23,14 +23,14 @@ type InlineResponse40079 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateAutomaticTokensForwardingE400 `json:"error"` + Error ListBlockchainEventsSubscriptionsE400 `json:"error"` } // NewInlineResponse40079 instantiates a new InlineResponse40079 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40079(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE400) *InlineResponse40079 { +func NewInlineResponse40079(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE400) *InlineResponse40079 { this := InlineResponse40079{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40079) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40079) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40079) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40079) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40079) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40079) GetError() CreateAutomaticTokensForwardingE400 { +func (o *InlineResponse40079) GetError() ListBlockchainEventsSubscriptionsE400 { if o == nil { - var ret CreateAutomaticTokensForwardingE400 + var ret ListBlockchainEventsSubscriptionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40079) GetError() CreateAutomaticTokensForwardingE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40079) GetErrorOk() (*CreateAutomaticTokensForwardingE400, bool) { - if o == nil { +func (o *InlineResponse40079) GetErrorOk() (*ListBlockchainEventsSubscriptionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40079) SetError(v CreateAutomaticTokensForwardingE400) { +func (o *InlineResponse40079) SetError(v ListBlockchainEventsSubscriptionsE400) { o.Error = v } diff --git a/model_inline_response_400_8.go b/model_inline_response_400_8.go index d7dcd1e..a4cbc47 100644 --- a/model_inline_response_400_8.go +++ b/model_inline_response_400_8.go @@ -59,7 +59,7 @@ func (o *InlineResponse4008) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4008) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4008) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4008) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4008) GetError() GenerateDepositAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4008) GetErrorOk() (*GenerateDepositAddressE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_80.go b/model_inline_response_400_80.go index ac2c391..bccd393 100644 --- a/model_inline_response_400_80.go +++ b/model_inline_response_400_80.go @@ -23,14 +23,14 @@ type InlineResponse40080 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error AddTokensToExistingFromAddressE400 `json:"error"` + Error GetBlockchainEventSubscriptionDetailsByReferenceIDE400 `json:"error"` } // NewInlineResponse40080 instantiates a new InlineResponse40080 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40080(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE400) *InlineResponse40080 { +func NewInlineResponse40080(apiVersion string, requestId string, error_ GetBlockchainEventSubscriptionDetailsByReferenceIDE400) *InlineResponse40080 { this := InlineResponse40080{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40080) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40080) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40080) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40080) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40080) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40080) GetError() AddTokensToExistingFromAddressE400 { +func (o *InlineResponse40080) GetError() GetBlockchainEventSubscriptionDetailsByReferenceIDE400 { if o == nil { - var ret AddTokensToExistingFromAddressE400 + var ret GetBlockchainEventSubscriptionDetailsByReferenceIDE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40080) GetError() AddTokensToExistingFromAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40080) GetErrorOk() (*AddTokensToExistingFromAddressE400, bool) { - if o == nil { +func (o *InlineResponse40080) GetErrorOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40080) SetError(v AddTokensToExistingFromAddressE400) { +func (o *InlineResponse40080) SetError(v GetBlockchainEventSubscriptionDetailsByReferenceIDE400) { o.Error = v } diff --git a/model_inline_response_400_81.go b/model_inline_response_400_81.go index d0220a4..54dcbd0 100644 --- a/model_inline_response_400_81.go +++ b/model_inline_response_400_81.go @@ -23,14 +23,14 @@ type InlineResponse40081 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetFeeAddressDetailsE400 `json:"error"` + Error ActivateBlockchainEventSubscriptionE400 `json:"error"` } // NewInlineResponse40081 instantiates a new InlineResponse40081 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40081(apiVersion string, requestId string, error_ GetFeeAddressDetailsE400) *InlineResponse40081 { +func NewInlineResponse40081(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE400) *InlineResponse40081 { this := InlineResponse40081{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40081) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40081) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40081) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40081) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40081) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40081) GetError() GetFeeAddressDetailsE400 { +func (o *InlineResponse40081) GetError() ActivateBlockchainEventSubscriptionE400 { if o == nil { - var ret GetFeeAddressDetailsE400 + var ret ActivateBlockchainEventSubscriptionE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40081) GetError() GetFeeAddressDetailsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40081) GetErrorOk() (*GetFeeAddressDetailsE400, bool) { - if o == nil { +func (o *InlineResponse40081) GetErrorOk() (*ActivateBlockchainEventSubscriptionE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40081) SetError(v GetFeeAddressDetailsE400) { +func (o *InlineResponse40081) SetError(v ActivateBlockchainEventSubscriptionE400) { o.Error = v } diff --git a/model_inline_response_400_82.go b/model_inline_response_400_82.go index ac69502..e0ec2f3 100644 --- a/model_inline_response_400_82.go +++ b/model_inline_response_400_82.go @@ -23,14 +23,14 @@ type InlineResponse40082 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteAutomaticTokensForwardingE400 `json:"error"` + Error DeleteBlockchainEventSubscriptionE400 `json:"error"` } // NewInlineResponse40082 instantiates a new InlineResponse40082 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40082(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE400) *InlineResponse40082 { +func NewInlineResponse40082(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE400) *InlineResponse40082 { this := InlineResponse40082{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40082) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40082) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40082) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40082) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40082) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40082) GetError() DeleteAutomaticTokensForwardingE400 { +func (o *InlineResponse40082) GetError() DeleteBlockchainEventSubscriptionE400 { if o == nil { - var ret DeleteAutomaticTokensForwardingE400 + var ret DeleteBlockchainEventSubscriptionE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40082) GetError() DeleteAutomaticTokensForwardingE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40082) GetErrorOk() (*DeleteAutomaticTokensForwardingE400, bool) { - if o == nil { +func (o *InlineResponse40082) GetErrorOk() (*DeleteBlockchainEventSubscriptionE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40082) SetError(v DeleteAutomaticTokensForwardingE400) { +func (o *InlineResponse40082) SetError(v DeleteBlockchainEventSubscriptionE400) { o.Error = v } diff --git a/model_inline_response_400_83.go b/model_inline_response_400_83.go index 416154e..06adc7f 100644 --- a/model_inline_response_400_83.go +++ b/model_inline_response_400_83.go @@ -23,14 +23,14 @@ type InlineResponse40083 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ValidateAddressE400 `json:"error"` + Error GetAddressDetailsFromCallbackE400 `json:"error"` } // NewInlineResponse40083 instantiates a new InlineResponse40083 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40083(apiVersion string, requestId string, error_ ValidateAddressE400) *InlineResponse40083 { +func NewInlineResponse40083(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE400) *InlineResponse40083 { this := InlineResponse40083{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40083) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40083) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40083) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40083) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40083) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40083) GetError() ValidateAddressE400 { +func (o *InlineResponse40083) GetError() GetAddressDetailsFromCallbackE400 { if o == nil { - var ret ValidateAddressE400 + var ret GetAddressDetailsFromCallbackE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40083) GetError() ValidateAddressE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40083) GetErrorOk() (*ValidateAddressE400, bool) { - if o == nil { +func (o *InlineResponse40083) GetErrorOk() (*GetAddressDetailsFromCallbackE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40083) SetError(v ValidateAddressE400) { +func (o *InlineResponse40083) SetError(v GetAddressDetailsFromCallbackE400) { o.Error = v } diff --git a/model_inline_response_400_84.go b/model_inline_response_400_84.go index 9c90a2f..d719053 100644 --- a/model_inline_response_400_84.go +++ b/model_inline_response_400_84.go @@ -23,14 +23,14 @@ type InlineResponse40084 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetEIP1559FeeRecommendationsE400 `json:"error"` + Error GetTransactionDetailsByTransactionIDFromCallbackE400 `json:"error"` } // NewInlineResponse40084 instantiates a new InlineResponse40084 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40084(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE400) *InlineResponse40084 { +func NewInlineResponse40084(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE400) *InlineResponse40084 { this := InlineResponse40084{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40084) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40084) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40084) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40084) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40084) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40084) GetError() GetEIP1559FeeRecommendationsE400 { +func (o *InlineResponse40084) GetError() GetTransactionDetailsByTransactionIDFromCallbackE400 { if o == nil { - var ret GetEIP1559FeeRecommendationsE400 + var ret GetTransactionDetailsByTransactionIDFromCallbackE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40084) GetError() GetEIP1559FeeRecommendationsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40084) GetErrorOk() (*GetEIP1559FeeRecommendationsE400, bool) { - if o == nil { +func (o *InlineResponse40084) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40084) SetError(v GetEIP1559FeeRecommendationsE400) { +func (o *InlineResponse40084) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE400) { o.Error = v } diff --git a/model_inline_response_400_85.go b/model_inline_response_400_85.go index bfa933b..1676ee7 100644 --- a/model_inline_response_400_85.go +++ b/model_inline_response_400_85.go @@ -23,14 +23,14 @@ type InlineResponse40085 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error BroadcastLocallySignedTransactionE400 `json:"error"` + Error GetBlockDetailsByBlockHashFromCallbackE400 `json:"error"` } // NewInlineResponse40085 instantiates a new InlineResponse40085 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40085(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE400) *InlineResponse40085 { +func NewInlineResponse40085(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE400) *InlineResponse40085 { this := InlineResponse40085{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40085) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40085) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40085) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40085) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40085) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40085) GetError() BroadcastLocallySignedTransactionE400 { +func (o *InlineResponse40085) GetError() GetBlockDetailsByBlockHashFromCallbackE400 { if o == nil { - var ret BroadcastLocallySignedTransactionE400 + var ret GetBlockDetailsByBlockHashFromCallbackE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40085) GetError() BroadcastLocallySignedTransactionE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40085) GetErrorOk() (*BroadcastLocallySignedTransactionE400, bool) { - if o == nil { +func (o *InlineResponse40085) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40085) SetError(v BroadcastLocallySignedTransactionE400) { +func (o *InlineResponse40085) SetError(v GetBlockDetailsByBlockHashFromCallbackE400) { o.Error = v } diff --git a/model_inline_response_400_86.go b/model_inline_response_400_86.go index edf15e4..d7eefef 100644 --- a/model_inline_response_400_86.go +++ b/model_inline_response_400_86.go @@ -23,14 +23,14 @@ type InlineResponse40086 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListSupportedAssetsE400 `json:"error"` + Error GetBlockDetailsByBlockHeightFromCallbackE400 `json:"error"` } // NewInlineResponse40086 instantiates a new InlineResponse40086 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40086(apiVersion string, requestId string, error_ ListSupportedAssetsE400) *InlineResponse40086 { +func NewInlineResponse40086(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE400) *InlineResponse40086 { this := InlineResponse40086{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40086) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40086) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40086) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40086) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40086) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40086) GetError() ListSupportedAssetsE400 { +func (o *InlineResponse40086) GetError() GetBlockDetailsByBlockHeightFromCallbackE400 { if o == nil { - var ret ListSupportedAssetsE400 + var ret GetBlockDetailsByBlockHeightFromCallbackE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40086) GetError() ListSupportedAssetsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40086) GetErrorOk() (*ListSupportedAssetsE400, bool) { - if o == nil { +func (o *InlineResponse40086) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40086) SetError(v ListSupportedAssetsE400) { +func (o *InlineResponse40086) SetError(v GetBlockDetailsByBlockHeightFromCallbackE400) { o.Error = v } diff --git a/model_inline_response_400_87.go b/model_inline_response_400_87.go index de79b20..5c0e11a 100644 --- a/model_inline_response_400_87.go +++ b/model_inline_response_400_87.go @@ -23,14 +23,14 @@ type InlineResponse40087 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetExchangeRateByAssetSymbolsE400 `json:"error"` + Error NewConfirmedInternalTransactionsE400 `json:"error"` } // NewInlineResponse40087 instantiates a new InlineResponse40087 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40087(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE400) *InlineResponse40087 { +func NewInlineResponse40087(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE400) *InlineResponse40087 { this := InlineResponse40087{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40087) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40087) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40087) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40087) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40087) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40087) GetError() GetExchangeRateByAssetSymbolsE400 { +func (o *InlineResponse40087) GetError() NewConfirmedInternalTransactionsE400 { if o == nil { - var ret GetExchangeRateByAssetSymbolsE400 + var ret NewConfirmedInternalTransactionsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40087) GetError() GetExchangeRateByAssetSymbolsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40087) GetErrorOk() (*GetExchangeRateByAssetSymbolsE400, bool) { - if o == nil { +func (o *InlineResponse40087) GetErrorOk() (*NewConfirmedInternalTransactionsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40087) SetError(v GetExchangeRateByAssetSymbolsE400) { +func (o *InlineResponse40087) SetError(v NewConfirmedInternalTransactionsE400) { o.Error = v } diff --git a/model_inline_response_400_88.go b/model_inline_response_400_88.go index d84829a..bd4c1e7 100644 --- a/model_inline_response_400_88.go +++ b/model_inline_response_400_88.go @@ -23,14 +23,14 @@ type InlineResponse40088 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetExchangeRateByAssetsIDsE400 `json:"error"` + Error NewConfirmedInternalTransactionsAndEachConfirmationE400 `json:"error"` } // NewInlineResponse40088 instantiates a new InlineResponse40088 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40088(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE400) *InlineResponse40088 { +func NewInlineResponse40088(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE400) *InlineResponse40088 { this := InlineResponse40088{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40088) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40088) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40088) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40088) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40088) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40088) GetError() GetExchangeRateByAssetsIDsE400 { +func (o *InlineResponse40088) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE400 { if o == nil { - var ret GetExchangeRateByAssetsIDsE400 + var ret NewConfirmedInternalTransactionsAndEachConfirmationE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40088) GetError() GetExchangeRateByAssetsIDsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40088) GetErrorOk() (*GetExchangeRateByAssetsIDsE400, bool) { - if o == nil { +func (o *InlineResponse40088) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40088) SetError(v GetExchangeRateByAssetsIDsE400) { +func (o *InlineResponse40088) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE400) { o.Error = v } diff --git a/model_inline_response_400_89.go b/model_inline_response_400_89.go index 2c7eb3e..ed11653 100644 --- a/model_inline_response_400_89.go +++ b/model_inline_response_400_89.go @@ -23,14 +23,14 @@ type InlineResponse40089 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListAssetsDetailsE400 `json:"error"` + Error ListCoinsForwardingAutomationsE400 `json:"error"` } // NewInlineResponse40089 instantiates a new InlineResponse40089 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40089(apiVersion string, requestId string, error_ ListAssetsDetailsE400) *InlineResponse40089 { +func NewInlineResponse40089(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE400) *InlineResponse40089 { this := InlineResponse40089{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40089) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40089) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40089) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40089) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40089) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40089) GetError() ListAssetsDetailsE400 { +func (o *InlineResponse40089) GetError() ListCoinsForwardingAutomationsE400 { if o == nil { - var ret ListAssetsDetailsE400 + var ret ListCoinsForwardingAutomationsE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40089) GetError() ListAssetsDetailsE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40089) GetErrorOk() (*ListAssetsDetailsE400, bool) { - if o == nil { +func (o *InlineResponse40089) GetErrorOk() (*ListCoinsForwardingAutomationsE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40089) SetError(v ListAssetsDetailsE400) { +func (o *InlineResponse40089) SetError(v ListCoinsForwardingAutomationsE400) { o.Error = v } diff --git a/model_inline_response_400_9.go b/model_inline_response_400_9.go index 2991d9e..f222113 100644 --- a/model_inline_response_400_9.go +++ b/model_inline_response_400_9.go @@ -59,7 +59,7 @@ func (o *InlineResponse4009) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4009) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4009) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4009) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4009) GetError() GetZilliqaTransactionDetailsByTransactio // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4009) GetErrorOk() (*GetZilliqaTransactionDetailsByTransactionIDE400, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_400_90.go b/model_inline_response_400_90.go index ae9497f..4121268 100644 --- a/model_inline_response_400_90.go +++ b/model_inline_response_400_90.go @@ -23,14 +23,14 @@ type InlineResponse40090 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAssetDetailsByAssetIDE400 `json:"error"` + Error CreateAutomaticCoinsForwardingE400 `json:"error"` } // NewInlineResponse40090 instantiates a new InlineResponse40090 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40090(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE400) *InlineResponse40090 { +func NewInlineResponse40090(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE400) *InlineResponse40090 { this := InlineResponse40090{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40090) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40090) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40090) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40090) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40090) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40090) GetError() GetAssetDetailsByAssetIDE400 { +func (o *InlineResponse40090) GetError() CreateAutomaticCoinsForwardingE400 { if o == nil { - var ret GetAssetDetailsByAssetIDE400 + var ret CreateAutomaticCoinsForwardingE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40090) GetError() GetAssetDetailsByAssetIDE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40090) GetErrorOk() (*GetAssetDetailsByAssetIDE400, bool) { - if o == nil { +func (o *InlineResponse40090) GetErrorOk() (*CreateAutomaticCoinsForwardingE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40090) SetError(v GetAssetDetailsByAssetIDE400) { +func (o *InlineResponse40090) SetError(v CreateAutomaticCoinsForwardingE400) { o.Error = v } diff --git a/model_inline_response_400_91.go b/model_inline_response_400_91.go index 2c604c4..12fda9e 100644 --- a/model_inline_response_400_91.go +++ b/model_inline_response_400_91.go @@ -23,14 +23,14 @@ type InlineResponse40091 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAssetDetailsByAssetSymbolE400 `json:"error"` + Error DeleteAutomaticCoinsForwardingE400 `json:"error"` } // NewInlineResponse40091 instantiates a new InlineResponse40091 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40091(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE400) *InlineResponse40091 { +func NewInlineResponse40091(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE400) *InlineResponse40091 { this := InlineResponse40091{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40091) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40091) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40091) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40091) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40091) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40091) GetError() GetAssetDetailsByAssetSymbolE400 { +func (o *InlineResponse40091) GetError() DeleteAutomaticCoinsForwardingE400 { if o == nil { - var ret GetAssetDetailsByAssetSymbolE400 + var ret DeleteAutomaticCoinsForwardingE400 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40091) GetError() GetAssetDetailsByAssetSymbolE400 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40091) GetErrorOk() (*GetAssetDetailsByAssetSymbolE400, bool) { - if o == nil { +func (o *InlineResponse40091) GetErrorOk() (*DeleteAutomaticCoinsForwardingE400, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40091) SetError(v GetAssetDetailsByAssetSymbolE400) { +func (o *InlineResponse40091) SetError(v DeleteAutomaticCoinsForwardingE400) { o.Error = v } diff --git a/model_inline_response_400_92.go b/model_inline_response_400_92.go new file mode 100644 index 0000000..e190f73 --- /dev/null +++ b/model_inline_response_400_92.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40092 struct for InlineResponse40092 +type InlineResponse40092 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListTokensForwardingAutomationsE400 `json:"error"` +} + +// NewInlineResponse40092 instantiates a new InlineResponse40092 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40092(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE400) *InlineResponse40092 { + this := InlineResponse40092{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40092WithDefaults instantiates a new InlineResponse40092 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40092WithDefaults() *InlineResponse40092 { + this := InlineResponse40092{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40092) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40092) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40092) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40092) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40092) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40092) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40092) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40092) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40092) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40092) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40092) GetError() ListTokensForwardingAutomationsE400 { + if o == nil { + var ret ListTokensForwardingAutomationsE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40092) GetErrorOk() (*ListTokensForwardingAutomationsE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40092) SetError(v ListTokensForwardingAutomationsE400) { + o.Error = v +} + +func (o InlineResponse40092) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40092 struct { + value *InlineResponse40092 + isSet bool +} + +func (v NullableInlineResponse40092) Get() *InlineResponse40092 { + return v.value +} + +func (v *NullableInlineResponse40092) Set(val *InlineResponse40092) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40092) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40092) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40092(val *InlineResponse40092) *NullableInlineResponse40092 { + return &NullableInlineResponse40092{value: val, isSet: true} +} + +func (v NullableInlineResponse40092) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40092) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_93.go b/model_inline_response_400_93.go new file mode 100644 index 0000000..13ad5f2 --- /dev/null +++ b/model_inline_response_400_93.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40093 struct for InlineResponse40093 +type InlineResponse40093 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error CreateAutomaticTokensForwardingE400 `json:"error"` +} + +// NewInlineResponse40093 instantiates a new InlineResponse40093 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40093(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE400) *InlineResponse40093 { + this := InlineResponse40093{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40093WithDefaults instantiates a new InlineResponse40093 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40093WithDefaults() *InlineResponse40093 { + this := InlineResponse40093{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40093) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40093) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40093) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40093) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40093) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40093) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40093) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40093) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40093) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40093) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40093) GetError() CreateAutomaticTokensForwardingE400 { + if o == nil { + var ret CreateAutomaticTokensForwardingE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40093) GetErrorOk() (*CreateAutomaticTokensForwardingE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40093) SetError(v CreateAutomaticTokensForwardingE400) { + o.Error = v +} + +func (o InlineResponse40093) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40093 struct { + value *InlineResponse40093 + isSet bool +} + +func (v NullableInlineResponse40093) Get() *InlineResponse40093 { + return v.value +} + +func (v *NullableInlineResponse40093) Set(val *InlineResponse40093) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40093) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40093) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40093(val *InlineResponse40093) *NullableInlineResponse40093 { + return &NullableInlineResponse40093{value: val, isSet: true} +} + +func (v NullableInlineResponse40093) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40093) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_94.go b/model_inline_response_400_94.go new file mode 100644 index 0000000..0bc984e --- /dev/null +++ b/model_inline_response_400_94.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40094 struct for InlineResponse40094 +type InlineResponse40094 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error AddTokensToExistingFromAddressE400 `json:"error"` +} + +// NewInlineResponse40094 instantiates a new InlineResponse40094 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40094(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE400) *InlineResponse40094 { + this := InlineResponse40094{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40094WithDefaults instantiates a new InlineResponse40094 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40094WithDefaults() *InlineResponse40094 { + this := InlineResponse40094{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40094) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40094) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40094) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40094) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40094) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40094) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40094) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40094) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40094) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40094) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40094) GetError() AddTokensToExistingFromAddressE400 { + if o == nil { + var ret AddTokensToExistingFromAddressE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40094) GetErrorOk() (*AddTokensToExistingFromAddressE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40094) SetError(v AddTokensToExistingFromAddressE400) { + o.Error = v +} + +func (o InlineResponse40094) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40094 struct { + value *InlineResponse40094 + isSet bool +} + +func (v NullableInlineResponse40094) Get() *InlineResponse40094 { + return v.value +} + +func (v *NullableInlineResponse40094) Set(val *InlineResponse40094) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40094) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40094) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40094(val *InlineResponse40094) *NullableInlineResponse40094 { + return &NullableInlineResponse40094{value: val, isSet: true} +} + +func (v NullableInlineResponse40094) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40094) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_95.go b/model_inline_response_400_95.go new file mode 100644 index 0000000..4326b5e --- /dev/null +++ b/model_inline_response_400_95.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40095 struct for InlineResponse40095 +type InlineResponse40095 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetFeeAddressDetailsE400 `json:"error"` +} + +// NewInlineResponse40095 instantiates a new InlineResponse40095 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40095(apiVersion string, requestId string, error_ GetFeeAddressDetailsE400) *InlineResponse40095 { + this := InlineResponse40095{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40095WithDefaults instantiates a new InlineResponse40095 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40095WithDefaults() *InlineResponse40095 { + this := InlineResponse40095{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40095) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40095) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40095) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40095) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40095) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40095) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40095) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40095) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40095) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40095) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40095) GetError() GetFeeAddressDetailsE400 { + if o == nil { + var ret GetFeeAddressDetailsE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40095) GetErrorOk() (*GetFeeAddressDetailsE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40095) SetError(v GetFeeAddressDetailsE400) { + o.Error = v +} + +func (o InlineResponse40095) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40095 struct { + value *InlineResponse40095 + isSet bool +} + +func (v NullableInlineResponse40095) Get() *InlineResponse40095 { + return v.value +} + +func (v *NullableInlineResponse40095) Set(val *InlineResponse40095) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40095) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40095) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40095(val *InlineResponse40095) *NullableInlineResponse40095 { + return &NullableInlineResponse40095{value: val, isSet: true} +} + +func (v NullableInlineResponse40095) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40095) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_96.go b/model_inline_response_400_96.go new file mode 100644 index 0000000..53f7770 --- /dev/null +++ b/model_inline_response_400_96.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40096 struct for InlineResponse40096 +type InlineResponse40096 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DeleteAutomaticTokensForwardingE400 `json:"error"` +} + +// NewInlineResponse40096 instantiates a new InlineResponse40096 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40096(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE400) *InlineResponse40096 { + this := InlineResponse40096{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40096WithDefaults instantiates a new InlineResponse40096 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40096WithDefaults() *InlineResponse40096 { + this := InlineResponse40096{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40096) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40096) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40096) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40096) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40096) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40096) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40096) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40096) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40096) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40096) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40096) GetError() DeleteAutomaticTokensForwardingE400 { + if o == nil { + var ret DeleteAutomaticTokensForwardingE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40096) GetErrorOk() (*DeleteAutomaticTokensForwardingE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40096) SetError(v DeleteAutomaticTokensForwardingE400) { + o.Error = v +} + +func (o InlineResponse40096) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40096 struct { + value *InlineResponse40096 + isSet bool +} + +func (v NullableInlineResponse40096) Get() *InlineResponse40096 { + return v.value +} + +func (v *NullableInlineResponse40096) Set(val *InlineResponse40096) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40096) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40096) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40096(val *InlineResponse40096) *NullableInlineResponse40096 { + return &NullableInlineResponse40096{value: val, isSet: true} +} + +func (v NullableInlineResponse40096) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40096) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_97.go b/model_inline_response_400_97.go new file mode 100644 index 0000000..8e97ace --- /dev/null +++ b/model_inline_response_400_97.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40097 struct for InlineResponse40097 +type InlineResponse40097 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ValidateAddressE400 `json:"error"` +} + +// NewInlineResponse40097 instantiates a new InlineResponse40097 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40097(apiVersion string, requestId string, error_ ValidateAddressE400) *InlineResponse40097 { + this := InlineResponse40097{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40097WithDefaults instantiates a new InlineResponse40097 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40097WithDefaults() *InlineResponse40097 { + this := InlineResponse40097{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40097) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40097) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40097) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40097) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40097) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40097) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40097) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40097) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40097) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40097) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40097) GetError() ValidateAddressE400 { + if o == nil { + var ret ValidateAddressE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40097) GetErrorOk() (*ValidateAddressE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40097) SetError(v ValidateAddressE400) { + o.Error = v +} + +func (o InlineResponse40097) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40097 struct { + value *InlineResponse40097 + isSet bool +} + +func (v NullableInlineResponse40097) Get() *InlineResponse40097 { + return v.value +} + +func (v *NullableInlineResponse40097) Set(val *InlineResponse40097) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40097) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40097) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40097(val *InlineResponse40097) *NullableInlineResponse40097 { + return &NullableInlineResponse40097{value: val, isSet: true} +} + +func (v NullableInlineResponse40097) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40097) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_98.go b/model_inline_response_400_98.go new file mode 100644 index 0000000..2192416 --- /dev/null +++ b/model_inline_response_400_98.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40098 struct for InlineResponse40098 +type InlineResponse40098 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetEIP1559FeeRecommendationsE400 `json:"error"` +} + +// NewInlineResponse40098 instantiates a new InlineResponse40098 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40098(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE400) *InlineResponse40098 { + this := InlineResponse40098{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40098WithDefaults instantiates a new InlineResponse40098 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40098WithDefaults() *InlineResponse40098 { + this := InlineResponse40098{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40098) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40098) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40098) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40098) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40098) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40098) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40098) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40098) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40098) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40098) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40098) GetError() GetEIP1559FeeRecommendationsE400 { + if o == nil { + var ret GetEIP1559FeeRecommendationsE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40098) GetErrorOk() (*GetEIP1559FeeRecommendationsE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40098) SetError(v GetEIP1559FeeRecommendationsE400) { + o.Error = v +} + +func (o InlineResponse40098) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40098 struct { + value *InlineResponse40098 + isSet bool +} + +func (v NullableInlineResponse40098) Get() *InlineResponse40098 { + return v.value +} + +func (v *NullableInlineResponse40098) Set(val *InlineResponse40098) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40098) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40098) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40098(val *InlineResponse40098) *NullableInlineResponse40098 { + return &NullableInlineResponse40098{value: val, isSet: true} +} + +func (v NullableInlineResponse40098) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40098) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_400_99.go b/model_inline_response_400_99.go new file mode 100644 index 0000000..eeacd34 --- /dev/null +++ b/model_inline_response_400_99.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40099 struct for InlineResponse40099 +type InlineResponse40099 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error BroadcastLocallySignedTransactionE400 `json:"error"` +} + +// NewInlineResponse40099 instantiates a new InlineResponse40099 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40099(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE400) *InlineResponse40099 { + this := InlineResponse40099{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40099WithDefaults instantiates a new InlineResponse40099 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40099WithDefaults() *InlineResponse40099 { + this := InlineResponse40099{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40099) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40099) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40099) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40099) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40099) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40099) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40099) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40099) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40099) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40099) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40099) GetError() BroadcastLocallySignedTransactionE400 { + if o == nil { + var ret BroadcastLocallySignedTransactionE400 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40099) GetErrorOk() (*BroadcastLocallySignedTransactionE400, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40099) SetError(v BroadcastLocallySignedTransactionE400) { + o.Error = v +} + +func (o InlineResponse40099) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40099 struct { + value *InlineResponse40099 + isSet bool +} + +func (v NullableInlineResponse40099) Get() *InlineResponse40099 { + return v.value +} + +func (v *NullableInlineResponse40099) Set(val *InlineResponse40099) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40099) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40099) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40099(val *InlineResponse40099) *NullableInlineResponse40099 { + return &NullableInlineResponse40099{value: val, isSet: true} +} + +func (v NullableInlineResponse40099) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40099) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401.go b/model_inline_response_401.go index ba9454a..df1c13b 100644 --- a/model_inline_response_401.go +++ b/model_inline_response_401.go @@ -59,7 +59,7 @@ func (o *InlineResponse401) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse401) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse401) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse401) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse401) GetError() GetAddressDetailsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse401) GetErrorOk() (*GetAddressDetailsE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_1.go b/model_inline_response_401_1.go index c51a49d..11ca65d 100644 --- a/model_inline_response_401_1.go +++ b/model_inline_response_401_1.go @@ -59,7 +59,7 @@ func (o *InlineResponse4011) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4011) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4011) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4011) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4011) GetError() ListOmniTokensByAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4011) GetErrorOk() (*ListOmniTokensByAddressE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_10.go b/model_inline_response_401_10.go index 143f025..37041a3 100644 --- a/model_inline_response_401_10.go +++ b/model_inline_response_401_10.go @@ -59,7 +59,7 @@ func (o *InlineResponse40110) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40110) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40110) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40110) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40110) GetError() ListConfirmedTransactionsByAddressE401 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40110) GetErrorOk() (*ListConfirmedTransactionsByAddressE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_100.go b/model_inline_response_401_100.go new file mode 100644 index 0000000..5de6fc7 --- /dev/null +++ b/model_inline_response_401_100.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401100 struct for InlineResponse401100 +type InlineResponse401100 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EstimateGasLimitE401 `json:"error"` +} + +// NewInlineResponse401100 instantiates a new InlineResponse401100 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401100(apiVersion string, requestId string, error_ EstimateGasLimitE401) *InlineResponse401100 { + this := InlineResponse401100{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401100WithDefaults instantiates a new InlineResponse401100 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401100WithDefaults() *InlineResponse401100 { + this := InlineResponse401100{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401100) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401100) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401100) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401100) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401100) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401100) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401100) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401100) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401100) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401100) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401100) GetError() EstimateGasLimitE401 { + if o == nil { + var ret EstimateGasLimitE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401100) GetErrorOk() (*EstimateGasLimitE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401100) SetError(v EstimateGasLimitE401) { + o.Error = v +} + +func (o InlineResponse401100) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401100 struct { + value *InlineResponse401100 + isSet bool +} + +func (v NullableInlineResponse401100) Get() *InlineResponse401100 { + return v.value +} + +func (v *NullableInlineResponse401100) Set(val *InlineResponse401100) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401100) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401100) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401100(val *InlineResponse401100) *NullableInlineResponse401100 { + return &NullableInlineResponse401100{value: val, isSet: true} +} + +func (v NullableInlineResponse401100) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401100) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_101.go b/model_inline_response_401_101.go new file mode 100644 index 0000000..ec30d1a --- /dev/null +++ b/model_inline_response_401_101.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401101 struct for InlineResponse401101 +type InlineResponse401101 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EstimateTokenGasLimitE401 `json:"error"` +} + +// NewInlineResponse401101 instantiates a new InlineResponse401101 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401101(apiVersion string, requestId string, error_ EstimateTokenGasLimitE401) *InlineResponse401101 { + this := InlineResponse401101{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401101WithDefaults instantiates a new InlineResponse401101 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401101WithDefaults() *InlineResponse401101 { + this := InlineResponse401101{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401101) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401101) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401101) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401101) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401101) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401101) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401101) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401101) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401101) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401101) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401101) GetError() EstimateTokenGasLimitE401 { + if o == nil { + var ret EstimateTokenGasLimitE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401101) GetErrorOk() (*EstimateTokenGasLimitE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401101) SetError(v EstimateTokenGasLimitE401) { + o.Error = v +} + +func (o InlineResponse401101) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401101 struct { + value *InlineResponse401101 + isSet bool +} + +func (v NullableInlineResponse401101) Get() *InlineResponse401101 { + return v.value +} + +func (v *NullableInlineResponse401101) Set(val *InlineResponse401101) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401101) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401101) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401101(val *InlineResponse401101) *NullableInlineResponse401101 { + return &NullableInlineResponse401101{value: val, isSet: true} +} + +func (v NullableInlineResponse401101) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401101) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_102.go b/model_inline_response_401_102.go new file mode 100644 index 0000000..908338f --- /dev/null +++ b/model_inline_response_401_102.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401102 struct for InlineResponse401102 +type InlineResponse401102 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DecodeRawTransactionHexE401 `json:"error"` +} + +// NewInlineResponse401102 instantiates a new InlineResponse401102 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401102(apiVersion string, requestId string, error_ DecodeRawTransactionHexE401) *InlineResponse401102 { + this := InlineResponse401102{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401102WithDefaults instantiates a new InlineResponse401102 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401102WithDefaults() *InlineResponse401102 { + this := InlineResponse401102{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401102) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401102) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401102) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401102) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401102) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401102) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401102) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401102) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401102) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401102) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401102) GetError() DecodeRawTransactionHexE401 { + if o == nil { + var ret DecodeRawTransactionHexE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401102) GetErrorOk() (*DecodeRawTransactionHexE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401102) SetError(v DecodeRawTransactionHexE401) { + o.Error = v +} + +func (o InlineResponse401102) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401102 struct { + value *InlineResponse401102 + isSet bool +} + +func (v NullableInlineResponse401102) Get() *InlineResponse401102 { + return v.value +} + +func (v *NullableInlineResponse401102) Set(val *InlineResponse401102) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401102) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401102) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401102(val *InlineResponse401102) *NullableInlineResponse401102 { + return &NullableInlineResponse401102{value: val, isSet: true} +} + +func (v NullableInlineResponse401102) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401102) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_103.go b/model_inline_response_401_103.go new file mode 100644 index 0000000..aef6b3a --- /dev/null +++ b/model_inline_response_401_103.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401103 struct for InlineResponse401103 +type InlineResponse401103 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DecodeXAddressE401 `json:"error"` +} + +// NewInlineResponse401103 instantiates a new InlineResponse401103 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401103(apiVersion string, requestId string, error_ DecodeXAddressE401) *InlineResponse401103 { + this := InlineResponse401103{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401103WithDefaults instantiates a new InlineResponse401103 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401103WithDefaults() *InlineResponse401103 { + this := InlineResponse401103{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401103) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401103) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401103) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401103) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401103) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401103) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401103) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401103) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401103) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401103) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401103) GetError() DecodeXAddressE401 { + if o == nil { + var ret DecodeXAddressE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401103) GetErrorOk() (*DecodeXAddressE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401103) SetError(v DecodeXAddressE401) { + o.Error = v +} + +func (o InlineResponse401103) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401103 struct { + value *InlineResponse401103 + isSet bool +} + +func (v NullableInlineResponse401103) Get() *InlineResponse401103 { + return v.value +} + +func (v *NullableInlineResponse401103) Set(val *InlineResponse401103) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401103) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401103) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401103(val *InlineResponse401103) *NullableInlineResponse401103 { + return &NullableInlineResponse401103{value: val, isSet: true} +} + +func (v NullableInlineResponse401103) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401103) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_104.go b/model_inline_response_401_104.go new file mode 100644 index 0000000..00b5121 --- /dev/null +++ b/model_inline_response_401_104.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401104 struct for InlineResponse401104 +type InlineResponse401104 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EncodeXAddressE401 `json:"error"` +} + +// NewInlineResponse401104 instantiates a new InlineResponse401104 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401104(apiVersion string, requestId string, error_ EncodeXAddressE401) *InlineResponse401104 { + this := InlineResponse401104{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401104WithDefaults instantiates a new InlineResponse401104 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401104WithDefaults() *InlineResponse401104 { + this := InlineResponse401104{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401104) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401104) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401104) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401104) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401104) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401104) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401104) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401104) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401104) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401104) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401104) GetError() EncodeXAddressE401 { + if o == nil { + var ret EncodeXAddressE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401104) GetErrorOk() (*EncodeXAddressE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401104) SetError(v EncodeXAddressE401) { + o.Error = v +} + +func (o InlineResponse401104) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401104 struct { + value *InlineResponse401104 + isSet bool +} + +func (v NullableInlineResponse401104) Get() *InlineResponse401104 { + return v.value +} + +func (v *NullableInlineResponse401104) Set(val *InlineResponse401104) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401104) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401104) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401104(val *InlineResponse401104) *NullableInlineResponse401104 { + return &NullableInlineResponse401104{value: val, isSet: true} +} + +func (v NullableInlineResponse401104) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401104) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_105.go b/model_inline_response_401_105.go new file mode 100644 index 0000000..d92704a --- /dev/null +++ b/model_inline_response_401_105.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401105 struct for InlineResponse401105 +type InlineResponse401105 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListSupportedAssetsE401 `json:"error"` +} + +// NewInlineResponse401105 instantiates a new InlineResponse401105 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401105(apiVersion string, requestId string, error_ ListSupportedAssetsE401) *InlineResponse401105 { + this := InlineResponse401105{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401105WithDefaults instantiates a new InlineResponse401105 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401105WithDefaults() *InlineResponse401105 { + this := InlineResponse401105{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401105) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401105) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401105) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401105) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401105) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401105) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401105) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401105) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401105) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401105) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401105) GetError() ListSupportedAssetsE401 { + if o == nil { + var ret ListSupportedAssetsE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401105) GetErrorOk() (*ListSupportedAssetsE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401105) SetError(v ListSupportedAssetsE401) { + o.Error = v +} + +func (o InlineResponse401105) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401105 struct { + value *InlineResponse401105 + isSet bool +} + +func (v NullableInlineResponse401105) Get() *InlineResponse401105 { + return v.value +} + +func (v *NullableInlineResponse401105) Set(val *InlineResponse401105) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401105) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401105) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401105(val *InlineResponse401105) *NullableInlineResponse401105 { + return &NullableInlineResponse401105{value: val, isSet: true} +} + +func (v NullableInlineResponse401105) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401105) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_106.go b/model_inline_response_401_106.go new file mode 100644 index 0000000..5299d59 --- /dev/null +++ b/model_inline_response_401_106.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401106 struct for InlineResponse401106 +type InlineResponse401106 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetExchangeRateByAssetSymbolsE401 `json:"error"` +} + +// NewInlineResponse401106 instantiates a new InlineResponse401106 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401106(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE401) *InlineResponse401106 { + this := InlineResponse401106{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401106WithDefaults instantiates a new InlineResponse401106 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401106WithDefaults() *InlineResponse401106 { + this := InlineResponse401106{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401106) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401106) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401106) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401106) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401106) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401106) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401106) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401106) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401106) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401106) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401106) GetError() GetExchangeRateByAssetSymbolsE401 { + if o == nil { + var ret GetExchangeRateByAssetSymbolsE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401106) GetErrorOk() (*GetExchangeRateByAssetSymbolsE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401106) SetError(v GetExchangeRateByAssetSymbolsE401) { + o.Error = v +} + +func (o InlineResponse401106) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401106 struct { + value *InlineResponse401106 + isSet bool +} + +func (v NullableInlineResponse401106) Get() *InlineResponse401106 { + return v.value +} + +func (v *NullableInlineResponse401106) Set(val *InlineResponse401106) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401106) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401106) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401106(val *InlineResponse401106) *NullableInlineResponse401106 { + return &NullableInlineResponse401106{value: val, isSet: true} +} + +func (v NullableInlineResponse401106) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401106) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_107.go b/model_inline_response_401_107.go new file mode 100644 index 0000000..4bb623c --- /dev/null +++ b/model_inline_response_401_107.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401107 struct for InlineResponse401107 +type InlineResponse401107 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetExchangeRateByAssetsIDsE401 `json:"error"` +} + +// NewInlineResponse401107 instantiates a new InlineResponse401107 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401107(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE401) *InlineResponse401107 { + this := InlineResponse401107{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401107WithDefaults instantiates a new InlineResponse401107 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401107WithDefaults() *InlineResponse401107 { + this := InlineResponse401107{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401107) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401107) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401107) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401107) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401107) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401107) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401107) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401107) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401107) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401107) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401107) GetError() GetExchangeRateByAssetsIDsE401 { + if o == nil { + var ret GetExchangeRateByAssetsIDsE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401107) GetErrorOk() (*GetExchangeRateByAssetsIDsE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401107) SetError(v GetExchangeRateByAssetsIDsE401) { + o.Error = v +} + +func (o InlineResponse401107) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401107 struct { + value *InlineResponse401107 + isSet bool +} + +func (v NullableInlineResponse401107) Get() *InlineResponse401107 { + return v.value +} + +func (v *NullableInlineResponse401107) Set(val *InlineResponse401107) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401107) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401107) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401107(val *InlineResponse401107) *NullableInlineResponse401107 { + return &NullableInlineResponse401107{value: val, isSet: true} +} + +func (v NullableInlineResponse401107) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401107) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_108.go b/model_inline_response_401_108.go new file mode 100644 index 0000000..aa5db59 --- /dev/null +++ b/model_inline_response_401_108.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401108 struct for InlineResponse401108 +type InlineResponse401108 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListAssetsDetailsE401 `json:"error"` +} + +// NewInlineResponse401108 instantiates a new InlineResponse401108 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401108(apiVersion string, requestId string, error_ ListAssetsDetailsE401) *InlineResponse401108 { + this := InlineResponse401108{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401108WithDefaults instantiates a new InlineResponse401108 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401108WithDefaults() *InlineResponse401108 { + this := InlineResponse401108{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401108) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401108) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401108) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401108) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401108) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401108) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401108) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401108) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401108) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401108) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401108) GetError() ListAssetsDetailsE401 { + if o == nil { + var ret ListAssetsDetailsE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401108) GetErrorOk() (*ListAssetsDetailsE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401108) SetError(v ListAssetsDetailsE401) { + o.Error = v +} + +func (o InlineResponse401108) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401108 struct { + value *InlineResponse401108 + isSet bool +} + +func (v NullableInlineResponse401108) Get() *InlineResponse401108 { + return v.value +} + +func (v *NullableInlineResponse401108) Set(val *InlineResponse401108) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401108) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401108) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401108(val *InlineResponse401108) *NullableInlineResponse401108 { + return &NullableInlineResponse401108{value: val, isSet: true} +} + +func (v NullableInlineResponse401108) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401108) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_109.go b/model_inline_response_401_109.go new file mode 100644 index 0000000..a8f36b0 --- /dev/null +++ b/model_inline_response_401_109.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401109 struct for InlineResponse401109 +type InlineResponse401109 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetAssetDetailsByAssetIDE401 `json:"error"` +} + +// NewInlineResponse401109 instantiates a new InlineResponse401109 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401109(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE401) *InlineResponse401109 { + this := InlineResponse401109{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401109WithDefaults instantiates a new InlineResponse401109 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401109WithDefaults() *InlineResponse401109 { + this := InlineResponse401109{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401109) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401109) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401109) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401109) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401109) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401109) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401109) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401109) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401109) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401109) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401109) GetError() GetAssetDetailsByAssetIDE401 { + if o == nil { + var ret GetAssetDetailsByAssetIDE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401109) GetErrorOk() (*GetAssetDetailsByAssetIDE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401109) SetError(v GetAssetDetailsByAssetIDE401) { + o.Error = v +} + +func (o InlineResponse401109) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401109 struct { + value *InlineResponse401109 + isSet bool +} + +func (v NullableInlineResponse401109) Get() *InlineResponse401109 { + return v.value +} + +func (v *NullableInlineResponse401109) Set(val *InlineResponse401109) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401109) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401109) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401109(val *InlineResponse401109) *NullableInlineResponse401109 { + return &NullableInlineResponse401109{value: val, isSet: true} +} + +func (v NullableInlineResponse401109) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401109) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_11.go b/model_inline_response_401_11.go index 851755d..19fc187 100644 --- a/model_inline_response_401_11.go +++ b/model_inline_response_401_11.go @@ -59,7 +59,7 @@ func (o *InlineResponse40111) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40111) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40111) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40111) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40111) GetError() ListXRPRippleTransactionsByAddressE401 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40111) GetErrorOk() (*ListXRPRippleTransactionsByAddressE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_110.go b/model_inline_response_401_110.go new file mode 100644 index 0000000..7c1e190 --- /dev/null +++ b/model_inline_response_401_110.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse401110 struct for InlineResponse401110 +type InlineResponse401110 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetAssetDetailsByAssetSymbolE401 `json:"error"` +} + +// NewInlineResponse401110 instantiates a new InlineResponse401110 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse401110(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE401) *InlineResponse401110 { + this := InlineResponse401110{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse401110WithDefaults instantiates a new InlineResponse401110 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse401110WithDefaults() *InlineResponse401110 { + this := InlineResponse401110{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse401110) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401110) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse401110) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse401110) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401110) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse401110) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse401110) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse401110) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse401110) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse401110) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse401110) GetError() GetAssetDetailsByAssetSymbolE401 { + if o == nil { + var ret GetAssetDetailsByAssetSymbolE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse401110) GetErrorOk() (*GetAssetDetailsByAssetSymbolE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse401110) SetError(v GetAssetDetailsByAssetSymbolE401) { + o.Error = v +} + +func (o InlineResponse401110) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse401110 struct { + value *InlineResponse401110 + isSet bool +} + +func (v NullableInlineResponse401110) Get() *InlineResponse401110 { + return v.value +} + +func (v *NullableInlineResponse401110) Set(val *InlineResponse401110) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse401110) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse401110) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse401110(val *InlineResponse401110) *NullableInlineResponse401110 { + return &NullableInlineResponse401110{value: val, isSet: true} +} + +func (v NullableInlineResponse401110) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse401110) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_12.go b/model_inline_response_401_12.go index 919ddaa..7dc2173 100644 --- a/model_inline_response_401_12.go +++ b/model_inline_response_401_12.go @@ -59,7 +59,7 @@ func (o *InlineResponse40112) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40112) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40112) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40112) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40112) GetError() ListUnconfirmedOmniTransactionsByAddres // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40112) GetErrorOk() (*ListUnconfirmedOmniTransactionsByAddressE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_13.go b/model_inline_response_401_13.go index b08954d..16115fc 100644 --- a/model_inline_response_401_13.go +++ b/model_inline_response_401_13.go @@ -59,7 +59,7 @@ func (o *InlineResponse40113) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40113) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40113) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40113) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40113) GetError() CreateCoinsTransactionRequestFromWallet // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40113) GetErrorOk() (*CreateCoinsTransactionRequestFromWalletE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_14.go b/model_inline_response_401_14.go index b3792a5..ed04830 100644 --- a/model_inline_response_401_14.go +++ b/model_inline_response_401_14.go @@ -59,7 +59,7 @@ func (o *InlineResponse40114) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40114) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40114) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40114) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40114) GetError() ListZilliqaTransactionsByAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40114) GetErrorOk() (*ListZilliqaTransactionsByAddressE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_15.go b/model_inline_response_401_15.go index 1aecd71..5dd905d 100644 --- a/model_inline_response_401_15.go +++ b/model_inline_response_401_15.go @@ -59,7 +59,7 @@ func (o *InlineResponse40115) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40115) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40115) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40115) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40115) GetError() ListUnconfirmedTransactionsByAddressE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40115) GetErrorOk() (*ListUnconfirmedTransactionsByAddressE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_16.go b/model_inline_response_401_16.go index 60ffa9e..8d225f0 100644 --- a/model_inline_response_401_16.go +++ b/model_inline_response_401_16.go @@ -23,14 +23,14 @@ type InlineResponse40116 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListAllUnconfirmedTransactionsE401 `json:"error"` + Error ListXRPRippleTransactionsByAddressAndTimeRangeE401 `json:"error"` } // NewInlineResponse40116 instantiates a new InlineResponse40116 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40116(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE401) *InlineResponse40116 { +func NewInlineResponse40116(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByAddressAndTimeRangeE401) *InlineResponse40116 { this := InlineResponse40116{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40116) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40116) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40116) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40116) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40116) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40116) GetError() ListAllUnconfirmedTransactionsE401 { +func (o *InlineResponse40116) GetError() ListXRPRippleTransactionsByAddressAndTimeRangeE401 { if o == nil { - var ret ListAllUnconfirmedTransactionsE401 + var ret ListXRPRippleTransactionsByAddressAndTimeRangeE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40116) GetError() ListAllUnconfirmedTransactionsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40116) GetErrorOk() (*ListAllUnconfirmedTransactionsE401, bool) { - if o == nil { +func (o *InlineResponse40116) GetErrorOk() (*ListXRPRippleTransactionsByAddressAndTimeRangeE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40116) SetError(v ListAllUnconfirmedTransactionsE401) { +func (o *InlineResponse40116) SetError(v ListXRPRippleTransactionsByAddressAndTimeRangeE401) { o.Error = v } diff --git a/model_inline_response_401_17.go b/model_inline_response_401_17.go index 5053479..65b0065 100644 --- a/model_inline_response_401_17.go +++ b/model_inline_response_401_17.go @@ -23,14 +23,14 @@ type InlineResponse40117 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTransactionsByBlockHashE401 `json:"error"` + Error ListAllUnconfirmedTransactionsE401 `json:"error"` } // NewInlineResponse40117 instantiates a new InlineResponse40117 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40117(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE401) *InlineResponse40117 { +func NewInlineResponse40117(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE401) *InlineResponse40117 { this := InlineResponse40117{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40117) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40117) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40117) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40117) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40117) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40117) GetError() ListTransactionsByBlockHashE401 { +func (o *InlineResponse40117) GetError() ListAllUnconfirmedTransactionsE401 { if o == nil { - var ret ListTransactionsByBlockHashE401 + var ret ListAllUnconfirmedTransactionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40117) GetError() ListTransactionsByBlockHashE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40117) GetErrorOk() (*ListTransactionsByBlockHashE401, bool) { - if o == nil { +func (o *InlineResponse40117) GetErrorOk() (*ListAllUnconfirmedTransactionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40117) SetError(v ListTransactionsByBlockHashE401) { +func (o *InlineResponse40117) SetError(v ListAllUnconfirmedTransactionsE401) { o.Error = v } diff --git a/model_inline_response_401_18.go b/model_inline_response_401_18.go index c894641..9af07f6 100644 --- a/model_inline_response_401_18.go +++ b/model_inline_response_401_18.go @@ -23,14 +23,14 @@ type InlineResponse40118 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListXRPRippleTransactionsByBlockHashE401 `json:"error"` + Error ListTransactionsByBlockHashE401 `json:"error"` } // NewInlineResponse40118 instantiates a new InlineResponse40118 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40118(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE401) *InlineResponse40118 { +func NewInlineResponse40118(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE401) *InlineResponse40118 { this := InlineResponse40118{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40118) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40118) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40118) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40118) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40118) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40118) GetError() ListXRPRippleTransactionsByBlockHashE401 { +func (o *InlineResponse40118) GetError() ListTransactionsByBlockHashE401 { if o == nil { - var ret ListXRPRippleTransactionsByBlockHashE401 + var ret ListTransactionsByBlockHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40118) GetError() ListXRPRippleTransactionsByBlockHashE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40118) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE401, bool) { - if o == nil { +func (o *InlineResponse40118) GetErrorOk() (*ListTransactionsByBlockHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40118) SetError(v ListXRPRippleTransactionsByBlockHashE401) { +func (o *InlineResponse40118) SetError(v ListTransactionsByBlockHashE401) { o.Error = v } diff --git a/model_inline_response_401_19.go b/model_inline_response_401_19.go index 4f6c7e8..5df4160 100644 --- a/model_inline_response_401_19.go +++ b/model_inline_response_401_19.go @@ -23,14 +23,14 @@ type InlineResponse40119 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetUnconfirmedOmniTransactionByTransactionIDTxidE401 `json:"error"` + Error ListXRPRippleTransactionsByBlockHashE401 `json:"error"` } // NewInlineResponse40119 instantiates a new InlineResponse40119 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40119(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE401) *InlineResponse40119 { +func NewInlineResponse40119(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE401) *InlineResponse40119 { this := InlineResponse40119{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40119) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40119) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40119) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40119) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40119) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40119) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE401 { +func (o *InlineResponse40119) GetError() ListXRPRippleTransactionsByBlockHashE401 { if o == nil { - var ret GetUnconfirmedOmniTransactionByTransactionIDTxidE401 + var ret ListXRPRippleTransactionsByBlockHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40119) GetError() GetUnconfirmedOmniTransactionByTransact // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40119) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE401, bool) { - if o == nil { +func (o *InlineResponse40119) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40119) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE401) { +func (o *InlineResponse40119) SetError(v ListXRPRippleTransactionsByBlockHashE401) { o.Error = v } diff --git a/model_inline_response_401_2.go b/model_inline_response_401_2.go index e4c172c..abbdb41 100644 --- a/model_inline_response_401_2.go +++ b/model_inline_response_401_2.go @@ -59,7 +59,7 @@ func (o *InlineResponse4012) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4012) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4012) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4012) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4012) GetError() GetXRPRippleAddressDetailsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4012) GetErrorOk() (*GetXRPRippleAddressDetailsE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_20.go b/model_inline_response_401_20.go index 9d241e4..4a65614 100644 --- a/model_inline_response_401_20.go +++ b/model_inline_response_401_20.go @@ -23,14 +23,14 @@ type InlineResponse40120 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateCoinsTransactionRequestFromAddressE401 `json:"error"` + Error GetUnconfirmedOmniTransactionByTransactionIDTxidE401 `json:"error"` } // NewInlineResponse40120 instantiates a new InlineResponse40120 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40120(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE401) *InlineResponse40120 { +func NewInlineResponse40120(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE401) *InlineResponse40120 { this := InlineResponse40120{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40120) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40120) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40120) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40120) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40120) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40120) GetError() CreateCoinsTransactionRequestFromAddressE401 { +func (o *InlineResponse40120) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE401 { if o == nil { - var ret CreateCoinsTransactionRequestFromAddressE401 + var ret GetUnconfirmedOmniTransactionByTransactionIDTxidE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40120) GetError() CreateCoinsTransactionRequestFromAddres // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40120) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE401, bool) { - if o == nil { +func (o *InlineResponse40120) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40120) SetError(v CreateCoinsTransactionRequestFromAddressE401) { +func (o *InlineResponse40120) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE401) { o.Error = v } diff --git a/model_inline_response_401_21.go b/model_inline_response_401_21.go index 88fc050..f71fc91 100644 --- a/model_inline_response_401_21.go +++ b/model_inline_response_401_21.go @@ -23,14 +23,14 @@ type InlineResponse40121 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListZilliqaTransactionsByBlockHashE401 `json:"error"` + Error CreateCoinsTransactionRequestFromAddressE401 `json:"error"` } // NewInlineResponse40121 instantiates a new InlineResponse40121 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40121(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE401) *InlineResponse40121 { +func NewInlineResponse40121(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE401) *InlineResponse40121 { this := InlineResponse40121{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40121) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40121) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40121) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40121) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40121) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40121) GetError() ListZilliqaTransactionsByBlockHashE401 { +func (o *InlineResponse40121) GetError() CreateCoinsTransactionRequestFromAddressE401 { if o == nil { - var ret ListZilliqaTransactionsByBlockHashE401 + var ret CreateCoinsTransactionRequestFromAddressE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40121) GetError() ListZilliqaTransactionsByBlockHashE401 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40121) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE401, bool) { - if o == nil { +func (o *InlineResponse40121) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40121) SetError(v ListZilliqaTransactionsByBlockHashE401) { +func (o *InlineResponse40121) SetError(v CreateCoinsTransactionRequestFromAddressE401) { o.Error = v } diff --git a/model_inline_response_401_22.go b/model_inline_response_401_22.go index 1b3901b..89e942d 100644 --- a/model_inline_response_401_22.go +++ b/model_inline_response_401_22.go @@ -23,14 +23,14 @@ type InlineResponse40122 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListZilliqaTransactionsByBlockHeightE401 `json:"error"` + Error ListZilliqaTransactionsByBlockHashE401 `json:"error"` } // NewInlineResponse40122 instantiates a new InlineResponse40122 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40122(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE401) *InlineResponse40122 { +func NewInlineResponse40122(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE401) *InlineResponse40122 { this := InlineResponse40122{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40122) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40122) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40122) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40122) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40122) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40122) GetError() ListZilliqaTransactionsByBlockHeightE401 { +func (o *InlineResponse40122) GetError() ListZilliqaTransactionsByBlockHashE401 { if o == nil { - var ret ListZilliqaTransactionsByBlockHeightE401 + var ret ListZilliqaTransactionsByBlockHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40122) GetError() ListZilliqaTransactionsByBlockHeightE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40122) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE401, bool) { - if o == nil { +func (o *InlineResponse40122) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40122) SetError(v ListZilliqaTransactionsByBlockHeightE401) { +func (o *InlineResponse40122) SetError(v ListZilliqaTransactionsByBlockHashE401) { o.Error = v } diff --git a/model_inline_response_401_23.go b/model_inline_response_401_23.go index 006afac..73f64da 100644 --- a/model_inline_response_401_23.go +++ b/model_inline_response_401_23.go @@ -23,14 +23,14 @@ type InlineResponse40123 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListXRPRippleTransactionsByBlockHeightE401 `json:"error"` + Error ListZilliqaTransactionsByBlockHeightE401 `json:"error"` } // NewInlineResponse40123 instantiates a new InlineResponse40123 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40123(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE401) *InlineResponse40123 { +func NewInlineResponse40123(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE401) *InlineResponse40123 { this := InlineResponse40123{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40123) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40123) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40123) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40123) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40123) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40123) GetError() ListXRPRippleTransactionsByBlockHeightE401 { +func (o *InlineResponse40123) GetError() ListZilliqaTransactionsByBlockHeightE401 { if o == nil { - var ret ListXRPRippleTransactionsByBlockHeightE401 + var ret ListZilliqaTransactionsByBlockHeightE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40123) GetError() ListXRPRippleTransactionsByBlockHeightE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40123) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE401, bool) { - if o == nil { +func (o *InlineResponse40123) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40123) SetError(v ListXRPRippleTransactionsByBlockHeightE401) { +func (o *InlineResponse40123) SetError(v ListZilliqaTransactionsByBlockHeightE401) { o.Error = v } diff --git a/model_inline_response_401_24.go b/model_inline_response_401_24.go index 6ddffd2..20ecffc 100644 --- a/model_inline_response_401_24.go +++ b/model_inline_response_401_24.go @@ -23,14 +23,14 @@ type InlineResponse40124 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTransactionsByBlockHeightE401 `json:"error"` + Error ListXRPRippleTransactionsByBlockHeightE401 `json:"error"` } // NewInlineResponse40124 instantiates a new InlineResponse40124 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40124(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE401) *InlineResponse40124 { +func NewInlineResponse40124(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE401) *InlineResponse40124 { this := InlineResponse40124{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40124) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40124) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40124) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40124) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40124) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40124) GetError() ListTransactionsByBlockHeightE401 { +func (o *InlineResponse40124) GetError() ListXRPRippleTransactionsByBlockHeightE401 { if o == nil { - var ret ListTransactionsByBlockHeightE401 + var ret ListXRPRippleTransactionsByBlockHeightE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40124) GetError() ListTransactionsByBlockHeightE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40124) GetErrorOk() (*ListTransactionsByBlockHeightE401, bool) { - if o == nil { +func (o *InlineResponse40124) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40124) SetError(v ListTransactionsByBlockHeightE401) { +func (o *InlineResponse40124) SetError(v ListXRPRippleTransactionsByBlockHeightE401) { o.Error = v } diff --git a/model_inline_response_401_25.go b/model_inline_response_401_25.go index ec73b59..620d2c2 100644 --- a/model_inline_response_401_25.go +++ b/model_inline_response_401_25.go @@ -23,14 +23,14 @@ type InlineResponse40125 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateCoinsTransactionFromAddressForWholeAmountE401 `json:"error"` + Error ListTransactionsByBlockHeightE401 `json:"error"` } // NewInlineResponse40125 instantiates a new InlineResponse40125 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40125(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE401) *InlineResponse40125 { +func NewInlineResponse40125(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE401) *InlineResponse40125 { this := InlineResponse40125{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40125) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40125) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40125) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40125) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40125) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40125) GetError() CreateCoinsTransactionFromAddressForWholeAmountE401 { +func (o *InlineResponse40125) GetError() ListTransactionsByBlockHeightE401 { if o == nil { - var ret CreateCoinsTransactionFromAddressForWholeAmountE401 + var ret ListTransactionsByBlockHeightE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40125) GetError() CreateCoinsTransactionFromAddressForWho // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40125) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE401, bool) { - if o == nil { +func (o *InlineResponse40125) GetErrorOk() (*ListTransactionsByBlockHeightE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40125) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE401) { +func (o *InlineResponse40125) SetError(v ListTransactionsByBlockHeightE401) { o.Error = v } diff --git a/model_inline_response_401_26.go b/model_inline_response_401_26.go index 7c45a97..fdf88ff 100644 --- a/model_inline_response_401_26.go +++ b/model_inline_response_401_26.go @@ -23,14 +23,14 @@ type InlineResponse40126 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHeightE401 `json:"error"` + Error CreateCoinsTransactionFromAddressForWholeAmountE401 `json:"error"` } // NewInlineResponse40126 instantiates a new InlineResponse40126 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40126(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE401) *InlineResponse40126 { +func NewInlineResponse40126(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE401) *InlineResponse40126 { this := InlineResponse40126{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40126) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40126) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40126) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40126) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40126) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40126) GetError() GetBlockDetailsByBlockHeightE401 { +func (o *InlineResponse40126) GetError() CreateCoinsTransactionFromAddressForWholeAmountE401 { if o == nil { - var ret GetBlockDetailsByBlockHeightE401 + var ret CreateCoinsTransactionFromAddressForWholeAmountE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40126) GetError() GetBlockDetailsByBlockHeightE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40126) GetErrorOk() (*GetBlockDetailsByBlockHeightE401, bool) { - if o == nil { +func (o *InlineResponse40126) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40126) SetError(v GetBlockDetailsByBlockHeightE401) { +func (o *InlineResponse40126) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE401) { o.Error = v } diff --git a/model_inline_response_401_27.go b/model_inline_response_401_27.go index 9145830..3df06b9 100644 --- a/model_inline_response_401_27.go +++ b/model_inline_response_401_27.go @@ -23,14 +23,14 @@ type InlineResponse40127 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetXRPRippleBlockDetailsByBlockHeightE401 `json:"error"` + Error GetBlockDetailsByBlockHeightE401 `json:"error"` } // NewInlineResponse40127 instantiates a new InlineResponse40127 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40127(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE401) *InlineResponse40127 { +func NewInlineResponse40127(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE401) *InlineResponse40127 { this := InlineResponse40127{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40127) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40127) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40127) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40127) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40127) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40127) GetError() GetXRPRippleBlockDetailsByBlockHeightE401 { +func (o *InlineResponse40127) GetError() GetBlockDetailsByBlockHeightE401 { if o == nil { - var ret GetXRPRippleBlockDetailsByBlockHeightE401 + var ret GetBlockDetailsByBlockHeightE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40127) GetError() GetXRPRippleBlockDetailsByBlockHeightE4 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40127) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE401, bool) { - if o == nil { +func (o *InlineResponse40127) GetErrorOk() (*GetBlockDetailsByBlockHeightE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40127) SetError(v GetXRPRippleBlockDetailsByBlockHeightE401) { +func (o *InlineResponse40127) SetError(v GetBlockDetailsByBlockHeightE401) { o.Error = v } diff --git a/model_inline_response_401_28.go b/model_inline_response_401_28.go index 832b702..65d9a21 100644 --- a/model_inline_response_401_28.go +++ b/model_inline_response_401_28.go @@ -23,14 +23,14 @@ type InlineResponse40128 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListUnconfirmedOmniTransactionsByPropertyIDE401 `json:"error"` + Error GetXRPRippleBlockDetailsByBlockHeightE401 `json:"error"` } // NewInlineResponse40128 instantiates a new InlineResponse40128 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40128(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE401) *InlineResponse40128 { +func NewInlineResponse40128(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE401) *InlineResponse40128 { this := InlineResponse40128{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40128) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40128) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40128) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40128) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40128) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40128) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE401 { +func (o *InlineResponse40128) GetError() GetXRPRippleBlockDetailsByBlockHeightE401 { if o == nil { - var ret ListUnconfirmedOmniTransactionsByPropertyIDE401 + var ret GetXRPRippleBlockDetailsByBlockHeightE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40128) GetError() ListUnconfirmedOmniTransactionsByProper // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40128) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE401, bool) { - if o == nil { +func (o *InlineResponse40128) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40128) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE401) { +func (o *InlineResponse40128) SetError(v GetXRPRippleBlockDetailsByBlockHeightE401) { o.Error = v } diff --git a/model_inline_response_401_29.go b/model_inline_response_401_29.go index f681bfe..1275987 100644 --- a/model_inline_response_401_29.go +++ b/model_inline_response_401_29.go @@ -23,14 +23,14 @@ type InlineResponse40129 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetZilliqaBlockDetailsByBlockHeightE401 `json:"error"` + Error ListUnconfirmedOmniTransactionsByPropertyIDE401 `json:"error"` } // NewInlineResponse40129 instantiates a new InlineResponse40129 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40129(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE401) *InlineResponse40129 { +func NewInlineResponse40129(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE401) *InlineResponse40129 { this := InlineResponse40129{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40129) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40129) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40129) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40129) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40129) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40129) GetError() GetZilliqaBlockDetailsByBlockHeightE401 { +func (o *InlineResponse40129) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE401 { if o == nil { - var ret GetZilliqaBlockDetailsByBlockHeightE401 + var ret ListUnconfirmedOmniTransactionsByPropertyIDE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40129) GetError() GetZilliqaBlockDetailsByBlockHeightE401 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40129) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE401, bool) { - if o == nil { +func (o *InlineResponse40129) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40129) SetError(v GetZilliqaBlockDetailsByBlockHeightE401) { +func (o *InlineResponse40129) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE401) { o.Error = v } diff --git a/model_inline_response_401_3.go b/model_inline_response_401_3.go index a79a8bf..4cfe5e6 100644 --- a/model_inline_response_401_3.go +++ b/model_inline_response_401_3.go @@ -59,7 +59,7 @@ func (o *InlineResponse4013) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4013) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4013) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4013) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4013) GetError() GetZilliqaAddressDetailsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4013) GetErrorOk() (*GetZilliqaAddressDetailsE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_30.go b/model_inline_response_401_30.go index 408e1dc..9e3f179 100644 --- a/model_inline_response_401_30.go +++ b/model_inline_response_401_30.go @@ -23,14 +23,14 @@ type InlineResponse40130 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHashE401 `json:"error"` + Error GetZilliqaBlockDetailsByBlockHeightE401 `json:"error"` } // NewInlineResponse40130 instantiates a new InlineResponse40130 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40130(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE401) *InlineResponse40130 { +func NewInlineResponse40130(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE401) *InlineResponse40130 { this := InlineResponse40130{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40130) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40130) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40130) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40130) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40130) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40130) GetError() GetBlockDetailsByBlockHashE401 { +func (o *InlineResponse40130) GetError() GetZilliqaBlockDetailsByBlockHeightE401 { if o == nil { - var ret GetBlockDetailsByBlockHashE401 + var ret GetZilliqaBlockDetailsByBlockHeightE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40130) GetError() GetBlockDetailsByBlockHashE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40130) GetErrorOk() (*GetBlockDetailsByBlockHashE401, bool) { - if o == nil { +func (o *InlineResponse40130) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40130) SetError(v GetBlockDetailsByBlockHashE401) { +func (o *InlineResponse40130) SetError(v GetZilliqaBlockDetailsByBlockHeightE401) { o.Error = v } diff --git a/model_inline_response_401_31.go b/model_inline_response_401_31.go index 02ca095..720d6e3 100644 --- a/model_inline_response_401_31.go +++ b/model_inline_response_401_31.go @@ -23,14 +23,14 @@ type InlineResponse40131 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetXRPRippleBlockDetailsByBlockHashE401 `json:"error"` + Error GetBlockDetailsByBlockHashE401 `json:"error"` } // NewInlineResponse40131 instantiates a new InlineResponse40131 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40131(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE401) *InlineResponse40131 { +func NewInlineResponse40131(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE401) *InlineResponse40131 { this := InlineResponse40131{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40131) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40131) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40131) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40131) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40131) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40131) GetError() GetXRPRippleBlockDetailsByBlockHashE401 { +func (o *InlineResponse40131) GetError() GetBlockDetailsByBlockHashE401 { if o == nil { - var ret GetXRPRippleBlockDetailsByBlockHashE401 + var ret GetBlockDetailsByBlockHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40131) GetError() GetXRPRippleBlockDetailsByBlockHashE401 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40131) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE401, bool) { - if o == nil { +func (o *InlineResponse40131) GetErrorOk() (*GetBlockDetailsByBlockHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40131) SetError(v GetXRPRippleBlockDetailsByBlockHashE401) { +func (o *InlineResponse40131) SetError(v GetBlockDetailsByBlockHashE401) { o.Error = v } diff --git a/model_inline_response_401_32.go b/model_inline_response_401_32.go index 842918f..e600429 100644 --- a/model_inline_response_401_32.go +++ b/model_inline_response_401_32.go @@ -23,14 +23,14 @@ type InlineResponse40132 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetOmniTransactionDetailsByTransactionIDTxidE401 `json:"error"` + Error GetXRPRippleBlockDetailsByBlockHashE401 `json:"error"` } // NewInlineResponse40132 instantiates a new InlineResponse40132 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40132(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE401) *InlineResponse40132 { +func NewInlineResponse40132(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE401) *InlineResponse40132 { this := InlineResponse40132{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40132) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40132) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40132) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40132) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40132) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40132) GetError() GetOmniTransactionDetailsByTransactionIDTxidE401 { +func (o *InlineResponse40132) GetError() GetXRPRippleBlockDetailsByBlockHashE401 { if o == nil { - var ret GetOmniTransactionDetailsByTransactionIDTxidE401 + var ret GetXRPRippleBlockDetailsByBlockHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40132) GetError() GetOmniTransactionDetailsByTransactionI // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40132) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE401, bool) { - if o == nil { +func (o *InlineResponse40132) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40132) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE401) { +func (o *InlineResponse40132) SetError(v GetXRPRippleBlockDetailsByBlockHashE401) { o.Error = v } diff --git a/model_inline_response_401_33.go b/model_inline_response_401_33.go index e16c3ad..d9c71f9 100644 --- a/model_inline_response_401_33.go +++ b/model_inline_response_401_33.go @@ -23,14 +23,14 @@ type InlineResponse40133 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetZilliqaBlockDetailsByBlockHashE401 `json:"error"` + Error GetOmniTransactionDetailsByTransactionIDTxidE401 `json:"error"` } // NewInlineResponse40133 instantiates a new InlineResponse40133 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40133(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE401) *InlineResponse40133 { +func NewInlineResponse40133(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE401) *InlineResponse40133 { this := InlineResponse40133{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40133) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40133) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40133) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40133) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40133) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40133) GetError() GetZilliqaBlockDetailsByBlockHashE401 { +func (o *InlineResponse40133) GetError() GetOmniTransactionDetailsByTransactionIDTxidE401 { if o == nil { - var ret GetZilliqaBlockDetailsByBlockHashE401 + var ret GetOmniTransactionDetailsByTransactionIDTxidE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40133) GetError() GetZilliqaBlockDetailsByBlockHashE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40133) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE401, bool) { - if o == nil { +func (o *InlineResponse40133) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40133) SetError(v GetZilliqaBlockDetailsByBlockHashE401) { +func (o *InlineResponse40133) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE401) { o.Error = v } diff --git a/model_inline_response_401_34.go b/model_inline_response_401_34.go index 334116a..0cbb1d9 100644 --- a/model_inline_response_401_34.go +++ b/model_inline_response_401_34.go @@ -23,14 +23,14 @@ type InlineResponse40134 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListSupportedTokensE401 `json:"error"` + Error GetZilliqaBlockDetailsByBlockHashE401 `json:"error"` } // NewInlineResponse40134 instantiates a new InlineResponse40134 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40134(apiVersion string, requestId string, error_ ListSupportedTokensE401) *InlineResponse40134 { +func NewInlineResponse40134(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE401) *InlineResponse40134 { this := InlineResponse40134{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40134) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40134) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40134) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40134) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40134) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40134) GetError() ListSupportedTokensE401 { +func (o *InlineResponse40134) GetError() GetZilliqaBlockDetailsByBlockHashE401 { if o == nil { - var ret ListSupportedTokensE401 + var ret GetZilliqaBlockDetailsByBlockHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40134) GetError() ListSupportedTokensE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40134) GetErrorOk() (*ListSupportedTokensE401, bool) { - if o == nil { +func (o *InlineResponse40134) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40134) SetError(v ListSupportedTokensE401) { +func (o *InlineResponse40134) SetError(v GetZilliqaBlockDetailsByBlockHashE401) { o.Error = v } diff --git a/model_inline_response_401_35.go b/model_inline_response_401_35.go index d038f87..8efe597 100644 --- a/model_inline_response_401_35.go +++ b/model_inline_response_401_35.go @@ -23,14 +23,14 @@ type InlineResponse40135 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetWalletAssetDetailsE401 `json:"error"` + Error ListSupportedTokensE401 `json:"error"` } // NewInlineResponse40135 instantiates a new InlineResponse40135 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40135(apiVersion string, requestId string, error_ GetWalletAssetDetailsE401) *InlineResponse40135 { +func NewInlineResponse40135(apiVersion string, requestId string, error_ ListSupportedTokensE401) *InlineResponse40135 { this := InlineResponse40135{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40135) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40135) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40135) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40135) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40135) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40135) GetError() GetWalletAssetDetailsE401 { +func (o *InlineResponse40135) GetError() ListSupportedTokensE401 { if o == nil { - var ret GetWalletAssetDetailsE401 + var ret ListSupportedTokensE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40135) GetError() GetWalletAssetDetailsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40135) GetErrorOk() (*GetWalletAssetDetailsE401, bool) { - if o == nil { +func (o *InlineResponse40135) GetErrorOk() (*ListSupportedTokensE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40135) SetError(v GetWalletAssetDetailsE401) { +func (o *InlineResponse40135) SetError(v ListSupportedTokensE401) { o.Error = v } diff --git a/model_inline_response_401_36.go b/model_inline_response_401_36.go index f399509..4601742 100644 --- a/model_inline_response_401_36.go +++ b/model_inline_response_401_36.go @@ -23,14 +23,14 @@ type InlineResponse40136 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateFungibleTokensTransactionRequestFromAddressE401 `json:"error"` + Error GetWalletAssetDetailsE401 `json:"error"` } // NewInlineResponse40136 instantiates a new InlineResponse40136 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40136(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE401) *InlineResponse40136 { +func NewInlineResponse40136(apiVersion string, requestId string, error_ GetWalletAssetDetailsE401) *InlineResponse40136 { this := InlineResponse40136{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40136) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40136) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40136) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40136) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40136) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40136) GetError() CreateFungibleTokensTransactionRequestFromAddressE401 { +func (o *InlineResponse40136) GetError() GetWalletAssetDetailsE401 { if o == nil { - var ret CreateFungibleTokensTransactionRequestFromAddressE401 + var ret GetWalletAssetDetailsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40136) GetError() CreateFungibleTokensTransactionRequestF // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40136) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE401, bool) { - if o == nil { +func (o *InlineResponse40136) GetErrorOk() (*GetWalletAssetDetailsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40136) SetError(v CreateFungibleTokensTransactionRequestFromAddressE401) { +func (o *InlineResponse40136) SetError(v GetWalletAssetDetailsE401) { o.Error = v } diff --git a/model_inline_response_401_37.go b/model_inline_response_401_37.go index a3c63a3..c74581a 100644 --- a/model_inline_response_401_37.go +++ b/model_inline_response_401_37.go @@ -23,14 +23,14 @@ type InlineResponse40137 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLastMinedBlockE401 `json:"error"` + Error CreateFungibleTokensTransactionRequestFromAddressE401 `json:"error"` } // NewInlineResponse40137 instantiates a new InlineResponse40137 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40137(apiVersion string, requestId string, error_ GetLastMinedBlockE401) *InlineResponse40137 { +func NewInlineResponse40137(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE401) *InlineResponse40137 { this := InlineResponse40137{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40137) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40137) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40137) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40137) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40137) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40137) GetError() GetLastMinedBlockE401 { +func (o *InlineResponse40137) GetError() CreateFungibleTokensTransactionRequestFromAddressE401 { if o == nil { - var ret GetLastMinedBlockE401 + var ret CreateFungibleTokensTransactionRequestFromAddressE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40137) GetError() GetLastMinedBlockE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40137) GetErrorOk() (*GetLastMinedBlockE401, bool) { - if o == nil { +func (o *InlineResponse40137) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40137) SetError(v GetLastMinedBlockE401) { +func (o *InlineResponse40137) SetError(v CreateFungibleTokensTransactionRequestFromAddressE401) { o.Error = v } diff --git a/model_inline_response_401_38.go b/model_inline_response_401_38.go index 509bc34..63e29dd 100644 --- a/model_inline_response_401_38.go +++ b/model_inline_response_401_38.go @@ -23,14 +23,14 @@ type InlineResponse40138 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListOmniTransactionsByBlockHeightE401 `json:"error"` + Error ListAllAssetsFromAllWalletsE401 `json:"error"` } // NewInlineResponse40138 instantiates a new InlineResponse40138 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40138(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE401) *InlineResponse40138 { +func NewInlineResponse40138(apiVersion string, requestId string, error_ ListAllAssetsFromAllWalletsE401) *InlineResponse40138 { this := InlineResponse40138{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40138) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40138) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40138) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40138) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40138) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40138) GetError() ListOmniTransactionsByBlockHeightE401 { +func (o *InlineResponse40138) GetError() ListAllAssetsFromAllWalletsE401 { if o == nil { - var ret ListOmniTransactionsByBlockHeightE401 + var ret ListAllAssetsFromAllWalletsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40138) GetError() ListOmniTransactionsByBlockHeightE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40138) GetErrorOk() (*ListOmniTransactionsByBlockHeightE401, bool) { - if o == nil { +func (o *InlineResponse40138) GetErrorOk() (*ListAllAssetsFromAllWalletsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40138) SetError(v ListOmniTransactionsByBlockHeightE401) { +func (o *InlineResponse40138) SetError(v ListAllAssetsFromAllWalletsE401) { o.Error = v } diff --git a/model_inline_response_401_39.go b/model_inline_response_401_39.go index c3a1631..f414d92 100644 --- a/model_inline_response_401_39.go +++ b/model_inline_response_401_39.go @@ -23,14 +23,14 @@ type InlineResponse40139 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLatestMinedXRPRippleBlockE401 `json:"error"` + Error ListAllAssetsByWalletIDE401 `json:"error"` } // NewInlineResponse40139 instantiates a new InlineResponse40139 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40139(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE401) *InlineResponse40139 { +func NewInlineResponse40139(apiVersion string, requestId string, error_ ListAllAssetsByWalletIDE401) *InlineResponse40139 { this := InlineResponse40139{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40139) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40139) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40139) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40139) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40139) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40139) GetError() GetLatestMinedXRPRippleBlockE401 { +func (o *InlineResponse40139) GetError() ListAllAssetsByWalletIDE401 { if o == nil { - var ret GetLatestMinedXRPRippleBlockE401 + var ret ListAllAssetsByWalletIDE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40139) GetError() GetLatestMinedXRPRippleBlockE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40139) GetErrorOk() (*GetLatestMinedXRPRippleBlockE401, bool) { - if o == nil { +func (o *InlineResponse40139) GetErrorOk() (*ListAllAssetsByWalletIDE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40139) SetError(v GetLatestMinedXRPRippleBlockE401) { +func (o *InlineResponse40139) SetError(v ListAllAssetsByWalletIDE401) { o.Error = v } diff --git a/model_inline_response_401_4.go b/model_inline_response_401_4.go index 09a9fcd..c30a66a 100644 --- a/model_inline_response_401_4.go +++ b/model_inline_response_401_4.go @@ -59,7 +59,7 @@ func (o *InlineResponse4014) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4014) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4014) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4014) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4014) GetError() GetTransactionDetailsByTransactionIDE401 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4014) GetErrorOk() (*GetTransactionDetailsByTransactionIDE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_40.go b/model_inline_response_401_40.go index 73a0b36..f878417 100644 --- a/model_inline_response_401_40.go +++ b/model_inline_response_401_40.go @@ -23,14 +23,14 @@ type InlineResponse40140 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLatestMinedZilliqaBlockE401 `json:"error"` + Error GetLastMinedBlockE401 `json:"error"` } // NewInlineResponse40140 instantiates a new InlineResponse40140 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40140(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE401) *InlineResponse40140 { +func NewInlineResponse40140(apiVersion string, requestId string, error_ GetLastMinedBlockE401) *InlineResponse40140 { this := InlineResponse40140{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40140) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40140) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40140) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40140) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40140) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40140) GetError() GetLatestMinedZilliqaBlockE401 { +func (o *InlineResponse40140) GetError() GetLastMinedBlockE401 { if o == nil { - var ret GetLatestMinedZilliqaBlockE401 + var ret GetLastMinedBlockE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40140) GetError() GetLatestMinedZilliqaBlockE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40140) GetErrorOk() (*GetLatestMinedZilliqaBlockE401, bool) { - if o == nil { +func (o *InlineResponse40140) GetErrorOk() (*GetLastMinedBlockE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40140) SetError(v GetLatestMinedZilliqaBlockE401) { +func (o *InlineResponse40140) SetError(v GetLastMinedBlockE401) { o.Error = v } diff --git a/model_inline_response_401_41.go b/model_inline_response_401_41.go index 922feb0..b08dd82 100644 --- a/model_inline_response_401_41.go +++ b/model_inline_response_401_41.go @@ -23,14 +23,14 @@ type InlineResponse40141 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTransactionRequestDetailsE401 `json:"error"` + Error ListOmniTransactionsByBlockHeightE401 `json:"error"` } // NewInlineResponse40141 instantiates a new InlineResponse40141 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40141(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE401) *InlineResponse40141 { +func NewInlineResponse40141(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE401) *InlineResponse40141 { this := InlineResponse40141{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40141) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40141) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40141) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40141) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40141) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40141) GetError() GetTransactionRequestDetailsE401 { +func (o *InlineResponse40141) GetError() ListOmniTransactionsByBlockHeightE401 { if o == nil { - var ret GetTransactionRequestDetailsE401 + var ret ListOmniTransactionsByBlockHeightE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40141) GetError() GetTransactionRequestDetailsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40141) GetErrorOk() (*GetTransactionRequestDetailsE401, bool) { - if o == nil { +func (o *InlineResponse40141) GetErrorOk() (*ListOmniTransactionsByBlockHeightE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40141) SetError(v GetTransactionRequestDetailsE401) { +func (o *InlineResponse40141) SetError(v ListOmniTransactionsByBlockHeightE401) { o.Error = v } diff --git a/model_inline_response_401_42.go b/model_inline_response_401_42.go index c100e79..f2ba661 100644 --- a/model_inline_response_401_42.go +++ b/model_inline_response_401_42.go @@ -23,14 +23,14 @@ type InlineResponse40142 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListLatestMinedBlocksE401 `json:"error"` + Error GetLatestMinedXRPRippleBlockE401 `json:"error"` } // NewInlineResponse40142 instantiates a new InlineResponse40142 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40142(apiVersion string, requestId string, error_ ListLatestMinedBlocksE401) *InlineResponse40142 { +func NewInlineResponse40142(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE401) *InlineResponse40142 { this := InlineResponse40142{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40142) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40142) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40142) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40142) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40142) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40142) GetError() ListLatestMinedBlocksE401 { +func (o *InlineResponse40142) GetError() GetLatestMinedXRPRippleBlockE401 { if o == nil { - var ret ListLatestMinedBlocksE401 + var ret GetLatestMinedXRPRippleBlockE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40142) GetError() ListLatestMinedBlocksE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40142) GetErrorOk() (*ListLatestMinedBlocksE401, bool) { - if o == nil { +func (o *InlineResponse40142) GetErrorOk() (*GetLatestMinedXRPRippleBlockE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40142) SetError(v ListLatestMinedBlocksE401) { +func (o *InlineResponse40142) SetError(v GetLatestMinedXRPRippleBlockE401) { o.Error = v } diff --git a/model_inline_response_401_43.go b/model_inline_response_401_43.go index 83ba701..f4b82b6 100644 --- a/model_inline_response_401_43.go +++ b/model_inline_response_401_43.go @@ -23,14 +23,14 @@ type InlineResponse40143 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error SyncHDWalletXPubYPubZPubE401 `json:"error"` + Error GetLatestMinedZilliqaBlockE401 `json:"error"` } // NewInlineResponse40143 instantiates a new InlineResponse40143 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40143(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE401) *InlineResponse40143 { +func NewInlineResponse40143(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE401) *InlineResponse40143 { this := InlineResponse40143{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40143) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40143) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40143) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40143) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40143) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40143) GetError() SyncHDWalletXPubYPubZPubE401 { +func (o *InlineResponse40143) GetError() GetLatestMinedZilliqaBlockE401 { if o == nil { - var ret SyncHDWalletXPubYPubZPubE401 + var ret GetLatestMinedZilliqaBlockE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40143) GetError() SyncHDWalletXPubYPubZPubE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40143) GetErrorOk() (*SyncHDWalletXPubYPubZPubE401, bool) { - if o == nil { +func (o *InlineResponse40143) GetErrorOk() (*GetLatestMinedZilliqaBlockE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40143) SetError(v SyncHDWalletXPubYPubZPubE401) { +func (o *InlineResponse40143) SetError(v GetLatestMinedZilliqaBlockE401) { o.Error = v } diff --git a/model_inline_response_401_44.go b/model_inline_response_401_44.go index e9c226a..47b90c8 100644 --- a/model_inline_response_401_44.go +++ b/model_inline_response_401_44.go @@ -23,14 +23,14 @@ type InlineResponse40144 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListOmniTransactionsByBlockHashE401 `json:"error"` + Error GetTransactionRequestDetailsE401 `json:"error"` } // NewInlineResponse40144 instantiates a new InlineResponse40144 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40144(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE401) *InlineResponse40144 { +func NewInlineResponse40144(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE401) *InlineResponse40144 { this := InlineResponse40144{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40144) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40144) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40144) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40144) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40144) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40144) GetError() ListOmniTransactionsByBlockHashE401 { +func (o *InlineResponse40144) GetError() GetTransactionRequestDetailsE401 { if o == nil { - var ret ListOmniTransactionsByBlockHashE401 + var ret GetTransactionRequestDetailsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40144) GetError() ListOmniTransactionsByBlockHashE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40144) GetErrorOk() (*ListOmniTransactionsByBlockHashE401, bool) { - if o == nil { +func (o *InlineResponse40144) GetErrorOk() (*GetTransactionRequestDetailsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40144) SetError(v ListOmniTransactionsByBlockHashE401) { +func (o *InlineResponse40144) SetError(v GetTransactionRequestDetailsE401) { o.Error = v } diff --git a/model_inline_response_401_45.go b/model_inline_response_401_45.go index 49d8241..a7186c7 100644 --- a/model_inline_response_401_45.go +++ b/model_inline_response_401_45.go @@ -23,14 +23,14 @@ type InlineResponse40145 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListWalletTransactionsE401 `json:"error"` + Error ListLatestMinedBlocksE401 `json:"error"` } // NewInlineResponse40145 instantiates a new InlineResponse40145 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40145(apiVersion string, requestId string, error_ ListWalletTransactionsE401) *InlineResponse40145 { +func NewInlineResponse40145(apiVersion string, requestId string, error_ ListLatestMinedBlocksE401) *InlineResponse40145 { this := InlineResponse40145{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40145) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40145) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40145) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40145) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40145) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40145) GetError() ListWalletTransactionsE401 { +func (o *InlineResponse40145) GetError() ListLatestMinedBlocksE401 { if o == nil { - var ret ListWalletTransactionsE401 + var ret ListLatestMinedBlocksE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40145) GetError() ListWalletTransactionsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40145) GetErrorOk() (*ListWalletTransactionsE401, bool) { - if o == nil { +func (o *InlineResponse40145) GetErrorOk() (*ListLatestMinedBlocksE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40145) SetError(v ListWalletTransactionsE401) { +func (o *InlineResponse40145) SetError(v ListLatestMinedBlocksE401) { o.Error = v } diff --git a/model_inline_response_401_46.go b/model_inline_response_401_46.go index 70cbc22..34fc496 100644 --- a/model_inline_response_401_46.go +++ b/model_inline_response_401_46.go @@ -23,14 +23,14 @@ type InlineResponse40146 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetWalletTransactionDetailsByTransactionIDE401 `json:"error"` + Error SyncHDWalletXPubYPubZPubE401 `json:"error"` } // NewInlineResponse40146 instantiates a new InlineResponse40146 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40146(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE401) *InlineResponse40146 { +func NewInlineResponse40146(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE401) *InlineResponse40146 { this := InlineResponse40146{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40146) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40146) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40146) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40146) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40146) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40146) GetError() GetWalletTransactionDetailsByTransactionIDE401 { +func (o *InlineResponse40146) GetError() SyncHDWalletXPubYPubZPubE401 { if o == nil { - var ret GetWalletTransactionDetailsByTransactionIDE401 + var ret SyncHDWalletXPubYPubZPubE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40146) GetError() GetWalletTransactionDetailsByTransactio // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40146) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE401, bool) { - if o == nil { +func (o *InlineResponse40146) GetErrorOk() (*SyncHDWalletXPubYPubZPubE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40146) SetError(v GetWalletTransactionDetailsByTransactionIDE401) { +func (o *InlineResponse40146) SetError(v SyncHDWalletXPubYPubZPubE401) { o.Error = v } diff --git a/model_inline_response_401_47.go b/model_inline_response_401_47.go index 059bc15..72fc418 100644 --- a/model_inline_response_401_47.go +++ b/model_inline_response_401_47.go @@ -23,14 +23,14 @@ type InlineResponse40147 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetHDWalletXPubYPubZPubDetailsE401 `json:"error"` + Error ListOmniTransactionsByBlockHashE401 `json:"error"` } // NewInlineResponse40147 instantiates a new InlineResponse40147 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40147(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE401) *InlineResponse40147 { +func NewInlineResponse40147(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE401) *InlineResponse40147 { this := InlineResponse40147{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40147) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40147) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40147) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40147) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40147) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40147) GetError() GetHDWalletXPubYPubZPubDetailsE401 { +func (o *InlineResponse40147) GetError() ListOmniTransactionsByBlockHashE401 { if o == nil { - var ret GetHDWalletXPubYPubZPubDetailsE401 + var ret ListOmniTransactionsByBlockHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40147) GetError() GetHDWalletXPubYPubZPubDetailsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40147) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE401, bool) { - if o == nil { +func (o *InlineResponse40147) GetErrorOk() (*ListOmniTransactionsByBlockHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40147) SetError(v GetHDWalletXPubYPubZPubDetailsE401) { +func (o *InlineResponse40147) SetError(v ListOmniTransactionsByBlockHashE401) { o.Error = v } diff --git a/model_inline_response_401_48.go b/model_inline_response_401_48.go index 6c07268..19b11b8 100644 --- a/model_inline_response_401_48.go +++ b/model_inline_response_401_48.go @@ -23,14 +23,14 @@ type InlineResponse40148 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListInternalTransactionDetailsByTransactionHashE401 `json:"error"` + Error ListWalletTransactionsE401 `json:"error"` } // NewInlineResponse40148 instantiates a new InlineResponse40148 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40148(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE401) *InlineResponse40148 { +func NewInlineResponse40148(apiVersion string, requestId string, error_ ListWalletTransactionsE401) *InlineResponse40148 { this := InlineResponse40148{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40148) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40148) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40148) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40148) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40148) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40148) GetError() ListInternalTransactionDetailsByTransactionHashE401 { +func (o *InlineResponse40148) GetError() ListWalletTransactionsE401 { if o == nil { - var ret ListInternalTransactionDetailsByTransactionHashE401 + var ret ListWalletTransactionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40148) GetError() ListInternalTransactionDetailsByTransac // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40148) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE401, bool) { - if o == nil { +func (o *InlineResponse40148) GetErrorOk() (*ListWalletTransactionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40148) SetError(v ListInternalTransactionDetailsByTransactionHashE401) { +func (o *InlineResponse40148) SetError(v ListWalletTransactionsE401) { o.Error = v } diff --git a/model_inline_response_401_49.go b/model_inline_response_401_49.go index 414c3d3..0ba5cda 100644 --- a/model_inline_response_401_49.go +++ b/model_inline_response_401_49.go @@ -23,14 +23,14 @@ type InlineResponse40149 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListHDWalletXPubYPubZPubTransactionsE401 `json:"error"` + Error GetWalletTransactionDetailsByTransactionIDE401 `json:"error"` } // NewInlineResponse40149 instantiates a new InlineResponse40149 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40149(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE401) *InlineResponse40149 { +func NewInlineResponse40149(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE401) *InlineResponse40149 { this := InlineResponse40149{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40149) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40149) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40149) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40149) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40149) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40149) GetError() ListHDWalletXPubYPubZPubTransactionsE401 { +func (o *InlineResponse40149) GetError() GetWalletTransactionDetailsByTransactionIDE401 { if o == nil { - var ret ListHDWalletXPubYPubZPubTransactionsE401 + var ret GetWalletTransactionDetailsByTransactionIDE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40149) GetError() ListHDWalletXPubYPubZPubTransactionsE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40149) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE401, bool) { - if o == nil { +func (o *InlineResponse40149) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40149) SetError(v ListHDWalletXPubYPubZPubTransactionsE401) { +func (o *InlineResponse40149) SetError(v GetWalletTransactionDetailsByTransactionIDE401) { o.Error = v } diff --git a/model_inline_response_401_5.go b/model_inline_response_401_5.go index fc0b598..74ff796 100644 --- a/model_inline_response_401_5.go +++ b/model_inline_response_401_5.go @@ -59,7 +59,7 @@ func (o *InlineResponse4015) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4015) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4015) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4015) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4015) GetError() ListOmniTransactionsByAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4015) GetErrorOk() (*ListOmniTransactionsByAddressE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_50.go b/model_inline_response_401_50.go index af4511c..5f0af6f 100644 --- a/model_inline_response_401_50.go +++ b/model_inline_response_401_50.go @@ -23,14 +23,14 @@ type InlineResponse40150 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetInternalTransactionByTransactionHashAndOperationIdE401 `json:"error"` + Error GetHDWalletXPubYPubZPubAssetsE401 `json:"error"` } // NewInlineResponse40150 instantiates a new InlineResponse40150 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40150(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE401) *InlineResponse40150 { +func NewInlineResponse40150(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubAssetsE401) *InlineResponse40150 { this := InlineResponse40150{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40150) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40150) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40150) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40150) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40150) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40150) GetError() GetInternalTransactionByTransactionHashAndOperationIdE401 { +func (o *InlineResponse40150) GetError() GetHDWalletXPubYPubZPubAssetsE401 { if o == nil { - var ret GetInternalTransactionByTransactionHashAndOperationIdE401 + var ret GetHDWalletXPubYPubZPubAssetsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40150) GetError() GetInternalTransactionByTransactionHash // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40150) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE401, bool) { - if o == nil { +func (o *InlineResponse40150) GetErrorOk() (*GetHDWalletXPubYPubZPubAssetsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40150) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE401) { +func (o *InlineResponse40150) SetError(v GetHDWalletXPubYPubZPubAssetsE401) { o.Error = v } diff --git a/model_inline_response_401_51.go b/model_inline_response_401_51.go index 6141680..abedffd 100644 --- a/model_inline_response_401_51.go +++ b/model_inline_response_401_51.go @@ -23,14 +23,14 @@ type InlineResponse40151 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListInternalTransactionsByAddressE401 `json:"error"` + Error GetHDWalletXPubYPubZPubDetailsE401 `json:"error"` } // NewInlineResponse40151 instantiates a new InlineResponse40151 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40151(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE401) *InlineResponse40151 { +func NewInlineResponse40151(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE401) *InlineResponse40151 { this := InlineResponse40151{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40151) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40151) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40151) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40151) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40151) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40151) GetError() ListInternalTransactionsByAddressE401 { +func (o *InlineResponse40151) GetError() GetHDWalletXPubYPubZPubDetailsE401 { if o == nil { - var ret ListInternalTransactionsByAddressE401 + var ret GetHDWalletXPubYPubZPubDetailsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40151) GetError() ListInternalTransactionsByAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40151) GetErrorOk() (*ListInternalTransactionsByAddressE401, bool) { - if o == nil { +func (o *InlineResponse40151) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40151) SetError(v ListInternalTransactionsByAddressE401) { +func (o *InlineResponse40151) SetError(v GetHDWalletXPubYPubZPubDetailsE401) { o.Error = v } diff --git a/model_inline_response_401_52.go b/model_inline_response_401_52.go index a730147..ceae7aa 100644 --- a/model_inline_response_401_52.go +++ b/model_inline_response_401_52.go @@ -23,14 +23,14 @@ type InlineResponse40152 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListUnspentTransactionOutputsByAddressE401 `json:"error"` + Error ListInternalTransactionDetailsByTransactionHashE401 `json:"error"` } // NewInlineResponse40152 instantiates a new InlineResponse40152 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40152(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE401) *InlineResponse40152 { +func NewInlineResponse40152(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE401) *InlineResponse40152 { this := InlineResponse40152{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40152) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40152) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40152) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40152) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40152) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40152) GetError() ListUnspentTransactionOutputsByAddressE401 { +func (o *InlineResponse40152) GetError() ListInternalTransactionDetailsByTransactionHashE401 { if o == nil { - var ret ListUnspentTransactionOutputsByAddressE401 + var ret ListInternalTransactionDetailsByTransactionHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40152) GetError() ListUnspentTransactionOutputsByAddressE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40152) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE401, bool) { - if o == nil { +func (o *InlineResponse40152) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40152) SetError(v ListUnspentTransactionOutputsByAddressE401) { +func (o *InlineResponse40152) SetError(v ListInternalTransactionDetailsByTransactionHashE401) { o.Error = v } diff --git a/model_inline_response_401_53.go b/model_inline_response_401_53.go index bad2e5d..06f2b9e 100644 --- a/model_inline_response_401_53.go +++ b/model_inline_response_401_53.go @@ -23,14 +23,14 @@ type InlineResponse40153 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetFeeRecommendationsE401 `json:"error"` + Error ListHDWalletXPubYPubZPubTransactionsE401 `json:"error"` } // NewInlineResponse40153 instantiates a new InlineResponse40153 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40153(apiVersion string, requestId string, error_ GetFeeRecommendationsE401) *InlineResponse40153 { +func NewInlineResponse40153(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE401) *InlineResponse40153 { this := InlineResponse40153{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40153) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40153) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40153) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40153) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40153) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40153) GetError() GetFeeRecommendationsE401 { +func (o *InlineResponse40153) GetError() ListHDWalletXPubYPubZPubTransactionsE401 { if o == nil { - var ret GetFeeRecommendationsE401 + var ret ListHDWalletXPubYPubZPubTransactionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40153) GetError() GetFeeRecommendationsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40153) GetErrorOk() (*GetFeeRecommendationsE401, bool) { - if o == nil { +func (o *InlineResponse40153) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40153) SetError(v GetFeeRecommendationsE401) { +func (o *InlineResponse40153) SetError(v ListHDWalletXPubYPubZPubTransactionsE401) { o.Error = v } diff --git a/model_inline_response_401_54.go b/model_inline_response_401_54.go index 41b2d91..a496aa0 100644 --- a/model_inline_response_401_54.go +++ b/model_inline_response_401_54.go @@ -23,14 +23,14 @@ type InlineResponse40154 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensTransfersByTransactionHashE401 `json:"error"` + Error GetInternalTransactionByTransactionHashAndOperationIdE401 `json:"error"` } // NewInlineResponse40154 instantiates a new InlineResponse40154 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40154(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE401) *InlineResponse40154 { +func NewInlineResponse40154(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE401) *InlineResponse40154 { this := InlineResponse40154{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40154) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40154) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40154) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40154) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40154) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40154) GetError() ListTokensTransfersByTransactionHashE401 { +func (o *InlineResponse40154) GetError() GetInternalTransactionByTransactionHashAndOperationIdE401 { if o == nil { - var ret ListTokensTransfersByTransactionHashE401 + var ret GetInternalTransactionByTransactionHashAndOperationIdE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40154) GetError() ListTokensTransfersByTransactionHashE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40154) GetErrorOk() (*ListTokensTransfersByTransactionHashE401, bool) { - if o == nil { +func (o *InlineResponse40154) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40154) SetError(v ListTokensTransfersByTransactionHashE401) { +func (o *InlineResponse40154) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE401) { o.Error = v } diff --git a/model_inline_response_401_55.go b/model_inline_response_401_55.go index 52ebcbf..0af8df5 100644 --- a/model_inline_response_401_55.go +++ b/model_inline_response_401_55.go @@ -23,14 +23,14 @@ type InlineResponse40155 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListConfirmedTokensTransfersByAddressE401 `json:"error"` + Error ListHDWalletXPubYPubZPubUTXOsE401 `json:"error"` } // NewInlineResponse40155 instantiates a new InlineResponse40155 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40155(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE401) *InlineResponse40155 { +func NewInlineResponse40155(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubUTXOsE401) *InlineResponse40155 { this := InlineResponse40155{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40155) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40155) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40155) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40155) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40155) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40155) GetError() ListConfirmedTokensTransfersByAddressE401 { +func (o *InlineResponse40155) GetError() ListHDWalletXPubYPubZPubUTXOsE401 { if o == nil { - var ret ListConfirmedTokensTransfersByAddressE401 + var ret ListHDWalletXPubYPubZPubUTXOsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40155) GetError() ListConfirmedTokensTransfersByAddressE4 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40155) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE401, bool) { - if o == nil { +func (o *InlineResponse40155) GetErrorOk() (*ListHDWalletXPubYPubZPubUTXOsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40155) SetError(v ListConfirmedTokensTransfersByAddressE401) { +func (o *InlineResponse40155) SetError(v ListHDWalletXPubYPubZPubUTXOsE401) { o.Error = v } diff --git a/model_inline_response_401_56.go b/model_inline_response_401_56.go index 5e2bb9b..8b62921 100644 --- a/model_inline_response_401_56.go +++ b/model_inline_response_401_56.go @@ -23,14 +23,14 @@ type InlineResponse40156 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensByAddressE401 `json:"error"` + Error ListInternalTransactionsByAddressE401 `json:"error"` } // NewInlineResponse40156 instantiates a new InlineResponse40156 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40156(apiVersion string, requestId string, error_ ListTokensByAddressE401) *InlineResponse40156 { +func NewInlineResponse40156(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE401) *InlineResponse40156 { this := InlineResponse40156{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40156) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40156) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40156) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40156) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40156) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40156) GetError() ListTokensByAddressE401 { +func (o *InlineResponse40156) GetError() ListInternalTransactionsByAddressE401 { if o == nil { - var ret ListTokensByAddressE401 + var ret ListInternalTransactionsByAddressE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40156) GetError() ListTokensByAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40156) GetErrorOk() (*ListTokensByAddressE401, bool) { - if o == nil { +func (o *InlineResponse40156) GetErrorOk() (*ListInternalTransactionsByAddressE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40156) SetError(v ListTokensByAddressE401) { +func (o *InlineResponse40156) SetError(v ListInternalTransactionsByAddressE401) { o.Error = v } diff --git a/model_inline_response_401_57.go b/model_inline_response_401_57.go index ca5c726..e4cacb3 100644 --- a/model_inline_response_401_57.go +++ b/model_inline_response_401_57.go @@ -23,14 +23,14 @@ type InlineResponse40157 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTokenDetailsByContractAddressE401 `json:"error"` + Error GetFeeRecommendationsE401 `json:"error"` } // NewInlineResponse40157 instantiates a new InlineResponse40157 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40157(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE401) *InlineResponse40157 { +func NewInlineResponse40157(apiVersion string, requestId string, error_ GetFeeRecommendationsE401) *InlineResponse40157 { this := InlineResponse40157{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40157) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40157) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40157) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40157) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40157) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40157) GetError() GetTokenDetailsByContractAddressE401 { +func (o *InlineResponse40157) GetError() GetFeeRecommendationsE401 { if o == nil { - var ret GetTokenDetailsByContractAddressE401 + var ret GetFeeRecommendationsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40157) GetError() GetTokenDetailsByContractAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40157) GetErrorOk() (*GetTokenDetailsByContractAddressE401, bool) { - if o == nil { +func (o *InlineResponse40157) GetErrorOk() (*GetFeeRecommendationsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40157) SetError(v GetTokenDetailsByContractAddressE401) { +func (o *InlineResponse40157) SetError(v GetFeeRecommendationsE401) { o.Error = v } diff --git a/model_inline_response_401_58.go b/model_inline_response_401_58.go index a8df740..3ce8b03 100644 --- a/model_inline_response_401_58.go +++ b/model_inline_response_401_58.go @@ -23,14 +23,14 @@ type InlineResponse40158 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewUnconfirmedCoinsTransactionsE401 `json:"error"` + Error GetNextAvailableNonceE401 `json:"error"` } // NewInlineResponse40158 instantiates a new InlineResponse40158 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40158(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE401) *InlineResponse40158 { +func NewInlineResponse40158(apiVersion string, requestId string, error_ GetNextAvailableNonceE401) *InlineResponse40158 { this := InlineResponse40158{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40158) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40158) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40158) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40158) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40158) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40158) GetError() NewUnconfirmedCoinsTransactionsE401 { +func (o *InlineResponse40158) GetError() GetNextAvailableNonceE401 { if o == nil { - var ret NewUnconfirmedCoinsTransactionsE401 + var ret GetNextAvailableNonceE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40158) GetError() NewUnconfirmedCoinsTransactionsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40158) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE401, bool) { - if o == nil { +func (o *InlineResponse40158) GetErrorOk() (*GetNextAvailableNonceE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40158) SetError(v NewUnconfirmedCoinsTransactionsE401) { +func (o *InlineResponse40158) SetError(v GetNextAvailableNonceE401) { o.Error = v } diff --git a/model_inline_response_401_59.go b/model_inline_response_401_59.go index 02e8187..0c68a0f 100644 --- a/model_inline_response_401_59.go +++ b/model_inline_response_401_59.go @@ -23,14 +23,14 @@ type InlineResponse40159 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewUnconfirmedTokensTransactionsE401 `json:"error"` + Error ListUnspentTransactionOutputsByAddressE401 `json:"error"` } // NewInlineResponse40159 instantiates a new InlineResponse40159 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40159(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE401) *InlineResponse40159 { +func NewInlineResponse40159(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE401) *InlineResponse40159 { this := InlineResponse40159{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40159) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40159) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40159) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40159) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40159) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40159) GetError() NewUnconfirmedTokensTransactionsE401 { +func (o *InlineResponse40159) GetError() ListUnspentTransactionOutputsByAddressE401 { if o == nil { - var ret NewUnconfirmedTokensTransactionsE401 + var ret ListUnspentTransactionOutputsByAddressE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40159) GetError() NewUnconfirmedTokensTransactionsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40159) GetErrorOk() (*NewUnconfirmedTokensTransactionsE401, bool) { - if o == nil { +func (o *InlineResponse40159) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40159) SetError(v NewUnconfirmedTokensTransactionsE401) { +func (o *InlineResponse40159) SetError(v ListUnspentTransactionOutputsByAddressE401) { o.Error = v } diff --git a/model_inline_response_401_6.go b/model_inline_response_401_6.go index 9c4124f..b566186 100644 --- a/model_inline_response_401_6.go +++ b/model_inline_response_401_6.go @@ -59,7 +59,7 @@ func (o *InlineResponse4016) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4016) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4016) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4016) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4016) GetError() GetXRPRippleTransactionDetailsByTransact // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4016) GetErrorOk() (*GetXRPRippleTransactionDetailsByTransactionIDE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_60.go b/model_inline_response_401_60.go index 3c44c9a..69cf349 100644 --- a/model_inline_response_401_60.go +++ b/model_inline_response_401_60.go @@ -23,14 +23,14 @@ type InlineResponse40160 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedCoinsTransactionsE401 `json:"error"` + Error ListTokensTransfersByTransactionHashE401 `json:"error"` } // NewInlineResponse40160 instantiates a new InlineResponse40160 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40160(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE401) *InlineResponse40160 { +func NewInlineResponse40160(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE401) *InlineResponse40160 { this := InlineResponse40160{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40160) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40160) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40160) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40160) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40160) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40160) GetError() NewConfirmedCoinsTransactionsE401 { +func (o *InlineResponse40160) GetError() ListTokensTransfersByTransactionHashE401 { if o == nil { - var ret NewConfirmedCoinsTransactionsE401 + var ret ListTokensTransfersByTransactionHashE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40160) GetError() NewConfirmedCoinsTransactionsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40160) GetErrorOk() (*NewConfirmedCoinsTransactionsE401, bool) { - if o == nil { +func (o *InlineResponse40160) GetErrorOk() (*ListTokensTransfersByTransactionHashE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40160) SetError(v NewConfirmedCoinsTransactionsE401) { +func (o *InlineResponse40160) SetError(v ListTokensTransfersByTransactionHashE401) { o.Error = v } diff --git a/model_inline_response_401_61.go b/model_inline_response_401_61.go index 9c0db93..e46cfe8 100644 --- a/model_inline_response_401_61.go +++ b/model_inline_response_401_61.go @@ -23,14 +23,14 @@ type InlineResponse40161 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedTokensTransactionsE401 `json:"error"` + Error ListConfirmedTransactionsByAddressAndTimeRangeE401 `json:"error"` } // NewInlineResponse40161 instantiates a new InlineResponse40161 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40161(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE401) *InlineResponse40161 { +func NewInlineResponse40161(apiVersion string, requestId string, error_ ListConfirmedTransactionsByAddressAndTimeRangeE401) *InlineResponse40161 { this := InlineResponse40161{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40161) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40161) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40161) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40161) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40161) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40161) GetError() NewConfirmedTokensTransactionsE401 { +func (o *InlineResponse40161) GetError() ListConfirmedTransactionsByAddressAndTimeRangeE401 { if o == nil { - var ret NewConfirmedTokensTransactionsE401 + var ret ListConfirmedTransactionsByAddressAndTimeRangeE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40161) GetError() NewConfirmedTokensTransactionsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40161) GetErrorOk() (*NewConfirmedTokensTransactionsE401, bool) { - if o == nil { +func (o *InlineResponse40161) GetErrorOk() (*ListConfirmedTransactionsByAddressAndTimeRangeE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40161) SetError(v NewConfirmedTokensTransactionsE401) { +func (o *InlineResponse40161) SetError(v ListConfirmedTransactionsByAddressAndTimeRangeE401) { o.Error = v } diff --git a/model_inline_response_401_62.go b/model_inline_response_401_62.go index f15d7ea..df81277 100644 --- a/model_inline_response_401_62.go +++ b/model_inline_response_401_62.go @@ -23,14 +23,14 @@ type InlineResponse40162 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedTokensTransactionsAndEachConfirmationE401 `json:"error"` + Error ListConfirmedTokensTransfersByAddressAndTimeRangeE401 `json:"error"` } // NewInlineResponse40162 instantiates a new InlineResponse40162 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40162(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE401) *InlineResponse40162 { +func NewInlineResponse40162(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressAndTimeRangeE401) *InlineResponse40162 { this := InlineResponse40162{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40162) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40162) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40162) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40162) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40162) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40162) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE401 { +func (o *InlineResponse40162) GetError() ListConfirmedTokensTransfersByAddressAndTimeRangeE401 { if o == nil { - var ret NewConfirmedTokensTransactionsAndEachConfirmationE401 + var ret ListConfirmedTokensTransfersByAddressAndTimeRangeE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40162) GetError() NewConfirmedTokensTransactionsAndEachCo // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40162) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE401, bool) { - if o == nil { +func (o *InlineResponse40162) GetErrorOk() (*ListConfirmedTokensTransfersByAddressAndTimeRangeE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40162) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE401) { +func (o *InlineResponse40162) SetError(v ListConfirmedTokensTransfersByAddressAndTimeRangeE401) { o.Error = v } diff --git a/model_inline_response_401_63.go b/model_inline_response_401_63.go index 8efec51..82f26c1 100644 --- a/model_inline_response_401_63.go +++ b/model_inline_response_401_63.go @@ -23,14 +23,14 @@ type InlineResponse40163 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedCoinsTransactionsAndEachConfirmationE401 `json:"error"` + Error ListInternalTransactionsByAddressAndTimeRangeE401 `json:"error"` } // NewInlineResponse40163 instantiates a new InlineResponse40163 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40163(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE401) *InlineResponse40163 { +func NewInlineResponse40163(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressAndTimeRangeE401) *InlineResponse40163 { this := InlineResponse40163{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40163) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40163) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40163) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40163) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40163) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40163) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE401 { +func (o *InlineResponse40163) GetError() ListInternalTransactionsByAddressAndTimeRangeE401 { if o == nil { - var ret NewConfirmedCoinsTransactionsAndEachConfirmationE401 + var ret ListInternalTransactionsByAddressAndTimeRangeE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40163) GetError() NewConfirmedCoinsTransactionsAndEachCon // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40163) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE401, bool) { - if o == nil { +func (o *InlineResponse40163) GetErrorOk() (*ListInternalTransactionsByAddressAndTimeRangeE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40163) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE401) { +func (o *InlineResponse40163) SetError(v ListInternalTransactionsByAddressAndTimeRangeE401) { o.Error = v } diff --git a/model_inline_response_401_64.go b/model_inline_response_401_64.go index 06708b6..1133db5 100644 --- a/model_inline_response_401_64.go +++ b/model_inline_response_401_64.go @@ -23,14 +23,14 @@ type InlineResponse40164 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error MinedTransactionE401 `json:"error"` + Error ListConfirmedTokensTransfersByAddressE401 `json:"error"` } // NewInlineResponse40164 instantiates a new InlineResponse40164 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40164(apiVersion string, requestId string, error_ MinedTransactionE401) *InlineResponse40164 { +func NewInlineResponse40164(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE401) *InlineResponse40164 { this := InlineResponse40164{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40164) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40164) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40164) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40164) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40164) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40164) GetError() MinedTransactionE401 { +func (o *InlineResponse40164) GetError() ListConfirmedTokensTransfersByAddressE401 { if o == nil { - var ret MinedTransactionE401 + var ret ListConfirmedTokensTransfersByAddressE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40164) GetError() MinedTransactionE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40164) GetErrorOk() (*MinedTransactionE401, bool) { - if o == nil { +func (o *InlineResponse40164) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40164) SetError(v MinedTransactionE401) { +func (o *InlineResponse40164) SetError(v ListConfirmedTokensTransfersByAddressE401) { o.Error = v } diff --git a/model_inline_response_401_65.go b/model_inline_response_401_65.go index 86ce5c0..c7b47b7 100644 --- a/model_inline_response_401_65.go +++ b/model_inline_response_401_65.go @@ -23,14 +23,14 @@ type InlineResponse40165 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewBlockE401 `json:"error"` + Error GetRawTransactionDataE401 `json:"error"` } // NewInlineResponse40165 instantiates a new InlineResponse40165 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40165(apiVersion string, requestId string, error_ NewBlockE401) *InlineResponse40165 { +func NewInlineResponse40165(apiVersion string, requestId string, error_ GetRawTransactionDataE401) *InlineResponse40165 { this := InlineResponse40165{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40165) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40165) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40165) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40165) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40165) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40165) GetError() NewBlockE401 { +func (o *InlineResponse40165) GetError() GetRawTransactionDataE401 { if o == nil { - var ret NewBlockE401 + var ret GetRawTransactionDataE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40165) GetError() NewBlockE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40165) GetErrorOk() (*NewBlockE401, bool) { - if o == nil { +func (o *InlineResponse40165) GetErrorOk() (*GetRawTransactionDataE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40165) SetError(v NewBlockE401) { +func (o *InlineResponse40165) SetError(v GetRawTransactionDataE401) { o.Error = v } diff --git a/model_inline_response_401_66.go b/model_inline_response_401_66.go index a0315e2..0caeefb 100644 --- a/model_inline_response_401_66.go +++ b/model_inline_response_401_66.go @@ -23,14 +23,14 @@ type InlineResponse40166 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListBlockchainEventsSubscriptionsE401 `json:"error"` + Error ListUnconfirmedTokensTransfersByAddressE401 `json:"error"` } // NewInlineResponse40166 instantiates a new InlineResponse40166 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40166(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE401) *InlineResponse40166 { +func NewInlineResponse40166(apiVersion string, requestId string, error_ ListUnconfirmedTokensTransfersByAddressE401) *InlineResponse40166 { this := InlineResponse40166{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40166) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40166) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40166) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40166) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40166) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40166) GetError() ListBlockchainEventsSubscriptionsE401 { +func (o *InlineResponse40166) GetError() ListUnconfirmedTokensTransfersByAddressE401 { if o == nil { - var ret ListBlockchainEventsSubscriptionsE401 + var ret ListUnconfirmedTokensTransfersByAddressE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40166) GetError() ListBlockchainEventsSubscriptionsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40166) GetErrorOk() (*ListBlockchainEventsSubscriptionsE401, bool) { - if o == nil { +func (o *InlineResponse40166) GetErrorOk() (*ListUnconfirmedTokensTransfersByAddressE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40166) SetError(v ListBlockchainEventsSubscriptionsE401) { +func (o *InlineResponse40166) SetError(v ListUnconfirmedTokensTransfersByAddressE401) { o.Error = v } diff --git a/model_inline_response_401_67.go b/model_inline_response_401_67.go index 8819719..c95eee9 100644 --- a/model_inline_response_401_67.go +++ b/model_inline_response_401_67.go @@ -23,14 +23,14 @@ type InlineResponse40167 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ActivateBlockchainEventSubscriptionE401 `json:"error"` + Error ListTokensByAddressE401 `json:"error"` } // NewInlineResponse40167 instantiates a new InlineResponse40167 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40167(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE401) *InlineResponse40167 { +func NewInlineResponse40167(apiVersion string, requestId string, error_ ListTokensByAddressE401) *InlineResponse40167 { this := InlineResponse40167{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40167) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40167) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40167) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40167) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40167) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40167) GetError() ActivateBlockchainEventSubscriptionE401 { +func (o *InlineResponse40167) GetError() ListTokensByAddressE401 { if o == nil { - var ret ActivateBlockchainEventSubscriptionE401 + var ret ListTokensByAddressE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40167) GetError() ActivateBlockchainEventSubscriptionE401 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40167) GetErrorOk() (*ActivateBlockchainEventSubscriptionE401, bool) { - if o == nil { +func (o *InlineResponse40167) GetErrorOk() (*ListTokensByAddressE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40167) SetError(v ActivateBlockchainEventSubscriptionE401) { +func (o *InlineResponse40167) SetError(v ListTokensByAddressE401) { o.Error = v } diff --git a/model_inline_response_401_68.go b/model_inline_response_401_68.go index e74a80d..25ad9f2 100644 --- a/model_inline_response_401_68.go +++ b/model_inline_response_401_68.go @@ -23,14 +23,14 @@ type InlineResponse40168 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteBlockchainEventSubscriptionE401 `json:"error"` + Error EstimateTransactionSmartFeeE401 `json:"error"` } // NewInlineResponse40168 instantiates a new InlineResponse40168 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40168(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE401) *InlineResponse40168 { +func NewInlineResponse40168(apiVersion string, requestId string, error_ EstimateTransactionSmartFeeE401) *InlineResponse40168 { this := InlineResponse40168{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40168) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40168) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40168) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40168) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40168) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40168) GetError() DeleteBlockchainEventSubscriptionE401 { +func (o *InlineResponse40168) GetError() EstimateTransactionSmartFeeE401 { if o == nil { - var ret DeleteBlockchainEventSubscriptionE401 + var ret EstimateTransactionSmartFeeE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40168) GetError() DeleteBlockchainEventSubscriptionE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40168) GetErrorOk() (*DeleteBlockchainEventSubscriptionE401, bool) { - if o == nil { +func (o *InlineResponse40168) GetErrorOk() (*EstimateTransactionSmartFeeE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40168) SetError(v DeleteBlockchainEventSubscriptionE401) { +func (o *InlineResponse40168) SetError(v EstimateTransactionSmartFeeE401) { o.Error = v } diff --git a/model_inline_response_401_69.go b/model_inline_response_401_69.go index e0976ce..2c2cbdf 100644 --- a/model_inline_response_401_69.go +++ b/model_inline_response_401_69.go @@ -23,14 +23,14 @@ type InlineResponse40169 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAddressDetailsFromCallbackE401 `json:"error"` + Error GetTokenDetailsByContractAddressE401 `json:"error"` } // NewInlineResponse40169 instantiates a new InlineResponse40169 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40169(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE401) *InlineResponse40169 { +func NewInlineResponse40169(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE401) *InlineResponse40169 { this := InlineResponse40169{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40169) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40169) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40169) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40169) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40169) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40169) GetError() GetAddressDetailsFromCallbackE401 { +func (o *InlineResponse40169) GetError() GetTokenDetailsByContractAddressE401 { if o == nil { - var ret GetAddressDetailsFromCallbackE401 + var ret GetTokenDetailsByContractAddressE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40169) GetError() GetAddressDetailsFromCallbackE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40169) GetErrorOk() (*GetAddressDetailsFromCallbackE401, bool) { - if o == nil { +func (o *InlineResponse40169) GetErrorOk() (*GetTokenDetailsByContractAddressE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40169) SetError(v GetAddressDetailsFromCallbackE401) { +func (o *InlineResponse40169) SetError(v GetTokenDetailsByContractAddressE401) { o.Error = v } diff --git a/model_inline_response_401_7.go b/model_inline_response_401_7.go index d3074f4..8b45194 100644 --- a/model_inline_response_401_7.go +++ b/model_inline_response_401_7.go @@ -59,7 +59,7 @@ func (o *InlineResponse4017) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4017) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4017) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4017) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4017) GetError() ListDepositAddressesE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4017) GetErrorOk() (*ListDepositAddressesE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_70.go b/model_inline_response_401_70.go index a896b81..2f0a4b6 100644 --- a/model_inline_response_401_70.go +++ b/model_inline_response_401_70.go @@ -23,14 +23,14 @@ type InlineResponse40170 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTransactionDetailsByTransactionIDFromCallbackE401 `json:"error"` + Error DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 `json:"error"` } // NewInlineResponse40170 instantiates a new InlineResponse40170 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40170(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE401) *InlineResponse40170 { +func NewInlineResponse40170(apiVersion string, requestId string, error_ DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) *InlineResponse40170 { this := InlineResponse40170{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40170) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40170) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40170) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40170) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40170) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40170) GetError() GetTransactionDetailsByTransactionIDFromCallbackE401 { +func (o *InlineResponse40170) GetError() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 { if o == nil { - var ret GetTransactionDetailsByTransactionIDFromCallbackE401 + var ret DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40170) GetError() GetTransactionDetailsByTransactionIDFro // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40170) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE401, bool) { - if o == nil { +func (o *InlineResponse40170) GetErrorOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40170) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE401) { +func (o *InlineResponse40170) SetError(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE401) { o.Error = v } diff --git a/model_inline_response_401_71.go b/model_inline_response_401_71.go index c0facd0..58a60be 100644 --- a/model_inline_response_401_71.go +++ b/model_inline_response_401_71.go @@ -23,14 +23,14 @@ type InlineResponse40171 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHashFromCallbackE401 `json:"error"` + Error NewUnconfirmedCoinsTransactionsE401 `json:"error"` } // NewInlineResponse40171 instantiates a new InlineResponse40171 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40171(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE401) *InlineResponse40171 { +func NewInlineResponse40171(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE401) *InlineResponse40171 { this := InlineResponse40171{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40171) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40171) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40171) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40171) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40171) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40171) GetError() GetBlockDetailsByBlockHashFromCallbackE401 { +func (o *InlineResponse40171) GetError() NewUnconfirmedCoinsTransactionsE401 { if o == nil { - var ret GetBlockDetailsByBlockHashFromCallbackE401 + var ret NewUnconfirmedCoinsTransactionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40171) GetError() GetBlockDetailsByBlockHashFromCallbackE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40171) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE401, bool) { - if o == nil { +func (o *InlineResponse40171) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40171) SetError(v GetBlockDetailsByBlockHashFromCallbackE401) { +func (o *InlineResponse40171) SetError(v NewUnconfirmedCoinsTransactionsE401) { o.Error = v } diff --git a/model_inline_response_401_72.go b/model_inline_response_401_72.go index 28ace30..6bc33e0 100644 --- a/model_inline_response_401_72.go +++ b/model_inline_response_401_72.go @@ -23,14 +23,14 @@ type InlineResponse40172 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHeightFromCallbackE401 `json:"error"` + Error NewUnconfirmedTokensTransactionsE401 `json:"error"` } // NewInlineResponse40172 instantiates a new InlineResponse40172 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40172(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE401) *InlineResponse40172 { +func NewInlineResponse40172(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE401) *InlineResponse40172 { this := InlineResponse40172{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40172) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40172) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40172) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40172) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40172) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40172) GetError() GetBlockDetailsByBlockHeightFromCallbackE401 { +func (o *InlineResponse40172) GetError() NewUnconfirmedTokensTransactionsE401 { if o == nil { - var ret GetBlockDetailsByBlockHeightFromCallbackE401 + var ret NewUnconfirmedTokensTransactionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40172) GetError() GetBlockDetailsByBlockHeightFromCallbac // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40172) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE401, bool) { - if o == nil { +func (o *InlineResponse40172) GetErrorOk() (*NewUnconfirmedTokensTransactionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40172) SetError(v GetBlockDetailsByBlockHeightFromCallbackE401) { +func (o *InlineResponse40172) SetError(v NewUnconfirmedTokensTransactionsE401) { o.Error = v } diff --git a/model_inline_response_401_73.go b/model_inline_response_401_73.go index 9342705..d8bbe08 100644 --- a/model_inline_response_401_73.go +++ b/model_inline_response_401_73.go @@ -23,14 +23,14 @@ type InlineResponse40173 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedInternalTransactionsE401 `json:"error"` + Error NewConfirmedCoinsTransactionsE401 `json:"error"` } // NewInlineResponse40173 instantiates a new InlineResponse40173 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40173(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE401) *InlineResponse40173 { +func NewInlineResponse40173(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE401) *InlineResponse40173 { this := InlineResponse40173{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40173) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40173) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40173) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40173) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40173) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40173) GetError() NewConfirmedInternalTransactionsE401 { +func (o *InlineResponse40173) GetError() NewConfirmedCoinsTransactionsE401 { if o == nil { - var ret NewConfirmedInternalTransactionsE401 + var ret NewConfirmedCoinsTransactionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40173) GetError() NewConfirmedInternalTransactionsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40173) GetErrorOk() (*NewConfirmedInternalTransactionsE401, bool) { - if o == nil { +func (o *InlineResponse40173) GetErrorOk() (*NewConfirmedCoinsTransactionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40173) SetError(v NewConfirmedInternalTransactionsE401) { +func (o *InlineResponse40173) SetError(v NewConfirmedCoinsTransactionsE401) { o.Error = v } diff --git a/model_inline_response_401_74.go b/model_inline_response_401_74.go index 47d76dc..1232f6a 100644 --- a/model_inline_response_401_74.go +++ b/model_inline_response_401_74.go @@ -23,14 +23,14 @@ type InlineResponse40174 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedInternalTransactionsAndEachConfirmationE401 `json:"error"` + Error NewConfirmedTokensTransactionsE401 `json:"error"` } // NewInlineResponse40174 instantiates a new InlineResponse40174 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40174(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE401) *InlineResponse40174 { +func NewInlineResponse40174(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE401) *InlineResponse40174 { this := InlineResponse40174{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40174) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40174) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40174) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40174) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40174) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40174) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE401 { +func (o *InlineResponse40174) GetError() NewConfirmedTokensTransactionsE401 { if o == nil { - var ret NewConfirmedInternalTransactionsAndEachConfirmationE401 + var ret NewConfirmedTokensTransactionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40174) GetError() NewConfirmedInternalTransactionsAndEach // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40174) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE401, bool) { - if o == nil { +func (o *InlineResponse40174) GetErrorOk() (*NewConfirmedTokensTransactionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40174) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE401) { +func (o *InlineResponse40174) SetError(v NewConfirmedTokensTransactionsE401) { o.Error = v } diff --git a/model_inline_response_401_75.go b/model_inline_response_401_75.go index 1e4c023..1e4370f 100644 --- a/model_inline_response_401_75.go +++ b/model_inline_response_401_75.go @@ -23,14 +23,14 @@ type InlineResponse40175 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListCoinsForwardingAutomationsE401 `json:"error"` + Error NewConfirmedTokensTransactionsAndEachConfirmationE401 `json:"error"` } // NewInlineResponse40175 instantiates a new InlineResponse40175 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40175(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE401) *InlineResponse40175 { +func NewInlineResponse40175(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE401) *InlineResponse40175 { this := InlineResponse40175{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40175) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40175) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40175) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40175) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40175) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40175) GetError() ListCoinsForwardingAutomationsE401 { +func (o *InlineResponse40175) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE401 { if o == nil { - var ret ListCoinsForwardingAutomationsE401 + var ret NewConfirmedTokensTransactionsAndEachConfirmationE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40175) GetError() ListCoinsForwardingAutomationsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40175) GetErrorOk() (*ListCoinsForwardingAutomationsE401, bool) { - if o == nil { +func (o *InlineResponse40175) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40175) SetError(v ListCoinsForwardingAutomationsE401) { +func (o *InlineResponse40175) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE401) { o.Error = v } diff --git a/model_inline_response_401_76.go b/model_inline_response_401_76.go index 48ff17c..ddcb784 100644 --- a/model_inline_response_401_76.go +++ b/model_inline_response_401_76.go @@ -23,14 +23,14 @@ type InlineResponse40176 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateAutomaticCoinsForwardingE401 `json:"error"` + Error NewConfirmedCoinsTransactionsAndEachConfirmationE401 `json:"error"` } // NewInlineResponse40176 instantiates a new InlineResponse40176 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40176(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE401) *InlineResponse40176 { +func NewInlineResponse40176(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE401) *InlineResponse40176 { this := InlineResponse40176{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40176) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40176) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40176) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40176) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40176) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40176) GetError() CreateAutomaticCoinsForwardingE401 { +func (o *InlineResponse40176) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE401 { if o == nil { - var ret CreateAutomaticCoinsForwardingE401 + var ret NewConfirmedCoinsTransactionsAndEachConfirmationE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40176) GetError() CreateAutomaticCoinsForwardingE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40176) GetErrorOk() (*CreateAutomaticCoinsForwardingE401, bool) { - if o == nil { +func (o *InlineResponse40176) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40176) SetError(v CreateAutomaticCoinsForwardingE401) { +func (o *InlineResponse40176) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE401) { o.Error = v } diff --git a/model_inline_response_401_77.go b/model_inline_response_401_77.go index 7663945..9aab840 100644 --- a/model_inline_response_401_77.go +++ b/model_inline_response_401_77.go @@ -23,14 +23,14 @@ type InlineResponse40177 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteAutomaticCoinsForwardingE401 `json:"error"` + Error MinedTransactionE401 `json:"error"` } // NewInlineResponse40177 instantiates a new InlineResponse40177 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40177(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE401) *InlineResponse40177 { +func NewInlineResponse40177(apiVersion string, requestId string, error_ MinedTransactionE401) *InlineResponse40177 { this := InlineResponse40177{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40177) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40177) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40177) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40177) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40177) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40177) GetError() DeleteAutomaticCoinsForwardingE401 { +func (o *InlineResponse40177) GetError() MinedTransactionE401 { if o == nil { - var ret DeleteAutomaticCoinsForwardingE401 + var ret MinedTransactionE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40177) GetError() DeleteAutomaticCoinsForwardingE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40177) GetErrorOk() (*DeleteAutomaticCoinsForwardingE401, bool) { - if o == nil { +func (o *InlineResponse40177) GetErrorOk() (*MinedTransactionE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40177) SetError(v DeleteAutomaticCoinsForwardingE401) { +func (o *InlineResponse40177) SetError(v MinedTransactionE401) { o.Error = v } diff --git a/model_inline_response_401_78.go b/model_inline_response_401_78.go index bca11e0..dd6e956 100644 --- a/model_inline_response_401_78.go +++ b/model_inline_response_401_78.go @@ -23,14 +23,14 @@ type InlineResponse40178 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensForwardingAutomationsE401 `json:"error"` + Error NewBlockE401 `json:"error"` } // NewInlineResponse40178 instantiates a new InlineResponse40178 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40178(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE401) *InlineResponse40178 { +func NewInlineResponse40178(apiVersion string, requestId string, error_ NewBlockE401) *InlineResponse40178 { this := InlineResponse40178{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40178) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40178) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40178) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40178) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40178) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40178) GetError() ListTokensForwardingAutomationsE401 { +func (o *InlineResponse40178) GetError() NewBlockE401 { if o == nil { - var ret ListTokensForwardingAutomationsE401 + var ret NewBlockE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40178) GetError() ListTokensForwardingAutomationsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40178) GetErrorOk() (*ListTokensForwardingAutomationsE401, bool) { - if o == nil { +func (o *InlineResponse40178) GetErrorOk() (*NewBlockE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40178) SetError(v ListTokensForwardingAutomationsE401) { +func (o *InlineResponse40178) SetError(v NewBlockE401) { o.Error = v } diff --git a/model_inline_response_401_79.go b/model_inline_response_401_79.go index aa49f75..6996f0a 100644 --- a/model_inline_response_401_79.go +++ b/model_inline_response_401_79.go @@ -23,14 +23,14 @@ type InlineResponse40179 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateAutomaticTokensForwardingE401 `json:"error"` + Error ListBlockchainEventsSubscriptionsE401 `json:"error"` } // NewInlineResponse40179 instantiates a new InlineResponse40179 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40179(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE401) *InlineResponse40179 { +func NewInlineResponse40179(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE401) *InlineResponse40179 { this := InlineResponse40179{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40179) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40179) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40179) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40179) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40179) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40179) GetError() CreateAutomaticTokensForwardingE401 { +func (o *InlineResponse40179) GetError() ListBlockchainEventsSubscriptionsE401 { if o == nil { - var ret CreateAutomaticTokensForwardingE401 + var ret ListBlockchainEventsSubscriptionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40179) GetError() CreateAutomaticTokensForwardingE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40179) GetErrorOk() (*CreateAutomaticTokensForwardingE401, bool) { - if o == nil { +func (o *InlineResponse40179) GetErrorOk() (*ListBlockchainEventsSubscriptionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40179) SetError(v CreateAutomaticTokensForwardingE401) { +func (o *InlineResponse40179) SetError(v ListBlockchainEventsSubscriptionsE401) { o.Error = v } diff --git a/model_inline_response_401_8.go b/model_inline_response_401_8.go index 3199bc1..f435781 100644 --- a/model_inline_response_401_8.go +++ b/model_inline_response_401_8.go @@ -59,7 +59,7 @@ func (o *InlineResponse4018) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4018) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4018) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4018) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4018) GetError() GenerateDepositAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4018) GetErrorOk() (*GenerateDepositAddressE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_80.go b/model_inline_response_401_80.go index 40294f6..d555b85 100644 --- a/model_inline_response_401_80.go +++ b/model_inline_response_401_80.go @@ -23,14 +23,14 @@ type InlineResponse40180 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error AddTokensToExistingFromAddressE401 `json:"error"` + Error GetBlockchainEventSubscriptionDetailsByReferenceIDE401 `json:"error"` } // NewInlineResponse40180 instantiates a new InlineResponse40180 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40180(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE401) *InlineResponse40180 { +func NewInlineResponse40180(apiVersion string, requestId string, error_ GetBlockchainEventSubscriptionDetailsByReferenceIDE401) *InlineResponse40180 { this := InlineResponse40180{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40180) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40180) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40180) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40180) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40180) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40180) GetError() AddTokensToExistingFromAddressE401 { +func (o *InlineResponse40180) GetError() GetBlockchainEventSubscriptionDetailsByReferenceIDE401 { if o == nil { - var ret AddTokensToExistingFromAddressE401 + var ret GetBlockchainEventSubscriptionDetailsByReferenceIDE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40180) GetError() AddTokensToExistingFromAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40180) GetErrorOk() (*AddTokensToExistingFromAddressE401, bool) { - if o == nil { +func (o *InlineResponse40180) GetErrorOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40180) SetError(v AddTokensToExistingFromAddressE401) { +func (o *InlineResponse40180) SetError(v GetBlockchainEventSubscriptionDetailsByReferenceIDE401) { o.Error = v } diff --git a/model_inline_response_401_81.go b/model_inline_response_401_81.go index 44f724a..0c0710f 100644 --- a/model_inline_response_401_81.go +++ b/model_inline_response_401_81.go @@ -23,14 +23,14 @@ type InlineResponse40181 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetFeeAddressDetailsE401 `json:"error"` + Error ActivateBlockchainEventSubscriptionE401 `json:"error"` } // NewInlineResponse40181 instantiates a new InlineResponse40181 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40181(apiVersion string, requestId string, error_ GetFeeAddressDetailsE401) *InlineResponse40181 { +func NewInlineResponse40181(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE401) *InlineResponse40181 { this := InlineResponse40181{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40181) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40181) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40181) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40181) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40181) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40181) GetError() GetFeeAddressDetailsE401 { +func (o *InlineResponse40181) GetError() ActivateBlockchainEventSubscriptionE401 { if o == nil { - var ret GetFeeAddressDetailsE401 + var ret ActivateBlockchainEventSubscriptionE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40181) GetError() GetFeeAddressDetailsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40181) GetErrorOk() (*GetFeeAddressDetailsE401, bool) { - if o == nil { +func (o *InlineResponse40181) GetErrorOk() (*ActivateBlockchainEventSubscriptionE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40181) SetError(v GetFeeAddressDetailsE401) { +func (o *InlineResponse40181) SetError(v ActivateBlockchainEventSubscriptionE401) { o.Error = v } diff --git a/model_inline_response_401_82.go b/model_inline_response_401_82.go index 591959b..272a2bb 100644 --- a/model_inline_response_401_82.go +++ b/model_inline_response_401_82.go @@ -23,14 +23,14 @@ type InlineResponse40182 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteAutomaticTokensForwardingE401 `json:"error"` + Error DeleteBlockchainEventSubscriptionE401 `json:"error"` } // NewInlineResponse40182 instantiates a new InlineResponse40182 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40182(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE401) *InlineResponse40182 { +func NewInlineResponse40182(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE401) *InlineResponse40182 { this := InlineResponse40182{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40182) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40182) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40182) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40182) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40182) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40182) GetError() DeleteAutomaticTokensForwardingE401 { +func (o *InlineResponse40182) GetError() DeleteBlockchainEventSubscriptionE401 { if o == nil { - var ret DeleteAutomaticTokensForwardingE401 + var ret DeleteBlockchainEventSubscriptionE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40182) GetError() DeleteAutomaticTokensForwardingE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40182) GetErrorOk() (*DeleteAutomaticTokensForwardingE401, bool) { - if o == nil { +func (o *InlineResponse40182) GetErrorOk() (*DeleteBlockchainEventSubscriptionE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40182) SetError(v DeleteAutomaticTokensForwardingE401) { +func (o *InlineResponse40182) SetError(v DeleteBlockchainEventSubscriptionE401) { o.Error = v } diff --git a/model_inline_response_401_83.go b/model_inline_response_401_83.go index 2bda9ea..43e1e5d 100644 --- a/model_inline_response_401_83.go +++ b/model_inline_response_401_83.go @@ -23,14 +23,14 @@ type InlineResponse40183 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ValidateAddressE401 `json:"error"` + Error GetAddressDetailsFromCallbackE401 `json:"error"` } // NewInlineResponse40183 instantiates a new InlineResponse40183 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40183(apiVersion string, requestId string, error_ ValidateAddressE401) *InlineResponse40183 { +func NewInlineResponse40183(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE401) *InlineResponse40183 { this := InlineResponse40183{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40183) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40183) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40183) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40183) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40183) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40183) GetError() ValidateAddressE401 { +func (o *InlineResponse40183) GetError() GetAddressDetailsFromCallbackE401 { if o == nil { - var ret ValidateAddressE401 + var ret GetAddressDetailsFromCallbackE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40183) GetError() ValidateAddressE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40183) GetErrorOk() (*ValidateAddressE401, bool) { - if o == nil { +func (o *InlineResponse40183) GetErrorOk() (*GetAddressDetailsFromCallbackE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40183) SetError(v ValidateAddressE401) { +func (o *InlineResponse40183) SetError(v GetAddressDetailsFromCallbackE401) { o.Error = v } diff --git a/model_inline_response_401_84.go b/model_inline_response_401_84.go index c0885bd..dff8384 100644 --- a/model_inline_response_401_84.go +++ b/model_inline_response_401_84.go @@ -23,14 +23,14 @@ type InlineResponse40184 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetEIP1559FeeRecommendationsE401 `json:"error"` + Error GetTransactionDetailsByTransactionIDFromCallbackE401 `json:"error"` } // NewInlineResponse40184 instantiates a new InlineResponse40184 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40184(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE401) *InlineResponse40184 { +func NewInlineResponse40184(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE401) *InlineResponse40184 { this := InlineResponse40184{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40184) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40184) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40184) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40184) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40184) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40184) GetError() GetEIP1559FeeRecommendationsE401 { +func (o *InlineResponse40184) GetError() GetTransactionDetailsByTransactionIDFromCallbackE401 { if o == nil { - var ret GetEIP1559FeeRecommendationsE401 + var ret GetTransactionDetailsByTransactionIDFromCallbackE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40184) GetError() GetEIP1559FeeRecommendationsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40184) GetErrorOk() (*GetEIP1559FeeRecommendationsE401, bool) { - if o == nil { +func (o *InlineResponse40184) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40184) SetError(v GetEIP1559FeeRecommendationsE401) { +func (o *InlineResponse40184) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE401) { o.Error = v } diff --git a/model_inline_response_401_85.go b/model_inline_response_401_85.go index e7191b6..90b0294 100644 --- a/model_inline_response_401_85.go +++ b/model_inline_response_401_85.go @@ -23,14 +23,14 @@ type InlineResponse40185 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error BroadcastLocallySignedTransactionE401 `json:"error"` + Error GetBlockDetailsByBlockHashFromCallbackE401 `json:"error"` } // NewInlineResponse40185 instantiates a new InlineResponse40185 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40185(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE401) *InlineResponse40185 { +func NewInlineResponse40185(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE401) *InlineResponse40185 { this := InlineResponse40185{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40185) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40185) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40185) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40185) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40185) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40185) GetError() BroadcastLocallySignedTransactionE401 { +func (o *InlineResponse40185) GetError() GetBlockDetailsByBlockHashFromCallbackE401 { if o == nil { - var ret BroadcastLocallySignedTransactionE401 + var ret GetBlockDetailsByBlockHashFromCallbackE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40185) GetError() BroadcastLocallySignedTransactionE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40185) GetErrorOk() (*BroadcastLocallySignedTransactionE401, bool) { - if o == nil { +func (o *InlineResponse40185) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40185) SetError(v BroadcastLocallySignedTransactionE401) { +func (o *InlineResponse40185) SetError(v GetBlockDetailsByBlockHashFromCallbackE401) { o.Error = v } diff --git a/model_inline_response_401_86.go b/model_inline_response_401_86.go index c4adda9..a404c96 100644 --- a/model_inline_response_401_86.go +++ b/model_inline_response_401_86.go @@ -23,14 +23,14 @@ type InlineResponse40186 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListSupportedAssetsE401 `json:"error"` + Error GetBlockDetailsByBlockHeightFromCallbackE401 `json:"error"` } // NewInlineResponse40186 instantiates a new InlineResponse40186 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40186(apiVersion string, requestId string, error_ ListSupportedAssetsE401) *InlineResponse40186 { +func NewInlineResponse40186(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE401) *InlineResponse40186 { this := InlineResponse40186{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40186) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40186) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40186) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40186) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40186) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40186) GetError() ListSupportedAssetsE401 { +func (o *InlineResponse40186) GetError() GetBlockDetailsByBlockHeightFromCallbackE401 { if o == nil { - var ret ListSupportedAssetsE401 + var ret GetBlockDetailsByBlockHeightFromCallbackE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40186) GetError() ListSupportedAssetsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40186) GetErrorOk() (*ListSupportedAssetsE401, bool) { - if o == nil { +func (o *InlineResponse40186) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40186) SetError(v ListSupportedAssetsE401) { +func (o *InlineResponse40186) SetError(v GetBlockDetailsByBlockHeightFromCallbackE401) { o.Error = v } diff --git a/model_inline_response_401_87.go b/model_inline_response_401_87.go index 5af8aff..80338bc 100644 --- a/model_inline_response_401_87.go +++ b/model_inline_response_401_87.go @@ -23,14 +23,14 @@ type InlineResponse40187 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetExchangeRateByAssetSymbolsE401 `json:"error"` + Error NewConfirmedInternalTransactionsE401 `json:"error"` } // NewInlineResponse40187 instantiates a new InlineResponse40187 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40187(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE401) *InlineResponse40187 { +func NewInlineResponse40187(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE401) *InlineResponse40187 { this := InlineResponse40187{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40187) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40187) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40187) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40187) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40187) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40187) GetError() GetExchangeRateByAssetSymbolsE401 { +func (o *InlineResponse40187) GetError() NewConfirmedInternalTransactionsE401 { if o == nil { - var ret GetExchangeRateByAssetSymbolsE401 + var ret NewConfirmedInternalTransactionsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40187) GetError() GetExchangeRateByAssetSymbolsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40187) GetErrorOk() (*GetExchangeRateByAssetSymbolsE401, bool) { - if o == nil { +func (o *InlineResponse40187) GetErrorOk() (*NewConfirmedInternalTransactionsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40187) SetError(v GetExchangeRateByAssetSymbolsE401) { +func (o *InlineResponse40187) SetError(v NewConfirmedInternalTransactionsE401) { o.Error = v } diff --git a/model_inline_response_401_88.go b/model_inline_response_401_88.go index 04785ae..1e30b8e 100644 --- a/model_inline_response_401_88.go +++ b/model_inline_response_401_88.go @@ -23,14 +23,14 @@ type InlineResponse40188 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetExchangeRateByAssetsIDsE401 `json:"error"` + Error NewConfirmedInternalTransactionsAndEachConfirmationE401 `json:"error"` } // NewInlineResponse40188 instantiates a new InlineResponse40188 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40188(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE401) *InlineResponse40188 { +func NewInlineResponse40188(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE401) *InlineResponse40188 { this := InlineResponse40188{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40188) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40188) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40188) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40188) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40188) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40188) GetError() GetExchangeRateByAssetsIDsE401 { +func (o *InlineResponse40188) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE401 { if o == nil { - var ret GetExchangeRateByAssetsIDsE401 + var ret NewConfirmedInternalTransactionsAndEachConfirmationE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40188) GetError() GetExchangeRateByAssetsIDsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40188) GetErrorOk() (*GetExchangeRateByAssetsIDsE401, bool) { - if o == nil { +func (o *InlineResponse40188) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40188) SetError(v GetExchangeRateByAssetsIDsE401) { +func (o *InlineResponse40188) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE401) { o.Error = v } diff --git a/model_inline_response_401_89.go b/model_inline_response_401_89.go index 9ed221f..2bdc35d 100644 --- a/model_inline_response_401_89.go +++ b/model_inline_response_401_89.go @@ -23,14 +23,14 @@ type InlineResponse40189 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListAssetsDetailsE401 `json:"error"` + Error ListCoinsForwardingAutomationsE401 `json:"error"` } // NewInlineResponse40189 instantiates a new InlineResponse40189 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40189(apiVersion string, requestId string, error_ ListAssetsDetailsE401) *InlineResponse40189 { +func NewInlineResponse40189(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE401) *InlineResponse40189 { this := InlineResponse40189{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40189) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40189) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40189) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40189) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40189) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40189) GetError() ListAssetsDetailsE401 { +func (o *InlineResponse40189) GetError() ListCoinsForwardingAutomationsE401 { if o == nil { - var ret ListAssetsDetailsE401 + var ret ListCoinsForwardingAutomationsE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40189) GetError() ListAssetsDetailsE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40189) GetErrorOk() (*ListAssetsDetailsE401, bool) { - if o == nil { +func (o *InlineResponse40189) GetErrorOk() (*ListCoinsForwardingAutomationsE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40189) SetError(v ListAssetsDetailsE401) { +func (o *InlineResponse40189) SetError(v ListCoinsForwardingAutomationsE401) { o.Error = v } diff --git a/model_inline_response_401_9.go b/model_inline_response_401_9.go index b0da0a1..5818157 100644 --- a/model_inline_response_401_9.go +++ b/model_inline_response_401_9.go @@ -59,7 +59,7 @@ func (o *InlineResponse4019) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4019) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4019) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4019) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4019) GetError() GetZilliqaTransactionDetailsByTransactio // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4019) GetErrorOk() (*GetZilliqaTransactionDetailsByTransactionIDE401, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_401_90.go b/model_inline_response_401_90.go index d7d1a1a..223ad0f 100644 --- a/model_inline_response_401_90.go +++ b/model_inline_response_401_90.go @@ -23,14 +23,14 @@ type InlineResponse40190 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAssetDetailsByAssetIDE401 `json:"error"` + Error CreateAutomaticCoinsForwardingE401 `json:"error"` } // NewInlineResponse40190 instantiates a new InlineResponse40190 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40190(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE401) *InlineResponse40190 { +func NewInlineResponse40190(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE401) *InlineResponse40190 { this := InlineResponse40190{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40190) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40190) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40190) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40190) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40190) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40190) GetError() GetAssetDetailsByAssetIDE401 { +func (o *InlineResponse40190) GetError() CreateAutomaticCoinsForwardingE401 { if o == nil { - var ret GetAssetDetailsByAssetIDE401 + var ret CreateAutomaticCoinsForwardingE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40190) GetError() GetAssetDetailsByAssetIDE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40190) GetErrorOk() (*GetAssetDetailsByAssetIDE401, bool) { - if o == nil { +func (o *InlineResponse40190) GetErrorOk() (*CreateAutomaticCoinsForwardingE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40190) SetError(v GetAssetDetailsByAssetIDE401) { +func (o *InlineResponse40190) SetError(v CreateAutomaticCoinsForwardingE401) { o.Error = v } diff --git a/model_inline_response_401_91.go b/model_inline_response_401_91.go index 144673d..8ac8f6a 100644 --- a/model_inline_response_401_91.go +++ b/model_inline_response_401_91.go @@ -23,14 +23,14 @@ type InlineResponse40191 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAssetDetailsByAssetSymbolE401 `json:"error"` + Error DeleteAutomaticCoinsForwardingE401 `json:"error"` } // NewInlineResponse40191 instantiates a new InlineResponse40191 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40191(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE401) *InlineResponse40191 { +func NewInlineResponse40191(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE401) *InlineResponse40191 { this := InlineResponse40191{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40191) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40191) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40191) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40191) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40191) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40191) GetError() GetAssetDetailsByAssetSymbolE401 { +func (o *InlineResponse40191) GetError() DeleteAutomaticCoinsForwardingE401 { if o == nil { - var ret GetAssetDetailsByAssetSymbolE401 + var ret DeleteAutomaticCoinsForwardingE401 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40191) GetError() GetAssetDetailsByAssetSymbolE401 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40191) GetErrorOk() (*GetAssetDetailsByAssetSymbolE401, bool) { - if o == nil { +func (o *InlineResponse40191) GetErrorOk() (*DeleteAutomaticCoinsForwardingE401, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40191) SetError(v GetAssetDetailsByAssetSymbolE401) { +func (o *InlineResponse40191) SetError(v DeleteAutomaticCoinsForwardingE401) { o.Error = v } diff --git a/model_inline_response_401_92.go b/model_inline_response_401_92.go new file mode 100644 index 0000000..1ce3a58 --- /dev/null +++ b/model_inline_response_401_92.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40192 struct for InlineResponse40192 +type InlineResponse40192 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListTokensForwardingAutomationsE401 `json:"error"` +} + +// NewInlineResponse40192 instantiates a new InlineResponse40192 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40192(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE401) *InlineResponse40192 { + this := InlineResponse40192{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40192WithDefaults instantiates a new InlineResponse40192 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40192WithDefaults() *InlineResponse40192 { + this := InlineResponse40192{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40192) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40192) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40192) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40192) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40192) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40192) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40192) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40192) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40192) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40192) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40192) GetError() ListTokensForwardingAutomationsE401 { + if o == nil { + var ret ListTokensForwardingAutomationsE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40192) GetErrorOk() (*ListTokensForwardingAutomationsE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40192) SetError(v ListTokensForwardingAutomationsE401) { + o.Error = v +} + +func (o InlineResponse40192) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40192 struct { + value *InlineResponse40192 + isSet bool +} + +func (v NullableInlineResponse40192) Get() *InlineResponse40192 { + return v.value +} + +func (v *NullableInlineResponse40192) Set(val *InlineResponse40192) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40192) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40192) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40192(val *InlineResponse40192) *NullableInlineResponse40192 { + return &NullableInlineResponse40192{value: val, isSet: true} +} + +func (v NullableInlineResponse40192) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40192) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_93.go b/model_inline_response_401_93.go new file mode 100644 index 0000000..5d74919 --- /dev/null +++ b/model_inline_response_401_93.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40193 struct for InlineResponse40193 +type InlineResponse40193 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error CreateAutomaticTokensForwardingE401 `json:"error"` +} + +// NewInlineResponse40193 instantiates a new InlineResponse40193 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40193(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE401) *InlineResponse40193 { + this := InlineResponse40193{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40193WithDefaults instantiates a new InlineResponse40193 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40193WithDefaults() *InlineResponse40193 { + this := InlineResponse40193{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40193) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40193) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40193) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40193) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40193) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40193) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40193) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40193) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40193) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40193) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40193) GetError() CreateAutomaticTokensForwardingE401 { + if o == nil { + var ret CreateAutomaticTokensForwardingE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40193) GetErrorOk() (*CreateAutomaticTokensForwardingE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40193) SetError(v CreateAutomaticTokensForwardingE401) { + o.Error = v +} + +func (o InlineResponse40193) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40193 struct { + value *InlineResponse40193 + isSet bool +} + +func (v NullableInlineResponse40193) Get() *InlineResponse40193 { + return v.value +} + +func (v *NullableInlineResponse40193) Set(val *InlineResponse40193) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40193) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40193) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40193(val *InlineResponse40193) *NullableInlineResponse40193 { + return &NullableInlineResponse40193{value: val, isSet: true} +} + +func (v NullableInlineResponse40193) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40193) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_94.go b/model_inline_response_401_94.go new file mode 100644 index 0000000..9baeaea --- /dev/null +++ b/model_inline_response_401_94.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40194 struct for InlineResponse40194 +type InlineResponse40194 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error AddTokensToExistingFromAddressE401 `json:"error"` +} + +// NewInlineResponse40194 instantiates a new InlineResponse40194 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40194(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE401) *InlineResponse40194 { + this := InlineResponse40194{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40194WithDefaults instantiates a new InlineResponse40194 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40194WithDefaults() *InlineResponse40194 { + this := InlineResponse40194{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40194) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40194) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40194) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40194) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40194) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40194) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40194) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40194) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40194) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40194) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40194) GetError() AddTokensToExistingFromAddressE401 { + if o == nil { + var ret AddTokensToExistingFromAddressE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40194) GetErrorOk() (*AddTokensToExistingFromAddressE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40194) SetError(v AddTokensToExistingFromAddressE401) { + o.Error = v +} + +func (o InlineResponse40194) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40194 struct { + value *InlineResponse40194 + isSet bool +} + +func (v NullableInlineResponse40194) Get() *InlineResponse40194 { + return v.value +} + +func (v *NullableInlineResponse40194) Set(val *InlineResponse40194) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40194) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40194) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40194(val *InlineResponse40194) *NullableInlineResponse40194 { + return &NullableInlineResponse40194{value: val, isSet: true} +} + +func (v NullableInlineResponse40194) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40194) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_95.go b/model_inline_response_401_95.go new file mode 100644 index 0000000..2c98107 --- /dev/null +++ b/model_inline_response_401_95.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40195 struct for InlineResponse40195 +type InlineResponse40195 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetFeeAddressDetailsE401 `json:"error"` +} + +// NewInlineResponse40195 instantiates a new InlineResponse40195 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40195(apiVersion string, requestId string, error_ GetFeeAddressDetailsE401) *InlineResponse40195 { + this := InlineResponse40195{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40195WithDefaults instantiates a new InlineResponse40195 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40195WithDefaults() *InlineResponse40195 { + this := InlineResponse40195{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40195) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40195) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40195) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40195) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40195) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40195) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40195) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40195) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40195) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40195) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40195) GetError() GetFeeAddressDetailsE401 { + if o == nil { + var ret GetFeeAddressDetailsE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40195) GetErrorOk() (*GetFeeAddressDetailsE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40195) SetError(v GetFeeAddressDetailsE401) { + o.Error = v +} + +func (o InlineResponse40195) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40195 struct { + value *InlineResponse40195 + isSet bool +} + +func (v NullableInlineResponse40195) Get() *InlineResponse40195 { + return v.value +} + +func (v *NullableInlineResponse40195) Set(val *InlineResponse40195) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40195) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40195) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40195(val *InlineResponse40195) *NullableInlineResponse40195 { + return &NullableInlineResponse40195{value: val, isSet: true} +} + +func (v NullableInlineResponse40195) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40195) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_96.go b/model_inline_response_401_96.go new file mode 100644 index 0000000..9cb2bfe --- /dev/null +++ b/model_inline_response_401_96.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40196 struct for InlineResponse40196 +type InlineResponse40196 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DeleteAutomaticTokensForwardingE401 `json:"error"` +} + +// NewInlineResponse40196 instantiates a new InlineResponse40196 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40196(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE401) *InlineResponse40196 { + this := InlineResponse40196{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40196WithDefaults instantiates a new InlineResponse40196 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40196WithDefaults() *InlineResponse40196 { + this := InlineResponse40196{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40196) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40196) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40196) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40196) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40196) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40196) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40196) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40196) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40196) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40196) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40196) GetError() DeleteAutomaticTokensForwardingE401 { + if o == nil { + var ret DeleteAutomaticTokensForwardingE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40196) GetErrorOk() (*DeleteAutomaticTokensForwardingE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40196) SetError(v DeleteAutomaticTokensForwardingE401) { + o.Error = v +} + +func (o InlineResponse40196) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40196 struct { + value *InlineResponse40196 + isSet bool +} + +func (v NullableInlineResponse40196) Get() *InlineResponse40196 { + return v.value +} + +func (v *NullableInlineResponse40196) Set(val *InlineResponse40196) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40196) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40196) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40196(val *InlineResponse40196) *NullableInlineResponse40196 { + return &NullableInlineResponse40196{value: val, isSet: true} +} + +func (v NullableInlineResponse40196) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40196) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_97.go b/model_inline_response_401_97.go new file mode 100644 index 0000000..141f3f1 --- /dev/null +++ b/model_inline_response_401_97.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40197 struct for InlineResponse40197 +type InlineResponse40197 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ValidateAddressE401 `json:"error"` +} + +// NewInlineResponse40197 instantiates a new InlineResponse40197 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40197(apiVersion string, requestId string, error_ ValidateAddressE401) *InlineResponse40197 { + this := InlineResponse40197{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40197WithDefaults instantiates a new InlineResponse40197 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40197WithDefaults() *InlineResponse40197 { + this := InlineResponse40197{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40197) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40197) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40197) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40197) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40197) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40197) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40197) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40197) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40197) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40197) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40197) GetError() ValidateAddressE401 { + if o == nil { + var ret ValidateAddressE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40197) GetErrorOk() (*ValidateAddressE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40197) SetError(v ValidateAddressE401) { + o.Error = v +} + +func (o InlineResponse40197) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40197 struct { + value *InlineResponse40197 + isSet bool +} + +func (v NullableInlineResponse40197) Get() *InlineResponse40197 { + return v.value +} + +func (v *NullableInlineResponse40197) Set(val *InlineResponse40197) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40197) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40197) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40197(val *InlineResponse40197) *NullableInlineResponse40197 { + return &NullableInlineResponse40197{value: val, isSet: true} +} + +func (v NullableInlineResponse40197) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40197) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_98.go b/model_inline_response_401_98.go new file mode 100644 index 0000000..4fdd8c0 --- /dev/null +++ b/model_inline_response_401_98.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40198 struct for InlineResponse40198 +type InlineResponse40198 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetEIP1559FeeRecommendationsE401 `json:"error"` +} + +// NewInlineResponse40198 instantiates a new InlineResponse40198 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40198(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE401) *InlineResponse40198 { + this := InlineResponse40198{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40198WithDefaults instantiates a new InlineResponse40198 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40198WithDefaults() *InlineResponse40198 { + this := InlineResponse40198{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40198) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40198) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40198) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40198) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40198) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40198) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40198) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40198) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40198) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40198) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40198) GetError() GetEIP1559FeeRecommendationsE401 { + if o == nil { + var ret GetEIP1559FeeRecommendationsE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40198) GetErrorOk() (*GetEIP1559FeeRecommendationsE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40198) SetError(v GetEIP1559FeeRecommendationsE401) { + o.Error = v +} + +func (o InlineResponse40198) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40198 struct { + value *InlineResponse40198 + isSet bool +} + +func (v NullableInlineResponse40198) Get() *InlineResponse40198 { + return v.value +} + +func (v *NullableInlineResponse40198) Set(val *InlineResponse40198) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40198) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40198) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40198(val *InlineResponse40198) *NullableInlineResponse40198 { + return &NullableInlineResponse40198{value: val, isSet: true} +} + +func (v NullableInlineResponse40198) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40198) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_401_99.go b/model_inline_response_401_99.go new file mode 100644 index 0000000..76118ed --- /dev/null +++ b/model_inline_response_401_99.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40199 struct for InlineResponse40199 +type InlineResponse40199 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error BroadcastLocallySignedTransactionE401 `json:"error"` +} + +// NewInlineResponse40199 instantiates a new InlineResponse40199 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40199(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE401) *InlineResponse40199 { + this := InlineResponse40199{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40199WithDefaults instantiates a new InlineResponse40199 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40199WithDefaults() *InlineResponse40199 { + this := InlineResponse40199{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40199) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40199) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40199) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40199) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40199) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40199) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40199) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40199) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40199) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40199) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40199) GetError() BroadcastLocallySignedTransactionE401 { + if o == nil { + var ret BroadcastLocallySignedTransactionE401 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40199) GetErrorOk() (*BroadcastLocallySignedTransactionE401, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40199) SetError(v BroadcastLocallySignedTransactionE401) { + o.Error = v +} + +func (o InlineResponse40199) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40199 struct { + value *InlineResponse40199 + isSet bool +} + +func (v NullableInlineResponse40199) Get() *InlineResponse40199 { + return v.value +} + +func (v *NullableInlineResponse40199) Set(val *InlineResponse40199) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40199) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40199) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40199(val *InlineResponse40199) *NullableInlineResponse40199 { + return &NullableInlineResponse40199{value: val, isSet: true} +} + +func (v NullableInlineResponse40199) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40199) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_402.go b/model_inline_response_402.go index a3a94c3..80b5d94 100644 --- a/model_inline_response_402.go +++ b/model_inline_response_402.go @@ -59,7 +59,7 @@ func (o *InlineResponse402) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse402) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse402) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse402) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse402) GetError() InsufficientCredits { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse402) GetErrorOk() (*InsufficientCredits, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403.go b/model_inline_response_403.go index f0cac1f..24b4a38 100644 --- a/model_inline_response_403.go +++ b/model_inline_response_403.go @@ -59,7 +59,7 @@ func (o *InlineResponse403) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse403) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse403) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse403) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse403) GetError() GetAddressDetailsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse403) GetErrorOk() (*GetAddressDetailsE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_1.go b/model_inline_response_403_1.go index 0f03acb..80cd27b 100644 --- a/model_inline_response_403_1.go +++ b/model_inline_response_403_1.go @@ -59,7 +59,7 @@ func (o *InlineResponse4031) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4031) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4031) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4031) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4031) GetError() ListOmniTokensByAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4031) GetErrorOk() (*ListOmniTokensByAddressE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_10.go b/model_inline_response_403_10.go index 0dce02a..50255a3 100644 --- a/model_inline_response_403_10.go +++ b/model_inline_response_403_10.go @@ -59,7 +59,7 @@ func (o *InlineResponse40310) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40310) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40310) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40310) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40310) GetError() ListConfirmedTransactionsByAddressE403 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40310) GetErrorOk() (*ListConfirmedTransactionsByAddressE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_100.go b/model_inline_response_403_100.go new file mode 100644 index 0000000..bdc41e6 --- /dev/null +++ b/model_inline_response_403_100.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403100 struct for InlineResponse403100 +type InlineResponse403100 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EstimateGasLimitE403 `json:"error"` +} + +// NewInlineResponse403100 instantiates a new InlineResponse403100 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403100(apiVersion string, requestId string, error_ EstimateGasLimitE403) *InlineResponse403100 { + this := InlineResponse403100{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403100WithDefaults instantiates a new InlineResponse403100 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403100WithDefaults() *InlineResponse403100 { + this := InlineResponse403100{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403100) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403100) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403100) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403100) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403100) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403100) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403100) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403100) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403100) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403100) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403100) GetError() EstimateGasLimitE403 { + if o == nil { + var ret EstimateGasLimitE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403100) GetErrorOk() (*EstimateGasLimitE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403100) SetError(v EstimateGasLimitE403) { + o.Error = v +} + +func (o InlineResponse403100) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403100 struct { + value *InlineResponse403100 + isSet bool +} + +func (v NullableInlineResponse403100) Get() *InlineResponse403100 { + return v.value +} + +func (v *NullableInlineResponse403100) Set(val *InlineResponse403100) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403100) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403100) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403100(val *InlineResponse403100) *NullableInlineResponse403100 { + return &NullableInlineResponse403100{value: val, isSet: true} +} + +func (v NullableInlineResponse403100) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403100) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_101.go b/model_inline_response_403_101.go new file mode 100644 index 0000000..b0d6d09 --- /dev/null +++ b/model_inline_response_403_101.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403101 struct for InlineResponse403101 +type InlineResponse403101 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EstimateTokenGasLimitE403 `json:"error"` +} + +// NewInlineResponse403101 instantiates a new InlineResponse403101 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403101(apiVersion string, requestId string, error_ EstimateTokenGasLimitE403) *InlineResponse403101 { + this := InlineResponse403101{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403101WithDefaults instantiates a new InlineResponse403101 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403101WithDefaults() *InlineResponse403101 { + this := InlineResponse403101{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403101) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403101) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403101) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403101) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403101) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403101) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403101) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403101) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403101) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403101) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403101) GetError() EstimateTokenGasLimitE403 { + if o == nil { + var ret EstimateTokenGasLimitE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403101) GetErrorOk() (*EstimateTokenGasLimitE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403101) SetError(v EstimateTokenGasLimitE403) { + o.Error = v +} + +func (o InlineResponse403101) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403101 struct { + value *InlineResponse403101 + isSet bool +} + +func (v NullableInlineResponse403101) Get() *InlineResponse403101 { + return v.value +} + +func (v *NullableInlineResponse403101) Set(val *InlineResponse403101) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403101) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403101) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403101(val *InlineResponse403101) *NullableInlineResponse403101 { + return &NullableInlineResponse403101{value: val, isSet: true} +} + +func (v NullableInlineResponse403101) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403101) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_102.go b/model_inline_response_403_102.go new file mode 100644 index 0000000..2c471f2 --- /dev/null +++ b/model_inline_response_403_102.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403102 struct for InlineResponse403102 +type InlineResponse403102 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DecodeRawTransactionHexE403 `json:"error"` +} + +// NewInlineResponse403102 instantiates a new InlineResponse403102 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403102(apiVersion string, requestId string, error_ DecodeRawTransactionHexE403) *InlineResponse403102 { + this := InlineResponse403102{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403102WithDefaults instantiates a new InlineResponse403102 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403102WithDefaults() *InlineResponse403102 { + this := InlineResponse403102{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403102) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403102) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403102) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403102) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403102) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403102) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403102) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403102) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403102) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403102) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403102) GetError() DecodeRawTransactionHexE403 { + if o == nil { + var ret DecodeRawTransactionHexE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403102) GetErrorOk() (*DecodeRawTransactionHexE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403102) SetError(v DecodeRawTransactionHexE403) { + o.Error = v +} + +func (o InlineResponse403102) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403102 struct { + value *InlineResponse403102 + isSet bool +} + +func (v NullableInlineResponse403102) Get() *InlineResponse403102 { + return v.value +} + +func (v *NullableInlineResponse403102) Set(val *InlineResponse403102) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403102) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403102) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403102(val *InlineResponse403102) *NullableInlineResponse403102 { + return &NullableInlineResponse403102{value: val, isSet: true} +} + +func (v NullableInlineResponse403102) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403102) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_103.go b/model_inline_response_403_103.go new file mode 100644 index 0000000..8a3618c --- /dev/null +++ b/model_inline_response_403_103.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403103 struct for InlineResponse403103 +type InlineResponse403103 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DecodeXAddressE403 `json:"error"` +} + +// NewInlineResponse403103 instantiates a new InlineResponse403103 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403103(apiVersion string, requestId string, error_ DecodeXAddressE403) *InlineResponse403103 { + this := InlineResponse403103{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403103WithDefaults instantiates a new InlineResponse403103 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403103WithDefaults() *InlineResponse403103 { + this := InlineResponse403103{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403103) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403103) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403103) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403103) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403103) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403103) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403103) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403103) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403103) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403103) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403103) GetError() DecodeXAddressE403 { + if o == nil { + var ret DecodeXAddressE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403103) GetErrorOk() (*DecodeXAddressE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403103) SetError(v DecodeXAddressE403) { + o.Error = v +} + +func (o InlineResponse403103) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403103 struct { + value *InlineResponse403103 + isSet bool +} + +func (v NullableInlineResponse403103) Get() *InlineResponse403103 { + return v.value +} + +func (v *NullableInlineResponse403103) Set(val *InlineResponse403103) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403103) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403103) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403103(val *InlineResponse403103) *NullableInlineResponse403103 { + return &NullableInlineResponse403103{value: val, isSet: true} +} + +func (v NullableInlineResponse403103) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403103) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_104.go b/model_inline_response_403_104.go new file mode 100644 index 0000000..3033a6d --- /dev/null +++ b/model_inline_response_403_104.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403104 struct for InlineResponse403104 +type InlineResponse403104 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error EncodeXAddressE403 `json:"error"` +} + +// NewInlineResponse403104 instantiates a new InlineResponse403104 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403104(apiVersion string, requestId string, error_ EncodeXAddressE403) *InlineResponse403104 { + this := InlineResponse403104{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403104WithDefaults instantiates a new InlineResponse403104 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403104WithDefaults() *InlineResponse403104 { + this := InlineResponse403104{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403104) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403104) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403104) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403104) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403104) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403104) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403104) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403104) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403104) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403104) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403104) GetError() EncodeXAddressE403 { + if o == nil { + var ret EncodeXAddressE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403104) GetErrorOk() (*EncodeXAddressE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403104) SetError(v EncodeXAddressE403) { + o.Error = v +} + +func (o InlineResponse403104) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403104 struct { + value *InlineResponse403104 + isSet bool +} + +func (v NullableInlineResponse403104) Get() *InlineResponse403104 { + return v.value +} + +func (v *NullableInlineResponse403104) Set(val *InlineResponse403104) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403104) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403104) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403104(val *InlineResponse403104) *NullableInlineResponse403104 { + return &NullableInlineResponse403104{value: val, isSet: true} +} + +func (v NullableInlineResponse403104) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403104) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_105.go b/model_inline_response_403_105.go new file mode 100644 index 0000000..6179acb --- /dev/null +++ b/model_inline_response_403_105.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403105 struct for InlineResponse403105 +type InlineResponse403105 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListSupportedAssetsE403 `json:"error"` +} + +// NewInlineResponse403105 instantiates a new InlineResponse403105 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403105(apiVersion string, requestId string, error_ ListSupportedAssetsE403) *InlineResponse403105 { + this := InlineResponse403105{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403105WithDefaults instantiates a new InlineResponse403105 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403105WithDefaults() *InlineResponse403105 { + this := InlineResponse403105{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403105) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403105) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403105) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403105) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403105) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403105) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403105) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403105) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403105) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403105) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403105) GetError() ListSupportedAssetsE403 { + if o == nil { + var ret ListSupportedAssetsE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403105) GetErrorOk() (*ListSupportedAssetsE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403105) SetError(v ListSupportedAssetsE403) { + o.Error = v +} + +func (o InlineResponse403105) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403105 struct { + value *InlineResponse403105 + isSet bool +} + +func (v NullableInlineResponse403105) Get() *InlineResponse403105 { + return v.value +} + +func (v *NullableInlineResponse403105) Set(val *InlineResponse403105) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403105) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403105) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403105(val *InlineResponse403105) *NullableInlineResponse403105 { + return &NullableInlineResponse403105{value: val, isSet: true} +} + +func (v NullableInlineResponse403105) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403105) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_106.go b/model_inline_response_403_106.go new file mode 100644 index 0000000..c103cd1 --- /dev/null +++ b/model_inline_response_403_106.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403106 struct for InlineResponse403106 +type InlineResponse403106 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetExchangeRateByAssetSymbolsE403 `json:"error"` +} + +// NewInlineResponse403106 instantiates a new InlineResponse403106 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403106(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE403) *InlineResponse403106 { + this := InlineResponse403106{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403106WithDefaults instantiates a new InlineResponse403106 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403106WithDefaults() *InlineResponse403106 { + this := InlineResponse403106{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403106) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403106) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403106) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403106) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403106) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403106) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403106) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403106) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403106) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403106) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403106) GetError() GetExchangeRateByAssetSymbolsE403 { + if o == nil { + var ret GetExchangeRateByAssetSymbolsE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403106) GetErrorOk() (*GetExchangeRateByAssetSymbolsE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403106) SetError(v GetExchangeRateByAssetSymbolsE403) { + o.Error = v +} + +func (o InlineResponse403106) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403106 struct { + value *InlineResponse403106 + isSet bool +} + +func (v NullableInlineResponse403106) Get() *InlineResponse403106 { + return v.value +} + +func (v *NullableInlineResponse403106) Set(val *InlineResponse403106) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403106) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403106) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403106(val *InlineResponse403106) *NullableInlineResponse403106 { + return &NullableInlineResponse403106{value: val, isSet: true} +} + +func (v NullableInlineResponse403106) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403106) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_107.go b/model_inline_response_403_107.go new file mode 100644 index 0000000..e5a6f87 --- /dev/null +++ b/model_inline_response_403_107.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403107 struct for InlineResponse403107 +type InlineResponse403107 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetExchangeRateByAssetsIDsE403 `json:"error"` +} + +// NewInlineResponse403107 instantiates a new InlineResponse403107 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403107(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE403) *InlineResponse403107 { + this := InlineResponse403107{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403107WithDefaults instantiates a new InlineResponse403107 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403107WithDefaults() *InlineResponse403107 { + this := InlineResponse403107{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403107) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403107) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403107) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403107) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403107) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403107) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403107) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403107) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403107) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403107) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403107) GetError() GetExchangeRateByAssetsIDsE403 { + if o == nil { + var ret GetExchangeRateByAssetsIDsE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403107) GetErrorOk() (*GetExchangeRateByAssetsIDsE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403107) SetError(v GetExchangeRateByAssetsIDsE403) { + o.Error = v +} + +func (o InlineResponse403107) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403107 struct { + value *InlineResponse403107 + isSet bool +} + +func (v NullableInlineResponse403107) Get() *InlineResponse403107 { + return v.value +} + +func (v *NullableInlineResponse403107) Set(val *InlineResponse403107) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403107) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403107) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403107(val *InlineResponse403107) *NullableInlineResponse403107 { + return &NullableInlineResponse403107{value: val, isSet: true} +} + +func (v NullableInlineResponse403107) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403107) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_108.go b/model_inline_response_403_108.go new file mode 100644 index 0000000..6ed227a --- /dev/null +++ b/model_inline_response_403_108.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403108 struct for InlineResponse403108 +type InlineResponse403108 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListAssetsDetailsE403 `json:"error"` +} + +// NewInlineResponse403108 instantiates a new InlineResponse403108 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403108(apiVersion string, requestId string, error_ ListAssetsDetailsE403) *InlineResponse403108 { + this := InlineResponse403108{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403108WithDefaults instantiates a new InlineResponse403108 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403108WithDefaults() *InlineResponse403108 { + this := InlineResponse403108{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403108) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403108) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403108) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403108) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403108) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403108) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403108) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403108) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403108) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403108) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403108) GetError() ListAssetsDetailsE403 { + if o == nil { + var ret ListAssetsDetailsE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403108) GetErrorOk() (*ListAssetsDetailsE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403108) SetError(v ListAssetsDetailsE403) { + o.Error = v +} + +func (o InlineResponse403108) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403108 struct { + value *InlineResponse403108 + isSet bool +} + +func (v NullableInlineResponse403108) Get() *InlineResponse403108 { + return v.value +} + +func (v *NullableInlineResponse403108) Set(val *InlineResponse403108) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403108) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403108) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403108(val *InlineResponse403108) *NullableInlineResponse403108 { + return &NullableInlineResponse403108{value: val, isSet: true} +} + +func (v NullableInlineResponse403108) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403108) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_109.go b/model_inline_response_403_109.go new file mode 100644 index 0000000..be4c2d2 --- /dev/null +++ b/model_inline_response_403_109.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403109 struct for InlineResponse403109 +type InlineResponse403109 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetAssetDetailsByAssetIDE403 `json:"error"` +} + +// NewInlineResponse403109 instantiates a new InlineResponse403109 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403109(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE403) *InlineResponse403109 { + this := InlineResponse403109{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403109WithDefaults instantiates a new InlineResponse403109 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403109WithDefaults() *InlineResponse403109 { + this := InlineResponse403109{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403109) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403109) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403109) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403109) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403109) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403109) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403109) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403109) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403109) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403109) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403109) GetError() GetAssetDetailsByAssetIDE403 { + if o == nil { + var ret GetAssetDetailsByAssetIDE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403109) GetErrorOk() (*GetAssetDetailsByAssetIDE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403109) SetError(v GetAssetDetailsByAssetIDE403) { + o.Error = v +} + +func (o InlineResponse403109) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403109 struct { + value *InlineResponse403109 + isSet bool +} + +func (v NullableInlineResponse403109) Get() *InlineResponse403109 { + return v.value +} + +func (v *NullableInlineResponse403109) Set(val *InlineResponse403109) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403109) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403109) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403109(val *InlineResponse403109) *NullableInlineResponse403109 { + return &NullableInlineResponse403109{value: val, isSet: true} +} + +func (v NullableInlineResponse403109) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403109) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_11.go b/model_inline_response_403_11.go index 4bebbec..91b1dd2 100644 --- a/model_inline_response_403_11.go +++ b/model_inline_response_403_11.go @@ -59,7 +59,7 @@ func (o *InlineResponse40311) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40311) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40311) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40311) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40311) GetError() ListXRPRippleTransactionsByAddressE403 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40311) GetErrorOk() (*ListXRPRippleTransactionsByAddressE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_110.go b/model_inline_response_403_110.go new file mode 100644 index 0000000..f1ea704 --- /dev/null +++ b/model_inline_response_403_110.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse403110 struct for InlineResponse403110 +type InlineResponse403110 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetAssetDetailsByAssetSymbolE403 `json:"error"` +} + +// NewInlineResponse403110 instantiates a new InlineResponse403110 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse403110(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE403) *InlineResponse403110 { + this := InlineResponse403110{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse403110WithDefaults instantiates a new InlineResponse403110 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse403110WithDefaults() *InlineResponse403110 { + this := InlineResponse403110{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse403110) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403110) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse403110) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse403110) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403110) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse403110) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse403110) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse403110) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse403110) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse403110) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse403110) GetError() GetAssetDetailsByAssetSymbolE403 { + if o == nil { + var ret GetAssetDetailsByAssetSymbolE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse403110) GetErrorOk() (*GetAssetDetailsByAssetSymbolE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse403110) SetError(v GetAssetDetailsByAssetSymbolE403) { + o.Error = v +} + +func (o InlineResponse403110) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse403110 struct { + value *InlineResponse403110 + isSet bool +} + +func (v NullableInlineResponse403110) Get() *InlineResponse403110 { + return v.value +} + +func (v *NullableInlineResponse403110) Set(val *InlineResponse403110) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse403110) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse403110) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse403110(val *InlineResponse403110) *NullableInlineResponse403110 { + return &NullableInlineResponse403110{value: val, isSet: true} +} + +func (v NullableInlineResponse403110) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse403110) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_12.go b/model_inline_response_403_12.go index 86fe71f..7b73576 100644 --- a/model_inline_response_403_12.go +++ b/model_inline_response_403_12.go @@ -59,7 +59,7 @@ func (o *InlineResponse40312) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40312) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40312) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40312) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40312) GetError() ListUnconfirmedOmniTransactionsByAddres // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40312) GetErrorOk() (*ListUnconfirmedOmniTransactionsByAddressE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_13.go b/model_inline_response_403_13.go index 20893c1..6be64b8 100644 --- a/model_inline_response_403_13.go +++ b/model_inline_response_403_13.go @@ -59,7 +59,7 @@ func (o *InlineResponse40313) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40313) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40313) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40313) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40313) GetError() CreateCoinsTransactionRequestFromWallet // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40313) GetErrorOk() (*CreateCoinsTransactionRequestFromWalletE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_14.go b/model_inline_response_403_14.go index 9b89ac3..f578933 100644 --- a/model_inline_response_403_14.go +++ b/model_inline_response_403_14.go @@ -59,7 +59,7 @@ func (o *InlineResponse40314) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40314) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40314) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40314) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40314) GetError() ListZilliqaTransactionsByAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40314) GetErrorOk() (*ListZilliqaTransactionsByAddressE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_15.go b/model_inline_response_403_15.go index 3cb8583..31cfad0 100644 --- a/model_inline_response_403_15.go +++ b/model_inline_response_403_15.go @@ -59,7 +59,7 @@ func (o *InlineResponse40315) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40315) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40315) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40315) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40315) GetError() ListUnconfirmedTransactionsByAddressE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40315) GetErrorOk() (*ListUnconfirmedTransactionsByAddressE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_16.go b/model_inline_response_403_16.go index 24f6bbc..151db07 100644 --- a/model_inline_response_403_16.go +++ b/model_inline_response_403_16.go @@ -23,14 +23,14 @@ type InlineResponse40316 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListAllUnconfirmedTransactionsE403 `json:"error"` + Error ListXRPRippleTransactionsByAddressAndTimeRangeE403 `json:"error"` } // NewInlineResponse40316 instantiates a new InlineResponse40316 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40316(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE403) *InlineResponse40316 { +func NewInlineResponse40316(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByAddressAndTimeRangeE403) *InlineResponse40316 { this := InlineResponse40316{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40316) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40316) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40316) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40316) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40316) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40316) GetError() ListAllUnconfirmedTransactionsE403 { +func (o *InlineResponse40316) GetError() ListXRPRippleTransactionsByAddressAndTimeRangeE403 { if o == nil { - var ret ListAllUnconfirmedTransactionsE403 + var ret ListXRPRippleTransactionsByAddressAndTimeRangeE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40316) GetError() ListAllUnconfirmedTransactionsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40316) GetErrorOk() (*ListAllUnconfirmedTransactionsE403, bool) { - if o == nil { +func (o *InlineResponse40316) GetErrorOk() (*ListXRPRippleTransactionsByAddressAndTimeRangeE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40316) SetError(v ListAllUnconfirmedTransactionsE403) { +func (o *InlineResponse40316) SetError(v ListXRPRippleTransactionsByAddressAndTimeRangeE403) { o.Error = v } diff --git a/model_inline_response_403_17.go b/model_inline_response_403_17.go index bb9f6e7..7b75a5a 100644 --- a/model_inline_response_403_17.go +++ b/model_inline_response_403_17.go @@ -23,14 +23,14 @@ type InlineResponse40317 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTransactionsByBlockHashE403 `json:"error"` + Error ListAllUnconfirmedTransactionsE403 `json:"error"` } // NewInlineResponse40317 instantiates a new InlineResponse40317 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40317(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE403) *InlineResponse40317 { +func NewInlineResponse40317(apiVersion string, requestId string, error_ ListAllUnconfirmedTransactionsE403) *InlineResponse40317 { this := InlineResponse40317{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40317) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40317) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40317) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40317) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40317) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40317) GetError() ListTransactionsByBlockHashE403 { +func (o *InlineResponse40317) GetError() ListAllUnconfirmedTransactionsE403 { if o == nil { - var ret ListTransactionsByBlockHashE403 + var ret ListAllUnconfirmedTransactionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40317) GetError() ListTransactionsByBlockHashE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40317) GetErrorOk() (*ListTransactionsByBlockHashE403, bool) { - if o == nil { +func (o *InlineResponse40317) GetErrorOk() (*ListAllUnconfirmedTransactionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40317) SetError(v ListTransactionsByBlockHashE403) { +func (o *InlineResponse40317) SetError(v ListAllUnconfirmedTransactionsE403) { o.Error = v } diff --git a/model_inline_response_403_18.go b/model_inline_response_403_18.go index 1f16842..4d20a3e 100644 --- a/model_inline_response_403_18.go +++ b/model_inline_response_403_18.go @@ -23,14 +23,14 @@ type InlineResponse40318 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListXRPRippleTransactionsByBlockHashE403 `json:"error"` + Error ListTransactionsByBlockHashE403 `json:"error"` } // NewInlineResponse40318 instantiates a new InlineResponse40318 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40318(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE403) *InlineResponse40318 { +func NewInlineResponse40318(apiVersion string, requestId string, error_ ListTransactionsByBlockHashE403) *InlineResponse40318 { this := InlineResponse40318{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40318) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40318) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40318) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40318) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40318) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40318) GetError() ListXRPRippleTransactionsByBlockHashE403 { +func (o *InlineResponse40318) GetError() ListTransactionsByBlockHashE403 { if o == nil { - var ret ListXRPRippleTransactionsByBlockHashE403 + var ret ListTransactionsByBlockHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40318) GetError() ListXRPRippleTransactionsByBlockHashE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40318) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE403, bool) { - if o == nil { +func (o *InlineResponse40318) GetErrorOk() (*ListTransactionsByBlockHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40318) SetError(v ListXRPRippleTransactionsByBlockHashE403) { +func (o *InlineResponse40318) SetError(v ListTransactionsByBlockHashE403) { o.Error = v } diff --git a/model_inline_response_403_19.go b/model_inline_response_403_19.go index 40a3ac6..9d56206 100644 --- a/model_inline_response_403_19.go +++ b/model_inline_response_403_19.go @@ -23,14 +23,14 @@ type InlineResponse40319 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetUnconfirmedOmniTransactionByTransactionIDTxidE403 `json:"error"` + Error ListXRPRippleTransactionsByBlockHashE403 `json:"error"` } // NewInlineResponse40319 instantiates a new InlineResponse40319 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40319(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE403) *InlineResponse40319 { +func NewInlineResponse40319(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHashE403) *InlineResponse40319 { this := InlineResponse40319{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40319) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40319) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40319) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40319) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40319) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40319) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE403 { +func (o *InlineResponse40319) GetError() ListXRPRippleTransactionsByBlockHashE403 { if o == nil { - var ret GetUnconfirmedOmniTransactionByTransactionIDTxidE403 + var ret ListXRPRippleTransactionsByBlockHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40319) GetError() GetUnconfirmedOmniTransactionByTransact // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40319) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE403, bool) { - if o == nil { +func (o *InlineResponse40319) GetErrorOk() (*ListXRPRippleTransactionsByBlockHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40319) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE403) { +func (o *InlineResponse40319) SetError(v ListXRPRippleTransactionsByBlockHashE403) { o.Error = v } diff --git a/model_inline_response_403_2.go b/model_inline_response_403_2.go index 84f7397..c763391 100644 --- a/model_inline_response_403_2.go +++ b/model_inline_response_403_2.go @@ -59,7 +59,7 @@ func (o *InlineResponse4032) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4032) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4032) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4032) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4032) GetError() GetXRPRippleAddressDetailsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4032) GetErrorOk() (*GetXRPRippleAddressDetailsE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_20.go b/model_inline_response_403_20.go index 933f639..0b052e0 100644 --- a/model_inline_response_403_20.go +++ b/model_inline_response_403_20.go @@ -23,14 +23,14 @@ type InlineResponse40320 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateCoinsTransactionRequestFromAddressE403 `json:"error"` + Error GetUnconfirmedOmniTransactionByTransactionIDTxidE403 `json:"error"` } // NewInlineResponse40320 instantiates a new InlineResponse40320 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40320(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE403) *InlineResponse40320 { +func NewInlineResponse40320(apiVersion string, requestId string, error_ GetUnconfirmedOmniTransactionByTransactionIDTxidE403) *InlineResponse40320 { this := InlineResponse40320{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40320) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40320) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40320) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40320) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40320) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40320) GetError() CreateCoinsTransactionRequestFromAddressE403 { +func (o *InlineResponse40320) GetError() GetUnconfirmedOmniTransactionByTransactionIDTxidE403 { if o == nil { - var ret CreateCoinsTransactionRequestFromAddressE403 + var ret GetUnconfirmedOmniTransactionByTransactionIDTxidE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40320) GetError() CreateCoinsTransactionRequestFromAddres // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40320) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE403, bool) { - if o == nil { +func (o *InlineResponse40320) GetErrorOk() (*GetUnconfirmedOmniTransactionByTransactionIDTxidE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40320) SetError(v CreateCoinsTransactionRequestFromAddressE403) { +func (o *InlineResponse40320) SetError(v GetUnconfirmedOmniTransactionByTransactionIDTxidE403) { o.Error = v } diff --git a/model_inline_response_403_21.go b/model_inline_response_403_21.go index 33efcf0..f9124ed 100644 --- a/model_inline_response_403_21.go +++ b/model_inline_response_403_21.go @@ -23,14 +23,14 @@ type InlineResponse40321 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListZilliqaTransactionsByBlockHashE403 `json:"error"` + Error CreateCoinsTransactionRequestFromAddressE403 `json:"error"` } // NewInlineResponse40321 instantiates a new InlineResponse40321 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40321(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE403) *InlineResponse40321 { +func NewInlineResponse40321(apiVersion string, requestId string, error_ CreateCoinsTransactionRequestFromAddressE403) *InlineResponse40321 { this := InlineResponse40321{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40321) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40321) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40321) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40321) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40321) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40321) GetError() ListZilliqaTransactionsByBlockHashE403 { +func (o *InlineResponse40321) GetError() CreateCoinsTransactionRequestFromAddressE403 { if o == nil { - var ret ListZilliqaTransactionsByBlockHashE403 + var ret CreateCoinsTransactionRequestFromAddressE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40321) GetError() ListZilliqaTransactionsByBlockHashE403 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40321) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE403, bool) { - if o == nil { +func (o *InlineResponse40321) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40321) SetError(v ListZilliqaTransactionsByBlockHashE403) { +func (o *InlineResponse40321) SetError(v CreateCoinsTransactionRequestFromAddressE403) { o.Error = v } diff --git a/model_inline_response_403_22.go b/model_inline_response_403_22.go index 5a9d1e7..2f773bc 100644 --- a/model_inline_response_403_22.go +++ b/model_inline_response_403_22.go @@ -23,14 +23,14 @@ type InlineResponse40322 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListZilliqaTransactionsByBlockHeightE403 `json:"error"` + Error ListZilliqaTransactionsByBlockHashE403 `json:"error"` } // NewInlineResponse40322 instantiates a new InlineResponse40322 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40322(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE403) *InlineResponse40322 { +func NewInlineResponse40322(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHashE403) *InlineResponse40322 { this := InlineResponse40322{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40322) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40322) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40322) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40322) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40322) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40322) GetError() ListZilliqaTransactionsByBlockHeightE403 { +func (o *InlineResponse40322) GetError() ListZilliqaTransactionsByBlockHashE403 { if o == nil { - var ret ListZilliqaTransactionsByBlockHeightE403 + var ret ListZilliqaTransactionsByBlockHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40322) GetError() ListZilliqaTransactionsByBlockHeightE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40322) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE403, bool) { - if o == nil { +func (o *InlineResponse40322) GetErrorOk() (*ListZilliqaTransactionsByBlockHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40322) SetError(v ListZilliqaTransactionsByBlockHeightE403) { +func (o *InlineResponse40322) SetError(v ListZilliqaTransactionsByBlockHashE403) { o.Error = v } diff --git a/model_inline_response_403_23.go b/model_inline_response_403_23.go index f0755c7..4f3beee 100644 --- a/model_inline_response_403_23.go +++ b/model_inline_response_403_23.go @@ -23,14 +23,14 @@ type InlineResponse40323 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListXRPRippleTransactionsByBlockHeightE403 `json:"error"` + Error ListZilliqaTransactionsByBlockHeightE403 `json:"error"` } // NewInlineResponse40323 instantiates a new InlineResponse40323 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40323(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE403) *InlineResponse40323 { +func NewInlineResponse40323(apiVersion string, requestId string, error_ ListZilliqaTransactionsByBlockHeightE403) *InlineResponse40323 { this := InlineResponse40323{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40323) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40323) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40323) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40323) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40323) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40323) GetError() ListXRPRippleTransactionsByBlockHeightE403 { +func (o *InlineResponse40323) GetError() ListZilliqaTransactionsByBlockHeightE403 { if o == nil { - var ret ListXRPRippleTransactionsByBlockHeightE403 + var ret ListZilliqaTransactionsByBlockHeightE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40323) GetError() ListXRPRippleTransactionsByBlockHeightE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40323) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE403, bool) { - if o == nil { +func (o *InlineResponse40323) GetErrorOk() (*ListZilliqaTransactionsByBlockHeightE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40323) SetError(v ListXRPRippleTransactionsByBlockHeightE403) { +func (o *InlineResponse40323) SetError(v ListZilliqaTransactionsByBlockHeightE403) { o.Error = v } diff --git a/model_inline_response_403_24.go b/model_inline_response_403_24.go index 5cd345c..b548f14 100644 --- a/model_inline_response_403_24.go +++ b/model_inline_response_403_24.go @@ -23,14 +23,14 @@ type InlineResponse40324 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTransactionsByBlockHeightE403 `json:"error"` + Error ListXRPRippleTransactionsByBlockHeightE403 `json:"error"` } // NewInlineResponse40324 instantiates a new InlineResponse40324 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40324(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE403) *InlineResponse40324 { +func NewInlineResponse40324(apiVersion string, requestId string, error_ ListXRPRippleTransactionsByBlockHeightE403) *InlineResponse40324 { this := InlineResponse40324{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40324) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40324) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40324) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40324) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40324) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40324) GetError() ListTransactionsByBlockHeightE403 { +func (o *InlineResponse40324) GetError() ListXRPRippleTransactionsByBlockHeightE403 { if o == nil { - var ret ListTransactionsByBlockHeightE403 + var ret ListXRPRippleTransactionsByBlockHeightE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40324) GetError() ListTransactionsByBlockHeightE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40324) GetErrorOk() (*ListTransactionsByBlockHeightE403, bool) { - if o == nil { +func (o *InlineResponse40324) GetErrorOk() (*ListXRPRippleTransactionsByBlockHeightE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40324) SetError(v ListTransactionsByBlockHeightE403) { +func (o *InlineResponse40324) SetError(v ListXRPRippleTransactionsByBlockHeightE403) { o.Error = v } diff --git a/model_inline_response_403_25.go b/model_inline_response_403_25.go index 061e953..81f90f7 100644 --- a/model_inline_response_403_25.go +++ b/model_inline_response_403_25.go @@ -23,14 +23,14 @@ type InlineResponse40325 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateCoinsTransactionFromAddressForWholeAmountE403 `json:"error"` + Error ListTransactionsByBlockHeightE403 `json:"error"` } // NewInlineResponse40325 instantiates a new InlineResponse40325 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40325(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE403) *InlineResponse40325 { +func NewInlineResponse40325(apiVersion string, requestId string, error_ ListTransactionsByBlockHeightE403) *InlineResponse40325 { this := InlineResponse40325{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40325) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40325) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40325) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40325) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40325) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40325) GetError() CreateCoinsTransactionFromAddressForWholeAmountE403 { +func (o *InlineResponse40325) GetError() ListTransactionsByBlockHeightE403 { if o == nil { - var ret CreateCoinsTransactionFromAddressForWholeAmountE403 + var ret ListTransactionsByBlockHeightE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40325) GetError() CreateCoinsTransactionFromAddressForWho // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40325) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE403, bool) { - if o == nil { +func (o *InlineResponse40325) GetErrorOk() (*ListTransactionsByBlockHeightE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40325) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE403) { +func (o *InlineResponse40325) SetError(v ListTransactionsByBlockHeightE403) { o.Error = v } diff --git a/model_inline_response_403_26.go b/model_inline_response_403_26.go index 7f0fe40..8421a68 100644 --- a/model_inline_response_403_26.go +++ b/model_inline_response_403_26.go @@ -23,14 +23,14 @@ type InlineResponse40326 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHeightE403 `json:"error"` + Error CreateCoinsTransactionFromAddressForWholeAmountE403 `json:"error"` } // NewInlineResponse40326 instantiates a new InlineResponse40326 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40326(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE403) *InlineResponse40326 { +func NewInlineResponse40326(apiVersion string, requestId string, error_ CreateCoinsTransactionFromAddressForWholeAmountE403) *InlineResponse40326 { this := InlineResponse40326{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40326) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40326) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40326) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40326) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40326) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40326) GetError() GetBlockDetailsByBlockHeightE403 { +func (o *InlineResponse40326) GetError() CreateCoinsTransactionFromAddressForWholeAmountE403 { if o == nil { - var ret GetBlockDetailsByBlockHeightE403 + var ret CreateCoinsTransactionFromAddressForWholeAmountE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40326) GetError() GetBlockDetailsByBlockHeightE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40326) GetErrorOk() (*GetBlockDetailsByBlockHeightE403, bool) { - if o == nil { +func (o *InlineResponse40326) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40326) SetError(v GetBlockDetailsByBlockHeightE403) { +func (o *InlineResponse40326) SetError(v CreateCoinsTransactionFromAddressForWholeAmountE403) { o.Error = v } diff --git a/model_inline_response_403_27.go b/model_inline_response_403_27.go index 0a28efc..37e4a53 100644 --- a/model_inline_response_403_27.go +++ b/model_inline_response_403_27.go @@ -23,14 +23,14 @@ type InlineResponse40327 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetXRPRippleBlockDetailsByBlockHeightE403 `json:"error"` + Error GetBlockDetailsByBlockHeightE403 `json:"error"` } // NewInlineResponse40327 instantiates a new InlineResponse40327 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40327(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE403) *InlineResponse40327 { +func NewInlineResponse40327(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightE403) *InlineResponse40327 { this := InlineResponse40327{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40327) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40327) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40327) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40327) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40327) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40327) GetError() GetXRPRippleBlockDetailsByBlockHeightE403 { +func (o *InlineResponse40327) GetError() GetBlockDetailsByBlockHeightE403 { if o == nil { - var ret GetXRPRippleBlockDetailsByBlockHeightE403 + var ret GetBlockDetailsByBlockHeightE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40327) GetError() GetXRPRippleBlockDetailsByBlockHeightE4 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40327) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE403, bool) { - if o == nil { +func (o *InlineResponse40327) GetErrorOk() (*GetBlockDetailsByBlockHeightE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40327) SetError(v GetXRPRippleBlockDetailsByBlockHeightE403) { +func (o *InlineResponse40327) SetError(v GetBlockDetailsByBlockHeightE403) { o.Error = v } diff --git a/model_inline_response_403_28.go b/model_inline_response_403_28.go index fe0e337..f37e48f 100644 --- a/model_inline_response_403_28.go +++ b/model_inline_response_403_28.go @@ -23,14 +23,14 @@ type InlineResponse40328 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListUnconfirmedOmniTransactionsByPropertyIDE403 `json:"error"` + Error GetXRPRippleBlockDetailsByBlockHeightE403 `json:"error"` } // NewInlineResponse40328 instantiates a new InlineResponse40328 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40328(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE403) *InlineResponse40328 { +func NewInlineResponse40328(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHeightE403) *InlineResponse40328 { this := InlineResponse40328{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40328) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40328) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40328) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40328) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40328) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40328) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE403 { +func (o *InlineResponse40328) GetError() GetXRPRippleBlockDetailsByBlockHeightE403 { if o == nil { - var ret ListUnconfirmedOmniTransactionsByPropertyIDE403 + var ret GetXRPRippleBlockDetailsByBlockHeightE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40328) GetError() ListUnconfirmedOmniTransactionsByProper // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40328) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE403, bool) { - if o == nil { +func (o *InlineResponse40328) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHeightE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40328) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE403) { +func (o *InlineResponse40328) SetError(v GetXRPRippleBlockDetailsByBlockHeightE403) { o.Error = v } diff --git a/model_inline_response_403_29.go b/model_inline_response_403_29.go index dd1a1cd..7cccba6 100644 --- a/model_inline_response_403_29.go +++ b/model_inline_response_403_29.go @@ -23,14 +23,14 @@ type InlineResponse40329 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetZilliqaBlockDetailsByBlockHeightE403 `json:"error"` + Error ListUnconfirmedOmniTransactionsByPropertyIDE403 `json:"error"` } // NewInlineResponse40329 instantiates a new InlineResponse40329 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40329(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE403) *InlineResponse40329 { +func NewInlineResponse40329(apiVersion string, requestId string, error_ ListUnconfirmedOmniTransactionsByPropertyIDE403) *InlineResponse40329 { this := InlineResponse40329{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40329) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40329) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40329) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40329) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40329) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40329) GetError() GetZilliqaBlockDetailsByBlockHeightE403 { +func (o *InlineResponse40329) GetError() ListUnconfirmedOmniTransactionsByPropertyIDE403 { if o == nil { - var ret GetZilliqaBlockDetailsByBlockHeightE403 + var ret ListUnconfirmedOmniTransactionsByPropertyIDE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40329) GetError() GetZilliqaBlockDetailsByBlockHeightE403 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40329) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE403, bool) { - if o == nil { +func (o *InlineResponse40329) GetErrorOk() (*ListUnconfirmedOmniTransactionsByPropertyIDE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40329) SetError(v GetZilliqaBlockDetailsByBlockHeightE403) { +func (o *InlineResponse40329) SetError(v ListUnconfirmedOmniTransactionsByPropertyIDE403) { o.Error = v } diff --git a/model_inline_response_403_3.go b/model_inline_response_403_3.go index 3e9d860..554c8e5 100644 --- a/model_inline_response_403_3.go +++ b/model_inline_response_403_3.go @@ -59,7 +59,7 @@ func (o *InlineResponse4033) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4033) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4033) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4033) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4033) GetError() GetZilliqaAddressDetailsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4033) GetErrorOk() (*GetZilliqaAddressDetailsE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_30.go b/model_inline_response_403_30.go index 73d56df..7228cf3 100644 --- a/model_inline_response_403_30.go +++ b/model_inline_response_403_30.go @@ -23,14 +23,14 @@ type InlineResponse40330 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHashE403 `json:"error"` + Error GetZilliqaBlockDetailsByBlockHeightE403 `json:"error"` } // NewInlineResponse40330 instantiates a new InlineResponse40330 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40330(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE403) *InlineResponse40330 { +func NewInlineResponse40330(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHeightE403) *InlineResponse40330 { this := InlineResponse40330{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40330) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40330) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40330) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40330) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40330) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40330) GetError() GetBlockDetailsByBlockHashE403 { +func (o *InlineResponse40330) GetError() GetZilliqaBlockDetailsByBlockHeightE403 { if o == nil { - var ret GetBlockDetailsByBlockHashE403 + var ret GetZilliqaBlockDetailsByBlockHeightE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40330) GetError() GetBlockDetailsByBlockHashE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40330) GetErrorOk() (*GetBlockDetailsByBlockHashE403, bool) { - if o == nil { +func (o *InlineResponse40330) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHeightE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40330) SetError(v GetBlockDetailsByBlockHashE403) { +func (o *InlineResponse40330) SetError(v GetZilliqaBlockDetailsByBlockHeightE403) { o.Error = v } diff --git a/model_inline_response_403_31.go b/model_inline_response_403_31.go index 8a03133..b6b41be 100644 --- a/model_inline_response_403_31.go +++ b/model_inline_response_403_31.go @@ -23,14 +23,14 @@ type InlineResponse40331 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetXRPRippleBlockDetailsByBlockHashE403 `json:"error"` + Error GetBlockDetailsByBlockHashE403 `json:"error"` } // NewInlineResponse40331 instantiates a new InlineResponse40331 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40331(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE403) *InlineResponse40331 { +func NewInlineResponse40331(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashE403) *InlineResponse40331 { this := InlineResponse40331{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40331) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40331) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40331) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40331) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40331) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40331) GetError() GetXRPRippleBlockDetailsByBlockHashE403 { +func (o *InlineResponse40331) GetError() GetBlockDetailsByBlockHashE403 { if o == nil { - var ret GetXRPRippleBlockDetailsByBlockHashE403 + var ret GetBlockDetailsByBlockHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40331) GetError() GetXRPRippleBlockDetailsByBlockHashE403 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40331) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE403, bool) { - if o == nil { +func (o *InlineResponse40331) GetErrorOk() (*GetBlockDetailsByBlockHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40331) SetError(v GetXRPRippleBlockDetailsByBlockHashE403) { +func (o *InlineResponse40331) SetError(v GetBlockDetailsByBlockHashE403) { o.Error = v } diff --git a/model_inline_response_403_32.go b/model_inline_response_403_32.go index 3b648c6..ec36798 100644 --- a/model_inline_response_403_32.go +++ b/model_inline_response_403_32.go @@ -23,14 +23,14 @@ type InlineResponse40332 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetOmniTransactionDetailsByTransactionIDTxidE403 `json:"error"` + Error GetXRPRippleBlockDetailsByBlockHashE403 `json:"error"` } // NewInlineResponse40332 instantiates a new InlineResponse40332 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40332(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE403) *InlineResponse40332 { +func NewInlineResponse40332(apiVersion string, requestId string, error_ GetXRPRippleBlockDetailsByBlockHashE403) *InlineResponse40332 { this := InlineResponse40332{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40332) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40332) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40332) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40332) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40332) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40332) GetError() GetOmniTransactionDetailsByTransactionIDTxidE403 { +func (o *InlineResponse40332) GetError() GetXRPRippleBlockDetailsByBlockHashE403 { if o == nil { - var ret GetOmniTransactionDetailsByTransactionIDTxidE403 + var ret GetXRPRippleBlockDetailsByBlockHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40332) GetError() GetOmniTransactionDetailsByTransactionI // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40332) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE403, bool) { - if o == nil { +func (o *InlineResponse40332) GetErrorOk() (*GetXRPRippleBlockDetailsByBlockHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40332) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE403) { +func (o *InlineResponse40332) SetError(v GetXRPRippleBlockDetailsByBlockHashE403) { o.Error = v } diff --git a/model_inline_response_403_33.go b/model_inline_response_403_33.go index f460069..23b757f 100644 --- a/model_inline_response_403_33.go +++ b/model_inline_response_403_33.go @@ -23,14 +23,14 @@ type InlineResponse40333 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetZilliqaBlockDetailsByBlockHashE403 `json:"error"` + Error GetOmniTransactionDetailsByTransactionIDTxidE403 `json:"error"` } // NewInlineResponse40333 instantiates a new InlineResponse40333 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40333(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE403) *InlineResponse40333 { +func NewInlineResponse40333(apiVersion string, requestId string, error_ GetOmniTransactionDetailsByTransactionIDTxidE403) *InlineResponse40333 { this := InlineResponse40333{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40333) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40333) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40333) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40333) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40333) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40333) GetError() GetZilliqaBlockDetailsByBlockHashE403 { +func (o *InlineResponse40333) GetError() GetOmniTransactionDetailsByTransactionIDTxidE403 { if o == nil { - var ret GetZilliqaBlockDetailsByBlockHashE403 + var ret GetOmniTransactionDetailsByTransactionIDTxidE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40333) GetError() GetZilliqaBlockDetailsByBlockHashE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40333) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE403, bool) { - if o == nil { +func (o *InlineResponse40333) GetErrorOk() (*GetOmniTransactionDetailsByTransactionIDTxidE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40333) SetError(v GetZilliqaBlockDetailsByBlockHashE403) { +func (o *InlineResponse40333) SetError(v GetOmniTransactionDetailsByTransactionIDTxidE403) { o.Error = v } diff --git a/model_inline_response_403_34.go b/model_inline_response_403_34.go index 8586f4d..d2424a7 100644 --- a/model_inline_response_403_34.go +++ b/model_inline_response_403_34.go @@ -23,14 +23,14 @@ type InlineResponse40334 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListSupportedTokensE403 `json:"error"` + Error GetZilliqaBlockDetailsByBlockHashE403 `json:"error"` } // NewInlineResponse40334 instantiates a new InlineResponse40334 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40334(apiVersion string, requestId string, error_ ListSupportedTokensE403) *InlineResponse40334 { +func NewInlineResponse40334(apiVersion string, requestId string, error_ GetZilliqaBlockDetailsByBlockHashE403) *InlineResponse40334 { this := InlineResponse40334{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40334) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40334) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40334) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40334) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40334) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40334) GetError() ListSupportedTokensE403 { +func (o *InlineResponse40334) GetError() GetZilliqaBlockDetailsByBlockHashE403 { if o == nil { - var ret ListSupportedTokensE403 + var ret GetZilliqaBlockDetailsByBlockHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40334) GetError() ListSupportedTokensE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40334) GetErrorOk() (*ListSupportedTokensE403, bool) { - if o == nil { +func (o *InlineResponse40334) GetErrorOk() (*GetZilliqaBlockDetailsByBlockHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40334) SetError(v ListSupportedTokensE403) { +func (o *InlineResponse40334) SetError(v GetZilliqaBlockDetailsByBlockHashE403) { o.Error = v } diff --git a/model_inline_response_403_35.go b/model_inline_response_403_35.go index c582c0a..037855b 100644 --- a/model_inline_response_403_35.go +++ b/model_inline_response_403_35.go @@ -23,14 +23,14 @@ type InlineResponse40335 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetWalletAssetDetailsE403 `json:"error"` + Error ListSupportedTokensE403 `json:"error"` } // NewInlineResponse40335 instantiates a new InlineResponse40335 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40335(apiVersion string, requestId string, error_ GetWalletAssetDetailsE403) *InlineResponse40335 { +func NewInlineResponse40335(apiVersion string, requestId string, error_ ListSupportedTokensE403) *InlineResponse40335 { this := InlineResponse40335{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40335) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40335) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40335) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40335) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40335) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40335) GetError() GetWalletAssetDetailsE403 { +func (o *InlineResponse40335) GetError() ListSupportedTokensE403 { if o == nil { - var ret GetWalletAssetDetailsE403 + var ret ListSupportedTokensE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40335) GetError() GetWalletAssetDetailsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40335) GetErrorOk() (*GetWalletAssetDetailsE403, bool) { - if o == nil { +func (o *InlineResponse40335) GetErrorOk() (*ListSupportedTokensE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40335) SetError(v GetWalletAssetDetailsE403) { +func (o *InlineResponse40335) SetError(v ListSupportedTokensE403) { o.Error = v } diff --git a/model_inline_response_403_36.go b/model_inline_response_403_36.go index 5bb833c..fc0926f 100644 --- a/model_inline_response_403_36.go +++ b/model_inline_response_403_36.go @@ -23,14 +23,14 @@ type InlineResponse40336 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateFungibleTokensTransactionRequestFromAddressE403 `json:"error"` + Error GetWalletAssetDetailsE403 `json:"error"` } // NewInlineResponse40336 instantiates a new InlineResponse40336 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40336(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE403) *InlineResponse40336 { +func NewInlineResponse40336(apiVersion string, requestId string, error_ GetWalletAssetDetailsE403) *InlineResponse40336 { this := InlineResponse40336{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40336) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40336) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40336) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40336) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40336) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40336) GetError() CreateFungibleTokensTransactionRequestFromAddressE403 { +func (o *InlineResponse40336) GetError() GetWalletAssetDetailsE403 { if o == nil { - var ret CreateFungibleTokensTransactionRequestFromAddressE403 + var ret GetWalletAssetDetailsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40336) GetError() CreateFungibleTokensTransactionRequestF // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40336) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE403, bool) { - if o == nil { +func (o *InlineResponse40336) GetErrorOk() (*GetWalletAssetDetailsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40336) SetError(v CreateFungibleTokensTransactionRequestFromAddressE403) { +func (o *InlineResponse40336) SetError(v GetWalletAssetDetailsE403) { o.Error = v } diff --git a/model_inline_response_403_37.go b/model_inline_response_403_37.go index 97fdfd5..5054bc8 100644 --- a/model_inline_response_403_37.go +++ b/model_inline_response_403_37.go @@ -23,14 +23,14 @@ type InlineResponse40337 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLastMinedBlockE403 `json:"error"` + Error CreateFungibleTokensTransactionRequestFromAddressE403 `json:"error"` } // NewInlineResponse40337 instantiates a new InlineResponse40337 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40337(apiVersion string, requestId string, error_ GetLastMinedBlockE403) *InlineResponse40337 { +func NewInlineResponse40337(apiVersion string, requestId string, error_ CreateFungibleTokensTransactionRequestFromAddressE403) *InlineResponse40337 { this := InlineResponse40337{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40337) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40337) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40337) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40337) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40337) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40337) GetError() GetLastMinedBlockE403 { +func (o *InlineResponse40337) GetError() CreateFungibleTokensTransactionRequestFromAddressE403 { if o == nil { - var ret GetLastMinedBlockE403 + var ret CreateFungibleTokensTransactionRequestFromAddressE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40337) GetError() GetLastMinedBlockE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40337) GetErrorOk() (*GetLastMinedBlockE403, bool) { - if o == nil { +func (o *InlineResponse40337) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40337) SetError(v GetLastMinedBlockE403) { +func (o *InlineResponse40337) SetError(v CreateFungibleTokensTransactionRequestFromAddressE403) { o.Error = v } diff --git a/model_inline_response_403_38.go b/model_inline_response_403_38.go index 2e7b69e..5879e23 100644 --- a/model_inline_response_403_38.go +++ b/model_inline_response_403_38.go @@ -23,14 +23,14 @@ type InlineResponse40338 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListOmniTransactionsByBlockHeightE403 `json:"error"` + Error ListAllAssetsFromAllWalletsE403 `json:"error"` } // NewInlineResponse40338 instantiates a new InlineResponse40338 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40338(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE403) *InlineResponse40338 { +func NewInlineResponse40338(apiVersion string, requestId string, error_ ListAllAssetsFromAllWalletsE403) *InlineResponse40338 { this := InlineResponse40338{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40338) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40338) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40338) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40338) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40338) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40338) GetError() ListOmniTransactionsByBlockHeightE403 { +func (o *InlineResponse40338) GetError() ListAllAssetsFromAllWalletsE403 { if o == nil { - var ret ListOmniTransactionsByBlockHeightE403 + var ret ListAllAssetsFromAllWalletsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40338) GetError() ListOmniTransactionsByBlockHeightE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40338) GetErrorOk() (*ListOmniTransactionsByBlockHeightE403, bool) { - if o == nil { +func (o *InlineResponse40338) GetErrorOk() (*ListAllAssetsFromAllWalletsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40338) SetError(v ListOmniTransactionsByBlockHeightE403) { +func (o *InlineResponse40338) SetError(v ListAllAssetsFromAllWalletsE403) { o.Error = v } diff --git a/model_inline_response_403_39.go b/model_inline_response_403_39.go index 49c085a..ac25cc9 100644 --- a/model_inline_response_403_39.go +++ b/model_inline_response_403_39.go @@ -23,14 +23,14 @@ type InlineResponse40339 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLatestMinedXRPRippleBlockE403 `json:"error"` + Error ListAllAssetsByWalletIDE403 `json:"error"` } // NewInlineResponse40339 instantiates a new InlineResponse40339 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40339(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE403) *InlineResponse40339 { +func NewInlineResponse40339(apiVersion string, requestId string, error_ ListAllAssetsByWalletIDE403) *InlineResponse40339 { this := InlineResponse40339{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40339) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40339) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40339) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40339) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40339) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40339) GetError() GetLatestMinedXRPRippleBlockE403 { +func (o *InlineResponse40339) GetError() ListAllAssetsByWalletIDE403 { if o == nil { - var ret GetLatestMinedXRPRippleBlockE403 + var ret ListAllAssetsByWalletIDE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40339) GetError() GetLatestMinedXRPRippleBlockE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40339) GetErrorOk() (*GetLatestMinedXRPRippleBlockE403, bool) { - if o == nil { +func (o *InlineResponse40339) GetErrorOk() (*ListAllAssetsByWalletIDE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40339) SetError(v GetLatestMinedXRPRippleBlockE403) { +func (o *InlineResponse40339) SetError(v ListAllAssetsByWalletIDE403) { o.Error = v } diff --git a/model_inline_response_403_4.go b/model_inline_response_403_4.go index 501c22a..7f48ad9 100644 --- a/model_inline_response_403_4.go +++ b/model_inline_response_403_4.go @@ -59,7 +59,7 @@ func (o *InlineResponse4034) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4034) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4034) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4034) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4034) GetError() GetTransactionDetailsByTransactionIDE403 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4034) GetErrorOk() (*GetTransactionDetailsByTransactionIDE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_40.go b/model_inline_response_403_40.go index 8fb58c1..33423df 100644 --- a/model_inline_response_403_40.go +++ b/model_inline_response_403_40.go @@ -23,14 +23,14 @@ type InlineResponse40340 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetLatestMinedZilliqaBlockE403 `json:"error"` + Error GetLastMinedBlockE403 `json:"error"` } // NewInlineResponse40340 instantiates a new InlineResponse40340 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40340(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE403) *InlineResponse40340 { +func NewInlineResponse40340(apiVersion string, requestId string, error_ GetLastMinedBlockE403) *InlineResponse40340 { this := InlineResponse40340{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40340) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40340) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40340) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40340) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40340) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40340) GetError() GetLatestMinedZilliqaBlockE403 { +func (o *InlineResponse40340) GetError() GetLastMinedBlockE403 { if o == nil { - var ret GetLatestMinedZilliqaBlockE403 + var ret GetLastMinedBlockE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40340) GetError() GetLatestMinedZilliqaBlockE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40340) GetErrorOk() (*GetLatestMinedZilliqaBlockE403, bool) { - if o == nil { +func (o *InlineResponse40340) GetErrorOk() (*GetLastMinedBlockE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40340) SetError(v GetLatestMinedZilliqaBlockE403) { +func (o *InlineResponse40340) SetError(v GetLastMinedBlockE403) { o.Error = v } diff --git a/model_inline_response_403_41.go b/model_inline_response_403_41.go index 62dd76b..361bbea 100644 --- a/model_inline_response_403_41.go +++ b/model_inline_response_403_41.go @@ -23,14 +23,14 @@ type InlineResponse40341 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTransactionRequestDetailsE403 `json:"error"` + Error ListOmniTransactionsByBlockHeightE403 `json:"error"` } // NewInlineResponse40341 instantiates a new InlineResponse40341 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40341(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE403) *InlineResponse40341 { +func NewInlineResponse40341(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHeightE403) *InlineResponse40341 { this := InlineResponse40341{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40341) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40341) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40341) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40341) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40341) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40341) GetError() GetTransactionRequestDetailsE403 { +func (o *InlineResponse40341) GetError() ListOmniTransactionsByBlockHeightE403 { if o == nil { - var ret GetTransactionRequestDetailsE403 + var ret ListOmniTransactionsByBlockHeightE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40341) GetError() GetTransactionRequestDetailsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40341) GetErrorOk() (*GetTransactionRequestDetailsE403, bool) { - if o == nil { +func (o *InlineResponse40341) GetErrorOk() (*ListOmniTransactionsByBlockHeightE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40341) SetError(v GetTransactionRequestDetailsE403) { +func (o *InlineResponse40341) SetError(v ListOmniTransactionsByBlockHeightE403) { o.Error = v } diff --git a/model_inline_response_403_42.go b/model_inline_response_403_42.go index bd8215d..a9b1c2a 100644 --- a/model_inline_response_403_42.go +++ b/model_inline_response_403_42.go @@ -23,14 +23,14 @@ type InlineResponse40342 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListLatestMinedBlocksE403 `json:"error"` + Error GetLatestMinedXRPRippleBlockE403 `json:"error"` } // NewInlineResponse40342 instantiates a new InlineResponse40342 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40342(apiVersion string, requestId string, error_ ListLatestMinedBlocksE403) *InlineResponse40342 { +func NewInlineResponse40342(apiVersion string, requestId string, error_ GetLatestMinedXRPRippleBlockE403) *InlineResponse40342 { this := InlineResponse40342{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40342) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40342) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40342) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40342) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40342) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40342) GetError() ListLatestMinedBlocksE403 { +func (o *InlineResponse40342) GetError() GetLatestMinedXRPRippleBlockE403 { if o == nil { - var ret ListLatestMinedBlocksE403 + var ret GetLatestMinedXRPRippleBlockE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40342) GetError() ListLatestMinedBlocksE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40342) GetErrorOk() (*ListLatestMinedBlocksE403, bool) { - if o == nil { +func (o *InlineResponse40342) GetErrorOk() (*GetLatestMinedXRPRippleBlockE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40342) SetError(v ListLatestMinedBlocksE403) { +func (o *InlineResponse40342) SetError(v GetLatestMinedXRPRippleBlockE403) { o.Error = v } diff --git a/model_inline_response_403_43.go b/model_inline_response_403_43.go index 8206651..0e0fbd5 100644 --- a/model_inline_response_403_43.go +++ b/model_inline_response_403_43.go @@ -23,14 +23,14 @@ type InlineResponse40343 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error SyncHDWalletXPubYPubZPubE403 `json:"error"` + Error GetLatestMinedZilliqaBlockE403 `json:"error"` } // NewInlineResponse40343 instantiates a new InlineResponse40343 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40343(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE403) *InlineResponse40343 { +func NewInlineResponse40343(apiVersion string, requestId string, error_ GetLatestMinedZilliqaBlockE403) *InlineResponse40343 { this := InlineResponse40343{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40343) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40343) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40343) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40343) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40343) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40343) GetError() SyncHDWalletXPubYPubZPubE403 { +func (o *InlineResponse40343) GetError() GetLatestMinedZilliqaBlockE403 { if o == nil { - var ret SyncHDWalletXPubYPubZPubE403 + var ret GetLatestMinedZilliqaBlockE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40343) GetError() SyncHDWalletXPubYPubZPubE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40343) GetErrorOk() (*SyncHDWalletXPubYPubZPubE403, bool) { - if o == nil { +func (o *InlineResponse40343) GetErrorOk() (*GetLatestMinedZilliqaBlockE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40343) SetError(v SyncHDWalletXPubYPubZPubE403) { +func (o *InlineResponse40343) SetError(v GetLatestMinedZilliqaBlockE403) { o.Error = v } diff --git a/model_inline_response_403_44.go b/model_inline_response_403_44.go index 001c923..d8e3f7f 100644 --- a/model_inline_response_403_44.go +++ b/model_inline_response_403_44.go @@ -23,14 +23,14 @@ type InlineResponse40344 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListOmniTransactionsByBlockHashE403 `json:"error"` + Error GetTransactionRequestDetailsE403 `json:"error"` } // NewInlineResponse40344 instantiates a new InlineResponse40344 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40344(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE403) *InlineResponse40344 { +func NewInlineResponse40344(apiVersion string, requestId string, error_ GetTransactionRequestDetailsE403) *InlineResponse40344 { this := InlineResponse40344{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40344) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40344) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40344) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40344) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40344) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40344) GetError() ListOmniTransactionsByBlockHashE403 { +func (o *InlineResponse40344) GetError() GetTransactionRequestDetailsE403 { if o == nil { - var ret ListOmniTransactionsByBlockHashE403 + var ret GetTransactionRequestDetailsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40344) GetError() ListOmniTransactionsByBlockHashE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40344) GetErrorOk() (*ListOmniTransactionsByBlockHashE403, bool) { - if o == nil { +func (o *InlineResponse40344) GetErrorOk() (*GetTransactionRequestDetailsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40344) SetError(v ListOmniTransactionsByBlockHashE403) { +func (o *InlineResponse40344) SetError(v GetTransactionRequestDetailsE403) { o.Error = v } diff --git a/model_inline_response_403_45.go b/model_inline_response_403_45.go index fc6d93f..624f36c 100644 --- a/model_inline_response_403_45.go +++ b/model_inline_response_403_45.go @@ -23,14 +23,14 @@ type InlineResponse40345 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListWalletTransactionsE403 `json:"error"` + Error ListLatestMinedBlocksE403 `json:"error"` } // NewInlineResponse40345 instantiates a new InlineResponse40345 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40345(apiVersion string, requestId string, error_ ListWalletTransactionsE403) *InlineResponse40345 { +func NewInlineResponse40345(apiVersion string, requestId string, error_ ListLatestMinedBlocksE403) *InlineResponse40345 { this := InlineResponse40345{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40345) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40345) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40345) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40345) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40345) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40345) GetError() ListWalletTransactionsE403 { +func (o *InlineResponse40345) GetError() ListLatestMinedBlocksE403 { if o == nil { - var ret ListWalletTransactionsE403 + var ret ListLatestMinedBlocksE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40345) GetError() ListWalletTransactionsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40345) GetErrorOk() (*ListWalletTransactionsE403, bool) { - if o == nil { +func (o *InlineResponse40345) GetErrorOk() (*ListLatestMinedBlocksE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40345) SetError(v ListWalletTransactionsE403) { +func (o *InlineResponse40345) SetError(v ListLatestMinedBlocksE403) { o.Error = v } diff --git a/model_inline_response_403_46.go b/model_inline_response_403_46.go index 4de4a80..042c664 100644 --- a/model_inline_response_403_46.go +++ b/model_inline_response_403_46.go @@ -23,14 +23,14 @@ type InlineResponse40346 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetWalletTransactionDetailsByTransactionIDE403 `json:"error"` + Error SyncHDWalletXPubYPubZPubE403 `json:"error"` } // NewInlineResponse40346 instantiates a new InlineResponse40346 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40346(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE403) *InlineResponse40346 { +func NewInlineResponse40346(apiVersion string, requestId string, error_ SyncHDWalletXPubYPubZPubE403) *InlineResponse40346 { this := InlineResponse40346{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40346) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40346) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40346) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40346) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40346) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40346) GetError() GetWalletTransactionDetailsByTransactionIDE403 { +func (o *InlineResponse40346) GetError() SyncHDWalletXPubYPubZPubE403 { if o == nil { - var ret GetWalletTransactionDetailsByTransactionIDE403 + var ret SyncHDWalletXPubYPubZPubE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40346) GetError() GetWalletTransactionDetailsByTransactio // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40346) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE403, bool) { - if o == nil { +func (o *InlineResponse40346) GetErrorOk() (*SyncHDWalletXPubYPubZPubE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40346) SetError(v GetWalletTransactionDetailsByTransactionIDE403) { +func (o *InlineResponse40346) SetError(v SyncHDWalletXPubYPubZPubE403) { o.Error = v } diff --git a/model_inline_response_403_47.go b/model_inline_response_403_47.go index 5d5dabf..e1073b0 100644 --- a/model_inline_response_403_47.go +++ b/model_inline_response_403_47.go @@ -23,14 +23,14 @@ type InlineResponse40347 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetHDWalletXPubYPubZPubDetailsE403 `json:"error"` + Error ListOmniTransactionsByBlockHashE403 `json:"error"` } // NewInlineResponse40347 instantiates a new InlineResponse40347 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40347(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE403) *InlineResponse40347 { +func NewInlineResponse40347(apiVersion string, requestId string, error_ ListOmniTransactionsByBlockHashE403) *InlineResponse40347 { this := InlineResponse40347{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40347) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40347) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40347) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40347) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40347) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40347) GetError() GetHDWalletXPubYPubZPubDetailsE403 { +func (o *InlineResponse40347) GetError() ListOmniTransactionsByBlockHashE403 { if o == nil { - var ret GetHDWalletXPubYPubZPubDetailsE403 + var ret ListOmniTransactionsByBlockHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40347) GetError() GetHDWalletXPubYPubZPubDetailsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40347) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE403, bool) { - if o == nil { +func (o *InlineResponse40347) GetErrorOk() (*ListOmniTransactionsByBlockHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40347) SetError(v GetHDWalletXPubYPubZPubDetailsE403) { +func (o *InlineResponse40347) SetError(v ListOmniTransactionsByBlockHashE403) { o.Error = v } diff --git a/model_inline_response_403_48.go b/model_inline_response_403_48.go index 6b50d1e..9da8164 100644 --- a/model_inline_response_403_48.go +++ b/model_inline_response_403_48.go @@ -23,14 +23,14 @@ type InlineResponse40348 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListInternalTransactionDetailsByTransactionHashE403 `json:"error"` + Error ListWalletTransactionsE403 `json:"error"` } // NewInlineResponse40348 instantiates a new InlineResponse40348 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40348(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE403) *InlineResponse40348 { +func NewInlineResponse40348(apiVersion string, requestId string, error_ ListWalletTransactionsE403) *InlineResponse40348 { this := InlineResponse40348{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40348) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40348) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40348) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40348) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40348) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40348) GetError() ListInternalTransactionDetailsByTransactionHashE403 { +func (o *InlineResponse40348) GetError() ListWalletTransactionsE403 { if o == nil { - var ret ListInternalTransactionDetailsByTransactionHashE403 + var ret ListWalletTransactionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40348) GetError() ListInternalTransactionDetailsByTransac // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40348) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE403, bool) { - if o == nil { +func (o *InlineResponse40348) GetErrorOk() (*ListWalletTransactionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40348) SetError(v ListInternalTransactionDetailsByTransactionHashE403) { +func (o *InlineResponse40348) SetError(v ListWalletTransactionsE403) { o.Error = v } diff --git a/model_inline_response_403_49.go b/model_inline_response_403_49.go index a4d0914..af6505b 100644 --- a/model_inline_response_403_49.go +++ b/model_inline_response_403_49.go @@ -23,14 +23,14 @@ type InlineResponse40349 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListHDWalletXPubYPubZPubTransactionsE403 `json:"error"` + Error GetWalletTransactionDetailsByTransactionIDE403 `json:"error"` } // NewInlineResponse40349 instantiates a new InlineResponse40349 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40349(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE403) *InlineResponse40349 { +func NewInlineResponse40349(apiVersion string, requestId string, error_ GetWalletTransactionDetailsByTransactionIDE403) *InlineResponse40349 { this := InlineResponse40349{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40349) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40349) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40349) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40349) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40349) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40349) GetError() ListHDWalletXPubYPubZPubTransactionsE403 { +func (o *InlineResponse40349) GetError() GetWalletTransactionDetailsByTransactionIDE403 { if o == nil { - var ret ListHDWalletXPubYPubZPubTransactionsE403 + var ret GetWalletTransactionDetailsByTransactionIDE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40349) GetError() ListHDWalletXPubYPubZPubTransactionsE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40349) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE403, bool) { - if o == nil { +func (o *InlineResponse40349) GetErrorOk() (*GetWalletTransactionDetailsByTransactionIDE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40349) SetError(v ListHDWalletXPubYPubZPubTransactionsE403) { +func (o *InlineResponse40349) SetError(v GetWalletTransactionDetailsByTransactionIDE403) { o.Error = v } diff --git a/model_inline_response_403_5.go b/model_inline_response_403_5.go index d908442..d15f2d2 100644 --- a/model_inline_response_403_5.go +++ b/model_inline_response_403_5.go @@ -59,7 +59,7 @@ func (o *InlineResponse4035) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4035) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4035) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4035) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4035) GetError() ListOmniTransactionsByAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4035) GetErrorOk() (*ListOmniTransactionsByAddressE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_50.go b/model_inline_response_403_50.go index a5e79c6..80a69d8 100644 --- a/model_inline_response_403_50.go +++ b/model_inline_response_403_50.go @@ -23,14 +23,14 @@ type InlineResponse40350 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetInternalTransactionByTransactionHashAndOperationIdE403 `json:"error"` + Error GetHDWalletXPubYPubZPubAssetsE403 `json:"error"` } // NewInlineResponse40350 instantiates a new InlineResponse40350 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40350(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE403) *InlineResponse40350 { +func NewInlineResponse40350(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubAssetsE403) *InlineResponse40350 { this := InlineResponse40350{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40350) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40350) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40350) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40350) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40350) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40350) GetError() GetInternalTransactionByTransactionHashAndOperationIdE403 { +func (o *InlineResponse40350) GetError() GetHDWalletXPubYPubZPubAssetsE403 { if o == nil { - var ret GetInternalTransactionByTransactionHashAndOperationIdE403 + var ret GetHDWalletXPubYPubZPubAssetsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40350) GetError() GetInternalTransactionByTransactionHash // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40350) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE403, bool) { - if o == nil { +func (o *InlineResponse40350) GetErrorOk() (*GetHDWalletXPubYPubZPubAssetsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40350) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE403) { +func (o *InlineResponse40350) SetError(v GetHDWalletXPubYPubZPubAssetsE403) { o.Error = v } diff --git a/model_inline_response_403_51.go b/model_inline_response_403_51.go index 1bdc6df..0826bc6 100644 --- a/model_inline_response_403_51.go +++ b/model_inline_response_403_51.go @@ -23,14 +23,14 @@ type InlineResponse40351 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListInternalTransactionsByAddressE403 `json:"error"` + Error GetHDWalletXPubYPubZPubDetailsE403 `json:"error"` } // NewInlineResponse40351 instantiates a new InlineResponse40351 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40351(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE403) *InlineResponse40351 { +func NewInlineResponse40351(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE403) *InlineResponse40351 { this := InlineResponse40351{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40351) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40351) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40351) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40351) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40351) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40351) GetError() ListInternalTransactionsByAddressE403 { +func (o *InlineResponse40351) GetError() GetHDWalletXPubYPubZPubDetailsE403 { if o == nil { - var ret ListInternalTransactionsByAddressE403 + var ret GetHDWalletXPubYPubZPubDetailsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40351) GetError() ListInternalTransactionsByAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40351) GetErrorOk() (*ListInternalTransactionsByAddressE403, bool) { - if o == nil { +func (o *InlineResponse40351) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40351) SetError(v ListInternalTransactionsByAddressE403) { +func (o *InlineResponse40351) SetError(v GetHDWalletXPubYPubZPubDetailsE403) { o.Error = v } diff --git a/model_inline_response_403_52.go b/model_inline_response_403_52.go index b90d80d..f8c8f87 100644 --- a/model_inline_response_403_52.go +++ b/model_inline_response_403_52.go @@ -23,14 +23,14 @@ type InlineResponse40352 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListUnspentTransactionOutputsByAddressE403 `json:"error"` + Error ListInternalTransactionDetailsByTransactionHashE403 `json:"error"` } // NewInlineResponse40352 instantiates a new InlineResponse40352 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40352(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE403) *InlineResponse40352 { +func NewInlineResponse40352(apiVersion string, requestId string, error_ ListInternalTransactionDetailsByTransactionHashE403) *InlineResponse40352 { this := InlineResponse40352{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40352) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40352) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40352) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40352) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40352) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40352) GetError() ListUnspentTransactionOutputsByAddressE403 { +func (o *InlineResponse40352) GetError() ListInternalTransactionDetailsByTransactionHashE403 { if o == nil { - var ret ListUnspentTransactionOutputsByAddressE403 + var ret ListInternalTransactionDetailsByTransactionHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40352) GetError() ListUnspentTransactionOutputsByAddressE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40352) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE403, bool) { - if o == nil { +func (o *InlineResponse40352) GetErrorOk() (*ListInternalTransactionDetailsByTransactionHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40352) SetError(v ListUnspentTransactionOutputsByAddressE403) { +func (o *InlineResponse40352) SetError(v ListInternalTransactionDetailsByTransactionHashE403) { o.Error = v } diff --git a/model_inline_response_403_53.go b/model_inline_response_403_53.go index 10ec4f1..2a05034 100644 --- a/model_inline_response_403_53.go +++ b/model_inline_response_403_53.go @@ -23,14 +23,14 @@ type InlineResponse40353 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetFeeRecommendationsE403 `json:"error"` + Error ListHDWalletXPubYPubZPubTransactionsE403 `json:"error"` } // NewInlineResponse40353 instantiates a new InlineResponse40353 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40353(apiVersion string, requestId string, error_ GetFeeRecommendationsE403) *InlineResponse40353 { +func NewInlineResponse40353(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE403) *InlineResponse40353 { this := InlineResponse40353{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40353) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40353) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40353) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40353) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40353) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40353) GetError() GetFeeRecommendationsE403 { +func (o *InlineResponse40353) GetError() ListHDWalletXPubYPubZPubTransactionsE403 { if o == nil { - var ret GetFeeRecommendationsE403 + var ret ListHDWalletXPubYPubZPubTransactionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40353) GetError() GetFeeRecommendationsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40353) GetErrorOk() (*GetFeeRecommendationsE403, bool) { - if o == nil { +func (o *InlineResponse40353) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40353) SetError(v GetFeeRecommendationsE403) { +func (o *InlineResponse40353) SetError(v ListHDWalletXPubYPubZPubTransactionsE403) { o.Error = v } diff --git a/model_inline_response_403_54.go b/model_inline_response_403_54.go index 974a472..4c6fb1a 100644 --- a/model_inline_response_403_54.go +++ b/model_inline_response_403_54.go @@ -23,14 +23,14 @@ type InlineResponse40354 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensTransfersByTransactionHashE403 `json:"error"` + Error GetInternalTransactionByTransactionHashAndOperationIdE403 `json:"error"` } // NewInlineResponse40354 instantiates a new InlineResponse40354 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40354(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE403) *InlineResponse40354 { +func NewInlineResponse40354(apiVersion string, requestId string, error_ GetInternalTransactionByTransactionHashAndOperationIdE403) *InlineResponse40354 { this := InlineResponse40354{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40354) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40354) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40354) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40354) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40354) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40354) GetError() ListTokensTransfersByTransactionHashE403 { +func (o *InlineResponse40354) GetError() GetInternalTransactionByTransactionHashAndOperationIdE403 { if o == nil { - var ret ListTokensTransfersByTransactionHashE403 + var ret GetInternalTransactionByTransactionHashAndOperationIdE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40354) GetError() ListTokensTransfersByTransactionHashE40 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40354) GetErrorOk() (*ListTokensTransfersByTransactionHashE403, bool) { - if o == nil { +func (o *InlineResponse40354) GetErrorOk() (*GetInternalTransactionByTransactionHashAndOperationIdE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40354) SetError(v ListTokensTransfersByTransactionHashE403) { +func (o *InlineResponse40354) SetError(v GetInternalTransactionByTransactionHashAndOperationIdE403) { o.Error = v } diff --git a/model_inline_response_403_55.go b/model_inline_response_403_55.go index c66e003..de61615 100644 --- a/model_inline_response_403_55.go +++ b/model_inline_response_403_55.go @@ -23,14 +23,14 @@ type InlineResponse40355 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListConfirmedTokensTransfersByAddressE403 `json:"error"` + Error ListHDWalletXPubYPubZPubUTXOsE403 `json:"error"` } // NewInlineResponse40355 instantiates a new InlineResponse40355 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40355(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE403) *InlineResponse40355 { +func NewInlineResponse40355(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubUTXOsE403) *InlineResponse40355 { this := InlineResponse40355{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40355) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40355) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40355) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40355) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40355) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40355) GetError() ListConfirmedTokensTransfersByAddressE403 { +func (o *InlineResponse40355) GetError() ListHDWalletXPubYPubZPubUTXOsE403 { if o == nil { - var ret ListConfirmedTokensTransfersByAddressE403 + var ret ListHDWalletXPubYPubZPubUTXOsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40355) GetError() ListConfirmedTokensTransfersByAddressE4 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40355) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE403, bool) { - if o == nil { +func (o *InlineResponse40355) GetErrorOk() (*ListHDWalletXPubYPubZPubUTXOsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40355) SetError(v ListConfirmedTokensTransfersByAddressE403) { +func (o *InlineResponse40355) SetError(v ListHDWalletXPubYPubZPubUTXOsE403) { o.Error = v } diff --git a/model_inline_response_403_56.go b/model_inline_response_403_56.go index 535fc71..afee21f 100644 --- a/model_inline_response_403_56.go +++ b/model_inline_response_403_56.go @@ -23,14 +23,14 @@ type InlineResponse40356 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensByAddressE403 `json:"error"` + Error ListInternalTransactionsByAddressE403 `json:"error"` } // NewInlineResponse40356 instantiates a new InlineResponse40356 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40356(apiVersion string, requestId string, error_ ListTokensByAddressE403) *InlineResponse40356 { +func NewInlineResponse40356(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressE403) *InlineResponse40356 { this := InlineResponse40356{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40356) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40356) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40356) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40356) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40356) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40356) GetError() ListTokensByAddressE403 { +func (o *InlineResponse40356) GetError() ListInternalTransactionsByAddressE403 { if o == nil { - var ret ListTokensByAddressE403 + var ret ListInternalTransactionsByAddressE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40356) GetError() ListTokensByAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40356) GetErrorOk() (*ListTokensByAddressE403, bool) { - if o == nil { +func (o *InlineResponse40356) GetErrorOk() (*ListInternalTransactionsByAddressE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40356) SetError(v ListTokensByAddressE403) { +func (o *InlineResponse40356) SetError(v ListInternalTransactionsByAddressE403) { o.Error = v } diff --git a/model_inline_response_403_57.go b/model_inline_response_403_57.go index 7dab362..999f782 100644 --- a/model_inline_response_403_57.go +++ b/model_inline_response_403_57.go @@ -23,14 +23,14 @@ type InlineResponse40357 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTokenDetailsByContractAddressE403 `json:"error"` + Error GetFeeRecommendationsE403 `json:"error"` } // NewInlineResponse40357 instantiates a new InlineResponse40357 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40357(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE403) *InlineResponse40357 { +func NewInlineResponse40357(apiVersion string, requestId string, error_ GetFeeRecommendationsE403) *InlineResponse40357 { this := InlineResponse40357{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40357) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40357) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40357) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40357) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40357) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40357) GetError() GetTokenDetailsByContractAddressE403 { +func (o *InlineResponse40357) GetError() GetFeeRecommendationsE403 { if o == nil { - var ret GetTokenDetailsByContractAddressE403 + var ret GetFeeRecommendationsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40357) GetError() GetTokenDetailsByContractAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40357) GetErrorOk() (*GetTokenDetailsByContractAddressE403, bool) { - if o == nil { +func (o *InlineResponse40357) GetErrorOk() (*GetFeeRecommendationsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40357) SetError(v GetTokenDetailsByContractAddressE403) { +func (o *InlineResponse40357) SetError(v GetFeeRecommendationsE403) { o.Error = v } diff --git a/model_inline_response_403_58.go b/model_inline_response_403_58.go index a4155b3..c18be1e 100644 --- a/model_inline_response_403_58.go +++ b/model_inline_response_403_58.go @@ -23,14 +23,14 @@ type InlineResponse40358 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewUnconfirmedCoinsTransactionsE403 `json:"error"` + Error GetNextAvailableNonceE403 `json:"error"` } // NewInlineResponse40358 instantiates a new InlineResponse40358 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40358(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE403) *InlineResponse40358 { +func NewInlineResponse40358(apiVersion string, requestId string, error_ GetNextAvailableNonceE403) *InlineResponse40358 { this := InlineResponse40358{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40358) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40358) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40358) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40358) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40358) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40358) GetError() NewUnconfirmedCoinsTransactionsE403 { +func (o *InlineResponse40358) GetError() GetNextAvailableNonceE403 { if o == nil { - var ret NewUnconfirmedCoinsTransactionsE403 + var ret GetNextAvailableNonceE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40358) GetError() NewUnconfirmedCoinsTransactionsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40358) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE403, bool) { - if o == nil { +func (o *InlineResponse40358) GetErrorOk() (*GetNextAvailableNonceE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40358) SetError(v NewUnconfirmedCoinsTransactionsE403) { +func (o *InlineResponse40358) SetError(v GetNextAvailableNonceE403) { o.Error = v } diff --git a/model_inline_response_403_59.go b/model_inline_response_403_59.go index e447404..6055bc8 100644 --- a/model_inline_response_403_59.go +++ b/model_inline_response_403_59.go @@ -23,14 +23,14 @@ type InlineResponse40359 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewUnconfirmedTokensTransactionsE403 `json:"error"` + Error ListUnspentTransactionOutputsByAddressE403 `json:"error"` } // NewInlineResponse40359 instantiates a new InlineResponse40359 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40359(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE403) *InlineResponse40359 { +func NewInlineResponse40359(apiVersion string, requestId string, error_ ListUnspentTransactionOutputsByAddressE403) *InlineResponse40359 { this := InlineResponse40359{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40359) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40359) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40359) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40359) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40359) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40359) GetError() NewUnconfirmedTokensTransactionsE403 { +func (o *InlineResponse40359) GetError() ListUnspentTransactionOutputsByAddressE403 { if o == nil { - var ret NewUnconfirmedTokensTransactionsE403 + var ret ListUnspentTransactionOutputsByAddressE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40359) GetError() NewUnconfirmedTokensTransactionsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40359) GetErrorOk() (*NewUnconfirmedTokensTransactionsE403, bool) { - if o == nil { +func (o *InlineResponse40359) GetErrorOk() (*ListUnspentTransactionOutputsByAddressE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40359) SetError(v NewUnconfirmedTokensTransactionsE403) { +func (o *InlineResponse40359) SetError(v ListUnspentTransactionOutputsByAddressE403) { o.Error = v } diff --git a/model_inline_response_403_6.go b/model_inline_response_403_6.go index 0f23cad..0e7f823 100644 --- a/model_inline_response_403_6.go +++ b/model_inline_response_403_6.go @@ -59,7 +59,7 @@ func (o *InlineResponse4036) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4036) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4036) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4036) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4036) GetError() GetXRPRippleTransactionDetailsByTransact // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4036) GetErrorOk() (*GetXRPRippleTransactionDetailsByTransactionIDE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_60.go b/model_inline_response_403_60.go index f2c56d4..723360b 100644 --- a/model_inline_response_403_60.go +++ b/model_inline_response_403_60.go @@ -23,14 +23,14 @@ type InlineResponse40360 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedCoinsTransactionsE403 `json:"error"` + Error ListTokensTransfersByTransactionHashE403 `json:"error"` } // NewInlineResponse40360 instantiates a new InlineResponse40360 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40360(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE403) *InlineResponse40360 { +func NewInlineResponse40360(apiVersion string, requestId string, error_ ListTokensTransfersByTransactionHashE403) *InlineResponse40360 { this := InlineResponse40360{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40360) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40360) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40360) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40360) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40360) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40360) GetError() NewConfirmedCoinsTransactionsE403 { +func (o *InlineResponse40360) GetError() ListTokensTransfersByTransactionHashE403 { if o == nil { - var ret NewConfirmedCoinsTransactionsE403 + var ret ListTokensTransfersByTransactionHashE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40360) GetError() NewConfirmedCoinsTransactionsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40360) GetErrorOk() (*NewConfirmedCoinsTransactionsE403, bool) { - if o == nil { +func (o *InlineResponse40360) GetErrorOk() (*ListTokensTransfersByTransactionHashE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40360) SetError(v NewConfirmedCoinsTransactionsE403) { +func (o *InlineResponse40360) SetError(v ListTokensTransfersByTransactionHashE403) { o.Error = v } diff --git a/model_inline_response_403_61.go b/model_inline_response_403_61.go index 8c9eb31..86807da 100644 --- a/model_inline_response_403_61.go +++ b/model_inline_response_403_61.go @@ -23,14 +23,14 @@ type InlineResponse40361 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedTokensTransactionsE403 `json:"error"` + Error ListConfirmedTransactionsByAddressAndTimeRangeE403 `json:"error"` } // NewInlineResponse40361 instantiates a new InlineResponse40361 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40361(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE403) *InlineResponse40361 { +func NewInlineResponse40361(apiVersion string, requestId string, error_ ListConfirmedTransactionsByAddressAndTimeRangeE403) *InlineResponse40361 { this := InlineResponse40361{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40361) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40361) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40361) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40361) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40361) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40361) GetError() NewConfirmedTokensTransactionsE403 { +func (o *InlineResponse40361) GetError() ListConfirmedTransactionsByAddressAndTimeRangeE403 { if o == nil { - var ret NewConfirmedTokensTransactionsE403 + var ret ListConfirmedTransactionsByAddressAndTimeRangeE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40361) GetError() NewConfirmedTokensTransactionsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40361) GetErrorOk() (*NewConfirmedTokensTransactionsE403, bool) { - if o == nil { +func (o *InlineResponse40361) GetErrorOk() (*ListConfirmedTransactionsByAddressAndTimeRangeE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40361) SetError(v NewConfirmedTokensTransactionsE403) { +func (o *InlineResponse40361) SetError(v ListConfirmedTransactionsByAddressAndTimeRangeE403) { o.Error = v } diff --git a/model_inline_response_403_62.go b/model_inline_response_403_62.go index e4a7fda..4ac3f13 100644 --- a/model_inline_response_403_62.go +++ b/model_inline_response_403_62.go @@ -23,14 +23,14 @@ type InlineResponse40362 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedTokensTransactionsAndEachConfirmationE403 `json:"error"` + Error ListConfirmedTokensTransfersByAddressAndTimeRangeE403 `json:"error"` } // NewInlineResponse40362 instantiates a new InlineResponse40362 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40362(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE403) *InlineResponse40362 { +func NewInlineResponse40362(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressAndTimeRangeE403) *InlineResponse40362 { this := InlineResponse40362{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40362) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40362) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40362) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40362) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40362) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40362) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE403 { +func (o *InlineResponse40362) GetError() ListConfirmedTokensTransfersByAddressAndTimeRangeE403 { if o == nil { - var ret NewConfirmedTokensTransactionsAndEachConfirmationE403 + var ret ListConfirmedTokensTransfersByAddressAndTimeRangeE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40362) GetError() NewConfirmedTokensTransactionsAndEachCo // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40362) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE403, bool) { - if o == nil { +func (o *InlineResponse40362) GetErrorOk() (*ListConfirmedTokensTransfersByAddressAndTimeRangeE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40362) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE403) { +func (o *InlineResponse40362) SetError(v ListConfirmedTokensTransfersByAddressAndTimeRangeE403) { o.Error = v } diff --git a/model_inline_response_403_63.go b/model_inline_response_403_63.go index 83cb64c..bdaf031 100644 --- a/model_inline_response_403_63.go +++ b/model_inline_response_403_63.go @@ -23,14 +23,14 @@ type InlineResponse40363 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedCoinsTransactionsAndEachConfirmationE403 `json:"error"` + Error ListInternalTransactionsByAddressAndTimeRangeE403 `json:"error"` } // NewInlineResponse40363 instantiates a new InlineResponse40363 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40363(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE403) *InlineResponse40363 { +func NewInlineResponse40363(apiVersion string, requestId string, error_ ListInternalTransactionsByAddressAndTimeRangeE403) *InlineResponse40363 { this := InlineResponse40363{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40363) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40363) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40363) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40363) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40363) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40363) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE403 { +func (o *InlineResponse40363) GetError() ListInternalTransactionsByAddressAndTimeRangeE403 { if o == nil { - var ret NewConfirmedCoinsTransactionsAndEachConfirmationE403 + var ret ListInternalTransactionsByAddressAndTimeRangeE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40363) GetError() NewConfirmedCoinsTransactionsAndEachCon // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40363) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE403, bool) { - if o == nil { +func (o *InlineResponse40363) GetErrorOk() (*ListInternalTransactionsByAddressAndTimeRangeE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40363) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE403) { +func (o *InlineResponse40363) SetError(v ListInternalTransactionsByAddressAndTimeRangeE403) { o.Error = v } diff --git a/model_inline_response_403_64.go b/model_inline_response_403_64.go index 86ac9a7..0a8a08d 100644 --- a/model_inline_response_403_64.go +++ b/model_inline_response_403_64.go @@ -23,14 +23,14 @@ type InlineResponse40364 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error MinedTransactionE403 `json:"error"` + Error ListConfirmedTokensTransfersByAddressE403 `json:"error"` } // NewInlineResponse40364 instantiates a new InlineResponse40364 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40364(apiVersion string, requestId string, error_ MinedTransactionE403) *InlineResponse40364 { +func NewInlineResponse40364(apiVersion string, requestId string, error_ ListConfirmedTokensTransfersByAddressE403) *InlineResponse40364 { this := InlineResponse40364{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40364) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40364) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40364) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40364) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40364) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40364) GetError() MinedTransactionE403 { +func (o *InlineResponse40364) GetError() ListConfirmedTokensTransfersByAddressE403 { if o == nil { - var ret MinedTransactionE403 + var ret ListConfirmedTokensTransfersByAddressE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40364) GetError() MinedTransactionE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40364) GetErrorOk() (*MinedTransactionE403, bool) { - if o == nil { +func (o *InlineResponse40364) GetErrorOk() (*ListConfirmedTokensTransfersByAddressE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40364) SetError(v MinedTransactionE403) { +func (o *InlineResponse40364) SetError(v ListConfirmedTokensTransfersByAddressE403) { o.Error = v } diff --git a/model_inline_response_403_65.go b/model_inline_response_403_65.go index 7d52f98..62f41ed 100644 --- a/model_inline_response_403_65.go +++ b/model_inline_response_403_65.go @@ -23,14 +23,14 @@ type InlineResponse40365 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewBlockE403 `json:"error"` + Error GetRawTransactionDataE403 `json:"error"` } // NewInlineResponse40365 instantiates a new InlineResponse40365 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40365(apiVersion string, requestId string, error_ NewBlockE403) *InlineResponse40365 { +func NewInlineResponse40365(apiVersion string, requestId string, error_ GetRawTransactionDataE403) *InlineResponse40365 { this := InlineResponse40365{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40365) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40365) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40365) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40365) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40365) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40365) GetError() NewBlockE403 { +func (o *InlineResponse40365) GetError() GetRawTransactionDataE403 { if o == nil { - var ret NewBlockE403 + var ret GetRawTransactionDataE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40365) GetError() NewBlockE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40365) GetErrorOk() (*NewBlockE403, bool) { - if o == nil { +func (o *InlineResponse40365) GetErrorOk() (*GetRawTransactionDataE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40365) SetError(v NewBlockE403) { +func (o *InlineResponse40365) SetError(v GetRawTransactionDataE403) { o.Error = v } diff --git a/model_inline_response_403_66.go b/model_inline_response_403_66.go index 28c6fae..79167c2 100644 --- a/model_inline_response_403_66.go +++ b/model_inline_response_403_66.go @@ -23,14 +23,14 @@ type InlineResponse40366 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListBlockchainEventsSubscriptionsE403 `json:"error"` + Error ListUnconfirmedTokensTransfersByAddressE403 `json:"error"` } // NewInlineResponse40366 instantiates a new InlineResponse40366 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40366(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE403) *InlineResponse40366 { +func NewInlineResponse40366(apiVersion string, requestId string, error_ ListUnconfirmedTokensTransfersByAddressE403) *InlineResponse40366 { this := InlineResponse40366{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40366) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40366) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40366) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40366) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40366) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40366) GetError() ListBlockchainEventsSubscriptionsE403 { +func (o *InlineResponse40366) GetError() ListUnconfirmedTokensTransfersByAddressE403 { if o == nil { - var ret ListBlockchainEventsSubscriptionsE403 + var ret ListUnconfirmedTokensTransfersByAddressE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40366) GetError() ListBlockchainEventsSubscriptionsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40366) GetErrorOk() (*ListBlockchainEventsSubscriptionsE403, bool) { - if o == nil { +func (o *InlineResponse40366) GetErrorOk() (*ListUnconfirmedTokensTransfersByAddressE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40366) SetError(v ListBlockchainEventsSubscriptionsE403) { +func (o *InlineResponse40366) SetError(v ListUnconfirmedTokensTransfersByAddressE403) { o.Error = v } diff --git a/model_inline_response_403_67.go b/model_inline_response_403_67.go index de1b003..b89049e 100644 --- a/model_inline_response_403_67.go +++ b/model_inline_response_403_67.go @@ -23,14 +23,14 @@ type InlineResponse40367 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ActivateBlockchainEventSubscriptionE403 `json:"error"` + Error ListTokensByAddressE403 `json:"error"` } // NewInlineResponse40367 instantiates a new InlineResponse40367 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40367(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE403) *InlineResponse40367 { +func NewInlineResponse40367(apiVersion string, requestId string, error_ ListTokensByAddressE403) *InlineResponse40367 { this := InlineResponse40367{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40367) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40367) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40367) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40367) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40367) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40367) GetError() ActivateBlockchainEventSubscriptionE403 { +func (o *InlineResponse40367) GetError() ListTokensByAddressE403 { if o == nil { - var ret ActivateBlockchainEventSubscriptionE403 + var ret ListTokensByAddressE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40367) GetError() ActivateBlockchainEventSubscriptionE403 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40367) GetErrorOk() (*ActivateBlockchainEventSubscriptionE403, bool) { - if o == nil { +func (o *InlineResponse40367) GetErrorOk() (*ListTokensByAddressE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40367) SetError(v ActivateBlockchainEventSubscriptionE403) { +func (o *InlineResponse40367) SetError(v ListTokensByAddressE403) { o.Error = v } diff --git a/model_inline_response_403_68.go b/model_inline_response_403_68.go index 162f506..33cbbe9 100644 --- a/model_inline_response_403_68.go +++ b/model_inline_response_403_68.go @@ -23,14 +23,14 @@ type InlineResponse40368 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteBlockchainEventSubscriptionE403 `json:"error"` + Error EstimateTransactionSmartFeeE403 `json:"error"` } // NewInlineResponse40368 instantiates a new InlineResponse40368 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40368(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE403) *InlineResponse40368 { +func NewInlineResponse40368(apiVersion string, requestId string, error_ EstimateTransactionSmartFeeE403) *InlineResponse40368 { this := InlineResponse40368{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40368) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40368) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40368) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40368) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40368) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40368) GetError() DeleteBlockchainEventSubscriptionE403 { +func (o *InlineResponse40368) GetError() EstimateTransactionSmartFeeE403 { if o == nil { - var ret DeleteBlockchainEventSubscriptionE403 + var ret EstimateTransactionSmartFeeE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40368) GetError() DeleteBlockchainEventSubscriptionE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40368) GetErrorOk() (*DeleteBlockchainEventSubscriptionE403, bool) { - if o == nil { +func (o *InlineResponse40368) GetErrorOk() (*EstimateTransactionSmartFeeE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40368) SetError(v DeleteBlockchainEventSubscriptionE403) { +func (o *InlineResponse40368) SetError(v EstimateTransactionSmartFeeE403) { o.Error = v } diff --git a/model_inline_response_403_69.go b/model_inline_response_403_69.go index 4048b89..0beaf13 100644 --- a/model_inline_response_403_69.go +++ b/model_inline_response_403_69.go @@ -23,14 +23,14 @@ type InlineResponse40369 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAddressDetailsFromCallbackE403 `json:"error"` + Error GetTokenDetailsByContractAddressE403 `json:"error"` } // NewInlineResponse40369 instantiates a new InlineResponse40369 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40369(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE403) *InlineResponse40369 { +func NewInlineResponse40369(apiVersion string, requestId string, error_ GetTokenDetailsByContractAddressE403) *InlineResponse40369 { this := InlineResponse40369{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40369) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40369) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40369) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40369) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40369) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40369) GetError() GetAddressDetailsFromCallbackE403 { +func (o *InlineResponse40369) GetError() GetTokenDetailsByContractAddressE403 { if o == nil { - var ret GetAddressDetailsFromCallbackE403 + var ret GetTokenDetailsByContractAddressE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40369) GetError() GetAddressDetailsFromCallbackE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40369) GetErrorOk() (*GetAddressDetailsFromCallbackE403, bool) { - if o == nil { +func (o *InlineResponse40369) GetErrorOk() (*GetTokenDetailsByContractAddressE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40369) SetError(v GetAddressDetailsFromCallbackE403) { +func (o *InlineResponse40369) SetError(v GetTokenDetailsByContractAddressE403) { o.Error = v } diff --git a/model_inline_response_403_7.go b/model_inline_response_403_7.go index 75c7a11..e21f302 100644 --- a/model_inline_response_403_7.go +++ b/model_inline_response_403_7.go @@ -59,7 +59,7 @@ func (o *InlineResponse4037) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4037) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4037) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4037) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4037) GetError() ListDepositAddressesE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4037) GetErrorOk() (*ListDepositAddressesE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_70.go b/model_inline_response_403_70.go index 1e7e781..69fe05f 100644 --- a/model_inline_response_403_70.go +++ b/model_inline_response_403_70.go @@ -23,14 +23,14 @@ type InlineResponse40370 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetTransactionDetailsByTransactionIDFromCallbackE403 `json:"error"` + Error DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 `json:"error"` } // NewInlineResponse40370 instantiates a new InlineResponse40370 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40370(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE403) *InlineResponse40370 { +func NewInlineResponse40370(apiVersion string, requestId string, error_ DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) *InlineResponse40370 { this := InlineResponse40370{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40370) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40370) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40370) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40370) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40370) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40370) GetError() GetTransactionDetailsByTransactionIDFromCallbackE403 { +func (o *InlineResponse40370) GetError() DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 { if o == nil { - var ret GetTransactionDetailsByTransactionIDFromCallbackE403 + var ret DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40370) GetError() GetTransactionDetailsByTransactionIDFro // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40370) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE403, bool) { - if o == nil { +func (o *InlineResponse40370) GetErrorOk() (*DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40370) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE403) { +func (o *InlineResponse40370) SetError(v DeriveHDWalletXPubYPubZPubChangeOrReceivingAddressesE403) { o.Error = v } diff --git a/model_inline_response_403_71.go b/model_inline_response_403_71.go index fce7e12..6c49878 100644 --- a/model_inline_response_403_71.go +++ b/model_inline_response_403_71.go @@ -23,14 +23,14 @@ type InlineResponse40371 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHashFromCallbackE403 `json:"error"` + Error NewUnconfirmedCoinsTransactionsE403 `json:"error"` } // NewInlineResponse40371 instantiates a new InlineResponse40371 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40371(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE403) *InlineResponse40371 { +func NewInlineResponse40371(apiVersion string, requestId string, error_ NewUnconfirmedCoinsTransactionsE403) *InlineResponse40371 { this := InlineResponse40371{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40371) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40371) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40371) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40371) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40371) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40371) GetError() GetBlockDetailsByBlockHashFromCallbackE403 { +func (o *InlineResponse40371) GetError() NewUnconfirmedCoinsTransactionsE403 { if o == nil { - var ret GetBlockDetailsByBlockHashFromCallbackE403 + var ret NewUnconfirmedCoinsTransactionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40371) GetError() GetBlockDetailsByBlockHashFromCallbackE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40371) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE403, bool) { - if o == nil { +func (o *InlineResponse40371) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40371) SetError(v GetBlockDetailsByBlockHashFromCallbackE403) { +func (o *InlineResponse40371) SetError(v NewUnconfirmedCoinsTransactionsE403) { o.Error = v } diff --git a/model_inline_response_403_72.go b/model_inline_response_403_72.go index 2c29705..edc0f39 100644 --- a/model_inline_response_403_72.go +++ b/model_inline_response_403_72.go @@ -23,14 +23,14 @@ type InlineResponse40372 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetBlockDetailsByBlockHeightFromCallbackE403 `json:"error"` + Error NewUnconfirmedTokensTransactionsE403 `json:"error"` } // NewInlineResponse40372 instantiates a new InlineResponse40372 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40372(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE403) *InlineResponse40372 { +func NewInlineResponse40372(apiVersion string, requestId string, error_ NewUnconfirmedTokensTransactionsE403) *InlineResponse40372 { this := InlineResponse40372{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40372) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40372) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40372) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40372) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40372) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40372) GetError() GetBlockDetailsByBlockHeightFromCallbackE403 { +func (o *InlineResponse40372) GetError() NewUnconfirmedTokensTransactionsE403 { if o == nil { - var ret GetBlockDetailsByBlockHeightFromCallbackE403 + var ret NewUnconfirmedTokensTransactionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40372) GetError() GetBlockDetailsByBlockHeightFromCallbac // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40372) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE403, bool) { - if o == nil { +func (o *InlineResponse40372) GetErrorOk() (*NewUnconfirmedTokensTransactionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40372) SetError(v GetBlockDetailsByBlockHeightFromCallbackE403) { +func (o *InlineResponse40372) SetError(v NewUnconfirmedTokensTransactionsE403) { o.Error = v } diff --git a/model_inline_response_403_73.go b/model_inline_response_403_73.go index 71993b8..e8422d2 100644 --- a/model_inline_response_403_73.go +++ b/model_inline_response_403_73.go @@ -23,14 +23,14 @@ type InlineResponse40373 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedInternalTransactionsE403 `json:"error"` + Error NewConfirmedCoinsTransactionsE403 `json:"error"` } // NewInlineResponse40373 instantiates a new InlineResponse40373 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40373(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE403) *InlineResponse40373 { +func NewInlineResponse40373(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsE403) *InlineResponse40373 { this := InlineResponse40373{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40373) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40373) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40373) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40373) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40373) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40373) GetError() NewConfirmedInternalTransactionsE403 { +func (o *InlineResponse40373) GetError() NewConfirmedCoinsTransactionsE403 { if o == nil { - var ret NewConfirmedInternalTransactionsE403 + var ret NewConfirmedCoinsTransactionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40373) GetError() NewConfirmedInternalTransactionsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40373) GetErrorOk() (*NewConfirmedInternalTransactionsE403, bool) { - if o == nil { +func (o *InlineResponse40373) GetErrorOk() (*NewConfirmedCoinsTransactionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40373) SetError(v NewConfirmedInternalTransactionsE403) { +func (o *InlineResponse40373) SetError(v NewConfirmedCoinsTransactionsE403) { o.Error = v } diff --git a/model_inline_response_403_74.go b/model_inline_response_403_74.go index feeecb8..6e83ea2 100644 --- a/model_inline_response_403_74.go +++ b/model_inline_response_403_74.go @@ -23,14 +23,14 @@ type InlineResponse40374 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error NewConfirmedInternalTransactionsAndEachConfirmationE403 `json:"error"` + Error NewConfirmedTokensTransactionsE403 `json:"error"` } // NewInlineResponse40374 instantiates a new InlineResponse40374 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40374(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE403) *InlineResponse40374 { +func NewInlineResponse40374(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsE403) *InlineResponse40374 { this := InlineResponse40374{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40374) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40374) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40374) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40374) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40374) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40374) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE403 { +func (o *InlineResponse40374) GetError() NewConfirmedTokensTransactionsE403 { if o == nil { - var ret NewConfirmedInternalTransactionsAndEachConfirmationE403 + var ret NewConfirmedTokensTransactionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40374) GetError() NewConfirmedInternalTransactionsAndEach // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40374) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE403, bool) { - if o == nil { +func (o *InlineResponse40374) GetErrorOk() (*NewConfirmedTokensTransactionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40374) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE403) { +func (o *InlineResponse40374) SetError(v NewConfirmedTokensTransactionsE403) { o.Error = v } diff --git a/model_inline_response_403_75.go b/model_inline_response_403_75.go index 7847f06..658e868 100644 --- a/model_inline_response_403_75.go +++ b/model_inline_response_403_75.go @@ -23,14 +23,14 @@ type InlineResponse40375 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListCoinsForwardingAutomationsE403 `json:"error"` + Error NewConfirmedTokensTransactionsAndEachConfirmationE403 `json:"error"` } // NewInlineResponse40375 instantiates a new InlineResponse40375 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40375(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE403) *InlineResponse40375 { +func NewInlineResponse40375(apiVersion string, requestId string, error_ NewConfirmedTokensTransactionsAndEachConfirmationE403) *InlineResponse40375 { this := InlineResponse40375{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40375) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40375) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40375) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40375) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40375) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40375) GetError() ListCoinsForwardingAutomationsE403 { +func (o *InlineResponse40375) GetError() NewConfirmedTokensTransactionsAndEachConfirmationE403 { if o == nil { - var ret ListCoinsForwardingAutomationsE403 + var ret NewConfirmedTokensTransactionsAndEachConfirmationE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40375) GetError() ListCoinsForwardingAutomationsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40375) GetErrorOk() (*ListCoinsForwardingAutomationsE403, bool) { - if o == nil { +func (o *InlineResponse40375) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40375) SetError(v ListCoinsForwardingAutomationsE403) { +func (o *InlineResponse40375) SetError(v NewConfirmedTokensTransactionsAndEachConfirmationE403) { o.Error = v } diff --git a/model_inline_response_403_76.go b/model_inline_response_403_76.go index 97ef2fc..b1178b7 100644 --- a/model_inline_response_403_76.go +++ b/model_inline_response_403_76.go @@ -23,14 +23,14 @@ type InlineResponse40376 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateAutomaticCoinsForwardingE403 `json:"error"` + Error NewConfirmedCoinsTransactionsAndEachConfirmationE403 `json:"error"` } // NewInlineResponse40376 instantiates a new InlineResponse40376 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40376(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE403) *InlineResponse40376 { +func NewInlineResponse40376(apiVersion string, requestId string, error_ NewConfirmedCoinsTransactionsAndEachConfirmationE403) *InlineResponse40376 { this := InlineResponse40376{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40376) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40376) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40376) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40376) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40376) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40376) GetError() CreateAutomaticCoinsForwardingE403 { +func (o *InlineResponse40376) GetError() NewConfirmedCoinsTransactionsAndEachConfirmationE403 { if o == nil { - var ret CreateAutomaticCoinsForwardingE403 + var ret NewConfirmedCoinsTransactionsAndEachConfirmationE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40376) GetError() CreateAutomaticCoinsForwardingE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40376) GetErrorOk() (*CreateAutomaticCoinsForwardingE403, bool) { - if o == nil { +func (o *InlineResponse40376) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40376) SetError(v CreateAutomaticCoinsForwardingE403) { +func (o *InlineResponse40376) SetError(v NewConfirmedCoinsTransactionsAndEachConfirmationE403) { o.Error = v } diff --git a/model_inline_response_403_77.go b/model_inline_response_403_77.go index ae54b73..1748c73 100644 --- a/model_inline_response_403_77.go +++ b/model_inline_response_403_77.go @@ -23,14 +23,14 @@ type InlineResponse40377 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteAutomaticCoinsForwardingE403 `json:"error"` + Error MinedTransactionE403 `json:"error"` } // NewInlineResponse40377 instantiates a new InlineResponse40377 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40377(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE403) *InlineResponse40377 { +func NewInlineResponse40377(apiVersion string, requestId string, error_ MinedTransactionE403) *InlineResponse40377 { this := InlineResponse40377{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40377) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40377) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40377) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40377) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40377) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40377) GetError() DeleteAutomaticCoinsForwardingE403 { +func (o *InlineResponse40377) GetError() MinedTransactionE403 { if o == nil { - var ret DeleteAutomaticCoinsForwardingE403 + var ret MinedTransactionE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40377) GetError() DeleteAutomaticCoinsForwardingE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40377) GetErrorOk() (*DeleteAutomaticCoinsForwardingE403, bool) { - if o == nil { +func (o *InlineResponse40377) GetErrorOk() (*MinedTransactionE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40377) SetError(v DeleteAutomaticCoinsForwardingE403) { +func (o *InlineResponse40377) SetError(v MinedTransactionE403) { o.Error = v } diff --git a/model_inline_response_403_78.go b/model_inline_response_403_78.go index 7637ef6..bdcd678 100644 --- a/model_inline_response_403_78.go +++ b/model_inline_response_403_78.go @@ -23,14 +23,14 @@ type InlineResponse40378 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListTokensForwardingAutomationsE403 `json:"error"` + Error NewBlockE403 `json:"error"` } // NewInlineResponse40378 instantiates a new InlineResponse40378 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40378(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE403) *InlineResponse40378 { +func NewInlineResponse40378(apiVersion string, requestId string, error_ NewBlockE403) *InlineResponse40378 { this := InlineResponse40378{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40378) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40378) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40378) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40378) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40378) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40378) GetError() ListTokensForwardingAutomationsE403 { +func (o *InlineResponse40378) GetError() NewBlockE403 { if o == nil { - var ret ListTokensForwardingAutomationsE403 + var ret NewBlockE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40378) GetError() ListTokensForwardingAutomationsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40378) GetErrorOk() (*ListTokensForwardingAutomationsE403, bool) { - if o == nil { +func (o *InlineResponse40378) GetErrorOk() (*NewBlockE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40378) SetError(v ListTokensForwardingAutomationsE403) { +func (o *InlineResponse40378) SetError(v NewBlockE403) { o.Error = v } diff --git a/model_inline_response_403_79.go b/model_inline_response_403_79.go index c982d1d..d45c108 100644 --- a/model_inline_response_403_79.go +++ b/model_inline_response_403_79.go @@ -23,14 +23,14 @@ type InlineResponse40379 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error CreateAutomaticTokensForwardingE403 `json:"error"` + Error ListBlockchainEventsSubscriptionsE403 `json:"error"` } // NewInlineResponse40379 instantiates a new InlineResponse40379 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40379(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE403) *InlineResponse40379 { +func NewInlineResponse40379(apiVersion string, requestId string, error_ ListBlockchainEventsSubscriptionsE403) *InlineResponse40379 { this := InlineResponse40379{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40379) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40379) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40379) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40379) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40379) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40379) GetError() CreateAutomaticTokensForwardingE403 { +func (o *InlineResponse40379) GetError() ListBlockchainEventsSubscriptionsE403 { if o == nil { - var ret CreateAutomaticTokensForwardingE403 + var ret ListBlockchainEventsSubscriptionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40379) GetError() CreateAutomaticTokensForwardingE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40379) GetErrorOk() (*CreateAutomaticTokensForwardingE403, bool) { - if o == nil { +func (o *InlineResponse40379) GetErrorOk() (*ListBlockchainEventsSubscriptionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40379) SetError(v CreateAutomaticTokensForwardingE403) { +func (o *InlineResponse40379) SetError(v ListBlockchainEventsSubscriptionsE403) { o.Error = v } diff --git a/model_inline_response_403_8.go b/model_inline_response_403_8.go index 24189db..2c709e9 100644 --- a/model_inline_response_403_8.go +++ b/model_inline_response_403_8.go @@ -59,7 +59,7 @@ func (o *InlineResponse4038) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4038) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4038) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4038) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4038) GetError() GenerateDepositAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4038) GetErrorOk() (*GenerateDepositAddressE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_80.go b/model_inline_response_403_80.go index 48836c0..f064845 100644 --- a/model_inline_response_403_80.go +++ b/model_inline_response_403_80.go @@ -23,14 +23,14 @@ type InlineResponse40380 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error AddTokensToExistingFromAddressE403 `json:"error"` + Error GetBlockchainEventSubscriptionDetailsByReferenceIDE403 `json:"error"` } // NewInlineResponse40380 instantiates a new InlineResponse40380 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40380(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE403) *InlineResponse40380 { +func NewInlineResponse40380(apiVersion string, requestId string, error_ GetBlockchainEventSubscriptionDetailsByReferenceIDE403) *InlineResponse40380 { this := InlineResponse40380{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40380) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40380) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40380) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40380) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40380) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40380) GetError() AddTokensToExistingFromAddressE403 { +func (o *InlineResponse40380) GetError() GetBlockchainEventSubscriptionDetailsByReferenceIDE403 { if o == nil { - var ret AddTokensToExistingFromAddressE403 + var ret GetBlockchainEventSubscriptionDetailsByReferenceIDE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40380) GetError() AddTokensToExistingFromAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40380) GetErrorOk() (*AddTokensToExistingFromAddressE403, bool) { - if o == nil { +func (o *InlineResponse40380) GetErrorOk() (*GetBlockchainEventSubscriptionDetailsByReferenceIDE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40380) SetError(v AddTokensToExistingFromAddressE403) { +func (o *InlineResponse40380) SetError(v GetBlockchainEventSubscriptionDetailsByReferenceIDE403) { o.Error = v } diff --git a/model_inline_response_403_81.go b/model_inline_response_403_81.go index 611ee15..020750c 100644 --- a/model_inline_response_403_81.go +++ b/model_inline_response_403_81.go @@ -23,14 +23,14 @@ type InlineResponse40381 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetFeeAddressDetailsE403 `json:"error"` + Error ActivateBlockchainEventSubscriptionE403 `json:"error"` } // NewInlineResponse40381 instantiates a new InlineResponse40381 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40381(apiVersion string, requestId string, error_ GetFeeAddressDetailsE403) *InlineResponse40381 { +func NewInlineResponse40381(apiVersion string, requestId string, error_ ActivateBlockchainEventSubscriptionE403) *InlineResponse40381 { this := InlineResponse40381{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40381) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40381) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40381) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40381) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40381) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40381) GetError() GetFeeAddressDetailsE403 { +func (o *InlineResponse40381) GetError() ActivateBlockchainEventSubscriptionE403 { if o == nil { - var ret GetFeeAddressDetailsE403 + var ret ActivateBlockchainEventSubscriptionE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40381) GetError() GetFeeAddressDetailsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40381) GetErrorOk() (*GetFeeAddressDetailsE403, bool) { - if o == nil { +func (o *InlineResponse40381) GetErrorOk() (*ActivateBlockchainEventSubscriptionE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40381) SetError(v GetFeeAddressDetailsE403) { +func (o *InlineResponse40381) SetError(v ActivateBlockchainEventSubscriptionE403) { o.Error = v } diff --git a/model_inline_response_403_82.go b/model_inline_response_403_82.go index 7488832..987ff89 100644 --- a/model_inline_response_403_82.go +++ b/model_inline_response_403_82.go @@ -23,14 +23,14 @@ type InlineResponse40382 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error DeleteAutomaticTokensForwardingE403 `json:"error"` + Error DeleteBlockchainEventSubscriptionE403 `json:"error"` } // NewInlineResponse40382 instantiates a new InlineResponse40382 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40382(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE403) *InlineResponse40382 { +func NewInlineResponse40382(apiVersion string, requestId string, error_ DeleteBlockchainEventSubscriptionE403) *InlineResponse40382 { this := InlineResponse40382{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40382) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40382) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40382) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40382) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40382) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40382) GetError() DeleteAutomaticTokensForwardingE403 { +func (o *InlineResponse40382) GetError() DeleteBlockchainEventSubscriptionE403 { if o == nil { - var ret DeleteAutomaticTokensForwardingE403 + var ret DeleteBlockchainEventSubscriptionE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40382) GetError() DeleteAutomaticTokensForwardingE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40382) GetErrorOk() (*DeleteAutomaticTokensForwardingE403, bool) { - if o == nil { +func (o *InlineResponse40382) GetErrorOk() (*DeleteBlockchainEventSubscriptionE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40382) SetError(v DeleteAutomaticTokensForwardingE403) { +func (o *InlineResponse40382) SetError(v DeleteBlockchainEventSubscriptionE403) { o.Error = v } diff --git a/model_inline_response_403_83.go b/model_inline_response_403_83.go index 86fd2e4..3ef1511 100644 --- a/model_inline_response_403_83.go +++ b/model_inline_response_403_83.go @@ -23,14 +23,14 @@ type InlineResponse40383 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ValidateAddressE403 `json:"error"` + Error GetAddressDetailsFromCallbackE403 `json:"error"` } // NewInlineResponse40383 instantiates a new InlineResponse40383 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40383(apiVersion string, requestId string, error_ ValidateAddressE403) *InlineResponse40383 { +func NewInlineResponse40383(apiVersion string, requestId string, error_ GetAddressDetailsFromCallbackE403) *InlineResponse40383 { this := InlineResponse40383{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40383) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40383) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40383) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40383) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40383) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40383) GetError() ValidateAddressE403 { +func (o *InlineResponse40383) GetError() GetAddressDetailsFromCallbackE403 { if o == nil { - var ret ValidateAddressE403 + var ret GetAddressDetailsFromCallbackE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40383) GetError() ValidateAddressE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40383) GetErrorOk() (*ValidateAddressE403, bool) { - if o == nil { +func (o *InlineResponse40383) GetErrorOk() (*GetAddressDetailsFromCallbackE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40383) SetError(v ValidateAddressE403) { +func (o *InlineResponse40383) SetError(v GetAddressDetailsFromCallbackE403) { o.Error = v } diff --git a/model_inline_response_403_84.go b/model_inline_response_403_84.go index 23e5ceb..39e5582 100644 --- a/model_inline_response_403_84.go +++ b/model_inline_response_403_84.go @@ -23,14 +23,14 @@ type InlineResponse40384 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetEIP1559FeeRecommendationsE403 `json:"error"` + Error GetTransactionDetailsByTransactionIDFromCallbackE403 `json:"error"` } // NewInlineResponse40384 instantiates a new InlineResponse40384 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40384(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE403) *InlineResponse40384 { +func NewInlineResponse40384(apiVersion string, requestId string, error_ GetTransactionDetailsByTransactionIDFromCallbackE403) *InlineResponse40384 { this := InlineResponse40384{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40384) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40384) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40384) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40384) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40384) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40384) GetError() GetEIP1559FeeRecommendationsE403 { +func (o *InlineResponse40384) GetError() GetTransactionDetailsByTransactionIDFromCallbackE403 { if o == nil { - var ret GetEIP1559FeeRecommendationsE403 + var ret GetTransactionDetailsByTransactionIDFromCallbackE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40384) GetError() GetEIP1559FeeRecommendationsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40384) GetErrorOk() (*GetEIP1559FeeRecommendationsE403, bool) { - if o == nil { +func (o *InlineResponse40384) GetErrorOk() (*GetTransactionDetailsByTransactionIDFromCallbackE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40384) SetError(v GetEIP1559FeeRecommendationsE403) { +func (o *InlineResponse40384) SetError(v GetTransactionDetailsByTransactionIDFromCallbackE403) { o.Error = v } diff --git a/model_inline_response_403_85.go b/model_inline_response_403_85.go index d417766..3ed848f 100644 --- a/model_inline_response_403_85.go +++ b/model_inline_response_403_85.go @@ -23,14 +23,14 @@ type InlineResponse40385 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error BroadcastLocallySignedTransactionE403 `json:"error"` + Error GetBlockDetailsByBlockHashFromCallbackE403 `json:"error"` } // NewInlineResponse40385 instantiates a new InlineResponse40385 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40385(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE403) *InlineResponse40385 { +func NewInlineResponse40385(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHashFromCallbackE403) *InlineResponse40385 { this := InlineResponse40385{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40385) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40385) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40385) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40385) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40385) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40385) GetError() BroadcastLocallySignedTransactionE403 { +func (o *InlineResponse40385) GetError() GetBlockDetailsByBlockHashFromCallbackE403 { if o == nil { - var ret BroadcastLocallySignedTransactionE403 + var ret GetBlockDetailsByBlockHashFromCallbackE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40385) GetError() BroadcastLocallySignedTransactionE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40385) GetErrorOk() (*BroadcastLocallySignedTransactionE403, bool) { - if o == nil { +func (o *InlineResponse40385) GetErrorOk() (*GetBlockDetailsByBlockHashFromCallbackE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40385) SetError(v BroadcastLocallySignedTransactionE403) { +func (o *InlineResponse40385) SetError(v GetBlockDetailsByBlockHashFromCallbackE403) { o.Error = v } diff --git a/model_inline_response_403_86.go b/model_inline_response_403_86.go index 34f8edc..a11e978 100644 --- a/model_inline_response_403_86.go +++ b/model_inline_response_403_86.go @@ -23,14 +23,14 @@ type InlineResponse40386 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListSupportedAssetsE403 `json:"error"` + Error GetBlockDetailsByBlockHeightFromCallbackE403 `json:"error"` } // NewInlineResponse40386 instantiates a new InlineResponse40386 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40386(apiVersion string, requestId string, error_ ListSupportedAssetsE403) *InlineResponse40386 { +func NewInlineResponse40386(apiVersion string, requestId string, error_ GetBlockDetailsByBlockHeightFromCallbackE403) *InlineResponse40386 { this := InlineResponse40386{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40386) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40386) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40386) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40386) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40386) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40386) GetError() ListSupportedAssetsE403 { +func (o *InlineResponse40386) GetError() GetBlockDetailsByBlockHeightFromCallbackE403 { if o == nil { - var ret ListSupportedAssetsE403 + var ret GetBlockDetailsByBlockHeightFromCallbackE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40386) GetError() ListSupportedAssetsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40386) GetErrorOk() (*ListSupportedAssetsE403, bool) { - if o == nil { +func (o *InlineResponse40386) GetErrorOk() (*GetBlockDetailsByBlockHeightFromCallbackE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40386) SetError(v ListSupportedAssetsE403) { +func (o *InlineResponse40386) SetError(v GetBlockDetailsByBlockHeightFromCallbackE403) { o.Error = v } diff --git a/model_inline_response_403_87.go b/model_inline_response_403_87.go index 1fc2af5..0e82fbd 100644 --- a/model_inline_response_403_87.go +++ b/model_inline_response_403_87.go @@ -23,14 +23,14 @@ type InlineResponse40387 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetExchangeRateByAssetSymbolsE403 `json:"error"` + Error NewConfirmedInternalTransactionsE403 `json:"error"` } // NewInlineResponse40387 instantiates a new InlineResponse40387 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40387(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE403) *InlineResponse40387 { +func NewInlineResponse40387(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsE403) *InlineResponse40387 { this := InlineResponse40387{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40387) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40387) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40387) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40387) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40387) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40387) GetError() GetExchangeRateByAssetSymbolsE403 { +func (o *InlineResponse40387) GetError() NewConfirmedInternalTransactionsE403 { if o == nil { - var ret GetExchangeRateByAssetSymbolsE403 + var ret NewConfirmedInternalTransactionsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40387) GetError() GetExchangeRateByAssetSymbolsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40387) GetErrorOk() (*GetExchangeRateByAssetSymbolsE403, bool) { - if o == nil { +func (o *InlineResponse40387) GetErrorOk() (*NewConfirmedInternalTransactionsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40387) SetError(v GetExchangeRateByAssetSymbolsE403) { +func (o *InlineResponse40387) SetError(v NewConfirmedInternalTransactionsE403) { o.Error = v } diff --git a/model_inline_response_403_88.go b/model_inline_response_403_88.go index 8739306..81c5f3a 100644 --- a/model_inline_response_403_88.go +++ b/model_inline_response_403_88.go @@ -23,14 +23,14 @@ type InlineResponse40388 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetExchangeRateByAssetsIDsE403 `json:"error"` + Error NewConfirmedInternalTransactionsAndEachConfirmationE403 `json:"error"` } // NewInlineResponse40388 instantiates a new InlineResponse40388 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40388(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE403) *InlineResponse40388 { +func NewInlineResponse40388(apiVersion string, requestId string, error_ NewConfirmedInternalTransactionsAndEachConfirmationE403) *InlineResponse40388 { this := InlineResponse40388{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40388) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40388) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40388) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40388) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40388) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40388) GetError() GetExchangeRateByAssetsIDsE403 { +func (o *InlineResponse40388) GetError() NewConfirmedInternalTransactionsAndEachConfirmationE403 { if o == nil { - var ret GetExchangeRateByAssetsIDsE403 + var ret NewConfirmedInternalTransactionsAndEachConfirmationE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40388) GetError() GetExchangeRateByAssetsIDsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40388) GetErrorOk() (*GetExchangeRateByAssetsIDsE403, bool) { - if o == nil { +func (o *InlineResponse40388) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40388) SetError(v GetExchangeRateByAssetsIDsE403) { +func (o *InlineResponse40388) SetError(v NewConfirmedInternalTransactionsAndEachConfirmationE403) { o.Error = v } diff --git a/model_inline_response_403_89.go b/model_inline_response_403_89.go index 07b35d8..ffa5d6a 100644 --- a/model_inline_response_403_89.go +++ b/model_inline_response_403_89.go @@ -23,14 +23,14 @@ type InlineResponse40389 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListAssetsDetailsE403 `json:"error"` + Error ListCoinsForwardingAutomationsE403 `json:"error"` } // NewInlineResponse40389 instantiates a new InlineResponse40389 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40389(apiVersion string, requestId string, error_ ListAssetsDetailsE403) *InlineResponse40389 { +func NewInlineResponse40389(apiVersion string, requestId string, error_ ListCoinsForwardingAutomationsE403) *InlineResponse40389 { this := InlineResponse40389{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40389) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40389) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40389) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40389) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40389) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40389) GetError() ListAssetsDetailsE403 { +func (o *InlineResponse40389) GetError() ListCoinsForwardingAutomationsE403 { if o == nil { - var ret ListAssetsDetailsE403 + var ret ListCoinsForwardingAutomationsE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40389) GetError() ListAssetsDetailsE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40389) GetErrorOk() (*ListAssetsDetailsE403, bool) { - if o == nil { +func (o *InlineResponse40389) GetErrorOk() (*ListCoinsForwardingAutomationsE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40389) SetError(v ListAssetsDetailsE403) { +func (o *InlineResponse40389) SetError(v ListCoinsForwardingAutomationsE403) { o.Error = v } diff --git a/model_inline_response_403_9.go b/model_inline_response_403_9.go index c2bf456..51af4ac 100644 --- a/model_inline_response_403_9.go +++ b/model_inline_response_403_9.go @@ -59,7 +59,7 @@ func (o *InlineResponse4039) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4039) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4039) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4039) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4039) GetError() GetZilliqaTransactionDetailsByTransactio // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4039) GetErrorOk() (*GetZilliqaTransactionDetailsByTransactionIDE403, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_403_90.go b/model_inline_response_403_90.go index 9f1a742..8da6b77 100644 --- a/model_inline_response_403_90.go +++ b/model_inline_response_403_90.go @@ -23,14 +23,14 @@ type InlineResponse40390 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAssetDetailsByAssetIDE403 `json:"error"` + Error CreateAutomaticCoinsForwardingE403 `json:"error"` } // NewInlineResponse40390 instantiates a new InlineResponse40390 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40390(apiVersion string, requestId string, error_ GetAssetDetailsByAssetIDE403) *InlineResponse40390 { +func NewInlineResponse40390(apiVersion string, requestId string, error_ CreateAutomaticCoinsForwardingE403) *InlineResponse40390 { this := InlineResponse40390{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40390) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40390) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40390) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40390) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40390) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40390) GetError() GetAssetDetailsByAssetIDE403 { +func (o *InlineResponse40390) GetError() CreateAutomaticCoinsForwardingE403 { if o == nil { - var ret GetAssetDetailsByAssetIDE403 + var ret CreateAutomaticCoinsForwardingE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40390) GetError() GetAssetDetailsByAssetIDE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40390) GetErrorOk() (*GetAssetDetailsByAssetIDE403, bool) { - if o == nil { +func (o *InlineResponse40390) GetErrorOk() (*CreateAutomaticCoinsForwardingE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40390) SetError(v GetAssetDetailsByAssetIDE403) { +func (o *InlineResponse40390) SetError(v CreateAutomaticCoinsForwardingE403) { o.Error = v } diff --git a/model_inline_response_403_91.go b/model_inline_response_403_91.go index 1240212..9692f0f 100644 --- a/model_inline_response_403_91.go +++ b/model_inline_response_403_91.go @@ -23,14 +23,14 @@ type InlineResponse40391 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetAssetDetailsByAssetSymbolE403 `json:"error"` + Error DeleteAutomaticCoinsForwardingE403 `json:"error"` } // NewInlineResponse40391 instantiates a new InlineResponse40391 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse40391(apiVersion string, requestId string, error_ GetAssetDetailsByAssetSymbolE403) *InlineResponse40391 { +func NewInlineResponse40391(apiVersion string, requestId string, error_ DeleteAutomaticCoinsForwardingE403) *InlineResponse40391 { this := InlineResponse40391{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse40391) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40391) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40391) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40391) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse40391) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse40391) GetError() GetAssetDetailsByAssetSymbolE403 { +func (o *InlineResponse40391) GetError() DeleteAutomaticCoinsForwardingE403 { if o == nil { - var ret GetAssetDetailsByAssetSymbolE403 + var ret DeleteAutomaticCoinsForwardingE403 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse40391) GetError() GetAssetDetailsByAssetSymbolE403 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse40391) GetErrorOk() (*GetAssetDetailsByAssetSymbolE403, bool) { - if o == nil { +func (o *InlineResponse40391) GetErrorOk() (*DeleteAutomaticCoinsForwardingE403, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse40391) SetError(v GetAssetDetailsByAssetSymbolE403) { +func (o *InlineResponse40391) SetError(v DeleteAutomaticCoinsForwardingE403) { o.Error = v } diff --git a/model_inline_response_403_92.go b/model_inline_response_403_92.go new file mode 100644 index 0000000..0f57929 --- /dev/null +++ b/model_inline_response_403_92.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40392 struct for InlineResponse40392 +type InlineResponse40392 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ListTokensForwardingAutomationsE403 `json:"error"` +} + +// NewInlineResponse40392 instantiates a new InlineResponse40392 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40392(apiVersion string, requestId string, error_ ListTokensForwardingAutomationsE403) *InlineResponse40392 { + this := InlineResponse40392{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40392WithDefaults instantiates a new InlineResponse40392 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40392WithDefaults() *InlineResponse40392 { + this := InlineResponse40392{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40392) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40392) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40392) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40392) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40392) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40392) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40392) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40392) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40392) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40392) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40392) GetError() ListTokensForwardingAutomationsE403 { + if o == nil { + var ret ListTokensForwardingAutomationsE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40392) GetErrorOk() (*ListTokensForwardingAutomationsE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40392) SetError(v ListTokensForwardingAutomationsE403) { + o.Error = v +} + +func (o InlineResponse40392) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40392 struct { + value *InlineResponse40392 + isSet bool +} + +func (v NullableInlineResponse40392) Get() *InlineResponse40392 { + return v.value +} + +func (v *NullableInlineResponse40392) Set(val *InlineResponse40392) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40392) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40392) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40392(val *InlineResponse40392) *NullableInlineResponse40392 { + return &NullableInlineResponse40392{value: val, isSet: true} +} + +func (v NullableInlineResponse40392) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40392) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_93.go b/model_inline_response_403_93.go new file mode 100644 index 0000000..08f9167 --- /dev/null +++ b/model_inline_response_403_93.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40393 struct for InlineResponse40393 +type InlineResponse40393 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error CreateAutomaticTokensForwardingE403 `json:"error"` +} + +// NewInlineResponse40393 instantiates a new InlineResponse40393 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40393(apiVersion string, requestId string, error_ CreateAutomaticTokensForwardingE403) *InlineResponse40393 { + this := InlineResponse40393{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40393WithDefaults instantiates a new InlineResponse40393 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40393WithDefaults() *InlineResponse40393 { + this := InlineResponse40393{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40393) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40393) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40393) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40393) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40393) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40393) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40393) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40393) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40393) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40393) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40393) GetError() CreateAutomaticTokensForwardingE403 { + if o == nil { + var ret CreateAutomaticTokensForwardingE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40393) GetErrorOk() (*CreateAutomaticTokensForwardingE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40393) SetError(v CreateAutomaticTokensForwardingE403) { + o.Error = v +} + +func (o InlineResponse40393) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40393 struct { + value *InlineResponse40393 + isSet bool +} + +func (v NullableInlineResponse40393) Get() *InlineResponse40393 { + return v.value +} + +func (v *NullableInlineResponse40393) Set(val *InlineResponse40393) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40393) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40393) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40393(val *InlineResponse40393) *NullableInlineResponse40393 { + return &NullableInlineResponse40393{value: val, isSet: true} +} + +func (v NullableInlineResponse40393) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40393) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_94.go b/model_inline_response_403_94.go new file mode 100644 index 0000000..bd3fdb7 --- /dev/null +++ b/model_inline_response_403_94.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40394 struct for InlineResponse40394 +type InlineResponse40394 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error AddTokensToExistingFromAddressE403 `json:"error"` +} + +// NewInlineResponse40394 instantiates a new InlineResponse40394 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40394(apiVersion string, requestId string, error_ AddTokensToExistingFromAddressE403) *InlineResponse40394 { + this := InlineResponse40394{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40394WithDefaults instantiates a new InlineResponse40394 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40394WithDefaults() *InlineResponse40394 { + this := InlineResponse40394{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40394) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40394) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40394) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40394) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40394) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40394) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40394) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40394) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40394) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40394) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40394) GetError() AddTokensToExistingFromAddressE403 { + if o == nil { + var ret AddTokensToExistingFromAddressE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40394) GetErrorOk() (*AddTokensToExistingFromAddressE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40394) SetError(v AddTokensToExistingFromAddressE403) { + o.Error = v +} + +func (o InlineResponse40394) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40394 struct { + value *InlineResponse40394 + isSet bool +} + +func (v NullableInlineResponse40394) Get() *InlineResponse40394 { + return v.value +} + +func (v *NullableInlineResponse40394) Set(val *InlineResponse40394) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40394) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40394) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40394(val *InlineResponse40394) *NullableInlineResponse40394 { + return &NullableInlineResponse40394{value: val, isSet: true} +} + +func (v NullableInlineResponse40394) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40394) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_95.go b/model_inline_response_403_95.go new file mode 100644 index 0000000..7d47ced --- /dev/null +++ b/model_inline_response_403_95.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40395 struct for InlineResponse40395 +type InlineResponse40395 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetFeeAddressDetailsE403 `json:"error"` +} + +// NewInlineResponse40395 instantiates a new InlineResponse40395 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40395(apiVersion string, requestId string, error_ GetFeeAddressDetailsE403) *InlineResponse40395 { + this := InlineResponse40395{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40395WithDefaults instantiates a new InlineResponse40395 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40395WithDefaults() *InlineResponse40395 { + this := InlineResponse40395{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40395) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40395) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40395) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40395) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40395) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40395) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40395) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40395) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40395) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40395) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40395) GetError() GetFeeAddressDetailsE403 { + if o == nil { + var ret GetFeeAddressDetailsE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40395) GetErrorOk() (*GetFeeAddressDetailsE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40395) SetError(v GetFeeAddressDetailsE403) { + o.Error = v +} + +func (o InlineResponse40395) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40395 struct { + value *InlineResponse40395 + isSet bool +} + +func (v NullableInlineResponse40395) Get() *InlineResponse40395 { + return v.value +} + +func (v *NullableInlineResponse40395) Set(val *InlineResponse40395) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40395) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40395) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40395(val *InlineResponse40395) *NullableInlineResponse40395 { + return &NullableInlineResponse40395{value: val, isSet: true} +} + +func (v NullableInlineResponse40395) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40395) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_96.go b/model_inline_response_403_96.go new file mode 100644 index 0000000..41d5e08 --- /dev/null +++ b/model_inline_response_403_96.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40396 struct for InlineResponse40396 +type InlineResponse40396 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error DeleteAutomaticTokensForwardingE403 `json:"error"` +} + +// NewInlineResponse40396 instantiates a new InlineResponse40396 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40396(apiVersion string, requestId string, error_ DeleteAutomaticTokensForwardingE403) *InlineResponse40396 { + this := InlineResponse40396{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40396WithDefaults instantiates a new InlineResponse40396 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40396WithDefaults() *InlineResponse40396 { + this := InlineResponse40396{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40396) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40396) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40396) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40396) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40396) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40396) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40396) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40396) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40396) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40396) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40396) GetError() DeleteAutomaticTokensForwardingE403 { + if o == nil { + var ret DeleteAutomaticTokensForwardingE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40396) GetErrorOk() (*DeleteAutomaticTokensForwardingE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40396) SetError(v DeleteAutomaticTokensForwardingE403) { + o.Error = v +} + +func (o InlineResponse40396) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40396 struct { + value *InlineResponse40396 + isSet bool +} + +func (v NullableInlineResponse40396) Get() *InlineResponse40396 { + return v.value +} + +func (v *NullableInlineResponse40396) Set(val *InlineResponse40396) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40396) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40396) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40396(val *InlineResponse40396) *NullableInlineResponse40396 { + return &NullableInlineResponse40396{value: val, isSet: true} +} + +func (v NullableInlineResponse40396) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40396) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_97.go b/model_inline_response_403_97.go new file mode 100644 index 0000000..37df2c7 --- /dev/null +++ b/model_inline_response_403_97.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40397 struct for InlineResponse40397 +type InlineResponse40397 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error ValidateAddressE403 `json:"error"` +} + +// NewInlineResponse40397 instantiates a new InlineResponse40397 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40397(apiVersion string, requestId string, error_ ValidateAddressE403) *InlineResponse40397 { + this := InlineResponse40397{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40397WithDefaults instantiates a new InlineResponse40397 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40397WithDefaults() *InlineResponse40397 { + this := InlineResponse40397{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40397) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40397) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40397) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40397) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40397) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40397) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40397) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40397) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40397) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40397) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40397) GetError() ValidateAddressE403 { + if o == nil { + var ret ValidateAddressE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40397) GetErrorOk() (*ValidateAddressE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40397) SetError(v ValidateAddressE403) { + o.Error = v +} + +func (o InlineResponse40397) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40397 struct { + value *InlineResponse40397 + isSet bool +} + +func (v NullableInlineResponse40397) Get() *InlineResponse40397 { + return v.value +} + +func (v *NullableInlineResponse40397) Set(val *InlineResponse40397) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40397) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40397) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40397(val *InlineResponse40397) *NullableInlineResponse40397 { + return &NullableInlineResponse40397{value: val, isSet: true} +} + +func (v NullableInlineResponse40397) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40397) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_98.go b/model_inline_response_403_98.go new file mode 100644 index 0000000..743fa25 --- /dev/null +++ b/model_inline_response_403_98.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40398 struct for InlineResponse40398 +type InlineResponse40398 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetEIP1559FeeRecommendationsE403 `json:"error"` +} + +// NewInlineResponse40398 instantiates a new InlineResponse40398 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40398(apiVersion string, requestId string, error_ GetEIP1559FeeRecommendationsE403) *InlineResponse40398 { + this := InlineResponse40398{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40398WithDefaults instantiates a new InlineResponse40398 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40398WithDefaults() *InlineResponse40398 { + this := InlineResponse40398{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40398) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40398) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40398) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40398) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40398) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40398) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40398) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40398) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40398) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40398) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40398) GetError() GetEIP1559FeeRecommendationsE403 { + if o == nil { + var ret GetEIP1559FeeRecommendationsE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40398) GetErrorOk() (*GetEIP1559FeeRecommendationsE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40398) SetError(v GetEIP1559FeeRecommendationsE403) { + o.Error = v +} + +func (o InlineResponse40398) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40398 struct { + value *InlineResponse40398 + isSet bool +} + +func (v NullableInlineResponse40398) Get() *InlineResponse40398 { + return v.value +} + +func (v *NullableInlineResponse40398) Set(val *InlineResponse40398) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40398) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40398) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40398(val *InlineResponse40398) *NullableInlineResponse40398 { + return &NullableInlineResponse40398{value: val, isSet: true} +} + +func (v NullableInlineResponse40398) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40398) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_403_99.go b/model_inline_response_403_99.go new file mode 100644 index 0000000..90b4723 --- /dev/null +++ b/model_inline_response_403_99.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse40399 struct for InlineResponse40399 +type InlineResponse40399 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error BroadcastLocallySignedTransactionE403 `json:"error"` +} + +// NewInlineResponse40399 instantiates a new InlineResponse40399 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse40399(apiVersion string, requestId string, error_ BroadcastLocallySignedTransactionE403) *InlineResponse40399 { + this := InlineResponse40399{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse40399WithDefaults instantiates a new InlineResponse40399 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse40399WithDefaults() *InlineResponse40399 { + this := InlineResponse40399{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse40399) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40399) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse40399) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse40399) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40399) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse40399) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse40399) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse40399) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse40399) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse40399) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse40399) GetError() BroadcastLocallySignedTransactionE403 { + if o == nil { + var ret BroadcastLocallySignedTransactionE403 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse40399) GetErrorOk() (*BroadcastLocallySignedTransactionE403, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse40399) SetError(v BroadcastLocallySignedTransactionE403) { + o.Error = v +} + +func (o InlineResponse40399) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse40399 struct { + value *InlineResponse40399 + isSet bool +} + +func (v NullableInlineResponse40399) Get() *InlineResponse40399 { + return v.value +} + +func (v *NullableInlineResponse40399) Set(val *InlineResponse40399) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse40399) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse40399) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse40399(val *InlineResponse40399) *NullableInlineResponse40399 { + return &NullableInlineResponse40399{value: val, isSet: true} +} + +func (v NullableInlineResponse40399) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse40399) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_404.go b/model_inline_response_404.go index 1626008..b56c59d 100644 --- a/model_inline_response_404.go +++ b/model_inline_response_404.go @@ -59,7 +59,7 @@ func (o *InlineResponse404) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse404) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse404) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse404) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse404) GetError() BlockchainDataTransactionNotFound { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse404) GetErrorOk() (*BlockchainDataTransactionNotFound, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_404_1.go b/model_inline_response_404_1.go index fb6fc12..d49a95d 100644 --- a/model_inline_response_404_1.go +++ b/model_inline_response_404_1.go @@ -59,7 +59,7 @@ func (o *InlineResponse4041) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4041) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4041) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4041) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4041) GetError() ResourceNotFound { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4041) GetErrorOk() (*ResourceNotFound, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_404_2.go b/model_inline_response_404_2.go index d7b831b..1e4e231 100644 --- a/model_inline_response_404_2.go +++ b/model_inline_response_404_2.go @@ -59,7 +59,7 @@ func (o *InlineResponse4042) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4042) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4042) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4042) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4042) GetError() BlockchainDataBlockNotFound { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4042) GetErrorOk() (*BlockchainDataBlockNotFound, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_404_3.go b/model_inline_response_404_3.go index ab82099..9ab92be 100644 --- a/model_inline_response_404_3.go +++ b/model_inline_response_404_3.go @@ -59,7 +59,7 @@ func (o *InlineResponse4043) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4043) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4043) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4043) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4043) GetError() BlockchainDataInternalTransactionNotFoun // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4043) GetErrorOk() (*BlockchainDataInternalTransactionNotFound, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_404_4.go b/model_inline_response_404_4.go index a98c2fd..f050d8d 100644 --- a/model_inline_response_404_4.go +++ b/model_inline_response_404_4.go @@ -59,7 +59,7 @@ func (o *InlineResponse4044) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4044) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4044) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4044) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4044) GetError() BlockchainDataAddressEventSubscriptionNo // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4044) GetErrorOk() (*BlockchainDataAddressEventSubscriptionNotFound, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409.go b/model_inline_response_409.go index 5872596..978d25e 100644 --- a/model_inline_response_409.go +++ b/model_inline_response_409.go @@ -59,7 +59,7 @@ func (o *InlineResponse409) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse409) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse409) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse409) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse409) GetError() InvalidData { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse409) GetErrorOk() (*InvalidData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_1.go b/model_inline_response_409_1.go index 2db8428..9ff1914 100644 --- a/model_inline_response_409_1.go +++ b/model_inline_response_409_1.go @@ -59,7 +59,7 @@ func (o *InlineResponse4091) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4091) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4091) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4091) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4091) GetError() CreateCoinsTransactionRequestFromWalletE // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4091) GetErrorOk() (*CreateCoinsTransactionRequestFromWalletE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_10.go b/model_inline_response_409_10.go index 00d44ee..076c325 100644 --- a/model_inline_response_409_10.go +++ b/model_inline_response_409_10.go @@ -59,7 +59,7 @@ func (o *InlineResponse40910) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40910) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40910) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40910) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40910) GetError() NewConfirmedTokensTransactionsAndEachCo // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40910) GetErrorOk() (*NewConfirmedTokensTransactionsAndEachConfirmationE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_11.go b/model_inline_response_409_11.go index 015eccd..a804e9d 100644 --- a/model_inline_response_409_11.go +++ b/model_inline_response_409_11.go @@ -59,7 +59,7 @@ func (o *InlineResponse40911) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40911) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40911) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40911) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40911) GetError() NewConfirmedCoinsTransactionsAndEachCon // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40911) GetErrorOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_12.go b/model_inline_response_409_12.go index be68a7c..8be7aed 100644 --- a/model_inline_response_409_12.go +++ b/model_inline_response_409_12.go @@ -59,7 +59,7 @@ func (o *InlineResponse40912) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40912) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40912) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40912) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40912) GetError() MinedTransactionE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40912) GetErrorOk() (*MinedTransactionE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_13.go b/model_inline_response_409_13.go index 4f8a99c..7f21dbe 100644 --- a/model_inline_response_409_13.go +++ b/model_inline_response_409_13.go @@ -59,7 +59,7 @@ func (o *InlineResponse40913) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40913) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40913) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40913) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40913) GetError() NewBlockE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40913) GetErrorOk() (*NewBlockE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_14.go b/model_inline_response_409_14.go index 93e4e3a..28a6140 100644 --- a/model_inline_response_409_14.go +++ b/model_inline_response_409_14.go @@ -59,7 +59,7 @@ func (o *InlineResponse40914) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40914) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40914) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40914) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40914) GetError() NewConfirmedInternalTransactionsE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40914) GetErrorOk() (*NewConfirmedInternalTransactionsE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_15.go b/model_inline_response_409_15.go index 28e734b..51feed5 100644 --- a/model_inline_response_409_15.go +++ b/model_inline_response_409_15.go @@ -59,7 +59,7 @@ func (o *InlineResponse40915) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40915) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40915) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40915) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40915) GetError() NewConfirmedInternalTransactionsAndEach // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40915) GetErrorOk() (*NewConfirmedInternalTransactionsAndEachConfirmationE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_16.go b/model_inline_response_409_16.go index b6566a9..8d65cf0 100644 --- a/model_inline_response_409_16.go +++ b/model_inline_response_409_16.go @@ -59,7 +59,7 @@ func (o *InlineResponse40916) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40916) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40916) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40916) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40916) GetError() CreateAutomaticCoinsForwardingE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40916) GetErrorOk() (*CreateAutomaticCoinsForwardingE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_17.go b/model_inline_response_409_17.go index f6831c8..6e35900 100644 --- a/model_inline_response_409_17.go +++ b/model_inline_response_409_17.go @@ -59,7 +59,7 @@ func (o *InlineResponse40917) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse40917) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse40917) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse40917) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse40917) GetError() BroadcastLocallySignedTransactionE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse40917) GetErrorOk() (*BroadcastLocallySignedTransactionE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_2.go b/model_inline_response_409_2.go index b6271e5..18fb1d8 100644 --- a/model_inline_response_409_2.go +++ b/model_inline_response_409_2.go @@ -59,7 +59,7 @@ func (o *InlineResponse4092) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4092) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4092) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4092) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4092) GetError() CreateCoinsTransactionRequestFromAddress // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4092) GetErrorOk() (*CreateCoinsTransactionRequestFromAddressE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_3.go b/model_inline_response_409_3.go index b724638..4d2b02a 100644 --- a/model_inline_response_409_3.go +++ b/model_inline_response_409_3.go @@ -59,7 +59,7 @@ func (o *InlineResponse4093) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4093) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4093) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4093) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4093) GetError() CreateCoinsTransactionFromAddressForWhol // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4093) GetErrorOk() (*CreateCoinsTransactionFromAddressForWholeAmountE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_4.go b/model_inline_response_409_4.go index 8eec62d..6aacc87 100644 --- a/model_inline_response_409_4.go +++ b/model_inline_response_409_4.go @@ -59,7 +59,7 @@ func (o *InlineResponse4094) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4094) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4094) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4094) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4094) GetError() CreateFungibleTokensTransactionRequestFr // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4094) GetErrorOk() (*CreateFungibleTokensTransactionRequestFromAddressE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_5.go b/model_inline_response_409_5.go index 415cdec..26630d1 100644 --- a/model_inline_response_409_5.go +++ b/model_inline_response_409_5.go @@ -59,7 +59,7 @@ func (o *InlineResponse4095) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4095) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4095) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4095) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4095) GetError() SyncHDWalletXPubYPubZPubE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4095) GetErrorOk() (*SyncHDWalletXPubYPubZPubE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_6.go b/model_inline_response_409_6.go index 3a1b3c8..be13c75 100644 --- a/model_inline_response_409_6.go +++ b/model_inline_response_409_6.go @@ -59,7 +59,7 @@ func (o *InlineResponse4096) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4096) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4096) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4096) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4096) GetError() NewUnconfirmedCoinsTransactionsE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4096) GetErrorOk() (*NewUnconfirmedCoinsTransactionsE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_7.go b/model_inline_response_409_7.go index 7c0658f..aa11634 100644 --- a/model_inline_response_409_7.go +++ b/model_inline_response_409_7.go @@ -59,7 +59,7 @@ func (o *InlineResponse4097) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4097) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4097) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4097) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4097) GetError() NewUnconfirmedTokensTransactionsE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4097) GetErrorOk() (*NewUnconfirmedTokensTransactionsE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_8.go b/model_inline_response_409_8.go index e770467..2d3c08b 100644 --- a/model_inline_response_409_8.go +++ b/model_inline_response_409_8.go @@ -59,7 +59,7 @@ func (o *InlineResponse4098) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4098) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4098) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4098) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4098) GetError() NewConfirmedCoinsTransactionsE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4098) GetErrorOk() (*NewConfirmedCoinsTransactionsE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_409_9.go b/model_inline_response_409_9.go index c25e704..57d448d 100644 --- a/model_inline_response_409_9.go +++ b/model_inline_response_409_9.go @@ -59,7 +59,7 @@ func (o *InlineResponse4099) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4099) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4099) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4099) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4099) GetError() NewConfirmedTokensTransactionsE409 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4099) GetErrorOk() (*NewConfirmedTokensTransactionsE409, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_415.go b/model_inline_response_415.go index 8bb068e..d8dea25 100644 --- a/model_inline_response_415.go +++ b/model_inline_response_415.go @@ -59,7 +59,7 @@ func (o *InlineResponse415) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse415) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse415) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse415) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse415) GetError() UnsupportedMediaType { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse415) GetErrorOk() (*UnsupportedMediaType, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_422.go b/model_inline_response_422.go index 649ec55..2c0f2f1 100644 --- a/model_inline_response_422.go +++ b/model_inline_response_422.go @@ -59,7 +59,7 @@ func (o *InlineResponse422) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse422) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse422) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse422) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse422) GetError() InvalidRequestBodyStructure { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse422) GetErrorOk() (*InvalidRequestBodyStructure, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_422_1.go b/model_inline_response_422_1.go index 59c3a3b..a906b31 100644 --- a/model_inline_response_422_1.go +++ b/model_inline_response_422_1.go @@ -59,7 +59,7 @@ func (o *InlineResponse4221) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4221) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4221) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4221) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse4221) GetError() SyncHDWalletXPubYPubZPubE422 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse4221) GetErrorOk() (*SyncHDWalletXPubYPubZPubE422, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_422_2.go b/model_inline_response_422_2.go index 66c3d1f..30f0ae6 100644 --- a/model_inline_response_422_2.go +++ b/model_inline_response_422_2.go @@ -23,14 +23,14 @@ type InlineResponse4222 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetHDWalletXPubYPubZPubDetailsE422 `json:"error"` + Error GetHDWalletXPubYPubZPubAssetsE422 `json:"error"` } // NewInlineResponse4222 instantiates a new InlineResponse4222 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse4222(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE422) *InlineResponse4222 { +func NewInlineResponse4222(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubAssetsE422) *InlineResponse4222 { this := InlineResponse4222{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse4222) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4222) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4222) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4222) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse4222) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse4222) GetError() GetHDWalletXPubYPubZPubDetailsE422 { +func (o *InlineResponse4222) GetError() GetHDWalletXPubYPubZPubAssetsE422 { if o == nil { - var ret GetHDWalletXPubYPubZPubDetailsE422 + var ret GetHDWalletXPubYPubZPubAssetsE422 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse4222) GetError() GetHDWalletXPubYPubZPubDetailsE422 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse4222) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE422, bool) { - if o == nil { +func (o *InlineResponse4222) GetErrorOk() (*GetHDWalletXPubYPubZPubAssetsE422, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse4222) SetError(v GetHDWalletXPubYPubZPubDetailsE422) { +func (o *InlineResponse4222) SetError(v GetHDWalletXPubYPubZPubAssetsE422) { o.Error = v } diff --git a/model_inline_response_422_3.go b/model_inline_response_422_3.go index 8fee975..a39b32c 100644 --- a/model_inline_response_422_3.go +++ b/model_inline_response_422_3.go @@ -23,14 +23,14 @@ type InlineResponse4223 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error ListHDWalletXPubYPubZPubTransactionsE422 `json:"error"` + Error GetHDWalletXPubYPubZPubDetailsE422 `json:"error"` } // NewInlineResponse4223 instantiates a new InlineResponse4223 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse4223(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE422) *InlineResponse4223 { +func NewInlineResponse4223(apiVersion string, requestId string, error_ GetHDWalletXPubYPubZPubDetailsE422) *InlineResponse4223 { this := InlineResponse4223{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse4223) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4223) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4223) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4223) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse4223) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse4223) GetError() ListHDWalletXPubYPubZPubTransactionsE422 { +func (o *InlineResponse4223) GetError() GetHDWalletXPubYPubZPubDetailsE422 { if o == nil { - var ret ListHDWalletXPubYPubZPubTransactionsE422 + var ret GetHDWalletXPubYPubZPubDetailsE422 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse4223) GetError() ListHDWalletXPubYPubZPubTransactionsE422 // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse4223) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE422, bool) { - if o == nil { +func (o *InlineResponse4223) GetErrorOk() (*GetHDWalletXPubYPubZPubDetailsE422, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse4223) SetError(v ListHDWalletXPubYPubZPubTransactionsE422) { +func (o *InlineResponse4223) SetError(v GetHDWalletXPubYPubZPubDetailsE422) { o.Error = v } diff --git a/model_inline_response_422_4.go b/model_inline_response_422_4.go index 5aa57f7..8c114c4 100644 --- a/model_inline_response_422_4.go +++ b/model_inline_response_422_4.go @@ -23,14 +23,14 @@ type InlineResponse4224 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetExchangeRateByAssetSymbolsE422 `json:"error"` + Error ListHDWalletXPubYPubZPubTransactionsE422 `json:"error"` } // NewInlineResponse4224 instantiates a new InlineResponse4224 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse4224(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE422) *InlineResponse4224 { +func NewInlineResponse4224(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubTransactionsE422) *InlineResponse4224 { this := InlineResponse4224{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse4224) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4224) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4224) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4224) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse4224) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse4224) GetError() GetExchangeRateByAssetSymbolsE422 { +func (o *InlineResponse4224) GetError() ListHDWalletXPubYPubZPubTransactionsE422 { if o == nil { - var ret GetExchangeRateByAssetSymbolsE422 + var ret ListHDWalletXPubYPubZPubTransactionsE422 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse4224) GetError() GetExchangeRateByAssetSymbolsE422 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse4224) GetErrorOk() (*GetExchangeRateByAssetSymbolsE422, bool) { - if o == nil { +func (o *InlineResponse4224) GetErrorOk() (*ListHDWalletXPubYPubZPubTransactionsE422, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse4224) SetError(v GetExchangeRateByAssetSymbolsE422) { +func (o *InlineResponse4224) SetError(v ListHDWalletXPubYPubZPubTransactionsE422) { o.Error = v } diff --git a/model_inline_response_422_5.go b/model_inline_response_422_5.go index 3b7cc8e..b2508d7 100644 --- a/model_inline_response_422_5.go +++ b/model_inline_response_422_5.go @@ -23,14 +23,14 @@ type InlineResponse4225 struct { RequestId string `json:"requestId"` // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. Context *string `json:"context,omitempty"` - Error GetExchangeRateByAssetsIDsE422 `json:"error"` + Error ListHDWalletXPubYPubZPubUTXOsE422 `json:"error"` } // NewInlineResponse4225 instantiates a new InlineResponse4225 object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInlineResponse4225(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE422) *InlineResponse4225 { +func NewInlineResponse4225(apiVersion string, requestId string, error_ ListHDWalletXPubYPubZPubUTXOsE422) *InlineResponse4225 { this := InlineResponse4225{} this.ApiVersion = apiVersion this.RequestId = requestId @@ -59,7 +59,7 @@ func (o *InlineResponse4225) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse4225) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse4225) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse4225) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -127,9 +127,9 @@ func (o *InlineResponse4225) SetContext(v string) { } // GetError returns the Error field value -func (o *InlineResponse4225) GetError() GetExchangeRateByAssetsIDsE422 { +func (o *InlineResponse4225) GetError() ListHDWalletXPubYPubZPubUTXOsE422 { if o == nil { - var ret GetExchangeRateByAssetsIDsE422 + var ret ListHDWalletXPubYPubZPubUTXOsE422 return ret } @@ -138,15 +138,15 @@ func (o *InlineResponse4225) GetError() GetExchangeRateByAssetsIDsE422 { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. -func (o *InlineResponse4225) GetErrorOk() (*GetExchangeRateByAssetsIDsE422, bool) { - if o == nil { +func (o *InlineResponse4225) GetErrorOk() (*ListHDWalletXPubYPubZPubUTXOsE422, bool) { + if o == nil { return nil, false } return &o.Error, true } // SetError sets field value -func (o *InlineResponse4225) SetError(v GetExchangeRateByAssetsIDsE422) { +func (o *InlineResponse4225) SetError(v ListHDWalletXPubYPubZPubUTXOsE422) { o.Error = v } diff --git a/model_inline_response_422_6.go b/model_inline_response_422_6.go new file mode 100644 index 0000000..3d2fa06 --- /dev/null +++ b/model_inline_response_422_6.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse4226 struct for InlineResponse4226 +type InlineResponse4226 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetExchangeRateByAssetSymbolsE422 `json:"error"` +} + +// NewInlineResponse4226 instantiates a new InlineResponse4226 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse4226(apiVersion string, requestId string, error_ GetExchangeRateByAssetSymbolsE422) *InlineResponse4226 { + this := InlineResponse4226{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse4226WithDefaults instantiates a new InlineResponse4226 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse4226WithDefaults() *InlineResponse4226 { + this := InlineResponse4226{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse4226) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse4226) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse4226) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse4226) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse4226) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse4226) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse4226) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse4226) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse4226) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse4226) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse4226) GetError() GetExchangeRateByAssetSymbolsE422 { + if o == nil { + var ret GetExchangeRateByAssetSymbolsE422 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse4226) GetErrorOk() (*GetExchangeRateByAssetSymbolsE422, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse4226) SetError(v GetExchangeRateByAssetSymbolsE422) { + o.Error = v +} + +func (o InlineResponse4226) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse4226 struct { + value *InlineResponse4226 + isSet bool +} + +func (v NullableInlineResponse4226) Get() *InlineResponse4226 { + return v.value +} + +func (v *NullableInlineResponse4226) Set(val *InlineResponse4226) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse4226) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse4226) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse4226(val *InlineResponse4226) *NullableInlineResponse4226 { + return &NullableInlineResponse4226{value: val, isSet: true} +} + +func (v NullableInlineResponse4226) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse4226) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_422_7.go b/model_inline_response_422_7.go new file mode 100644 index 0000000..47b77f0 --- /dev/null +++ b/model_inline_response_422_7.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse4227 struct for InlineResponse4227 +type InlineResponse4227 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error GetExchangeRateByAssetsIDsE422 `json:"error"` +} + +// NewInlineResponse4227 instantiates a new InlineResponse4227 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse4227(apiVersion string, requestId string, error_ GetExchangeRateByAssetsIDsE422) *InlineResponse4227 { + this := InlineResponse4227{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse4227WithDefaults instantiates a new InlineResponse4227 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse4227WithDefaults() *InlineResponse4227 { + this := InlineResponse4227{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse4227) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse4227) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse4227) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse4227) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse4227) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse4227) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse4227) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse4227) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse4227) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse4227) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse4227) GetError() GetExchangeRateByAssetsIDsE422 { + if o == nil { + var ret GetExchangeRateByAssetsIDsE422 + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse4227) GetErrorOk() (*GetExchangeRateByAssetsIDsE422, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse4227) SetError(v GetExchangeRateByAssetsIDsE422) { + o.Error = v +} + +func (o InlineResponse4227) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse4227 struct { + value *InlineResponse4227 + isSet bool +} + +func (v NullableInlineResponse4227) Get() *InlineResponse4227 { + return v.value +} + +func (v *NullableInlineResponse4227) Set(val *InlineResponse4227) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse4227) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse4227) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse4227(val *InlineResponse4227) *NullableInlineResponse4227 { + return &NullableInlineResponse4227{value: val, isSet: true} +} + +func (v NullableInlineResponse4227) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse4227) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_inline_response_429.go b/model_inline_response_429.go index d7cc7a4..d3d366e 100644 --- a/model_inline_response_429.go +++ b/model_inline_response_429.go @@ -59,7 +59,7 @@ func (o *InlineResponse429) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse429) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse429) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse429) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse429) GetError() RequestLimitReached { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse429) GetErrorOk() (*RequestLimitReached, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_500.go b/model_inline_response_500.go index 44a54ec..82239d3 100644 --- a/model_inline_response_500.go +++ b/model_inline_response_500.go @@ -59,7 +59,7 @@ func (o *InlineResponse500) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *InlineResponse500) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *InlineResponse500) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *InlineResponse500) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *InlineResponse500) GetError() UnexpectedServerError { // GetErrorOk returns a tuple with the Error field value // and a boolean to check if the value has been set. func (o *InlineResponse500) GetErrorOk() (*UnexpectedServerError, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Error, true diff --git a/model_inline_response_501.go b/model_inline_response_501.go new file mode 100644 index 0000000..ae7b6ba --- /dev/null +++ b/model_inline_response_501.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InlineResponse501 struct for InlineResponse501 +type InlineResponse501 struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Error Unimplemented `json:"error"` +} + +// NewInlineResponse501 instantiates a new InlineResponse501 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInlineResponse501(apiVersion string, requestId string, error_ Unimplemented) *InlineResponse501 { + this := InlineResponse501{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Error = error_ + return &this +} + +// NewInlineResponse501WithDefaults instantiates a new InlineResponse501 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInlineResponse501WithDefaults() *InlineResponse501 { + this := InlineResponse501{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *InlineResponse501) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *InlineResponse501) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *InlineResponse501) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *InlineResponse501) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *InlineResponse501) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *InlineResponse501) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *InlineResponse501) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InlineResponse501) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *InlineResponse501) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *InlineResponse501) SetContext(v string) { + o.Context = &v +} + +// GetError returns the Error field value +func (o *InlineResponse501) GetError() Unimplemented { + if o == nil { + var ret Unimplemented + return ret + } + + return o.Error +} + +// GetErrorOk returns a tuple with the Error field value +// and a boolean to check if the value has been set. +func (o *InlineResponse501) GetErrorOk() (*Unimplemented, bool) { + if o == nil { + return nil, false + } + return &o.Error, true +} + +// SetError sets field value +func (o *InlineResponse501) SetError(v Unimplemented) { + o.Error = v +} + +func (o InlineResponse501) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["error"] = o.Error + } + return json.Marshal(toSerialize) +} + +type NullableInlineResponse501 struct { + value *InlineResponse501 + isSet bool +} + +func (v NullableInlineResponse501) Get() *InlineResponse501 { + return v.value +} + +func (v *NullableInlineResponse501) Set(val *InlineResponse501) { + v.value = val + v.isSet = true +} + +func (v NullableInlineResponse501) IsSet() bool { + return v.isSet +} + +func (v *NullableInlineResponse501) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInlineResponse501(val *InlineResponse501) *NullableInlineResponse501 { + return &NullableInlineResponse501{value: val, isSet: true} +} + +func (v NullableInlineResponse501) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInlineResponse501) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_insufficient_credits.go b/model_insufficient_credits.go index 2c6cb1e..79c7edd 100644 --- a/model_insufficient_credits.go +++ b/model_insufficient_credits.go @@ -21,7 +21,7 @@ type InsufficientCredits struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewInsufficientCredits instantiates a new InsufficientCredits object @@ -56,7 +56,7 @@ func (o *InsufficientCredits) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *InsufficientCredits) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *InsufficientCredits) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *InsufficientCredits) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *InsufficientCredits) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InsufficientCredits) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *InsufficientCredits) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *InsufficientCredits) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *InsufficientCredits) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o InsufficientCredits) MarshalJSON() ([]byte, error) { diff --git a/model_invalid_api_key.go b/model_invalid_api_key.go index 046dce8..2ceb347 100644 --- a/model_invalid_api_key.go +++ b/model_invalid_api_key.go @@ -21,7 +21,7 @@ type InvalidApiKey struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewInvalidApiKey instantiates a new InvalidApiKey object @@ -56,7 +56,7 @@ func (o *InvalidApiKey) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *InvalidApiKey) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *InvalidApiKey) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *InvalidApiKey) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *InvalidApiKey) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvalidApiKey) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *InvalidApiKey) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *InvalidApiKey) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *InvalidApiKey) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o InvalidApiKey) MarshalJSON() ([]byte, error) { diff --git a/model_invalid_blockchain.go b/model_invalid_blockchain.go index e05a6fe..f253f5e 100644 --- a/model_invalid_blockchain.go +++ b/model_invalid_blockchain.go @@ -21,7 +21,7 @@ type InvalidBlockchain struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewInvalidBlockchain instantiates a new InvalidBlockchain object @@ -56,7 +56,7 @@ func (o *InvalidBlockchain) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *InvalidBlockchain) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *InvalidBlockchain) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *InvalidBlockchain) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *InvalidBlockchain) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvalidBlockchain) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *InvalidBlockchain) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *InvalidBlockchain) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *InvalidBlockchain) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o InvalidBlockchain) MarshalJSON() ([]byte, error) { diff --git a/model_invalid_data.go b/model_invalid_data.go index 7602ef5..198dd74 100644 --- a/model_invalid_data.go +++ b/model_invalid_data.go @@ -21,7 +21,7 @@ type InvalidData struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewInvalidData instantiates a new InvalidData object @@ -56,7 +56,7 @@ func (o *InvalidData) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *InvalidData) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *InvalidData) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *InvalidData) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *InvalidData) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvalidData) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *InvalidData) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *InvalidData) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *InvalidData) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o InvalidData) MarshalJSON() ([]byte, error) { diff --git a/model_invalid_network.go b/model_invalid_network.go index 7718fe4..d15ddf4 100644 --- a/model_invalid_network.go +++ b/model_invalid_network.go @@ -21,7 +21,7 @@ type InvalidNetwork struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewInvalidNetwork instantiates a new InvalidNetwork object @@ -56,7 +56,7 @@ func (o *InvalidNetwork) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *InvalidNetwork) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *InvalidNetwork) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *InvalidNetwork) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *InvalidNetwork) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvalidNetwork) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *InvalidNetwork) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *InvalidNetwork) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *InvalidNetwork) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o InvalidNetwork) MarshalJSON() ([]byte, error) { diff --git a/model_invalid_pagination.go b/model_invalid_pagination.go index bd9e41f..55e9709 100644 --- a/model_invalid_pagination.go +++ b/model_invalid_pagination.go @@ -21,7 +21,7 @@ type InvalidPagination struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewInvalidPagination instantiates a new InvalidPagination object @@ -56,7 +56,7 @@ func (o *InvalidPagination) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *InvalidPagination) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *InvalidPagination) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *InvalidPagination) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *InvalidPagination) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvalidPagination) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *InvalidPagination) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *InvalidPagination) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *InvalidPagination) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o InvalidPagination) MarshalJSON() ([]byte, error) { diff --git a/model_invalid_request_body_structure.go b/model_invalid_request_body_structure.go index c3f85ae..56d3cb3 100644 --- a/model_invalid_request_body_structure.go +++ b/model_invalid_request_body_structure.go @@ -21,7 +21,7 @@ type InvalidRequestBodyStructure struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewInvalidRequestBodyStructure instantiates a new InvalidRequestBodyStructure object @@ -56,7 +56,7 @@ func (o *InvalidRequestBodyStructure) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *InvalidRequestBodyStructure) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *InvalidRequestBodyStructure) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *InvalidRequestBodyStructure) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *InvalidRequestBodyStructure) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvalidRequestBodyStructure) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *InvalidRequestBodyStructure) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *InvalidRequestBodyStructure) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *InvalidRequestBodyStructure) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o InvalidRequestBodyStructure) MarshalJSON() ([]byte, error) { diff --git a/model_invalid_transaction_hex.go b/model_invalid_transaction_hex.go new file mode 100644 index 0000000..5b298a0 --- /dev/null +++ b/model_invalid_transaction_hex.go @@ -0,0 +1,176 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// InvalidTransactionHex invalid_transaction_hex +type InvalidTransactionHex struct { + // Specifies an error code, e.g. error 404. + Code string `json:"code"` + // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. + Message string `json:"message"` + Details []BannedIpAddressDetails `json:"details,omitempty"` +} + +// NewInvalidTransactionHex instantiates a new InvalidTransactionHex object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInvalidTransactionHex(code string, message string) *InvalidTransactionHex { + this := InvalidTransactionHex{} + this.Code = code + this.Message = message + return &this +} + +// NewInvalidTransactionHexWithDefaults instantiates a new InvalidTransactionHex object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInvalidTransactionHexWithDefaults() *InvalidTransactionHex { + this := InvalidTransactionHex{} + return &this +} + +// GetCode returns the Code field value +func (o *InvalidTransactionHex) GetCode() string { + if o == nil { + var ret string + return ret + } + + return o.Code +} + +// GetCodeOk returns a tuple with the Code field value +// and a boolean to check if the value has been set. +func (o *InvalidTransactionHex) GetCodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Code, true +} + +// SetCode sets field value +func (o *InvalidTransactionHex) SetCode(v string) { + o.Code = v +} + +// GetMessage returns the Message field value +func (o *InvalidTransactionHex) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *InvalidTransactionHex) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *InvalidTransactionHex) SetMessage(v string) { + o.Message = v +} + +// GetDetails returns the Details field value if set, zero value otherwise. +func (o *InvalidTransactionHex) GetDetails() []BannedIpAddressDetails { + if o == nil || o.Details == nil { + var ret []BannedIpAddressDetails + return ret + } + return o.Details +} + +// GetDetailsOk returns a tuple with the Details field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InvalidTransactionHex) GetDetailsOk() ([]BannedIpAddressDetails, bool) { + if o == nil || o.Details == nil { + return nil, false + } + return o.Details, true +} + +// HasDetails returns a boolean if a field has been set. +func (o *InvalidTransactionHex) HasDetails() bool { + if o != nil && o.Details != nil { + return true + } + + return false +} + +// SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. +func (o *InvalidTransactionHex) SetDetails(v []BannedIpAddressDetails) { + o.Details = v +} + +func (o InvalidTransactionHex) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["code"] = o.Code + } + if true { + toSerialize["message"] = o.Message + } + if o.Details != nil { + toSerialize["details"] = o.Details + } + return json.Marshal(toSerialize) +} + +type NullableInvalidTransactionHex struct { + value *InvalidTransactionHex + isSet bool +} + +func (v NullableInvalidTransactionHex) Get() *InvalidTransactionHex { + return v.value +} + +func (v *NullableInvalidTransactionHex) Set(val *InvalidTransactionHex) { + v.value = val + v.isSet = true +} + +func (v NullableInvalidTransactionHex) IsSet() bool { + return v.isSet +} + +func (v *NullableInvalidTransactionHex) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInvalidTransactionHex(val *InvalidTransactionHex) *NullableInvalidTransactionHex { + return &NullableInvalidTransactionHex{value: val, isSet: true} +} + +func (v NullableInvalidTransactionHex) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInvalidTransactionHex) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_invalid_xpub.go b/model_invalid_xpub.go index 6e61ef5..ce32482 100644 --- a/model_invalid_xpub.go +++ b/model_invalid_xpub.go @@ -21,7 +21,7 @@ type InvalidXpub struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewInvalidXpub instantiates a new InvalidXpub object @@ -56,7 +56,7 @@ func (o *InvalidXpub) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *InvalidXpub) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *InvalidXpub) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *InvalidXpub) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *InvalidXpub) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InvalidXpub) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *InvalidXpub) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *InvalidXpub) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *InvalidXpub) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o InvalidXpub) MarshalJSON() ([]byte, error) { diff --git a/model_limit_greater_than_allowed.go b/model_limit_greater_than_allowed.go index 4d3a6e8..fe8d66c 100644 --- a/model_limit_greater_than_allowed.go +++ b/model_limit_greater_than_allowed.go @@ -21,7 +21,7 @@ type LimitGreaterThanAllowed struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewLimitGreaterThanAllowed instantiates a new LimitGreaterThanAllowed object @@ -56,7 +56,7 @@ func (o *LimitGreaterThanAllowed) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *LimitGreaterThanAllowed) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *LimitGreaterThanAllowed) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *LimitGreaterThanAllowed) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *LimitGreaterThanAllowed) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LimitGreaterThanAllowed) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *LimitGreaterThanAllowed) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *LimitGreaterThanAllowed) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *LimitGreaterThanAllowed) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o LimitGreaterThanAllowed) MarshalJSON() ([]byte, error) { diff --git a/model_list_all_assets_by_wallet_ide400.go b/model_list_all_assets_by_wallet_ide400.go new file mode 100644 index 0000000..3106006 --- /dev/null +++ b/model_list_all_assets_by_wallet_ide400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListAllAssetsByWalletIDE400 - struct for ListAllAssetsByWalletIDE400 +type ListAllAssetsByWalletIDE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsListAllAssetsByWalletIDE400 is a convenience function that returns InvalidPagination wrapped in ListAllAssetsByWalletIDE400 +func InvalidPaginationAsListAllAssetsByWalletIDE400(v *InvalidPagination) ListAllAssetsByWalletIDE400 { + return ListAllAssetsByWalletIDE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsListAllAssetsByWalletIDE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListAllAssetsByWalletIDE400 +func LimitGreaterThanAllowedAsListAllAssetsByWalletIDE400(v *LimitGreaterThanAllowed) ListAllAssetsByWalletIDE400 { + return ListAllAssetsByWalletIDE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsListAllAssetsByWalletIDE400 is a convenience function that returns UriNotFound wrapped in ListAllAssetsByWalletIDE400 +func UriNotFoundAsListAllAssetsByWalletIDE400(v *UriNotFound) ListAllAssetsByWalletIDE400 { + return ListAllAssetsByWalletIDE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListAllAssetsByWalletIDE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListAllAssetsByWalletIDE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListAllAssetsByWalletIDE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListAllAssetsByWalletIDE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListAllAssetsByWalletIDE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableListAllAssetsByWalletIDE400 struct { + value *ListAllAssetsByWalletIDE400 + isSet bool +} + +func (v NullableListAllAssetsByWalletIDE400) Get() *ListAllAssetsByWalletIDE400 { + return v.value +} + +func (v *NullableListAllAssetsByWalletIDE400) Set(val *ListAllAssetsByWalletIDE400) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsByWalletIDE400) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsByWalletIDE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsByWalletIDE400(val *ListAllAssetsByWalletIDE400) *NullableListAllAssetsByWalletIDE400 { + return &NullableListAllAssetsByWalletIDE400{value: val, isSet: true} +} + +func (v NullableListAllAssetsByWalletIDE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsByWalletIDE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_by_wallet_ide401.go b/model_list_all_assets_by_wallet_ide401.go new file mode 100644 index 0000000..f2e6c57 --- /dev/null +++ b/model_list_all_assets_by_wallet_ide401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListAllAssetsByWalletIDE401 - struct for ListAllAssetsByWalletIDE401 +type ListAllAssetsByWalletIDE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsListAllAssetsByWalletIDE401 is a convenience function that returns InvalidApiKey wrapped in ListAllAssetsByWalletIDE401 +func InvalidApiKeyAsListAllAssetsByWalletIDE401(v *InvalidApiKey) ListAllAssetsByWalletIDE401 { + return ListAllAssetsByWalletIDE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsListAllAssetsByWalletIDE401 is a convenience function that returns MissingApiKey wrapped in ListAllAssetsByWalletIDE401 +func MissingApiKeyAsListAllAssetsByWalletIDE401(v *MissingApiKey) ListAllAssetsByWalletIDE401 { + return ListAllAssetsByWalletIDE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListAllAssetsByWalletIDE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListAllAssetsByWalletIDE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListAllAssetsByWalletIDE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListAllAssetsByWalletIDE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListAllAssetsByWalletIDE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableListAllAssetsByWalletIDE401 struct { + value *ListAllAssetsByWalletIDE401 + isSet bool +} + +func (v NullableListAllAssetsByWalletIDE401) Get() *ListAllAssetsByWalletIDE401 { + return v.value +} + +func (v *NullableListAllAssetsByWalletIDE401) Set(val *ListAllAssetsByWalletIDE401) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsByWalletIDE401) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsByWalletIDE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsByWalletIDE401(val *ListAllAssetsByWalletIDE401) *NullableListAllAssetsByWalletIDE401 { + return &NullableListAllAssetsByWalletIDE401{value: val, isSet: true} +} + +func (v NullableListAllAssetsByWalletIDE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsByWalletIDE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_by_wallet_ide403.go b/model_list_all_assets_by_wallet_ide403.go new file mode 100644 index 0000000..6a62569 --- /dev/null +++ b/model_list_all_assets_by_wallet_ide403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListAllAssetsByWalletIDE403 - struct for ListAllAssetsByWalletIDE403 +type ListAllAssetsByWalletIDE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsListAllAssetsByWalletIDE403 is a convenience function that returns BannedIpAddress wrapped in ListAllAssetsByWalletIDE403 +func BannedIpAddressAsListAllAssetsByWalletIDE403(v *BannedIpAddress) ListAllAssetsByWalletIDE403 { + return ListAllAssetsByWalletIDE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsListAllAssetsByWalletIDE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListAllAssetsByWalletIDE403 +func EndpointNotAllowedForApiKeyAsListAllAssetsByWalletIDE403(v *EndpointNotAllowedForApiKey) ListAllAssetsByWalletIDE403 { + return ListAllAssetsByWalletIDE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsListAllAssetsByWalletIDE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListAllAssetsByWalletIDE403 +func EndpointNotAllowedForPlanAsListAllAssetsByWalletIDE403(v *EndpointNotAllowedForPlan) ListAllAssetsByWalletIDE403 { + return ListAllAssetsByWalletIDE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsListAllAssetsByWalletIDE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListAllAssetsByWalletIDE403 +func FeatureMainnetsNotAllowedForPlanAsListAllAssetsByWalletIDE403(v *FeatureMainnetsNotAllowedForPlan) ListAllAssetsByWalletIDE403 { + return ListAllAssetsByWalletIDE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListAllAssetsByWalletIDE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListAllAssetsByWalletIDE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListAllAssetsByWalletIDE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListAllAssetsByWalletIDE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListAllAssetsByWalletIDE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableListAllAssetsByWalletIDE403 struct { + value *ListAllAssetsByWalletIDE403 + isSet bool +} + +func (v NullableListAllAssetsByWalletIDE403) Get() *ListAllAssetsByWalletIDE403 { + return v.value +} + +func (v *NullableListAllAssetsByWalletIDE403) Set(val *ListAllAssetsByWalletIDE403) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsByWalletIDE403) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsByWalletIDE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsByWalletIDE403(val *ListAllAssetsByWalletIDE403) *NullableListAllAssetsByWalletIDE403 { + return &NullableListAllAssetsByWalletIDE403{value: val, isSet: true} +} + +func (v NullableListAllAssetsByWalletIDE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsByWalletIDE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_by_wallet_idr.go b/model_list_all_assets_by_wallet_idr.go new file mode 100644 index 0000000..6f1962d --- /dev/null +++ b/model_list_all_assets_by_wallet_idr.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsByWalletIDR struct for ListAllAssetsByWalletIDR +type ListAllAssetsByWalletIDR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data ListAllAssetsByWalletIDRData `json:"data"` +} + +// NewListAllAssetsByWalletIDR instantiates a new ListAllAssetsByWalletIDR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsByWalletIDR(apiVersion string, requestId string, data ListAllAssetsByWalletIDRData) *ListAllAssetsByWalletIDR { + this := ListAllAssetsByWalletIDR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewListAllAssetsByWalletIDRWithDefaults instantiates a new ListAllAssetsByWalletIDR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsByWalletIDRWithDefaults() *ListAllAssetsByWalletIDR { + this := ListAllAssetsByWalletIDR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *ListAllAssetsByWalletIDR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *ListAllAssetsByWalletIDR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *ListAllAssetsByWalletIDR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ListAllAssetsByWalletIDR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *ListAllAssetsByWalletIDR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *ListAllAssetsByWalletIDR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *ListAllAssetsByWalletIDR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *ListAllAssetsByWalletIDR) GetData() ListAllAssetsByWalletIDRData { + if o == nil { + var ret ListAllAssetsByWalletIDRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDR) GetDataOk() (*ListAllAssetsByWalletIDRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ListAllAssetsByWalletIDR) SetData(v ListAllAssetsByWalletIDRData) { + o.Data = v +} + +func (o ListAllAssetsByWalletIDR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsByWalletIDR struct { + value *ListAllAssetsByWalletIDR + isSet bool +} + +func (v NullableListAllAssetsByWalletIDR) Get() *ListAllAssetsByWalletIDR { + return v.value +} + +func (v *NullableListAllAssetsByWalletIDR) Set(val *ListAllAssetsByWalletIDR) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsByWalletIDR) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsByWalletIDR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsByWalletIDR(val *ListAllAssetsByWalletIDR) *NullableListAllAssetsByWalletIDR { + return &NullableListAllAssetsByWalletIDR{value: val, isSet: true} +} + +func (v NullableListAllAssetsByWalletIDR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsByWalletIDR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_by_wallet_idr_data.go b/model_list_all_assets_by_wallet_idr_data.go new file mode 100644 index 0000000..a4eb41c --- /dev/null +++ b/model_list_all_assets_by_wallet_idr_data.go @@ -0,0 +1,109 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsByWalletIDRData struct for ListAllAssetsByWalletIDRData +type ListAllAssetsByWalletIDRData struct { + Item ListAllAssetsByWalletIDRI `json:"item"` +} + +// NewListAllAssetsByWalletIDRData instantiates a new ListAllAssetsByWalletIDRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsByWalletIDRData(item ListAllAssetsByWalletIDRI) *ListAllAssetsByWalletIDRData { + this := ListAllAssetsByWalletIDRData{} + this.Item = item + return &this +} + +// NewListAllAssetsByWalletIDRDataWithDefaults instantiates a new ListAllAssetsByWalletIDRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsByWalletIDRDataWithDefaults() *ListAllAssetsByWalletIDRData { + this := ListAllAssetsByWalletIDRData{} + return &this +} + +// GetItem returns the Item field value +func (o *ListAllAssetsByWalletIDRData) GetItem() ListAllAssetsByWalletIDRI { + if o == nil { + var ret ListAllAssetsByWalletIDRI + return ret + } + + return o.Item +} + +// GetItemOk returns a tuple with the Item field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDRData) GetItemOk() (*ListAllAssetsByWalletIDRI, bool) { + if o == nil { + return nil, false + } + return &o.Item, true +} + +// SetItem sets field value +func (o *ListAllAssetsByWalletIDRData) SetItem(v ListAllAssetsByWalletIDRI) { + o.Item = v +} + +func (o ListAllAssetsByWalletIDRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["item"] = o.Item + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsByWalletIDRData struct { + value *ListAllAssetsByWalletIDRData + isSet bool +} + +func (v NullableListAllAssetsByWalletIDRData) Get() *ListAllAssetsByWalletIDRData { + return v.value +} + +func (v *NullableListAllAssetsByWalletIDRData) Set(val *ListAllAssetsByWalletIDRData) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsByWalletIDRData) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsByWalletIDRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsByWalletIDRData(val *ListAllAssetsByWalletIDRData) *NullableListAllAssetsByWalletIDRData { + return &NullableListAllAssetsByWalletIDRData{value: val, isSet: true} +} + +func (v NullableListAllAssetsByWalletIDRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsByWalletIDRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_by_wallet_idri.go b/model_list_all_assets_by_wallet_idri.go new file mode 100644 index 0000000..464c888 --- /dev/null +++ b/model_list_all_assets_by_wallet_idri.go @@ -0,0 +1,229 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsByWalletIDRI struct for ListAllAssetsByWalletIDRI +type ListAllAssetsByWalletIDRI struct { + Coins []ListAllAssetsFromAllWalletsRICoins `json:"coins"` + // Represents fungible tokens'es detailed information + FungibleTokens []ListAllAssetsFromAllWalletsRIFungibleTokens `json:"fungibleTokens"` + // Represents non-fungible tokens'es detailed information. + NonFungibleTokens []ListAllAssetsFromAllWalletsRINonFungibleTokens `json:"nonFungibleTokens"` + // Defines the unique ID of the Wallet. + WalletId string `json:"walletId"` + // Represents the name of the wallet. + WalletName string `json:"walletName"` +} + +// NewListAllAssetsByWalletIDRI instantiates a new ListAllAssetsByWalletIDRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsByWalletIDRI(coins []ListAllAssetsFromAllWalletsRICoins, fungibleTokens []ListAllAssetsFromAllWalletsRIFungibleTokens, nonFungibleTokens []ListAllAssetsFromAllWalletsRINonFungibleTokens, walletId string, walletName string) *ListAllAssetsByWalletIDRI { + this := ListAllAssetsByWalletIDRI{} + this.Coins = coins + this.FungibleTokens = fungibleTokens + this.NonFungibleTokens = nonFungibleTokens + this.WalletId = walletId + this.WalletName = walletName + return &this +} + +// NewListAllAssetsByWalletIDRIWithDefaults instantiates a new ListAllAssetsByWalletIDRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsByWalletIDRIWithDefaults() *ListAllAssetsByWalletIDRI { + this := ListAllAssetsByWalletIDRI{} + return &this +} + +// GetCoins returns the Coins field value +func (o *ListAllAssetsByWalletIDRI) GetCoins() []ListAllAssetsFromAllWalletsRICoins { + if o == nil { + var ret []ListAllAssetsFromAllWalletsRICoins + return ret + } + + return o.Coins +} + +// GetCoinsOk returns a tuple with the Coins field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDRI) GetCoinsOk() ([]ListAllAssetsFromAllWalletsRICoins, bool) { + if o == nil { + return nil, false + } + return o.Coins, true +} + +// SetCoins sets field value +func (o *ListAllAssetsByWalletIDRI) SetCoins(v []ListAllAssetsFromAllWalletsRICoins) { + o.Coins = v +} + +// GetFungibleTokens returns the FungibleTokens field value +func (o *ListAllAssetsByWalletIDRI) GetFungibleTokens() []ListAllAssetsFromAllWalletsRIFungibleTokens { + if o == nil { + var ret []ListAllAssetsFromAllWalletsRIFungibleTokens + return ret + } + + return o.FungibleTokens +} + +// GetFungibleTokensOk returns a tuple with the FungibleTokens field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDRI) GetFungibleTokensOk() ([]ListAllAssetsFromAllWalletsRIFungibleTokens, bool) { + if o == nil { + return nil, false + } + return o.FungibleTokens, true +} + +// SetFungibleTokens sets field value +func (o *ListAllAssetsByWalletIDRI) SetFungibleTokens(v []ListAllAssetsFromAllWalletsRIFungibleTokens) { + o.FungibleTokens = v +} + +// GetNonFungibleTokens returns the NonFungibleTokens field value +func (o *ListAllAssetsByWalletIDRI) GetNonFungibleTokens() []ListAllAssetsFromAllWalletsRINonFungibleTokens { + if o == nil { + var ret []ListAllAssetsFromAllWalletsRINonFungibleTokens + return ret + } + + return o.NonFungibleTokens +} + +// GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDRI) GetNonFungibleTokensOk() ([]ListAllAssetsFromAllWalletsRINonFungibleTokens, bool) { + if o == nil { + return nil, false + } + return o.NonFungibleTokens, true +} + +// SetNonFungibleTokens sets field value +func (o *ListAllAssetsByWalletIDRI) SetNonFungibleTokens(v []ListAllAssetsFromAllWalletsRINonFungibleTokens) { + o.NonFungibleTokens = v +} + +// GetWalletId returns the WalletId field value +func (o *ListAllAssetsByWalletIDRI) GetWalletId() string { + if o == nil { + var ret string + return ret + } + + return o.WalletId +} + +// GetWalletIdOk returns a tuple with the WalletId field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDRI) GetWalletIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.WalletId, true +} + +// SetWalletId sets field value +func (o *ListAllAssetsByWalletIDRI) SetWalletId(v string) { + o.WalletId = v +} + +// GetWalletName returns the WalletName field value +func (o *ListAllAssetsByWalletIDRI) GetWalletName() string { + if o == nil { + var ret string + return ret + } + + return o.WalletName +} + +// GetWalletNameOk returns a tuple with the WalletName field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsByWalletIDRI) GetWalletNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.WalletName, true +} + +// SetWalletName sets field value +func (o *ListAllAssetsByWalletIDRI) SetWalletName(v string) { + o.WalletName = v +} + +func (o ListAllAssetsByWalletIDRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["coins"] = o.Coins + } + if true { + toSerialize["fungibleTokens"] = o.FungibleTokens + } + if true { + toSerialize["nonFungibleTokens"] = o.NonFungibleTokens + } + if true { + toSerialize["walletId"] = o.WalletId + } + if true { + toSerialize["walletName"] = o.WalletName + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsByWalletIDRI struct { + value *ListAllAssetsByWalletIDRI + isSet bool +} + +func (v NullableListAllAssetsByWalletIDRI) Get() *ListAllAssetsByWalletIDRI { + return v.value +} + +func (v *NullableListAllAssetsByWalletIDRI) Set(val *ListAllAssetsByWalletIDRI) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsByWalletIDRI) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsByWalletIDRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsByWalletIDRI(val *ListAllAssetsByWalletIDRI) *NullableListAllAssetsByWalletIDRI { + return &NullableListAllAssetsByWalletIDRI{value: val, isSet: true} +} + +func (v NullableListAllAssetsByWalletIDRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsByWalletIDRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_e400.go b/model_list_all_assets_from_all_wallets_e400.go new file mode 100644 index 0000000..38c351b --- /dev/null +++ b/model_list_all_assets_from_all_wallets_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListAllAssetsFromAllWalletsE400 - struct for ListAllAssetsFromAllWalletsE400 +type ListAllAssetsFromAllWalletsE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsListAllAssetsFromAllWalletsE400 is a convenience function that returns InvalidPagination wrapped in ListAllAssetsFromAllWalletsE400 +func InvalidPaginationAsListAllAssetsFromAllWalletsE400(v *InvalidPagination) ListAllAssetsFromAllWalletsE400 { + return ListAllAssetsFromAllWalletsE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsListAllAssetsFromAllWalletsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListAllAssetsFromAllWalletsE400 +func LimitGreaterThanAllowedAsListAllAssetsFromAllWalletsE400(v *LimitGreaterThanAllowed) ListAllAssetsFromAllWalletsE400 { + return ListAllAssetsFromAllWalletsE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsListAllAssetsFromAllWalletsE400 is a convenience function that returns UriNotFound wrapped in ListAllAssetsFromAllWalletsE400 +func UriNotFoundAsListAllAssetsFromAllWalletsE400(v *UriNotFound) ListAllAssetsFromAllWalletsE400 { + return ListAllAssetsFromAllWalletsE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListAllAssetsFromAllWalletsE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListAllAssetsFromAllWalletsE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListAllAssetsFromAllWalletsE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListAllAssetsFromAllWalletsE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListAllAssetsFromAllWalletsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableListAllAssetsFromAllWalletsE400 struct { + value *ListAllAssetsFromAllWalletsE400 + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsE400) Get() *ListAllAssetsFromAllWalletsE400 { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsE400) Set(val *ListAllAssetsFromAllWalletsE400) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsE400) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsE400(val *ListAllAssetsFromAllWalletsE400) *NullableListAllAssetsFromAllWalletsE400 { + return &NullableListAllAssetsFromAllWalletsE400{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_e401.go b/model_list_all_assets_from_all_wallets_e401.go new file mode 100644 index 0000000..c8f8203 --- /dev/null +++ b/model_list_all_assets_from_all_wallets_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListAllAssetsFromAllWalletsE401 - struct for ListAllAssetsFromAllWalletsE401 +type ListAllAssetsFromAllWalletsE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsListAllAssetsFromAllWalletsE401 is a convenience function that returns InvalidApiKey wrapped in ListAllAssetsFromAllWalletsE401 +func InvalidApiKeyAsListAllAssetsFromAllWalletsE401(v *InvalidApiKey) ListAllAssetsFromAllWalletsE401 { + return ListAllAssetsFromAllWalletsE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsListAllAssetsFromAllWalletsE401 is a convenience function that returns MissingApiKey wrapped in ListAllAssetsFromAllWalletsE401 +func MissingApiKeyAsListAllAssetsFromAllWalletsE401(v *MissingApiKey) ListAllAssetsFromAllWalletsE401 { + return ListAllAssetsFromAllWalletsE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListAllAssetsFromAllWalletsE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListAllAssetsFromAllWalletsE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListAllAssetsFromAllWalletsE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListAllAssetsFromAllWalletsE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListAllAssetsFromAllWalletsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableListAllAssetsFromAllWalletsE401 struct { + value *ListAllAssetsFromAllWalletsE401 + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsE401) Get() *ListAllAssetsFromAllWalletsE401 { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsE401) Set(val *ListAllAssetsFromAllWalletsE401) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsE401) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsE401(val *ListAllAssetsFromAllWalletsE401) *NullableListAllAssetsFromAllWalletsE401 { + return &NullableListAllAssetsFromAllWalletsE401{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_e403.go b/model_list_all_assets_from_all_wallets_e403.go new file mode 100644 index 0000000..058f310 --- /dev/null +++ b/model_list_all_assets_from_all_wallets_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListAllAssetsFromAllWalletsE403 - struct for ListAllAssetsFromAllWalletsE403 +type ListAllAssetsFromAllWalletsE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsListAllAssetsFromAllWalletsE403 is a convenience function that returns BannedIpAddress wrapped in ListAllAssetsFromAllWalletsE403 +func BannedIpAddressAsListAllAssetsFromAllWalletsE403(v *BannedIpAddress) ListAllAssetsFromAllWalletsE403 { + return ListAllAssetsFromAllWalletsE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsListAllAssetsFromAllWalletsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListAllAssetsFromAllWalletsE403 +func EndpointNotAllowedForApiKeyAsListAllAssetsFromAllWalletsE403(v *EndpointNotAllowedForApiKey) ListAllAssetsFromAllWalletsE403 { + return ListAllAssetsFromAllWalletsE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsListAllAssetsFromAllWalletsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListAllAssetsFromAllWalletsE403 +func EndpointNotAllowedForPlanAsListAllAssetsFromAllWalletsE403(v *EndpointNotAllowedForPlan) ListAllAssetsFromAllWalletsE403 { + return ListAllAssetsFromAllWalletsE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsListAllAssetsFromAllWalletsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListAllAssetsFromAllWalletsE403 +func FeatureMainnetsNotAllowedForPlanAsListAllAssetsFromAllWalletsE403(v *FeatureMainnetsNotAllowedForPlan) ListAllAssetsFromAllWalletsE403 { + return ListAllAssetsFromAllWalletsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListAllAssetsFromAllWalletsE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListAllAssetsFromAllWalletsE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListAllAssetsFromAllWalletsE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListAllAssetsFromAllWalletsE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListAllAssetsFromAllWalletsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableListAllAssetsFromAllWalletsE403 struct { + value *ListAllAssetsFromAllWalletsE403 + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsE403) Get() *ListAllAssetsFromAllWalletsE403 { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsE403) Set(val *ListAllAssetsFromAllWalletsE403) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsE403) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsE403(val *ListAllAssetsFromAllWalletsE403) *NullableListAllAssetsFromAllWalletsE403 { + return &NullableListAllAssetsFromAllWalletsE403{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_r.go b/model_list_all_assets_from_all_wallets_r.go new file mode 100644 index 0000000..f74b168 --- /dev/null +++ b/model_list_all_assets_from_all_wallets_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsFromAllWalletsR struct for ListAllAssetsFromAllWalletsR +type ListAllAssetsFromAllWalletsR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data ListAllAssetsFromAllWalletsRData `json:"data"` +} + +// NewListAllAssetsFromAllWalletsR instantiates a new ListAllAssetsFromAllWalletsR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsFromAllWalletsR(apiVersion string, requestId string, data ListAllAssetsFromAllWalletsRData) *ListAllAssetsFromAllWalletsR { + this := ListAllAssetsFromAllWalletsR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewListAllAssetsFromAllWalletsRWithDefaults instantiates a new ListAllAssetsFromAllWalletsR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsFromAllWalletsRWithDefaults() *ListAllAssetsFromAllWalletsR { + this := ListAllAssetsFromAllWalletsR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *ListAllAssetsFromAllWalletsR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *ListAllAssetsFromAllWalletsR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *ListAllAssetsFromAllWalletsR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ListAllAssetsFromAllWalletsR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *ListAllAssetsFromAllWalletsR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *ListAllAssetsFromAllWalletsR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *ListAllAssetsFromAllWalletsR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *ListAllAssetsFromAllWalletsR) GetData() ListAllAssetsFromAllWalletsRData { + if o == nil { + var ret ListAllAssetsFromAllWalletsRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsR) GetDataOk() (*ListAllAssetsFromAllWalletsRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ListAllAssetsFromAllWalletsR) SetData(v ListAllAssetsFromAllWalletsRData) { + o.Data = v +} + +func (o ListAllAssetsFromAllWalletsR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsFromAllWalletsR struct { + value *ListAllAssetsFromAllWalletsR + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsR) Get() *ListAllAssetsFromAllWalletsR { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsR) Set(val *ListAllAssetsFromAllWalletsR) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsR) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsR(val *ListAllAssetsFromAllWalletsR) *NullableListAllAssetsFromAllWalletsR { + return &NullableListAllAssetsFromAllWalletsR{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_r_data.go b/model_list_all_assets_from_all_wallets_r_data.go new file mode 100644 index 0000000..b8b55c1 --- /dev/null +++ b/model_list_all_assets_from_all_wallets_r_data.go @@ -0,0 +1,199 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsFromAllWalletsRData struct for ListAllAssetsFromAllWalletsRData +type ListAllAssetsFromAllWalletsRData struct { + // Defines how many items should be returned in the response per page basis. + Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` + // Defines the total number of items returned in the response. + Total int32 `json:"total"` + Items []ListAllAssetsFromAllWalletsRI `json:"items"` +} + +// NewListAllAssetsFromAllWalletsRData instantiates a new ListAllAssetsFromAllWalletsRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsFromAllWalletsRData(limit int32, offset int32, total int32, items []ListAllAssetsFromAllWalletsRI) *ListAllAssetsFromAllWalletsRData { + this := ListAllAssetsFromAllWalletsRData{} + this.Limit = limit + this.Offset = offset + this.Total = total + this.Items = items + return &this +} + +// NewListAllAssetsFromAllWalletsRDataWithDefaults instantiates a new ListAllAssetsFromAllWalletsRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsFromAllWalletsRDataWithDefaults() *ListAllAssetsFromAllWalletsRData { + this := ListAllAssetsFromAllWalletsRData{} + return &this +} + +// GetLimit returns the Limit field value +func (o *ListAllAssetsFromAllWalletsRData) GetLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRData) GetLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Limit, true +} + +// SetLimit sets field value +func (o *ListAllAssetsFromAllWalletsRData) SetLimit(v int32) { + o.Limit = v +} + +// GetOffset returns the Offset field value +func (o *ListAllAssetsFromAllWalletsRData) GetOffset() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Offset +} + +// GetOffsetOk returns a tuple with the Offset field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRData) GetOffsetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Offset, true +} + +// SetOffset sets field value +func (o *ListAllAssetsFromAllWalletsRData) SetOffset(v int32) { + o.Offset = v +} + +// GetTotal returns the Total field value +func (o *ListAllAssetsFromAllWalletsRData) GetTotal() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRData) GetTotalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *ListAllAssetsFromAllWalletsRData) SetTotal(v int32) { + o.Total = v +} + +// GetItems returns the Items field value +func (o *ListAllAssetsFromAllWalletsRData) GetItems() []ListAllAssetsFromAllWalletsRI { + if o == nil { + var ret []ListAllAssetsFromAllWalletsRI + return ret + } + + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRData) GetItemsOk() ([]ListAllAssetsFromAllWalletsRI, bool) { + if o == nil { + return nil, false + } + return o.Items, true +} + +// SetItems sets field value +func (o *ListAllAssetsFromAllWalletsRData) SetItems(v []ListAllAssetsFromAllWalletsRI) { + o.Items = v +} + +func (o ListAllAssetsFromAllWalletsRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["limit"] = o.Limit + } + if true { + toSerialize["offset"] = o.Offset + } + if true { + toSerialize["total"] = o.Total + } + if true { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsFromAllWalletsRData struct { + value *ListAllAssetsFromAllWalletsRData + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsRData) Get() *ListAllAssetsFromAllWalletsRData { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsRData) Set(val *ListAllAssetsFromAllWalletsRData) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsRData) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsRData(val *ListAllAssetsFromAllWalletsRData) *NullableListAllAssetsFromAllWalletsRData { + return &NullableListAllAssetsFromAllWalletsRData{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_ri.go b/model_list_all_assets_from_all_wallets_ri.go new file mode 100644 index 0000000..c0b1939 --- /dev/null +++ b/model_list_all_assets_from_all_wallets_ri.go @@ -0,0 +1,229 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsFromAllWalletsRI struct for ListAllAssetsFromAllWalletsRI +type ListAllAssetsFromAllWalletsRI struct { + Coins []ListAllAssetsFromAllWalletsRICoins `json:"coins"` + // Represents fungible tokens'es detailed information + FungibleTokens []ListAllAssetsFromAllWalletsRIFungibleTokens `json:"fungibleTokens"` + // Represents non-fungible tokens'es detailed information. + NonFungibleTokens []ListAllAssetsFromAllWalletsRINonFungibleTokens `json:"nonFungibleTokens"` + // Defines the unique ID of the Wallet. + WalletId string `json:"walletId"` + // Represents the name of the wallet. + WalletName string `json:"walletName"` +} + +// NewListAllAssetsFromAllWalletsRI instantiates a new ListAllAssetsFromAllWalletsRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsFromAllWalletsRI(coins []ListAllAssetsFromAllWalletsRICoins, fungibleTokens []ListAllAssetsFromAllWalletsRIFungibleTokens, nonFungibleTokens []ListAllAssetsFromAllWalletsRINonFungibleTokens, walletId string, walletName string) *ListAllAssetsFromAllWalletsRI { + this := ListAllAssetsFromAllWalletsRI{} + this.Coins = coins + this.FungibleTokens = fungibleTokens + this.NonFungibleTokens = nonFungibleTokens + this.WalletId = walletId + this.WalletName = walletName + return &this +} + +// NewListAllAssetsFromAllWalletsRIWithDefaults instantiates a new ListAllAssetsFromAllWalletsRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsFromAllWalletsRIWithDefaults() *ListAllAssetsFromAllWalletsRI { + this := ListAllAssetsFromAllWalletsRI{} + return &this +} + +// GetCoins returns the Coins field value +func (o *ListAllAssetsFromAllWalletsRI) GetCoins() []ListAllAssetsFromAllWalletsRICoins { + if o == nil { + var ret []ListAllAssetsFromAllWalletsRICoins + return ret + } + + return o.Coins +} + +// GetCoinsOk returns a tuple with the Coins field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRI) GetCoinsOk() ([]ListAllAssetsFromAllWalletsRICoins, bool) { + if o == nil { + return nil, false + } + return o.Coins, true +} + +// SetCoins sets field value +func (o *ListAllAssetsFromAllWalletsRI) SetCoins(v []ListAllAssetsFromAllWalletsRICoins) { + o.Coins = v +} + +// GetFungibleTokens returns the FungibleTokens field value +func (o *ListAllAssetsFromAllWalletsRI) GetFungibleTokens() []ListAllAssetsFromAllWalletsRIFungibleTokens { + if o == nil { + var ret []ListAllAssetsFromAllWalletsRIFungibleTokens + return ret + } + + return o.FungibleTokens +} + +// GetFungibleTokensOk returns a tuple with the FungibleTokens field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRI) GetFungibleTokensOk() ([]ListAllAssetsFromAllWalletsRIFungibleTokens, bool) { + if o == nil { + return nil, false + } + return o.FungibleTokens, true +} + +// SetFungibleTokens sets field value +func (o *ListAllAssetsFromAllWalletsRI) SetFungibleTokens(v []ListAllAssetsFromAllWalletsRIFungibleTokens) { + o.FungibleTokens = v +} + +// GetNonFungibleTokens returns the NonFungibleTokens field value +func (o *ListAllAssetsFromAllWalletsRI) GetNonFungibleTokens() []ListAllAssetsFromAllWalletsRINonFungibleTokens { + if o == nil { + var ret []ListAllAssetsFromAllWalletsRINonFungibleTokens + return ret + } + + return o.NonFungibleTokens +} + +// GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRI) GetNonFungibleTokensOk() ([]ListAllAssetsFromAllWalletsRINonFungibleTokens, bool) { + if o == nil { + return nil, false + } + return o.NonFungibleTokens, true +} + +// SetNonFungibleTokens sets field value +func (o *ListAllAssetsFromAllWalletsRI) SetNonFungibleTokens(v []ListAllAssetsFromAllWalletsRINonFungibleTokens) { + o.NonFungibleTokens = v +} + +// GetWalletId returns the WalletId field value +func (o *ListAllAssetsFromAllWalletsRI) GetWalletId() string { + if o == nil { + var ret string + return ret + } + + return o.WalletId +} + +// GetWalletIdOk returns a tuple with the WalletId field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRI) GetWalletIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.WalletId, true +} + +// SetWalletId sets field value +func (o *ListAllAssetsFromAllWalletsRI) SetWalletId(v string) { + o.WalletId = v +} + +// GetWalletName returns the WalletName field value +func (o *ListAllAssetsFromAllWalletsRI) GetWalletName() string { + if o == nil { + var ret string + return ret + } + + return o.WalletName +} + +// GetWalletNameOk returns a tuple with the WalletName field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRI) GetWalletNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.WalletName, true +} + +// SetWalletName sets field value +func (o *ListAllAssetsFromAllWalletsRI) SetWalletName(v string) { + o.WalletName = v +} + +func (o ListAllAssetsFromAllWalletsRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["coins"] = o.Coins + } + if true { + toSerialize["fungibleTokens"] = o.FungibleTokens + } + if true { + toSerialize["nonFungibleTokens"] = o.NonFungibleTokens + } + if true { + toSerialize["walletId"] = o.WalletId + } + if true { + toSerialize["walletName"] = o.WalletName + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsFromAllWalletsRI struct { + value *ListAllAssetsFromAllWalletsRI + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsRI) Get() *ListAllAssetsFromAllWalletsRI { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsRI) Set(val *ListAllAssetsFromAllWalletsRI) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsRI) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsRI(val *ListAllAssetsFromAllWalletsRI) *NullableListAllAssetsFromAllWalletsRI { + return &NullableListAllAssetsFromAllWalletsRI{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_ri_coins.go b/model_list_all_assets_from_all_wallets_ri_coins.go new file mode 100644 index 0000000..c0f8e42 --- /dev/null +++ b/model_list_all_assets_from_all_wallets_ri_coins.go @@ -0,0 +1,260 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsFromAllWalletsRICoins struct for ListAllAssetsFromAllWalletsRICoins +type ListAllAssetsFromAllWalletsRICoins struct { + // Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + Blockchain string `json:"blockchain"` + // Defines the total balance of the address that is confirmed. It doesn't include unconfirmed transactions. + ConfirmedBalance string `json:"confirmedBalance"` + // Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + Network string `json:"network"` + // Defines the total amount of all coins received to the address, based on confirmed transactions. + TotalReceived string `json:"totalReceived"` + // Defines the total amount of all spent by this address coins, based on confirmed transactions. + TotalSpent string `json:"totalSpent"` + // Represents the unit of the confirmed balance. + Unit string `json:"unit"` +} + +// NewListAllAssetsFromAllWalletsRICoins instantiates a new ListAllAssetsFromAllWalletsRICoins object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsFromAllWalletsRICoins(blockchain string, confirmedBalance string, network string, totalReceived string, totalSpent string, unit string) *ListAllAssetsFromAllWalletsRICoins { + this := ListAllAssetsFromAllWalletsRICoins{} + this.Blockchain = blockchain + this.ConfirmedBalance = confirmedBalance + this.Network = network + this.TotalReceived = totalReceived + this.TotalSpent = totalSpent + this.Unit = unit + return &this +} + +// NewListAllAssetsFromAllWalletsRICoinsWithDefaults instantiates a new ListAllAssetsFromAllWalletsRICoins object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsFromAllWalletsRICoinsWithDefaults() *ListAllAssetsFromAllWalletsRICoins { + this := ListAllAssetsFromAllWalletsRICoins{} + return &this +} + +// GetBlockchain returns the Blockchain field value +func (o *ListAllAssetsFromAllWalletsRICoins) GetBlockchain() string { + if o == nil { + var ret string + return ret + } + + return o.Blockchain +} + +// GetBlockchainOk returns a tuple with the Blockchain field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRICoins) GetBlockchainOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Blockchain, true +} + +// SetBlockchain sets field value +func (o *ListAllAssetsFromAllWalletsRICoins) SetBlockchain(v string) { + o.Blockchain = v +} + +// GetConfirmedBalance returns the ConfirmedBalance field value +func (o *ListAllAssetsFromAllWalletsRICoins) GetConfirmedBalance() string { + if o == nil { + var ret string + return ret + } + + return o.ConfirmedBalance +} + +// GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRICoins) GetConfirmedBalanceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConfirmedBalance, true +} + +// SetConfirmedBalance sets field value +func (o *ListAllAssetsFromAllWalletsRICoins) SetConfirmedBalance(v string) { + o.ConfirmedBalance = v +} + +// GetNetwork returns the Network field value +func (o *ListAllAssetsFromAllWalletsRICoins) GetNetwork() string { + if o == nil { + var ret string + return ret + } + + return o.Network +} + +// GetNetworkOk returns a tuple with the Network field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRICoins) GetNetworkOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Network, true +} + +// SetNetwork sets field value +func (o *ListAllAssetsFromAllWalletsRICoins) SetNetwork(v string) { + o.Network = v +} + +// GetTotalReceived returns the TotalReceived field value +func (o *ListAllAssetsFromAllWalletsRICoins) GetTotalReceived() string { + if o == nil { + var ret string + return ret + } + + return o.TotalReceived +} + +// GetTotalReceivedOk returns a tuple with the TotalReceived field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRICoins) GetTotalReceivedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TotalReceived, true +} + +// SetTotalReceived sets field value +func (o *ListAllAssetsFromAllWalletsRICoins) SetTotalReceived(v string) { + o.TotalReceived = v +} + +// GetTotalSpent returns the TotalSpent field value +func (o *ListAllAssetsFromAllWalletsRICoins) GetTotalSpent() string { + if o == nil { + var ret string + return ret + } + + return o.TotalSpent +} + +// GetTotalSpentOk returns a tuple with the TotalSpent field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRICoins) GetTotalSpentOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TotalSpent, true +} + +// SetTotalSpent sets field value +func (o *ListAllAssetsFromAllWalletsRICoins) SetTotalSpent(v string) { + o.TotalSpent = v +} + +// GetUnit returns the Unit field value +func (o *ListAllAssetsFromAllWalletsRICoins) GetUnit() string { + if o == nil { + var ret string + return ret + } + + return o.Unit +} + +// GetUnitOk returns a tuple with the Unit field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRICoins) GetUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Unit, true +} + +// SetUnit sets field value +func (o *ListAllAssetsFromAllWalletsRICoins) SetUnit(v string) { + o.Unit = v +} + +func (o ListAllAssetsFromAllWalletsRICoins) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["blockchain"] = o.Blockchain + } + if true { + toSerialize["confirmedBalance"] = o.ConfirmedBalance + } + if true { + toSerialize["network"] = o.Network + } + if true { + toSerialize["totalReceived"] = o.TotalReceived + } + if true { + toSerialize["totalSpent"] = o.TotalSpent + } + if true { + toSerialize["unit"] = o.Unit + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsFromAllWalletsRICoins struct { + value *ListAllAssetsFromAllWalletsRICoins + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsRICoins) Get() *ListAllAssetsFromAllWalletsRICoins { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsRICoins) Set(val *ListAllAssetsFromAllWalletsRICoins) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsRICoins) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsRICoins) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsRICoins(val *ListAllAssetsFromAllWalletsRICoins) *NullableListAllAssetsFromAllWalletsRICoins { + return &NullableListAllAssetsFromAllWalletsRICoins{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsRICoins) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsRICoins) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_ri_fungible_tokens.go b/model_list_all_assets_from_all_wallets_ri_fungible_tokens.go new file mode 100644 index 0000000..224ffbd --- /dev/null +++ b/model_list_all_assets_from_all_wallets_ri_fungible_tokens.go @@ -0,0 +1,260 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsFromAllWalletsRIFungibleTokens struct for ListAllAssetsFromAllWalletsRIFungibleTokens +type ListAllAssetsFromAllWalletsRIFungibleTokens struct { + // Defines the amount of the fungible tokens. + Amount string `json:"amount"` + // Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + Blockchain string `json:"blockchain"` + // Defines the specific token identifier. For Bitcoin-based transactions it should be the propertyId and for Ethereum-based transactions - the contract. + Identifier string `json:"identifier"` + // Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + Network string `json:"network"` + // Defines the symbol of the fungible tokens. + Symbol string `json:"symbol"` + // Defines the specific token type. + Type string `json:"type"` +} + +// NewListAllAssetsFromAllWalletsRIFungibleTokens instantiates a new ListAllAssetsFromAllWalletsRIFungibleTokens object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsFromAllWalletsRIFungibleTokens(amount string, blockchain string, identifier string, network string, symbol string, type_ string) *ListAllAssetsFromAllWalletsRIFungibleTokens { + this := ListAllAssetsFromAllWalletsRIFungibleTokens{} + this.Amount = amount + this.Blockchain = blockchain + this.Identifier = identifier + this.Network = network + this.Symbol = symbol + this.Type = type_ + return &this +} + +// NewListAllAssetsFromAllWalletsRIFungibleTokensWithDefaults instantiates a new ListAllAssetsFromAllWalletsRIFungibleTokens object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsFromAllWalletsRIFungibleTokensWithDefaults() *ListAllAssetsFromAllWalletsRIFungibleTokens { + this := ListAllAssetsFromAllWalletsRIFungibleTokens{} + return &this +} + +// GetAmount returns the Amount field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetAmount() string { + if o == nil { + var ret string + return ret + } + + return o.Amount +} + +// GetAmountOk returns a tuple with the Amount field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetAmountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Amount, true +} + +// SetAmount sets field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetAmount(v string) { + o.Amount = v +} + +// GetBlockchain returns the Blockchain field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetBlockchain() string { + if o == nil { + var ret string + return ret + } + + return o.Blockchain +} + +// GetBlockchainOk returns a tuple with the Blockchain field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetBlockchainOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Blockchain, true +} + +// SetBlockchain sets field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetBlockchain(v string) { + o.Blockchain = v +} + +// GetIdentifier returns the Identifier field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetIdentifier() string { + if o == nil { + var ret string + return ret + } + + return o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetIdentifierOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Identifier, true +} + +// SetIdentifier sets field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetIdentifier(v string) { + o.Identifier = v +} + +// GetNetwork returns the Network field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetNetwork() string { + if o == nil { + var ret string + return ret + } + + return o.Network +} + +// GetNetworkOk returns a tuple with the Network field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetNetworkOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Network, true +} + +// SetNetwork sets field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetNetwork(v string) { + o.Network = v +} + +// GetSymbol returns the Symbol field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetSymbol() string { + if o == nil { + var ret string + return ret + } + + return o.Symbol +} + +// GetSymbolOk returns a tuple with the Symbol field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetSymbolOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Symbol, true +} + +// SetSymbol sets field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetSymbol(v string) { + o.Symbol = v +} + +// GetType returns the Type field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *ListAllAssetsFromAllWalletsRIFungibleTokens) SetType(v string) { + o.Type = v +} + +func (o ListAllAssetsFromAllWalletsRIFungibleTokens) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["amount"] = o.Amount + } + if true { + toSerialize["blockchain"] = o.Blockchain + } + if true { + toSerialize["identifier"] = o.Identifier + } + if true { + toSerialize["network"] = o.Network + } + if true { + toSerialize["symbol"] = o.Symbol + } + if true { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsFromAllWalletsRIFungibleTokens struct { + value *ListAllAssetsFromAllWalletsRIFungibleTokens + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsRIFungibleTokens) Get() *ListAllAssetsFromAllWalletsRIFungibleTokens { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsRIFungibleTokens) Set(val *ListAllAssetsFromAllWalletsRIFungibleTokens) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsRIFungibleTokens) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsRIFungibleTokens) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsRIFungibleTokens(val *ListAllAssetsFromAllWalletsRIFungibleTokens) *NullableListAllAssetsFromAllWalletsRIFungibleTokens { + return &NullableListAllAssetsFromAllWalletsRIFungibleTokens{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsRIFungibleTokens) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsRIFungibleTokens) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_assets_from_all_wallets_ri_non_fungible_tokens.go b/model_list_all_assets_from_all_wallets_ri_non_fungible_tokens.go new file mode 100644 index 0000000..ff32e0c --- /dev/null +++ b/model_list_all_assets_from_all_wallets_ri_non_fungible_tokens.go @@ -0,0 +1,260 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListAllAssetsFromAllWalletsRINonFungibleTokens struct for ListAllAssetsFromAllWalletsRINonFungibleTokens +type ListAllAssetsFromAllWalletsRINonFungibleTokens struct { + // Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. + Blockchain string `json:"blockchain"` + // Defines the specific token identifier. For Bitcoin-based transactions it should be the propertyId and for Ethereum-based transactions - the contract. + Identifier string `json:"identifier"` + // Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\" are test networks. + Network string `json:"network"` + // Defines the symbol of the non-fungible tokens. + Symbol string `json:"symbol"` + // Represents tokens' unique identifier. + TokenId string `json:"tokenId"` + // Defines the specific token type. + Type string `json:"type"` +} + +// NewListAllAssetsFromAllWalletsRINonFungibleTokens instantiates a new ListAllAssetsFromAllWalletsRINonFungibleTokens object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListAllAssetsFromAllWalletsRINonFungibleTokens(blockchain string, identifier string, network string, symbol string, tokenId string, type_ string) *ListAllAssetsFromAllWalletsRINonFungibleTokens { + this := ListAllAssetsFromAllWalletsRINonFungibleTokens{} + this.Blockchain = blockchain + this.Identifier = identifier + this.Network = network + this.Symbol = symbol + this.TokenId = tokenId + this.Type = type_ + return &this +} + +// NewListAllAssetsFromAllWalletsRINonFungibleTokensWithDefaults instantiates a new ListAllAssetsFromAllWalletsRINonFungibleTokens object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListAllAssetsFromAllWalletsRINonFungibleTokensWithDefaults() *ListAllAssetsFromAllWalletsRINonFungibleTokens { + this := ListAllAssetsFromAllWalletsRINonFungibleTokens{} + return &this +} + +// GetBlockchain returns the Blockchain field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetBlockchain() string { + if o == nil { + var ret string + return ret + } + + return o.Blockchain +} + +// GetBlockchainOk returns a tuple with the Blockchain field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetBlockchainOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Blockchain, true +} + +// SetBlockchain sets field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetBlockchain(v string) { + o.Blockchain = v +} + +// GetIdentifier returns the Identifier field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetIdentifier() string { + if o == nil { + var ret string + return ret + } + + return o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetIdentifierOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Identifier, true +} + +// SetIdentifier sets field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetIdentifier(v string) { + o.Identifier = v +} + +// GetNetwork returns the Network field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetNetwork() string { + if o == nil { + var ret string + return ret + } + + return o.Network +} + +// GetNetworkOk returns a tuple with the Network field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetNetworkOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Network, true +} + +// SetNetwork sets field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetNetwork(v string) { + o.Network = v +} + +// GetSymbol returns the Symbol field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetSymbol() string { + if o == nil { + var ret string + return ret + } + + return o.Symbol +} + +// GetSymbolOk returns a tuple with the Symbol field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetSymbolOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Symbol, true +} + +// SetSymbol sets field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetSymbol(v string) { + o.Symbol = v +} + +// GetTokenId returns the TokenId field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetTokenId() string { + if o == nil { + var ret string + return ret + } + + return o.TokenId +} + +// GetTokenIdOk returns a tuple with the TokenId field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetTokenIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenId, true +} + +// SetTokenId sets field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetTokenId(v string) { + o.TokenId = v +} + +// GetType returns the Type field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *ListAllAssetsFromAllWalletsRINonFungibleTokens) SetType(v string) { + o.Type = v +} + +func (o ListAllAssetsFromAllWalletsRINonFungibleTokens) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["blockchain"] = o.Blockchain + } + if true { + toSerialize["identifier"] = o.Identifier + } + if true { + toSerialize["network"] = o.Network + } + if true { + toSerialize["symbol"] = o.Symbol + } + if true { + toSerialize["tokenId"] = o.TokenId + } + if true { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableListAllAssetsFromAllWalletsRINonFungibleTokens struct { + value *ListAllAssetsFromAllWalletsRINonFungibleTokens + isSet bool +} + +func (v NullableListAllAssetsFromAllWalletsRINonFungibleTokens) Get() *ListAllAssetsFromAllWalletsRINonFungibleTokens { + return v.value +} + +func (v *NullableListAllAssetsFromAllWalletsRINonFungibleTokens) Set(val *ListAllAssetsFromAllWalletsRINonFungibleTokens) { + v.value = val + v.isSet = true +} + +func (v NullableListAllAssetsFromAllWalletsRINonFungibleTokens) IsSet() bool { + return v.isSet +} + +func (v *NullableListAllAssetsFromAllWalletsRINonFungibleTokens) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAllAssetsFromAllWalletsRINonFungibleTokens(val *ListAllAssetsFromAllWalletsRINonFungibleTokens) *NullableListAllAssetsFromAllWalletsRINonFungibleTokens { + return &NullableListAllAssetsFromAllWalletsRINonFungibleTokens{value: val, isSet: true} +} + +func (v NullableListAllAssetsFromAllWalletsRINonFungibleTokens) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAllAssetsFromAllWalletsRINonFungibleTokens) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_all_unconfirmed_transactions_e400.go b/model_list_all_unconfirmed_transactions_e400.go index 3d87511..f70078c 100644 --- a/model_list_all_unconfirmed_transactions_e400.go +++ b/model_list_all_unconfirmed_transactions_e400.go @@ -25,17 +25,23 @@ type ListAllUnconfirmedTransactionsE400 struct { // InvalidPaginationAsListAllUnconfirmedTransactionsE400 is a convenience function that returns InvalidPagination wrapped in ListAllUnconfirmedTransactionsE400 func InvalidPaginationAsListAllUnconfirmedTransactionsE400(v *InvalidPagination) ListAllUnconfirmedTransactionsE400 { - return ListAllUnconfirmedTransactionsE400{ InvalidPagination: v} + return ListAllUnconfirmedTransactionsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListAllUnconfirmedTransactionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListAllUnconfirmedTransactionsE400 func LimitGreaterThanAllowedAsListAllUnconfirmedTransactionsE400(v *LimitGreaterThanAllowed) ListAllUnconfirmedTransactionsE400 { - return ListAllUnconfirmedTransactionsE400{ LimitGreaterThanAllowed: v} + return ListAllUnconfirmedTransactionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListAllUnconfirmedTransactionsE400 is a convenience function that returns UriNotFound wrapped in ListAllUnconfirmedTransactionsE400 func UriNotFoundAsListAllUnconfirmedTransactionsE400(v *UriNotFound) ListAllUnconfirmedTransactionsE400 { - return ListAllUnconfirmedTransactionsE400{ UriNotFound: v} + return ListAllUnconfirmedTransactionsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListAllUnconfirmedTransactionsE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListAllUnconfirmedTransactionsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListAllUnconfirmedTransactionsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListAllUnconfirmedTransactionsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListAllUnconfirmedTransactionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_all_unconfirmed_transactions_e401.go b/model_list_all_unconfirmed_transactions_e401.go index 1bb2257..5c76f9d 100644 --- a/model_list_all_unconfirmed_transactions_e401.go +++ b/model_list_all_unconfirmed_transactions_e401.go @@ -24,12 +24,16 @@ type ListAllUnconfirmedTransactionsE401 struct { // InvalidApiKeyAsListAllUnconfirmedTransactionsE401 is a convenience function that returns InvalidApiKey wrapped in ListAllUnconfirmedTransactionsE401 func InvalidApiKeyAsListAllUnconfirmedTransactionsE401(v *InvalidApiKey) ListAllUnconfirmedTransactionsE401 { - return ListAllUnconfirmedTransactionsE401{ InvalidApiKey: v} + return ListAllUnconfirmedTransactionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListAllUnconfirmedTransactionsE401 is a convenience function that returns MissingApiKey wrapped in ListAllUnconfirmedTransactionsE401 func MissingApiKeyAsListAllUnconfirmedTransactionsE401(v *MissingApiKey) ListAllUnconfirmedTransactionsE401 { - return ListAllUnconfirmedTransactionsE401{ MissingApiKey: v} + return ListAllUnconfirmedTransactionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListAllUnconfirmedTransactionsE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListAllUnconfirmedTransactionsE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListAllUnconfirmedTransactionsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListAllUnconfirmedTransactionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_all_unconfirmed_transactions_e403.go b/model_list_all_unconfirmed_transactions_e403.go index 7015085..c215575 100644 --- a/model_list_all_unconfirmed_transactions_e403.go +++ b/model_list_all_unconfirmed_transactions_e403.go @@ -26,22 +26,30 @@ type ListAllUnconfirmedTransactionsE403 struct { // BannedIpAddressAsListAllUnconfirmedTransactionsE403 is a convenience function that returns BannedIpAddress wrapped in ListAllUnconfirmedTransactionsE403 func BannedIpAddressAsListAllUnconfirmedTransactionsE403(v *BannedIpAddress) ListAllUnconfirmedTransactionsE403 { - return ListAllUnconfirmedTransactionsE403{ BannedIpAddress: v} + return ListAllUnconfirmedTransactionsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListAllUnconfirmedTransactionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListAllUnconfirmedTransactionsE403 func EndpointNotAllowedForApiKeyAsListAllUnconfirmedTransactionsE403(v *EndpointNotAllowedForApiKey) ListAllUnconfirmedTransactionsE403 { - return ListAllUnconfirmedTransactionsE403{ EndpointNotAllowedForApiKey: v} + return ListAllUnconfirmedTransactionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListAllUnconfirmedTransactionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListAllUnconfirmedTransactionsE403 func EndpointNotAllowedForPlanAsListAllUnconfirmedTransactionsE403(v *EndpointNotAllowedForPlan) ListAllUnconfirmedTransactionsE403 { - return ListAllUnconfirmedTransactionsE403{ EndpointNotAllowedForPlan: v} + return ListAllUnconfirmedTransactionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListAllUnconfirmedTransactionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListAllUnconfirmedTransactionsE403 func FeatureMainnetsNotAllowedForPlanAsListAllUnconfirmedTransactionsE403(v *FeatureMainnetsNotAllowedForPlan) ListAllUnconfirmedTransactionsE403 { - return ListAllUnconfirmedTransactionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListAllUnconfirmedTransactionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListAllUnconfirmedTransactionsE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListAllUnconfirmedTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListAllUnconfirmedTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListAllUnconfirmedTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListAllUnconfirmedTransactionsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListAllUnconfirmedTransactionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_all_unconfirmed_transactions_r.go b/model_list_all_unconfirmed_transactions_r.go index 530872b..507e1f6 100644 --- a/model_list_all_unconfirmed_transactions_r.go +++ b/model_list_all_unconfirmed_transactions_r.go @@ -59,7 +59,7 @@ func (o *ListAllUnconfirmedTransactionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListAllUnconfirmedTransactionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListAllUnconfirmedTransactionsR) GetData() ListAllUnconfirmedTransactio // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsR) GetDataOk() (*ListAllUnconfirmedTransactionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_all_unconfirmed_transactions_r_data.go b/model_list_all_unconfirmed_transactions_r_data.go index 0f4e484..8a97714 100644 --- a/model_list_all_unconfirmed_transactions_r_data.go +++ b/model_list_all_unconfirmed_transactions_r_data.go @@ -17,10 +17,10 @@ import ( // ListAllUnconfirmedTransactionsRData struct for ListAllUnconfirmedTransactionsRData type ListAllUnconfirmedTransactionsRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListAllUnconfirmedTransactionsRI `json:"items"` @@ -30,10 +30,10 @@ type ListAllUnconfirmedTransactionsRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAllUnconfirmedTransactionsRData(offset int32, limit int32, total int32, items []ListAllUnconfirmedTransactionsRI) *ListAllUnconfirmedTransactionsRData { +func NewListAllUnconfirmedTransactionsRData(limit int32, offset int32, total int32, items []ListAllUnconfirmedTransactionsRI) *ListAllUnconfirmedTransactionsRData { this := ListAllUnconfirmedTransactionsRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListAllUnconfirmedTransactionsRDataWithDefaults() *ListAllUnconfirmedTra return &this } -// GetOffset returns the Offset field value -func (o *ListAllUnconfirmedTransactionsRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListAllUnconfirmedTransactionsRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListAllUnconfirmedTransactionsRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListAllUnconfirmedTransactionsRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListAllUnconfirmedTransactionsRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListAllUnconfirmedTransactionsRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListAllUnconfirmedTransactionsRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListAllUnconfirmedTransactionsRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListAllUnconfirmedTransactionsRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListAllUnconfirmedTransactionsRData) GetItems() []ListAllUnconfirmedTra // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRData) GetItemsOk() (*[]ListAllUnconfirmedTransactionsRI, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRData) GetItemsOk() ([]ListAllUnconfirmedTransactionsRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListAllUnconfirmedTransactionsRData) SetItems(v []ListAllUnconfirmedTra func (o ListAllUnconfirmedTransactionsRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_all_unconfirmed_transactions_ri.go b/model_list_all_unconfirmed_transactions_ri.go index 8dbd446..bdf8359 100644 --- a/model_list_all_unconfirmed_transactions_ri.go +++ b/model_list_all_unconfirmed_transactions_ri.go @@ -65,11 +65,11 @@ func (o *ListAllUnconfirmedTransactionsRI) GetRecipients() []ListUnconfirmedTran // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRI) GetRecipientsOk() (*[]ListUnconfirmedTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRI) GetRecipientsOk() ([]ListUnconfirmedTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -89,11 +89,11 @@ func (o *ListAllUnconfirmedTransactionsRI) GetSenders() []ListUnconfirmedTransac // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRI) GetSendersOk() (*[]ListUnconfirmedTransactionsByAddressRISenders, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRI) GetSendersOk() ([]ListUnconfirmedTransactionsByAddressRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -114,7 +114,7 @@ func (o *ListAllUnconfirmedTransactionsRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -138,7 +138,7 @@ func (o *ListAllUnconfirmedTransactionsRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -162,7 +162,7 @@ func (o *ListAllUnconfirmedTransactionsRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -186,7 +186,7 @@ func (o *ListAllUnconfirmedTransactionsRI) GetBlockchainSpecific() ListAllUnconf // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRI) GetBlockchainSpecificOk() (*ListAllUnconfirmedTransactionsRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_list_all_unconfirmed_transactions_ribs.go b/model_list_all_unconfirmed_transactions_ribs.go index c206703..6a02876 100644 --- a/model_list_all_unconfirmed_transactions_ribs.go +++ b/model_list_all_unconfirmed_transactions_ribs.go @@ -31,47 +31,65 @@ type ListAllUnconfirmedTransactionsRIBS struct { // ListAllUnconfirmedTransactionsRIBSBAsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSB wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSBAsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSB) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSB: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSB: v, + } } // ListAllUnconfirmedTransactionsRIBSBCAsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSBC wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSBCAsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSBC) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSBC: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSBC: v, + } } // ListAllUnconfirmedTransactionsRIBSBSCAsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSBSC wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSBSCAsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSBSC) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSBSC: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSBSC: v, + } } // ListAllUnconfirmedTransactionsRIBSDAsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSD wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSDAsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSD) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSD: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSD: v, + } } // ListAllUnconfirmedTransactionsRIBSD2AsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSD2 wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSD2AsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSD2) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSD2: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSD2: v, + } } // ListAllUnconfirmedTransactionsRIBSEAsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSE wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSEAsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSE) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSE: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSE: v, + } } // ListAllUnconfirmedTransactionsRIBSECAsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSEC wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSECAsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSEC) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSEC: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSEC: v, + } } // ListAllUnconfirmedTransactionsRIBSLAsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSL wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSLAsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSL) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSL: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSL: v, + } } // ListAllUnconfirmedTransactionsRIBSZAsListAllUnconfirmedTransactionsRIBS is a convenience function that returns ListAllUnconfirmedTransactionsRIBSZ wrapped in ListAllUnconfirmedTransactionsRIBS func ListAllUnconfirmedTransactionsRIBSZAsListAllUnconfirmedTransactionsRIBS(v *ListAllUnconfirmedTransactionsRIBSZ) ListAllUnconfirmedTransactionsRIBS { - return ListAllUnconfirmedTransactionsRIBS{ ListAllUnconfirmedTransactionsRIBSZ: v} + return ListAllUnconfirmedTransactionsRIBS{ + ListAllUnconfirmedTransactionsRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSB - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSB) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSB) if err == nil { jsonListAllUnconfirmedTransactionsRIBSB, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSB) if string(jsonListAllUnconfirmedTransactionsRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSBC - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSBC) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSBC) if err == nil { jsonListAllUnconfirmedTransactionsRIBSBC, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSBC) if string(jsonListAllUnconfirmedTransactionsRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSBSC - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSBSC) if err == nil { jsonListAllUnconfirmedTransactionsRIBSBSC, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSBSC) if string(jsonListAllUnconfirmedTransactionsRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSD - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSD) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSD) if err == nil { jsonListAllUnconfirmedTransactionsRIBSD, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSD) if string(jsonListAllUnconfirmedTransactionsRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSD2 - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSD2) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSD2) if err == nil { jsonListAllUnconfirmedTransactionsRIBSD2, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSD2) if string(jsonListAllUnconfirmedTransactionsRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSE - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSE) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSE) if err == nil { jsonListAllUnconfirmedTransactionsRIBSE, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSE) if string(jsonListAllUnconfirmedTransactionsRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSEC - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSEC) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSEC) if err == nil { jsonListAllUnconfirmedTransactionsRIBSEC, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSEC) if string(jsonListAllUnconfirmedTransactionsRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSL - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSL) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSL) if err == nil { jsonListAllUnconfirmedTransactionsRIBSL, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSL) if string(jsonListAllUnconfirmedTransactionsRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *ListAllUnconfirmedTransactionsRIBS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListAllUnconfirmedTransactionsRIBSZ - err = json.Unmarshal(data, &dst.ListAllUnconfirmedTransactionsRIBSZ) + err = newStrictDecoder(data).Decode(&dst.ListAllUnconfirmedTransactionsRIBSZ) if err == nil { jsonListAllUnconfirmedTransactionsRIBSZ, _ := json.Marshal(dst.ListAllUnconfirmedTransactionsRIBSZ) if string(jsonListAllUnconfirmedTransactionsRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src ListAllUnconfirmedTransactionsRIBS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListAllUnconfirmedTransactionsRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.ListAllUnconfirmedTransactionsRIBSB != nil { return obj.ListAllUnconfirmedTransactionsRIBSB } diff --git a/model_list_all_unconfirmed_transactions_ribsb.go b/model_list_all_unconfirmed_transactions_ribsb.go index cf8be32..4daaf2e 100644 --- a/model_list_all_unconfirmed_transactions_ribsb.go +++ b/model_list_all_unconfirmed_transactions_ribsb.go @@ -18,7 +18,7 @@ import ( // ListAllUnconfirmedTransactionsRIBSB Bitcoin type ListAllUnconfirmedTransactionsRIBSB struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Defines the transaction's virtual size. @@ -35,7 +35,7 @@ type ListAllUnconfirmedTransactionsRIBSB struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAllUnconfirmedTransactionsRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSBVin, vout []ListUnconfirmedTransactionsByAddressRIBSBVout) *ListAllUnconfirmedTransactionsRIBSB { +func NewListAllUnconfirmedTransactionsRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSBVin, vout []ListUnconfirmedTransactionsByAddressRIBSBVout) *ListAllUnconfirmedTransactionsRIBSB { this := ListAllUnconfirmedTransactionsRIBSB{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListAllUnconfirmedTransactionsRIBSBWithDefaults() *ListAllUnconfirmedTra } // GetLocktime returns the Locktime field value -func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktime() int32 { +func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListAllUnconfirmedTransactionsRIBSB) SetLocktime(v int32) { +func (o *ListAllUnconfirmedTransactionsRIBSB) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSB) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSB) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSB) GetVin() []ListAllUnconfirmedTrans // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSB) GetVinOk() (*[]ListAllUnconfirmedTransactionsRIBSBVin, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSB) GetVinOk() ([]ListAllUnconfirmedTransactionsRIBSBVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSB) GetVout() []ListUnconfirmedTransac // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSB) GetVoutOk() (*[]ListUnconfirmedTransactionsByAddressRIBSBVout, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSB) GetVoutOk() ([]ListUnconfirmedTransactionsByAddressRIBSBVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_all_unconfirmed_transactions_ribsb_script_sig.go b/model_list_all_unconfirmed_transactions_ribsb_script_sig.go index d6a2293..2b0fbe9 100644 --- a/model_list_all_unconfirmed_transactions_ribsb_script_sig.go +++ b/model_list_all_unconfirmed_transactions_ribsb_script_sig.go @@ -58,7 +58,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_all_unconfirmed_transactions_ribsb_vin.go b/model_list_all_unconfirmed_transactions_ribsb_vin.go index bc3c5b4..4730107 100644 --- a/model_list_all_unconfirmed_transactions_ribsb_vin.go +++ b/model_list_all_unconfirmed_transactions_ribsb_vin.go @@ -23,7 +23,7 @@ type ListAllUnconfirmedTransactionsRIBSBVin struct { Sequence string `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Represents the sent/received amount. Value *string `json:"value,omitempty"` // Defines the vout of the transaction output, i.e. which output to spend. @@ -63,11 +63,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -88,7 +88,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetScriptSig() ListAllUnconfirm // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetScriptSigOk() (*ListAllUnconfirmedTransactionsRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -112,7 +112,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -161,12 +161,12 @@ func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetTxinwitness() []string { var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetTxinwitnessOk() (*[]string, bool) { +func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -184,7 +184,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBVin) HasTxinwitness() bool { // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *ListAllUnconfirmedTransactionsRIBSBVin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value if set, zero value otherwise. @@ -232,7 +232,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_all_unconfirmed_transactions_ribsbc.go b/model_list_all_unconfirmed_transactions_ribsbc.go index 682b354..fc7cc95 100644 --- a/model_list_all_unconfirmed_transactions_ribsbc.go +++ b/model_list_all_unconfirmed_transactions_ribsbc.go @@ -18,7 +18,7 @@ import ( // ListAllUnconfirmedTransactionsRIBSBC Bitcoin Cash type ListAllUnconfirmedTransactionsRIBSBC struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction's version number. @@ -33,7 +33,7 @@ type ListAllUnconfirmedTransactionsRIBSBC struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAllUnconfirmedTransactionsRIBSBC(locktime int32, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSBCVin, vout []ListAllUnconfirmedTransactionsRIBSBCVout) *ListAllUnconfirmedTransactionsRIBSBC { +func NewListAllUnconfirmedTransactionsRIBSBC(locktime int64, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSBCVin, vout []ListAllUnconfirmedTransactionsRIBSBCVout) *ListAllUnconfirmedTransactionsRIBSBC { this := ListAllUnconfirmedTransactionsRIBSBC{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListAllUnconfirmedTransactionsRIBSBCWithDefaults() *ListAllUnconfirmedTr } // GetLocktime returns the Locktime field value -func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktime() int32 { +func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListAllUnconfirmedTransactionsRIBSBC) SetLocktime(v int32) { +func (o *ListAllUnconfirmedTransactionsRIBSBC) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSBC) GetVin() []ListAllUnconfirmedTran // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSBC) GetVinOk() (*[]ListAllUnconfirmedTransactionsRIBSBCVin, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSBC) GetVinOk() ([]ListAllUnconfirmedTransactionsRIBSBCVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSBC) GetVout() []ListAllUnconfirmedTra // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSBC) GetVoutOk() (*[]ListAllUnconfirmedTransactionsRIBSBCVout, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSBC) GetVoutOk() ([]ListAllUnconfirmedTransactionsRIBSBCVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_all_unconfirmed_transactions_ribsbc_vin.go b/model_list_all_unconfirmed_transactions_ribsbc_vin.go index 9f95f7f..25de818 100644 --- a/model_list_all_unconfirmed_transactions_ribsbc_vin.go +++ b/model_list_all_unconfirmed_transactions_ribsbc_vin.go @@ -66,11 +66,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -91,7 +91,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetScriptSig() GetTransactionD // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -115,7 +115,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -139,7 +139,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -162,11 +162,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -187,7 +187,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -211,7 +211,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBCVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_all_unconfirmed_transactions_ribsbc_vout.go b/model_list_all_unconfirmed_transactions_ribsbc_vout.go index 744440d..2c77a1d 100644 --- a/model_list_all_unconfirmed_transactions_ribsbc_vout.go +++ b/model_list_all_unconfirmed_transactions_ribsbc_vout.go @@ -57,7 +57,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBCVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVout) GetScriptPubKey() GetTransact // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBCVout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSBCScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBCVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBCVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_all_unconfirmed_transactions_ribsbsc.go b/model_list_all_unconfirmed_transactions_ribsbsc.go index 5448588..96465af 100644 --- a/model_list_all_unconfirmed_transactions_ribsbsc.go +++ b/model_list_all_unconfirmed_transactions_ribsbsc.go @@ -63,7 +63,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -87,7 +87,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetGasPrice() ListConfirmedTrans // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSBSCGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -111,7 +111,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -135,7 +135,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -159,7 +159,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSBSC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_all_unconfirmed_transactions_ribsd.go b/model_list_all_unconfirmed_transactions_ribsd.go index e3666d5..4b0c100 100644 --- a/model_list_all_unconfirmed_transactions_ribsd.go +++ b/model_list_all_unconfirmed_transactions_ribsd.go @@ -18,7 +18,7 @@ import ( // ListAllUnconfirmedTransactionsRIBSD Dogecoin type ListAllUnconfirmedTransactionsRIBSD struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Defines the version of the transaction. @@ -33,7 +33,7 @@ type ListAllUnconfirmedTransactionsRIBSD struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAllUnconfirmedTransactionsRIBSD(locktime int32, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *ListAllUnconfirmedTransactionsRIBSD { +func NewListAllUnconfirmedTransactionsRIBSD(locktime int64, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *ListAllUnconfirmedTransactionsRIBSD { this := ListAllUnconfirmedTransactionsRIBSD{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListAllUnconfirmedTransactionsRIBSDWithDefaults() *ListAllUnconfirmedTra } // GetLocktime returns the Locktime field value -func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktime() int32 { +func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListAllUnconfirmedTransactionsRIBSD) SetLocktime(v int32) { +func (o *ListAllUnconfirmedTransactionsRIBSD) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSD) GetVin() []ListAllUnconfirmedTrans // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSD) GetVinOk() (*[]ListAllUnconfirmedTransactionsRIBSDVin, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSD) GetVinOk() ([]ListAllUnconfirmedTransactionsRIBSDVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSD) GetVout() []GetTransactionDetailsB // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSD) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSD) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_all_unconfirmed_transactions_ribsd2.go b/model_list_all_unconfirmed_transactions_ribsd2.go index c0552da..5db40b2 100644 --- a/model_list_all_unconfirmed_transactions_ribsd2.go +++ b/model_list_all_unconfirmed_transactions_ribsd2.go @@ -18,7 +18,7 @@ import ( // ListAllUnconfirmedTransactionsRIBSD2 Dash type ListAllUnconfirmedTransactionsRIBSD2 struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction's version number. @@ -33,7 +33,7 @@ type ListAllUnconfirmedTransactionsRIBSD2 struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAllUnconfirmedTransactionsRIBSD2(locktime int32, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout) *ListAllUnconfirmedTransactionsRIBSD2 { +func NewListAllUnconfirmedTransactionsRIBSD2(locktime int64, size int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout) *ListAllUnconfirmedTransactionsRIBSD2 { this := ListAllUnconfirmedTransactionsRIBSD2{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListAllUnconfirmedTransactionsRIBSD2WithDefaults() *ListAllUnconfirmedTr } // GetLocktime returns the Locktime field value -func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktime() int32 { +func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListAllUnconfirmedTransactionsRIBSD2) SetLocktime(v int32) { +func (o *ListAllUnconfirmedTransactionsRIBSD2) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2) GetVin() []ListAllUnconfirmedTran // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSD2) GetVinOk() (*[]ListAllUnconfirmedTransactionsRIBSD2Vin, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSD2) GetVinOk() ([]ListAllUnconfirmedTransactionsRIBSD2Vin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2) GetVout() []ListConfirmedTransact // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSD2) GetVoutOk() (*[]ListConfirmedTransactionsByAddressRIBSD2Vout, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSD2) GetVoutOk() ([]ListConfirmedTransactionsByAddressRIBSD2Vout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_all_unconfirmed_transactions_ribsd2_vin.go b/model_list_all_unconfirmed_transactions_ribsd2_vin.go index 127d035..a254849 100644 --- a/model_list_all_unconfirmed_transactions_ribsd2_vin.go +++ b/model_list_all_unconfirmed_transactions_ribsd2_vin.go @@ -66,11 +66,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -91,7 +91,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetScriptSig() ListConfirmedTr // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetScriptSigOk() (*ListConfirmedTransactionsByAddressRIBSD2ScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -115,7 +115,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -139,7 +139,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -162,11 +162,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -187,7 +187,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -211,7 +211,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSD2Vin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_all_unconfirmed_transactions_ribsd_vin.go b/model_list_all_unconfirmed_transactions_ribsd_vin.go index bab070b..57a0aba 100644 --- a/model_list_all_unconfirmed_transactions_ribsd_vin.go +++ b/model_list_all_unconfirmed_transactions_ribsd_vin.go @@ -20,7 +20,7 @@ type ListAllUnconfirmedTransactionsRIBSDVin struct { Addresses []string `json:"addresses"` ScriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` Txinwitness []string `json:"txinwitness"` @@ -34,7 +34,7 @@ type ListAllUnconfirmedTransactionsRIBSDVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAllUnconfirmedTransactionsRIBSDVin(addresses []string, scriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig, sequence int32, txid string, txinwitness []string, value string) *ListAllUnconfirmedTransactionsRIBSDVin { +func NewListAllUnconfirmedTransactionsRIBSDVin(addresses []string, scriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig, sequence int64, txid string, txinwitness []string, value string) *ListAllUnconfirmedTransactionsRIBSDVin { this := ListAllUnconfirmedTransactionsRIBSDVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -65,11 +65,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -90,7 +90,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetScriptSig() ListConfirmedTra // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetScriptSigOk() (*ListConfirmedTransactionsByAddressRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -102,9 +102,9 @@ func (o *ListAllUnconfirmedTransactionsRIBSDVin) SetScriptSig(v ListConfirmedTra } // GetSequence returns the Sequence field value -func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequence() int32 { +func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -113,15 +113,15 @@ func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *ListAllUnconfirmedTransactionsRIBSDVin) SetSequence(v int32) { +func (o *ListAllUnconfirmedTransactionsRIBSDVin) SetSequence(v int64) { o.Sequence = v } @@ -138,7 +138,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -161,11 +161,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -186,7 +186,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSDVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_all_unconfirmed_transactions_ribse.go b/model_list_all_unconfirmed_transactions_ribse.go index b1cc639..0e7377c 100644 --- a/model_list_all_unconfirmed_transactions_ribse.go +++ b/model_list_all_unconfirmed_transactions_ribse.go @@ -65,7 +65,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSE) GetFee() ListAllUnconfirmedTransac // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSE) GetFeeOk() (*ListAllUnconfirmedTransactionsRIBSEFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -89,7 +89,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -113,7 +113,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSE) GetGasPrice() ListAllUnconfirmedTr // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSE) GetGasPriceOk() (*ListAllUnconfirmedTransactionsRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -137,7 +137,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSE) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSE) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -161,7 +161,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSE) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSE) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -185,7 +185,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSE) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSE) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_all_unconfirmed_transactions_ribse_fee.go b/model_list_all_unconfirmed_transactions_ribse_fee.go index 4a1e70a..8a4e8a8 100644 --- a/model_list_all_unconfirmed_transactions_ribse_fee.go +++ b/model_list_all_unconfirmed_transactions_ribse_fee.go @@ -52,7 +52,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSEFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSEFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_all_unconfirmed_transactions_ribse_gas_price.go b/model_list_all_unconfirmed_transactions_ribse_gas_price.go index e108ab9..b58de1a 100644 --- a/model_list_all_unconfirmed_transactions_ribse_gas_price.go +++ b/model_list_all_unconfirmed_transactions_ribse_gas_price.go @@ -52,7 +52,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSEGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSEGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_all_unconfirmed_transactions_ribsec.go b/model_list_all_unconfirmed_transactions_ribsec.go index 965a540..a6c4173 100644 --- a/model_list_all_unconfirmed_transactions_ribsec.go +++ b/model_list_all_unconfirmed_transactions_ribsec.go @@ -62,7 +62,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSEC) GetFee() ListAllUnconfirmedTransa // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSEC) GetFeeOk() (*ListAllUnconfirmedTransactionsRIBSECFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -86,7 +86,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -110,7 +110,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSEC) GetGasPrice() ListAllUnconfirmedT // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSEC) GetGasPriceOk() (*ListAllUnconfirmedTransactionsRIBSECGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -134,7 +134,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSEC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSEC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -158,7 +158,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSEC) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSEC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_all_unconfirmed_transactions_ribsec_fee.go b/model_list_all_unconfirmed_transactions_ribsec_fee.go index a8c65a1..f957194 100644 --- a/model_list_all_unconfirmed_transactions_ribsec_fee.go +++ b/model_list_all_unconfirmed_transactions_ribsec_fee.go @@ -55,7 +55,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSECFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSECFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSECFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSECFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_all_unconfirmed_transactions_ribsec_gas_price.go b/model_list_all_unconfirmed_transactions_ribsec_gas_price.go index 6cad9e7..872878f 100644 --- a/model_list_all_unconfirmed_transactions_ribsec_gas_price.go +++ b/model_list_all_unconfirmed_transactions_ribsec_gas_price.go @@ -52,7 +52,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSECGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSECGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_all_unconfirmed_transactions_ribsl.go b/model_list_all_unconfirmed_transactions_ribsl.go index 1a8ecce..81d033a 100644 --- a/model_list_all_unconfirmed_transactions_ribsl.go +++ b/model_list_all_unconfirmed_transactions_ribsl.go @@ -18,7 +18,7 @@ import ( // ListAllUnconfirmedTransactionsRIBSL Litecoin type ListAllUnconfirmedTransactionsRIBSL struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type ListAllUnconfirmedTransactionsRIBSL struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAllUnconfirmedTransactionsRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *ListAllUnconfirmedTransactionsRIBSL { +func NewListAllUnconfirmedTransactionsRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListAllUnconfirmedTransactionsRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *ListAllUnconfirmedTransactionsRIBSL { this := ListAllUnconfirmedTransactionsRIBSL{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListAllUnconfirmedTransactionsRIBSLWithDefaults() *ListAllUnconfirmedTra } // GetLocktime returns the Locktime field value -func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktime() int32 { +func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListAllUnconfirmedTransactionsRIBSL) SetLocktime(v int32) { +func (o *ListAllUnconfirmedTransactionsRIBSL) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSL) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSL) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSL) GetVin() []ListAllUnconfirmedTrans // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSL) GetVinOk() (*[]ListAllUnconfirmedTransactionsRIBSLVin, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSL) GetVinOk() ([]ListAllUnconfirmedTransactionsRIBSLVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSL) GetVout() []GetTransactionDetailsB // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSL) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSL) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_all_unconfirmed_transactions_ribsl_vin.go b/model_list_all_unconfirmed_transactions_ribsl_vin.go index 9cb7db4..1d93ca4 100644 --- a/model_list_all_unconfirmed_transactions_ribsl_vin.go +++ b/model_list_all_unconfirmed_transactions_ribsl_vin.go @@ -66,11 +66,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -91,7 +91,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetScriptSig() ListConfirmedTra // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetScriptSigOk() (*ListConfirmedTransactionsByAddressRIBSLScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -115,7 +115,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -139,7 +139,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -162,11 +162,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -187,7 +187,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -211,7 +211,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSLVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_all_unconfirmed_transactions_ribsz.go b/model_list_all_unconfirmed_transactions_ribsz.go index 08aa2ec..23690a3 100644 --- a/model_list_all_unconfirmed_transactions_ribsz.go +++ b/model_list_all_unconfirmed_transactions_ribsz.go @@ -26,7 +26,7 @@ type ListAllUnconfirmedTransactionsRIBSZ struct { // Is used to sign transactions that contain at least one JoinSplit description. JoinSplitSig string `json:"joinSplitSig"` // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // \"Overwinter\" is the network upgrade for the Zcash blockchain. Overwintered bool `json:"overwintered"` // Represents the total size of this transaction. @@ -53,7 +53,7 @@ type ListAllUnconfirmedTransactionsRIBSZ struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAllUnconfirmedTransactionsRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListAllUnconfirmedTransactionsRIBSZ { +func NewListAllUnconfirmedTransactionsRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListAllUnconfirmedTransactionsRIBSZ { this := ListAllUnconfirmedTransactionsRIBSZ{} this.BindingSig = bindingSig this.ExpiryHeight = expiryHeight @@ -94,7 +94,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetBindingSig() string { // GetBindingSigOk returns a tuple with the BindingSig field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetBindingSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BindingSig, true @@ -118,7 +118,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetExpiryHeight() int32 { // GetExpiryHeightOk returns a tuple with the ExpiryHeight field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetExpiryHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExpiryHeight, true @@ -142,7 +142,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetJoinSplitPubKey() string { // GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitPubKey, true @@ -166,7 +166,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetJoinSplitSig() string { // GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetJoinSplitSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitSig, true @@ -178,9 +178,9 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) SetJoinSplitSig(v string) { } // GetLocktime returns the Locktime field value -func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktime() int32 { +func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -189,15 +189,15 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListAllUnconfirmedTransactionsRIBSZ) SetLocktime(v int32) { +func (o *ListAllUnconfirmedTransactionsRIBSZ) SetLocktime(v int64) { o.Locktime = v } @@ -214,7 +214,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetOverwintered() bool { // GetOverwinteredOk returns a tuple with the Overwintered field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetOverwinteredOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Overwintered, true @@ -238,7 +238,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -261,11 +261,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVJoinSplit() []ListConfirmedTra // GetVJoinSplitOk returns a tuple with the VJoinSplit field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVJoinSplitOk() (*[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVJoinSplitOk() ([]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool) { + if o == nil { return nil, false } - return &o.VJoinSplit, true + return o.VJoinSplit, true } // SetVJoinSplit sets field value @@ -285,11 +285,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVShieldedOutput() []GetTransact // GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVShieldedOutputOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { + if o == nil { return nil, false } - return &o.VShieldedOutput, true + return o.VShieldedOutput, true } // SetVShieldedOutput sets field value @@ -309,11 +309,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVShieldedSpend() []GetTransacti // GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { + if o == nil { return nil, false } - return &o.VShieldedSpend, true + return o.VShieldedSpend, true } // SetVShieldedSpend sets field value @@ -334,7 +334,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetValueBalance() string { // GetValueBalanceOk returns a tuple with the ValueBalance field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetValueBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ValueBalance, true @@ -358,7 +358,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -382,7 +382,7 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVersionGroupId() string { // GetVersionGroupIdOk returns a tuple with the VersionGroupId field value // and a boolean to check if the value has been set. func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVersionGroupIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionGroupId, true @@ -405,11 +405,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVin() []GetTransactionDetailsBy // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVin, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSZVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -429,11 +429,11 @@ func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVout() []GetTransactionDetailsB // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { - if o == nil { +func (o *ListAllUnconfirmedTransactionsRIBSZ) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_assets_details_e400.go b/model_list_assets_details_e400.go index 744a0ec..f3c9884 100644 --- a/model_list_assets_details_e400.go +++ b/model_list_assets_details_e400.go @@ -25,17 +25,23 @@ type ListAssetsDetailsE400 struct { // InvalidPaginationAsListAssetsDetailsE400 is a convenience function that returns InvalidPagination wrapped in ListAssetsDetailsE400 func InvalidPaginationAsListAssetsDetailsE400(v *InvalidPagination) ListAssetsDetailsE400 { - return ListAssetsDetailsE400{ InvalidPagination: v} + return ListAssetsDetailsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListAssetsDetailsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListAssetsDetailsE400 func LimitGreaterThanAllowedAsListAssetsDetailsE400(v *LimitGreaterThanAllowed) ListAssetsDetailsE400 { - return ListAssetsDetailsE400{ LimitGreaterThanAllowed: v} + return ListAssetsDetailsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListAssetsDetailsE400 is a convenience function that returns UriNotFound wrapped in ListAssetsDetailsE400 func UriNotFoundAsListAssetsDetailsE400(v *UriNotFound) ListAssetsDetailsE400 { - return ListAssetsDetailsE400{ UriNotFound: v} + return ListAssetsDetailsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListAssetsDetailsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListAssetsDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListAssetsDetailsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListAssetsDetailsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListAssetsDetailsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_assets_details_e401.go b/model_list_assets_details_e401.go index bcbb92d..b122e74 100644 --- a/model_list_assets_details_e401.go +++ b/model_list_assets_details_e401.go @@ -24,12 +24,16 @@ type ListAssetsDetailsE401 struct { // InvalidApiKeyAsListAssetsDetailsE401 is a convenience function that returns InvalidApiKey wrapped in ListAssetsDetailsE401 func InvalidApiKeyAsListAssetsDetailsE401(v *InvalidApiKey) ListAssetsDetailsE401 { - return ListAssetsDetailsE401{ InvalidApiKey: v} + return ListAssetsDetailsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListAssetsDetailsE401 is a convenience function that returns MissingApiKey wrapped in ListAssetsDetailsE401 func MissingApiKeyAsListAssetsDetailsE401(v *MissingApiKey) ListAssetsDetailsE401 { - return ListAssetsDetailsE401{ MissingApiKey: v} + return ListAssetsDetailsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListAssetsDetailsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListAssetsDetailsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListAssetsDetailsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListAssetsDetailsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_assets_details_e403.go b/model_list_assets_details_e403.go index 30ab394..defc832 100644 --- a/model_list_assets_details_e403.go +++ b/model_list_assets_details_e403.go @@ -26,22 +26,30 @@ type ListAssetsDetailsE403 struct { // BannedIpAddressAsListAssetsDetailsE403 is a convenience function that returns BannedIpAddress wrapped in ListAssetsDetailsE403 func BannedIpAddressAsListAssetsDetailsE403(v *BannedIpAddress) ListAssetsDetailsE403 { - return ListAssetsDetailsE403{ BannedIpAddress: v} + return ListAssetsDetailsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListAssetsDetailsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListAssetsDetailsE403 func EndpointNotAllowedForApiKeyAsListAssetsDetailsE403(v *EndpointNotAllowedForApiKey) ListAssetsDetailsE403 { - return ListAssetsDetailsE403{ EndpointNotAllowedForApiKey: v} + return ListAssetsDetailsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListAssetsDetailsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListAssetsDetailsE403 func EndpointNotAllowedForPlanAsListAssetsDetailsE403(v *EndpointNotAllowedForPlan) ListAssetsDetailsE403 { - return ListAssetsDetailsE403{ EndpointNotAllowedForPlan: v} + return ListAssetsDetailsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListAssetsDetailsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListAssetsDetailsE403 func FeatureMainnetsNotAllowedForPlanAsListAssetsDetailsE403(v *FeatureMainnetsNotAllowedForPlan) ListAssetsDetailsE403 { - return ListAssetsDetailsE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListAssetsDetailsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListAssetsDetailsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListAssetsDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListAssetsDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListAssetsDetailsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListAssetsDetailsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListAssetsDetailsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_assets_details_r.go b/model_list_assets_details_r.go index aaf6b81..b5ec22f 100644 --- a/model_list_assets_details_r.go +++ b/model_list_assets_details_r.go @@ -59,7 +59,7 @@ func (o *ListAssetsDetailsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListAssetsDetailsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListAssetsDetailsR) GetData() ListAssetsDetailsRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsR) GetDataOk() (*ListAssetsDetailsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_assets_details_r_data.go b/model_list_assets_details_r_data.go index 1a1d719..c8b8467 100644 --- a/model_list_assets_details_r_data.go +++ b/model_list_assets_details_r_data.go @@ -17,10 +17,10 @@ import ( // ListAssetsDetailsRData struct for ListAssetsDetailsRData type ListAssetsDetailsRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListAssetsDetailsRI `json:"items"` @@ -30,10 +30,10 @@ type ListAssetsDetailsRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListAssetsDetailsRData(offset int32, limit int32, total int32, items []ListAssetsDetailsRI) *ListAssetsDetailsRData { +func NewListAssetsDetailsRData(limit int32, offset int32, total int32, items []ListAssetsDetailsRI) *ListAssetsDetailsRData { this := ListAssetsDetailsRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListAssetsDetailsRDataWithDefaults() *ListAssetsDetailsRData { return &this } -// GetOffset returns the Offset field value -func (o *ListAssetsDetailsRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListAssetsDetailsRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListAssetsDetailsRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListAssetsDetailsRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListAssetsDetailsRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListAssetsDetailsRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListAssetsDetailsRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListAssetsDetailsRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListAssetsDetailsRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListAssetsDetailsRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListAssetsDetailsRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListAssetsDetailsRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListAssetsDetailsRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListAssetsDetailsRData) GetItems() []ListAssetsDetailsRI { // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListAssetsDetailsRData) GetItemsOk() (*[]ListAssetsDetailsRI, bool) { - if o == nil { +func (o *ListAssetsDetailsRData) GetItemsOk() ([]ListAssetsDetailsRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListAssetsDetailsRData) SetItems(v []ListAssetsDetailsRI) { func (o ListAssetsDetailsRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_assets_details_ri.go b/model_list_assets_details_ri.go index 4c09b16..390588e 100644 --- a/model_list_assets_details_ri.go +++ b/model_list_assets_details_ri.go @@ -72,7 +72,7 @@ func (o *ListAssetsDetailsRI) GetAssetId() string { // GetAssetIdOk returns a tuple with the AssetId field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRI) GetAssetIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetId, true @@ -96,7 +96,7 @@ func (o *ListAssetsDetailsRI) GetAssetLogo() ListAssetsDetailsRIAssetLogo { // GetAssetLogoOk returns a tuple with the AssetLogo field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRI) GetAssetLogoOk() (*ListAssetsDetailsRIAssetLogo, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetLogo, true @@ -120,7 +120,7 @@ func (o *ListAssetsDetailsRI) GetAssetName() string { // GetAssetNameOk returns a tuple with the AssetName field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRI) GetAssetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetName, true @@ -144,7 +144,7 @@ func (o *ListAssetsDetailsRI) GetAssetOriginalSymbol() string { // GetAssetOriginalSymbolOk returns a tuple with the AssetOriginalSymbol field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRI) GetAssetOriginalSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetOriginalSymbol, true @@ -168,7 +168,7 @@ func (o *ListAssetsDetailsRI) GetAssetSymbol() string { // GetAssetSymbolOk returns a tuple with the AssetSymbol field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRI) GetAssetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetSymbol, true @@ -192,7 +192,7 @@ func (o *ListAssetsDetailsRI) GetAssetType() string { // GetAssetTypeOk returns a tuple with the AssetType field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRI) GetAssetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetType, true @@ -216,7 +216,7 @@ func (o *ListAssetsDetailsRI) GetLatestRate() ListAssetsDetailsRILatestRate { // GetLatestRateOk returns a tuple with the LatestRate field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRI) GetLatestRateOk() (*ListAssetsDetailsRILatestRate, bool) { - if o == nil { + if o == nil { return nil, false } return &o.LatestRate, true @@ -272,7 +272,7 @@ func (o *ListAssetsDetailsRI) GetSpecificData() ListAssetsDetailsRIS { // GetSpecificDataOk returns a tuple with the SpecificData field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRI) GetSpecificDataOk() (*ListAssetsDetailsRIS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SpecificData, true diff --git a/model_list_assets_details_ri_asset_logo.go b/model_list_assets_details_ri_asset_logo.go index 48e44d8..b14e8af 100644 --- a/model_list_assets_details_ri_asset_logo.go +++ b/model_list_assets_details_ri_asset_logo.go @@ -58,7 +58,7 @@ func (o *ListAssetsDetailsRIAssetLogo) GetEncoding() string { // GetEncodingOk returns a tuple with the Encoding field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRIAssetLogo) GetEncodingOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Encoding, true @@ -82,7 +82,7 @@ func (o *ListAssetsDetailsRIAssetLogo) GetImageData() string { // GetImageDataOk returns a tuple with the ImageData field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRIAssetLogo) GetImageDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ImageData, true @@ -106,7 +106,7 @@ func (o *ListAssetsDetailsRIAssetLogo) GetMimeType() string { // GetMimeTypeOk returns a tuple with the MimeType field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRIAssetLogo) GetMimeTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MimeType, true diff --git a/model_list_assets_details_ri_latest_rate.go b/model_list_assets_details_ri_latest_rate.go index 8b6d2ed..2da4a3f 100644 --- a/model_list_assets_details_ri_latest_rate.go +++ b/model_list_assets_details_ri_latest_rate.go @@ -57,7 +57,7 @@ func (o *ListAssetsDetailsRILatestRate) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRILatestRate) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -113,7 +113,7 @@ func (o *ListAssetsDetailsRILatestRate) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRILatestRate) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_assets_details_ris.go b/model_list_assets_details_ris.go index 2d322ce..eeb7978 100644 --- a/model_list_assets_details_ris.go +++ b/model_list_assets_details_ris.go @@ -23,7 +23,9 @@ type ListAssetsDetailsRIS struct { // ListAssetsDetailsRISCAsListAssetsDetailsRIS is a convenience function that returns ListAssetsDetailsRISC wrapped in ListAssetsDetailsRIS func ListAssetsDetailsRISCAsListAssetsDetailsRIS(v *ListAssetsDetailsRISC) ListAssetsDetailsRIS { - return ListAssetsDetailsRIS{ ListAssetsDetailsRISC: v} + return ListAssetsDetailsRIS{ + ListAssetsDetailsRISC: v, + } } @@ -32,7 +34,7 @@ func (dst *ListAssetsDetailsRIS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into ListAssetsDetailsRISC - err = json.Unmarshal(data, &dst.ListAssetsDetailsRISC) + err = newStrictDecoder(data).Decode(&dst.ListAssetsDetailsRISC) if err == nil { jsonListAssetsDetailsRISC, _ := json.Marshal(dst.ListAssetsDetailsRISC) if string(jsonListAssetsDetailsRISC) == "{}" { // empty struct @@ -67,6 +69,9 @@ func (src ListAssetsDetailsRIS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListAssetsDetailsRIS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.ListAssetsDetailsRISC != nil { return obj.ListAssetsDetailsRISC } diff --git a/model_list_assets_details_risc.go b/model_list_assets_details_risc.go index 9d25f0e..6535cac 100644 --- a/model_list_assets_details_risc.go +++ b/model_list_assets_details_risc.go @@ -73,7 +73,7 @@ func (o *ListAssetsDetailsRISC) GetVar1HourPriceChangeInPercentage() string { // GetVar1HourPriceChangeInPercentageOk returns a tuple with the Var1HourPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRISC) GetVar1HourPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var1HourPriceChangeInPercentage, true @@ -97,7 +97,7 @@ func (o *ListAssetsDetailsRISC) GetVar1WeekPriceChangeInPercentage() string { // GetVar1WeekPriceChangeInPercentageOk returns a tuple with the Var1WeekPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRISC) GetVar1WeekPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var1WeekPriceChangeInPercentage, true @@ -121,7 +121,7 @@ func (o *ListAssetsDetailsRISC) GetVar24HoursPriceChangeInPercentage() string { // GetVar24HoursPriceChangeInPercentageOk returns a tuple with the Var24HoursPriceChangeInPercentage field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRISC) GetVar24HoursPriceChangeInPercentageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var24HoursPriceChangeInPercentage, true @@ -145,7 +145,7 @@ func (o *ListAssetsDetailsRISC) GetVar24HoursTradingVolume() string { // GetVar24HoursTradingVolumeOk returns a tuple with the Var24HoursTradingVolume field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRISC) GetVar24HoursTradingVolumeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Var24HoursTradingVolume, true @@ -169,7 +169,7 @@ func (o *ListAssetsDetailsRISC) GetAssetType() string { // GetAssetTypeOk returns a tuple with the AssetType field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRISC) GetAssetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetType, true @@ -193,7 +193,7 @@ func (o *ListAssetsDetailsRISC) GetCirculatingSupply() string { // GetCirculatingSupplyOk returns a tuple with the CirculatingSupply field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRISC) GetCirculatingSupplyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CirculatingSupply, true @@ -217,7 +217,7 @@ func (o *ListAssetsDetailsRISC) GetMarketCapInUSD() string { // GetMarketCapInUSDOk returns a tuple with the MarketCapInUSD field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRISC) GetMarketCapInUSDOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MarketCapInUSD, true @@ -241,7 +241,7 @@ func (o *ListAssetsDetailsRISC) GetMaxSupply() string { // GetMaxSupplyOk returns a tuple with the MaxSupply field value // and a boolean to check if the value has been set. func (o *ListAssetsDetailsRISC) GetMaxSupplyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MaxSupply, true diff --git a/model_list_blockchain_events_subscriptions_e400.go b/model_list_blockchain_events_subscriptions_e400.go index fc8f2da..76ee42c 100644 --- a/model_list_blockchain_events_subscriptions_e400.go +++ b/model_list_blockchain_events_subscriptions_e400.go @@ -25,17 +25,23 @@ type ListBlockchainEventsSubscriptionsE400 struct { // InvalidPaginationAsListBlockchainEventsSubscriptionsE400 is a convenience function that returns InvalidPagination wrapped in ListBlockchainEventsSubscriptionsE400 func InvalidPaginationAsListBlockchainEventsSubscriptionsE400(v *InvalidPagination) ListBlockchainEventsSubscriptionsE400 { - return ListBlockchainEventsSubscriptionsE400{ InvalidPagination: v} + return ListBlockchainEventsSubscriptionsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListBlockchainEventsSubscriptionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListBlockchainEventsSubscriptionsE400 func LimitGreaterThanAllowedAsListBlockchainEventsSubscriptionsE400(v *LimitGreaterThanAllowed) ListBlockchainEventsSubscriptionsE400 { - return ListBlockchainEventsSubscriptionsE400{ LimitGreaterThanAllowed: v} + return ListBlockchainEventsSubscriptionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListBlockchainEventsSubscriptionsE400 is a convenience function that returns UriNotFound wrapped in ListBlockchainEventsSubscriptionsE400 func UriNotFoundAsListBlockchainEventsSubscriptionsE400(v *UriNotFound) ListBlockchainEventsSubscriptionsE400 { - return ListBlockchainEventsSubscriptionsE400{ UriNotFound: v} + return ListBlockchainEventsSubscriptionsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListBlockchainEventsSubscriptionsE400) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListBlockchainEventsSubscriptionsE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListBlockchainEventsSubscriptionsE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListBlockchainEventsSubscriptionsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListBlockchainEventsSubscriptionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_blockchain_events_subscriptions_e401.go b/model_list_blockchain_events_subscriptions_e401.go index 8d39608..7099d73 100644 --- a/model_list_blockchain_events_subscriptions_e401.go +++ b/model_list_blockchain_events_subscriptions_e401.go @@ -24,12 +24,16 @@ type ListBlockchainEventsSubscriptionsE401 struct { // InvalidApiKeyAsListBlockchainEventsSubscriptionsE401 is a convenience function that returns InvalidApiKey wrapped in ListBlockchainEventsSubscriptionsE401 func InvalidApiKeyAsListBlockchainEventsSubscriptionsE401(v *InvalidApiKey) ListBlockchainEventsSubscriptionsE401 { - return ListBlockchainEventsSubscriptionsE401{ InvalidApiKey: v} + return ListBlockchainEventsSubscriptionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListBlockchainEventsSubscriptionsE401 is a convenience function that returns MissingApiKey wrapped in ListBlockchainEventsSubscriptionsE401 func MissingApiKeyAsListBlockchainEventsSubscriptionsE401(v *MissingApiKey) ListBlockchainEventsSubscriptionsE401 { - return ListBlockchainEventsSubscriptionsE401{ MissingApiKey: v} + return ListBlockchainEventsSubscriptionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListBlockchainEventsSubscriptionsE401) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListBlockchainEventsSubscriptionsE401) UnmarshalJSON(data []byte) err } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListBlockchainEventsSubscriptionsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListBlockchainEventsSubscriptionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_blockchain_events_subscriptions_e403.go b/model_list_blockchain_events_subscriptions_e403.go index dd0676e..e636069 100644 --- a/model_list_blockchain_events_subscriptions_e403.go +++ b/model_list_blockchain_events_subscriptions_e403.go @@ -26,22 +26,30 @@ type ListBlockchainEventsSubscriptionsE403 struct { // BannedIpAddressAsListBlockchainEventsSubscriptionsE403 is a convenience function that returns BannedIpAddress wrapped in ListBlockchainEventsSubscriptionsE403 func BannedIpAddressAsListBlockchainEventsSubscriptionsE403(v *BannedIpAddress) ListBlockchainEventsSubscriptionsE403 { - return ListBlockchainEventsSubscriptionsE403{ BannedIpAddress: v} + return ListBlockchainEventsSubscriptionsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListBlockchainEventsSubscriptionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListBlockchainEventsSubscriptionsE403 func EndpointNotAllowedForApiKeyAsListBlockchainEventsSubscriptionsE403(v *EndpointNotAllowedForApiKey) ListBlockchainEventsSubscriptionsE403 { - return ListBlockchainEventsSubscriptionsE403{ EndpointNotAllowedForApiKey: v} + return ListBlockchainEventsSubscriptionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListBlockchainEventsSubscriptionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListBlockchainEventsSubscriptionsE403 func EndpointNotAllowedForPlanAsListBlockchainEventsSubscriptionsE403(v *EndpointNotAllowedForPlan) ListBlockchainEventsSubscriptionsE403 { - return ListBlockchainEventsSubscriptionsE403{ EndpointNotAllowedForPlan: v} + return ListBlockchainEventsSubscriptionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListBlockchainEventsSubscriptionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListBlockchainEventsSubscriptionsE403 func FeatureMainnetsNotAllowedForPlanAsListBlockchainEventsSubscriptionsE403(v *FeatureMainnetsNotAllowedForPlan) ListBlockchainEventsSubscriptionsE403 { - return ListBlockchainEventsSubscriptionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListBlockchainEventsSubscriptionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListBlockchainEventsSubscriptionsE403) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListBlockchainEventsSubscriptionsE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListBlockchainEventsSubscriptionsE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListBlockchainEventsSubscriptionsE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListBlockchainEventsSubscriptionsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListBlockchainEventsSubscriptionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_blockchain_events_subscriptions_r.go b/model_list_blockchain_events_subscriptions_r.go index e2dd1e9..1ba0d4c 100644 --- a/model_list_blockchain_events_subscriptions_r.go +++ b/model_list_blockchain_events_subscriptions_r.go @@ -59,7 +59,7 @@ func (o *ListBlockchainEventsSubscriptionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListBlockchainEventsSubscriptionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListBlockchainEventsSubscriptionsR) GetData() ListBlockchainEventsSubsc // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsR) GetDataOk() (*ListBlockchainEventsSubscriptionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_blockchain_events_subscriptions_r_data.go b/model_list_blockchain_events_subscriptions_r_data.go index 0544940..a5f5360 100644 --- a/model_list_blockchain_events_subscriptions_r_data.go +++ b/model_list_blockchain_events_subscriptions_r_data.go @@ -17,10 +17,10 @@ import ( // ListBlockchainEventsSubscriptionsRData struct for ListBlockchainEventsSubscriptionsRData type ListBlockchainEventsSubscriptionsRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListBlockchainEventsSubscriptionsRI `json:"items"` @@ -30,10 +30,10 @@ type ListBlockchainEventsSubscriptionsRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListBlockchainEventsSubscriptionsRData(offset int32, limit int32, total int32, items []ListBlockchainEventsSubscriptionsRI) *ListBlockchainEventsSubscriptionsRData { +func NewListBlockchainEventsSubscriptionsRData(limit int32, offset int32, total int32, items []ListBlockchainEventsSubscriptionsRI) *ListBlockchainEventsSubscriptionsRData { this := ListBlockchainEventsSubscriptionsRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListBlockchainEventsSubscriptionsRDataWithDefaults() *ListBlockchainEven return &this } -// GetOffset returns the Offset field value -func (o *ListBlockchainEventsSubscriptionsRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListBlockchainEventsSubscriptionsRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListBlockchainEventsSubscriptionsRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListBlockchainEventsSubscriptionsRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListBlockchainEventsSubscriptionsRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListBlockchainEventsSubscriptionsRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListBlockchainEventsSubscriptionsRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListBlockchainEventsSubscriptionsRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListBlockchainEventsSubscriptionsRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListBlockchainEventsSubscriptionsRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListBlockchainEventsSubscriptionsRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListBlockchainEventsSubscriptionsRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListBlockchainEventsSubscriptionsRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListBlockchainEventsSubscriptionsRData) GetItems() []ListBlockchainEven // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListBlockchainEventsSubscriptionsRData) GetItemsOk() (*[]ListBlockchainEventsSubscriptionsRI, bool) { - if o == nil { +func (o *ListBlockchainEventsSubscriptionsRData) GetItemsOk() ([]ListBlockchainEventsSubscriptionsRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListBlockchainEventsSubscriptionsRData) SetItems(v []ListBlockchainEven func (o ListBlockchainEventsSubscriptionsRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_blockchain_events_subscriptions_ri.go b/model_list_blockchain_events_subscriptions_ri.go index 9b3b42c..4f3f997 100644 --- a/model_list_blockchain_events_subscriptions_ri.go +++ b/model_list_blockchain_events_subscriptions_ri.go @@ -20,13 +20,15 @@ type ListBlockchainEventsSubscriptionsRI struct { // Represents the address of the transaction. Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). - CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` + // Represents the deactivation reason details, available when a blockchain event subscription has status isActive - false. + DeactivationReasons []ListBlockchainEventsSubscriptionsRIDeactivationReasons `json:"deactivationReasons,omitempty"` // Defines the type of the specific event available for the customer to subscribe to for callback notification. EventType string `json:"eventType"` // Defines whether the subscription is active or not. Set as boolean. @@ -34,24 +36,22 @@ type ListBlockchainEventsSubscriptionsRI struct { // Represents a unique ID used to reference the specific callback subscription. ReferenceId string `json:"referenceId"` // Represents the unique identification string that defines the transaction. - TransactionId string `json:"transactionId"` + TransactionId *string `json:"transactionId,omitempty"` } // NewListBlockchainEventsSubscriptionsRI instantiates a new ListBlockchainEventsSubscriptionsRI object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListBlockchainEventsSubscriptionsRI(address string, callbackSecretKey string, callbackUrl string, confirmationsCount int32, createdTimestamp int32, eventType string, isActive bool, referenceId string, transactionId string) *ListBlockchainEventsSubscriptionsRI { +func NewListBlockchainEventsSubscriptionsRI(address string, callbackUrl string, confirmationsCount int32, createdTimestamp int32, eventType string, isActive bool, referenceId string) *ListBlockchainEventsSubscriptionsRI { this := ListBlockchainEventsSubscriptionsRI{} this.Address = address - this.CallbackSecretKey = callbackSecretKey this.CallbackUrl = callbackUrl this.ConfirmationsCount = confirmationsCount this.CreatedTimestamp = createdTimestamp this.EventType = eventType this.IsActive = isActive this.ReferenceId = referenceId - this.TransactionId = transactionId return &this } @@ -76,7 +76,7 @@ func (o *ListBlockchainEventsSubscriptionsRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -87,28 +87,36 @@ func (o *ListBlockchainEventsSubscriptionsRI) SetAddress(v string) { o.Address = v } -// GetCallbackSecretKey returns the CallbackSecretKey field value +// GetCallbackSecretKey returns the CallbackSecretKey field value if set, zero value otherwise. func (o *ListBlockchainEventsSubscriptionsRI) GetCallbackSecretKey() string { - if o == nil { + if o == nil || o.CallbackSecretKey == nil { var ret string return ret } - - return o.CallbackSecretKey + return *o.CallbackSecretKey } -// GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value +// GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil || o.CallbackSecretKey == nil { return nil, false } - return &o.CallbackSecretKey, true + return o.CallbackSecretKey, true +} + +// HasCallbackSecretKey returns a boolean if a field has been set. +func (o *ListBlockchainEventsSubscriptionsRI) HasCallbackSecretKey() bool { + if o != nil && o.CallbackSecretKey != nil { + return true + } + + return false } -// SetCallbackSecretKey sets field value +// SetCallbackSecretKey gets a reference to the given string and assigns it to the CallbackSecretKey field. func (o *ListBlockchainEventsSubscriptionsRI) SetCallbackSecretKey(v string) { - o.CallbackSecretKey = v + o.CallbackSecretKey = &v } // GetCallbackUrl returns the CallbackUrl field value @@ -124,7 +132,7 @@ func (o *ListBlockchainEventsSubscriptionsRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -148,7 +156,7 @@ func (o *ListBlockchainEventsSubscriptionsRI) GetConfirmationsCount() int32 { // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -172,7 +180,7 @@ func (o *ListBlockchainEventsSubscriptionsRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -183,6 +191,38 @@ func (o *ListBlockchainEventsSubscriptionsRI) SetCreatedTimestamp(v int32) { o.CreatedTimestamp = v } +// GetDeactivationReasons returns the DeactivationReasons field value if set, zero value otherwise. +func (o *ListBlockchainEventsSubscriptionsRI) GetDeactivationReasons() []ListBlockchainEventsSubscriptionsRIDeactivationReasons { + if o == nil || o.DeactivationReasons == nil { + var ret []ListBlockchainEventsSubscriptionsRIDeactivationReasons + return ret + } + return o.DeactivationReasons +} + +// GetDeactivationReasonsOk returns a tuple with the DeactivationReasons field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListBlockchainEventsSubscriptionsRI) GetDeactivationReasonsOk() ([]ListBlockchainEventsSubscriptionsRIDeactivationReasons, bool) { + if o == nil || o.DeactivationReasons == nil { + return nil, false + } + return o.DeactivationReasons, true +} + +// HasDeactivationReasons returns a boolean if a field has been set. +func (o *ListBlockchainEventsSubscriptionsRI) HasDeactivationReasons() bool { + if o != nil && o.DeactivationReasons != nil { + return true + } + + return false +} + +// SetDeactivationReasons gets a reference to the given []ListBlockchainEventsSubscriptionsRIDeactivationReasons and assigns it to the DeactivationReasons field. +func (o *ListBlockchainEventsSubscriptionsRI) SetDeactivationReasons(v []ListBlockchainEventsSubscriptionsRIDeactivationReasons) { + o.DeactivationReasons = v +} + // GetEventType returns the EventType field value func (o *ListBlockchainEventsSubscriptionsRI) GetEventType() string { if o == nil { @@ -196,7 +236,7 @@ func (o *ListBlockchainEventsSubscriptionsRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -220,7 +260,7 @@ func (o *ListBlockchainEventsSubscriptionsRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -244,7 +284,7 @@ func (o *ListBlockchainEventsSubscriptionsRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -255,28 +295,36 @@ func (o *ListBlockchainEventsSubscriptionsRI) SetReferenceId(v string) { o.ReferenceId = v } -// GetTransactionId returns the TransactionId field value +// GetTransactionId returns the TransactionId field value if set, zero value otherwise. func (o *ListBlockchainEventsSubscriptionsRI) GetTransactionId() string { - if o == nil { + if o == nil || o.TransactionId == nil { var ret string return ret } - - return o.TransactionId + return *o.TransactionId } -// GetTransactionIdOk returns a tuple with the TransactionId field value +// GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ListBlockchainEventsSubscriptionsRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil || o.TransactionId == nil { return nil, false } - return &o.TransactionId, true + return o.TransactionId, true } -// SetTransactionId sets field value +// HasTransactionId returns a boolean if a field has been set. +func (o *ListBlockchainEventsSubscriptionsRI) HasTransactionId() bool { + if o != nil && o.TransactionId != nil { + return true + } + + return false +} + +// SetTransactionId gets a reference to the given string and assigns it to the TransactionId field. func (o *ListBlockchainEventsSubscriptionsRI) SetTransactionId(v string) { - o.TransactionId = v + o.TransactionId = &v } func (o ListBlockchainEventsSubscriptionsRI) MarshalJSON() ([]byte, error) { @@ -284,7 +332,7 @@ func (o ListBlockchainEventsSubscriptionsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["address"] = o.Address } - if true { + if o.CallbackSecretKey != nil { toSerialize["callbackSecretKey"] = o.CallbackSecretKey } if true { @@ -296,6 +344,9 @@ func (o ListBlockchainEventsSubscriptionsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["createdTimestamp"] = o.CreatedTimestamp } + if o.DeactivationReasons != nil { + toSerialize["deactivationReasons"] = o.DeactivationReasons + } if true { toSerialize["eventType"] = o.EventType } @@ -305,7 +356,7 @@ func (o ListBlockchainEventsSubscriptionsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["referenceId"] = o.ReferenceId } - if true { + if o.TransactionId != nil { toSerialize["transactionId"] = o.TransactionId } return json.Marshal(toSerialize) diff --git a/model_list_blockchain_events_subscriptions_ri_deactivation_reasons.go b/model_list_blockchain_events_subscriptions_ri_deactivation_reasons.go new file mode 100644 index 0000000..86db29a --- /dev/null +++ b/model_list_blockchain_events_subscriptions_ri_deactivation_reasons.go @@ -0,0 +1,140 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListBlockchainEventsSubscriptionsRIDeactivationReasons struct for ListBlockchainEventsSubscriptionsRIDeactivationReasons +type ListBlockchainEventsSubscriptionsRIDeactivationReasons struct { + // Defines the deactivation reason as a message. + Reason string `json:"reason"` + // Represents the time of the subscription deactivation. + Timestamp int32 `json:"timestamp"` +} + +// NewListBlockchainEventsSubscriptionsRIDeactivationReasons instantiates a new ListBlockchainEventsSubscriptionsRIDeactivationReasons object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListBlockchainEventsSubscriptionsRIDeactivationReasons(reason string, timestamp int32) *ListBlockchainEventsSubscriptionsRIDeactivationReasons { + this := ListBlockchainEventsSubscriptionsRIDeactivationReasons{} + this.Reason = reason + this.Timestamp = timestamp + return &this +} + +// NewListBlockchainEventsSubscriptionsRIDeactivationReasonsWithDefaults instantiates a new ListBlockchainEventsSubscriptionsRIDeactivationReasons object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListBlockchainEventsSubscriptionsRIDeactivationReasonsWithDefaults() *ListBlockchainEventsSubscriptionsRIDeactivationReasons { + this := ListBlockchainEventsSubscriptionsRIDeactivationReasons{} + return &this +} + +// GetReason returns the Reason field value +func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) GetReason() string { + if o == nil { + var ret string + return ret + } + + return o.Reason +} + +// GetReasonOk returns a tuple with the Reason field value +// and a boolean to check if the value has been set. +func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) GetReasonOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Reason, true +} + +// SetReason sets field value +func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) SetReason(v string) { + o.Reason = v +} + +// GetTimestamp returns the Timestamp field value +func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) GetTimestamp() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value +// and a boolean to check if the value has been set. +func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) GetTimestampOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Timestamp, true +} + +// SetTimestamp sets field value +func (o *ListBlockchainEventsSubscriptionsRIDeactivationReasons) SetTimestamp(v int32) { + o.Timestamp = v +} + +func (o ListBlockchainEventsSubscriptionsRIDeactivationReasons) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["reason"] = o.Reason + } + if true { + toSerialize["timestamp"] = o.Timestamp + } + return json.Marshal(toSerialize) +} + +type NullableListBlockchainEventsSubscriptionsRIDeactivationReasons struct { + value *ListBlockchainEventsSubscriptionsRIDeactivationReasons + isSet bool +} + +func (v NullableListBlockchainEventsSubscriptionsRIDeactivationReasons) Get() *ListBlockchainEventsSubscriptionsRIDeactivationReasons { + return v.value +} + +func (v *NullableListBlockchainEventsSubscriptionsRIDeactivationReasons) Set(val *ListBlockchainEventsSubscriptionsRIDeactivationReasons) { + v.value = val + v.isSet = true +} + +func (v NullableListBlockchainEventsSubscriptionsRIDeactivationReasons) IsSet() bool { + return v.isSet +} + +func (v *NullableListBlockchainEventsSubscriptionsRIDeactivationReasons) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListBlockchainEventsSubscriptionsRIDeactivationReasons(val *ListBlockchainEventsSubscriptionsRIDeactivationReasons) *NullableListBlockchainEventsSubscriptionsRIDeactivationReasons { + return &NullableListBlockchainEventsSubscriptionsRIDeactivationReasons{value: val, isSet: true} +} + +func (v NullableListBlockchainEventsSubscriptionsRIDeactivationReasons) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListBlockchainEventsSubscriptionsRIDeactivationReasons) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_coins_forwarding_automations_e400.go b/model_list_coins_forwarding_automations_e400.go index 9558403..ad15a79 100644 --- a/model_list_coins_forwarding_automations_e400.go +++ b/model_list_coins_forwarding_automations_e400.go @@ -25,17 +25,23 @@ type ListCoinsForwardingAutomationsE400 struct { // InvalidPaginationAsListCoinsForwardingAutomationsE400 is a convenience function that returns InvalidPagination wrapped in ListCoinsForwardingAutomationsE400 func InvalidPaginationAsListCoinsForwardingAutomationsE400(v *InvalidPagination) ListCoinsForwardingAutomationsE400 { - return ListCoinsForwardingAutomationsE400{ InvalidPagination: v} + return ListCoinsForwardingAutomationsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListCoinsForwardingAutomationsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListCoinsForwardingAutomationsE400 func LimitGreaterThanAllowedAsListCoinsForwardingAutomationsE400(v *LimitGreaterThanAllowed) ListCoinsForwardingAutomationsE400 { - return ListCoinsForwardingAutomationsE400{ LimitGreaterThanAllowed: v} + return ListCoinsForwardingAutomationsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListCoinsForwardingAutomationsE400 is a convenience function that returns UriNotFound wrapped in ListCoinsForwardingAutomationsE400 func UriNotFoundAsListCoinsForwardingAutomationsE400(v *UriNotFound) ListCoinsForwardingAutomationsE400 { - return ListCoinsForwardingAutomationsE400{ UriNotFound: v} + return ListCoinsForwardingAutomationsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListCoinsForwardingAutomationsE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListCoinsForwardingAutomationsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListCoinsForwardingAutomationsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListCoinsForwardingAutomationsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListCoinsForwardingAutomationsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_coins_forwarding_automations_e401.go b/model_list_coins_forwarding_automations_e401.go index 8892eaa..ad3a3c0 100644 --- a/model_list_coins_forwarding_automations_e401.go +++ b/model_list_coins_forwarding_automations_e401.go @@ -24,12 +24,16 @@ type ListCoinsForwardingAutomationsE401 struct { // InvalidApiKeyAsListCoinsForwardingAutomationsE401 is a convenience function that returns InvalidApiKey wrapped in ListCoinsForwardingAutomationsE401 func InvalidApiKeyAsListCoinsForwardingAutomationsE401(v *InvalidApiKey) ListCoinsForwardingAutomationsE401 { - return ListCoinsForwardingAutomationsE401{ InvalidApiKey: v} + return ListCoinsForwardingAutomationsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListCoinsForwardingAutomationsE401 is a convenience function that returns MissingApiKey wrapped in ListCoinsForwardingAutomationsE401 func MissingApiKeyAsListCoinsForwardingAutomationsE401(v *MissingApiKey) ListCoinsForwardingAutomationsE401 { - return ListCoinsForwardingAutomationsE401{ MissingApiKey: v} + return ListCoinsForwardingAutomationsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListCoinsForwardingAutomationsE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListCoinsForwardingAutomationsE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListCoinsForwardingAutomationsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListCoinsForwardingAutomationsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_coins_forwarding_automations_e403.go b/model_list_coins_forwarding_automations_e403.go index 0ca315a..b0e323f 100644 --- a/model_list_coins_forwarding_automations_e403.go +++ b/model_list_coins_forwarding_automations_e403.go @@ -26,22 +26,30 @@ type ListCoinsForwardingAutomationsE403 struct { // BannedIpAddressAsListCoinsForwardingAutomationsE403 is a convenience function that returns BannedIpAddress wrapped in ListCoinsForwardingAutomationsE403 func BannedIpAddressAsListCoinsForwardingAutomationsE403(v *BannedIpAddress) ListCoinsForwardingAutomationsE403 { - return ListCoinsForwardingAutomationsE403{ BannedIpAddress: v} + return ListCoinsForwardingAutomationsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListCoinsForwardingAutomationsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListCoinsForwardingAutomationsE403 func EndpointNotAllowedForApiKeyAsListCoinsForwardingAutomationsE403(v *EndpointNotAllowedForApiKey) ListCoinsForwardingAutomationsE403 { - return ListCoinsForwardingAutomationsE403{ EndpointNotAllowedForApiKey: v} + return ListCoinsForwardingAutomationsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListCoinsForwardingAutomationsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListCoinsForwardingAutomationsE403 func EndpointNotAllowedForPlanAsListCoinsForwardingAutomationsE403(v *EndpointNotAllowedForPlan) ListCoinsForwardingAutomationsE403 { - return ListCoinsForwardingAutomationsE403{ EndpointNotAllowedForPlan: v} + return ListCoinsForwardingAutomationsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListCoinsForwardingAutomationsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListCoinsForwardingAutomationsE403 func FeatureMainnetsNotAllowedForPlanAsListCoinsForwardingAutomationsE403(v *FeatureMainnetsNotAllowedForPlan) ListCoinsForwardingAutomationsE403 { - return ListCoinsForwardingAutomationsE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListCoinsForwardingAutomationsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListCoinsForwardingAutomationsE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListCoinsForwardingAutomationsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListCoinsForwardingAutomationsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListCoinsForwardingAutomationsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListCoinsForwardingAutomationsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListCoinsForwardingAutomationsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_coins_forwarding_automations_r.go b/model_list_coins_forwarding_automations_r.go index 02de947..3d7fb28 100644 --- a/model_list_coins_forwarding_automations_r.go +++ b/model_list_coins_forwarding_automations_r.go @@ -59,7 +59,7 @@ func (o *ListCoinsForwardingAutomationsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListCoinsForwardingAutomationsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListCoinsForwardingAutomationsR) GetData() ListCoinsForwardingAutomatio // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsR) GetDataOk() (*ListCoinsForwardingAutomationsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_coins_forwarding_automations_r_data.go b/model_list_coins_forwarding_automations_r_data.go index 6f01edd..c068a05 100644 --- a/model_list_coins_forwarding_automations_r_data.go +++ b/model_list_coins_forwarding_automations_r_data.go @@ -17,10 +17,10 @@ import ( // ListCoinsForwardingAutomationsRData struct for ListCoinsForwardingAutomationsRData type ListCoinsForwardingAutomationsRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListCoinsForwardingAutomationsRI `json:"items"` @@ -30,10 +30,10 @@ type ListCoinsForwardingAutomationsRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListCoinsForwardingAutomationsRData(offset int32, limit int32, total int32, items []ListCoinsForwardingAutomationsRI) *ListCoinsForwardingAutomationsRData { +func NewListCoinsForwardingAutomationsRData(limit int32, offset int32, total int32, items []ListCoinsForwardingAutomationsRI) *ListCoinsForwardingAutomationsRData { this := ListCoinsForwardingAutomationsRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListCoinsForwardingAutomationsRDataWithDefaults() *ListCoinsForwardingAu return &this } -// GetOffset returns the Offset field value -func (o *ListCoinsForwardingAutomationsRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListCoinsForwardingAutomationsRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListCoinsForwardingAutomationsRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListCoinsForwardingAutomationsRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListCoinsForwardingAutomationsRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListCoinsForwardingAutomationsRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListCoinsForwardingAutomationsRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListCoinsForwardingAutomationsRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListCoinsForwardingAutomationsRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListCoinsForwardingAutomationsRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListCoinsForwardingAutomationsRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListCoinsForwardingAutomationsRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListCoinsForwardingAutomationsRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListCoinsForwardingAutomationsRData) GetItems() []ListCoinsForwardingAu // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListCoinsForwardingAutomationsRData) GetItemsOk() (*[]ListCoinsForwardingAutomationsRI, bool) { - if o == nil { +func (o *ListCoinsForwardingAutomationsRData) GetItemsOk() ([]ListCoinsForwardingAutomationsRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListCoinsForwardingAutomationsRData) SetItems(v []ListCoinsForwardingAu func (o ListCoinsForwardingAutomationsRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_coins_forwarding_automations_ri.go b/model_list_coins_forwarding_automations_ri.go index f68b4c2..db331c0 100644 --- a/model_list_coins_forwarding_automations_ri.go +++ b/model_list_coins_forwarding_automations_ri.go @@ -17,7 +17,7 @@ import ( // ListCoinsForwardingAutomationsRI struct for ListCoinsForwardingAutomationsRI type ListCoinsForwardingAutomationsRI struct { - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the total count of the transaction confirmations before triggering the event. ConfirmationsCountTrigger int32 `json:"confirmationsCountTrigger"` @@ -73,7 +73,7 @@ func (o *ListCoinsForwardingAutomationsRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -97,7 +97,7 @@ func (o *ListCoinsForwardingAutomationsRI) GetConfirmationsCountTrigger() int32 // GetConfirmationsCountTriggerOk returns a tuple with the ConfirmationsCountTrigger field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRI) GetConfirmationsCountTriggerOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCountTrigger, true @@ -121,7 +121,7 @@ func (o *ListCoinsForwardingAutomationsRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -145,7 +145,7 @@ func (o *ListCoinsForwardingAutomationsRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -169,7 +169,7 @@ func (o *ListCoinsForwardingAutomationsRI) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRI) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -193,7 +193,7 @@ func (o *ListCoinsForwardingAutomationsRI) GetMinimumTransferAmount() string { // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRI) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -217,7 +217,7 @@ func (o *ListCoinsForwardingAutomationsRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -241,7 +241,7 @@ func (o *ListCoinsForwardingAutomationsRI) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *ListCoinsForwardingAutomationsRI) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true diff --git a/model_list_confirmed_tokens_transfers_by_address_and_time_range_e400.go b/model_list_confirmed_tokens_transfers_by_address_and_time_range_e400.go new file mode 100644 index 0000000..c355071 --- /dev/null +++ b/model_list_confirmed_tokens_transfers_by_address_and_time_range_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListConfirmedTokensTransfersByAddressAndTimeRangeE400 - struct for ListConfirmedTokensTransfersByAddressAndTimeRangeE400 +type ListConfirmedTokensTransfersByAddressAndTimeRangeE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsListConfirmedTokensTransfersByAddressAndTimeRangeE400 is a convenience function that returns InvalidPagination wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE400 +func InvalidPaginationAsListConfirmedTokensTransfersByAddressAndTimeRangeE400(v *InvalidPagination) ListConfirmedTokensTransfersByAddressAndTimeRangeE400 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsListConfirmedTokensTransfersByAddressAndTimeRangeE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE400 +func LimitGreaterThanAllowedAsListConfirmedTokensTransfersByAddressAndTimeRangeE400(v *LimitGreaterThanAllowed) ListConfirmedTokensTransfersByAddressAndTimeRangeE400 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsListConfirmedTokensTransfersByAddressAndTimeRangeE400 is a convenience function that returns UriNotFound wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE400 +func UriNotFoundAsListConfirmedTokensTransfersByAddressAndTimeRangeE400(v *UriNotFound) ListConfirmedTokensTransfersByAddressAndTimeRangeE400 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListConfirmedTokensTransfersByAddressAndTimeRangeE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListConfirmedTokensTransfersByAddressAndTimeRangeE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListConfirmedTokensTransfersByAddressAndTimeRangeE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400 struct { + value *ListConfirmedTokensTransfersByAddressAndTimeRangeE400 + isSet bool +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400) Get() *ListConfirmedTokensTransfersByAddressAndTimeRangeE400 { + return v.value +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400) Set(val *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTokensTransfersByAddressAndTimeRangeE400(val *ListConfirmedTokensTransfersByAddressAndTimeRangeE400) *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400 { + return &NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400{value: val, isSet: true} +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_tokens_transfers_by_address_and_time_range_e401.go b/model_list_confirmed_tokens_transfers_by_address_and_time_range_e401.go new file mode 100644 index 0000000..e5c5294 --- /dev/null +++ b/model_list_confirmed_tokens_transfers_by_address_and_time_range_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListConfirmedTokensTransfersByAddressAndTimeRangeE401 - struct for ListConfirmedTokensTransfersByAddressAndTimeRangeE401 +type ListConfirmedTokensTransfersByAddressAndTimeRangeE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsListConfirmedTokensTransfersByAddressAndTimeRangeE401 is a convenience function that returns InvalidApiKey wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE401 +func InvalidApiKeyAsListConfirmedTokensTransfersByAddressAndTimeRangeE401(v *InvalidApiKey) ListConfirmedTokensTransfersByAddressAndTimeRangeE401 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsListConfirmedTokensTransfersByAddressAndTimeRangeE401 is a convenience function that returns MissingApiKey wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE401 +func MissingApiKeyAsListConfirmedTokensTransfersByAddressAndTimeRangeE401(v *MissingApiKey) ListConfirmedTokensTransfersByAddressAndTimeRangeE401 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListConfirmedTokensTransfersByAddressAndTimeRangeE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListConfirmedTokensTransfersByAddressAndTimeRangeE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListConfirmedTokensTransfersByAddressAndTimeRangeE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401 struct { + value *ListConfirmedTokensTransfersByAddressAndTimeRangeE401 + isSet bool +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401) Get() *ListConfirmedTokensTransfersByAddressAndTimeRangeE401 { + return v.value +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401) Set(val *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTokensTransfersByAddressAndTimeRangeE401(val *ListConfirmedTokensTransfersByAddressAndTimeRangeE401) *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401 { + return &NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401{value: val, isSet: true} +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_tokens_transfers_by_address_and_time_range_e403.go b/model_list_confirmed_tokens_transfers_by_address_and_time_range_e403.go new file mode 100644 index 0000000..23b4c37 --- /dev/null +++ b/model_list_confirmed_tokens_transfers_by_address_and_time_range_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListConfirmedTokensTransfersByAddressAndTimeRangeE403 - struct for ListConfirmedTokensTransfersByAddressAndTimeRangeE403 +type ListConfirmedTokensTransfersByAddressAndTimeRangeE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsListConfirmedTokensTransfersByAddressAndTimeRangeE403 is a convenience function that returns BannedIpAddress wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE403 +func BannedIpAddressAsListConfirmedTokensTransfersByAddressAndTimeRangeE403(v *BannedIpAddress) ListConfirmedTokensTransfersByAddressAndTimeRangeE403 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsListConfirmedTokensTransfersByAddressAndTimeRangeE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE403 +func EndpointNotAllowedForApiKeyAsListConfirmedTokensTransfersByAddressAndTimeRangeE403(v *EndpointNotAllowedForApiKey) ListConfirmedTokensTransfersByAddressAndTimeRangeE403 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsListConfirmedTokensTransfersByAddressAndTimeRangeE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE403 +func EndpointNotAllowedForPlanAsListConfirmedTokensTransfersByAddressAndTimeRangeE403(v *EndpointNotAllowedForPlan) ListConfirmedTokensTransfersByAddressAndTimeRangeE403 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsListConfirmedTokensTransfersByAddressAndTimeRangeE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListConfirmedTokensTransfersByAddressAndTimeRangeE403 +func FeatureMainnetsNotAllowedForPlanAsListConfirmedTokensTransfersByAddressAndTimeRangeE403(v *FeatureMainnetsNotAllowedForPlan) ListConfirmedTokensTransfersByAddressAndTimeRangeE403 { + return ListConfirmedTokensTransfersByAddressAndTimeRangeE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListConfirmedTokensTransfersByAddressAndTimeRangeE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListConfirmedTokensTransfersByAddressAndTimeRangeE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListConfirmedTokensTransfersByAddressAndTimeRangeE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403 struct { + value *ListConfirmedTokensTransfersByAddressAndTimeRangeE403 + isSet bool +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403) Get() *ListConfirmedTokensTransfersByAddressAndTimeRangeE403 { + return v.value +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403) Set(val *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTokensTransfersByAddressAndTimeRangeE403(val *ListConfirmedTokensTransfersByAddressAndTimeRangeE403) *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403 { + return &NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403{value: val, isSet: true} +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_tokens_transfers_by_address_and_time_range_r.go b/model_list_confirmed_tokens_transfers_by_address_and_time_range_r.go new file mode 100644 index 0000000..ad0e81e --- /dev/null +++ b/model_list_confirmed_tokens_transfers_by_address_and_time_range_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTokensTransfersByAddressAndTimeRangeR struct for ListConfirmedTokensTransfersByAddressAndTimeRangeR +type ListConfirmedTokensTransfersByAddressAndTimeRangeR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data ListConfirmedTokensTransfersByAddressAndTimeRangeRData `json:"data"` +} + +// NewListConfirmedTokensTransfersByAddressAndTimeRangeR instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTokensTransfersByAddressAndTimeRangeR(apiVersion string, requestId string, data ListConfirmedTokensTransfersByAddressAndTimeRangeRData) *ListConfirmedTokensTransfersByAddressAndTimeRangeR { + this := ListConfirmedTokensTransfersByAddressAndTimeRangeR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewListConfirmedTokensTransfersByAddressAndTimeRangeRWithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTokensTransfersByAddressAndTimeRangeRWithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeR { + this := ListConfirmedTokensTransfersByAddressAndTimeRangeR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetData() ListConfirmedTokensTransfersByAddressAndTimeRangeRData { + if o == nil { + var ret ListConfirmedTokensTransfersByAddressAndTimeRangeRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) GetDataOk() (*ListConfirmedTokensTransfersByAddressAndTimeRangeRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeR) SetData(v ListConfirmedTokensTransfersByAddressAndTimeRangeRData) { + o.Data = v +} + +func (o ListConfirmedTokensTransfersByAddressAndTimeRangeR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTokensTransfersByAddressAndTimeRangeR struct { + value *ListConfirmedTokensTransfersByAddressAndTimeRangeR + isSet bool +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeR) Get() *ListConfirmedTokensTransfersByAddressAndTimeRangeR { + return v.value +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeR) Set(val *ListConfirmedTokensTransfersByAddressAndTimeRangeR) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeR) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTokensTransfersByAddressAndTimeRangeR(val *ListConfirmedTokensTransfersByAddressAndTimeRangeR) *NullableListConfirmedTokensTransfersByAddressAndTimeRangeR { + return &NullableListConfirmedTokensTransfersByAddressAndTimeRangeR{value: val, isSet: true} +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_tokens_transfers_by_address_and_time_range_r_data.go b/model_list_confirmed_tokens_transfers_by_address_and_time_range_r_data.go new file mode 100644 index 0000000..448d08e --- /dev/null +++ b/model_list_confirmed_tokens_transfers_by_address_and_time_range_r_data.go @@ -0,0 +1,199 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTokensTransfersByAddressAndTimeRangeRData struct for ListConfirmedTokensTransfersByAddressAndTimeRangeRData +type ListConfirmedTokensTransfersByAddressAndTimeRangeRData struct { + // Defines how many items should be returned in the response per page basis. + Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` + // Defines the total number of items returned in the response. + Total int32 `json:"total"` + Items []ListConfirmedTokensTransfersByAddressAndTimeRangeRI `json:"items"` +} + +// NewListConfirmedTokensTransfersByAddressAndTimeRangeRData instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTokensTransfersByAddressAndTimeRangeRData(limit int32, offset int32, total int32, items []ListConfirmedTokensTransfersByAddressAndTimeRangeRI) *ListConfirmedTokensTransfersByAddressAndTimeRangeRData { + this := ListConfirmedTokensTransfersByAddressAndTimeRangeRData{} + this.Limit = limit + this.Offset = offset + this.Total = total + this.Items = items + return &this +} + +// NewListConfirmedTokensTransfersByAddressAndTimeRangeRDataWithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTokensTransfersByAddressAndTimeRangeRDataWithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeRData { + this := ListConfirmedTokensTransfersByAddressAndTimeRangeRData{} + return &this +} + +// GetLimit returns the Limit field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Limit, true +} + +// SetLimit sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) SetLimit(v int32) { + o.Limit = v +} + +// GetOffset returns the Offset field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetOffset() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Offset +} + +// GetOffsetOk returns a tuple with the Offset field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetOffsetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Offset, true +} + +// SetOffset sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) SetOffset(v int32) { + o.Offset = v +} + +// GetTotal returns the Total field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetTotal() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetTotalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) SetTotal(v int32) { + o.Total = v +} + +// GetItems returns the Items field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetItems() []ListConfirmedTokensTransfersByAddressAndTimeRangeRI { + if o == nil { + var ret []ListConfirmedTokensTransfersByAddressAndTimeRangeRI + return ret + } + + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) GetItemsOk() ([]ListConfirmedTokensTransfersByAddressAndTimeRangeRI, bool) { + if o == nil { + return nil, false + } + return o.Items, true +} + +// SetItems sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) SetItems(v []ListConfirmedTokensTransfersByAddressAndTimeRangeRI) { + o.Items = v +} + +func (o ListConfirmedTokensTransfersByAddressAndTimeRangeRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["limit"] = o.Limit + } + if true { + toSerialize["offset"] = o.Offset + } + if true { + toSerialize["total"] = o.Total + } + if true { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData struct { + value *ListConfirmedTokensTransfersByAddressAndTimeRangeRData + isSet bool +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData) Get() *ListConfirmedTokensTransfersByAddressAndTimeRangeRData { + return v.value +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData) Set(val *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTokensTransfersByAddressAndTimeRangeRData(val *ListConfirmedTokensTransfersByAddressAndTimeRangeRData) *NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData { + return &NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData{value: val, isSet: true} +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_tokens_transfers_by_address_and_time_range_ri.go b/model_list_confirmed_tokens_transfers_by_address_and_time_range_ri.go new file mode 100644 index 0000000..0873309 --- /dev/null +++ b/model_list_confirmed_tokens_transfers_by_address_and_time_range_ri.go @@ -0,0 +1,454 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTokensTransfersByAddressAndTimeRangeRI struct for ListConfirmedTokensTransfersByAddressAndTimeRangeRI +type ListConfirmedTokensTransfersByAddressAndTimeRangeRI struct { + // Represents the contract address of the token, which controls its logic. It is not the address that holds the tokens. + ContractAddress string `json:"contractAddress"` + // Defines the block height in which this transaction was confirmed/mined. + MinedInBlockHeight int32 `json:"minedInBlockHeight"` + // Defines the address to which the recipient receives the transferred tokens. + RecipientAddress string `json:"recipientAddress"` + // Defines the address from which the sender transfers tokens. + SenderAddress string `json:"senderAddress"` + // Defines the decimals of the token, i.e. the number of digits that come after the decimal coma of the token. + TokenDecimals int32 `json:"tokenDecimals"` + // Represents the unique token identifier. + TokenId *string `json:"tokenId,omitempty"` + // Defines the token's name as a string. + TokenName string `json:"tokenName"` + // Defines the token symbol by which the token contract is known. It is usually 3-4 characters in length. + TokenSymbol string `json:"tokenSymbol"` + // Defines the specific token type. + TokenType string `json:"tokenType"` + // Defines the token amount of the transfer. + TokensAmount *string `json:"tokensAmount,omitempty"` + // Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. + TransactionHash string `json:"transactionHash"` + // Defines the specific time/date when the transaction was created in Unix Timestamp. + TransactionTimestamp int32 `json:"transactionTimestamp"` +} + +// NewListConfirmedTokensTransfersByAddressAndTimeRangeRI instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTokensTransfersByAddressAndTimeRangeRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, transactionHash string, transactionTimestamp int32) *ListConfirmedTokensTransfersByAddressAndTimeRangeRI { + this := ListConfirmedTokensTransfersByAddressAndTimeRangeRI{} + this.ContractAddress = contractAddress + this.MinedInBlockHeight = minedInBlockHeight + this.RecipientAddress = recipientAddress + this.SenderAddress = senderAddress + this.TokenDecimals = tokenDecimals + this.TokenName = tokenName + this.TokenSymbol = tokenSymbol + this.TokenType = tokenType + this.TransactionHash = transactionHash + this.TransactionTimestamp = transactionTimestamp + return &this +} + +// NewListConfirmedTokensTransfersByAddressAndTimeRangeRIWithDefaults instantiates a new ListConfirmedTokensTransfersByAddressAndTimeRangeRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTokensTransfersByAddressAndTimeRangeRIWithDefaults() *ListConfirmedTokensTransfersByAddressAndTimeRangeRI { + this := ListConfirmedTokensTransfersByAddressAndTimeRangeRI{} + return &this +} + +// GetContractAddress returns the ContractAddress field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetContractAddress(v string) { + o.ContractAddress = v +} + +// GetMinedInBlockHeight returns the MinedInBlockHeight field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetMinedInBlockHeight() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.MinedInBlockHeight +} + +// GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetMinedInBlockHeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.MinedInBlockHeight, true +} + +// SetMinedInBlockHeight sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetMinedInBlockHeight(v int32) { + o.MinedInBlockHeight = v +} + +// GetRecipientAddress returns the RecipientAddress field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetRecipientAddress() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientAddress +} + +// GetRecipientAddressOk returns a tuple with the RecipientAddress field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetRecipientAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientAddress, true +} + +// SetRecipientAddress sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetRecipientAddress(v string) { + o.RecipientAddress = v +} + +// GetSenderAddress returns the SenderAddress field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetSenderAddress() string { + if o == nil { + var ret string + return ret + } + + return o.SenderAddress +} + +// GetSenderAddressOk returns a tuple with the SenderAddress field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetSenderAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SenderAddress, true +} + +// SetSenderAddress sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetSenderAddress(v string) { + o.SenderAddress = v +} + +// GetTokenDecimals returns the TokenDecimals field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenDecimals() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.TokenDecimals +} + +// GetTokenDecimalsOk returns a tuple with the TokenDecimals field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenDecimalsOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.TokenDecimals, true +} + +// SetTokenDecimals sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenDecimals(v int32) { + o.TokenDecimals = v +} + +// GetTokenId returns the TokenId field value if set, zero value otherwise. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenId() string { + if o == nil || o.TokenId == nil { + var ret string + return ret + } + return *o.TokenId +} + +// GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenIdOk() (*string, bool) { + if o == nil || o.TokenId == nil { + return nil, false + } + return o.TokenId, true +} + +// HasTokenId returns a boolean if a field has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) HasTokenId() bool { + if o != nil && o.TokenId != nil { + return true + } + + return false +} + +// SetTokenId gets a reference to the given string and assigns it to the TokenId field. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenId(v string) { + o.TokenId = &v +} + +// GetTokenName returns the TokenName field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenName() string { + if o == nil { + var ret string + return ret + } + + return o.TokenName +} + +// GetTokenNameOk returns a tuple with the TokenName field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenName, true +} + +// SetTokenName sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenName(v string) { + o.TokenName = v +} + +// GetTokenSymbol returns the TokenSymbol field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenSymbol() string { + if o == nil { + var ret string + return ret + } + + return o.TokenSymbol +} + +// GetTokenSymbolOk returns a tuple with the TokenSymbol field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenSymbolOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenSymbol, true +} + +// SetTokenSymbol sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenSymbol(v string) { + o.TokenSymbol = v +} + +// GetTokenType returns the TokenType field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenType() string { + if o == nil { + var ret string + return ret + } + + return o.TokenType +} + +// GetTokenTypeOk returns a tuple with the TokenType field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokenTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenType, true +} + +// SetTokenType sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokenType(v string) { + o.TokenType = v +} + +// GetTokensAmount returns the TokensAmount field value if set, zero value otherwise. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokensAmount() string { + if o == nil || o.TokensAmount == nil { + var ret string + return ret + } + return *o.TokensAmount +} + +// GetTokensAmountOk returns a tuple with the TokensAmount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTokensAmountOk() (*string, bool) { + if o == nil || o.TokensAmount == nil { + return nil, false + } + return o.TokensAmount, true +} + +// HasTokensAmount returns a boolean if a field has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) HasTokensAmount() bool { + if o != nil && o.TokensAmount != nil { + return true + } + + return false +} + +// SetTokensAmount gets a reference to the given string and assigns it to the TokensAmount field. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTokensAmount(v string) { + o.TokensAmount = &v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionTimestamp returns the TransactionTimestamp field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTransactionTimestamp() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.TransactionTimestamp +} + +// GetTransactionTimestampOk returns a tuple with the TransactionTimestamp field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) GetTransactionTimestampOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.TransactionTimestamp, true +} + +// SetTransactionTimestamp sets field value +func (o *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) SetTransactionTimestamp(v int32) { + o.TransactionTimestamp = v +} + +func (o ListConfirmedTokensTransfersByAddressAndTimeRangeRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["contractAddress"] = o.ContractAddress + } + if true { + toSerialize["minedInBlockHeight"] = o.MinedInBlockHeight + } + if true { + toSerialize["recipientAddress"] = o.RecipientAddress + } + if true { + toSerialize["senderAddress"] = o.SenderAddress + } + if true { + toSerialize["tokenDecimals"] = o.TokenDecimals + } + if o.TokenId != nil { + toSerialize["tokenId"] = o.TokenId + } + if true { + toSerialize["tokenName"] = o.TokenName + } + if true { + toSerialize["tokenSymbol"] = o.TokenSymbol + } + if true { + toSerialize["tokenType"] = o.TokenType + } + if o.TokensAmount != nil { + toSerialize["tokensAmount"] = o.TokensAmount + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["transactionTimestamp"] = o.TransactionTimestamp + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI struct { + value *ListConfirmedTokensTransfersByAddressAndTimeRangeRI + isSet bool +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI) Get() *ListConfirmedTokensTransfersByAddressAndTimeRangeRI { + return v.value +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI) Set(val *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTokensTransfersByAddressAndTimeRangeRI(val *ListConfirmedTokensTransfersByAddressAndTimeRangeRI) *NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI { + return &NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI{value: val, isSet: true} +} + +func (v NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTokensTransfersByAddressAndTimeRangeRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_tokens_transfers_by_address_e400.go b/model_list_confirmed_tokens_transfers_by_address_e400.go index db95668..279025c 100644 --- a/model_list_confirmed_tokens_transfers_by_address_e400.go +++ b/model_list_confirmed_tokens_transfers_by_address_e400.go @@ -25,17 +25,23 @@ type ListConfirmedTokensTransfersByAddressE400 struct { // InvalidPaginationAsListConfirmedTokensTransfersByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListConfirmedTokensTransfersByAddressE400 func InvalidPaginationAsListConfirmedTokensTransfersByAddressE400(v *InvalidPagination) ListConfirmedTokensTransfersByAddressE400 { - return ListConfirmedTokensTransfersByAddressE400{ InvalidPagination: v} + return ListConfirmedTokensTransfersByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListConfirmedTokensTransfersByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListConfirmedTokensTransfersByAddressE400 func LimitGreaterThanAllowedAsListConfirmedTokensTransfersByAddressE400(v *LimitGreaterThanAllowed) ListConfirmedTokensTransfersByAddressE400 { - return ListConfirmedTokensTransfersByAddressE400{ LimitGreaterThanAllowed: v} + return ListConfirmedTokensTransfersByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListConfirmedTokensTransfersByAddressE400 is a convenience function that returns UriNotFound wrapped in ListConfirmedTokensTransfersByAddressE400 func UriNotFoundAsListConfirmedTokensTransfersByAddressE400(v *UriNotFound) ListConfirmedTokensTransfersByAddressE400 { - return ListConfirmedTokensTransfersByAddressE400{ UriNotFound: v} + return ListConfirmedTokensTransfersByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE400) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE400) UnmarshalJSON(data []byte) } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE400) UnmarshalJSON(data []byte) } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListConfirmedTokensTransfersByAddressE400) MarshalJSON() ([]byte, erro // Get the actual instance func (obj *ListConfirmedTokensTransfersByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_confirmed_tokens_transfers_by_address_e401.go b/model_list_confirmed_tokens_transfers_by_address_e401.go index 0036f3e..c6328b4 100644 --- a/model_list_confirmed_tokens_transfers_by_address_e401.go +++ b/model_list_confirmed_tokens_transfers_by_address_e401.go @@ -24,12 +24,16 @@ type ListConfirmedTokensTransfersByAddressE401 struct { // InvalidApiKeyAsListConfirmedTokensTransfersByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListConfirmedTokensTransfersByAddressE401 func InvalidApiKeyAsListConfirmedTokensTransfersByAddressE401(v *InvalidApiKey) ListConfirmedTokensTransfersByAddressE401 { - return ListConfirmedTokensTransfersByAddressE401{ InvalidApiKey: v} + return ListConfirmedTokensTransfersByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListConfirmedTokensTransfersByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListConfirmedTokensTransfersByAddressE401 func MissingApiKeyAsListConfirmedTokensTransfersByAddressE401(v *MissingApiKey) ListConfirmedTokensTransfersByAddressE401 { - return ListConfirmedTokensTransfersByAddressE401{ MissingApiKey: v} + return ListConfirmedTokensTransfersByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE401) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE401) UnmarshalJSON(data []byte) } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListConfirmedTokensTransfersByAddressE401) MarshalJSON() ([]byte, erro // Get the actual instance func (obj *ListConfirmedTokensTransfersByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_confirmed_tokens_transfers_by_address_e403.go b/model_list_confirmed_tokens_transfers_by_address_e403.go index eddd721..c050bc4 100644 --- a/model_list_confirmed_tokens_transfers_by_address_e403.go +++ b/model_list_confirmed_tokens_transfers_by_address_e403.go @@ -26,22 +26,30 @@ type ListConfirmedTokensTransfersByAddressE403 struct { // BannedIpAddressAsListConfirmedTokensTransfersByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListConfirmedTokensTransfersByAddressE403 func BannedIpAddressAsListConfirmedTokensTransfersByAddressE403(v *BannedIpAddress) ListConfirmedTokensTransfersByAddressE403 { - return ListConfirmedTokensTransfersByAddressE403{ BannedIpAddress: v} + return ListConfirmedTokensTransfersByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListConfirmedTokensTransfersByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListConfirmedTokensTransfersByAddressE403 func EndpointNotAllowedForApiKeyAsListConfirmedTokensTransfersByAddressE403(v *EndpointNotAllowedForApiKey) ListConfirmedTokensTransfersByAddressE403 { - return ListConfirmedTokensTransfersByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListConfirmedTokensTransfersByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListConfirmedTokensTransfersByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListConfirmedTokensTransfersByAddressE403 func EndpointNotAllowedForPlanAsListConfirmedTokensTransfersByAddressE403(v *EndpointNotAllowedForPlan) ListConfirmedTokensTransfersByAddressE403 { - return ListConfirmedTokensTransfersByAddressE403{ EndpointNotAllowedForPlan: v} + return ListConfirmedTokensTransfersByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListConfirmedTokensTransfersByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListConfirmedTokensTransfersByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListConfirmedTokensTransfersByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListConfirmedTokensTransfersByAddressE403 { - return ListConfirmedTokensTransfersByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListConfirmedTokensTransfersByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE403) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListConfirmedTokensTransfersByAddressE403) UnmarshalJSON(data []byte) } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListConfirmedTokensTransfersByAddressE403) MarshalJSON() ([]byte, erro // Get the actual instance func (obj *ListConfirmedTokensTransfersByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_confirmed_tokens_transfers_by_address_r.go b/model_list_confirmed_tokens_transfers_by_address_r.go index 5bff00d..001b83b 100644 --- a/model_list_confirmed_tokens_transfers_by_address_r.go +++ b/model_list_confirmed_tokens_transfers_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListConfirmedTokensTransfersByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListConfirmedTokensTransfersByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListConfirmedTokensTransfersByAddressR) GetData() ListConfirmedTokensTr // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressR) GetDataOk() (*ListConfirmedTokensTransfersByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_confirmed_tokens_transfers_by_address_r_data.go b/model_list_confirmed_tokens_transfers_by_address_r_data.go index e5f0e30..4feebfc 100644 --- a/model_list_confirmed_tokens_transfers_by_address_r_data.go +++ b/model_list_confirmed_tokens_transfers_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListConfirmedTokensTransfersByAddressRData struct for ListConfirmedTokensTransfersByAddressRData type ListConfirmedTokensTransfersByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListConfirmedTokensTransfersByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListConfirmedTokensTransfersByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTokensTransfersByAddressRData(offset int32, limit int32, total int32, items []ListConfirmedTokensTransfersByAddressRI) *ListConfirmedTokensTransfersByAddressRData { +func NewListConfirmedTokensTransfersByAddressRData(limit int32, offset int32, total int32, items []ListConfirmedTokensTransfersByAddressRI) *ListConfirmedTokensTransfersByAddressRData { this := ListConfirmedTokensTransfersByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListConfirmedTokensTransfersByAddressRDataWithDefaults() *ListConfirmedT return &this } -// GetOffset returns the Offset field value -func (o *ListConfirmedTokensTransfersByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListConfirmedTokensTransfersByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTokensTransfersByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTokensTransfersByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListConfirmedTokensTransfersByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListConfirmedTokensTransfersByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListConfirmedTokensTransfersByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListConfirmedTokensTransfersByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTokensTransfersByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTokensTransfersByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListConfirmedTokensTransfersByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListConfirmedTokensTransfersByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListConfirmedTokensTransfersByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListConfirmedTokensTransfersByAddressRData) GetItems() []ListConfirmedT // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTokensTransfersByAddressRData) GetItemsOk() (*[]ListConfirmedTokensTransfersByAddressRI, bool) { - if o == nil { +func (o *ListConfirmedTokensTransfersByAddressRData) GetItemsOk() ([]ListConfirmedTokensTransfersByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListConfirmedTokensTransfersByAddressRData) SetItems(v []ListConfirmedT func (o ListConfirmedTokensTransfersByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_confirmed_tokens_transfers_by_address_ri.go b/model_list_confirmed_tokens_transfers_by_address_ri.go index ecc750f..5f9c5d7 100644 --- a/model_list_confirmed_tokens_transfers_by_address_ri.go +++ b/model_list_confirmed_tokens_transfers_by_address_ri.go @@ -41,13 +41,14 @@ type ListConfirmedTokensTransfersByAddressRI struct { TransactionHash string `json:"transactionHash"` // Defines the specific time/date when the transaction was created in Unix Timestamp. TransactionTimestamp int32 `json:"transactionTimestamp"` + TransactionFee ListTokensTransfersByTransactionHashRITransactionFee `json:"transactionFee"` } // NewListConfirmedTokensTransfersByAddressRI instantiates a new ListConfirmedTokensTransfersByAddressRI object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTokensTransfersByAddressRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, transactionHash string, transactionTimestamp int32) *ListConfirmedTokensTransfersByAddressRI { +func NewListConfirmedTokensTransfersByAddressRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, transactionHash string, transactionTimestamp int32, transactionFee ListTokensTransfersByTransactionHashRITransactionFee) *ListConfirmedTokensTransfersByAddressRI { this := ListConfirmedTokensTransfersByAddressRI{} this.ContractAddress = contractAddress this.MinedInBlockHeight = minedInBlockHeight @@ -59,6 +60,7 @@ func NewListConfirmedTokensTransfersByAddressRI(contractAddress string, minedInB this.TokenType = tokenType this.TransactionHash = transactionHash this.TransactionTimestamp = transactionTimestamp + this.TransactionFee = transactionFee return &this } @@ -83,7 +85,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true @@ -107,7 +109,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetMinedInBlockHeight() int32 // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -131,7 +133,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetRecipientAddress() string { // GetRecipientAddressOk returns a tuple with the RecipientAddress field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetRecipientAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RecipientAddress, true @@ -155,7 +157,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetSenderAddress() string { // GetSenderAddressOk returns a tuple with the SenderAddress field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetSenderAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SenderAddress, true @@ -179,7 +181,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetTokenDecimals() int32 { // GetTokenDecimalsOk returns a tuple with the TokenDecimals field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetTokenDecimalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenDecimals, true @@ -235,7 +237,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetTokenName() string { // GetTokenNameOk returns a tuple with the TokenName field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetTokenNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenName, true @@ -259,7 +261,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetTokenSymbol() string { // GetTokenSymbolOk returns a tuple with the TokenSymbol field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetTokenSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenSymbol, true @@ -283,7 +285,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetTokenType() string { // GetTokenTypeOk returns a tuple with the TokenType field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetTokenTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenType, true @@ -339,7 +341,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -363,7 +365,7 @@ func (o *ListConfirmedTokensTransfersByAddressRI) GetTransactionTimestamp() int3 // GetTransactionTimestampOk returns a tuple with the TransactionTimestamp field value // and a boolean to check if the value has been set. func (o *ListConfirmedTokensTransfersByAddressRI) GetTransactionTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionTimestamp, true @@ -374,6 +376,30 @@ func (o *ListConfirmedTokensTransfersByAddressRI) SetTransactionTimestamp(v int3 o.TransactionTimestamp = v } +// GetTransactionFee returns the TransactionFee field value +func (o *ListConfirmedTokensTransfersByAddressRI) GetTransactionFee() ListTokensTransfersByTransactionHashRITransactionFee { + if o == nil { + var ret ListTokensTransfersByTransactionHashRITransactionFee + return ret + } + + return o.TransactionFee +} + +// GetTransactionFeeOk returns a tuple with the TransactionFee field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTokensTransfersByAddressRI) GetTransactionFeeOk() (*ListTokensTransfersByTransactionHashRITransactionFee, bool) { + if o == nil { + return nil, false + } + return &o.TransactionFee, true +} + +// SetTransactionFee sets field value +func (o *ListConfirmedTokensTransfersByAddressRI) SetTransactionFee(v ListTokensTransfersByTransactionHashRITransactionFee) { + o.TransactionFee = v +} + func (o ListConfirmedTokensTransfersByAddressRI) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { @@ -412,6 +438,9 @@ func (o ListConfirmedTokensTransfersByAddressRI) MarshalJSON() ([]byte, error) { if true { toSerialize["transactionTimestamp"] = o.TransactionTimestamp } + if true { + toSerialize["transactionFee"] = o.TransactionFee + } return json.Marshal(toSerialize) } diff --git a/model_list_confirmed_transactions_by_address_and_time_range_e400.go b/model_list_confirmed_transactions_by_address_and_time_range_e400.go new file mode 100644 index 0000000..51c8fcf --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeE400 - struct for ListConfirmedTransactionsByAddressAndTimeRangeE400 +type ListConfirmedTransactionsByAddressAndTimeRangeE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsListConfirmedTransactionsByAddressAndTimeRangeE400 is a convenience function that returns InvalidPagination wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE400 +func InvalidPaginationAsListConfirmedTransactionsByAddressAndTimeRangeE400(v *InvalidPagination) ListConfirmedTransactionsByAddressAndTimeRangeE400 { + return ListConfirmedTransactionsByAddressAndTimeRangeE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsListConfirmedTransactionsByAddressAndTimeRangeE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE400 +func LimitGreaterThanAllowedAsListConfirmedTransactionsByAddressAndTimeRangeE400(v *LimitGreaterThanAllowed) ListConfirmedTransactionsByAddressAndTimeRangeE400 { + return ListConfirmedTransactionsByAddressAndTimeRangeE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsListConfirmedTransactionsByAddressAndTimeRangeE400 is a convenience function that returns UriNotFound wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE400 +func UriNotFoundAsListConfirmedTransactionsByAddressAndTimeRangeE400(v *UriNotFound) ListConfirmedTransactionsByAddressAndTimeRangeE400 { + return ListConfirmedTransactionsByAddressAndTimeRangeE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListConfirmedTransactionsByAddressAndTimeRangeE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListConfirmedTransactionsByAddressAndTimeRangeE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListConfirmedTransactionsByAddressAndTimeRangeE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListConfirmedTransactionsByAddressAndTimeRangeE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListConfirmedTransactionsByAddressAndTimeRangeE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeE400 struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeE400 + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE400) Get() *ListConfirmedTransactionsByAddressAndTimeRangeE400 { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE400) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeE400) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE400) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeE400(val *ListConfirmedTransactionsByAddressAndTimeRangeE400) *NullableListConfirmedTransactionsByAddressAndTimeRangeE400 { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeE400{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_e401.go b/model_list_confirmed_transactions_by_address_and_time_range_e401.go new file mode 100644 index 0000000..e494d03 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeE401 - struct for ListConfirmedTransactionsByAddressAndTimeRangeE401 +type ListConfirmedTransactionsByAddressAndTimeRangeE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsListConfirmedTransactionsByAddressAndTimeRangeE401 is a convenience function that returns InvalidApiKey wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE401 +func InvalidApiKeyAsListConfirmedTransactionsByAddressAndTimeRangeE401(v *InvalidApiKey) ListConfirmedTransactionsByAddressAndTimeRangeE401 { + return ListConfirmedTransactionsByAddressAndTimeRangeE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsListConfirmedTransactionsByAddressAndTimeRangeE401 is a convenience function that returns MissingApiKey wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE401 +func MissingApiKeyAsListConfirmedTransactionsByAddressAndTimeRangeE401(v *MissingApiKey) ListConfirmedTransactionsByAddressAndTimeRangeE401 { + return ListConfirmedTransactionsByAddressAndTimeRangeE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListConfirmedTransactionsByAddressAndTimeRangeE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListConfirmedTransactionsByAddressAndTimeRangeE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListConfirmedTransactionsByAddressAndTimeRangeE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListConfirmedTransactionsByAddressAndTimeRangeE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListConfirmedTransactionsByAddressAndTimeRangeE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeE401 struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeE401 + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE401) Get() *ListConfirmedTransactionsByAddressAndTimeRangeE401 { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE401) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeE401) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE401) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeE401(val *ListConfirmedTransactionsByAddressAndTimeRangeE401) *NullableListConfirmedTransactionsByAddressAndTimeRangeE401 { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeE401{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_e403.go b/model_list_confirmed_transactions_by_address_and_time_range_e403.go new file mode 100644 index 0000000..450a665 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeE403 - struct for ListConfirmedTransactionsByAddressAndTimeRangeE403 +type ListConfirmedTransactionsByAddressAndTimeRangeE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsListConfirmedTransactionsByAddressAndTimeRangeE403 is a convenience function that returns BannedIpAddress wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE403 +func BannedIpAddressAsListConfirmedTransactionsByAddressAndTimeRangeE403(v *BannedIpAddress) ListConfirmedTransactionsByAddressAndTimeRangeE403 { + return ListConfirmedTransactionsByAddressAndTimeRangeE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsListConfirmedTransactionsByAddressAndTimeRangeE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE403 +func EndpointNotAllowedForApiKeyAsListConfirmedTransactionsByAddressAndTimeRangeE403(v *EndpointNotAllowedForApiKey) ListConfirmedTransactionsByAddressAndTimeRangeE403 { + return ListConfirmedTransactionsByAddressAndTimeRangeE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsListConfirmedTransactionsByAddressAndTimeRangeE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE403 +func EndpointNotAllowedForPlanAsListConfirmedTransactionsByAddressAndTimeRangeE403(v *EndpointNotAllowedForPlan) ListConfirmedTransactionsByAddressAndTimeRangeE403 { + return ListConfirmedTransactionsByAddressAndTimeRangeE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsListConfirmedTransactionsByAddressAndTimeRangeE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListConfirmedTransactionsByAddressAndTimeRangeE403 +func FeatureMainnetsNotAllowedForPlanAsListConfirmedTransactionsByAddressAndTimeRangeE403(v *FeatureMainnetsNotAllowedForPlan) ListConfirmedTransactionsByAddressAndTimeRangeE403 { + return ListConfirmedTransactionsByAddressAndTimeRangeE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListConfirmedTransactionsByAddressAndTimeRangeE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListConfirmedTransactionsByAddressAndTimeRangeE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListConfirmedTransactionsByAddressAndTimeRangeE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListConfirmedTransactionsByAddressAndTimeRangeE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListConfirmedTransactionsByAddressAndTimeRangeE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeE403 struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeE403 + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE403) Get() *ListConfirmedTransactionsByAddressAndTimeRangeE403 { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE403) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeE403) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE403) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeE403(val *ListConfirmedTransactionsByAddressAndTimeRangeE403) *NullableListConfirmedTransactionsByAddressAndTimeRangeE403 { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeE403{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_r.go b/model_list_confirmed_transactions_by_address_and_time_range_r.go new file mode 100644 index 0000000..bfc0da8 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeR struct for ListConfirmedTransactionsByAddressAndTimeRangeR +type ListConfirmedTransactionsByAddressAndTimeRangeR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data ListConfirmedTransactionsByAddressAndTimeRangeRData `json:"data"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeR instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeR(apiVersion string, requestId string, data ListConfirmedTransactionsByAddressAndTimeRangeRData) *ListConfirmedTransactionsByAddressAndTimeRangeR { + this := ListConfirmedTransactionsByAddressAndTimeRangeR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeR { + this := ListConfirmedTransactionsByAddressAndTimeRangeR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetData() ListConfirmedTransactionsByAddressAndTimeRangeRData { + if o == nil { + var ret ListConfirmedTransactionsByAddressAndTimeRangeRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) GetDataOk() (*ListConfirmedTransactionsByAddressAndTimeRangeRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeR) SetData(v ListConfirmedTransactionsByAddressAndTimeRangeRData) { + o.Data = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeR struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeR + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeR) Get() *ListConfirmedTransactionsByAddressAndTimeRangeR { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeR) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeR) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeR) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeR(val *ListConfirmedTransactionsByAddressAndTimeRangeR) *NullableListConfirmedTransactionsByAddressAndTimeRangeR { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeR{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_r_data.go b/model_list_confirmed_transactions_by_address_and_time_range_r_data.go new file mode 100644 index 0000000..3cdb832 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_r_data.go @@ -0,0 +1,199 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRData struct for ListConfirmedTransactionsByAddressAndTimeRangeRData +type ListConfirmedTransactionsByAddressAndTimeRangeRData struct { + // Defines how many items should be returned in the response per page basis. + Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` + // Defines the total number of items returned in the response. + Total int32 `json:"total"` + Items []ListConfirmedTransactionsByAddressAndTimeRangeRI `json:"items"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRData instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRData(limit int32, offset int32, total int32, items []ListConfirmedTransactionsByAddressAndTimeRangeRI) *ListConfirmedTransactionsByAddressAndTimeRangeRData { + this := ListConfirmedTransactionsByAddressAndTimeRangeRData{} + this.Limit = limit + this.Offset = offset + this.Total = total + this.Items = items + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRDataWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRDataWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRData { + this := ListConfirmedTransactionsByAddressAndTimeRangeRData{} + return &this +} + +// GetLimit returns the Limit field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Limit, true +} + +// SetLimit sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) SetLimit(v int32) { + o.Limit = v +} + +// GetOffset returns the Offset field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetOffset() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Offset +} + +// GetOffsetOk returns a tuple with the Offset field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetOffsetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Offset, true +} + +// SetOffset sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) SetOffset(v int32) { + o.Offset = v +} + +// GetTotal returns the Total field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetTotal() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetTotalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) SetTotal(v int32) { + o.Total = v +} + +// GetItems returns the Items field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetItems() []ListConfirmedTransactionsByAddressAndTimeRangeRI { + if o == nil { + var ret []ListConfirmedTransactionsByAddressAndTimeRangeRI + return ret + } + + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) GetItemsOk() ([]ListConfirmedTransactionsByAddressAndTimeRangeRI, bool) { + if o == nil { + return nil, false + } + return o.Items, true +} + +// SetItems sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRData) SetItems(v []ListConfirmedTransactionsByAddressAndTimeRangeRI) { + o.Items = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["limit"] = o.Limit + } + if true { + toSerialize["offset"] = o.Offset + } + if true { + toSerialize["total"] = o.Total + } + if true { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRData struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRData + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRData) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRData { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRData) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRData) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRData) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRData(val *ListConfirmedTransactionsByAddressAndTimeRangeRData) *NullableListConfirmedTransactionsByAddressAndTimeRangeRData { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRData{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ri.go b/model_list_confirmed_transactions_by_address_and_time_range_ri.go new file mode 100644 index 0000000..af0d079 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ri.go @@ -0,0 +1,392 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRI struct for ListConfirmedTransactionsByAddressAndTimeRangeRI +type ListConfirmedTransactionsByAddressAndTimeRangeRI struct { + // Represents the index position of the transaction in the block. + Index int32 `json:"index"` + // Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. + MinedInBlockHash *string `json:"minedInBlockHash,omitempty"` + // Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. + MinedInBlockHeight *int32 `json:"minedInBlockHeight,omitempty"` + // Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. + Recipients []GetTransactionDetailsByTransactionIDRIRecipients `json:"recipients"` + // Represents a list of sender addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. + Senders []GetTransactionDetailsByTransactionIDRISenders `json:"senders"` + // Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. + Timestamp int32 `json:"timestamp"` + // Represents the same as `transactionId` for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` for SegWit transactions. + TransactionHash string `json:"transactionHash"` + // Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. + TransactionId string `json:"transactionId"` + Fee ListConfirmedTransactionsByAddressRIFee `json:"fee"` + BlockchainSpecific ListConfirmedTransactionsByAddressAndTimeRangeRIBS `json:"blockchainSpecific"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRI instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRI(index int32, recipients []GetTransactionDetailsByTransactionIDRIRecipients, senders []GetTransactionDetailsByTransactionIDRISenders, timestamp int32, transactionHash string, transactionId string, fee ListConfirmedTransactionsByAddressRIFee, blockchainSpecific ListConfirmedTransactionsByAddressAndTimeRangeRIBS) *ListConfirmedTransactionsByAddressAndTimeRangeRI { + this := ListConfirmedTransactionsByAddressAndTimeRangeRI{} + this.Index = index + this.Recipients = recipients + this.Senders = senders + this.Timestamp = timestamp + this.TransactionHash = transactionHash + this.TransactionId = transactionId + this.Fee = fee + this.BlockchainSpecific = blockchainSpecific + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRI { + this := ListConfirmedTransactionsByAddressAndTimeRangeRI{} + return &this +} + +// GetIndex returns the Index field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetIndex() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Index +} + +// GetIndexOk returns a tuple with the Index field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Index, true +} + +// SetIndex sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetIndex(v int32) { + o.Index = v +} + +// GetMinedInBlockHash returns the MinedInBlockHash field value if set, zero value otherwise. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHash() string { + if o == nil || o.MinedInBlockHash == nil { + var ret string + return ret + } + return *o.MinedInBlockHash +} + +// GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHashOk() (*string, bool) { + if o == nil || o.MinedInBlockHash == nil { + return nil, false + } + return o.MinedInBlockHash, true +} + +// HasMinedInBlockHash returns a boolean if a field has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) HasMinedInBlockHash() bool { + if o != nil && o.MinedInBlockHash != nil { + return true + } + + return false +} + +// SetMinedInBlockHash gets a reference to the given string and assigns it to the MinedInBlockHash field. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHash(v string) { + o.MinedInBlockHash = &v +} + +// GetMinedInBlockHeight returns the MinedInBlockHeight field value if set, zero value otherwise. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeight() int32 { + if o == nil || o.MinedInBlockHeight == nil { + var ret int32 + return ret + } + return *o.MinedInBlockHeight +} + +// GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeightOk() (*int32, bool) { + if o == nil || o.MinedInBlockHeight == nil { + return nil, false + } + return o.MinedInBlockHeight, true +} + +// HasMinedInBlockHeight returns a boolean if a field has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) HasMinedInBlockHeight() bool { + if o != nil && o.MinedInBlockHeight != nil { + return true + } + + return false +} + +// SetMinedInBlockHeight gets a reference to the given int32 and assigns it to the MinedInBlockHeight field. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHeight(v int32) { + o.MinedInBlockHeight = &v +} + +// GetRecipients returns the Recipients field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetRecipients() []GetTransactionDetailsByTransactionIDRIRecipients { + if o == nil { + var ret []GetTransactionDetailsByTransactionIDRIRecipients + return ret + } + + return o.Recipients +} + +// GetRecipientsOk returns a tuple with the Recipients field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetRecipientsOk() ([]GetTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { + return nil, false + } + return o.Recipients, true +} + +// SetRecipients sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetRecipients(v []GetTransactionDetailsByTransactionIDRIRecipients) { + o.Recipients = v +} + +// GetSenders returns the Senders field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetSenders() []GetTransactionDetailsByTransactionIDRISenders { + if o == nil { + var ret []GetTransactionDetailsByTransactionIDRISenders + return ret + } + + return o.Senders +} + +// GetSendersOk returns a tuple with the Senders field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetSendersOk() ([]GetTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { + return nil, false + } + return o.Senders, true +} + +// SetSenders sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetSenders(v []GetTransactionDetailsByTransactionIDRISenders) { + o.Senders = v +} + +// GetTimestamp returns the Timestamp field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTimestamp() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTimestampOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Timestamp, true +} + +// SetTimestamp sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetTimestamp(v int32) { + o.Timestamp = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionId returns the TransactionId field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTransactionId() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetTransactionIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionId, true +} + +// SetTransactionId sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetTransactionId(v string) { + o.TransactionId = v +} + +// GetFee returns the Fee field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetFee() ListConfirmedTransactionsByAddressRIFee { + if o == nil { + var ret ListConfirmedTransactionsByAddressRIFee + return ret + } + + return o.Fee +} + +// GetFeeOk returns a tuple with the Fee field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetFeeOk() (*ListConfirmedTransactionsByAddressRIFee, bool) { + if o == nil { + return nil, false + } + return &o.Fee, true +} + +// SetFee sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetFee(v ListConfirmedTransactionsByAddressRIFee) { + o.Fee = v +} + +// GetBlockchainSpecific returns the BlockchainSpecific field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetBlockchainSpecific() ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + if o == nil { + var ret ListConfirmedTransactionsByAddressAndTimeRangeRIBS + return ret + } + + return o.BlockchainSpecific +} + +// GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) GetBlockchainSpecificOk() (*ListConfirmedTransactionsByAddressAndTimeRangeRIBS, bool) { + if o == nil { + return nil, false + } + return &o.BlockchainSpecific, true +} + +// SetBlockchainSpecific sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRI) SetBlockchainSpecific(v ListConfirmedTransactionsByAddressAndTimeRangeRIBS) { + o.BlockchainSpecific = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["index"] = o.Index + } + if o.MinedInBlockHash != nil { + toSerialize["minedInBlockHash"] = o.MinedInBlockHash + } + if o.MinedInBlockHeight != nil { + toSerialize["minedInBlockHeight"] = o.MinedInBlockHeight + } + if true { + toSerialize["recipients"] = o.Recipients + } + if true { + toSerialize["senders"] = o.Senders + } + if true { + toSerialize["timestamp"] = o.Timestamp + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["transactionId"] = o.TransactionId + } + if true { + toSerialize["fee"] = o.Fee + } + if true { + toSerialize["blockchainSpecific"] = o.BlockchainSpecific + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRI struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRI + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRI) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRI { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRI) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRI) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRI) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRI(val *ListConfirmedTransactionsByAddressAndTimeRangeRI) *NullableListConfirmedTransactionsByAddressAndTimeRangeRI { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRI{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribs.go b/model_list_confirmed_transactions_by_address_and_time_range_ribs.go new file mode 100644 index 0000000..48caec2 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribs.go @@ -0,0 +1,359 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBS - struct for ListConfirmedTransactionsByAddressAndTimeRangeRIBS +type ListConfirmedTransactionsByAddressAndTimeRangeRIBS struct { + ListConfirmedTransactionsByAddressAndTimeRangeRIBSB *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB + ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC + ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC + ListConfirmedTransactionsByAddressAndTimeRangeRIBSD *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD + ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 + ListConfirmedTransactionsByAddressAndTimeRangeRIBSE *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE + ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC + ListConfirmedTransactionsByAddressAndTimeRangeRIBSL *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL + ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSBAsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSB wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSBAsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSB: v, + } +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSBCAsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSBCAsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC: v, + } +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSCAsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSCAsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC: v, + } +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSDAsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSD wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSDAsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSD: v, + } +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2AsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2AsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2: v, + } +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSEAsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSE wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSEAsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSE: v, + } +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSECAsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSECAsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC: v, + } +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSLAsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSL wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSLAsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSL: v, + } +} + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSZAsListConfirmedTransactionsByAddressAndTimeRangeRIBS is a convenience function that returns ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ wrapped in ListConfirmedTransactionsByAddressAndTimeRangeRIBS +func ListConfirmedTransactionsByAddressAndTimeRangeRIBSZAsListConfirmedTransactionsByAddressAndTimeRangeRIBS(v *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return ListConfirmedTransactionsByAddressAndTimeRangeRIBS{ + ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSB + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSB, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSB) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB = nil + } + + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSBC, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC = nil + } + + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC = nil + } + + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSD + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSD, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSD) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD = nil + } + + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSD2, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 = nil + } + + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSE + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSE, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSE) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE = nil + } + + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSEC, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC = nil + } + + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSL + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSL, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSL) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL = nil + } + + // try to unmarshal data into ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) + if err == nil { + jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSZ, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) + if string(jsonListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) == "{}" { // empty struct + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ = nil + } else { + match++ + } + } else { + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB = nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC = nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC = nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD = nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 = nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE = nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC = nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL = nil + dst.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListConfirmedTransactionsByAddressAndTimeRangeRIBS)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListConfirmedTransactionsByAddressAndTimeRangeRIBS)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListConfirmedTransactionsByAddressAndTimeRangeRIBS) MarshalJSON() ([]byte, error) { + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) + } + + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) + } + + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) + } + + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) + } + + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) + } + + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) + } + + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) + } + + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) + } + + if src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ != nil { + return json.Marshal(&src.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSB + } + + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC + } + + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC + } + + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD + } + + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 + } + + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSE + } + + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC + } + + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSL + } + + if obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ != nil { + return obj.ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ + } + + // all schemas are nil + return nil +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBS + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBS(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBS) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBS) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribsb.go b/model_list_confirmed_transactions_by_address_and_time_range_ribsb.go new file mode 100644 index 0000000..4c153a4 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribsb.go @@ -0,0 +1,260 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSB Bitcoin +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSB struct { + // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. + Locktime int64 `json:"locktime"` + // Represents the total size of this transaction. + Size int32 `json:"size"` + // Defines the transaction's virtual size. + VSize int32 `json:"vSize"` + // Defines the version of the transaction. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []ListConfirmedTransactionsByAddressRIBSBVin `json:"vin"` + // Represents the transaction outputs. + Vout []ListConfirmedTransactionsByAddressRIBSBVout `json:"vout"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSB instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSB object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBVin, vout []ListConfirmedTransactionsByAddressRIBSBVout) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSB{} + this.Locktime = locktime + this.Size = size + this.VSize = vSize + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSB object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSB{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetLocktime() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetLocktime(v int64) { + o.Locktime = v +} + +// GetSize returns the Size field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetSize(v int32) { + o.Size = v +} + +// GetVSize returns the VSize field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.VSize +} + +// GetVSizeOk returns a tuple with the VSize field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.VSize, true +} + +// SetVSize sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetVSize(v int32) { + o.VSize = v +} + +// GetVersion returns the Version field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVin() []ListConfirmedTransactionsByAddressRIBSBVin { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSBVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSBVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetVin(v []ListConfirmedTransactionsByAddressRIBSBVin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVout() []ListConfirmedTransactionsByAddressRIBSBVout { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSBVout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) GetVoutOk() ([]ListConfirmedTransactionsByAddressRIBSBVout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) SetVout(v []ListConfirmedTransactionsByAddressRIBSBVout) { + o.Vout = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["size"] = o.Size + } + if true { + toSerialize["vSize"] = o.VSize + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSB) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSB) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribsbc.go b/model_list_confirmed_transactions_by_address_and_time_range_ribsbc.go new file mode 100644 index 0000000..b9f31be --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribsbc.go @@ -0,0 +1,237 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC Bitcoin Cash +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC struct { + // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. + Locktime int64 `json:"locktime"` + // Represents the total size of this transaction. + Size int32 `json:"size"` + // Represents the transaction's version number. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []ListConfirmedTransactionsByAddressRIBSBCVin `json:"vin"` + // Represents the transaction outputs. + Vout []GetTransactionDetailsByTransactionIDRIBSBCVout `json:"vout,omitempty"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBC instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBC(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBCVin) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC{} + this.Locktime = locktime + this.Size = size + this.Version = version + this.Vin = vin + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBCWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBCWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetLocktime() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetLocktime(v int64) { + o.Locktime = v +} + +// GetSize returns the Size field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetSize(v int32) { + o.Size = v +} + +// GetVersion returns the Version field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVin() []ListConfirmedTransactionsByAddressRIBSBCVin { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSBCVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSBCVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetVin(v []ListConfirmedTransactionsByAddressRIBSBCVin) { + o.Vin = v +} + +// GetVout returns the Vout field value if set, zero value otherwise. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVout() []GetTransactionDetailsByTransactionIDRIBSBCVout { + if o == nil || o.Vout == nil { + var ret []GetTransactionDetailsByTransactionIDRIBSBCVout + return ret + } + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSBCVout, bool) { + if o == nil || o.Vout == nil { + return nil, false + } + return o.Vout, true +} + +// HasVout returns a boolean if a field has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) HasVout() bool { + if o != nil && o.Vout != nil { + return true + } + + return false +} + +// SetVout gets a reference to the given []GetTransactionDetailsByTransactionIDRIBSBCVout and assigns it to the Vout field. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) SetVout(v []GetTransactionDetailsByTransactionIDRIBSBCVout) { + o.Vout = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["size"] = o.Size + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if o.Vout != nil { + toSerialize["vout"] = o.Vout + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBC) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribsbsc.go b/model_list_confirmed_transactions_by_address_and_time_range_ribsbsc.go new file mode 100644 index 0000000..441d7a4 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribsbsc.go @@ -0,0 +1,296 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC Binance Smart Chain +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC struct { + // Represents the specific transaction contract. + Contract *string `json:"contract,omitempty"` + // Represents the amount of gas used by this specific transaction alone. + GasLimit string `json:"gasLimit"` + GasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice `json:"gasPrice"` + // Represents the exact unit of gas that was used for the transaction. + GasUsed string `json:"gasUsed"` + // Represents additional information that is required for the transaction. + InputData string `json:"inputData"` + // Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. + Nonce int32 `json:"nonce"` + // String representation of the transaction status + TransactionStatus string `json:"transactionStatus"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC(gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSBSCGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC{} + this.GasLimit = gasLimit + this.GasPrice = gasPrice + this.GasUsed = gasUsed + this.InputData = inputData + this.Nonce = nonce + this.TransactionStatus = transactionStatus + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSCWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSBSCWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC{} + return &this +} + +// GetContract returns the Contract field value if set, zero value otherwise. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetContract() string { + if o == nil || o.Contract == nil { + var ret string + return ret + } + return *o.Contract +} + +// GetContractOk returns a tuple with the Contract field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetContractOk() (*string, bool) { + if o == nil || o.Contract == nil { + return nil, false + } + return o.Contract, true +} + +// HasContract returns a boolean if a field has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) HasContract() bool { + if o != nil && o.Contract != nil { + return true + } + + return false +} + +// SetContract gets a reference to the given string and assigns it to the Contract field. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetContract(v string) { + o.Contract = &v +} + +// GetGasLimit returns the GasLimit field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetGasLimit(v string) { + o.GasLimit = v +} + +// GetGasPrice returns the GasPrice field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasPrice() ListConfirmedTransactionsByAddressRIBSBSCGasPrice { + if o == nil { + var ret ListConfirmedTransactionsByAddressRIBSBSCGasPrice + return ret + } + + return o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSBSCGasPrice, bool) { + if o == nil { + return nil, false + } + return &o.GasPrice, true +} + +// SetGasPrice sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetGasPrice(v ListConfirmedTransactionsByAddressRIBSBSCGasPrice) { + o.GasPrice = v +} + +// GetGasUsed returns the GasUsed field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasUsed() string { + if o == nil { + var ret string + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetGasUsedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetGasUsed(v string) { + o.GasUsed = v +} + +// GetInputData returns the InputData field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetInputData() string { + if o == nil { + var ret string + return ret + } + + return o.InputData +} + +// GetInputDataOk returns a tuple with the InputData field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetInputDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InputData, true +} + +// SetInputData sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetInputData(v string) { + o.InputData = v +} + +// GetNonce returns the Nonce field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetNonce() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetNonceOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetNonce(v int32) { + o.Nonce = v +} + +// GetTransactionStatus returns the TransactionStatus field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetTransactionStatus() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionStatus +} + +// GetTransactionStatusOk returns a tuple with the TransactionStatus field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) GetTransactionStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionStatus, true +} + +// SetTransactionStatus sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) SetTransactionStatus(v string) { + o.TransactionStatus = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Contract != nil { + toSerialize["contract"] = o.Contract + } + if true { + toSerialize["gasLimit"] = o.GasLimit + } + if true { + toSerialize["gasPrice"] = o.GasPrice + } + if true { + toSerialize["gasUsed"] = o.GasUsed + } + if true { + toSerialize["inputData"] = o.InputData + } + if true { + toSerialize["nonce"] = o.Nonce + } + if true { + toSerialize["transactionStatus"] = o.TransactionStatus + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSBSC) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribsd.go b/model_list_confirmed_transactions_by_address_and_time_range_ribsd.go new file mode 100644 index 0000000..1248d33 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribsd.go @@ -0,0 +1,230 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSD Dogecoin +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSD struct { + // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. + Locktime int64 `json:"locktime"` + // Represents the total size of this transaction. + Size int32 `json:"size"` + // Represents the transaction's version number. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []ListConfirmedTransactionsByAddressRIBSDVin `json:"vin"` + // Represents the transaction outputs. + Vout []GetTransactionDetailsByTransactionIDRIBSDVout `json:"vout"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSD object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSD{} + this.Locktime = locktime + this.Size = size + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSDWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSD object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSDWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSD{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetLocktime() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetLocktime(v int64) { + o.Locktime = v +} + +// GetSize returns the Size field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetSize(v int32) { + o.Size = v +} + +// GetVersion returns the Version field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVin() []ListConfirmedTransactionsByAddressRIBSDVin { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSDVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSDVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetVin(v []ListConfirmedTransactionsByAddressRIBSDVin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVout() []GetTransactionDetailsByTransactionIDRIBSDVout { + if o == nil { + var ret []GetTransactionDetailsByTransactionIDRIBSDVout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) SetVout(v []GetTransactionDetailsByTransactionIDRIBSDVout) { + o.Vout = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["size"] = o.Size + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribsd2.go b/model_list_confirmed_transactions_by_address_and_time_range_ribsd2.go new file mode 100644 index 0000000..2a15046 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribsd2.go @@ -0,0 +1,230 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 Dash +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 struct { + // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. + Locktime int64 `json:"locktime"` + // Represents the total size of this transaction. + Size int32 `json:"size"` + // Represents the transaction's version number. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []ListConfirmedTransactionsByAddressRIBSD2Vin `json:"vin"` + // Represents the transaction outputs. + Vout []ListConfirmedTransactionsByAddressRIBSD2Vout `json:"vout"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2{} + this.Locktime = locktime + this.Size = size + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2WithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSD2WithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetLocktime() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetLocktime(v int64) { + o.Locktime = v +} + +// GetSize returns the Size field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetSize(v int32) { + o.Size = v +} + +// GetVersion returns the Version field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVin() []ListConfirmedTransactionsByAddressRIBSD2Vin { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSD2Vin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSD2Vin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetVin(v []ListConfirmedTransactionsByAddressRIBSD2Vin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVout() []ListConfirmedTransactionsByAddressRIBSD2Vout { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSD2Vout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) GetVoutOk() ([]ListConfirmedTransactionsByAddressRIBSD2Vout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) SetVout(v []ListConfirmedTransactionsByAddressRIBSD2Vout) { + o.Vout = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["size"] = o.Size + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2 { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSD2) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribse.go b/model_list_confirmed_transactions_by_address_and_time_range_ribse.go new file mode 100644 index 0000000..46c5e28 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribse.go @@ -0,0 +1,289 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSE Ethereum +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSE struct { + // Represents the specific transaction contract. + Contract string `json:"contract"` + // Represents the amount of gas used by this specific transaction alone. + GasLimit string `json:"gasLimit"` + GasPrice ListConfirmedTransactionsByAddressRIBSEGasPrice `json:"gasPrice"` + // Represents the exact unit of gas that was used for the transaction. + GasUsed string `json:"gasUsed"` + // Represents additional information that is required for the transaction. + InputData string `json:"inputData"` + // Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. + Nonce int32 `json:"nonce"` + // String representation of the transaction status + TransactionStatus string `json:"transactionStatus"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSE instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSE object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSE(contract string, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSEGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSE{} + this.Contract = contract + this.GasLimit = gasLimit + this.GasPrice = gasPrice + this.GasUsed = gasUsed + this.InputData = inputData + this.Nonce = nonce + this.TransactionStatus = transactionStatus + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSE object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSE{} + return &this +} + +// GetContract returns the Contract field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetContract() string { + if o == nil { + var ret string + return ret + } + + return o.Contract +} + +// GetContractOk returns a tuple with the Contract field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetContractOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Contract, true +} + +// SetContract sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetContract(v string) { + o.Contract = v +} + +// GetGasLimit returns the GasLimit field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetGasLimit(v string) { + o.GasLimit = v +} + +// GetGasPrice returns the GasPrice field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasPrice() ListConfirmedTransactionsByAddressRIBSEGasPrice { + if o == nil { + var ret ListConfirmedTransactionsByAddressRIBSEGasPrice + return ret + } + + return o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSEGasPrice, bool) { + if o == nil { + return nil, false + } + return &o.GasPrice, true +} + +// SetGasPrice sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetGasPrice(v ListConfirmedTransactionsByAddressRIBSEGasPrice) { + o.GasPrice = v +} + +// GetGasUsed returns the GasUsed field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasUsed() string { + if o == nil { + var ret string + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetGasUsedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetGasUsed(v string) { + o.GasUsed = v +} + +// GetInputData returns the InputData field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetInputData() string { + if o == nil { + var ret string + return ret + } + + return o.InputData +} + +// GetInputDataOk returns a tuple with the InputData field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetInputDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InputData, true +} + +// SetInputData sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetInputData(v string) { + o.InputData = v +} + +// GetNonce returns the Nonce field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetNonce() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetNonceOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetNonce(v int32) { + o.Nonce = v +} + +// GetTransactionStatus returns the TransactionStatus field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetTransactionStatus() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionStatus +} + +// GetTransactionStatusOk returns a tuple with the TransactionStatus field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) GetTransactionStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionStatus, true +} + +// SetTransactionStatus sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) SetTransactionStatus(v string) { + o.TransactionStatus = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["contract"] = o.Contract + } + if true { + toSerialize["gasLimit"] = o.GasLimit + } + if true { + toSerialize["gasPrice"] = o.GasPrice + } + if true { + toSerialize["gasUsed"] = o.GasUsed + } + if true { + toSerialize["inputData"] = o.InputData + } + if true { + toSerialize["nonce"] = o.Nonce + } + if true { + toSerialize["transactionStatus"] = o.TransactionStatus + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSE) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSE) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribsec.go b/model_list_confirmed_transactions_by_address_and_time_range_ribsec.go new file mode 100644 index 0000000..90335b3 --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribsec.go @@ -0,0 +1,289 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC Ethereum Classic +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC struct { + // Represents the specific transaction contract. + Contract string `json:"contract"` + // Represents the amount of gas used by this specific transaction alone. + GasLimit string `json:"gasLimit"` + GasPrice ListConfirmedTransactionsByAddressRIBSECGasPrice `json:"gasPrice"` + // Represents the exact unit of gas that was used for the transaction. + GasUsed string `json:"gasUsed"` + // Represents additional information that is required for the transaction. + InputData string `json:"inputData"` + // Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address. + Nonce int32 `json:"nonce"` + // String representation of the transaction status + TransactionStatus string `json:"transactionStatus"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEC instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSEC(contract string, gasLimit string, gasPrice ListConfirmedTransactionsByAddressRIBSECGasPrice, gasUsed string, inputData string, nonce int32, transactionStatus string) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC{} + this.Contract = contract + this.GasLimit = gasLimit + this.GasPrice = gasPrice + this.GasUsed = gasUsed + this.InputData = inputData + this.Nonce = nonce + this.TransactionStatus = transactionStatus + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSECWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSECWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC{} + return &this +} + +// GetContract returns the Contract field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetContract() string { + if o == nil { + var ret string + return ret + } + + return o.Contract +} + +// GetContractOk returns a tuple with the Contract field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetContractOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Contract, true +} + +// SetContract sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetContract(v string) { + o.Contract = v +} + +// GetGasLimit returns the GasLimit field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasLimit() string { + if o == nil { + var ret string + return ret + } + + return o.GasLimit +} + +// GetGasLimitOk returns a tuple with the GasLimit field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasLimitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasLimit, true +} + +// SetGasLimit sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetGasLimit(v string) { + o.GasLimit = v +} + +// GetGasPrice returns the GasPrice field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasPrice() ListConfirmedTransactionsByAddressRIBSECGasPrice { + if o == nil { + var ret ListConfirmedTransactionsByAddressRIBSECGasPrice + return ret + } + + return o.GasPrice +} + +// GetGasPriceOk returns a tuple with the GasPrice field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSECGasPrice, bool) { + if o == nil { + return nil, false + } + return &o.GasPrice, true +} + +// SetGasPrice sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetGasPrice(v ListConfirmedTransactionsByAddressRIBSECGasPrice) { + o.GasPrice = v +} + +// GetGasUsed returns the GasUsed field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasUsed() string { + if o == nil { + var ret string + return ret + } + + return o.GasUsed +} + +// GetGasUsedOk returns a tuple with the GasUsed field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetGasUsedOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.GasUsed, true +} + +// SetGasUsed sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetGasUsed(v string) { + o.GasUsed = v +} + +// GetInputData returns the InputData field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetInputData() string { + if o == nil { + var ret string + return ret + } + + return o.InputData +} + +// GetInputDataOk returns a tuple with the InputData field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetInputDataOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InputData, true +} + +// SetInputData sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetInputData(v string) { + o.InputData = v +} + +// GetNonce returns the Nonce field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetNonce() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Nonce +} + +// GetNonceOk returns a tuple with the Nonce field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetNonceOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Nonce, true +} + +// SetNonce sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetNonce(v int32) { + o.Nonce = v +} + +// GetTransactionStatus returns the TransactionStatus field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetTransactionStatus() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionStatus +} + +// GetTransactionStatusOk returns a tuple with the TransactionStatus field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) GetTransactionStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionStatus, true +} + +// SetTransactionStatus sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) SetTransactionStatus(v string) { + o.TransactionStatus = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["contract"] = o.Contract + } + if true { + toSerialize["gasLimit"] = o.GasLimit + } + if true { + toSerialize["gasPrice"] = o.GasPrice + } + if true { + toSerialize["gasUsed"] = o.GasUsed + } + if true { + toSerialize["inputData"] = o.InputData + } + if true { + toSerialize["nonce"] = o.Nonce + } + if true { + toSerialize["transactionStatus"] = o.TransactionStatus + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSEC) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribsl.go b/model_list_confirmed_transactions_by_address_and_time_range_ribsl.go new file mode 100644 index 0000000..a10b11b --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribsl.go @@ -0,0 +1,260 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSL Litecoin +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSL struct { + // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. + Locktime int64 `json:"locktime"` + // Represents the total size of this transaction. + Size int32 `json:"size"` + // Represents the virtual size of this transaction. + VSize int32 `json:"vSize"` + // Represents the transaction's version number. + Version int32 `json:"version"` + // Represents the transaction inputs. + Vin []ListConfirmedTransactionsByAddressRIBSLVin `json:"vin"` + // Represents the transaction outputs. + Vout []GetTransactionDetailsByTransactionIDRIBSLVout `json:"vout"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSL instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSL object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSL{} + this.Locktime = locktime + this.Size = size + this.VSize = vSize + this.Version = version + this.Vin = vin + this.Vout = vout + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSLWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSL object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSLWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSL{} + return &this +} + +// GetLocktime returns the Locktime field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetLocktime() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetLocktime(v int64) { + o.Locktime = v +} + +// GetSize returns the Size field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetSize(v int32) { + o.Size = v +} + +// GetVSize returns the VSize field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.VSize +} + +// GetVSizeOk returns a tuple with the VSize field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.VSize, true +} + +// SetVSize sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetVSize(v int32) { + o.VSize = v +} + +// GetVersion returns the Version field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetVersion(v int32) { + o.Version = v +} + +// GetVin returns the Vin field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVin() []ListConfirmedTransactionsByAddressRIBSLVin { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSLVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSLVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetVin(v []ListConfirmedTransactionsByAddressRIBSLVin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVout() []GetTransactionDetailsByTransactionIDRIBSLVout { + if o == nil { + var ret []GetTransactionDetailsByTransactionIDRIBSLVout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) SetVout(v []GetTransactionDetailsByTransactionIDRIBSLVout) { + o.Vout = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["size"] = o.Size + } + if true { + toSerialize["vSize"] = o.VSize + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSL) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSL) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_and_time_range_ribsz.go b/model_list_confirmed_transactions_by_address_and_time_range_ribsz.go new file mode 100644 index 0000000..b1216df --- /dev/null +++ b/model_list_confirmed_transactions_by_address_and_time_range_ribsz.go @@ -0,0 +1,530 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ Zcash +type ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ struct { + // It is used to enforce balance of Spend and Output transfers, in order to prevent their replay across transactions. + BindingSig string `json:"bindingSig"` + // Represents a block height after which the transaction will expire. + ExpiryHeight int32 `json:"expiryHeight"` + // Represents an encoding of a JoinSplitSig public validating key. + JoinSplitPubKey string `json:"joinSplitPubKey"` + // Is used to sign transactions that contain at least one JoinSplit description. + JoinSplitSig string `json:"joinSplitSig"` + // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. + Locktime int64 `json:"locktime"` + // \"Overwinter\" is the network upgrade for the Zcash blockchain. + Overwintered bool `json:"overwintered"` + // Represents the total size of this transaction. + Size int32 `json:"size"` + // Represents a sequence of JoinSplit descriptions using BCTV14 proofs. + VJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit `json:"vJoinSplit"` + // Object Array representation of transaction output descriptions + VShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput `json:"vShieldedOutput"` + // Object Array representation of transaction spend descriptions + VShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend `json:"vShieldedSpend"` + // Defines the transaction value balance. + ValueBalance string `json:"valueBalance"` + // Defines the version of the transaction. + Version int32 `json:"version"` + // Represents the transaction version group ID. + VersionGroupId string `json:"versionGroupId"` + // Object Array representation of transaction inputs + Vin []ListConfirmedTransactionsByAddressRIBSZVin `json:"vin"` + // Object Array representation of transaction outputs + Vout []GetTransactionDetailsByTransactionIDRIBSZVout `json:"vout"` +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZ instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ{} + this.BindingSig = bindingSig + this.ExpiryHeight = expiryHeight + this.JoinSplitPubKey = joinSplitPubKey + this.JoinSplitSig = joinSplitSig + this.Locktime = locktime + this.Overwintered = overwintered + this.Size = size + this.VJoinSplit = vJoinSplit + this.VShieldedOutput = vShieldedOutput + this.VShieldedSpend = vShieldedSpend + this.ValueBalance = valueBalance + this.Version = version + this.VersionGroupId = versionGroupId + this.Vin = vin + this.Vout = vout + return &this +} + +// NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZWithDefaults instantiates a new ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListConfirmedTransactionsByAddressAndTimeRangeRIBSZWithDefaults() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ { + this := ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ{} + return &this +} + +// GetBindingSig returns the BindingSig field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetBindingSig() string { + if o == nil { + var ret string + return ret + } + + return o.BindingSig +} + +// GetBindingSigOk returns a tuple with the BindingSig field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetBindingSigOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BindingSig, true +} + +// SetBindingSig sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetBindingSig(v string) { + o.BindingSig = v +} + +// GetExpiryHeight returns the ExpiryHeight field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetExpiryHeight() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ExpiryHeight +} + +// GetExpiryHeightOk returns a tuple with the ExpiryHeight field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetExpiryHeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ExpiryHeight, true +} + +// SetExpiryHeight sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetExpiryHeight(v int32) { + o.ExpiryHeight = v +} + +// GetJoinSplitPubKey returns the JoinSplitPubKey field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetJoinSplitPubKey() string { + if o == nil { + var ret string + return ret + } + + return o.JoinSplitPubKey +} + +// GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.JoinSplitPubKey, true +} + +// SetJoinSplitPubKey sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetJoinSplitPubKey(v string) { + o.JoinSplitPubKey = v +} + +// GetJoinSplitSig returns the JoinSplitSig field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetJoinSplitSig() string { + if o == nil { + var ret string + return ret + } + + return o.JoinSplitSig +} + +// GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetJoinSplitSigOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.JoinSplitSig, true +} + +// SetJoinSplitSig sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetJoinSplitSig(v string) { + o.JoinSplitSig = v +} + +// GetLocktime returns the Locktime field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetLocktime() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Locktime +} + +// GetLocktimeOk returns a tuple with the Locktime field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Locktime, true +} + +// SetLocktime sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetLocktime(v int64) { + o.Locktime = v +} + +// GetOverwintered returns the Overwintered field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetOverwintered() bool { + if o == nil { + var ret bool + return ret + } + + return o.Overwintered +} + +// GetOverwinteredOk returns a tuple with the Overwintered field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetOverwinteredOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Overwintered, true +} + +// SetOverwintered sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetOverwintered(v bool) { + o.Overwintered = v +} + +// GetSize returns the Size field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetSize() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Size +} + +// GetSizeOk returns a tuple with the Size field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetSizeOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Size, true +} + +// SetSize sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetSize(v int32) { + o.Size = v +} + +// GetVJoinSplit returns the VJoinSplit field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVJoinSplit() []ListConfirmedTransactionsByAddressRIBSZVJoinSplit { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSZVJoinSplit + return ret + } + + return o.VJoinSplit +} + +// GetVJoinSplitOk returns a tuple with the VJoinSplit field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVJoinSplitOk() ([]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool) { + if o == nil { + return nil, false + } + return o.VJoinSplit, true +} + +// SetVJoinSplit sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVJoinSplit(v []ListConfirmedTransactionsByAddressRIBSZVJoinSplit) { + o.VJoinSplit = v +} + +// GetVShieldedOutput returns the VShieldedOutput field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVShieldedOutput() []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput { + if o == nil { + var ret []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput + return ret + } + + return o.VShieldedOutput +} + +// GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVShieldedOutputOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { + if o == nil { + return nil, false + } + return o.VShieldedOutput, true +} + +// SetVShieldedOutput sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVShieldedOutput(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) { + o.VShieldedOutput = v +} + +// GetVShieldedSpend returns the VShieldedSpend field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVShieldedSpend() []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend { + if o == nil { + var ret []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend + return ret + } + + return o.VShieldedSpend +} + +// GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { + if o == nil { + return nil, false + } + return o.VShieldedSpend, true +} + +// SetVShieldedSpend sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVShieldedSpend(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend) { + o.VShieldedSpend = v +} + +// GetValueBalance returns the ValueBalance field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetValueBalance() string { + if o == nil { + var ret string + return ret + } + + return o.ValueBalance +} + +// GetValueBalanceOk returns a tuple with the ValueBalance field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetValueBalanceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ValueBalance, true +} + +// SetValueBalance sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetValueBalance(v string) { + o.ValueBalance = v +} + +// GetVersion returns the Version field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVersion() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVersionOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVersion(v int32) { + o.Version = v +} + +// GetVersionGroupId returns the VersionGroupId field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVersionGroupId() string { + if o == nil { + var ret string + return ret + } + + return o.VersionGroupId +} + +// GetVersionGroupIdOk returns a tuple with the VersionGroupId field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVersionGroupIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.VersionGroupId, true +} + +// SetVersionGroupId sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVersionGroupId(v string) { + o.VersionGroupId = v +} + +// GetVin returns the Vin field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVin() []ListConfirmedTransactionsByAddressRIBSZVin { + if o == nil { + var ret []ListConfirmedTransactionsByAddressRIBSZVin + return ret + } + + return o.Vin +} + +// GetVinOk returns a tuple with the Vin field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSZVin, bool) { + if o == nil { + return nil, false + } + return o.Vin, true +} + +// SetVin sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVin(v []ListConfirmedTransactionsByAddressRIBSZVin) { + o.Vin = v +} + +// GetVout returns the Vout field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVout() []GetTransactionDetailsByTransactionIDRIBSZVout { + if o == nil { + var ret []GetTransactionDetailsByTransactionIDRIBSZVout + return ret + } + + return o.Vout +} + +// GetVoutOk returns a tuple with the Vout field value +// and a boolean to check if the value has been set. +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { + if o == nil { + return nil, false + } + return o.Vout, true +} + +// SetVout sets field value +func (o *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) SetVout(v []GetTransactionDetailsByTransactionIDRIBSZVout) { + o.Vout = v +} + +func (o ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["bindingSig"] = o.BindingSig + } + if true { + toSerialize["expiryHeight"] = o.ExpiryHeight + } + if true { + toSerialize["joinSplitPubKey"] = o.JoinSplitPubKey + } + if true { + toSerialize["joinSplitSig"] = o.JoinSplitSig + } + if true { + toSerialize["locktime"] = o.Locktime + } + if true { + toSerialize["overwintered"] = o.Overwintered + } + if true { + toSerialize["size"] = o.Size + } + if true { + toSerialize["vJoinSplit"] = o.VJoinSplit + } + if true { + toSerialize["vShieldedOutput"] = o.VShieldedOutput + } + if true { + toSerialize["vShieldedSpend"] = o.VShieldedSpend + } + if true { + toSerialize["valueBalance"] = o.ValueBalance + } + if true { + toSerialize["version"] = o.Version + } + if true { + toSerialize["versionGroupId"] = o.VersionGroupId + } + if true { + toSerialize["vin"] = o.Vin + } + if true { + toSerialize["vout"] = o.Vout + } + return json.Marshal(toSerialize) +} + +type NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ struct { + value *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ + isSet bool +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) Get() *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ { + return v.value +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) Set(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) { + v.value = val + v.isSet = true +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ(val *ListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ { + return &NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ{value: val, isSet: true} +} + +func (v NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfirmedTransactionsByAddressAndTimeRangeRIBSZ) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_confirmed_transactions_by_address_e400.go b/model_list_confirmed_transactions_by_address_e400.go index 46de2c1..e48b247 100644 --- a/model_list_confirmed_transactions_by_address_e400.go +++ b/model_list_confirmed_transactions_by_address_e400.go @@ -25,17 +25,23 @@ type ListConfirmedTransactionsByAddressE400 struct { // InvalidPaginationAsListConfirmedTransactionsByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListConfirmedTransactionsByAddressE400 func InvalidPaginationAsListConfirmedTransactionsByAddressE400(v *InvalidPagination) ListConfirmedTransactionsByAddressE400 { - return ListConfirmedTransactionsByAddressE400{ InvalidPagination: v} + return ListConfirmedTransactionsByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListConfirmedTransactionsByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListConfirmedTransactionsByAddressE400 func LimitGreaterThanAllowedAsListConfirmedTransactionsByAddressE400(v *LimitGreaterThanAllowed) ListConfirmedTransactionsByAddressE400 { - return ListConfirmedTransactionsByAddressE400{ LimitGreaterThanAllowed: v} + return ListConfirmedTransactionsByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListConfirmedTransactionsByAddressE400 is a convenience function that returns UriNotFound wrapped in ListConfirmedTransactionsByAddressE400 func UriNotFoundAsListConfirmedTransactionsByAddressE400(v *UriNotFound) ListConfirmedTransactionsByAddressE400 { - return ListConfirmedTransactionsByAddressE400{ UriNotFound: v} + return ListConfirmedTransactionsByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListConfirmedTransactionsByAddressE400) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListConfirmedTransactionsByAddressE400) UnmarshalJSON(data []byte) er } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListConfirmedTransactionsByAddressE400) UnmarshalJSON(data []byte) er } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListConfirmedTransactionsByAddressE400) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListConfirmedTransactionsByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_confirmed_transactions_by_address_e401.go b/model_list_confirmed_transactions_by_address_e401.go index ce0e1a0..6736740 100644 --- a/model_list_confirmed_transactions_by_address_e401.go +++ b/model_list_confirmed_transactions_by_address_e401.go @@ -24,12 +24,16 @@ type ListConfirmedTransactionsByAddressE401 struct { // InvalidApiKeyAsListConfirmedTransactionsByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListConfirmedTransactionsByAddressE401 func InvalidApiKeyAsListConfirmedTransactionsByAddressE401(v *InvalidApiKey) ListConfirmedTransactionsByAddressE401 { - return ListConfirmedTransactionsByAddressE401{ InvalidApiKey: v} + return ListConfirmedTransactionsByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListConfirmedTransactionsByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListConfirmedTransactionsByAddressE401 func MissingApiKeyAsListConfirmedTransactionsByAddressE401(v *MissingApiKey) ListConfirmedTransactionsByAddressE401 { - return ListConfirmedTransactionsByAddressE401{ MissingApiKey: v} + return ListConfirmedTransactionsByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListConfirmedTransactionsByAddressE401) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListConfirmedTransactionsByAddressE401) UnmarshalJSON(data []byte) er } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListConfirmedTransactionsByAddressE401) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListConfirmedTransactionsByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_confirmed_transactions_by_address_e403.go b/model_list_confirmed_transactions_by_address_e403.go index 9a30130..3daf050 100644 --- a/model_list_confirmed_transactions_by_address_e403.go +++ b/model_list_confirmed_transactions_by_address_e403.go @@ -26,22 +26,30 @@ type ListConfirmedTransactionsByAddressE403 struct { // BannedIpAddressAsListConfirmedTransactionsByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListConfirmedTransactionsByAddressE403 func BannedIpAddressAsListConfirmedTransactionsByAddressE403(v *BannedIpAddress) ListConfirmedTransactionsByAddressE403 { - return ListConfirmedTransactionsByAddressE403{ BannedIpAddress: v} + return ListConfirmedTransactionsByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListConfirmedTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListConfirmedTransactionsByAddressE403 func EndpointNotAllowedForApiKeyAsListConfirmedTransactionsByAddressE403(v *EndpointNotAllowedForApiKey) ListConfirmedTransactionsByAddressE403 { - return ListConfirmedTransactionsByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListConfirmedTransactionsByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListConfirmedTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListConfirmedTransactionsByAddressE403 func EndpointNotAllowedForPlanAsListConfirmedTransactionsByAddressE403(v *EndpointNotAllowedForPlan) ListConfirmedTransactionsByAddressE403 { - return ListConfirmedTransactionsByAddressE403{ EndpointNotAllowedForPlan: v} + return ListConfirmedTransactionsByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListConfirmedTransactionsByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListConfirmedTransactionsByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListConfirmedTransactionsByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListConfirmedTransactionsByAddressE403 { - return ListConfirmedTransactionsByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListConfirmedTransactionsByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListConfirmedTransactionsByAddressE403) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListConfirmedTransactionsByAddressE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListConfirmedTransactionsByAddressE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListConfirmedTransactionsByAddressE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListConfirmedTransactionsByAddressE403) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListConfirmedTransactionsByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_confirmed_transactions_by_address_r.go b/model_list_confirmed_transactions_by_address_r.go index 947c2ef..a12f31c 100644 --- a/model_list_confirmed_transactions_by_address_r.go +++ b/model_list_confirmed_transactions_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListConfirmedTransactionsByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListConfirmedTransactionsByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListConfirmedTransactionsByAddressR) GetData() ListConfirmedTransaction // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressR) GetDataOk() (*ListConfirmedTransactionsByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_confirmed_transactions_by_address_r_data.go b/model_list_confirmed_transactions_by_address_r_data.go index e01c7bb..38615aa 100644 --- a/model_list_confirmed_transactions_by_address_r_data.go +++ b/model_list_confirmed_transactions_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListConfirmedTransactionsByAddressRData struct for ListConfirmedTransactionsByAddressRData type ListConfirmedTransactionsByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListConfirmedTransactionsByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListConfirmedTransactionsByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListConfirmedTransactionsByAddressRI) *ListConfirmedTransactionsByAddressRData { +func NewListConfirmedTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListConfirmedTransactionsByAddressRI) *ListConfirmedTransactionsByAddressRData { this := ListConfirmedTransactionsByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListConfirmedTransactionsByAddressRDataWithDefaults() *ListConfirmedTran return &this } -// GetOffset returns the Offset field value -func (o *ListConfirmedTransactionsByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListConfirmedTransactionsByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListConfirmedTransactionsByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListConfirmedTransactionsByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListConfirmedTransactionsByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListConfirmedTransactionsByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListConfirmedTransactionsByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListConfirmedTransactionsByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListConfirmedTransactionsByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListConfirmedTransactionsByAddressRData) GetItems() []ListConfirmedTran // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRData) GetItemsOk() (*[]ListConfirmedTransactionsByAddressRI, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRData) GetItemsOk() ([]ListConfirmedTransactionsByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListConfirmedTransactionsByAddressRData) SetItems(v []ListConfirmedTran func (o ListConfirmedTransactionsByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_confirmed_transactions_by_address_ri.go b/model_list_confirmed_transactions_by_address_ri.go index 87e8523..25b199f 100644 --- a/model_list_confirmed_transactions_by_address_ri.go +++ b/model_list_confirmed_transactions_by_address_ri.go @@ -75,7 +75,7 @@ func (o *ListConfirmedTransactionsByAddressRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -162,11 +162,11 @@ func (o *ListConfirmedTransactionsByAddressRI) GetRecipients() []GetTransactionD // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRI) GetRecipientsOk() (*[]GetTransactionDetailsByTransactionIDRIRecipients, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRI) GetRecipientsOk() ([]GetTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -186,11 +186,11 @@ func (o *ListConfirmedTransactionsByAddressRI) GetSenders() []GetTransactionDeta // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRI) GetSendersOk() (*[]GetTransactionDetailsByTransactionIDRISenders, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRI) GetSendersOk() ([]GetTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -211,7 +211,7 @@ func (o *ListConfirmedTransactionsByAddressRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -235,7 +235,7 @@ func (o *ListConfirmedTransactionsByAddressRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -259,7 +259,7 @@ func (o *ListConfirmedTransactionsByAddressRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -283,7 +283,7 @@ func (o *ListConfirmedTransactionsByAddressRI) GetFee() ListConfirmedTransaction // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRI) GetFeeOk() (*ListConfirmedTransactionsByAddressRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -307,7 +307,7 @@ func (o *ListConfirmedTransactionsByAddressRI) GetBlockchainSpecific() ListConfi // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRI) GetBlockchainSpecificOk() (*ListConfirmedTransactionsByAddressRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_list_confirmed_transactions_by_address_ri_fee.go b/model_list_confirmed_transactions_by_address_ri_fee.go index 7fa46a0..371c831 100644 --- a/model_list_confirmed_transactions_by_address_ri_fee.go +++ b/model_list_confirmed_transactions_by_address_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListConfirmedTransactionsByAddressRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListConfirmedTransactionsByAddressRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_confirmed_transactions_by_address_ribs.go b/model_list_confirmed_transactions_by_address_ribs.go index 0151435..0ca2247 100644 --- a/model_list_confirmed_transactions_by_address_ribs.go +++ b/model_list_confirmed_transactions_by_address_ribs.go @@ -31,47 +31,65 @@ type ListConfirmedTransactionsByAddressRIBS struct { // ListConfirmedTransactionsByAddressRIBSBAsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSB wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSBAsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSB) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSB: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSB: v, + } } // ListConfirmedTransactionsByAddressRIBSBCAsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSBC wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSBCAsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSBC) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSBC: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSBC: v, + } } // ListConfirmedTransactionsByAddressRIBSBSCAsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSBSC wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSBSCAsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSBSC) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSBSC: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSBSC: v, + } } // ListConfirmedTransactionsByAddressRIBSDAsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSD wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSDAsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSD) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSD: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSD: v, + } } // ListConfirmedTransactionsByAddressRIBSD2AsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSD2 wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSD2AsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSD2) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSD2: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSD2: v, + } } // ListConfirmedTransactionsByAddressRIBSEAsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSE wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSEAsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSE) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSE: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSE: v, + } } // ListConfirmedTransactionsByAddressRIBSECAsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSEC wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSECAsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSEC) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSEC: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSEC: v, + } } // ListConfirmedTransactionsByAddressRIBSLAsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSL wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSLAsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSL) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSL: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSL: v, + } } // ListConfirmedTransactionsByAddressRIBSZAsListConfirmedTransactionsByAddressRIBS is a convenience function that returns ListConfirmedTransactionsByAddressRIBSZ wrapped in ListConfirmedTransactionsByAddressRIBS func ListConfirmedTransactionsByAddressRIBSZAsListConfirmedTransactionsByAddressRIBS(v *ListConfirmedTransactionsByAddressRIBSZ) ListConfirmedTransactionsByAddressRIBS { - return ListConfirmedTransactionsByAddressRIBS{ ListConfirmedTransactionsByAddressRIBSZ: v} + return ListConfirmedTransactionsByAddressRIBS{ + ListConfirmedTransactionsByAddressRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSB - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSB) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSB) if err == nil { jsonListConfirmedTransactionsByAddressRIBSB, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSB) if string(jsonListConfirmedTransactionsByAddressRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er } // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSBC - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSBC) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSBC) if err == nil { jsonListConfirmedTransactionsByAddressRIBSBC, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSBC) if string(jsonListConfirmedTransactionsByAddressRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er } // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSBSC - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSBSC) if err == nil { jsonListConfirmedTransactionsByAddressRIBSBSC, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSBSC) if string(jsonListConfirmedTransactionsByAddressRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er } // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSD - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSD) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSD) if err == nil { jsonListConfirmedTransactionsByAddressRIBSD, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSD) if string(jsonListConfirmedTransactionsByAddressRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er } // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSD2 - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSD2) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSD2) if err == nil { jsonListConfirmedTransactionsByAddressRIBSD2, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSD2) if string(jsonListConfirmedTransactionsByAddressRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er } // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSE - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSE) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSE) if err == nil { jsonListConfirmedTransactionsByAddressRIBSE, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSE) if string(jsonListConfirmedTransactionsByAddressRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er } // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSEC - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSEC) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSEC) if err == nil { jsonListConfirmedTransactionsByAddressRIBSEC, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSEC) if string(jsonListConfirmedTransactionsByAddressRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er } // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSL - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSL) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSL) if err == nil { jsonListConfirmedTransactionsByAddressRIBSL, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSL) if string(jsonListConfirmedTransactionsByAddressRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *ListConfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) er } // try to unmarshal data into ListConfirmedTransactionsByAddressRIBSZ - err = json.Unmarshal(data, &dst.ListConfirmedTransactionsByAddressRIBSZ) + err = newStrictDecoder(data).Decode(&dst.ListConfirmedTransactionsByAddressRIBSZ) if err == nil { jsonListConfirmedTransactionsByAddressRIBSZ, _ := json.Marshal(dst.ListConfirmedTransactionsByAddressRIBSZ) if string(jsonListConfirmedTransactionsByAddressRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src ListConfirmedTransactionsByAddressRIBS) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListConfirmedTransactionsByAddressRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.ListConfirmedTransactionsByAddressRIBSB != nil { return obj.ListConfirmedTransactionsByAddressRIBSB } diff --git a/model_list_confirmed_transactions_by_address_ribsb.go b/model_list_confirmed_transactions_by_address_ribsb.go index 9a0e51c..d4bda0d 100644 --- a/model_list_confirmed_transactions_by_address_ribsb.go +++ b/model_list_confirmed_transactions_by_address_ribsb.go @@ -18,7 +18,7 @@ import ( // ListConfirmedTransactionsByAddressRIBSB Bitcoin type ListConfirmedTransactionsByAddressRIBSB struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Defines the transaction's virtual size. @@ -35,7 +35,7 @@ type ListConfirmedTransactionsByAddressRIBSB struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTransactionsByAddressRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBVin, vout []ListConfirmedTransactionsByAddressRIBSBVout) *ListConfirmedTransactionsByAddressRIBSB { +func NewListConfirmedTransactionsByAddressRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBVin, vout []ListConfirmedTransactionsByAddressRIBSBVout) *ListConfirmedTransactionsByAddressRIBSB { this := ListConfirmedTransactionsByAddressRIBSB{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListConfirmedTransactionsByAddressRIBSBWithDefaults() *ListConfirmedTran } // GetLocktime returns the Locktime field value -func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktime() int32 { +func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListConfirmedTransactionsByAddressRIBSB) SetLocktime(v int32) { +func (o *ListConfirmedTransactionsByAddressRIBSB) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSB) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSB) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSB) GetVin() []ListConfirmedTransa // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSB) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSBVin, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSB) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSBVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSB) GetVout() []ListConfirmedTrans // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSB) GetVoutOk() (*[]ListConfirmedTransactionsByAddressRIBSBVout, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSB) GetVoutOk() ([]ListConfirmedTransactionsByAddressRIBSBVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_confirmed_transactions_by_address_ribsb_script_pub_key.go b/model_list_confirmed_transactions_by_address_ribsb_script_pub_key.go index 54ce12b..13a8544 100644 --- a/model_list_confirmed_transactions_by_address_ribsb_script_pub_key.go +++ b/model_list_confirmed_transactions_by_address_ribsb_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetAddresses() []s // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetReqSigs() int32 // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_confirmed_transactions_by_address_ribsb_vin.go b/model_list_confirmed_transactions_by_address_ribsb_vin.go index 1d36b6a..0015251 100644 --- a/model_list_confirmed_transactions_by_address_ribsb_vin.go +++ b/model_list_confirmed_transactions_by_address_ribsb_vin.go @@ -25,7 +25,7 @@ type ListConfirmedTransactionsByAddressRIBSBVin struct { Sequence string `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Represents the sent/received amount. Value *string `json:"value,omitempty"` // Defines the vout of the transaction output, i.e. which output to spend. @@ -64,11 +64,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -121,7 +121,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetScriptSig() GetTransacti // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -145,7 +145,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -194,12 +194,12 @@ func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetTxinwitness() []string { var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetTxinwitnessOk() (*[]string, bool) { +func (o *ListConfirmedTransactionsByAddressRIBSBVin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -217,7 +217,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBVin) HasTxinwitness() bool { // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *ListConfirmedTransactionsByAddressRIBSBVin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value if set, zero value otherwise. diff --git a/model_list_confirmed_transactions_by_address_ribsb_vout.go b/model_list_confirmed_transactions_by_address_ribsb_vout.go index 04a77b3..ac56d1c 100644 --- a/model_list_confirmed_transactions_by_address_ribsb_vout.go +++ b/model_list_confirmed_transactions_by_address_ribsb_vout.go @@ -57,7 +57,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBVout) GetScriptPubKey() ListConf // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBVout) GetScriptPubKeyOk() (*ListConfirmedTransactionsByAddressRIBSBScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_confirmed_transactions_by_address_ribsbc.go b/model_list_confirmed_transactions_by_address_ribsbc.go index f899b52..3f99294 100644 --- a/model_list_confirmed_transactions_by_address_ribsbc.go +++ b/model_list_confirmed_transactions_by_address_ribsbc.go @@ -18,7 +18,7 @@ import ( // ListConfirmedTransactionsByAddressRIBSBC Bitcoin Cash type ListConfirmedTransactionsByAddressRIBSBC struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction's version number. @@ -26,14 +26,14 @@ type ListConfirmedTransactionsByAddressRIBSBC struct { // Represents the transaction inputs. Vin []ListConfirmedTransactionsByAddressRIBSBCVin `json:"vin"` // Represents the transaction outputs. - Vout *[]GetTransactionDetailsByTransactionIDRIBSBCVout `json:"vout,omitempty"` + Vout []GetTransactionDetailsByTransactionIDRIBSBCVout `json:"vout,omitempty"` } // NewListConfirmedTransactionsByAddressRIBSBC instantiates a new ListConfirmedTransactionsByAddressRIBSBC object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTransactionsByAddressRIBSBC(locktime int32, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBCVin) *ListConfirmedTransactionsByAddressRIBSBC { +func NewListConfirmedTransactionsByAddressRIBSBC(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSBCVin) *ListConfirmedTransactionsByAddressRIBSBC { this := ListConfirmedTransactionsByAddressRIBSBC{} this.Locktime = locktime this.Size = size @@ -51,9 +51,9 @@ func NewListConfirmedTransactionsByAddressRIBSBCWithDefaults() *ListConfirmedTra } // GetLocktime returns the Locktime field value -func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktime() int32 { +func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -62,15 +62,15 @@ func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListConfirmedTransactionsByAddressRIBSBC) SetLocktime(v int32) { +func (o *ListConfirmedTransactionsByAddressRIBSBC) SetLocktime(v int64) { o.Locktime = v } @@ -87,7 +87,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -111,7 +111,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -134,11 +134,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSBC) GetVin() []ListConfirmedTrans // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSBC) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSBCVin, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSBC) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSBCVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -152,12 +152,12 @@ func (o *ListConfirmedTransactionsByAddressRIBSBC) GetVout() []GetTransactionDet var ret []GetTransactionDetailsByTransactionIDRIBSBCVout return ret } - return *o.Vout + return o.Vout } // GetVoutOk returns a tuple with the Vout field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSBC) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSBCVout, bool) { +func (o *ListConfirmedTransactionsByAddressRIBSBC) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSBCVout, bool) { if o == nil || o.Vout == nil { return nil, false } @@ -175,7 +175,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBC) HasVout() bool { // SetVout gets a reference to the given []GetTransactionDetailsByTransactionIDRIBSBCVout and assigns it to the Vout field. func (o *ListConfirmedTransactionsByAddressRIBSBC) SetVout(v []GetTransactionDetailsByTransactionIDRIBSBCVout) { - o.Vout = &v + o.Vout = v } func (o ListConfirmedTransactionsByAddressRIBSBC) MarshalJSON() ([]byte, error) { diff --git a/model_list_confirmed_transactions_by_address_ribsbc_vin.go b/model_list_confirmed_transactions_by_address_ribsbc_vin.go index e53d4b3..53f8c09 100644 --- a/model_list_confirmed_transactions_by_address_ribsbc_vin.go +++ b/model_list_confirmed_transactions_by_address_ribsbc_vin.go @@ -68,11 +68,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -125,7 +125,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetScriptSig() GetTransact // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -149,7 +149,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -173,7 +173,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -196,11 +196,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetTxinwitness() []string // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -221,7 +221,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -245,7 +245,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBCVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_confirmed_transactions_by_address_ribsbsc.go b/model_list_confirmed_transactions_by_address_ribsbsc.go index 0d920ac..7361cf8 100644 --- a/model_list_confirmed_transactions_by_address_ribsbsc.go +++ b/model_list_confirmed_transactions_by_address_ribsbsc.go @@ -100,7 +100,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -124,7 +124,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetGasPrice() ListConfirmedT // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSBSCGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -148,7 +148,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -172,7 +172,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -196,7 +196,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -220,7 +220,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetTransactionStatus() strin // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBSC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_confirmed_transactions_by_address_ribsbsc_gas_price.go b/model_list_confirmed_transactions_by_address_ribsbsc_gas_price.go index 5c10b63..7a6b581 100644 --- a/model_list_confirmed_transactions_by_address_ribsbsc_gas_price.go +++ b/model_list_confirmed_transactions_by_address_ribsbsc_gas_price.go @@ -55,7 +55,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBSCGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBSCGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSBSCGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSBSCGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_confirmed_transactions_by_address_ribsd.go b/model_list_confirmed_transactions_by_address_ribsd.go index cf5b31a..d8657a6 100644 --- a/model_list_confirmed_transactions_by_address_ribsd.go +++ b/model_list_confirmed_transactions_by_address_ribsd.go @@ -18,7 +18,7 @@ import ( // ListConfirmedTransactionsByAddressRIBSD Dogecoin type ListConfirmedTransactionsByAddressRIBSD struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction's version number. @@ -33,7 +33,7 @@ type ListConfirmedTransactionsByAddressRIBSD struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTransactionsByAddressRIBSD(locktime int32, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *ListConfirmedTransactionsByAddressRIBSD { +func NewListConfirmedTransactionsByAddressRIBSD(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *ListConfirmedTransactionsByAddressRIBSD { this := ListConfirmedTransactionsByAddressRIBSD{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListConfirmedTransactionsByAddressRIBSDWithDefaults() *ListConfirmedTran } // GetLocktime returns the Locktime field value -func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktime() int32 { +func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListConfirmedTransactionsByAddressRIBSD) SetLocktime(v int32) { +func (o *ListConfirmedTransactionsByAddressRIBSD) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSD) GetVin() []ListConfirmedTransa // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSDVin, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSDVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSD) GetVout() []GetTransactionDeta // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_confirmed_transactions_by_address_ribsd2.go b/model_list_confirmed_transactions_by_address_ribsd2.go index ac7277a..80ba953 100644 --- a/model_list_confirmed_transactions_by_address_ribsd2.go +++ b/model_list_confirmed_transactions_by_address_ribsd2.go @@ -18,7 +18,7 @@ import ( // ListConfirmedTransactionsByAddressRIBSD2 Dash type ListConfirmedTransactionsByAddressRIBSD2 struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction's version number. @@ -33,7 +33,7 @@ type ListConfirmedTransactionsByAddressRIBSD2 struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTransactionsByAddressRIBSD2(locktime int32, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout) *ListConfirmedTransactionsByAddressRIBSD2 { +func NewListConfirmedTransactionsByAddressRIBSD2(locktime int64, size int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSD2Vin, vout []ListConfirmedTransactionsByAddressRIBSD2Vout) *ListConfirmedTransactionsByAddressRIBSD2 { this := ListConfirmedTransactionsByAddressRIBSD2{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListConfirmedTransactionsByAddressRIBSD2WithDefaults() *ListConfirmedTra } // GetLocktime returns the Locktime field value -func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktime() int32 { +func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListConfirmedTransactionsByAddressRIBSD2) SetLocktime(v int32) { +func (o *ListConfirmedTransactionsByAddressRIBSD2) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2) GetVin() []ListConfirmedTrans // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD2) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSD2Vin, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD2) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSD2Vin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2) GetVout() []ListConfirmedTran // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD2) GetVoutOk() (*[]ListConfirmedTransactionsByAddressRIBSD2Vout, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD2) GetVoutOk() ([]ListConfirmedTransactionsByAddressRIBSD2Vout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_confirmed_transactions_by_address_ribsd2_script_pub_key.go b/model_list_confirmed_transactions_by_address_ribsd2_script_pub_key.go index 4ab930e..017d9ed 100644 --- a/model_list_confirmed_transactions_by_address_ribsd2_script_pub_key.go +++ b/model_list_confirmed_transactions_by_address_ribsd2_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetAddresses() [] // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetReqSigs() int3 // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetType() string // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_confirmed_transactions_by_address_ribsd2_script_sig.go b/model_list_confirmed_transactions_by_address_ribsd2_script_sig.go index da0cc33..7fda838 100644 --- a/model_list_confirmed_transactions_by_address_ribsd2_script_sig.go +++ b/model_list_confirmed_transactions_by_address_ribsd2_script_sig.go @@ -58,7 +58,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2ScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_confirmed_transactions_by_address_ribsd2_vin.go b/model_list_confirmed_transactions_by_address_ribsd2_vin.go index fe64a01..0e185c3 100644 --- a/model_list_confirmed_transactions_by_address_ribsd2_vin.go +++ b/model_list_confirmed_transactions_by_address_ribsd2_vin.go @@ -66,11 +66,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -123,7 +123,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetScriptSig() ListConfirm // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetScriptSigOk() (*ListConfirmedTransactionsByAddressRIBSD2ScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -147,7 +147,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -202,11 +202,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetTxinwitness() []string // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -259,7 +259,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2Vin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_confirmed_transactions_by_address_ribsd2_vout.go b/model_list_confirmed_transactions_by_address_ribsd2_vout.go index 4a974bd..788836b 100644 --- a/model_list_confirmed_transactions_by_address_ribsd2_vout.go +++ b/model_list_confirmed_transactions_by_address_ribsd2_vout.go @@ -57,7 +57,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2Vout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2Vout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2Vout) GetScriptPubKey() ListCon // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2Vout) GetScriptPubKeyOk() (*ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSD2Vout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSD2Vout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_confirmed_transactions_by_address_ribsd_script_sig.go b/model_list_confirmed_transactions_by_address_ribsd_script_sig.go index cb635ce..0e98329 100644 --- a/model_list_confirmed_transactions_by_address_ribsd_script_sig.go +++ b/model_list_confirmed_transactions_by_address_ribsd_script_sig.go @@ -58,7 +58,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSDScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSDScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSDScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSDScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSDScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSDScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_confirmed_transactions_by_address_ribsd_vin.go b/model_list_confirmed_transactions_by_address_ribsd_vin.go index f1565cc..32d95b8 100644 --- a/model_list_confirmed_transactions_by_address_ribsd_vin.go +++ b/model_list_confirmed_transactions_by_address_ribsd_vin.go @@ -67,11 +67,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -92,7 +92,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetCoinbase() string { // GetCoinbaseOk returns a tuple with the Coinbase field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetCoinbaseOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Coinbase, true @@ -116,7 +116,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetScriptSig() ListConfirme // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetScriptSigOk() (*ListConfirmedTransactionsByAddressRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -140,7 +140,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -195,11 +195,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -220,7 +220,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSDVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_confirmed_transactions_by_address_ribse.go b/model_list_confirmed_transactions_by_address_ribse.go index 07608df..32abfa3 100644 --- a/model_list_confirmed_transactions_by_address_ribse.go +++ b/model_list_confirmed_transactions_by_address_ribse.go @@ -69,7 +69,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSE) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSE) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -93,7 +93,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -117,7 +117,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSE) GetGasPrice() ListConfirmedTra // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSE) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -141,7 +141,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -165,7 +165,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSE) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSE) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -189,7 +189,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSE) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSE) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -213,7 +213,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSE) GetTransactionStatus() string // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSE) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_confirmed_transactions_by_address_ribse_gas_price.go b/model_list_confirmed_transactions_by_address_ribse_gas_price.go index 346817a..47cea2a 100644 --- a/model_list_confirmed_transactions_by_address_ribse_gas_price.go +++ b/model_list_confirmed_transactions_by_address_ribse_gas_price.go @@ -55,7 +55,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_confirmed_transactions_by_address_ribsec.go b/model_list_confirmed_transactions_by_address_ribsec.go index 25973f2..710d997 100644 --- a/model_list_confirmed_transactions_by_address_ribsec.go +++ b/model_list_confirmed_transactions_by_address_ribsec.go @@ -69,7 +69,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEC) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -93,7 +93,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -117,7 +117,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEC) GetGasPrice() ListConfirmedTr // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEC) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSECGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -141,7 +141,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -165,7 +165,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -189,7 +189,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -213,7 +213,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSEC) GetTransactionStatus() string // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSEC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_confirmed_transactions_by_address_ribsec_gas_price.go b/model_list_confirmed_transactions_by_address_ribsec_gas_price.go index 78db091..2a5b011 100644 --- a/model_list_confirmed_transactions_by_address_ribsec_gas_price.go +++ b/model_list_confirmed_transactions_by_address_ribsec_gas_price.go @@ -55,7 +55,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSECGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSECGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSECGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSECGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_confirmed_transactions_by_address_ribsl.go b/model_list_confirmed_transactions_by_address_ribsl.go index b9b2bb2..fdf6a87 100644 --- a/model_list_confirmed_transactions_by_address_ribsl.go +++ b/model_list_confirmed_transactions_by_address_ribsl.go @@ -18,7 +18,7 @@ import ( // ListConfirmedTransactionsByAddressRIBSL Litecoin type ListConfirmedTransactionsByAddressRIBSL struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type ListConfirmedTransactionsByAddressRIBSL struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTransactionsByAddressRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *ListConfirmedTransactionsByAddressRIBSL { +func NewListConfirmedTransactionsByAddressRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListConfirmedTransactionsByAddressRIBSLVin, vout []GetTransactionDetailsByTransactionIDRIBSLVout) *ListConfirmedTransactionsByAddressRIBSL { this := ListConfirmedTransactionsByAddressRIBSL{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListConfirmedTransactionsByAddressRIBSLWithDefaults() *ListConfirmedTran } // GetLocktime returns the Locktime field value -func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktime() int32 { +func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListConfirmedTransactionsByAddressRIBSL) SetLocktime(v int32) { +func (o *ListConfirmedTransactionsByAddressRIBSL) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSL) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSL) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSL) GetVin() []ListConfirmedTransa // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSL) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSLVin, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSL) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSLVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSL) GetVout() []GetTransactionDeta // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSL) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSL) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSLVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_confirmed_transactions_by_address_ribsl_script_sig.go b/model_list_confirmed_transactions_by_address_ribsl_script_sig.go index 309664b..cdefdd1 100644 --- a/model_list_confirmed_transactions_by_address_ribsl_script_sig.go +++ b/model_list_confirmed_transactions_by_address_ribsl_script_sig.go @@ -58,7 +58,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSLScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSLScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSLScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSLScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSLScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSLScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_confirmed_transactions_by_address_ribsl_vin.go b/model_list_confirmed_transactions_by_address_ribsl_vin.go index ea40d27..6371e68 100644 --- a/model_list_confirmed_transactions_by_address_ribsl_vin.go +++ b/model_list_confirmed_transactions_by_address_ribsl_vin.go @@ -66,11 +66,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -123,7 +123,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetScriptSig() ListConfirme // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetScriptSigOk() (*ListConfirmedTransactionsByAddressRIBSLScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -147,7 +147,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -171,7 +171,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -194,11 +194,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSLVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value diff --git a/model_list_confirmed_transactions_by_address_ribsz.go b/model_list_confirmed_transactions_by_address_ribsz.go index e11e326..936974a 100644 --- a/model_list_confirmed_transactions_by_address_ribsz.go +++ b/model_list_confirmed_transactions_by_address_ribsz.go @@ -26,7 +26,7 @@ type ListConfirmedTransactionsByAddressRIBSZ struct { // Is used to sign transactions that contain at least one JoinSplit description. JoinSplitSig string `json:"joinSplitSig"` // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // \"Overwinter\" is the network upgrade for the Zcash blockchain. Overwintered bool `json:"overwintered"` // Represents the total size of this transaction. @@ -53,7 +53,7 @@ type ListConfirmedTransactionsByAddressRIBSZ struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTransactionsByAddressRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListConfirmedTransactionsByAddressRIBSZ { +func NewListConfirmedTransactionsByAddressRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListConfirmedTransactionsByAddressRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListConfirmedTransactionsByAddressRIBSZ { this := ListConfirmedTransactionsByAddressRIBSZ{} this.BindingSig = bindingSig this.ExpiryHeight = expiryHeight @@ -94,7 +94,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetBindingSig() string { // GetBindingSigOk returns a tuple with the BindingSig field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetBindingSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BindingSig, true @@ -118,7 +118,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetExpiryHeight() int32 { // GetExpiryHeightOk returns a tuple with the ExpiryHeight field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetExpiryHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExpiryHeight, true @@ -142,7 +142,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetJoinSplitPubKey() string { // GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitPubKey, true @@ -166,7 +166,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetJoinSplitSig() string { // GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetJoinSplitSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitSig, true @@ -178,9 +178,9 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) SetJoinSplitSig(v string) { } // GetLocktime returns the Locktime field value -func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktime() int32 { +func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -189,15 +189,15 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListConfirmedTransactionsByAddressRIBSZ) SetLocktime(v int32) { +func (o *ListConfirmedTransactionsByAddressRIBSZ) SetLocktime(v int64) { o.Locktime = v } @@ -214,7 +214,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetOverwintered() bool { // GetOverwinteredOk returns a tuple with the Overwintered field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetOverwinteredOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Overwintered, true @@ -238,7 +238,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -261,11 +261,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVJoinSplit() []ListConfirme // GetVJoinSplitOk returns a tuple with the VJoinSplit field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVJoinSplitOk() (*[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVJoinSplitOk() ([]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool) { + if o == nil { return nil, false } - return &o.VJoinSplit, true + return o.VJoinSplit, true } // SetVJoinSplit sets field value @@ -285,11 +285,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVShieldedOutput() []GetTran // GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVShieldedOutputOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { + if o == nil { return nil, false } - return &o.VShieldedOutput, true + return o.VShieldedOutput, true } // SetVShieldedOutput sets field value @@ -309,11 +309,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVShieldedSpend() []GetTrans // GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { + if o == nil { return nil, false } - return &o.VShieldedSpend, true + return o.VShieldedSpend, true } // SetVShieldedSpend sets field value @@ -334,7 +334,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetValueBalance() string { // GetValueBalanceOk returns a tuple with the ValueBalance field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetValueBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ValueBalance, true @@ -358,7 +358,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -382,7 +382,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVersionGroupId() string { // GetVersionGroupIdOk returns a tuple with the VersionGroupId field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVersionGroupIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionGroupId, true @@ -405,11 +405,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVin() []ListConfirmedTransa // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVinOk() (*[]ListConfirmedTransactionsByAddressRIBSZVin, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVinOk() ([]ListConfirmedTransactionsByAddressRIBSZVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -429,11 +429,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVout() []GetTransactionDeta // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZ) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_confirmed_transactions_by_address_ribsz_v_join_split.go b/model_list_confirmed_transactions_by_address_ribsz_v_join_split.go index a263293..1aa431a 100644 --- a/model_list_confirmed_transactions_by_address_ribsz_v_join_split.go +++ b/model_list_confirmed_transactions_by_address_ribsz_v_join_split.go @@ -75,7 +75,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetAnchor() string { // GetAnchorOk returns a tuple with the Anchor field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetAnchorOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Anchor, true @@ -98,11 +98,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetCipherTexts() []s // GetCipherTextsOk returns a tuple with the CipherTexts field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetCipherTextsOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetCipherTextsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.CipherTexts, true + return o.CipherTexts, true } // SetCipherTexts sets field value @@ -122,11 +122,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetCommitments() []s // GetCommitmentsOk returns a tuple with the Commitments field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetCommitmentsOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetCommitmentsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Commitments, true + return o.Commitments, true } // SetCommitments sets field value @@ -146,11 +146,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetMacs() []string { // GetMacsOk returns a tuple with the Macs field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetMacsOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetMacsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Macs, true + return o.Macs, true } // SetMacs sets field value @@ -170,11 +170,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetNullifiers() []st // GetNullifiersOk returns a tuple with the Nullifiers field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetNullifiersOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetNullifiersOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Nullifiers, true + return o.Nullifiers, true } // SetNullifiers sets field value @@ -195,7 +195,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetOneTimePubKey() s // GetOneTimePubKeyOk returns a tuple with the OneTimePubKey field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetOneTimePubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OneTimePubKey, true @@ -219,7 +219,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetProof() string { // GetProofOk returns a tuple with the Proof field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetProofOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Proof, true @@ -243,7 +243,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetRandomSeed() stri // GetRandomSeedOk returns a tuple with the RandomSeed field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetRandomSeedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RandomSeed, true @@ -267,7 +267,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetVPubNew() string // GetVPubNewOk returns a tuple with the VPubNew field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetVPubNewOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VPubNew, true @@ -291,7 +291,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetVPubOld() string // GetVPubOldOk returns a tuple with the VPubOld field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVJoinSplit) GetVPubOldOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VPubOld, true diff --git a/model_list_confirmed_transactions_by_address_ribsz_vin.go b/model_list_confirmed_transactions_by_address_ribsz_vin.go index 96b3b42..83ecf57 100644 --- a/model_list_confirmed_transactions_by_address_ribsz_vin.go +++ b/model_list_confirmed_transactions_by_address_ribsz_vin.go @@ -22,7 +22,7 @@ type ListConfirmedTransactionsByAddressRIBSZVin struct { Coinbase string `json:"coinbase"` ScriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type ListConfirmedTransactionsByAddressRIBSZVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListConfirmedTransactionsByAddressRIBSZVin(addresses []string, coinbase string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int32, txid string, txinwitness []string, value string, vout int32) *ListConfirmedTransactionsByAddressRIBSZVin { +func NewListConfirmedTransactionsByAddressRIBSZVin(addresses []string, coinbase string, scriptSig GetTransactionDetailsByTransactionIDRIBSZScriptSig, sequence int64, txid string, txinwitness []string, value string, vout int32) *ListConfirmedTransactionsByAddressRIBSZVin { this := ListConfirmedTransactionsByAddressRIBSZVin{} this.Addresses = addresses this.Coinbase = coinbase @@ -69,11 +69,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -94,7 +94,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetCoinbase() string { // GetCoinbaseOk returns a tuple with the Coinbase field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetCoinbaseOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Coinbase, true @@ -118,7 +118,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetScriptSig() GetTransacti // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSZScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -130,9 +130,9 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) SetScriptSig(v GetTransacti } // GetSequence returns the Sequence field value -func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequence() int32 { +func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -141,15 +141,15 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *ListConfirmedTransactionsByAddressRIBSZVin) SetSequence(v int32) { +func (o *ListConfirmedTransactionsByAddressRIBSZVin) SetSequence(v int64) { o.Sequence = v } @@ -166,7 +166,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -189,11 +189,11 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -214,7 +214,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -238,7 +238,7 @@ func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListConfirmedTransactionsByAddressRIBSZVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_deposit_addresses_e400.go b/model_list_deposit_addresses_e400.go index 7e6364a..9021396 100644 --- a/model_list_deposit_addresses_e400.go +++ b/model_list_deposit_addresses_e400.go @@ -25,17 +25,23 @@ type ListDepositAddressesE400 struct { // InvalidPaginationAsListDepositAddressesE400 is a convenience function that returns InvalidPagination wrapped in ListDepositAddressesE400 func InvalidPaginationAsListDepositAddressesE400(v *InvalidPagination) ListDepositAddressesE400 { - return ListDepositAddressesE400{ InvalidPagination: v} + return ListDepositAddressesE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListDepositAddressesE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListDepositAddressesE400 func LimitGreaterThanAllowedAsListDepositAddressesE400(v *LimitGreaterThanAllowed) ListDepositAddressesE400 { - return ListDepositAddressesE400{ LimitGreaterThanAllowed: v} + return ListDepositAddressesE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListDepositAddressesE400 is a convenience function that returns UriNotFound wrapped in ListDepositAddressesE400 func UriNotFoundAsListDepositAddressesE400(v *UriNotFound) ListDepositAddressesE400 { - return ListDepositAddressesE400{ UriNotFound: v} + return ListDepositAddressesE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListDepositAddressesE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListDepositAddressesE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListDepositAddressesE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListDepositAddressesE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListDepositAddressesE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_deposit_addresses_e401.go b/model_list_deposit_addresses_e401.go index 5195195..2956250 100644 --- a/model_list_deposit_addresses_e401.go +++ b/model_list_deposit_addresses_e401.go @@ -24,12 +24,16 @@ type ListDepositAddressesE401 struct { // InvalidApiKeyAsListDepositAddressesE401 is a convenience function that returns InvalidApiKey wrapped in ListDepositAddressesE401 func InvalidApiKeyAsListDepositAddressesE401(v *InvalidApiKey) ListDepositAddressesE401 { - return ListDepositAddressesE401{ InvalidApiKey: v} + return ListDepositAddressesE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListDepositAddressesE401 is a convenience function that returns MissingApiKey wrapped in ListDepositAddressesE401 func MissingApiKeyAsListDepositAddressesE401(v *MissingApiKey) ListDepositAddressesE401 { - return ListDepositAddressesE401{ MissingApiKey: v} + return ListDepositAddressesE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListDepositAddressesE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListDepositAddressesE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListDepositAddressesE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListDepositAddressesE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_deposit_addresses_e403.go b/model_list_deposit_addresses_e403.go index a1cee69..d14c139 100644 --- a/model_list_deposit_addresses_e403.go +++ b/model_list_deposit_addresses_e403.go @@ -26,22 +26,30 @@ type ListDepositAddressesE403 struct { // BannedIpAddressAsListDepositAddressesE403 is a convenience function that returns BannedIpAddress wrapped in ListDepositAddressesE403 func BannedIpAddressAsListDepositAddressesE403(v *BannedIpAddress) ListDepositAddressesE403 { - return ListDepositAddressesE403{ BannedIpAddress: v} + return ListDepositAddressesE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListDepositAddressesE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListDepositAddressesE403 func EndpointNotAllowedForApiKeyAsListDepositAddressesE403(v *EndpointNotAllowedForApiKey) ListDepositAddressesE403 { - return ListDepositAddressesE403{ EndpointNotAllowedForApiKey: v} + return ListDepositAddressesE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListDepositAddressesE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListDepositAddressesE403 func EndpointNotAllowedForPlanAsListDepositAddressesE403(v *EndpointNotAllowedForPlan) ListDepositAddressesE403 { - return ListDepositAddressesE403{ EndpointNotAllowedForPlan: v} + return ListDepositAddressesE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListDepositAddressesE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListDepositAddressesE403 func FeatureMainnetsNotAllowedForPlanAsListDepositAddressesE403(v *FeatureMainnetsNotAllowedForPlan) ListDepositAddressesE403 { - return ListDepositAddressesE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListDepositAddressesE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListDepositAddressesE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListDepositAddressesE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListDepositAddressesE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListDepositAddressesE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListDepositAddressesE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListDepositAddressesE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_deposit_addresses_r.go b/model_list_deposit_addresses_r.go index 500ff3e..43d170a 100644 --- a/model_list_deposit_addresses_r.go +++ b/model_list_deposit_addresses_r.go @@ -59,7 +59,7 @@ func (o *ListDepositAddressesR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListDepositAddressesR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListDepositAddressesR) GetData() ListDepositAddressesRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesR) GetDataOk() (*ListDepositAddressesRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_deposit_addresses_r_data.go b/model_list_deposit_addresses_r_data.go index eae4987..972cb9c 100644 --- a/model_list_deposit_addresses_r_data.go +++ b/model_list_deposit_addresses_r_data.go @@ -17,10 +17,10 @@ import ( // ListDepositAddressesRData struct for ListDepositAddressesRData type ListDepositAddressesRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListDepositAddressesRI `json:"items"` @@ -30,10 +30,10 @@ type ListDepositAddressesRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListDepositAddressesRData(offset int32, limit int32, total int32, items []ListDepositAddressesRI) *ListDepositAddressesRData { +func NewListDepositAddressesRData(limit int32, offset int32, total int32, items []ListDepositAddressesRI) *ListDepositAddressesRData { this := ListDepositAddressesRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListDepositAddressesRDataWithDefaults() *ListDepositAddressesRData { return &this } -// GetOffset returns the Offset field value -func (o *ListDepositAddressesRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListDepositAddressesRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListDepositAddressesRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListDepositAddressesRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListDepositAddressesRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListDepositAddressesRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListDepositAddressesRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListDepositAddressesRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListDepositAddressesRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListDepositAddressesRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListDepositAddressesRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListDepositAddressesRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListDepositAddressesRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListDepositAddressesRData) GetItems() []ListDepositAddressesRI { // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListDepositAddressesRData) GetItemsOk() (*[]ListDepositAddressesRI, bool) { - if o == nil { +func (o *ListDepositAddressesRData) GetItemsOk() ([]ListDepositAddressesRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListDepositAddressesRData) SetItems(v []ListDepositAddressesRI) { func (o ListDepositAddressesRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_deposit_addresses_ri.go b/model_list_deposit_addresses_ri.go index b4da8b3..fa53573 100644 --- a/model_list_deposit_addresses_ri.go +++ b/model_list_deposit_addresses_ri.go @@ -69,7 +69,7 @@ func (o *ListDepositAddressesRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -93,7 +93,7 @@ func (o *ListDepositAddressesRI) GetConfirmedBalance() ListDepositAddressesRICon // GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRI) GetConfirmedBalanceOk() (*ListDepositAddressesRIConfirmedBalance, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmedBalance, true @@ -117,7 +117,7 @@ func (o *ListDepositAddressesRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -140,11 +140,11 @@ func (o *ListDepositAddressesRI) GetFungibleTokens() []ListDepositAddressesRIFun // GetFungibleTokensOk returns a tuple with the FungibleTokens field value // and a boolean to check if the value has been set. -func (o *ListDepositAddressesRI) GetFungibleTokensOk() (*[]ListDepositAddressesRIFungibleTokens, bool) { - if o == nil { +func (o *ListDepositAddressesRI) GetFungibleTokensOk() ([]ListDepositAddressesRIFungibleTokens, bool) { + if o == nil { return nil, false } - return &o.FungibleTokens, true + return o.FungibleTokens, true } // SetFungibleTokens sets field value @@ -165,7 +165,7 @@ func (o *ListDepositAddressesRI) GetIndex() string { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRI) GetIndexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -189,7 +189,7 @@ func (o *ListDepositAddressesRI) GetLabel() string { // GetLabelOk returns a tuple with the Label field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRI) GetLabelOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Label, true @@ -212,11 +212,11 @@ func (o *ListDepositAddressesRI) GetNonFungibleTokens() []ListDepositAddressesRI // GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field value // and a boolean to check if the value has been set. -func (o *ListDepositAddressesRI) GetNonFungibleTokensOk() (*[]ListDepositAddressesRINonFungibleTokens, bool) { - if o == nil { +func (o *ListDepositAddressesRI) GetNonFungibleTokensOk() ([]ListDepositAddressesRINonFungibleTokens, bool) { + if o == nil { return nil, false } - return &o.NonFungibleTokens, true + return o.NonFungibleTokens, true } // SetNonFungibleTokens sets field value diff --git a/model_list_deposit_addresses_ri_confirmed_balance.go b/model_list_deposit_addresses_ri_confirmed_balance.go index 3b78e94..d6fb9a0 100644 --- a/model_list_deposit_addresses_ri_confirmed_balance.go +++ b/model_list_deposit_addresses_ri_confirmed_balance.go @@ -55,7 +55,7 @@ func (o *ListDepositAddressesRIConfirmedBalance) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRIConfirmedBalance) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListDepositAddressesRIConfirmedBalance) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRIConfirmedBalance) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_deposit_addresses_ri_fungible_tokens.go b/model_list_deposit_addresses_ri_fungible_tokens.go index 61a8ac7..c78f3ec 100644 --- a/model_list_deposit_addresses_ri_fungible_tokens.go +++ b/model_list_deposit_addresses_ri_fungible_tokens.go @@ -67,7 +67,7 @@ func (o *ListDepositAddressesRIFungibleTokens) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRIFungibleTokens) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -91,7 +91,7 @@ func (o *ListDepositAddressesRIFungibleTokens) GetIdentifier() string { // GetIdentifierOk returns a tuple with the Identifier field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRIFungibleTokens) GetIdentifierOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Identifier, true @@ -115,7 +115,7 @@ func (o *ListDepositAddressesRIFungibleTokens) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRIFungibleTokens) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -139,7 +139,7 @@ func (o *ListDepositAddressesRIFungibleTokens) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRIFungibleTokens) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -163,7 +163,7 @@ func (o *ListDepositAddressesRIFungibleTokens) GetTokenDecimals() int32 { // GetTokenDecimalsOk returns a tuple with the TokenDecimals field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRIFungibleTokens) GetTokenDecimalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenDecimals, true @@ -187,7 +187,7 @@ func (o *ListDepositAddressesRIFungibleTokens) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRIFungibleTokens) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_deposit_addresses_ri_non_fungible_tokens.go b/model_list_deposit_addresses_ri_non_fungible_tokens.go index ea84411..0f0b805 100644 --- a/model_list_deposit_addresses_ri_non_fungible_tokens.go +++ b/model_list_deposit_addresses_ri_non_fungible_tokens.go @@ -64,7 +64,7 @@ func (o *ListDepositAddressesRINonFungibleTokens) GetIdentifier() string { // GetIdentifierOk returns a tuple with the Identifier field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRINonFungibleTokens) GetIdentifierOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Identifier, true @@ -88,7 +88,7 @@ func (o *ListDepositAddressesRINonFungibleTokens) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRINonFungibleTokens) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -112,7 +112,7 @@ func (o *ListDepositAddressesRINonFungibleTokens) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRINonFungibleTokens) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -136,7 +136,7 @@ func (o *ListDepositAddressesRINonFungibleTokens) GetTokenId() string { // GetTokenIdOk returns a tuple with the TokenId field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRINonFungibleTokens) GetTokenIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenId, true @@ -160,7 +160,7 @@ func (o *ListDepositAddressesRINonFungibleTokens) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListDepositAddressesRINonFungibleTokens) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e400.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e400.go index 345bb8f..9a1bd6d 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e400.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e400.go @@ -29,37 +29,51 @@ type ListHDWalletXPubYPubZPubTransactionsE400 struct { // InvalidBlockchainAsListHDWalletXPubYPubZPubTransactionsE400 is a convenience function that returns InvalidBlockchain wrapped in ListHDWalletXPubYPubZPubTransactionsE400 func InvalidBlockchainAsListHDWalletXPubYPubZPubTransactionsE400(v *InvalidBlockchain) ListHDWalletXPubYPubZPubTransactionsE400 { - return ListHDWalletXPubYPubZPubTransactionsE400{ InvalidBlockchain: v} + return ListHDWalletXPubYPubZPubTransactionsE400{ + InvalidBlockchain: v, + } } // InvalidNetworkAsListHDWalletXPubYPubZPubTransactionsE400 is a convenience function that returns InvalidNetwork wrapped in ListHDWalletXPubYPubZPubTransactionsE400 func InvalidNetworkAsListHDWalletXPubYPubZPubTransactionsE400(v *InvalidNetwork) ListHDWalletXPubYPubZPubTransactionsE400 { - return ListHDWalletXPubYPubZPubTransactionsE400{ InvalidNetwork: v} + return ListHDWalletXPubYPubZPubTransactionsE400{ + InvalidNetwork: v, + } } // InvalidPaginationAsListHDWalletXPubYPubZPubTransactionsE400 is a convenience function that returns InvalidPagination wrapped in ListHDWalletXPubYPubZPubTransactionsE400 func InvalidPaginationAsListHDWalletXPubYPubZPubTransactionsE400(v *InvalidPagination) ListHDWalletXPubYPubZPubTransactionsE400 { - return ListHDWalletXPubYPubZPubTransactionsE400{ InvalidPagination: v} + return ListHDWalletXPubYPubZPubTransactionsE400{ + InvalidPagination: v, + } } // InvalidXpubAsListHDWalletXPubYPubZPubTransactionsE400 is a convenience function that returns InvalidXpub wrapped in ListHDWalletXPubYPubZPubTransactionsE400 func InvalidXpubAsListHDWalletXPubYPubZPubTransactionsE400(v *InvalidXpub) ListHDWalletXPubYPubZPubTransactionsE400 { - return ListHDWalletXPubYPubZPubTransactionsE400{ InvalidXpub: v} + return ListHDWalletXPubYPubZPubTransactionsE400{ + InvalidXpub: v, + } } // LimitGreaterThanAllowedAsListHDWalletXPubYPubZPubTransactionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListHDWalletXPubYPubZPubTransactionsE400 func LimitGreaterThanAllowedAsListHDWalletXPubYPubZPubTransactionsE400(v *LimitGreaterThanAllowed) ListHDWalletXPubYPubZPubTransactionsE400 { - return ListHDWalletXPubYPubZPubTransactionsE400{ LimitGreaterThanAllowed: v} + return ListHDWalletXPubYPubZPubTransactionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListHDWalletXPubYPubZPubTransactionsE400 is a convenience function that returns UriNotFound wrapped in ListHDWalletXPubYPubZPubTransactionsE400 func UriNotFoundAsListHDWalletXPubYPubZPubTransactionsE400(v *UriNotFound) ListHDWalletXPubYPubZPubTransactionsE400 { - return ListHDWalletXPubYPubZPubTransactionsE400{ UriNotFound: v} + return ListHDWalletXPubYPubZPubTransactionsE400{ + UriNotFound: v, + } } // XpubNotSyncedAsListHDWalletXPubYPubZPubTransactionsE400 is a convenience function that returns XpubNotSynced wrapped in ListHDWalletXPubYPubZPubTransactionsE400 func XpubNotSyncedAsListHDWalletXPubYPubZPubTransactionsE400(v *XpubNotSynced) ListHDWalletXPubYPubZPubTransactionsE400 { - return ListHDWalletXPubYPubZPubTransactionsE400{ XpubNotSynced: v} + return ListHDWalletXPubYPubZPubTransactionsE400{ + XpubNotSynced: v, + } } @@ -68,7 +82,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE400) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidBlockchain - err = json.Unmarshal(data, &dst.InvalidBlockchain) + err = newStrictDecoder(data).Decode(&dst.InvalidBlockchain) if err == nil { jsonInvalidBlockchain, _ := json.Marshal(dst.InvalidBlockchain) if string(jsonInvalidBlockchain) == "{}" { // empty struct @@ -81,7 +95,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE400) UnmarshalJSON(data []byte) } // try to unmarshal data into InvalidNetwork - err = json.Unmarshal(data, &dst.InvalidNetwork) + err = newStrictDecoder(data).Decode(&dst.InvalidNetwork) if err == nil { jsonInvalidNetwork, _ := json.Marshal(dst.InvalidNetwork) if string(jsonInvalidNetwork) == "{}" { // empty struct @@ -94,7 +108,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE400) UnmarshalJSON(data []byte) } // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -107,7 +121,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE400) UnmarshalJSON(data []byte) } // try to unmarshal data into InvalidXpub - err = json.Unmarshal(data, &dst.InvalidXpub) + err = newStrictDecoder(data).Decode(&dst.InvalidXpub) if err == nil { jsonInvalidXpub, _ := json.Marshal(dst.InvalidXpub) if string(jsonInvalidXpub) == "{}" { // empty struct @@ -120,7 +134,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE400) UnmarshalJSON(data []byte) } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -133,7 +147,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE400) UnmarshalJSON(data []byte) } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -146,7 +160,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE400) UnmarshalJSON(data []byte) } // try to unmarshal data into XpubNotSynced - err = json.Unmarshal(data, &dst.XpubNotSynced) + err = newStrictDecoder(data).Decode(&dst.XpubNotSynced) if err == nil { jsonXpubNotSynced, _ := json.Marshal(dst.XpubNotSynced) if string(jsonXpubNotSynced) == "{}" { // empty struct @@ -211,6 +225,9 @@ func (src ListHDWalletXPubYPubZPubTransactionsE400) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListHDWalletXPubYPubZPubTransactionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidBlockchain != nil { return obj.InvalidBlockchain } diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e401.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e401.go index 628d835..f8de9fd 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e401.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e401.go @@ -24,12 +24,16 @@ type ListHDWalletXPubYPubZPubTransactionsE401 struct { // InvalidApiKeyAsListHDWalletXPubYPubZPubTransactionsE401 is a convenience function that returns InvalidApiKey wrapped in ListHDWalletXPubYPubZPubTransactionsE401 func InvalidApiKeyAsListHDWalletXPubYPubZPubTransactionsE401(v *InvalidApiKey) ListHDWalletXPubYPubZPubTransactionsE401 { - return ListHDWalletXPubYPubZPubTransactionsE401{ InvalidApiKey: v} + return ListHDWalletXPubYPubZPubTransactionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListHDWalletXPubYPubZPubTransactionsE401 is a convenience function that returns MissingApiKey wrapped in ListHDWalletXPubYPubZPubTransactionsE401 func MissingApiKeyAsListHDWalletXPubYPubZPubTransactionsE401(v *MissingApiKey) ListHDWalletXPubYPubZPubTransactionsE401 { - return ListHDWalletXPubYPubZPubTransactionsE401{ MissingApiKey: v} + return ListHDWalletXPubYPubZPubTransactionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE401) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE401) UnmarshalJSON(data []byte) } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListHDWalletXPubYPubZPubTransactionsE401) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListHDWalletXPubYPubZPubTransactionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e403.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e403.go index 058b631..4162ab7 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e403.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e403.go @@ -26,22 +26,30 @@ type ListHDWalletXPubYPubZPubTransactionsE403 struct { // BannedIpAddressAsListHDWalletXPubYPubZPubTransactionsE403 is a convenience function that returns BannedIpAddress wrapped in ListHDWalletXPubYPubZPubTransactionsE403 func BannedIpAddressAsListHDWalletXPubYPubZPubTransactionsE403(v *BannedIpAddress) ListHDWalletXPubYPubZPubTransactionsE403 { - return ListHDWalletXPubYPubZPubTransactionsE403{ BannedIpAddress: v} + return ListHDWalletXPubYPubZPubTransactionsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListHDWalletXPubYPubZPubTransactionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListHDWalletXPubYPubZPubTransactionsE403 func EndpointNotAllowedForApiKeyAsListHDWalletXPubYPubZPubTransactionsE403(v *EndpointNotAllowedForApiKey) ListHDWalletXPubYPubZPubTransactionsE403 { - return ListHDWalletXPubYPubZPubTransactionsE403{ EndpointNotAllowedForApiKey: v} + return ListHDWalletXPubYPubZPubTransactionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListHDWalletXPubYPubZPubTransactionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListHDWalletXPubYPubZPubTransactionsE403 func EndpointNotAllowedForPlanAsListHDWalletXPubYPubZPubTransactionsE403(v *EndpointNotAllowedForPlan) ListHDWalletXPubYPubZPubTransactionsE403 { - return ListHDWalletXPubYPubZPubTransactionsE403{ EndpointNotAllowedForPlan: v} + return ListHDWalletXPubYPubZPubTransactionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListHDWalletXPubYPubZPubTransactionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListHDWalletXPubYPubZPubTransactionsE403 func FeatureMainnetsNotAllowedForPlanAsListHDWalletXPubYPubZPubTransactionsE403(v *FeatureMainnetsNotAllowedForPlan) ListHDWalletXPubYPubZPubTransactionsE403 { - return ListHDWalletXPubYPubZPubTransactionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListHDWalletXPubYPubZPubTransactionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE403) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE403) UnmarshalJSON(data []byte) } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListHDWalletXPubYPubZPubTransactionsE403) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListHDWalletXPubYPubZPubTransactionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e422.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e422.go index 12bfed3..8ab6aaf 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e422.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_e422.go @@ -24,12 +24,16 @@ type ListHDWalletXPubYPubZPubTransactionsE422 struct { // InvalidRequestBodyStructureAsListHDWalletXPubYPubZPubTransactionsE422 is a convenience function that returns InvalidRequestBodyStructure wrapped in ListHDWalletXPubYPubZPubTransactionsE422 func InvalidRequestBodyStructureAsListHDWalletXPubYPubZPubTransactionsE422(v *InvalidRequestBodyStructure) ListHDWalletXPubYPubZPubTransactionsE422 { - return ListHDWalletXPubYPubZPubTransactionsE422{ InvalidRequestBodyStructure: v} + return ListHDWalletXPubYPubZPubTransactionsE422{ + InvalidRequestBodyStructure: v, + } } // XpubSyncInProgressAsListHDWalletXPubYPubZPubTransactionsE422 is a convenience function that returns XpubSyncInProgress wrapped in ListHDWalletXPubYPubZPubTransactionsE422 func XpubSyncInProgressAsListHDWalletXPubYPubZPubTransactionsE422(v *XpubSyncInProgress) ListHDWalletXPubYPubZPubTransactionsE422 { - return ListHDWalletXPubYPubZPubTransactionsE422{ XpubSyncInProgress: v} + return ListHDWalletXPubYPubZPubTransactionsE422{ + XpubSyncInProgress: v, + } } @@ -38,7 +42,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE422) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidRequestBodyStructure - err = json.Unmarshal(data, &dst.InvalidRequestBodyStructure) + err = newStrictDecoder(data).Decode(&dst.InvalidRequestBodyStructure) if err == nil { jsonInvalidRequestBodyStructure, _ := json.Marshal(dst.InvalidRequestBodyStructure) if string(jsonInvalidRequestBodyStructure) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListHDWalletXPubYPubZPubTransactionsE422) UnmarshalJSON(data []byte) } // try to unmarshal data into XpubSyncInProgress - err = json.Unmarshal(data, &dst.XpubSyncInProgress) + err = newStrictDecoder(data).Decode(&dst.XpubSyncInProgress) if err == nil { jsonXpubSyncInProgress, _ := json.Marshal(dst.XpubSyncInProgress) if string(jsonXpubSyncInProgress) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListHDWalletXPubYPubZPubTransactionsE422) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListHDWalletXPubYPubZPubTransactionsE422) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidRequestBodyStructure != nil { return obj.InvalidRequestBodyStructure } diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_r.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_r.go index bc36f41..ee96067 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_r.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_r.go @@ -59,7 +59,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsR) GetData() ListHDWalletXPubYPubZP // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsR) GetDataOk() (*ListHDWalletXPubYPubZPubTransactionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_r_data.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_r_data.go index c5002c2..74dc5dd 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_r_data.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_r_data.go @@ -17,10 +17,10 @@ import ( // ListHDWalletXPubYPubZPubTransactionsRData struct for ListHDWalletXPubYPubZPubTransactionsRData type ListHDWalletXPubYPubZPubTransactionsRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListHDWalletXPubYPubZPubTransactionsRI `json:"items"` @@ -30,10 +30,10 @@ type ListHDWalletXPubYPubZPubTransactionsRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListHDWalletXPubYPubZPubTransactionsRData(offset int32, limit int32, total int32, items []ListHDWalletXPubYPubZPubTransactionsRI) *ListHDWalletXPubYPubZPubTransactionsRData { +func NewListHDWalletXPubYPubZPubTransactionsRData(limit int32, offset int32, total int32, items []ListHDWalletXPubYPubZPubTransactionsRI) *ListHDWalletXPubYPubZPubTransactionsRData { this := ListHDWalletXPubYPubZPubTransactionsRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListHDWalletXPubYPubZPubTransactionsRDataWithDefaults() *ListHDWalletXPu return &this } -// GetOffset returns the Offset field value -func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetItems() []ListHDWalletXPu // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetItemsOk() (*[]ListHDWalletXPubYPubZPubTransactionsRI, bool) { - if o == nil { +func (o *ListHDWalletXPubYPubZPubTransactionsRData) GetItemsOk() ([]ListHDWalletXPubYPubZPubTransactionsRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRData) SetItems(v []ListHDWalletXPu func (o ListHDWalletXPubYPubZPubTransactionsRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri.go index d0e5bc2..fa30387 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri.go @@ -75,7 +75,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -99,7 +99,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -123,7 +123,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -146,11 +146,11 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetRecipients() []ListHDWalletX // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetRecipientsOk() (*[]ListHDWalletXPubYPubZPubTransactionsRIRecipients, bool) { - if o == nil { +func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetRecipientsOk() ([]ListHDWalletXPubYPubZPubTransactionsRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -170,11 +170,11 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetSenders() []ListHDWalletXPub // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetSendersOk() (*[]ListHDWalletXPubYPubZPubTransactionsRISenders, bool) { - if o == nil { +func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetSendersOk() ([]ListHDWalletXPubYPubZPubTransactionsRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -195,7 +195,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -219,7 +219,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -243,7 +243,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -267,7 +267,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetFee() ListHDWalletXPubYPubZP // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRI) GetFeeOk() (*ListHDWalletXPubYPubZPubTransactionsRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_fee.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_fee.go index 947e483..24de4c5 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_fee.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_fee.go @@ -52,7 +52,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_recipients.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_recipients.go index 719ddb7..669bfe1 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_recipients.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_recipients.go @@ -58,7 +58,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -82,7 +82,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -106,7 +106,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRIRecipients) GetIsMember() bool { // GetIsMemberOk returns a tuple with the IsMember field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRIRecipients) GetIsMemberOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsMember, true diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_senders.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_senders.go index 45af7a4..c5979ff 100644 --- a/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_senders.go +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_transactions_ri_senders.go @@ -58,7 +58,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -82,7 +82,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -106,7 +106,7 @@ func (o *ListHDWalletXPubYPubZPubTransactionsRISenders) GetIsMember() bool { // GetIsMemberOk returns a tuple with the IsMember field value // and a boolean to check if the value has been set. func (o *ListHDWalletXPubYPubZPubTransactionsRISenders) GetIsMemberOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsMember, true diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e400.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e400.go new file mode 100644 index 0000000..24d3049 --- /dev/null +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e400.go @@ -0,0 +1,239 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListHDWalletXPubYPubZPubUTXOsE400 - struct for ListHDWalletXPubYPubZPubUTXOsE400 +type ListHDWalletXPubYPubZPubUTXOsE400 struct { + InvalidPagination *InvalidPagination + InvalidXpub *InvalidXpub + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound + XpubNotSynced *XpubNotSynced +} + +// InvalidPaginationAsListHDWalletXPubYPubZPubUTXOsE400 is a convenience function that returns InvalidPagination wrapped in ListHDWalletXPubYPubZPubUTXOsE400 +func InvalidPaginationAsListHDWalletXPubYPubZPubUTXOsE400(v *InvalidPagination) ListHDWalletXPubYPubZPubUTXOsE400 { + return ListHDWalletXPubYPubZPubUTXOsE400{ + InvalidPagination: v, + } +} + +// InvalidXpubAsListHDWalletXPubYPubZPubUTXOsE400 is a convenience function that returns InvalidXpub wrapped in ListHDWalletXPubYPubZPubUTXOsE400 +func InvalidXpubAsListHDWalletXPubYPubZPubUTXOsE400(v *InvalidXpub) ListHDWalletXPubYPubZPubUTXOsE400 { + return ListHDWalletXPubYPubZPubUTXOsE400{ + InvalidXpub: v, + } +} + +// LimitGreaterThanAllowedAsListHDWalletXPubYPubZPubUTXOsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListHDWalletXPubYPubZPubUTXOsE400 +func LimitGreaterThanAllowedAsListHDWalletXPubYPubZPubUTXOsE400(v *LimitGreaterThanAllowed) ListHDWalletXPubYPubZPubUTXOsE400 { + return ListHDWalletXPubYPubZPubUTXOsE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsListHDWalletXPubYPubZPubUTXOsE400 is a convenience function that returns UriNotFound wrapped in ListHDWalletXPubYPubZPubUTXOsE400 +func UriNotFoundAsListHDWalletXPubYPubZPubUTXOsE400(v *UriNotFound) ListHDWalletXPubYPubZPubUTXOsE400 { + return ListHDWalletXPubYPubZPubUTXOsE400{ + UriNotFound: v, + } +} + +// XpubNotSyncedAsListHDWalletXPubYPubZPubUTXOsE400 is a convenience function that returns XpubNotSynced wrapped in ListHDWalletXPubYPubZPubUTXOsE400 +func XpubNotSyncedAsListHDWalletXPubYPubZPubUTXOsE400(v *XpubNotSynced) ListHDWalletXPubYPubZPubUTXOsE400 { + return ListHDWalletXPubYPubZPubUTXOsE400{ + XpubNotSynced: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListHDWalletXPubYPubZPubUTXOsE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into InvalidXpub + err = newStrictDecoder(data).Decode(&dst.InvalidXpub) + if err == nil { + jsonInvalidXpub, _ := json.Marshal(dst.InvalidXpub) + if string(jsonInvalidXpub) == "{}" { // empty struct + dst.InvalidXpub = nil + } else { + match++ + } + } else { + dst.InvalidXpub = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + // try to unmarshal data into XpubNotSynced + err = newStrictDecoder(data).Decode(&dst.XpubNotSynced) + if err == nil { + jsonXpubNotSynced, _ := json.Marshal(dst.XpubNotSynced) + if string(jsonXpubNotSynced) == "{}" { // empty struct + dst.XpubNotSynced = nil + } else { + match++ + } + } else { + dst.XpubNotSynced = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.InvalidXpub = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + dst.XpubNotSynced = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListHDWalletXPubYPubZPubUTXOsE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListHDWalletXPubYPubZPubUTXOsE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListHDWalletXPubYPubZPubUTXOsE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.InvalidXpub != nil { + return json.Marshal(&src.InvalidXpub) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + if src.XpubNotSynced != nil { + return json.Marshal(&src.XpubNotSynced) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListHDWalletXPubYPubZPubUTXOsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.InvalidXpub != nil { + return obj.InvalidXpub + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + if obj.XpubNotSynced != nil { + return obj.XpubNotSynced + } + + // all schemas are nil + return nil +} + +type NullableListHDWalletXPubYPubZPubUTXOsE400 struct { + value *ListHDWalletXPubYPubZPubUTXOsE400 + isSet bool +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE400) Get() *ListHDWalletXPubYPubZPubUTXOsE400 { + return v.value +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE400) Set(val *ListHDWalletXPubYPubZPubUTXOsE400) { + v.value = val + v.isSet = true +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE400) IsSet() bool { + return v.isSet +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListHDWalletXPubYPubZPubUTXOsE400(val *ListHDWalletXPubYPubZPubUTXOsE400) *NullableListHDWalletXPubYPubZPubUTXOsE400 { + return &NullableListHDWalletXPubYPubZPubUTXOsE400{value: val, isSet: true} +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e401.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e401.go new file mode 100644 index 0000000..6cfed56 --- /dev/null +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListHDWalletXPubYPubZPubUTXOsE401 - struct for ListHDWalletXPubYPubZPubUTXOsE401 +type ListHDWalletXPubYPubZPubUTXOsE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsListHDWalletXPubYPubZPubUTXOsE401 is a convenience function that returns InvalidApiKey wrapped in ListHDWalletXPubYPubZPubUTXOsE401 +func InvalidApiKeyAsListHDWalletXPubYPubZPubUTXOsE401(v *InvalidApiKey) ListHDWalletXPubYPubZPubUTXOsE401 { + return ListHDWalletXPubYPubZPubUTXOsE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsListHDWalletXPubYPubZPubUTXOsE401 is a convenience function that returns MissingApiKey wrapped in ListHDWalletXPubYPubZPubUTXOsE401 +func MissingApiKeyAsListHDWalletXPubYPubZPubUTXOsE401(v *MissingApiKey) ListHDWalletXPubYPubZPubUTXOsE401 { + return ListHDWalletXPubYPubZPubUTXOsE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListHDWalletXPubYPubZPubUTXOsE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListHDWalletXPubYPubZPubUTXOsE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListHDWalletXPubYPubZPubUTXOsE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListHDWalletXPubYPubZPubUTXOsE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListHDWalletXPubYPubZPubUTXOsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableListHDWalletXPubYPubZPubUTXOsE401 struct { + value *ListHDWalletXPubYPubZPubUTXOsE401 + isSet bool +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE401) Get() *ListHDWalletXPubYPubZPubUTXOsE401 { + return v.value +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE401) Set(val *ListHDWalletXPubYPubZPubUTXOsE401) { + v.value = val + v.isSet = true +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE401) IsSet() bool { + return v.isSet +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListHDWalletXPubYPubZPubUTXOsE401(val *ListHDWalletXPubYPubZPubUTXOsE401) *NullableListHDWalletXPubYPubZPubUTXOsE401 { + return &NullableListHDWalletXPubYPubZPubUTXOsE401{value: val, isSet: true} +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e403.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e403.go new file mode 100644 index 0000000..bbb1015 --- /dev/null +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListHDWalletXPubYPubZPubUTXOsE403 - struct for ListHDWalletXPubYPubZPubUTXOsE403 +type ListHDWalletXPubYPubZPubUTXOsE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsListHDWalletXPubYPubZPubUTXOsE403 is a convenience function that returns BannedIpAddress wrapped in ListHDWalletXPubYPubZPubUTXOsE403 +func BannedIpAddressAsListHDWalletXPubYPubZPubUTXOsE403(v *BannedIpAddress) ListHDWalletXPubYPubZPubUTXOsE403 { + return ListHDWalletXPubYPubZPubUTXOsE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsListHDWalletXPubYPubZPubUTXOsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListHDWalletXPubYPubZPubUTXOsE403 +func EndpointNotAllowedForApiKeyAsListHDWalletXPubYPubZPubUTXOsE403(v *EndpointNotAllowedForApiKey) ListHDWalletXPubYPubZPubUTXOsE403 { + return ListHDWalletXPubYPubZPubUTXOsE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsListHDWalletXPubYPubZPubUTXOsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListHDWalletXPubYPubZPubUTXOsE403 +func EndpointNotAllowedForPlanAsListHDWalletXPubYPubZPubUTXOsE403(v *EndpointNotAllowedForPlan) ListHDWalletXPubYPubZPubUTXOsE403 { + return ListHDWalletXPubYPubZPubUTXOsE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsListHDWalletXPubYPubZPubUTXOsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListHDWalletXPubYPubZPubUTXOsE403 +func FeatureMainnetsNotAllowedForPlanAsListHDWalletXPubYPubZPubUTXOsE403(v *FeatureMainnetsNotAllowedForPlan) ListHDWalletXPubYPubZPubUTXOsE403 { + return ListHDWalletXPubYPubZPubUTXOsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListHDWalletXPubYPubZPubUTXOsE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListHDWalletXPubYPubZPubUTXOsE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListHDWalletXPubYPubZPubUTXOsE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListHDWalletXPubYPubZPubUTXOsE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListHDWalletXPubYPubZPubUTXOsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableListHDWalletXPubYPubZPubUTXOsE403 struct { + value *ListHDWalletXPubYPubZPubUTXOsE403 + isSet bool +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE403) Get() *ListHDWalletXPubYPubZPubUTXOsE403 { + return v.value +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE403) Set(val *ListHDWalletXPubYPubZPubUTXOsE403) { + v.value = val + v.isSet = true +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE403) IsSet() bool { + return v.isSet +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListHDWalletXPubYPubZPubUTXOsE403(val *ListHDWalletXPubYPubZPubUTXOsE403) *NullableListHDWalletXPubYPubZPubUTXOsE403 { + return &NullableListHDWalletXPubYPubZPubUTXOsE403{value: val, isSet: true} +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e422.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e422.go new file mode 100644 index 0000000..eb72550 --- /dev/null +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_e422.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListHDWalletXPubYPubZPubUTXOsE422 - struct for ListHDWalletXPubYPubZPubUTXOsE422 +type ListHDWalletXPubYPubZPubUTXOsE422 struct { + InvalidRequestBodyStructure *InvalidRequestBodyStructure + XpubSyncInProgress *XpubSyncInProgress +} + +// InvalidRequestBodyStructureAsListHDWalletXPubYPubZPubUTXOsE422 is a convenience function that returns InvalidRequestBodyStructure wrapped in ListHDWalletXPubYPubZPubUTXOsE422 +func InvalidRequestBodyStructureAsListHDWalletXPubYPubZPubUTXOsE422(v *InvalidRequestBodyStructure) ListHDWalletXPubYPubZPubUTXOsE422 { + return ListHDWalletXPubYPubZPubUTXOsE422{ + InvalidRequestBodyStructure: v, + } +} + +// XpubSyncInProgressAsListHDWalletXPubYPubZPubUTXOsE422 is a convenience function that returns XpubSyncInProgress wrapped in ListHDWalletXPubYPubZPubUTXOsE422 +func XpubSyncInProgressAsListHDWalletXPubYPubZPubUTXOsE422(v *XpubSyncInProgress) ListHDWalletXPubYPubZPubUTXOsE422 { + return ListHDWalletXPubYPubZPubUTXOsE422{ + XpubSyncInProgress: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListHDWalletXPubYPubZPubUTXOsE422) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidRequestBodyStructure + err = newStrictDecoder(data).Decode(&dst.InvalidRequestBodyStructure) + if err == nil { + jsonInvalidRequestBodyStructure, _ := json.Marshal(dst.InvalidRequestBodyStructure) + if string(jsonInvalidRequestBodyStructure) == "{}" { // empty struct + dst.InvalidRequestBodyStructure = nil + } else { + match++ + } + } else { + dst.InvalidRequestBodyStructure = nil + } + + // try to unmarshal data into XpubSyncInProgress + err = newStrictDecoder(data).Decode(&dst.XpubSyncInProgress) + if err == nil { + jsonXpubSyncInProgress, _ := json.Marshal(dst.XpubSyncInProgress) + if string(jsonXpubSyncInProgress) == "{}" { // empty struct + dst.XpubSyncInProgress = nil + } else { + match++ + } + } else { + dst.XpubSyncInProgress = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidRequestBodyStructure = nil + dst.XpubSyncInProgress = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListHDWalletXPubYPubZPubUTXOsE422)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListHDWalletXPubYPubZPubUTXOsE422)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListHDWalletXPubYPubZPubUTXOsE422) MarshalJSON() ([]byte, error) { + if src.InvalidRequestBodyStructure != nil { + return json.Marshal(&src.InvalidRequestBodyStructure) + } + + if src.XpubSyncInProgress != nil { + return json.Marshal(&src.XpubSyncInProgress) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListHDWalletXPubYPubZPubUTXOsE422) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidRequestBodyStructure != nil { + return obj.InvalidRequestBodyStructure + } + + if obj.XpubSyncInProgress != nil { + return obj.XpubSyncInProgress + } + + // all schemas are nil + return nil +} + +type NullableListHDWalletXPubYPubZPubUTXOsE422 struct { + value *ListHDWalletXPubYPubZPubUTXOsE422 + isSet bool +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE422) Get() *ListHDWalletXPubYPubZPubUTXOsE422 { + return v.value +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE422) Set(val *ListHDWalletXPubYPubZPubUTXOsE422) { + v.value = val + v.isSet = true +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE422) IsSet() bool { + return v.isSet +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE422) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListHDWalletXPubYPubZPubUTXOsE422(val *ListHDWalletXPubYPubZPubUTXOsE422) *NullableListHDWalletXPubYPubZPubUTXOsE422 { + return &NullableListHDWalletXPubYPubZPubUTXOsE422{value: val, isSet: true} +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsE422) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsE422) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_r.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_r.go new file mode 100644 index 0000000..b995962 --- /dev/null +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListHDWalletXPubYPubZPubUTXOsR struct for ListHDWalletXPubYPubZPubUTXOsR +type ListHDWalletXPubYPubZPubUTXOsR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data ListHDWalletXPubYPubZPubUTXOsRData `json:"data"` +} + +// NewListHDWalletXPubYPubZPubUTXOsR instantiates a new ListHDWalletXPubYPubZPubUTXOsR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListHDWalletXPubYPubZPubUTXOsR(apiVersion string, requestId string, data ListHDWalletXPubYPubZPubUTXOsRData) *ListHDWalletXPubYPubZPubUTXOsR { + this := ListHDWalletXPubYPubZPubUTXOsR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewListHDWalletXPubYPubZPubUTXOsRWithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListHDWalletXPubYPubZPubUTXOsRWithDefaults() *ListHDWalletXPubYPubZPubUTXOsR { + this := ListHDWalletXPubYPubZPubUTXOsR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *ListHDWalletXPubYPubZPubUTXOsR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *ListHDWalletXPubYPubZPubUTXOsR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *ListHDWalletXPubYPubZPubUTXOsR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *ListHDWalletXPubYPubZPubUTXOsR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *ListHDWalletXPubYPubZPubUTXOsR) GetData() ListHDWalletXPubYPubZPubUTXOsRData { + if o == nil { + var ret ListHDWalletXPubYPubZPubUTXOsRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsR) GetDataOk() (*ListHDWalletXPubYPubZPubUTXOsRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsR) SetData(v ListHDWalletXPubYPubZPubUTXOsRData) { + o.Data = v +} + +func (o ListHDWalletXPubYPubZPubUTXOsR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableListHDWalletXPubYPubZPubUTXOsR struct { + value *ListHDWalletXPubYPubZPubUTXOsR + isSet bool +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsR) Get() *ListHDWalletXPubYPubZPubUTXOsR { + return v.value +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsR) Set(val *ListHDWalletXPubYPubZPubUTXOsR) { + v.value = val + v.isSet = true +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsR) IsSet() bool { + return v.isSet +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListHDWalletXPubYPubZPubUTXOsR(val *ListHDWalletXPubYPubZPubUTXOsR) *NullableListHDWalletXPubYPubZPubUTXOsR { + return &NullableListHDWalletXPubYPubZPubUTXOsR{value: val, isSet: true} +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_r_data.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_r_data.go new file mode 100644 index 0000000..6d5b4e2 --- /dev/null +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_r_data.go @@ -0,0 +1,199 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListHDWalletXPubYPubZPubUTXOsRData struct for ListHDWalletXPubYPubZPubUTXOsRData +type ListHDWalletXPubYPubZPubUTXOsRData struct { + // Defines how many items should be returned in the response per page basis. + Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` + // Defines the total number of items returned in the response. + Total int32 `json:"total"` + Items []ListHDWalletXPubYPubZPubUTXOsRI `json:"items"` +} + +// NewListHDWalletXPubYPubZPubUTXOsRData instantiates a new ListHDWalletXPubYPubZPubUTXOsRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListHDWalletXPubYPubZPubUTXOsRData(limit int32, offset int32, total int32, items []ListHDWalletXPubYPubZPubUTXOsRI) *ListHDWalletXPubYPubZPubUTXOsRData { + this := ListHDWalletXPubYPubZPubUTXOsRData{} + this.Limit = limit + this.Offset = offset + this.Total = total + this.Items = items + return &this +} + +// NewListHDWalletXPubYPubZPubUTXOsRDataWithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListHDWalletXPubYPubZPubUTXOsRDataWithDefaults() *ListHDWalletXPubYPubZPubUTXOsRData { + this := ListHDWalletXPubYPubZPubUTXOsRData{} + return &this +} + +// GetLimit returns the Limit field value +func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Limit, true +} + +// SetLimit sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRData) SetLimit(v int32) { + o.Limit = v +} + +// GetOffset returns the Offset field value +func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetOffset() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Offset +} + +// GetOffsetOk returns a tuple with the Offset field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetOffsetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Offset, true +} + +// SetOffset sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRData) SetOffset(v int32) { + o.Offset = v +} + +// GetTotal returns the Total field value +func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetTotal() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetTotalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRData) SetTotal(v int32) { + o.Total = v +} + +// GetItems returns the Items field value +func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetItems() []ListHDWalletXPubYPubZPubUTXOsRI { + if o == nil { + var ret []ListHDWalletXPubYPubZPubUTXOsRI + return ret + } + + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRData) GetItemsOk() ([]ListHDWalletXPubYPubZPubUTXOsRI, bool) { + if o == nil { + return nil, false + } + return o.Items, true +} + +// SetItems sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRData) SetItems(v []ListHDWalletXPubYPubZPubUTXOsRI) { + o.Items = v +} + +func (o ListHDWalletXPubYPubZPubUTXOsRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["limit"] = o.Limit + } + if true { + toSerialize["offset"] = o.Offset + } + if true { + toSerialize["total"] = o.Total + } + if true { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableListHDWalletXPubYPubZPubUTXOsRData struct { + value *ListHDWalletXPubYPubZPubUTXOsRData + isSet bool +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsRData) Get() *ListHDWalletXPubYPubZPubUTXOsRData { + return v.value +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsRData) Set(val *ListHDWalletXPubYPubZPubUTXOsRData) { + v.value = val + v.isSet = true +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsRData) IsSet() bool { + return v.isSet +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListHDWalletXPubYPubZPubUTXOsRData(val *ListHDWalletXPubYPubZPubUTXOsRData) *NullableListHDWalletXPubYPubZPubUTXOsRData { + return &NullableListHDWalletXPubYPubZPubUTXOsRData{value: val, isSet: true} +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_ri.go b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_ri.go new file mode 100644 index 0000000..180ed7d --- /dev/null +++ b/model_list_hd_wallet_x_pub_y_pub_z_pub_utxos_ri.go @@ -0,0 +1,350 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListHDWalletXPubYPubZPubUTXOsRI struct for ListHDWalletXPubYPubZPubUTXOsRI +type ListHDWalletXPubYPubZPubUTXOsRI struct { + // Represents the public address, which is a compressed and shortened form of a public key. + Address string `json:"address"` + // Defines a data which tells a Hierarchical Deterministic wallet how to derive a specific key within a tree of keys. + AddressPath string `json:"addressPath"` + // Represents the UTXO amount value. + Amount string `json:"amount"` + // The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly. + Derivation string `json:"derivation"` + // Represents the output index. It refers to the UTXO sequence in the transaction outputs (vout). + Index int32 `json:"index"` + // Represents if the UTXO has been used from another unconfirmed transaction. If it is - the value will be \"false\". + IsAvailable bool `json:"isAvailable"` + // Represents the state of the transaction whether it is confirmed or not confirmed. + IsConfirmed bool `json:"isConfirmed"` + // Represents the reference id of the record. It may be used for the startingAfter pagination attribute. + ReferenceId string `json:"referenceId"` + // Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain. + TransactionId string `json:"transactionId"` +} + +// NewListHDWalletXPubYPubZPubUTXOsRI instantiates a new ListHDWalletXPubYPubZPubUTXOsRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListHDWalletXPubYPubZPubUTXOsRI(address string, addressPath string, amount string, derivation string, index int32, isAvailable bool, isConfirmed bool, referenceId string, transactionId string) *ListHDWalletXPubYPubZPubUTXOsRI { + this := ListHDWalletXPubYPubZPubUTXOsRI{} + this.Address = address + this.AddressPath = addressPath + this.Amount = amount + this.Derivation = derivation + this.Index = index + this.IsAvailable = isAvailable + this.IsConfirmed = isConfirmed + this.ReferenceId = referenceId + this.TransactionId = transactionId + return &this +} + +// NewListHDWalletXPubYPubZPubUTXOsRIWithDefaults instantiates a new ListHDWalletXPubYPubZPubUTXOsRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListHDWalletXPubYPubZPubUTXOsRIWithDefaults() *ListHDWalletXPubYPubZPubUTXOsRI { + this := ListHDWalletXPubYPubZPubUTXOsRI{} + return &this +} + +// GetAddress returns the Address field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetAddress(v string) { + o.Address = v +} + +// GetAddressPath returns the AddressPath field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAddressPath() string { + if o == nil { + var ret string + return ret + } + + return o.AddressPath +} + +// GetAddressPathOk returns a tuple with the AddressPath field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAddressPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AddressPath, true +} + +// SetAddressPath sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetAddressPath(v string) { + o.AddressPath = v +} + +// GetAmount returns the Amount field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAmount() string { + if o == nil { + var ret string + return ret + } + + return o.Amount +} + +// GetAmountOk returns a tuple with the Amount field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetAmountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Amount, true +} + +// SetAmount sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetAmount(v string) { + o.Amount = v +} + +// GetDerivation returns the Derivation field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetDerivation() string { + if o == nil { + var ret string + return ret + } + + return o.Derivation +} + +// GetDerivationOk returns a tuple with the Derivation field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetDerivationOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Derivation, true +} + +// SetDerivation sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetDerivation(v string) { + o.Derivation = v +} + +// GetIndex returns the Index field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIndex() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Index +} + +// GetIndexOk returns a tuple with the Index field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Index, true +} + +// SetIndex sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetIndex(v int32) { + o.Index = v +} + +// GetIsAvailable returns the IsAvailable field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIsAvailable() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsAvailable +} + +// GetIsAvailableOk returns a tuple with the IsAvailable field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIsAvailableOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsAvailable, true +} + +// SetIsAvailable sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetIsAvailable(v bool) { + o.IsAvailable = v +} + +// GetIsConfirmed returns the IsConfirmed field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIsConfirmed() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsConfirmed +} + +// GetIsConfirmedOk returns a tuple with the IsConfirmed field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetIsConfirmedOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsConfirmed, true +} + +// SetIsConfirmed sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetIsConfirmed(v bool) { + o.IsConfirmed = v +} + +// GetReferenceId returns the ReferenceId field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetReferenceId() string { + if o == nil { + var ret string + return ret + } + + return o.ReferenceId +} + +// GetReferenceIdOk returns a tuple with the ReferenceId field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetReferenceIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ReferenceId, true +} + +// SetReferenceId sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetReferenceId(v string) { + o.ReferenceId = v +} + +// GetTransactionId returns the TransactionId field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetTransactionId() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionId +} + +// GetTransactionIdOk returns a tuple with the TransactionId field value +// and a boolean to check if the value has been set. +func (o *ListHDWalletXPubYPubZPubUTXOsRI) GetTransactionIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionId, true +} + +// SetTransactionId sets field value +func (o *ListHDWalletXPubYPubZPubUTXOsRI) SetTransactionId(v string) { + o.TransactionId = v +} + +func (o ListHDWalletXPubYPubZPubUTXOsRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["address"] = o.Address + } + if true { + toSerialize["addressPath"] = o.AddressPath + } + if true { + toSerialize["amount"] = o.Amount + } + if true { + toSerialize["derivation"] = o.Derivation + } + if true { + toSerialize["index"] = o.Index + } + if true { + toSerialize["isAvailable"] = o.IsAvailable + } + if true { + toSerialize["isConfirmed"] = o.IsConfirmed + } + if true { + toSerialize["referenceId"] = o.ReferenceId + } + if true { + toSerialize["transactionId"] = o.TransactionId + } + return json.Marshal(toSerialize) +} + +type NullableListHDWalletXPubYPubZPubUTXOsRI struct { + value *ListHDWalletXPubYPubZPubUTXOsRI + isSet bool +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsRI) Get() *ListHDWalletXPubYPubZPubUTXOsRI { + return v.value +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsRI) Set(val *ListHDWalletXPubYPubZPubUTXOsRI) { + v.value = val + v.isSet = true +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsRI) IsSet() bool { + return v.isSet +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListHDWalletXPubYPubZPubUTXOsRI(val *ListHDWalletXPubYPubZPubUTXOsRI) *NullableListHDWalletXPubYPubZPubUTXOsRI { + return &NullableListHDWalletXPubYPubZPubUTXOsRI{value: val, isSet: true} +} + +func (v NullableListHDWalletXPubYPubZPubUTXOsRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListHDWalletXPubYPubZPubUTXOsRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_internal_transaction_details_by_transaction_hash_e400.go b/model_list_internal_transaction_details_by_transaction_hash_e400.go index c0b22c2..36926e1 100644 --- a/model_list_internal_transaction_details_by_transaction_hash_e400.go +++ b/model_list_internal_transaction_details_by_transaction_hash_e400.go @@ -25,17 +25,23 @@ type ListInternalTransactionDetailsByTransactionHashE400 struct { // InvalidPaginationAsListInternalTransactionDetailsByTransactionHashE400 is a convenience function that returns InvalidPagination wrapped in ListInternalTransactionDetailsByTransactionHashE400 func InvalidPaginationAsListInternalTransactionDetailsByTransactionHashE400(v *InvalidPagination) ListInternalTransactionDetailsByTransactionHashE400 { - return ListInternalTransactionDetailsByTransactionHashE400{ InvalidPagination: v} + return ListInternalTransactionDetailsByTransactionHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListInternalTransactionDetailsByTransactionHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListInternalTransactionDetailsByTransactionHashE400 func LimitGreaterThanAllowedAsListInternalTransactionDetailsByTransactionHashE400(v *LimitGreaterThanAllowed) ListInternalTransactionDetailsByTransactionHashE400 { - return ListInternalTransactionDetailsByTransactionHashE400{ LimitGreaterThanAllowed: v} + return ListInternalTransactionDetailsByTransactionHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListInternalTransactionDetailsByTransactionHashE400 is a convenience function that returns UriNotFound wrapped in ListInternalTransactionDetailsByTransactionHashE400 func UriNotFoundAsListInternalTransactionDetailsByTransactionHashE400(v *UriNotFound) ListInternalTransactionDetailsByTransactionHashE400 { - return ListInternalTransactionDetailsByTransactionHashE400{ UriNotFound: v} + return ListInternalTransactionDetailsByTransactionHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE400) UnmarshalJSON(da var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE400) UnmarshalJSON(da } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE400) UnmarshalJSON(da } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListInternalTransactionDetailsByTransactionHashE400) MarshalJSON() ([] // Get the actual instance func (obj *ListInternalTransactionDetailsByTransactionHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_internal_transaction_details_by_transaction_hash_e401.go b/model_list_internal_transaction_details_by_transaction_hash_e401.go index 659682e..4ea994d 100644 --- a/model_list_internal_transaction_details_by_transaction_hash_e401.go +++ b/model_list_internal_transaction_details_by_transaction_hash_e401.go @@ -24,12 +24,16 @@ type ListInternalTransactionDetailsByTransactionHashE401 struct { // InvalidApiKeyAsListInternalTransactionDetailsByTransactionHashE401 is a convenience function that returns InvalidApiKey wrapped in ListInternalTransactionDetailsByTransactionHashE401 func InvalidApiKeyAsListInternalTransactionDetailsByTransactionHashE401(v *InvalidApiKey) ListInternalTransactionDetailsByTransactionHashE401 { - return ListInternalTransactionDetailsByTransactionHashE401{ InvalidApiKey: v} + return ListInternalTransactionDetailsByTransactionHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListInternalTransactionDetailsByTransactionHashE401 is a convenience function that returns MissingApiKey wrapped in ListInternalTransactionDetailsByTransactionHashE401 func MissingApiKeyAsListInternalTransactionDetailsByTransactionHashE401(v *MissingApiKey) ListInternalTransactionDetailsByTransactionHashE401 { - return ListInternalTransactionDetailsByTransactionHashE401{ MissingApiKey: v} + return ListInternalTransactionDetailsByTransactionHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE401) UnmarshalJSON(da var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE401) UnmarshalJSON(da } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListInternalTransactionDetailsByTransactionHashE401) MarshalJSON() ([] // Get the actual instance func (obj *ListInternalTransactionDetailsByTransactionHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_internal_transaction_details_by_transaction_hash_e403.go b/model_list_internal_transaction_details_by_transaction_hash_e403.go index d18dc92..d827ece 100644 --- a/model_list_internal_transaction_details_by_transaction_hash_e403.go +++ b/model_list_internal_transaction_details_by_transaction_hash_e403.go @@ -26,22 +26,30 @@ type ListInternalTransactionDetailsByTransactionHashE403 struct { // BannedIpAddressAsListInternalTransactionDetailsByTransactionHashE403 is a convenience function that returns BannedIpAddress wrapped in ListInternalTransactionDetailsByTransactionHashE403 func BannedIpAddressAsListInternalTransactionDetailsByTransactionHashE403(v *BannedIpAddress) ListInternalTransactionDetailsByTransactionHashE403 { - return ListInternalTransactionDetailsByTransactionHashE403{ BannedIpAddress: v} + return ListInternalTransactionDetailsByTransactionHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListInternalTransactionDetailsByTransactionHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListInternalTransactionDetailsByTransactionHashE403 func EndpointNotAllowedForApiKeyAsListInternalTransactionDetailsByTransactionHashE403(v *EndpointNotAllowedForApiKey) ListInternalTransactionDetailsByTransactionHashE403 { - return ListInternalTransactionDetailsByTransactionHashE403{ EndpointNotAllowedForApiKey: v} + return ListInternalTransactionDetailsByTransactionHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListInternalTransactionDetailsByTransactionHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListInternalTransactionDetailsByTransactionHashE403 func EndpointNotAllowedForPlanAsListInternalTransactionDetailsByTransactionHashE403(v *EndpointNotAllowedForPlan) ListInternalTransactionDetailsByTransactionHashE403 { - return ListInternalTransactionDetailsByTransactionHashE403{ EndpointNotAllowedForPlan: v} + return ListInternalTransactionDetailsByTransactionHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListInternalTransactionDetailsByTransactionHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListInternalTransactionDetailsByTransactionHashE403 func FeatureMainnetsNotAllowedForPlanAsListInternalTransactionDetailsByTransactionHashE403(v *FeatureMainnetsNotAllowedForPlan) ListInternalTransactionDetailsByTransactionHashE403 { - return ListInternalTransactionDetailsByTransactionHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListInternalTransactionDetailsByTransactionHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE403) UnmarshalJSON(da var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE403) UnmarshalJSON(da } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE403) UnmarshalJSON(da } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListInternalTransactionDetailsByTransactionHashE403) UnmarshalJSON(da } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListInternalTransactionDetailsByTransactionHashE403) MarshalJSON() ([] // Get the actual instance func (obj *ListInternalTransactionDetailsByTransactionHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_internal_transaction_details_by_transaction_hash_r.go b/model_list_internal_transaction_details_by_transaction_hash_r.go index b84b49c..028d733 100644 --- a/model_list_internal_transaction_details_by_transaction_hash_r.go +++ b/model_list_internal_transaction_details_by_transaction_hash_r.go @@ -59,7 +59,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashR) GetApiVersion() strin // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashR) GetRequestId() string // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashR) GetData() ListInterna // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashR) GetDataOk() (*ListInternalTransactionDetailsByTransactionHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_internal_transaction_details_by_transaction_hash_r_data.go b/model_list_internal_transaction_details_by_transaction_hash_r_data.go index 8b872c1..7c7dcf8 100644 --- a/model_list_internal_transaction_details_by_transaction_hash_r_data.go +++ b/model_list_internal_transaction_details_by_transaction_hash_r_data.go @@ -17,10 +17,10 @@ import ( // ListInternalTransactionDetailsByTransactionHashRData struct for ListInternalTransactionDetailsByTransactionHashRData type ListInternalTransactionDetailsByTransactionHashRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListInternalTransactionDetailsByTransactionHashRI `json:"items"` @@ -30,10 +30,10 @@ type ListInternalTransactionDetailsByTransactionHashRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListInternalTransactionDetailsByTransactionHashRData(offset int32, limit int32, total int32, items []ListInternalTransactionDetailsByTransactionHashRI) *ListInternalTransactionDetailsByTransactionHashRData { +func NewListInternalTransactionDetailsByTransactionHashRData(limit int32, offset int32, total int32, items []ListInternalTransactionDetailsByTransactionHashRI) *ListInternalTransactionDetailsByTransactionHashRData { this := ListInternalTransactionDetailsByTransactionHashRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListInternalTransactionDetailsByTransactionHashRDataWithDefaults() *List return &this } -// GetOffset returns the Offset field value -func (o *ListInternalTransactionDetailsByTransactionHashRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListInternalTransactionDetailsByTransactionHashRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListInternalTransactionDetailsByTransactionHashRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListInternalTransactionDetailsByTransactionHashRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListInternalTransactionDetailsByTransactionHashRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListInternalTransactionDetailsByTransactionHashRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListInternalTransactionDetailsByTransactionHashRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListInternalTransactionDetailsByTransactionHashRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListInternalTransactionDetailsByTransactionHashRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListInternalTransactionDetailsByTransactionHashRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListInternalTransactionDetailsByTransactionHashRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListInternalTransactionDetailsByTransactionHashRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRData) GetTotal() int32 // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListInternalTransactionDetailsByTransactionHashRData) GetItems() []List // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListInternalTransactionDetailsByTransactionHashRData) GetItemsOk() (*[]ListInternalTransactionDetailsByTransactionHashRI, bool) { - if o == nil { +func (o *ListInternalTransactionDetailsByTransactionHashRData) GetItemsOk() ([]ListInternalTransactionDetailsByTransactionHashRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListInternalTransactionDetailsByTransactionHashRData) SetItems(v []List func (o ListInternalTransactionDetailsByTransactionHashRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_internal_transaction_details_by_transaction_hash_ri.go b/model_list_internal_transaction_details_by_transaction_hash_ri.go index 1f73634..356a4fa 100644 --- a/model_list_internal_transaction_details_by_transaction_hash_ri.go +++ b/model_list_internal_transaction_details_by_transaction_hash_ri.go @@ -76,7 +76,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -100,7 +100,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetBlockHash() strin // GetBlockHashOk returns a tuple with the BlockHash field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHash, true @@ -124,7 +124,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetBlockHeight() int // GetBlockHeightOk returns a tuple with the BlockHeight field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockHeight, true @@ -148,7 +148,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetOperationID() str // GetOperationIDOk returns a tuple with the OperationID field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetOperationIDOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OperationID, true @@ -172,7 +172,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetOperationType() s // GetOperationTypeOk returns a tuple with the OperationType field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetOperationTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OperationType, true @@ -196,7 +196,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetParentHash() stri // GetParentHashOk returns a tuple with the ParentHash field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetParentHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ParentHash, true @@ -220,7 +220,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetRecipient() strin // GetRecipientOk returns a tuple with the Recipient field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetRecipientOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Recipient, true @@ -244,7 +244,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetSender() string { // GetSenderOk returns a tuple with the Sender field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetSenderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sender, true @@ -268,7 +268,7 @@ func (o *ListInternalTransactionDetailsByTransactionHashRI) GetTimestamp() int32 // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionDetailsByTransactionHashRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_list_internal_transactions_by_address_and_time_range_e400.go b/model_list_internal_transactions_by_address_and_time_range_e400.go new file mode 100644 index 0000000..c997967 --- /dev/null +++ b/model_list_internal_transactions_by_address_and_time_range_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListInternalTransactionsByAddressAndTimeRangeE400 - struct for ListInternalTransactionsByAddressAndTimeRangeE400 +type ListInternalTransactionsByAddressAndTimeRangeE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsListInternalTransactionsByAddressAndTimeRangeE400 is a convenience function that returns InvalidPagination wrapped in ListInternalTransactionsByAddressAndTimeRangeE400 +func InvalidPaginationAsListInternalTransactionsByAddressAndTimeRangeE400(v *InvalidPagination) ListInternalTransactionsByAddressAndTimeRangeE400 { + return ListInternalTransactionsByAddressAndTimeRangeE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsListInternalTransactionsByAddressAndTimeRangeE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListInternalTransactionsByAddressAndTimeRangeE400 +func LimitGreaterThanAllowedAsListInternalTransactionsByAddressAndTimeRangeE400(v *LimitGreaterThanAllowed) ListInternalTransactionsByAddressAndTimeRangeE400 { + return ListInternalTransactionsByAddressAndTimeRangeE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsListInternalTransactionsByAddressAndTimeRangeE400 is a convenience function that returns UriNotFound wrapped in ListInternalTransactionsByAddressAndTimeRangeE400 +func UriNotFoundAsListInternalTransactionsByAddressAndTimeRangeE400(v *UriNotFound) ListInternalTransactionsByAddressAndTimeRangeE400 { + return ListInternalTransactionsByAddressAndTimeRangeE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListInternalTransactionsByAddressAndTimeRangeE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListInternalTransactionsByAddressAndTimeRangeE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListInternalTransactionsByAddressAndTimeRangeE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListInternalTransactionsByAddressAndTimeRangeE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListInternalTransactionsByAddressAndTimeRangeE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableListInternalTransactionsByAddressAndTimeRangeE400 struct { + value *ListInternalTransactionsByAddressAndTimeRangeE400 + isSet bool +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE400) Get() *ListInternalTransactionsByAddressAndTimeRangeE400 { + return v.value +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE400) Set(val *ListInternalTransactionsByAddressAndTimeRangeE400) { + v.value = val + v.isSet = true +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE400) IsSet() bool { + return v.isSet +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListInternalTransactionsByAddressAndTimeRangeE400(val *ListInternalTransactionsByAddressAndTimeRangeE400) *NullableListInternalTransactionsByAddressAndTimeRangeE400 { + return &NullableListInternalTransactionsByAddressAndTimeRangeE400{value: val, isSet: true} +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_internal_transactions_by_address_and_time_range_e401.go b/model_list_internal_transactions_by_address_and_time_range_e401.go new file mode 100644 index 0000000..504e703 --- /dev/null +++ b/model_list_internal_transactions_by_address_and_time_range_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListInternalTransactionsByAddressAndTimeRangeE401 - struct for ListInternalTransactionsByAddressAndTimeRangeE401 +type ListInternalTransactionsByAddressAndTimeRangeE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsListInternalTransactionsByAddressAndTimeRangeE401 is a convenience function that returns InvalidApiKey wrapped in ListInternalTransactionsByAddressAndTimeRangeE401 +func InvalidApiKeyAsListInternalTransactionsByAddressAndTimeRangeE401(v *InvalidApiKey) ListInternalTransactionsByAddressAndTimeRangeE401 { + return ListInternalTransactionsByAddressAndTimeRangeE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsListInternalTransactionsByAddressAndTimeRangeE401 is a convenience function that returns MissingApiKey wrapped in ListInternalTransactionsByAddressAndTimeRangeE401 +func MissingApiKeyAsListInternalTransactionsByAddressAndTimeRangeE401(v *MissingApiKey) ListInternalTransactionsByAddressAndTimeRangeE401 { + return ListInternalTransactionsByAddressAndTimeRangeE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListInternalTransactionsByAddressAndTimeRangeE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListInternalTransactionsByAddressAndTimeRangeE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListInternalTransactionsByAddressAndTimeRangeE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListInternalTransactionsByAddressAndTimeRangeE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListInternalTransactionsByAddressAndTimeRangeE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableListInternalTransactionsByAddressAndTimeRangeE401 struct { + value *ListInternalTransactionsByAddressAndTimeRangeE401 + isSet bool +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE401) Get() *ListInternalTransactionsByAddressAndTimeRangeE401 { + return v.value +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE401) Set(val *ListInternalTransactionsByAddressAndTimeRangeE401) { + v.value = val + v.isSet = true +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE401) IsSet() bool { + return v.isSet +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListInternalTransactionsByAddressAndTimeRangeE401(val *ListInternalTransactionsByAddressAndTimeRangeE401) *NullableListInternalTransactionsByAddressAndTimeRangeE401 { + return &NullableListInternalTransactionsByAddressAndTimeRangeE401{value: val, isSet: true} +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_internal_transactions_by_address_and_time_range_e403.go b/model_list_internal_transactions_by_address_and_time_range_e403.go new file mode 100644 index 0000000..2e66c72 --- /dev/null +++ b/model_list_internal_transactions_by_address_and_time_range_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListInternalTransactionsByAddressAndTimeRangeE403 - struct for ListInternalTransactionsByAddressAndTimeRangeE403 +type ListInternalTransactionsByAddressAndTimeRangeE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsListInternalTransactionsByAddressAndTimeRangeE403 is a convenience function that returns BannedIpAddress wrapped in ListInternalTransactionsByAddressAndTimeRangeE403 +func BannedIpAddressAsListInternalTransactionsByAddressAndTimeRangeE403(v *BannedIpAddress) ListInternalTransactionsByAddressAndTimeRangeE403 { + return ListInternalTransactionsByAddressAndTimeRangeE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsListInternalTransactionsByAddressAndTimeRangeE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListInternalTransactionsByAddressAndTimeRangeE403 +func EndpointNotAllowedForApiKeyAsListInternalTransactionsByAddressAndTimeRangeE403(v *EndpointNotAllowedForApiKey) ListInternalTransactionsByAddressAndTimeRangeE403 { + return ListInternalTransactionsByAddressAndTimeRangeE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsListInternalTransactionsByAddressAndTimeRangeE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListInternalTransactionsByAddressAndTimeRangeE403 +func EndpointNotAllowedForPlanAsListInternalTransactionsByAddressAndTimeRangeE403(v *EndpointNotAllowedForPlan) ListInternalTransactionsByAddressAndTimeRangeE403 { + return ListInternalTransactionsByAddressAndTimeRangeE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsListInternalTransactionsByAddressAndTimeRangeE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListInternalTransactionsByAddressAndTimeRangeE403 +func FeatureMainnetsNotAllowedForPlanAsListInternalTransactionsByAddressAndTimeRangeE403(v *FeatureMainnetsNotAllowedForPlan) ListInternalTransactionsByAddressAndTimeRangeE403 { + return ListInternalTransactionsByAddressAndTimeRangeE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListInternalTransactionsByAddressAndTimeRangeE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListInternalTransactionsByAddressAndTimeRangeE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListInternalTransactionsByAddressAndTimeRangeE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListInternalTransactionsByAddressAndTimeRangeE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListInternalTransactionsByAddressAndTimeRangeE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableListInternalTransactionsByAddressAndTimeRangeE403 struct { + value *ListInternalTransactionsByAddressAndTimeRangeE403 + isSet bool +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE403) Get() *ListInternalTransactionsByAddressAndTimeRangeE403 { + return v.value +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE403) Set(val *ListInternalTransactionsByAddressAndTimeRangeE403) { + v.value = val + v.isSet = true +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE403) IsSet() bool { + return v.isSet +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListInternalTransactionsByAddressAndTimeRangeE403(val *ListInternalTransactionsByAddressAndTimeRangeE403) *NullableListInternalTransactionsByAddressAndTimeRangeE403 { + return &NullableListInternalTransactionsByAddressAndTimeRangeE403{value: val, isSet: true} +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_internal_transactions_by_address_and_time_range_r.go b/model_list_internal_transactions_by_address_and_time_range_r.go new file mode 100644 index 0000000..12035a7 --- /dev/null +++ b/model_list_internal_transactions_by_address_and_time_range_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListInternalTransactionsByAddressAndTimeRangeR struct for ListInternalTransactionsByAddressAndTimeRangeR +type ListInternalTransactionsByAddressAndTimeRangeR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data ListInternalTransactionsByAddressAndTimeRangeRData `json:"data"` +} + +// NewListInternalTransactionsByAddressAndTimeRangeR instantiates a new ListInternalTransactionsByAddressAndTimeRangeR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListInternalTransactionsByAddressAndTimeRangeR(apiVersion string, requestId string, data ListInternalTransactionsByAddressAndTimeRangeRData) *ListInternalTransactionsByAddressAndTimeRangeR { + this := ListInternalTransactionsByAddressAndTimeRangeR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewListInternalTransactionsByAddressAndTimeRangeRWithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListInternalTransactionsByAddressAndTimeRangeRWithDefaults() *ListInternalTransactionsByAddressAndTimeRangeR { + this := ListInternalTransactionsByAddressAndTimeRangeR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *ListInternalTransactionsByAddressAndTimeRangeR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetData() ListInternalTransactionsByAddressAndTimeRangeRData { + if o == nil { + var ret ListInternalTransactionsByAddressAndTimeRangeRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeR) GetDataOk() (*ListInternalTransactionsByAddressAndTimeRangeRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeR) SetData(v ListInternalTransactionsByAddressAndTimeRangeRData) { + o.Data = v +} + +func (o ListInternalTransactionsByAddressAndTimeRangeR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableListInternalTransactionsByAddressAndTimeRangeR struct { + value *ListInternalTransactionsByAddressAndTimeRangeR + isSet bool +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeR) Get() *ListInternalTransactionsByAddressAndTimeRangeR { + return v.value +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeR) Set(val *ListInternalTransactionsByAddressAndTimeRangeR) { + v.value = val + v.isSet = true +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeR) IsSet() bool { + return v.isSet +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListInternalTransactionsByAddressAndTimeRangeR(val *ListInternalTransactionsByAddressAndTimeRangeR) *NullableListInternalTransactionsByAddressAndTimeRangeR { + return &NullableListInternalTransactionsByAddressAndTimeRangeR{value: val, isSet: true} +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_internal_transactions_by_address_and_time_range_r_data.go b/model_list_internal_transactions_by_address_and_time_range_r_data.go new file mode 100644 index 0000000..97f6142 --- /dev/null +++ b/model_list_internal_transactions_by_address_and_time_range_r_data.go @@ -0,0 +1,199 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListInternalTransactionsByAddressAndTimeRangeRData struct for ListInternalTransactionsByAddressAndTimeRangeRData +type ListInternalTransactionsByAddressAndTimeRangeRData struct { + // Defines how many items should be returned in the response per page basis. + Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` + // Defines the total number of items returned in the response. + Total int32 `json:"total"` + Items []ListInternalTransactionsByAddressAndTimeRangeRI `json:"items"` +} + +// NewListInternalTransactionsByAddressAndTimeRangeRData instantiates a new ListInternalTransactionsByAddressAndTimeRangeRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListInternalTransactionsByAddressAndTimeRangeRData(limit int32, offset int32, total int32, items []ListInternalTransactionsByAddressAndTimeRangeRI) *ListInternalTransactionsByAddressAndTimeRangeRData { + this := ListInternalTransactionsByAddressAndTimeRangeRData{} + this.Limit = limit + this.Offset = offset + this.Total = total + this.Items = items + return &this +} + +// NewListInternalTransactionsByAddressAndTimeRangeRDataWithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListInternalTransactionsByAddressAndTimeRangeRDataWithDefaults() *ListInternalTransactionsByAddressAndTimeRangeRData { + this := ListInternalTransactionsByAddressAndTimeRangeRData{} + return &this +} + +// GetLimit returns the Limit field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Limit, true +} + +// SetLimit sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) SetLimit(v int32) { + o.Limit = v +} + +// GetOffset returns the Offset field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetOffset() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Offset +} + +// GetOffsetOk returns a tuple with the Offset field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetOffsetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Offset, true +} + +// SetOffset sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) SetOffset(v int32) { + o.Offset = v +} + +// GetTotal returns the Total field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetTotal() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetTotalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) SetTotal(v int32) { + o.Total = v +} + +// GetItems returns the Items field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetItems() []ListInternalTransactionsByAddressAndTimeRangeRI { + if o == nil { + var ret []ListInternalTransactionsByAddressAndTimeRangeRI + return ret + } + + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) GetItemsOk() ([]ListInternalTransactionsByAddressAndTimeRangeRI, bool) { + if o == nil { + return nil, false + } + return o.Items, true +} + +// SetItems sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRData) SetItems(v []ListInternalTransactionsByAddressAndTimeRangeRI) { + o.Items = v +} + +func (o ListInternalTransactionsByAddressAndTimeRangeRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["limit"] = o.Limit + } + if true { + toSerialize["offset"] = o.Offset + } + if true { + toSerialize["total"] = o.Total + } + if true { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableListInternalTransactionsByAddressAndTimeRangeRData struct { + value *ListInternalTransactionsByAddressAndTimeRangeRData + isSet bool +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeRData) Get() *ListInternalTransactionsByAddressAndTimeRangeRData { + return v.value +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeRData) Set(val *ListInternalTransactionsByAddressAndTimeRangeRData) { + v.value = val + v.isSet = true +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeRData) IsSet() bool { + return v.isSet +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListInternalTransactionsByAddressAndTimeRangeRData(val *ListInternalTransactionsByAddressAndTimeRangeRData) *NullableListInternalTransactionsByAddressAndTimeRangeRData { + return &NullableListInternalTransactionsByAddressAndTimeRangeRData{value: val, isSet: true} +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_internal_transactions_by_address_and_time_range_ri.go b/model_list_internal_transactions_by_address_and_time_range_ri.go new file mode 100644 index 0000000..ce3094d --- /dev/null +++ b/model_list_internal_transactions_by_address_and_time_range_ri.go @@ -0,0 +1,349 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListInternalTransactionsByAddressAndTimeRangeRI struct for ListInternalTransactionsByAddressAndTimeRangeRI +type ListInternalTransactionsByAddressAndTimeRangeRI struct { + // Defines the specific amount of the transaction. + Amount string `json:"amount"` + // Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. + MinedInBlockHash string `json:"minedInBlockHash"` + // Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. + MinedInBlockHeight int32 `json:"minedInBlockHeight"` + // Represents the unique internal transaction ID in regards to the parent transaction (type trace address). + OperationID string `json:"operationID"` + // Defines the call type of the internal transaction. + OperationType string `json:"operationType"` + // Defines the specific hash of the parent transaction. + ParentHash string `json:"parentHash"` + // Represents the recipient address with the respective amount. + Recipient string `json:"recipient"` + // Represents the sender address with the respective amount. + Sender string `json:"sender"` + Timestamp int32 `json:"timestamp"` +} + +// NewListInternalTransactionsByAddressAndTimeRangeRI instantiates a new ListInternalTransactionsByAddressAndTimeRangeRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListInternalTransactionsByAddressAndTimeRangeRI(amount string, minedInBlockHash string, minedInBlockHeight int32, operationID string, operationType string, parentHash string, recipient string, sender string, timestamp int32) *ListInternalTransactionsByAddressAndTimeRangeRI { + this := ListInternalTransactionsByAddressAndTimeRangeRI{} + this.Amount = amount + this.MinedInBlockHash = minedInBlockHash + this.MinedInBlockHeight = minedInBlockHeight + this.OperationID = operationID + this.OperationType = operationType + this.ParentHash = parentHash + this.Recipient = recipient + this.Sender = sender + this.Timestamp = timestamp + return &this +} + +// NewListInternalTransactionsByAddressAndTimeRangeRIWithDefaults instantiates a new ListInternalTransactionsByAddressAndTimeRangeRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListInternalTransactionsByAddressAndTimeRangeRIWithDefaults() *ListInternalTransactionsByAddressAndTimeRangeRI { + this := ListInternalTransactionsByAddressAndTimeRangeRI{} + return &this +} + +// GetAmount returns the Amount field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetAmount() string { + if o == nil { + var ret string + return ret + } + + return o.Amount +} + +// GetAmountOk returns a tuple with the Amount field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetAmountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Amount, true +} + +// SetAmount sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetAmount(v string) { + o.Amount = v +} + +// GetMinedInBlockHash returns the MinedInBlockHash field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.MinedInBlockHash +} + +// GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MinedInBlockHash, true +} + +// SetMinedInBlockHash sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHash(v string) { + o.MinedInBlockHash = v +} + +// GetMinedInBlockHeight returns the MinedInBlockHeight field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeight() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.MinedInBlockHeight +} + +// GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.MinedInBlockHeight, true +} + +// SetMinedInBlockHeight sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHeight(v int32) { + o.MinedInBlockHeight = v +} + +// GetOperationID returns the OperationID field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetOperationID() string { + if o == nil { + var ret string + return ret + } + + return o.OperationID +} + +// GetOperationIDOk returns a tuple with the OperationID field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetOperationIDOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OperationID, true +} + +// SetOperationID sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetOperationID(v string) { + o.OperationID = v +} + +// GetOperationType returns the OperationType field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetOperationType() string { + if o == nil { + var ret string + return ret + } + + return o.OperationType +} + +// GetOperationTypeOk returns a tuple with the OperationType field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetOperationTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OperationType, true +} + +// SetOperationType sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetOperationType(v string) { + o.OperationType = v +} + +// GetParentHash returns the ParentHash field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetParentHash() string { + if o == nil { + var ret string + return ret + } + + return o.ParentHash +} + +// GetParentHashOk returns a tuple with the ParentHash field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetParentHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ParentHash, true +} + +// SetParentHash sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetParentHash(v string) { + o.ParentHash = v +} + +// GetRecipient returns the Recipient field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetRecipient() string { + if o == nil { + var ret string + return ret + } + + return o.Recipient +} + +// GetRecipientOk returns a tuple with the Recipient field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetRecipientOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Recipient, true +} + +// SetRecipient sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetRecipient(v string) { + o.Recipient = v +} + +// GetSender returns the Sender field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetSender() string { + if o == nil { + var ret string + return ret + } + + return o.Sender +} + +// GetSenderOk returns a tuple with the Sender field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetSenderOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Sender, true +} + +// SetSender sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetSender(v string) { + o.Sender = v +} + +// GetTimestamp returns the Timestamp field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetTimestamp() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value +// and a boolean to check if the value has been set. +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) GetTimestampOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Timestamp, true +} + +// SetTimestamp sets field value +func (o *ListInternalTransactionsByAddressAndTimeRangeRI) SetTimestamp(v int32) { + o.Timestamp = v +} + +func (o ListInternalTransactionsByAddressAndTimeRangeRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["amount"] = o.Amount + } + if true { + toSerialize["minedInBlockHash"] = o.MinedInBlockHash + } + if true { + toSerialize["minedInBlockHeight"] = o.MinedInBlockHeight + } + if true { + toSerialize["operationID"] = o.OperationID + } + if true { + toSerialize["operationType"] = o.OperationType + } + if true { + toSerialize["parentHash"] = o.ParentHash + } + if true { + toSerialize["recipient"] = o.Recipient + } + if true { + toSerialize["sender"] = o.Sender + } + if true { + toSerialize["timestamp"] = o.Timestamp + } + return json.Marshal(toSerialize) +} + +type NullableListInternalTransactionsByAddressAndTimeRangeRI struct { + value *ListInternalTransactionsByAddressAndTimeRangeRI + isSet bool +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeRI) Get() *ListInternalTransactionsByAddressAndTimeRangeRI { + return v.value +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeRI) Set(val *ListInternalTransactionsByAddressAndTimeRangeRI) { + v.value = val + v.isSet = true +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeRI) IsSet() bool { + return v.isSet +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListInternalTransactionsByAddressAndTimeRangeRI(val *ListInternalTransactionsByAddressAndTimeRangeRI) *NullableListInternalTransactionsByAddressAndTimeRangeRI { + return &NullableListInternalTransactionsByAddressAndTimeRangeRI{value: val, isSet: true} +} + +func (v NullableListInternalTransactionsByAddressAndTimeRangeRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListInternalTransactionsByAddressAndTimeRangeRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_internal_transactions_by_address_e400.go b/model_list_internal_transactions_by_address_e400.go index 4f8c8cb..2613795 100644 --- a/model_list_internal_transactions_by_address_e400.go +++ b/model_list_internal_transactions_by_address_e400.go @@ -25,17 +25,23 @@ type ListInternalTransactionsByAddressE400 struct { // InvalidPaginationAsListInternalTransactionsByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListInternalTransactionsByAddressE400 func InvalidPaginationAsListInternalTransactionsByAddressE400(v *InvalidPagination) ListInternalTransactionsByAddressE400 { - return ListInternalTransactionsByAddressE400{ InvalidPagination: v} + return ListInternalTransactionsByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListInternalTransactionsByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListInternalTransactionsByAddressE400 func LimitGreaterThanAllowedAsListInternalTransactionsByAddressE400(v *LimitGreaterThanAllowed) ListInternalTransactionsByAddressE400 { - return ListInternalTransactionsByAddressE400{ LimitGreaterThanAllowed: v} + return ListInternalTransactionsByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListInternalTransactionsByAddressE400 is a convenience function that returns UriNotFound wrapped in ListInternalTransactionsByAddressE400 func UriNotFoundAsListInternalTransactionsByAddressE400(v *UriNotFound) ListInternalTransactionsByAddressE400 { - return ListInternalTransactionsByAddressE400{ UriNotFound: v} + return ListInternalTransactionsByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListInternalTransactionsByAddressE400) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListInternalTransactionsByAddressE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListInternalTransactionsByAddressE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListInternalTransactionsByAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListInternalTransactionsByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_internal_transactions_by_address_e401.go b/model_list_internal_transactions_by_address_e401.go index bd1489e..5391e89 100644 --- a/model_list_internal_transactions_by_address_e401.go +++ b/model_list_internal_transactions_by_address_e401.go @@ -24,12 +24,16 @@ type ListInternalTransactionsByAddressE401 struct { // InvalidApiKeyAsListInternalTransactionsByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListInternalTransactionsByAddressE401 func InvalidApiKeyAsListInternalTransactionsByAddressE401(v *InvalidApiKey) ListInternalTransactionsByAddressE401 { - return ListInternalTransactionsByAddressE401{ InvalidApiKey: v} + return ListInternalTransactionsByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListInternalTransactionsByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListInternalTransactionsByAddressE401 func MissingApiKeyAsListInternalTransactionsByAddressE401(v *MissingApiKey) ListInternalTransactionsByAddressE401 { - return ListInternalTransactionsByAddressE401{ MissingApiKey: v} + return ListInternalTransactionsByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListInternalTransactionsByAddressE401) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListInternalTransactionsByAddressE401) UnmarshalJSON(data []byte) err } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListInternalTransactionsByAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListInternalTransactionsByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_internal_transactions_by_address_e403.go b/model_list_internal_transactions_by_address_e403.go index fdc2ab6..20038f3 100644 --- a/model_list_internal_transactions_by_address_e403.go +++ b/model_list_internal_transactions_by_address_e403.go @@ -26,22 +26,30 @@ type ListInternalTransactionsByAddressE403 struct { // BannedIpAddressAsListInternalTransactionsByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListInternalTransactionsByAddressE403 func BannedIpAddressAsListInternalTransactionsByAddressE403(v *BannedIpAddress) ListInternalTransactionsByAddressE403 { - return ListInternalTransactionsByAddressE403{ BannedIpAddress: v} + return ListInternalTransactionsByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListInternalTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListInternalTransactionsByAddressE403 func EndpointNotAllowedForApiKeyAsListInternalTransactionsByAddressE403(v *EndpointNotAllowedForApiKey) ListInternalTransactionsByAddressE403 { - return ListInternalTransactionsByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListInternalTransactionsByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListInternalTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListInternalTransactionsByAddressE403 func EndpointNotAllowedForPlanAsListInternalTransactionsByAddressE403(v *EndpointNotAllowedForPlan) ListInternalTransactionsByAddressE403 { - return ListInternalTransactionsByAddressE403{ EndpointNotAllowedForPlan: v} + return ListInternalTransactionsByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListInternalTransactionsByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListInternalTransactionsByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListInternalTransactionsByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListInternalTransactionsByAddressE403 { - return ListInternalTransactionsByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListInternalTransactionsByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListInternalTransactionsByAddressE403) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListInternalTransactionsByAddressE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListInternalTransactionsByAddressE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListInternalTransactionsByAddressE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListInternalTransactionsByAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListInternalTransactionsByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_internal_transactions_by_address_r.go b/model_list_internal_transactions_by_address_r.go index 2e47216..d90a12d 100644 --- a/model_list_internal_transactions_by_address_r.go +++ b/model_list_internal_transactions_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListInternalTransactionsByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListInternalTransactionsByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListInternalTransactionsByAddressR) GetData() ListInternalTransactionsB // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressR) GetDataOk() (*ListInternalTransactionsByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_internal_transactions_by_address_r_data.go b/model_list_internal_transactions_by_address_r_data.go index e5604aa..a800e9a 100644 --- a/model_list_internal_transactions_by_address_r_data.go +++ b/model_list_internal_transactions_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListInternalTransactionsByAddressRData struct for ListInternalTransactionsByAddressRData type ListInternalTransactionsByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListInternalTransactionsByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListInternalTransactionsByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListInternalTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListInternalTransactionsByAddressRI) *ListInternalTransactionsByAddressRData { +func NewListInternalTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListInternalTransactionsByAddressRI) *ListInternalTransactionsByAddressRData { this := ListInternalTransactionsByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListInternalTransactionsByAddressRDataWithDefaults() *ListInternalTransa return &this } -// GetOffset returns the Offset field value -func (o *ListInternalTransactionsByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListInternalTransactionsByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListInternalTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListInternalTransactionsByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListInternalTransactionsByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListInternalTransactionsByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListInternalTransactionsByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListInternalTransactionsByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListInternalTransactionsByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListInternalTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListInternalTransactionsByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListInternalTransactionsByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListInternalTransactionsByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListInternalTransactionsByAddressRData) GetItems() []ListInternalTransa // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListInternalTransactionsByAddressRData) GetItemsOk() (*[]ListInternalTransactionsByAddressRI, bool) { - if o == nil { +func (o *ListInternalTransactionsByAddressRData) GetItemsOk() ([]ListInternalTransactionsByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListInternalTransactionsByAddressRData) SetItems(v []ListInternalTransa func (o ListInternalTransactionsByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_internal_transactions_by_address_ri.go b/model_list_internal_transactions_by_address_ri.go index 7a7dd63..9d6451f 100644 --- a/model_list_internal_transactions_by_address_ri.go +++ b/model_list_internal_transactions_by_address_ri.go @@ -75,7 +75,7 @@ func (o *ListInternalTransactionsByAddressRI) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -99,7 +99,7 @@ func (o *ListInternalTransactionsByAddressRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -123,7 +123,7 @@ func (o *ListInternalTransactionsByAddressRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -147,7 +147,7 @@ func (o *ListInternalTransactionsByAddressRI) GetOperationID() string { // GetOperationIDOk returns a tuple with the OperationID field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetOperationIDOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OperationID, true @@ -171,7 +171,7 @@ func (o *ListInternalTransactionsByAddressRI) GetOperationType() string { // GetOperationTypeOk returns a tuple with the OperationType field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetOperationTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OperationType, true @@ -195,7 +195,7 @@ func (o *ListInternalTransactionsByAddressRI) GetParentHash() string { // GetParentHashOk returns a tuple with the ParentHash field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetParentHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ParentHash, true @@ -219,7 +219,7 @@ func (o *ListInternalTransactionsByAddressRI) GetRecipient() string { // GetRecipientOk returns a tuple with the Recipient field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetRecipientOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Recipient, true @@ -243,7 +243,7 @@ func (o *ListInternalTransactionsByAddressRI) GetSender() string { // GetSenderOk returns a tuple with the Sender field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetSenderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sender, true @@ -267,7 +267,7 @@ func (o *ListInternalTransactionsByAddressRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListInternalTransactionsByAddressRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_list_latest_mined_blocks_e400.go b/model_list_latest_mined_blocks_e400.go index 5659090..a2e3123 100644 --- a/model_list_latest_mined_blocks_e400.go +++ b/model_list_latest_mined_blocks_e400.go @@ -25,17 +25,23 @@ type ListLatestMinedBlocksE400 struct { // InvalidPaginationAsListLatestMinedBlocksE400 is a convenience function that returns InvalidPagination wrapped in ListLatestMinedBlocksE400 func InvalidPaginationAsListLatestMinedBlocksE400(v *InvalidPagination) ListLatestMinedBlocksE400 { - return ListLatestMinedBlocksE400{ InvalidPagination: v} + return ListLatestMinedBlocksE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListLatestMinedBlocksE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListLatestMinedBlocksE400 func LimitGreaterThanAllowedAsListLatestMinedBlocksE400(v *LimitGreaterThanAllowed) ListLatestMinedBlocksE400 { - return ListLatestMinedBlocksE400{ LimitGreaterThanAllowed: v} + return ListLatestMinedBlocksE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListLatestMinedBlocksE400 is a convenience function that returns UriNotFound wrapped in ListLatestMinedBlocksE400 func UriNotFoundAsListLatestMinedBlocksE400(v *UriNotFound) ListLatestMinedBlocksE400 { - return ListLatestMinedBlocksE400{ UriNotFound: v} + return ListLatestMinedBlocksE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListLatestMinedBlocksE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListLatestMinedBlocksE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListLatestMinedBlocksE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListLatestMinedBlocksE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListLatestMinedBlocksE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_latest_mined_blocks_e401.go b/model_list_latest_mined_blocks_e401.go index 73e09d0..0d5f7b5 100644 --- a/model_list_latest_mined_blocks_e401.go +++ b/model_list_latest_mined_blocks_e401.go @@ -24,12 +24,16 @@ type ListLatestMinedBlocksE401 struct { // InvalidApiKeyAsListLatestMinedBlocksE401 is a convenience function that returns InvalidApiKey wrapped in ListLatestMinedBlocksE401 func InvalidApiKeyAsListLatestMinedBlocksE401(v *InvalidApiKey) ListLatestMinedBlocksE401 { - return ListLatestMinedBlocksE401{ InvalidApiKey: v} + return ListLatestMinedBlocksE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListLatestMinedBlocksE401 is a convenience function that returns MissingApiKey wrapped in ListLatestMinedBlocksE401 func MissingApiKeyAsListLatestMinedBlocksE401(v *MissingApiKey) ListLatestMinedBlocksE401 { - return ListLatestMinedBlocksE401{ MissingApiKey: v} + return ListLatestMinedBlocksE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListLatestMinedBlocksE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListLatestMinedBlocksE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListLatestMinedBlocksE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListLatestMinedBlocksE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_latest_mined_blocks_e403.go b/model_list_latest_mined_blocks_e403.go index 7c44612..4077086 100644 --- a/model_list_latest_mined_blocks_e403.go +++ b/model_list_latest_mined_blocks_e403.go @@ -26,22 +26,30 @@ type ListLatestMinedBlocksE403 struct { // BannedIpAddressAsListLatestMinedBlocksE403 is a convenience function that returns BannedIpAddress wrapped in ListLatestMinedBlocksE403 func BannedIpAddressAsListLatestMinedBlocksE403(v *BannedIpAddress) ListLatestMinedBlocksE403 { - return ListLatestMinedBlocksE403{ BannedIpAddress: v} + return ListLatestMinedBlocksE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListLatestMinedBlocksE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListLatestMinedBlocksE403 func EndpointNotAllowedForApiKeyAsListLatestMinedBlocksE403(v *EndpointNotAllowedForApiKey) ListLatestMinedBlocksE403 { - return ListLatestMinedBlocksE403{ EndpointNotAllowedForApiKey: v} + return ListLatestMinedBlocksE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListLatestMinedBlocksE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListLatestMinedBlocksE403 func EndpointNotAllowedForPlanAsListLatestMinedBlocksE403(v *EndpointNotAllowedForPlan) ListLatestMinedBlocksE403 { - return ListLatestMinedBlocksE403{ EndpointNotAllowedForPlan: v} + return ListLatestMinedBlocksE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListLatestMinedBlocksE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListLatestMinedBlocksE403 func FeatureMainnetsNotAllowedForPlanAsListLatestMinedBlocksE403(v *FeatureMainnetsNotAllowedForPlan) ListLatestMinedBlocksE403 { - return ListLatestMinedBlocksE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListLatestMinedBlocksE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListLatestMinedBlocksE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListLatestMinedBlocksE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListLatestMinedBlocksE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListLatestMinedBlocksE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListLatestMinedBlocksE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListLatestMinedBlocksE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_latest_mined_blocks_r.go b/model_list_latest_mined_blocks_r.go index d25a0e1..b98f0c7 100644 --- a/model_list_latest_mined_blocks_r.go +++ b/model_list_latest_mined_blocks_r.go @@ -59,7 +59,7 @@ func (o *ListLatestMinedBlocksR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListLatestMinedBlocksR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListLatestMinedBlocksR) GetData() ListLatestMinedBlocksRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksR) GetDataOk() (*ListLatestMinedBlocksRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_latest_mined_blocks_r_data.go b/model_list_latest_mined_blocks_r_data.go index 0ebd242..a8a515c 100644 --- a/model_list_latest_mined_blocks_r_data.go +++ b/model_list_latest_mined_blocks_r_data.go @@ -17,10 +17,10 @@ import ( // ListLatestMinedBlocksRData struct for ListLatestMinedBlocksRData type ListLatestMinedBlocksRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListLatestMinedBlocksRI `json:"items"` @@ -30,10 +30,10 @@ type ListLatestMinedBlocksRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListLatestMinedBlocksRData(offset int32, limit int32, total int32, items []ListLatestMinedBlocksRI) *ListLatestMinedBlocksRData { +func NewListLatestMinedBlocksRData(limit int32, offset int32, total int32, items []ListLatestMinedBlocksRI) *ListLatestMinedBlocksRData { this := ListLatestMinedBlocksRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListLatestMinedBlocksRDataWithDefaults() *ListLatestMinedBlocksRData { return &this } -// GetOffset returns the Offset field value -func (o *ListLatestMinedBlocksRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListLatestMinedBlocksRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListLatestMinedBlocksRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListLatestMinedBlocksRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListLatestMinedBlocksRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListLatestMinedBlocksRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListLatestMinedBlocksRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListLatestMinedBlocksRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListLatestMinedBlocksRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListLatestMinedBlocksRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListLatestMinedBlocksRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListLatestMinedBlocksRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListLatestMinedBlocksRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListLatestMinedBlocksRData) GetItems() []ListLatestMinedBlocksRI { // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListLatestMinedBlocksRData) GetItemsOk() (*[]ListLatestMinedBlocksRI, bool) { - if o == nil { +func (o *ListLatestMinedBlocksRData) GetItemsOk() ([]ListLatestMinedBlocksRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListLatestMinedBlocksRData) SetItems(v []ListLatestMinedBlocksRI) { func (o ListLatestMinedBlocksRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_latest_mined_blocks_ri.go b/model_list_latest_mined_blocks_ri.go index 214c242..ffed446 100644 --- a/model_list_latest_mined_blocks_ri.go +++ b/model_list_latest_mined_blocks_ri.go @@ -70,7 +70,7 @@ func (o *ListLatestMinedBlocksRI) GetHash() string { // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRI) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -94,7 +94,7 @@ func (o *ListLatestMinedBlocksRI) GetHeight() int32 { // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRI) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -118,7 +118,7 @@ func (o *ListLatestMinedBlocksRI) GetPreviousBlockHash() string { // GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRI) GetPreviousBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PreviousBlockHash, true @@ -142,7 +142,7 @@ func (o *ListLatestMinedBlocksRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -166,7 +166,7 @@ func (o *ListLatestMinedBlocksRI) GetTransactionsCount() int32 { // GetTransactionsCountOk returns a tuple with the TransactionsCount field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRI) GetTransactionsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionsCount, true @@ -190,7 +190,7 @@ func (o *ListLatestMinedBlocksRI) GetTotalCoins() ListLatestMinedBlocksRITotalCo // GetTotalCoinsOk returns a tuple with the TotalCoins field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRI) GetTotalCoinsOk() (*ListLatestMinedBlocksRITotalCoins, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalCoins, true @@ -214,7 +214,7 @@ func (o *ListLatestMinedBlocksRI) GetTotalFees() ListLatestMinedBlocksRITotalFee // GetTotalFeesOk returns a tuple with the TotalFees field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRI) GetTotalFeesOk() (*ListLatestMinedBlocksRITotalFees, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalFees, true @@ -238,7 +238,7 @@ func (o *ListLatestMinedBlocksRI) GetBlockchainSpecific() ListLatestMinedBlocksR // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRI) GetBlockchainSpecificOk() (*ListLatestMinedBlocksRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_list_latest_mined_blocks_ri_total_coins.go b/model_list_latest_mined_blocks_ri_total_coins.go index 3c98b50..27d5d83 100644 --- a/model_list_latest_mined_blocks_ri_total_coins.go +++ b/model_list_latest_mined_blocks_ri_total_coins.go @@ -55,7 +55,7 @@ func (o *ListLatestMinedBlocksRITotalCoins) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRITotalCoins) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListLatestMinedBlocksRITotalCoins) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRITotalCoins) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_latest_mined_blocks_ri_total_fees.go b/model_list_latest_mined_blocks_ri_total_fees.go index 6a50cf2..873c66b 100644 --- a/model_list_latest_mined_blocks_ri_total_fees.go +++ b/model_list_latest_mined_blocks_ri_total_fees.go @@ -55,7 +55,7 @@ func (o *ListLatestMinedBlocksRITotalFees) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRITotalFees) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListLatestMinedBlocksRITotalFees) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRITotalFees) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_latest_mined_blocks_ribs.go b/model_list_latest_mined_blocks_ribs.go index 869c402..c48bd95 100644 --- a/model_list_latest_mined_blocks_ribs.go +++ b/model_list_latest_mined_blocks_ribs.go @@ -32,52 +32,72 @@ type ListLatestMinedBlocksRIBS struct { // ListLatestMinedBlocksRIBSBAsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSB wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSBAsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSB) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSB: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSB: v, + } } // ListLatestMinedBlocksRIBSBCAsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSBC wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSBCAsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSBC) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSBC: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSBC: v, + } } // ListLatestMinedBlocksRIBSBSCAsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSBSC wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSBSCAsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSBSC) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSBSC: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSBSC: v, + } } // ListLatestMinedBlocksRIBSDAsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSD wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSDAsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSD) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSD: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSD: v, + } } // ListLatestMinedBlocksRIBSD2AsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSD2 wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSD2AsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSD2) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSD2: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSD2: v, + } } // ListLatestMinedBlocksRIBSEAsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSE wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSEAsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSE) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSE: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSE: v, + } } // ListLatestMinedBlocksRIBSECAsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSEC wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSECAsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSEC) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSEC: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSEC: v, + } } // ListLatestMinedBlocksRIBSLAsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSL wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSLAsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSL) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSL: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSL: v, + } } // ListLatestMinedBlocksRIBSZAsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSZ wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSZAsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSZ) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSZ: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSZ: v, + } } // ListLatestMinedBlocksRIBSZ2AsListLatestMinedBlocksRIBS is a convenience function that returns ListLatestMinedBlocksRIBSZ2 wrapped in ListLatestMinedBlocksRIBS func ListLatestMinedBlocksRIBSZ2AsListLatestMinedBlocksRIBS(v *ListLatestMinedBlocksRIBSZ2) ListLatestMinedBlocksRIBS { - return ListLatestMinedBlocksRIBS{ ListLatestMinedBlocksRIBSZ2: v} + return ListLatestMinedBlocksRIBS{ + ListLatestMinedBlocksRIBSZ2: v, + } } @@ -86,7 +106,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into ListLatestMinedBlocksRIBSB - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSB) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSB) if err == nil { jsonListLatestMinedBlocksRIBSB, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSB) if string(jsonListLatestMinedBlocksRIBSB) == "{}" { // empty struct @@ -99,7 +119,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSBC - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSBC) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSBC) if err == nil { jsonListLatestMinedBlocksRIBSBC, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSBC) if string(jsonListLatestMinedBlocksRIBSBC) == "{}" { // empty struct @@ -112,7 +132,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSBSC - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSBSC) if err == nil { jsonListLatestMinedBlocksRIBSBSC, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSBSC) if string(jsonListLatestMinedBlocksRIBSBSC) == "{}" { // empty struct @@ -125,7 +145,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSD - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSD) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSD) if err == nil { jsonListLatestMinedBlocksRIBSD, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSD) if string(jsonListLatestMinedBlocksRIBSD) == "{}" { // empty struct @@ -138,7 +158,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSD2 - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSD2) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSD2) if err == nil { jsonListLatestMinedBlocksRIBSD2, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSD2) if string(jsonListLatestMinedBlocksRIBSD2) == "{}" { // empty struct @@ -151,7 +171,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSE - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSE) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSE) if err == nil { jsonListLatestMinedBlocksRIBSE, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSE) if string(jsonListLatestMinedBlocksRIBSE) == "{}" { // empty struct @@ -164,7 +184,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSEC - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSEC) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSEC) if err == nil { jsonListLatestMinedBlocksRIBSEC, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSEC) if string(jsonListLatestMinedBlocksRIBSEC) == "{}" { // empty struct @@ -177,7 +197,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSL - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSL) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSL) if err == nil { jsonListLatestMinedBlocksRIBSL, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSL) if string(jsonListLatestMinedBlocksRIBSL) == "{}" { // empty struct @@ -190,7 +210,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSZ - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSZ) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSZ) if err == nil { jsonListLatestMinedBlocksRIBSZ, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSZ) if string(jsonListLatestMinedBlocksRIBSZ) == "{}" { // empty struct @@ -203,7 +223,7 @@ func (dst *ListLatestMinedBlocksRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListLatestMinedBlocksRIBSZ2 - err = json.Unmarshal(data, &dst.ListLatestMinedBlocksRIBSZ2) + err = newStrictDecoder(data).Decode(&dst.ListLatestMinedBlocksRIBSZ2) if err == nil { jsonListLatestMinedBlocksRIBSZ2, _ := json.Marshal(dst.ListLatestMinedBlocksRIBSZ2) if string(jsonListLatestMinedBlocksRIBSZ2) == "{}" { // empty struct @@ -283,6 +303,9 @@ func (src ListLatestMinedBlocksRIBS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListLatestMinedBlocksRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.ListLatestMinedBlocksRIBSB != nil { return obj.ListLatestMinedBlocksRIBSB } diff --git a/model_list_latest_mined_blocks_ribsb.go b/model_list_latest_mined_blocks_ribsb.go index 9f88049..aa67539 100644 --- a/model_list_latest_mined_blocks_ribsb.go +++ b/model_list_latest_mined_blocks_ribsb.go @@ -76,7 +76,7 @@ func (o *ListLatestMinedBlocksRIBSB) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSB) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -100,7 +100,7 @@ func (o *ListLatestMinedBlocksRIBSB) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSB) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -156,7 +156,7 @@ func (o *ListLatestMinedBlocksRIBSB) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSB) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -244,7 +244,7 @@ func (o *ListLatestMinedBlocksRIBSB) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSB) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -268,7 +268,7 @@ func (o *ListLatestMinedBlocksRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -292,7 +292,7 @@ func (o *ListLatestMinedBlocksRIBSB) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSB) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -316,7 +316,7 @@ func (o *ListLatestMinedBlocksRIBSB) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSB) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_list_latest_mined_blocks_ribsbc.go b/model_list_latest_mined_blocks_ribsbc.go index 1b8af85..1afc637 100644 --- a/model_list_latest_mined_blocks_ribsbc.go +++ b/model_list_latest_mined_blocks_ribsbc.go @@ -73,7 +73,7 @@ func (o *ListLatestMinedBlocksRIBSBC) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBC) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -97,7 +97,7 @@ func (o *ListLatestMinedBlocksRIBSBC) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBC) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -121,7 +121,7 @@ func (o *ListLatestMinedBlocksRIBSBC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -145,7 +145,7 @@ func (o *ListLatestMinedBlocksRIBSBC) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBC) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -169,7 +169,7 @@ func (o *ListLatestMinedBlocksRIBSBC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -193,7 +193,7 @@ func (o *ListLatestMinedBlocksRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -217,7 +217,7 @@ func (o *ListLatestMinedBlocksRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *ListLatestMinedBlocksRIBSBC) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBC) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_list_latest_mined_blocks_ribsbsc.go b/model_list_latest_mined_blocks_ribsbsc.go index 1cb2e04..3be136b 100644 --- a/model_list_latest_mined_blocks_ribsbsc.go +++ b/model_list_latest_mined_blocks_ribsbsc.go @@ -78,7 +78,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -102,7 +102,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -126,7 +126,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -150,7 +150,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -174,7 +174,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -198,7 +198,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -222,7 +222,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -246,7 +246,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -270,7 +270,7 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSBSC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -293,11 +293,11 @@ func (o *ListLatestMinedBlocksRIBSBSC) GetUncles() []string { // GetUnclesOk returns a tuple with the Uncles field value // and a boolean to check if the value has been set. -func (o *ListLatestMinedBlocksRIBSBSC) GetUnclesOk() (*[]string, bool) { - if o == nil { +func (o *ListLatestMinedBlocksRIBSBSC) GetUnclesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Uncles, true + return o.Uncles, true } // SetUncles sets field value diff --git a/model_list_latest_mined_blocks_ribsd.go b/model_list_latest_mined_blocks_ribsd.go index dc1c021..a716d1a 100644 --- a/model_list_latest_mined_blocks_ribsd.go +++ b/model_list_latest_mined_blocks_ribsd.go @@ -73,7 +73,7 @@ func (o *ListLatestMinedBlocksRIBSD) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -97,7 +97,7 @@ func (o *ListLatestMinedBlocksRIBSD) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -121,7 +121,7 @@ func (o *ListLatestMinedBlocksRIBSD) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -145,7 +145,7 @@ func (o *ListLatestMinedBlocksRIBSD) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -169,7 +169,7 @@ func (o *ListLatestMinedBlocksRIBSD) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -193,7 +193,7 @@ func (o *ListLatestMinedBlocksRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -217,7 +217,7 @@ func (o *ListLatestMinedBlocksRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -241,7 +241,7 @@ func (o *ListLatestMinedBlocksRIBSD) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true diff --git a/model_list_latest_mined_blocks_ribsd2.go b/model_list_latest_mined_blocks_ribsd2.go index e516ce5..6e2e646 100644 --- a/model_list_latest_mined_blocks_ribsd2.go +++ b/model_list_latest_mined_blocks_ribsd2.go @@ -76,7 +76,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -100,7 +100,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -124,7 +124,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -148,7 +148,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -172,7 +172,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -196,7 +196,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -220,7 +220,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -244,7 +244,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -268,7 +268,7 @@ func (o *ListLatestMinedBlocksRIBSD2) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSD2) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_list_latest_mined_blocks_ribse.go b/model_list_latest_mined_blocks_ribse.go index 1eea533..a0ff45f 100644 --- a/model_list_latest_mined_blocks_ribse.go +++ b/model_list_latest_mined_blocks_ribse.go @@ -78,7 +78,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -102,7 +102,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -126,7 +126,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -150,7 +150,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -174,7 +174,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -198,7 +198,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -222,7 +222,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -246,7 +246,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -270,7 +270,7 @@ func (o *ListLatestMinedBlocksRIBSE) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSE) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -293,11 +293,11 @@ func (o *ListLatestMinedBlocksRIBSE) GetUncles() []string { // GetUnclesOk returns a tuple with the Uncles field value // and a boolean to check if the value has been set. -func (o *ListLatestMinedBlocksRIBSE) GetUnclesOk() (*[]string, bool) { - if o == nil { +func (o *ListLatestMinedBlocksRIBSE) GetUnclesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Uncles, true + return o.Uncles, true } // SetUncles sets field value diff --git a/model_list_latest_mined_blocks_ribsec.go b/model_list_latest_mined_blocks_ribsec.go index 0635925..d96065a 100644 --- a/model_list_latest_mined_blocks_ribsec.go +++ b/model_list_latest_mined_blocks_ribsec.go @@ -78,7 +78,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -102,7 +102,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetExtraData() string { // GetExtraDataOk returns a tuple with the ExtraData field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetExtraDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtraData, true @@ -126,7 +126,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -150,7 +150,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -174,7 +174,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetMinedInSeconds() int32 { // GetMinedInSecondsOk returns a tuple with the MinedInSeconds field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetMinedInSecondsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInSeconds, true @@ -198,7 +198,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -222,7 +222,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetSha3Uncles() string { // GetSha3UnclesOk returns a tuple with the Sha3Uncles field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetSha3UnclesOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sha3Uncles, true @@ -246,7 +246,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -270,7 +270,7 @@ func (o *ListLatestMinedBlocksRIBSEC) GetTotalDifficulty() string { // GetTotalDifficultyOk returns a tuple with the TotalDifficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSEC) GetTotalDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TotalDifficulty, true @@ -293,11 +293,11 @@ func (o *ListLatestMinedBlocksRIBSEC) GetUncles() []string { // GetUnclesOk returns a tuple with the Uncles field value // and a boolean to check if the value has been set. -func (o *ListLatestMinedBlocksRIBSEC) GetUnclesOk() (*[]string, bool) { - if o == nil { +func (o *ListLatestMinedBlocksRIBSEC) GetUnclesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Uncles, true + return o.Uncles, true } // SetUncles sets field value diff --git a/model_list_latest_mined_blocks_ribsl.go b/model_list_latest_mined_blocks_ribsl.go index 58934fd..e67c87f 100644 --- a/model_list_latest_mined_blocks_ribsl.go +++ b/model_list_latest_mined_blocks_ribsl.go @@ -79,7 +79,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -103,7 +103,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -127,7 +127,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -151,7 +151,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -175,7 +175,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -199,7 +199,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -223,7 +223,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetStrippedSize() int32 { // GetStrippedSizeOk returns a tuple with the StrippedSize field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetStrippedSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.StrippedSize, true @@ -247,7 +247,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -271,7 +271,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetVersionHex() string { // GetVersionHexOk returns a tuple with the VersionHex field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetVersionHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionHex, true @@ -295,7 +295,7 @@ func (o *ListLatestMinedBlocksRIBSL) GetWeight() int32 { // GetWeightOk returns a tuple with the Weight field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSL) GetWeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Weight, true diff --git a/model_list_latest_mined_blocks_ribsz.go b/model_list_latest_mined_blocks_ribsz.go index ba92cc2..2c565b1 100644 --- a/model_list_latest_mined_blocks_ribsz.go +++ b/model_list_latest_mined_blocks_ribsz.go @@ -69,7 +69,7 @@ func (o *ListLatestMinedBlocksRIBSZ) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -93,7 +93,7 @@ func (o *ListLatestMinedBlocksRIBSZ) GetDsBlock() int32 { // GetDsBlockOk returns a tuple with the DsBlock field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ) GetDsBlockOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsBlock, true @@ -117,7 +117,7 @@ func (o *ListLatestMinedBlocksRIBSZ) GetDsDifficulty() string { // GetDsDifficultyOk returns a tuple with the DsDifficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ) GetDsDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsDifficulty, true @@ -141,7 +141,7 @@ func (o *ListLatestMinedBlocksRIBSZ) GetDsLeader() string { // GetDsLeaderOk returns a tuple with the DsLeader field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ) GetDsLeaderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.DsLeader, true @@ -165,7 +165,7 @@ func (o *ListLatestMinedBlocksRIBSZ) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -189,7 +189,7 @@ func (o *ListLatestMinedBlocksRIBSZ) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -212,11 +212,11 @@ func (o *ListLatestMinedBlocksRIBSZ) GetMicroBlocks() []string { // GetMicroBlocksOk returns a tuple with the MicroBlocks field value // and a boolean to check if the value has been set. -func (o *ListLatestMinedBlocksRIBSZ) GetMicroBlocksOk() (*[]string, bool) { - if o == nil { +func (o *ListLatestMinedBlocksRIBSZ) GetMicroBlocksOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.MicroBlocks, true + return o.MicroBlocks, true } // SetMicroBlocks sets field value diff --git a/model_list_latest_mined_blocks_ribsz2.go b/model_list_latest_mined_blocks_ribsz2.go index 9f118bc..cc656d2 100644 --- a/model_list_latest_mined_blocks_ribsz2.go +++ b/model_list_latest_mined_blocks_ribsz2.go @@ -70,7 +70,7 @@ func (o *ListLatestMinedBlocksRIBSZ2) GetBits() string { // GetBitsOk returns a tuple with the Bits field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ2) GetBitsOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Bits, true @@ -94,7 +94,7 @@ func (o *ListLatestMinedBlocksRIBSZ2) GetChainwork() string { // GetChainworkOk returns a tuple with the Chainwork field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ2) GetChainworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Chainwork, true @@ -118,7 +118,7 @@ func (o *ListLatestMinedBlocksRIBSZ2) GetDifficulty() string { // GetDifficultyOk returns a tuple with the Difficulty field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ2) GetDifficultyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Difficulty, true @@ -142,7 +142,7 @@ func (o *ListLatestMinedBlocksRIBSZ2) GetMerkleRoot() string { // GetMerkleRootOk returns a tuple with the MerkleRoot field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ2) GetMerkleRootOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MerkleRoot, true @@ -166,7 +166,7 @@ func (o *ListLatestMinedBlocksRIBSZ2) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ2) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -190,7 +190,7 @@ func (o *ListLatestMinedBlocksRIBSZ2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -214,7 +214,7 @@ func (o *ListLatestMinedBlocksRIBSZ2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListLatestMinedBlocksRIBSZ2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true diff --git a/model_list_omni_tokens_by_address_e400.go b/model_list_omni_tokens_by_address_e400.go index b176a1b..85f133b 100644 --- a/model_list_omni_tokens_by_address_e400.go +++ b/model_list_omni_tokens_by_address_e400.go @@ -25,17 +25,23 @@ type ListOmniTokensByAddressE400 struct { // InvalidPaginationAsListOmniTokensByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListOmniTokensByAddressE400 func InvalidPaginationAsListOmniTokensByAddressE400(v *InvalidPagination) ListOmniTokensByAddressE400 { - return ListOmniTokensByAddressE400{ InvalidPagination: v} + return ListOmniTokensByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListOmniTokensByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListOmniTokensByAddressE400 func LimitGreaterThanAllowedAsListOmniTokensByAddressE400(v *LimitGreaterThanAllowed) ListOmniTokensByAddressE400 { - return ListOmniTokensByAddressE400{ LimitGreaterThanAllowed: v} + return ListOmniTokensByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListOmniTokensByAddressE400 is a convenience function that returns UriNotFound wrapped in ListOmniTokensByAddressE400 func UriNotFoundAsListOmniTokensByAddressE400(v *UriNotFound) ListOmniTokensByAddressE400 { - return ListOmniTokensByAddressE400{ UriNotFound: v} + return ListOmniTokensByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListOmniTokensByAddressE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListOmniTokensByAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListOmniTokensByAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListOmniTokensByAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTokensByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_omni_tokens_by_address_e401.go b/model_list_omni_tokens_by_address_e401.go index aecde79..b098ec4 100644 --- a/model_list_omni_tokens_by_address_e401.go +++ b/model_list_omni_tokens_by_address_e401.go @@ -24,12 +24,16 @@ type ListOmniTokensByAddressE401 struct { // InvalidApiKeyAsListOmniTokensByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListOmniTokensByAddressE401 func InvalidApiKeyAsListOmniTokensByAddressE401(v *InvalidApiKey) ListOmniTokensByAddressE401 { - return ListOmniTokensByAddressE401{ InvalidApiKey: v} + return ListOmniTokensByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListOmniTokensByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListOmniTokensByAddressE401 func MissingApiKeyAsListOmniTokensByAddressE401(v *MissingApiKey) ListOmniTokensByAddressE401 { - return ListOmniTokensByAddressE401{ MissingApiKey: v} + return ListOmniTokensByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListOmniTokensByAddressE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListOmniTokensByAddressE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListOmniTokensByAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTokensByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_omni_tokens_by_address_e403.go b/model_list_omni_tokens_by_address_e403.go index 5315521..c899a1a 100644 --- a/model_list_omni_tokens_by_address_e403.go +++ b/model_list_omni_tokens_by_address_e403.go @@ -26,22 +26,30 @@ type ListOmniTokensByAddressE403 struct { // BannedIpAddressAsListOmniTokensByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListOmniTokensByAddressE403 func BannedIpAddressAsListOmniTokensByAddressE403(v *BannedIpAddress) ListOmniTokensByAddressE403 { - return ListOmniTokensByAddressE403{ BannedIpAddress: v} + return ListOmniTokensByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListOmniTokensByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListOmniTokensByAddressE403 func EndpointNotAllowedForApiKeyAsListOmniTokensByAddressE403(v *EndpointNotAllowedForApiKey) ListOmniTokensByAddressE403 { - return ListOmniTokensByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListOmniTokensByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListOmniTokensByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListOmniTokensByAddressE403 func EndpointNotAllowedForPlanAsListOmniTokensByAddressE403(v *EndpointNotAllowedForPlan) ListOmniTokensByAddressE403 { - return ListOmniTokensByAddressE403{ EndpointNotAllowedForPlan: v} + return ListOmniTokensByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListOmniTokensByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListOmniTokensByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListOmniTokensByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListOmniTokensByAddressE403 { - return ListOmniTokensByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListOmniTokensByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListOmniTokensByAddressE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListOmniTokensByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListOmniTokensByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListOmniTokensByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListOmniTokensByAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTokensByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_omni_tokens_by_address_r.go b/model_list_omni_tokens_by_address_r.go index d4806a0..e519271 100644 --- a/model_list_omni_tokens_by_address_r.go +++ b/model_list_omni_tokens_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListOmniTokensByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListOmniTokensByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListOmniTokensByAddressR) GetData() ListOmniTokensByAddressRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressR) GetDataOk() (*ListOmniTokensByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_omni_tokens_by_address_r_data.go b/model_list_omni_tokens_by_address_r_data.go index f98797f..c6f0fbe 100644 --- a/model_list_omni_tokens_by_address_r_data.go +++ b/model_list_omni_tokens_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListOmniTokensByAddressRData struct for ListOmniTokensByAddressRData type ListOmniTokensByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListOmniTokensByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListOmniTokensByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListOmniTokensByAddressRData(offset int32, limit int32, total int32, items []ListOmniTokensByAddressRI) *ListOmniTokensByAddressRData { +func NewListOmniTokensByAddressRData(limit int32, offset int32, total int32, items []ListOmniTokensByAddressRI) *ListOmniTokensByAddressRData { this := ListOmniTokensByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListOmniTokensByAddressRDataWithDefaults() *ListOmniTokensByAddressRData return &this } -// GetOffset returns the Offset field value -func (o *ListOmniTokensByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListOmniTokensByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListOmniTokensByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListOmniTokensByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListOmniTokensByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListOmniTokensByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListOmniTokensByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListOmniTokensByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListOmniTokensByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListOmniTokensByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListOmniTokensByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListOmniTokensByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListOmniTokensByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListOmniTokensByAddressRData) GetItems() []ListOmniTokensByAddressRI { // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListOmniTokensByAddressRData) GetItemsOk() (*[]ListOmniTokensByAddressRI, bool) { - if o == nil { +func (o *ListOmniTokensByAddressRData) GetItemsOk() ([]ListOmniTokensByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListOmniTokensByAddressRData) SetItems(v []ListOmniTokensByAddressRI) { func (o ListOmniTokensByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_omni_tokens_by_address_ri.go b/model_list_omni_tokens_by_address_ri.go index ab2518d..19f44d0 100644 --- a/model_list_omni_tokens_by_address_ri.go +++ b/model_list_omni_tokens_by_address_ri.go @@ -64,7 +64,7 @@ func (o *ListOmniTokensByAddressRI) GetBalance() string { // GetBalanceOk returns a tuple with the Balance field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressRI) GetBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Balance, true @@ -88,7 +88,7 @@ func (o *ListOmniTokensByAddressRI) GetFrozen() string { // GetFrozenOk returns a tuple with the Frozen field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressRI) GetFrozenOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Frozen, true @@ -112,7 +112,7 @@ func (o *ListOmniTokensByAddressRI) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressRI) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -136,7 +136,7 @@ func (o *ListOmniTokensByAddressRI) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressRI) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -160,7 +160,7 @@ func (o *ListOmniTokensByAddressRI) GetReserved() string { // GetReservedOk returns a tuple with the Reserved field value // and a boolean to check if the value has been set. func (o *ListOmniTokensByAddressRI) GetReservedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Reserved, true diff --git a/model_list_omni_transactions_by_address_e400.go b/model_list_omni_transactions_by_address_e400.go index 74e0b4a..75eeb1f 100644 --- a/model_list_omni_transactions_by_address_e400.go +++ b/model_list_omni_transactions_by_address_e400.go @@ -25,17 +25,23 @@ type ListOmniTransactionsByAddressE400 struct { // InvalidPaginationAsListOmniTransactionsByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListOmniTransactionsByAddressE400 func InvalidPaginationAsListOmniTransactionsByAddressE400(v *InvalidPagination) ListOmniTransactionsByAddressE400 { - return ListOmniTransactionsByAddressE400{ InvalidPagination: v} + return ListOmniTransactionsByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListOmniTransactionsByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListOmniTransactionsByAddressE400 func LimitGreaterThanAllowedAsListOmniTransactionsByAddressE400(v *LimitGreaterThanAllowed) ListOmniTransactionsByAddressE400 { - return ListOmniTransactionsByAddressE400{ LimitGreaterThanAllowed: v} + return ListOmniTransactionsByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListOmniTransactionsByAddressE400 is a convenience function that returns UriNotFound wrapped in ListOmniTransactionsByAddressE400 func UriNotFoundAsListOmniTransactionsByAddressE400(v *UriNotFound) ListOmniTransactionsByAddressE400 { - return ListOmniTransactionsByAddressE400{ UriNotFound: v} + return ListOmniTransactionsByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListOmniTransactionsByAddressE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListOmniTransactionsByAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListOmniTransactionsByAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListOmniTransactionsByAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_omni_transactions_by_address_e401.go b/model_list_omni_transactions_by_address_e401.go index be21058..c672db3 100644 --- a/model_list_omni_transactions_by_address_e401.go +++ b/model_list_omni_transactions_by_address_e401.go @@ -24,12 +24,16 @@ type ListOmniTransactionsByAddressE401 struct { // InvalidApiKeyAsListOmniTransactionsByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListOmniTransactionsByAddressE401 func InvalidApiKeyAsListOmniTransactionsByAddressE401(v *InvalidApiKey) ListOmniTransactionsByAddressE401 { - return ListOmniTransactionsByAddressE401{ InvalidApiKey: v} + return ListOmniTransactionsByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListOmniTransactionsByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListOmniTransactionsByAddressE401 func MissingApiKeyAsListOmniTransactionsByAddressE401(v *MissingApiKey) ListOmniTransactionsByAddressE401 { - return ListOmniTransactionsByAddressE401{ MissingApiKey: v} + return ListOmniTransactionsByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListOmniTransactionsByAddressE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListOmniTransactionsByAddressE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListOmniTransactionsByAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_omni_transactions_by_address_e403.go b/model_list_omni_transactions_by_address_e403.go index 48d133d..d8ca7a5 100644 --- a/model_list_omni_transactions_by_address_e403.go +++ b/model_list_omni_transactions_by_address_e403.go @@ -26,22 +26,30 @@ type ListOmniTransactionsByAddressE403 struct { // BannedIpAddressAsListOmniTransactionsByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListOmniTransactionsByAddressE403 func BannedIpAddressAsListOmniTransactionsByAddressE403(v *BannedIpAddress) ListOmniTransactionsByAddressE403 { - return ListOmniTransactionsByAddressE403{ BannedIpAddress: v} + return ListOmniTransactionsByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListOmniTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListOmniTransactionsByAddressE403 func EndpointNotAllowedForApiKeyAsListOmniTransactionsByAddressE403(v *EndpointNotAllowedForApiKey) ListOmniTransactionsByAddressE403 { - return ListOmniTransactionsByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListOmniTransactionsByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListOmniTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListOmniTransactionsByAddressE403 func EndpointNotAllowedForPlanAsListOmniTransactionsByAddressE403(v *EndpointNotAllowedForPlan) ListOmniTransactionsByAddressE403 { - return ListOmniTransactionsByAddressE403{ EndpointNotAllowedForPlan: v} + return ListOmniTransactionsByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListOmniTransactionsByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListOmniTransactionsByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListOmniTransactionsByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListOmniTransactionsByAddressE403 { - return ListOmniTransactionsByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListOmniTransactionsByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListOmniTransactionsByAddressE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListOmniTransactionsByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListOmniTransactionsByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListOmniTransactionsByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListOmniTransactionsByAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_omni_transactions_by_address_r.go b/model_list_omni_transactions_by_address_r.go index 006914b..279dd32 100644 --- a/model_list_omni_transactions_by_address_r.go +++ b/model_list_omni_transactions_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListOmniTransactionsByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListOmniTransactionsByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListOmniTransactionsByAddressR) GetData() ListOmniTransactionsByAddress // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressR) GetDataOk() (*ListOmniTransactionsByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_omni_transactions_by_address_r_data.go b/model_list_omni_transactions_by_address_r_data.go index 240136a..9016af1 100644 --- a/model_list_omni_transactions_by_address_r_data.go +++ b/model_list_omni_transactions_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListOmniTransactionsByAddressRData struct for ListOmniTransactionsByAddressRData type ListOmniTransactionsByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListOmniTransactionsByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListOmniTransactionsByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListOmniTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListOmniTransactionsByAddressRI) *ListOmniTransactionsByAddressRData { +func NewListOmniTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListOmniTransactionsByAddressRI) *ListOmniTransactionsByAddressRData { this := ListOmniTransactionsByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListOmniTransactionsByAddressRDataWithDefaults() *ListOmniTransactionsBy return &this } -// GetOffset returns the Offset field value -func (o *ListOmniTransactionsByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListOmniTransactionsByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListOmniTransactionsByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListOmniTransactionsByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListOmniTransactionsByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListOmniTransactionsByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListOmniTransactionsByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListOmniTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListOmniTransactionsByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListOmniTransactionsByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListOmniTransactionsByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListOmniTransactionsByAddressRData) GetItems() []ListOmniTransactionsBy // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByAddressRData) GetItemsOk() (*[]ListOmniTransactionsByAddressRI, bool) { - if o == nil { +func (o *ListOmniTransactionsByAddressRData) GetItemsOk() ([]ListOmniTransactionsByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListOmniTransactionsByAddressRData) SetItems(v []ListOmniTransactionsBy func (o ListOmniTransactionsByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_omni_transactions_by_address_ri.go b/model_list_omni_transactions_by_address_ri.go index f47c558..6cd7841 100644 --- a/model_list_omni_transactions_by_address_ri.go +++ b/model_list_omni_transactions_by_address_ri.go @@ -90,7 +90,7 @@ func (o *ListOmniTransactionsByAddressRI) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -114,7 +114,7 @@ func (o *ListOmniTransactionsByAddressRI) GetDivisible() bool { // GetDivisibleOk returns a tuple with the Divisible field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetDivisibleOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Divisible, true @@ -138,7 +138,7 @@ func (o *ListOmniTransactionsByAddressRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -162,7 +162,7 @@ func (o *ListOmniTransactionsByAddressRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -186,7 +186,7 @@ func (o *ListOmniTransactionsByAddressRI) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -209,11 +209,11 @@ func (o *ListOmniTransactionsByAddressRI) GetRecipients() []ListOmniTransactions // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByAddressRI) GetRecipientsOk() (*[]ListOmniTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListOmniTransactionsByAddressRI) GetRecipientsOk() ([]ListOmniTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -233,11 +233,11 @@ func (o *ListOmniTransactionsByAddressRI) GetSenders() []ListOmniTransactionsByA // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByAddressRI) GetSendersOk() (*[]ListOmniTransactionsByAddressRISenders, bool) { - if o == nil { +func (o *ListOmniTransactionsByAddressRI) GetSendersOk() ([]ListOmniTransactionsByAddressRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -258,7 +258,7 @@ func (o *ListOmniTransactionsByAddressRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -282,7 +282,7 @@ func (o *ListOmniTransactionsByAddressRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -306,7 +306,7 @@ func (o *ListOmniTransactionsByAddressRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -330,7 +330,7 @@ func (o *ListOmniTransactionsByAddressRI) GetTypeInt() int32 { // GetTypeIntOk returns a tuple with the TypeInt field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetTypeIntOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TypeInt, true @@ -354,7 +354,7 @@ func (o *ListOmniTransactionsByAddressRI) GetValid() bool { // GetValidOk returns a tuple with the Valid field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetValidOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Valid, true @@ -378,7 +378,7 @@ func (o *ListOmniTransactionsByAddressRI) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -402,7 +402,7 @@ func (o *ListOmniTransactionsByAddressRI) GetFee() ListOmniTransactionsByAddress // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRI) GetFeeOk() (*ListOmniTransactionsByAddressRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true diff --git a/model_list_omni_transactions_by_address_ri_fee.go b/model_list_omni_transactions_by_address_ri_fee.go index ca35d00..c144428 100644 --- a/model_list_omni_transactions_by_address_ri_fee.go +++ b/model_list_omni_transactions_by_address_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListOmniTransactionsByAddressRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListOmniTransactionsByAddressRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_omni_transactions_by_address_ri_recipients.go b/model_list_omni_transactions_by_address_ri_recipients.go index fb85a45..440ba2b 100644 --- a/model_list_omni_transactions_by_address_ri_recipients.go +++ b/model_list_omni_transactions_by_address_ri_recipients.go @@ -55,7 +55,7 @@ func (o *ListOmniTransactionsByAddressRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListOmniTransactionsByAddressRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_omni_transactions_by_address_ri_senders.go b/model_list_omni_transactions_by_address_ri_senders.go index de4378b..2a15d42 100644 --- a/model_list_omni_transactions_by_address_ri_senders.go +++ b/model_list_omni_transactions_by_address_ri_senders.go @@ -55,7 +55,7 @@ func (o *ListOmniTransactionsByAddressRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListOmniTransactionsByAddressRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByAddressRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_omni_transactions_by_block_hash_e400.go b/model_list_omni_transactions_by_block_hash_e400.go index 1d5b6c8..434e0b8 100644 --- a/model_list_omni_transactions_by_block_hash_e400.go +++ b/model_list_omni_transactions_by_block_hash_e400.go @@ -25,17 +25,23 @@ type ListOmniTransactionsByBlockHashE400 struct { // InvalidPaginationAsListOmniTransactionsByBlockHashE400 is a convenience function that returns InvalidPagination wrapped in ListOmniTransactionsByBlockHashE400 func InvalidPaginationAsListOmniTransactionsByBlockHashE400(v *InvalidPagination) ListOmniTransactionsByBlockHashE400 { - return ListOmniTransactionsByBlockHashE400{ InvalidPagination: v} + return ListOmniTransactionsByBlockHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListOmniTransactionsByBlockHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListOmniTransactionsByBlockHashE400 func LimitGreaterThanAllowedAsListOmniTransactionsByBlockHashE400(v *LimitGreaterThanAllowed) ListOmniTransactionsByBlockHashE400 { - return ListOmniTransactionsByBlockHashE400{ LimitGreaterThanAllowed: v} + return ListOmniTransactionsByBlockHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListOmniTransactionsByBlockHashE400 is a convenience function that returns UriNotFound wrapped in ListOmniTransactionsByBlockHashE400 func UriNotFoundAsListOmniTransactionsByBlockHashE400(v *UriNotFound) ListOmniTransactionsByBlockHashE400 { - return ListOmniTransactionsByBlockHashE400{ UriNotFound: v} + return ListOmniTransactionsByBlockHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListOmniTransactionsByBlockHashE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListOmniTransactionsByBlockHashE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListOmniTransactionsByBlockHashE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListOmniTransactionsByBlockHashE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByBlockHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_omni_transactions_by_block_hash_e401.go b/model_list_omni_transactions_by_block_hash_e401.go index b9c47be..570b1be 100644 --- a/model_list_omni_transactions_by_block_hash_e401.go +++ b/model_list_omni_transactions_by_block_hash_e401.go @@ -24,12 +24,16 @@ type ListOmniTransactionsByBlockHashE401 struct { // InvalidApiKeyAsListOmniTransactionsByBlockHashE401 is a convenience function that returns InvalidApiKey wrapped in ListOmniTransactionsByBlockHashE401 func InvalidApiKeyAsListOmniTransactionsByBlockHashE401(v *InvalidApiKey) ListOmniTransactionsByBlockHashE401 { - return ListOmniTransactionsByBlockHashE401{ InvalidApiKey: v} + return ListOmniTransactionsByBlockHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListOmniTransactionsByBlockHashE401 is a convenience function that returns MissingApiKey wrapped in ListOmniTransactionsByBlockHashE401 func MissingApiKeyAsListOmniTransactionsByBlockHashE401(v *MissingApiKey) ListOmniTransactionsByBlockHashE401 { - return ListOmniTransactionsByBlockHashE401{ MissingApiKey: v} + return ListOmniTransactionsByBlockHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListOmniTransactionsByBlockHashE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListOmniTransactionsByBlockHashE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListOmniTransactionsByBlockHashE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByBlockHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_omni_transactions_by_block_hash_e403.go b/model_list_omni_transactions_by_block_hash_e403.go index 7c98bf4..98742f6 100644 --- a/model_list_omni_transactions_by_block_hash_e403.go +++ b/model_list_omni_transactions_by_block_hash_e403.go @@ -26,22 +26,30 @@ type ListOmniTransactionsByBlockHashE403 struct { // BannedIpAddressAsListOmniTransactionsByBlockHashE403 is a convenience function that returns BannedIpAddress wrapped in ListOmniTransactionsByBlockHashE403 func BannedIpAddressAsListOmniTransactionsByBlockHashE403(v *BannedIpAddress) ListOmniTransactionsByBlockHashE403 { - return ListOmniTransactionsByBlockHashE403{ BannedIpAddress: v} + return ListOmniTransactionsByBlockHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListOmniTransactionsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListOmniTransactionsByBlockHashE403 func EndpointNotAllowedForApiKeyAsListOmniTransactionsByBlockHashE403(v *EndpointNotAllowedForApiKey) ListOmniTransactionsByBlockHashE403 { - return ListOmniTransactionsByBlockHashE403{ EndpointNotAllowedForApiKey: v} + return ListOmniTransactionsByBlockHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListOmniTransactionsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListOmniTransactionsByBlockHashE403 func EndpointNotAllowedForPlanAsListOmniTransactionsByBlockHashE403(v *EndpointNotAllowedForPlan) ListOmniTransactionsByBlockHashE403 { - return ListOmniTransactionsByBlockHashE403{ EndpointNotAllowedForPlan: v} + return ListOmniTransactionsByBlockHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListOmniTransactionsByBlockHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListOmniTransactionsByBlockHashE403 func FeatureMainnetsNotAllowedForPlanAsListOmniTransactionsByBlockHashE403(v *FeatureMainnetsNotAllowedForPlan) ListOmniTransactionsByBlockHashE403 { - return ListOmniTransactionsByBlockHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListOmniTransactionsByBlockHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListOmniTransactionsByBlockHashE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListOmniTransactionsByBlockHashE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListOmniTransactionsByBlockHashE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListOmniTransactionsByBlockHashE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListOmniTransactionsByBlockHashE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByBlockHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_omni_transactions_by_block_hash_r.go b/model_list_omni_transactions_by_block_hash_r.go index 48a1305..a55e00d 100644 --- a/model_list_omni_transactions_by_block_hash_r.go +++ b/model_list_omni_transactions_by_block_hash_r.go @@ -59,7 +59,7 @@ func (o *ListOmniTransactionsByBlockHashR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListOmniTransactionsByBlockHashR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListOmniTransactionsByBlockHashR) GetData() ListOmniTransactionsByBlock // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashR) GetDataOk() (*ListOmniTransactionsByBlockHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_omni_transactions_by_block_hash_r_data.go b/model_list_omni_transactions_by_block_hash_r_data.go index 80d9ab9..0209b4a 100644 --- a/model_list_omni_transactions_by_block_hash_r_data.go +++ b/model_list_omni_transactions_by_block_hash_r_data.go @@ -17,10 +17,10 @@ import ( // ListOmniTransactionsByBlockHashRData struct for ListOmniTransactionsByBlockHashRData type ListOmniTransactionsByBlockHashRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListOmniTransactionsByBlockHashRI `json:"items"` @@ -30,10 +30,10 @@ type ListOmniTransactionsByBlockHashRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListOmniTransactionsByBlockHashRData(offset int32, limit int32, total int32, items []ListOmniTransactionsByBlockHashRI) *ListOmniTransactionsByBlockHashRData { +func NewListOmniTransactionsByBlockHashRData(limit int32, offset int32, total int32, items []ListOmniTransactionsByBlockHashRI) *ListOmniTransactionsByBlockHashRData { this := ListOmniTransactionsByBlockHashRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListOmniTransactionsByBlockHashRDataWithDefaults() *ListOmniTransactions return &this } -// GetOffset returns the Offset field value -func (o *ListOmniTransactionsByBlockHashRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListOmniTransactionsByBlockHashRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHashRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListOmniTransactionsByBlockHashRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListOmniTransactionsByBlockHashRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListOmniTransactionsByBlockHashRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListOmniTransactionsByBlockHashRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHashRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListOmniTransactionsByBlockHashRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListOmniTransactionsByBlockHashRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListOmniTransactionsByBlockHashRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListOmniTransactionsByBlockHashRData) GetItems() []ListOmniTransactions // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHashRData) GetItemsOk() (*[]ListOmniTransactionsByBlockHashRI, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHashRData) GetItemsOk() ([]ListOmniTransactionsByBlockHashRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListOmniTransactionsByBlockHashRData) SetItems(v []ListOmniTransactions func (o ListOmniTransactionsByBlockHashRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_omni_transactions_by_block_hash_ri.go b/model_list_omni_transactions_by_block_hash_ri.go index 75b565f..5fcb8bb 100644 --- a/model_list_omni_transactions_by_block_hash_ri.go +++ b/model_list_omni_transactions_by_block_hash_ri.go @@ -93,7 +93,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -117,7 +117,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetDivisible() bool { // GetDivisibleOk returns a tuple with the Divisible field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetDivisibleOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Divisible, true @@ -141,7 +141,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -165,7 +165,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -189,7 +189,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetPositionInBlock() int32 { // GetPositionInBlockOk returns a tuple with the PositionInBlock field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetPositionInBlockOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PositionInBlock, true @@ -213,7 +213,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -236,11 +236,11 @@ func (o *ListOmniTransactionsByBlockHashRI) GetRecipients() []ListOmniTransactio // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHashRI) GetRecipientsOk() (*[]ListOmniTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHashRI) GetRecipientsOk() ([]ListOmniTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -260,11 +260,11 @@ func (o *ListOmniTransactionsByBlockHashRI) GetSenders() []ListOmniTransactionsB // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHashRI) GetSendersOk() (*[]ListOmniTransactionsByAddressRISenders, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHashRI) GetSendersOk() ([]ListOmniTransactionsByAddressRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -285,7 +285,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -309,7 +309,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -333,7 +333,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -357,7 +357,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetTypeInt() int32 { // GetTypeIntOk returns a tuple with the TypeInt field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetTypeIntOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TypeInt, true @@ -381,7 +381,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetValid() bool { // GetValidOk returns a tuple with the Valid field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetValidOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Valid, true @@ -405,7 +405,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -429,7 +429,7 @@ func (o *ListOmniTransactionsByBlockHashRI) GetFee() ListOmniTransactionsByBlock // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRI) GetFeeOk() (*ListOmniTransactionsByBlockHashRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true diff --git a/model_list_omni_transactions_by_block_hash_ri_fee.go b/model_list_omni_transactions_by_block_hash_ri_fee.go index 74ebf02..eb58278 100644 --- a/model_list_omni_transactions_by_block_hash_ri_fee.go +++ b/model_list_omni_transactions_by_block_hash_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListOmniTransactionsByBlockHashRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListOmniTransactionsByBlockHashRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHashRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_omni_transactions_by_block_height_e400.go b/model_list_omni_transactions_by_block_height_e400.go index beeebe5..0655bfd 100644 --- a/model_list_omni_transactions_by_block_height_e400.go +++ b/model_list_omni_transactions_by_block_height_e400.go @@ -25,17 +25,23 @@ type ListOmniTransactionsByBlockHeightE400 struct { // InvalidPaginationAsListOmniTransactionsByBlockHeightE400 is a convenience function that returns InvalidPagination wrapped in ListOmniTransactionsByBlockHeightE400 func InvalidPaginationAsListOmniTransactionsByBlockHeightE400(v *InvalidPagination) ListOmniTransactionsByBlockHeightE400 { - return ListOmniTransactionsByBlockHeightE400{ InvalidPagination: v} + return ListOmniTransactionsByBlockHeightE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListOmniTransactionsByBlockHeightE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListOmniTransactionsByBlockHeightE400 func LimitGreaterThanAllowedAsListOmniTransactionsByBlockHeightE400(v *LimitGreaterThanAllowed) ListOmniTransactionsByBlockHeightE400 { - return ListOmniTransactionsByBlockHeightE400{ LimitGreaterThanAllowed: v} + return ListOmniTransactionsByBlockHeightE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListOmniTransactionsByBlockHeightE400 is a convenience function that returns UriNotFound wrapped in ListOmniTransactionsByBlockHeightE400 func UriNotFoundAsListOmniTransactionsByBlockHeightE400(v *UriNotFound) ListOmniTransactionsByBlockHeightE400 { - return ListOmniTransactionsByBlockHeightE400{ UriNotFound: v} + return ListOmniTransactionsByBlockHeightE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListOmniTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListOmniTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListOmniTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) err } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListOmniTransactionsByBlockHeightE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByBlockHeightE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_omni_transactions_by_block_height_e401.go b/model_list_omni_transactions_by_block_height_e401.go index 5400c28..f4d685b 100644 --- a/model_list_omni_transactions_by_block_height_e401.go +++ b/model_list_omni_transactions_by_block_height_e401.go @@ -24,12 +24,16 @@ type ListOmniTransactionsByBlockHeightE401 struct { // InvalidApiKeyAsListOmniTransactionsByBlockHeightE401 is a convenience function that returns InvalidApiKey wrapped in ListOmniTransactionsByBlockHeightE401 func InvalidApiKeyAsListOmniTransactionsByBlockHeightE401(v *InvalidApiKey) ListOmniTransactionsByBlockHeightE401 { - return ListOmniTransactionsByBlockHeightE401{ InvalidApiKey: v} + return ListOmniTransactionsByBlockHeightE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListOmniTransactionsByBlockHeightE401 is a convenience function that returns MissingApiKey wrapped in ListOmniTransactionsByBlockHeightE401 func MissingApiKeyAsListOmniTransactionsByBlockHeightE401(v *MissingApiKey) ListOmniTransactionsByBlockHeightE401 { - return ListOmniTransactionsByBlockHeightE401{ MissingApiKey: v} + return ListOmniTransactionsByBlockHeightE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListOmniTransactionsByBlockHeightE401) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListOmniTransactionsByBlockHeightE401) UnmarshalJSON(data []byte) err } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListOmniTransactionsByBlockHeightE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByBlockHeightE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_omni_transactions_by_block_height_e403.go b/model_list_omni_transactions_by_block_height_e403.go index fff221e..b65e956 100644 --- a/model_list_omni_transactions_by_block_height_e403.go +++ b/model_list_omni_transactions_by_block_height_e403.go @@ -26,22 +26,30 @@ type ListOmniTransactionsByBlockHeightE403 struct { // BannedIpAddressAsListOmniTransactionsByBlockHeightE403 is a convenience function that returns BannedIpAddress wrapped in ListOmniTransactionsByBlockHeightE403 func BannedIpAddressAsListOmniTransactionsByBlockHeightE403(v *BannedIpAddress) ListOmniTransactionsByBlockHeightE403 { - return ListOmniTransactionsByBlockHeightE403{ BannedIpAddress: v} + return ListOmniTransactionsByBlockHeightE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListOmniTransactionsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListOmniTransactionsByBlockHeightE403 func EndpointNotAllowedForApiKeyAsListOmniTransactionsByBlockHeightE403(v *EndpointNotAllowedForApiKey) ListOmniTransactionsByBlockHeightE403 { - return ListOmniTransactionsByBlockHeightE403{ EndpointNotAllowedForApiKey: v} + return ListOmniTransactionsByBlockHeightE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListOmniTransactionsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListOmniTransactionsByBlockHeightE403 func EndpointNotAllowedForPlanAsListOmniTransactionsByBlockHeightE403(v *EndpointNotAllowedForPlan) ListOmniTransactionsByBlockHeightE403 { - return ListOmniTransactionsByBlockHeightE403{ EndpointNotAllowedForPlan: v} + return ListOmniTransactionsByBlockHeightE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListOmniTransactionsByBlockHeightE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListOmniTransactionsByBlockHeightE403 func FeatureMainnetsNotAllowedForPlanAsListOmniTransactionsByBlockHeightE403(v *FeatureMainnetsNotAllowedForPlan) ListOmniTransactionsByBlockHeightE403 { - return ListOmniTransactionsByBlockHeightE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListOmniTransactionsByBlockHeightE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListOmniTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) err var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListOmniTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListOmniTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListOmniTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) err } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListOmniTransactionsByBlockHeightE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListOmniTransactionsByBlockHeightE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_omni_transactions_by_block_height_r.go b/model_list_omni_transactions_by_block_height_r.go index c7c0ffd..85ffe07 100644 --- a/model_list_omni_transactions_by_block_height_r.go +++ b/model_list_omni_transactions_by_block_height_r.go @@ -59,7 +59,7 @@ func (o *ListOmniTransactionsByBlockHeightR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListOmniTransactionsByBlockHeightR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListOmniTransactionsByBlockHeightR) GetData() ListOmniTransactionsByBlo // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightR) GetDataOk() (*ListOmniTransactionsByBlockHeightRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_omni_transactions_by_block_height_r_data.go b/model_list_omni_transactions_by_block_height_r_data.go index 8dfe9f8..723a8b3 100644 --- a/model_list_omni_transactions_by_block_height_r_data.go +++ b/model_list_omni_transactions_by_block_height_r_data.go @@ -17,10 +17,10 @@ import ( // ListOmniTransactionsByBlockHeightRData struct for ListOmniTransactionsByBlockHeightRData type ListOmniTransactionsByBlockHeightRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListOmniTransactionsByBlockHeightRI `json:"items"` @@ -30,10 +30,10 @@ type ListOmniTransactionsByBlockHeightRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListOmniTransactionsByBlockHeightRData(offset int32, limit int32, total int32, items []ListOmniTransactionsByBlockHeightRI) *ListOmniTransactionsByBlockHeightRData { +func NewListOmniTransactionsByBlockHeightRData(limit int32, offset int32, total int32, items []ListOmniTransactionsByBlockHeightRI) *ListOmniTransactionsByBlockHeightRData { this := ListOmniTransactionsByBlockHeightRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListOmniTransactionsByBlockHeightRDataWithDefaults() *ListOmniTransactio return &this } -// GetOffset returns the Offset field value -func (o *ListOmniTransactionsByBlockHeightRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListOmniTransactionsByBlockHeightRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListOmniTransactionsByBlockHeightRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListOmniTransactionsByBlockHeightRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListOmniTransactionsByBlockHeightRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListOmniTransactionsByBlockHeightRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListOmniTransactionsByBlockHeightRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListOmniTransactionsByBlockHeightRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListOmniTransactionsByBlockHeightRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListOmniTransactionsByBlockHeightRData) GetItems() []ListOmniTransactio // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHeightRData) GetItemsOk() (*[]ListOmniTransactionsByBlockHeightRI, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHeightRData) GetItemsOk() ([]ListOmniTransactionsByBlockHeightRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListOmniTransactionsByBlockHeightRData) SetItems(v []ListOmniTransactio func (o ListOmniTransactionsByBlockHeightRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_omni_transactions_by_block_height_ri.go b/model_list_omni_transactions_by_block_height_ri.go index 1751d5f..aaaeb04 100644 --- a/model_list_omni_transactions_by_block_height_ri.go +++ b/model_list_omni_transactions_by_block_height_ri.go @@ -93,7 +93,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -117,7 +117,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetDivisible() bool { // GetDivisibleOk returns a tuple with the Divisible field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetDivisibleOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Divisible, true @@ -141,7 +141,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -165,7 +165,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -189,7 +189,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetPositionInBlock() int32 { // GetPositionInBlockOk returns a tuple with the PositionInBlock field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetPositionInBlockOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PositionInBlock, true @@ -213,7 +213,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -236,11 +236,11 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetRecipients() []ListOmniTransact // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHeightRI) GetRecipientsOk() (*[]ListOmniTransactionsByBlockHeightRIRecipients, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHeightRI) GetRecipientsOk() ([]ListOmniTransactionsByBlockHeightRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -260,11 +260,11 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetSenders() []ListOmniTransaction // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListOmniTransactionsByBlockHeightRI) GetSendersOk() (*[]ListOmniTransactionsByBlockHeightRISenders, bool) { - if o == nil { +func (o *ListOmniTransactionsByBlockHeightRI) GetSendersOk() ([]ListOmniTransactionsByBlockHeightRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -285,7 +285,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -309,7 +309,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -333,7 +333,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -357,7 +357,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetTypeInt() int32 { // GetTypeIntOk returns a tuple with the TypeInt field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetTypeIntOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TypeInt, true @@ -381,7 +381,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetValid() bool { // GetValidOk returns a tuple with the Valid field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetValidOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Valid, true @@ -405,7 +405,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -429,7 +429,7 @@ func (o *ListOmniTransactionsByBlockHeightRI) GetFee() ListOmniTransactionsByBlo // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRI) GetFeeOk() (*ListOmniTransactionsByBlockHeightRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true diff --git a/model_list_omni_transactions_by_block_height_ri_fee.go b/model_list_omni_transactions_by_block_height_ri_fee.go index 331f401..85b6b14 100644 --- a/model_list_omni_transactions_by_block_height_ri_fee.go +++ b/model_list_omni_transactions_by_block_height_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListOmniTransactionsByBlockHeightRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListOmniTransactionsByBlockHeightRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_omni_transactions_by_block_height_ri_recipients.go b/model_list_omni_transactions_by_block_height_ri_recipients.go index 75e7bfa..41892a8 100644 --- a/model_list_omni_transactions_by_block_height_ri_recipients.go +++ b/model_list_omni_transactions_by_block_height_ri_recipients.go @@ -55,7 +55,7 @@ func (o *ListOmniTransactionsByBlockHeightRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListOmniTransactionsByBlockHeightRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_omni_transactions_by_block_height_ri_senders.go b/model_list_omni_transactions_by_block_height_ri_senders.go index be9dd5a..45a8de7 100644 --- a/model_list_omni_transactions_by_block_height_ri_senders.go +++ b/model_list_omni_transactions_by_block_height_ri_senders.go @@ -55,7 +55,7 @@ func (o *ListOmniTransactionsByBlockHeightRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListOmniTransactionsByBlockHeightRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListOmniTransactionsByBlockHeightRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_supported_assets_e400.go b/model_list_supported_assets_e400.go index 99f4068..550b5d0 100644 --- a/model_list_supported_assets_e400.go +++ b/model_list_supported_assets_e400.go @@ -25,17 +25,23 @@ type ListSupportedAssetsE400 struct { // InvalidPaginationAsListSupportedAssetsE400 is a convenience function that returns InvalidPagination wrapped in ListSupportedAssetsE400 func InvalidPaginationAsListSupportedAssetsE400(v *InvalidPagination) ListSupportedAssetsE400 { - return ListSupportedAssetsE400{ InvalidPagination: v} + return ListSupportedAssetsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListSupportedAssetsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListSupportedAssetsE400 func LimitGreaterThanAllowedAsListSupportedAssetsE400(v *LimitGreaterThanAllowed) ListSupportedAssetsE400 { - return ListSupportedAssetsE400{ LimitGreaterThanAllowed: v} + return ListSupportedAssetsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListSupportedAssetsE400 is a convenience function that returns UriNotFound wrapped in ListSupportedAssetsE400 func UriNotFoundAsListSupportedAssetsE400(v *UriNotFound) ListSupportedAssetsE400 { - return ListSupportedAssetsE400{ UriNotFound: v} + return ListSupportedAssetsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListSupportedAssetsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListSupportedAssetsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListSupportedAssetsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListSupportedAssetsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListSupportedAssetsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_supported_assets_e401.go b/model_list_supported_assets_e401.go index 2d4cd13..82d7f9c 100644 --- a/model_list_supported_assets_e401.go +++ b/model_list_supported_assets_e401.go @@ -24,12 +24,16 @@ type ListSupportedAssetsE401 struct { // InvalidApiKeyAsListSupportedAssetsE401 is a convenience function that returns InvalidApiKey wrapped in ListSupportedAssetsE401 func InvalidApiKeyAsListSupportedAssetsE401(v *InvalidApiKey) ListSupportedAssetsE401 { - return ListSupportedAssetsE401{ InvalidApiKey: v} + return ListSupportedAssetsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListSupportedAssetsE401 is a convenience function that returns MissingApiKey wrapped in ListSupportedAssetsE401 func MissingApiKeyAsListSupportedAssetsE401(v *MissingApiKey) ListSupportedAssetsE401 { - return ListSupportedAssetsE401{ MissingApiKey: v} + return ListSupportedAssetsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListSupportedAssetsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListSupportedAssetsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListSupportedAssetsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListSupportedAssetsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_supported_assets_e403.go b/model_list_supported_assets_e403.go index c780bdf..b933611 100644 --- a/model_list_supported_assets_e403.go +++ b/model_list_supported_assets_e403.go @@ -26,22 +26,30 @@ type ListSupportedAssetsE403 struct { // BannedIpAddressAsListSupportedAssetsE403 is a convenience function that returns BannedIpAddress wrapped in ListSupportedAssetsE403 func BannedIpAddressAsListSupportedAssetsE403(v *BannedIpAddress) ListSupportedAssetsE403 { - return ListSupportedAssetsE403{ BannedIpAddress: v} + return ListSupportedAssetsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListSupportedAssetsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListSupportedAssetsE403 func EndpointNotAllowedForApiKeyAsListSupportedAssetsE403(v *EndpointNotAllowedForApiKey) ListSupportedAssetsE403 { - return ListSupportedAssetsE403{ EndpointNotAllowedForApiKey: v} + return ListSupportedAssetsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListSupportedAssetsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListSupportedAssetsE403 func EndpointNotAllowedForPlanAsListSupportedAssetsE403(v *EndpointNotAllowedForPlan) ListSupportedAssetsE403 { - return ListSupportedAssetsE403{ EndpointNotAllowedForPlan: v} + return ListSupportedAssetsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListSupportedAssetsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListSupportedAssetsE403 func FeatureMainnetsNotAllowedForPlanAsListSupportedAssetsE403(v *FeatureMainnetsNotAllowedForPlan) ListSupportedAssetsE403 { - return ListSupportedAssetsE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListSupportedAssetsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListSupportedAssetsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListSupportedAssetsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListSupportedAssetsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListSupportedAssetsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListSupportedAssetsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListSupportedAssetsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_supported_assets_r.go b/model_list_supported_assets_r.go index 65e8c48..5bf119e 100644 --- a/model_list_supported_assets_r.go +++ b/model_list_supported_assets_r.go @@ -59,7 +59,7 @@ func (o *ListSupportedAssetsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListSupportedAssetsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListSupportedAssetsR) GetData() ListSupportedAssetsRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsR) GetDataOk() (*ListSupportedAssetsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_supported_assets_r_data.go b/model_list_supported_assets_r_data.go index 547ae9b..5386734 100644 --- a/model_list_supported_assets_r_data.go +++ b/model_list_supported_assets_r_data.go @@ -17,10 +17,10 @@ import ( // ListSupportedAssetsRData struct for ListSupportedAssetsRData type ListSupportedAssetsRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListSupportedAssetsRI `json:"items"` @@ -30,10 +30,10 @@ type ListSupportedAssetsRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListSupportedAssetsRData(offset int32, limit int32, total int32, items []ListSupportedAssetsRI) *ListSupportedAssetsRData { +func NewListSupportedAssetsRData(limit int32, offset int32, total int32, items []ListSupportedAssetsRI) *ListSupportedAssetsRData { this := ListSupportedAssetsRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListSupportedAssetsRDataWithDefaults() *ListSupportedAssetsRData { return &this } -// GetOffset returns the Offset field value -func (o *ListSupportedAssetsRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListSupportedAssetsRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListSupportedAssetsRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListSupportedAssetsRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListSupportedAssetsRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListSupportedAssetsRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListSupportedAssetsRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListSupportedAssetsRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListSupportedAssetsRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListSupportedAssetsRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListSupportedAssetsRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListSupportedAssetsRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListSupportedAssetsRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListSupportedAssetsRData) GetItems() []ListSupportedAssetsRI { // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListSupportedAssetsRData) GetItemsOk() (*[]ListSupportedAssetsRI, bool) { - if o == nil { +func (o *ListSupportedAssetsRData) GetItemsOk() ([]ListSupportedAssetsRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListSupportedAssetsRData) SetItems(v []ListSupportedAssetsRI) { func (o ListSupportedAssetsRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_supported_assets_ri.go b/model_list_supported_assets_ri.go index ab353ae..aa4b01e 100644 --- a/model_list_supported_assets_ri.go +++ b/model_list_supported_assets_ri.go @@ -64,7 +64,7 @@ func (o *ListSupportedAssetsRI) GetAssetId() string { // GetAssetIdOk returns a tuple with the AssetId field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsRI) GetAssetIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetId, true @@ -88,7 +88,7 @@ func (o *ListSupportedAssetsRI) GetAssetName() string { // GetAssetNameOk returns a tuple with the AssetName field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsRI) GetAssetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetName, true @@ -112,7 +112,7 @@ func (o *ListSupportedAssetsRI) GetAssetSymbol() string { // GetAssetSymbolOk returns a tuple with the AssetSymbol field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsRI) GetAssetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetSymbol, true @@ -136,7 +136,7 @@ func (o *ListSupportedAssetsRI) GetAssetType() string { // GetAssetTypeOk returns a tuple with the AssetType field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsRI) GetAssetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AssetType, true @@ -160,7 +160,7 @@ func (o *ListSupportedAssetsRI) GetOriginalSymbol() string { // GetOriginalSymbolOk returns a tuple with the OriginalSymbol field value // and a boolean to check if the value has been set. func (o *ListSupportedAssetsRI) GetOriginalSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OriginalSymbol, true diff --git a/model_list_supported_tokens_e400.go b/model_list_supported_tokens_e400.go index 5579156..d8db1c9 100644 --- a/model_list_supported_tokens_e400.go +++ b/model_list_supported_tokens_e400.go @@ -25,17 +25,23 @@ type ListSupportedTokensE400 struct { // InvalidPaginationAsListSupportedTokensE400 is a convenience function that returns InvalidPagination wrapped in ListSupportedTokensE400 func InvalidPaginationAsListSupportedTokensE400(v *InvalidPagination) ListSupportedTokensE400 { - return ListSupportedTokensE400{ InvalidPagination: v} + return ListSupportedTokensE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListSupportedTokensE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListSupportedTokensE400 func LimitGreaterThanAllowedAsListSupportedTokensE400(v *LimitGreaterThanAllowed) ListSupportedTokensE400 { - return ListSupportedTokensE400{ LimitGreaterThanAllowed: v} + return ListSupportedTokensE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListSupportedTokensE400 is a convenience function that returns UriNotFound wrapped in ListSupportedTokensE400 func UriNotFoundAsListSupportedTokensE400(v *UriNotFound) ListSupportedTokensE400 { - return ListSupportedTokensE400{ UriNotFound: v} + return ListSupportedTokensE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListSupportedTokensE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListSupportedTokensE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListSupportedTokensE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListSupportedTokensE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListSupportedTokensE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_supported_tokens_e401.go b/model_list_supported_tokens_e401.go index 5c2688d..5e04509 100644 --- a/model_list_supported_tokens_e401.go +++ b/model_list_supported_tokens_e401.go @@ -24,12 +24,16 @@ type ListSupportedTokensE401 struct { // InvalidApiKeyAsListSupportedTokensE401 is a convenience function that returns InvalidApiKey wrapped in ListSupportedTokensE401 func InvalidApiKeyAsListSupportedTokensE401(v *InvalidApiKey) ListSupportedTokensE401 { - return ListSupportedTokensE401{ InvalidApiKey: v} + return ListSupportedTokensE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListSupportedTokensE401 is a convenience function that returns MissingApiKey wrapped in ListSupportedTokensE401 func MissingApiKeyAsListSupportedTokensE401(v *MissingApiKey) ListSupportedTokensE401 { - return ListSupportedTokensE401{ MissingApiKey: v} + return ListSupportedTokensE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListSupportedTokensE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListSupportedTokensE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListSupportedTokensE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListSupportedTokensE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_supported_tokens_e403.go b/model_list_supported_tokens_e403.go index e9cb3c5..461d045 100644 --- a/model_list_supported_tokens_e403.go +++ b/model_list_supported_tokens_e403.go @@ -26,22 +26,30 @@ type ListSupportedTokensE403 struct { // BannedIpAddressAsListSupportedTokensE403 is a convenience function that returns BannedIpAddress wrapped in ListSupportedTokensE403 func BannedIpAddressAsListSupportedTokensE403(v *BannedIpAddress) ListSupportedTokensE403 { - return ListSupportedTokensE403{ BannedIpAddress: v} + return ListSupportedTokensE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListSupportedTokensE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListSupportedTokensE403 func EndpointNotAllowedForApiKeyAsListSupportedTokensE403(v *EndpointNotAllowedForApiKey) ListSupportedTokensE403 { - return ListSupportedTokensE403{ EndpointNotAllowedForApiKey: v} + return ListSupportedTokensE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListSupportedTokensE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListSupportedTokensE403 func EndpointNotAllowedForPlanAsListSupportedTokensE403(v *EndpointNotAllowedForPlan) ListSupportedTokensE403 { - return ListSupportedTokensE403{ EndpointNotAllowedForPlan: v} + return ListSupportedTokensE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListSupportedTokensE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListSupportedTokensE403 func FeatureMainnetsNotAllowedForPlanAsListSupportedTokensE403(v *FeatureMainnetsNotAllowedForPlan) ListSupportedTokensE403 { - return ListSupportedTokensE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListSupportedTokensE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListSupportedTokensE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListSupportedTokensE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListSupportedTokensE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListSupportedTokensE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListSupportedTokensE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListSupportedTokensE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_supported_tokens_r.go b/model_list_supported_tokens_r.go index 2bca062..fe4fa62 100644 --- a/model_list_supported_tokens_r.go +++ b/model_list_supported_tokens_r.go @@ -59,7 +59,7 @@ func (o *ListSupportedTokensR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListSupportedTokensR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListSupportedTokensR) GetData() ListSupportedTokensRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensR) GetDataOk() (*ListSupportedTokensRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_supported_tokens_r_data.go b/model_list_supported_tokens_r_data.go index af6cb39..3d17307 100644 --- a/model_list_supported_tokens_r_data.go +++ b/model_list_supported_tokens_r_data.go @@ -17,10 +17,10 @@ import ( // ListSupportedTokensRData struct for ListSupportedTokensRData type ListSupportedTokensRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListSupportedTokensRI `json:"items"` @@ -30,10 +30,10 @@ type ListSupportedTokensRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListSupportedTokensRData(offset int32, limit int32, total int32, items []ListSupportedTokensRI) *ListSupportedTokensRData { +func NewListSupportedTokensRData(limit int32, offset int32, total int32, items []ListSupportedTokensRI) *ListSupportedTokensRData { this := ListSupportedTokensRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListSupportedTokensRDataWithDefaults() *ListSupportedTokensRData { return &this } -// GetOffset returns the Offset field value -func (o *ListSupportedTokensRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListSupportedTokensRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListSupportedTokensRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListSupportedTokensRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListSupportedTokensRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListSupportedTokensRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListSupportedTokensRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListSupportedTokensRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListSupportedTokensRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListSupportedTokensRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListSupportedTokensRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListSupportedTokensRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListSupportedTokensRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListSupportedTokensRData) GetItems() []ListSupportedTokensRI { // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListSupportedTokensRData) GetItemsOk() (*[]ListSupportedTokensRI, bool) { - if o == nil { +func (o *ListSupportedTokensRData) GetItemsOk() ([]ListSupportedTokensRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListSupportedTokensRData) SetItems(v []ListSupportedTokensRI) { func (o ListSupportedTokensRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_supported_tokens_ri.go b/model_list_supported_tokens_ri.go index 260a148..13a6a4a 100644 --- a/model_list_supported_tokens_ri.go +++ b/model_list_supported_tokens_ri.go @@ -64,7 +64,7 @@ func (o *ListSupportedTokensRI) GetDecimals() int32 { // GetDecimalsOk returns a tuple with the Decimals field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensRI) GetDecimalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Decimals, true @@ -88,7 +88,7 @@ func (o *ListSupportedTokensRI) GetIdentifier() string { // GetIdentifierOk returns a tuple with the Identifier field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensRI) GetIdentifierOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Identifier, true @@ -112,7 +112,7 @@ func (o *ListSupportedTokensRI) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensRI) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -136,7 +136,7 @@ func (o *ListSupportedTokensRI) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensRI) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -160,7 +160,7 @@ func (o *ListSupportedTokensRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListSupportedTokensRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_tokens_by_address_e400.go b/model_list_tokens_by_address_e400.go index 3c9081c..e7418fe 100644 --- a/model_list_tokens_by_address_e400.go +++ b/model_list_tokens_by_address_e400.go @@ -25,17 +25,23 @@ type ListTokensByAddressE400 struct { // InvalidPaginationAsListTokensByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListTokensByAddressE400 func InvalidPaginationAsListTokensByAddressE400(v *InvalidPagination) ListTokensByAddressE400 { - return ListTokensByAddressE400{ InvalidPagination: v} + return ListTokensByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListTokensByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListTokensByAddressE400 func LimitGreaterThanAllowedAsListTokensByAddressE400(v *LimitGreaterThanAllowed) ListTokensByAddressE400 { - return ListTokensByAddressE400{ LimitGreaterThanAllowed: v} + return ListTokensByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListTokensByAddressE400 is a convenience function that returns UriNotFound wrapped in ListTokensByAddressE400 func UriNotFoundAsListTokensByAddressE400(v *UriNotFound) ListTokensByAddressE400 { - return ListTokensByAddressE400{ UriNotFound: v} + return ListTokensByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListTokensByAddressE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListTokensByAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListTokensByAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListTokensByAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTokensByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_tokens_by_address_e401.go b/model_list_tokens_by_address_e401.go index 49df02d..1d78ecf 100644 --- a/model_list_tokens_by_address_e401.go +++ b/model_list_tokens_by_address_e401.go @@ -24,12 +24,16 @@ type ListTokensByAddressE401 struct { // InvalidApiKeyAsListTokensByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListTokensByAddressE401 func InvalidApiKeyAsListTokensByAddressE401(v *InvalidApiKey) ListTokensByAddressE401 { - return ListTokensByAddressE401{ InvalidApiKey: v} + return ListTokensByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListTokensByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListTokensByAddressE401 func MissingApiKeyAsListTokensByAddressE401(v *MissingApiKey) ListTokensByAddressE401 { - return ListTokensByAddressE401{ MissingApiKey: v} + return ListTokensByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListTokensByAddressE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListTokensByAddressE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListTokensByAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTokensByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_tokens_by_address_e403.go b/model_list_tokens_by_address_e403.go index 69cb506..b44b15d 100644 --- a/model_list_tokens_by_address_e403.go +++ b/model_list_tokens_by_address_e403.go @@ -26,22 +26,30 @@ type ListTokensByAddressE403 struct { // BannedIpAddressAsListTokensByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListTokensByAddressE403 func BannedIpAddressAsListTokensByAddressE403(v *BannedIpAddress) ListTokensByAddressE403 { - return ListTokensByAddressE403{ BannedIpAddress: v} + return ListTokensByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListTokensByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListTokensByAddressE403 func EndpointNotAllowedForApiKeyAsListTokensByAddressE403(v *EndpointNotAllowedForApiKey) ListTokensByAddressE403 { - return ListTokensByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListTokensByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListTokensByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListTokensByAddressE403 func EndpointNotAllowedForPlanAsListTokensByAddressE403(v *EndpointNotAllowedForPlan) ListTokensByAddressE403 { - return ListTokensByAddressE403{ EndpointNotAllowedForPlan: v} + return ListTokensByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListTokensByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListTokensByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListTokensByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListTokensByAddressE403 { - return ListTokensByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListTokensByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListTokensByAddressE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListTokensByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListTokensByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListTokensByAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListTokensByAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTokensByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_tokens_by_address_r.go b/model_list_tokens_by_address_r.go index f32175a..c6607e9 100644 --- a/model_list_tokens_by_address_r.go +++ b/model_list_tokens_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListTokensByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListTokensByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListTokensByAddressR) GetData() ListTokensByAddressRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressR) GetDataOk() (*ListTokensByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_tokens_by_address_r_data.go b/model_list_tokens_by_address_r_data.go index 7ffdde0..4e1221d 100644 --- a/model_list_tokens_by_address_r_data.go +++ b/model_list_tokens_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListTokensByAddressRData struct for ListTokensByAddressRData type ListTokensByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListTokensByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListTokensByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTokensByAddressRData(offset int32, limit int32, total int32, items []ListTokensByAddressRI) *ListTokensByAddressRData { +func NewListTokensByAddressRData(limit int32, offset int32, total int32, items []ListTokensByAddressRI) *ListTokensByAddressRData { this := ListTokensByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListTokensByAddressRDataWithDefaults() *ListTokensByAddressRData { return &this } -// GetOffset returns the Offset field value -func (o *ListTokensByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListTokensByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListTokensByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListTokensByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListTokensByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListTokensByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListTokensByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListTokensByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListTokensByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListTokensByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListTokensByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListTokensByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListTokensByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListTokensByAddressRData) GetItems() []ListTokensByAddressRI { // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListTokensByAddressRData) GetItemsOk() (*[]ListTokensByAddressRI, bool) { - if o == nil { +func (o *ListTokensByAddressRData) GetItemsOk() ([]ListTokensByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListTokensByAddressRData) SetItems(v []ListTokensByAddressRI) { func (o ListTokensByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_tokens_by_address_ri.go b/model_list_tokens_by_address_ri.go index 316e397..2e683dc 100644 --- a/model_list_tokens_by_address_ri.go +++ b/model_list_tokens_by_address_ri.go @@ -64,7 +64,7 @@ func (o *ListTokensByAddressRI) GetConfirmedBalance() string { // GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressRI) GetConfirmedBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmedBalance, true @@ -88,7 +88,7 @@ func (o *ListTokensByAddressRI) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressRI) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true @@ -112,7 +112,7 @@ func (o *ListTokensByAddressRI) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressRI) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -136,7 +136,7 @@ func (o *ListTokensByAddressRI) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressRI) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -160,7 +160,7 @@ func (o *ListTokensByAddressRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTokensByAddressRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_tokens_forwarding_automations_e400.go b/model_list_tokens_forwarding_automations_e400.go index c0f20d3..85a3c7a 100644 --- a/model_list_tokens_forwarding_automations_e400.go +++ b/model_list_tokens_forwarding_automations_e400.go @@ -25,17 +25,23 @@ type ListTokensForwardingAutomationsE400 struct { // InvalidPaginationAsListTokensForwardingAutomationsE400 is a convenience function that returns InvalidPagination wrapped in ListTokensForwardingAutomationsE400 func InvalidPaginationAsListTokensForwardingAutomationsE400(v *InvalidPagination) ListTokensForwardingAutomationsE400 { - return ListTokensForwardingAutomationsE400{ InvalidPagination: v} + return ListTokensForwardingAutomationsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListTokensForwardingAutomationsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListTokensForwardingAutomationsE400 func LimitGreaterThanAllowedAsListTokensForwardingAutomationsE400(v *LimitGreaterThanAllowed) ListTokensForwardingAutomationsE400 { - return ListTokensForwardingAutomationsE400{ LimitGreaterThanAllowed: v} + return ListTokensForwardingAutomationsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListTokensForwardingAutomationsE400 is a convenience function that returns UriNotFound wrapped in ListTokensForwardingAutomationsE400 func UriNotFoundAsListTokensForwardingAutomationsE400(v *UriNotFound) ListTokensForwardingAutomationsE400 { - return ListTokensForwardingAutomationsE400{ UriNotFound: v} + return ListTokensForwardingAutomationsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListTokensForwardingAutomationsE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListTokensForwardingAutomationsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListTokensForwardingAutomationsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListTokensForwardingAutomationsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTokensForwardingAutomationsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_tokens_forwarding_automations_e401.go b/model_list_tokens_forwarding_automations_e401.go index bd0ea77..4f458c6 100644 --- a/model_list_tokens_forwarding_automations_e401.go +++ b/model_list_tokens_forwarding_automations_e401.go @@ -24,12 +24,16 @@ type ListTokensForwardingAutomationsE401 struct { // InvalidApiKeyAsListTokensForwardingAutomationsE401 is a convenience function that returns InvalidApiKey wrapped in ListTokensForwardingAutomationsE401 func InvalidApiKeyAsListTokensForwardingAutomationsE401(v *InvalidApiKey) ListTokensForwardingAutomationsE401 { - return ListTokensForwardingAutomationsE401{ InvalidApiKey: v} + return ListTokensForwardingAutomationsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListTokensForwardingAutomationsE401 is a convenience function that returns MissingApiKey wrapped in ListTokensForwardingAutomationsE401 func MissingApiKeyAsListTokensForwardingAutomationsE401(v *MissingApiKey) ListTokensForwardingAutomationsE401 { - return ListTokensForwardingAutomationsE401{ MissingApiKey: v} + return ListTokensForwardingAutomationsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListTokensForwardingAutomationsE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListTokensForwardingAutomationsE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListTokensForwardingAutomationsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTokensForwardingAutomationsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_tokens_forwarding_automations_e403.go b/model_list_tokens_forwarding_automations_e403.go index 343e23e..e647506 100644 --- a/model_list_tokens_forwarding_automations_e403.go +++ b/model_list_tokens_forwarding_automations_e403.go @@ -26,22 +26,30 @@ type ListTokensForwardingAutomationsE403 struct { // BannedIpAddressAsListTokensForwardingAutomationsE403 is a convenience function that returns BannedIpAddress wrapped in ListTokensForwardingAutomationsE403 func BannedIpAddressAsListTokensForwardingAutomationsE403(v *BannedIpAddress) ListTokensForwardingAutomationsE403 { - return ListTokensForwardingAutomationsE403{ BannedIpAddress: v} + return ListTokensForwardingAutomationsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListTokensForwardingAutomationsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListTokensForwardingAutomationsE403 func EndpointNotAllowedForApiKeyAsListTokensForwardingAutomationsE403(v *EndpointNotAllowedForApiKey) ListTokensForwardingAutomationsE403 { - return ListTokensForwardingAutomationsE403{ EndpointNotAllowedForApiKey: v} + return ListTokensForwardingAutomationsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListTokensForwardingAutomationsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListTokensForwardingAutomationsE403 func EndpointNotAllowedForPlanAsListTokensForwardingAutomationsE403(v *EndpointNotAllowedForPlan) ListTokensForwardingAutomationsE403 { - return ListTokensForwardingAutomationsE403{ EndpointNotAllowedForPlan: v} + return ListTokensForwardingAutomationsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListTokensForwardingAutomationsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListTokensForwardingAutomationsE403 func FeatureMainnetsNotAllowedForPlanAsListTokensForwardingAutomationsE403(v *FeatureMainnetsNotAllowedForPlan) ListTokensForwardingAutomationsE403 { - return ListTokensForwardingAutomationsE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListTokensForwardingAutomationsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListTokensForwardingAutomationsE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListTokensForwardingAutomationsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListTokensForwardingAutomationsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListTokensForwardingAutomationsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListTokensForwardingAutomationsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTokensForwardingAutomationsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_tokens_forwarding_automations_r.go b/model_list_tokens_forwarding_automations_r.go index 56b10c8..cd7404c 100644 --- a/model_list_tokens_forwarding_automations_r.go +++ b/model_list_tokens_forwarding_automations_r.go @@ -59,7 +59,7 @@ func (o *ListTokensForwardingAutomationsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListTokensForwardingAutomationsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListTokensForwardingAutomationsR) GetData() ListTokensForwardingAutomat // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsR) GetDataOk() (*ListTokensForwardingAutomationsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_tokens_forwarding_automations_r_data.go b/model_list_tokens_forwarding_automations_r_data.go index 69a4873..5bd67fa 100644 --- a/model_list_tokens_forwarding_automations_r_data.go +++ b/model_list_tokens_forwarding_automations_r_data.go @@ -17,10 +17,10 @@ import ( // ListTokensForwardingAutomationsRData struct for ListTokensForwardingAutomationsRData type ListTokensForwardingAutomationsRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListTokensForwardingAutomationsRI `json:"items"` @@ -30,10 +30,10 @@ type ListTokensForwardingAutomationsRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTokensForwardingAutomationsRData(offset int32, limit int32, total int32, items []ListTokensForwardingAutomationsRI) *ListTokensForwardingAutomationsRData { +func NewListTokensForwardingAutomationsRData(limit int32, offset int32, total int32, items []ListTokensForwardingAutomationsRI) *ListTokensForwardingAutomationsRData { this := ListTokensForwardingAutomationsRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListTokensForwardingAutomationsRDataWithDefaults() *ListTokensForwarding return &this } -// GetOffset returns the Offset field value -func (o *ListTokensForwardingAutomationsRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListTokensForwardingAutomationsRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListTokensForwardingAutomationsRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListTokensForwardingAutomationsRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListTokensForwardingAutomationsRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListTokensForwardingAutomationsRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListTokensForwardingAutomationsRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListTokensForwardingAutomationsRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListTokensForwardingAutomationsRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListTokensForwardingAutomationsRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListTokensForwardingAutomationsRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListTokensForwardingAutomationsRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListTokensForwardingAutomationsRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListTokensForwardingAutomationsRData) GetItems() []ListTokensForwarding // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListTokensForwardingAutomationsRData) GetItemsOk() (*[]ListTokensForwardingAutomationsRI, bool) { - if o == nil { +func (o *ListTokensForwardingAutomationsRData) GetItemsOk() ([]ListTokensForwardingAutomationsRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListTokensForwardingAutomationsRData) SetItems(v []ListTokensForwarding func (o ListTokensForwardingAutomationsRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_tokens_forwarding_automations_ri.go b/model_list_tokens_forwarding_automations_ri.go index 4f618fd..96681c7 100644 --- a/model_list_tokens_forwarding_automations_ri.go +++ b/model_list_tokens_forwarding_automations_ri.go @@ -17,7 +17,7 @@ import ( // ListTokensForwardingAutomationsRI struct for ListTokensForwardingAutomationsRI type ListTokensForwardingAutomationsRI struct { - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount *int32 `json:"confirmationsCount,omitempty"` @@ -77,7 +77,7 @@ func (o *ListTokensForwardingAutomationsRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -133,7 +133,7 @@ func (o *ListTokensForwardingAutomationsRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -157,7 +157,7 @@ func (o *ListTokensForwardingAutomationsRI) GetFeeAddress() string { // GetFeeAddressOk returns a tuple with the FeeAddress field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetFeeAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeeAddress, true @@ -181,7 +181,7 @@ func (o *ListTokensForwardingAutomationsRI) GetFeePriority() string { // GetFeePriorityOk returns a tuple with the FeePriority field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetFeePriorityOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FeePriority, true @@ -205,7 +205,7 @@ func (o *ListTokensForwardingAutomationsRI) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -229,7 +229,7 @@ func (o *ListTokensForwardingAutomationsRI) GetMinimumTransferAmount() string { // GetMinimumTransferAmountOk returns a tuple with the MinimumTransferAmount field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetMinimumTransferAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinimumTransferAmount, true @@ -253,7 +253,7 @@ func (o *ListTokensForwardingAutomationsRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -277,7 +277,7 @@ func (o *ListTokensForwardingAutomationsRI) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -301,7 +301,7 @@ func (o *ListTokensForwardingAutomationsRI) GetTokenData() ListTokensForwardingA // GetTokenDataOk returns a tuple with the TokenData field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRI) GetTokenDataOk() (*ListTokensForwardingAutomationsRITS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenData, true diff --git a/model_list_tokens_forwarding_automations_rits.go b/model_list_tokens_forwarding_automations_rits.go index 3c23637..337da5e 100644 --- a/model_list_tokens_forwarding_automations_rits.go +++ b/model_list_tokens_forwarding_automations_rits.go @@ -24,12 +24,16 @@ type ListTokensForwardingAutomationsRITS struct { // ListTokensForwardingAutomationsRITSBOTAsListTokensForwardingAutomationsRITS is a convenience function that returns ListTokensForwardingAutomationsRITSBOT wrapped in ListTokensForwardingAutomationsRITS func ListTokensForwardingAutomationsRITSBOTAsListTokensForwardingAutomationsRITS(v *ListTokensForwardingAutomationsRITSBOT) ListTokensForwardingAutomationsRITS { - return ListTokensForwardingAutomationsRITS{ ListTokensForwardingAutomationsRITSBOT: v} + return ListTokensForwardingAutomationsRITS{ + ListTokensForwardingAutomationsRITSBOT: v, + } } // ListTokensForwardingAutomationsRITSETAsListTokensForwardingAutomationsRITS is a convenience function that returns ListTokensForwardingAutomationsRITSET wrapped in ListTokensForwardingAutomationsRITS func ListTokensForwardingAutomationsRITSETAsListTokensForwardingAutomationsRITS(v *ListTokensForwardingAutomationsRITSET) ListTokensForwardingAutomationsRITS { - return ListTokensForwardingAutomationsRITS{ ListTokensForwardingAutomationsRITSET: v} + return ListTokensForwardingAutomationsRITS{ + ListTokensForwardingAutomationsRITSET: v, + } } @@ -38,7 +42,7 @@ func (dst *ListTokensForwardingAutomationsRITS) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into ListTokensForwardingAutomationsRITSBOT - err = json.Unmarshal(data, &dst.ListTokensForwardingAutomationsRITSBOT) + err = newStrictDecoder(data).Decode(&dst.ListTokensForwardingAutomationsRITSBOT) if err == nil { jsonListTokensForwardingAutomationsRITSBOT, _ := json.Marshal(dst.ListTokensForwardingAutomationsRITSBOT) if string(jsonListTokensForwardingAutomationsRITSBOT) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListTokensForwardingAutomationsRITS) UnmarshalJSON(data []byte) error } // try to unmarshal data into ListTokensForwardingAutomationsRITSET - err = json.Unmarshal(data, &dst.ListTokensForwardingAutomationsRITSET) + err = newStrictDecoder(data).Decode(&dst.ListTokensForwardingAutomationsRITSET) if err == nil { jsonListTokensForwardingAutomationsRITSET, _ := json.Marshal(dst.ListTokensForwardingAutomationsRITSET) if string(jsonListTokensForwardingAutomationsRITSET) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListTokensForwardingAutomationsRITS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTokensForwardingAutomationsRITS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.ListTokensForwardingAutomationsRITSBOT != nil { return obj.ListTokensForwardingAutomationsRITSBOT } diff --git a/model_list_tokens_forwarding_automations_ritsbot.go b/model_list_tokens_forwarding_automations_ritsbot.go index 92eb99c..ec63bbd 100644 --- a/model_list_tokens_forwarding_automations_ritsbot.go +++ b/model_list_tokens_forwarding_automations_ritsbot.go @@ -52,7 +52,7 @@ func (o *ListTokensForwardingAutomationsRITSBOT) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRITSBOT) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true diff --git a/model_list_tokens_forwarding_automations_ritset.go b/model_list_tokens_forwarding_automations_ritset.go index 88c58b8..9a463b6 100644 --- a/model_list_tokens_forwarding_automations_ritset.go +++ b/model_list_tokens_forwarding_automations_ritset.go @@ -52,7 +52,7 @@ func (o *ListTokensForwardingAutomationsRITSET) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *ListTokensForwardingAutomationsRITSET) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_list_tokens_transfers_by_transaction_hash_e400.go b/model_list_tokens_transfers_by_transaction_hash_e400.go index fba29ec..2cdadc5 100644 --- a/model_list_tokens_transfers_by_transaction_hash_e400.go +++ b/model_list_tokens_transfers_by_transaction_hash_e400.go @@ -25,17 +25,23 @@ type ListTokensTransfersByTransactionHashE400 struct { // InvalidPaginationAsListTokensTransfersByTransactionHashE400 is a convenience function that returns InvalidPagination wrapped in ListTokensTransfersByTransactionHashE400 func InvalidPaginationAsListTokensTransfersByTransactionHashE400(v *InvalidPagination) ListTokensTransfersByTransactionHashE400 { - return ListTokensTransfersByTransactionHashE400{ InvalidPagination: v} + return ListTokensTransfersByTransactionHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListTokensTransfersByTransactionHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListTokensTransfersByTransactionHashE400 func LimitGreaterThanAllowedAsListTokensTransfersByTransactionHashE400(v *LimitGreaterThanAllowed) ListTokensTransfersByTransactionHashE400 { - return ListTokensTransfersByTransactionHashE400{ LimitGreaterThanAllowed: v} + return ListTokensTransfersByTransactionHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListTokensTransfersByTransactionHashE400 is a convenience function that returns UriNotFound wrapped in ListTokensTransfersByTransactionHashE400 func UriNotFoundAsListTokensTransfersByTransactionHashE400(v *UriNotFound) ListTokensTransfersByTransactionHashE400 { - return ListTokensTransfersByTransactionHashE400{ UriNotFound: v} + return ListTokensTransfersByTransactionHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListTokensTransfersByTransactionHashE400) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListTokensTransfersByTransactionHashE400) UnmarshalJSON(data []byte) } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListTokensTransfersByTransactionHashE400) UnmarshalJSON(data []byte) } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListTokensTransfersByTransactionHashE400) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListTokensTransfersByTransactionHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_tokens_transfers_by_transaction_hash_e401.go b/model_list_tokens_transfers_by_transaction_hash_e401.go index 15f3494..dcc4707 100644 --- a/model_list_tokens_transfers_by_transaction_hash_e401.go +++ b/model_list_tokens_transfers_by_transaction_hash_e401.go @@ -24,12 +24,16 @@ type ListTokensTransfersByTransactionHashE401 struct { // InvalidApiKeyAsListTokensTransfersByTransactionHashE401 is a convenience function that returns InvalidApiKey wrapped in ListTokensTransfersByTransactionHashE401 func InvalidApiKeyAsListTokensTransfersByTransactionHashE401(v *InvalidApiKey) ListTokensTransfersByTransactionHashE401 { - return ListTokensTransfersByTransactionHashE401{ InvalidApiKey: v} + return ListTokensTransfersByTransactionHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListTokensTransfersByTransactionHashE401 is a convenience function that returns MissingApiKey wrapped in ListTokensTransfersByTransactionHashE401 func MissingApiKeyAsListTokensTransfersByTransactionHashE401(v *MissingApiKey) ListTokensTransfersByTransactionHashE401 { - return ListTokensTransfersByTransactionHashE401{ MissingApiKey: v} + return ListTokensTransfersByTransactionHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListTokensTransfersByTransactionHashE401) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListTokensTransfersByTransactionHashE401) UnmarshalJSON(data []byte) } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListTokensTransfersByTransactionHashE401) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListTokensTransfersByTransactionHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_tokens_transfers_by_transaction_hash_e403.go b/model_list_tokens_transfers_by_transaction_hash_e403.go index 8301cb7..d2eed10 100644 --- a/model_list_tokens_transfers_by_transaction_hash_e403.go +++ b/model_list_tokens_transfers_by_transaction_hash_e403.go @@ -26,22 +26,30 @@ type ListTokensTransfersByTransactionHashE403 struct { // BannedIpAddressAsListTokensTransfersByTransactionHashE403 is a convenience function that returns BannedIpAddress wrapped in ListTokensTransfersByTransactionHashE403 func BannedIpAddressAsListTokensTransfersByTransactionHashE403(v *BannedIpAddress) ListTokensTransfersByTransactionHashE403 { - return ListTokensTransfersByTransactionHashE403{ BannedIpAddress: v} + return ListTokensTransfersByTransactionHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListTokensTransfersByTransactionHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListTokensTransfersByTransactionHashE403 func EndpointNotAllowedForApiKeyAsListTokensTransfersByTransactionHashE403(v *EndpointNotAllowedForApiKey) ListTokensTransfersByTransactionHashE403 { - return ListTokensTransfersByTransactionHashE403{ EndpointNotAllowedForApiKey: v} + return ListTokensTransfersByTransactionHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListTokensTransfersByTransactionHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListTokensTransfersByTransactionHashE403 func EndpointNotAllowedForPlanAsListTokensTransfersByTransactionHashE403(v *EndpointNotAllowedForPlan) ListTokensTransfersByTransactionHashE403 { - return ListTokensTransfersByTransactionHashE403{ EndpointNotAllowedForPlan: v} + return ListTokensTransfersByTransactionHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListTokensTransfersByTransactionHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListTokensTransfersByTransactionHashE403 func FeatureMainnetsNotAllowedForPlanAsListTokensTransfersByTransactionHashE403(v *FeatureMainnetsNotAllowedForPlan) ListTokensTransfersByTransactionHashE403 { - return ListTokensTransfersByTransactionHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListTokensTransfersByTransactionHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListTokensTransfersByTransactionHashE403) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListTokensTransfersByTransactionHashE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListTokensTransfersByTransactionHashE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListTokensTransfersByTransactionHashE403) UnmarshalJSON(data []byte) } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListTokensTransfersByTransactionHashE403) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListTokensTransfersByTransactionHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_tokens_transfers_by_transaction_hash_r.go b/model_list_tokens_transfers_by_transaction_hash_r.go index b2c02a4..265cfb6 100644 --- a/model_list_tokens_transfers_by_transaction_hash_r.go +++ b/model_list_tokens_transfers_by_transaction_hash_r.go @@ -59,7 +59,7 @@ func (o *ListTokensTransfersByTransactionHashR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListTokensTransfersByTransactionHashR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListTokensTransfersByTransactionHashR) GetData() ListTokensTransfersByT // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashR) GetDataOk() (*ListTokensTransfersByTransactionHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_tokens_transfers_by_transaction_hash_r_data.go b/model_list_tokens_transfers_by_transaction_hash_r_data.go index c7e86dd..e491948 100644 --- a/model_list_tokens_transfers_by_transaction_hash_r_data.go +++ b/model_list_tokens_transfers_by_transaction_hash_r_data.go @@ -17,10 +17,10 @@ import ( // ListTokensTransfersByTransactionHashRData struct for ListTokensTransfersByTransactionHashRData type ListTokensTransfersByTransactionHashRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListTokensTransfersByTransactionHashRI `json:"items"` @@ -30,10 +30,10 @@ type ListTokensTransfersByTransactionHashRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTokensTransfersByTransactionHashRData(offset int32, limit int32, total int32, items []ListTokensTransfersByTransactionHashRI) *ListTokensTransfersByTransactionHashRData { +func NewListTokensTransfersByTransactionHashRData(limit int32, offset int32, total int32, items []ListTokensTransfersByTransactionHashRI) *ListTokensTransfersByTransactionHashRData { this := ListTokensTransfersByTransactionHashRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListTokensTransfersByTransactionHashRDataWithDefaults() *ListTokensTrans return &this } -// GetOffset returns the Offset field value -func (o *ListTokensTransfersByTransactionHashRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListTokensTransfersByTransactionHashRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListTokensTransfersByTransactionHashRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListTokensTransfersByTransactionHashRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListTokensTransfersByTransactionHashRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListTokensTransfersByTransactionHashRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListTokensTransfersByTransactionHashRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListTokensTransfersByTransactionHashRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListTokensTransfersByTransactionHashRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListTokensTransfersByTransactionHashRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListTokensTransfersByTransactionHashRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListTokensTransfersByTransactionHashRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListTokensTransfersByTransactionHashRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListTokensTransfersByTransactionHashRData) GetItems() []ListTokensTrans // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListTokensTransfersByTransactionHashRData) GetItemsOk() (*[]ListTokensTransfersByTransactionHashRI, bool) { - if o == nil { +func (o *ListTokensTransfersByTransactionHashRData) GetItemsOk() ([]ListTokensTransfersByTransactionHashRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListTokensTransfersByTransactionHashRData) SetItems(v []ListTokensTrans func (o ListTokensTransfersByTransactionHashRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_tokens_transfers_by_transaction_hash_ri.go b/model_list_tokens_transfers_by_transaction_hash_ri.go index edfde1e..a8bfedf 100644 --- a/model_list_tokens_transfers_by_transaction_hash_ri.go +++ b/model_list_tokens_transfers_by_transaction_hash_ri.go @@ -39,13 +39,14 @@ type ListTokensTransfersByTransactionHashRI struct { TransactionHash string `json:"transactionHash"` // Defines the specific time/date when the transaction was created in Unix Timestamp. TransactionTimestamp int32 `json:"transactionTimestamp"` + TransactionFee ListTokensTransfersByTransactionHashRITransactionFee `json:"transactionFee"` } // NewListTokensTransfersByTransactionHashRI instantiates a new ListTokensTransfersByTransactionHashRI object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTokensTransfersByTransactionHashRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, tokensAmount string, transactionHash string, transactionTimestamp int32) *ListTokensTransfersByTransactionHashRI { +func NewListTokensTransfersByTransactionHashRI(contractAddress string, minedInBlockHeight int32, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, tokensAmount string, transactionHash string, transactionTimestamp int32, transactionFee ListTokensTransfersByTransactionHashRITransactionFee) *ListTokensTransfersByTransactionHashRI { this := ListTokensTransfersByTransactionHashRI{} this.ContractAddress = contractAddress this.MinedInBlockHeight = minedInBlockHeight @@ -58,6 +59,7 @@ func NewListTokensTransfersByTransactionHashRI(contractAddress string, minedInBl this.TokensAmount = tokensAmount this.TransactionHash = transactionHash this.TransactionTimestamp = transactionTimestamp + this.TransactionFee = transactionFee return &this } @@ -82,7 +84,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true @@ -106,7 +108,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -130,7 +132,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetRecipientAddress() string { // GetRecipientAddressOk returns a tuple with the RecipientAddress field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetRecipientAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RecipientAddress, true @@ -154,7 +156,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetSenderAddress() string { // GetSenderAddressOk returns a tuple with the SenderAddress field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetSenderAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SenderAddress, true @@ -178,7 +180,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetTokenDecimals() int32 { // GetTokenDecimalsOk returns a tuple with the TokenDecimals field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetTokenDecimalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenDecimals, true @@ -202,7 +204,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetTokenName() string { // GetTokenNameOk returns a tuple with the TokenName field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetTokenNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenName, true @@ -226,7 +228,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetTokenSymbol() string { // GetTokenSymbolOk returns a tuple with the TokenSymbol field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetTokenSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenSymbol, true @@ -250,7 +252,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetTokenType() string { // GetTokenTypeOk returns a tuple with the TokenType field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetTokenTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenType, true @@ -274,7 +276,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetTokensAmount() string { // GetTokensAmountOk returns a tuple with the TokensAmount field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetTokensAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokensAmount, true @@ -298,7 +300,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -322,7 +324,7 @@ func (o *ListTokensTransfersByTransactionHashRI) GetTransactionTimestamp() int32 // GetTransactionTimestampOk returns a tuple with the TransactionTimestamp field value // and a boolean to check if the value has been set. func (o *ListTokensTransfersByTransactionHashRI) GetTransactionTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionTimestamp, true @@ -333,6 +335,30 @@ func (o *ListTokensTransfersByTransactionHashRI) SetTransactionTimestamp(v int32 o.TransactionTimestamp = v } +// GetTransactionFee returns the TransactionFee field value +func (o *ListTokensTransfersByTransactionHashRI) GetTransactionFee() ListTokensTransfersByTransactionHashRITransactionFee { + if o == nil { + var ret ListTokensTransfersByTransactionHashRITransactionFee + return ret + } + + return o.TransactionFee +} + +// GetTransactionFeeOk returns a tuple with the TransactionFee field value +// and a boolean to check if the value has been set. +func (o *ListTokensTransfersByTransactionHashRI) GetTransactionFeeOk() (*ListTokensTransfersByTransactionHashRITransactionFee, bool) { + if o == nil { + return nil, false + } + return &o.TransactionFee, true +} + +// SetTransactionFee sets field value +func (o *ListTokensTransfersByTransactionHashRI) SetTransactionFee(v ListTokensTransfersByTransactionHashRITransactionFee) { + o.TransactionFee = v +} + func (o ListTokensTransfersByTransactionHashRI) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { @@ -368,6 +394,9 @@ func (o ListTokensTransfersByTransactionHashRI) MarshalJSON() ([]byte, error) { if true { toSerialize["transactionTimestamp"] = o.TransactionTimestamp } + if true { + toSerialize["transactionFee"] = o.TransactionFee + } return json.Marshal(toSerialize) } diff --git a/model_list_tokens_transfers_by_transaction_hash_ri_transaction_fee.go b/model_list_tokens_transfers_by_transaction_hash_ri_transaction_fee.go new file mode 100644 index 0000000..932eabe --- /dev/null +++ b/model_list_tokens_transfers_by_transaction_hash_ri_transaction_fee.go @@ -0,0 +1,140 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListTokensTransfersByTransactionHashRITransactionFee struct for ListTokensTransfersByTransactionHashRITransactionFee +type ListTokensTransfersByTransactionHashRITransactionFee struct { + // Represents the total fee of a transaction which includes token transfers. + Amount string `json:"amount"` + // Represents the unit of the fee. + Unit string `json:"unit"` +} + +// NewListTokensTransfersByTransactionHashRITransactionFee instantiates a new ListTokensTransfersByTransactionHashRITransactionFee object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListTokensTransfersByTransactionHashRITransactionFee(amount string, unit string) *ListTokensTransfersByTransactionHashRITransactionFee { + this := ListTokensTransfersByTransactionHashRITransactionFee{} + this.Amount = amount + this.Unit = unit + return &this +} + +// NewListTokensTransfersByTransactionHashRITransactionFeeWithDefaults instantiates a new ListTokensTransfersByTransactionHashRITransactionFee object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListTokensTransfersByTransactionHashRITransactionFeeWithDefaults() *ListTokensTransfersByTransactionHashRITransactionFee { + this := ListTokensTransfersByTransactionHashRITransactionFee{} + return &this +} + +// GetAmount returns the Amount field value +func (o *ListTokensTransfersByTransactionHashRITransactionFee) GetAmount() string { + if o == nil { + var ret string + return ret + } + + return o.Amount +} + +// GetAmountOk returns a tuple with the Amount field value +// and a boolean to check if the value has been set. +func (o *ListTokensTransfersByTransactionHashRITransactionFee) GetAmountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Amount, true +} + +// SetAmount sets field value +func (o *ListTokensTransfersByTransactionHashRITransactionFee) SetAmount(v string) { + o.Amount = v +} + +// GetUnit returns the Unit field value +func (o *ListTokensTransfersByTransactionHashRITransactionFee) GetUnit() string { + if o == nil { + var ret string + return ret + } + + return o.Unit +} + +// GetUnitOk returns a tuple with the Unit field value +// and a boolean to check if the value has been set. +func (o *ListTokensTransfersByTransactionHashRITransactionFee) GetUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Unit, true +} + +// SetUnit sets field value +func (o *ListTokensTransfersByTransactionHashRITransactionFee) SetUnit(v string) { + o.Unit = v +} + +func (o ListTokensTransfersByTransactionHashRITransactionFee) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["amount"] = o.Amount + } + if true { + toSerialize["unit"] = o.Unit + } + return json.Marshal(toSerialize) +} + +type NullableListTokensTransfersByTransactionHashRITransactionFee struct { + value *ListTokensTransfersByTransactionHashRITransactionFee + isSet bool +} + +func (v NullableListTokensTransfersByTransactionHashRITransactionFee) Get() *ListTokensTransfersByTransactionHashRITransactionFee { + return v.value +} + +func (v *NullableListTokensTransfersByTransactionHashRITransactionFee) Set(val *ListTokensTransfersByTransactionHashRITransactionFee) { + v.value = val + v.isSet = true +} + +func (v NullableListTokensTransfersByTransactionHashRITransactionFee) IsSet() bool { + return v.isSet +} + +func (v *NullableListTokensTransfersByTransactionHashRITransactionFee) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListTokensTransfersByTransactionHashRITransactionFee(val *ListTokensTransfersByTransactionHashRITransactionFee) *NullableListTokensTransfersByTransactionHashRITransactionFee { + return &NullableListTokensTransfersByTransactionHashRITransactionFee{value: val, isSet: true} +} + +func (v NullableListTokensTransfersByTransactionHashRITransactionFee) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListTokensTransfersByTransactionHashRITransactionFee) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_transactions_by_block_hash_e400.go b/model_list_transactions_by_block_hash_e400.go index 359ae3c..2bc03ed 100644 --- a/model_list_transactions_by_block_hash_e400.go +++ b/model_list_transactions_by_block_hash_e400.go @@ -25,17 +25,23 @@ type ListTransactionsByBlockHashE400 struct { // InvalidPaginationAsListTransactionsByBlockHashE400 is a convenience function that returns InvalidPagination wrapped in ListTransactionsByBlockHashE400 func InvalidPaginationAsListTransactionsByBlockHashE400(v *InvalidPagination) ListTransactionsByBlockHashE400 { - return ListTransactionsByBlockHashE400{ InvalidPagination: v} + return ListTransactionsByBlockHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListTransactionsByBlockHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListTransactionsByBlockHashE400 func LimitGreaterThanAllowedAsListTransactionsByBlockHashE400(v *LimitGreaterThanAllowed) ListTransactionsByBlockHashE400 { - return ListTransactionsByBlockHashE400{ LimitGreaterThanAllowed: v} + return ListTransactionsByBlockHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListTransactionsByBlockHashE400 is a convenience function that returns UriNotFound wrapped in ListTransactionsByBlockHashE400 func UriNotFoundAsListTransactionsByBlockHashE400(v *UriNotFound) ListTransactionsByBlockHashE400 { - return ListTransactionsByBlockHashE400{ UriNotFound: v} + return ListTransactionsByBlockHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListTransactionsByBlockHashE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListTransactionsByBlockHashE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListTransactionsByBlockHashE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListTransactionsByBlockHashE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTransactionsByBlockHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_transactions_by_block_hash_e401.go b/model_list_transactions_by_block_hash_e401.go index 889575f..6eaac2b 100644 --- a/model_list_transactions_by_block_hash_e401.go +++ b/model_list_transactions_by_block_hash_e401.go @@ -24,12 +24,16 @@ type ListTransactionsByBlockHashE401 struct { // InvalidApiKeyAsListTransactionsByBlockHashE401 is a convenience function that returns InvalidApiKey wrapped in ListTransactionsByBlockHashE401 func InvalidApiKeyAsListTransactionsByBlockHashE401(v *InvalidApiKey) ListTransactionsByBlockHashE401 { - return ListTransactionsByBlockHashE401{ InvalidApiKey: v} + return ListTransactionsByBlockHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListTransactionsByBlockHashE401 is a convenience function that returns MissingApiKey wrapped in ListTransactionsByBlockHashE401 func MissingApiKeyAsListTransactionsByBlockHashE401(v *MissingApiKey) ListTransactionsByBlockHashE401 { - return ListTransactionsByBlockHashE401{ MissingApiKey: v} + return ListTransactionsByBlockHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListTransactionsByBlockHashE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListTransactionsByBlockHashE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListTransactionsByBlockHashE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTransactionsByBlockHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_transactions_by_block_hash_e403.go b/model_list_transactions_by_block_hash_e403.go index b512396..0aaffa2 100644 --- a/model_list_transactions_by_block_hash_e403.go +++ b/model_list_transactions_by_block_hash_e403.go @@ -26,22 +26,30 @@ type ListTransactionsByBlockHashE403 struct { // BannedIpAddressAsListTransactionsByBlockHashE403 is a convenience function that returns BannedIpAddress wrapped in ListTransactionsByBlockHashE403 func BannedIpAddressAsListTransactionsByBlockHashE403(v *BannedIpAddress) ListTransactionsByBlockHashE403 { - return ListTransactionsByBlockHashE403{ BannedIpAddress: v} + return ListTransactionsByBlockHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListTransactionsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListTransactionsByBlockHashE403 func EndpointNotAllowedForApiKeyAsListTransactionsByBlockHashE403(v *EndpointNotAllowedForApiKey) ListTransactionsByBlockHashE403 { - return ListTransactionsByBlockHashE403{ EndpointNotAllowedForApiKey: v} + return ListTransactionsByBlockHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListTransactionsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListTransactionsByBlockHashE403 func EndpointNotAllowedForPlanAsListTransactionsByBlockHashE403(v *EndpointNotAllowedForPlan) ListTransactionsByBlockHashE403 { - return ListTransactionsByBlockHashE403{ EndpointNotAllowedForPlan: v} + return ListTransactionsByBlockHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListTransactionsByBlockHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListTransactionsByBlockHashE403 func FeatureMainnetsNotAllowedForPlanAsListTransactionsByBlockHashE403(v *FeatureMainnetsNotAllowedForPlan) ListTransactionsByBlockHashE403 { - return ListTransactionsByBlockHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListTransactionsByBlockHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListTransactionsByBlockHashE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListTransactionsByBlockHashE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListTransactionsByBlockHashE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListTransactionsByBlockHashE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListTransactionsByBlockHashE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTransactionsByBlockHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_transactions_by_block_hash_r.go b/model_list_transactions_by_block_hash_r.go index 38a9b43..2ec7d8a 100644 --- a/model_list_transactions_by_block_hash_r.go +++ b/model_list_transactions_by_block_hash_r.go @@ -59,7 +59,7 @@ func (o *ListTransactionsByBlockHashR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListTransactionsByBlockHashR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListTransactionsByBlockHashR) GetData() ListTransactionsByBlockHashRDat // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashR) GetDataOk() (*ListTransactionsByBlockHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_transactions_by_block_hash_r_data.go b/model_list_transactions_by_block_hash_r_data.go index 9a5b568..a919b27 100644 --- a/model_list_transactions_by_block_hash_r_data.go +++ b/model_list_transactions_by_block_hash_r_data.go @@ -17,10 +17,10 @@ import ( // ListTransactionsByBlockHashRData struct for ListTransactionsByBlockHashRData type ListTransactionsByBlockHashRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListTransactionsByBlockHashRI `json:"items"` @@ -30,10 +30,10 @@ type ListTransactionsByBlockHashRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHashRData(offset int32, limit int32, total int32, items []ListTransactionsByBlockHashRI) *ListTransactionsByBlockHashRData { +func NewListTransactionsByBlockHashRData(limit int32, offset int32, total int32, items []ListTransactionsByBlockHashRI) *ListTransactionsByBlockHashRData { this := ListTransactionsByBlockHashRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListTransactionsByBlockHashRDataWithDefaults() *ListTransactionsByBlockH return &this } -// GetOffset returns the Offset field value -func (o *ListTransactionsByBlockHashRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListTransactionsByBlockHashRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListTransactionsByBlockHashRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListTransactionsByBlockHashRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListTransactionsByBlockHashRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListTransactionsByBlockHashRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListTransactionsByBlockHashRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListTransactionsByBlockHashRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListTransactionsByBlockHashRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListTransactionsByBlockHashRData) GetItems() []ListTransactionsByBlockH // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRData) GetItemsOk() (*[]ListTransactionsByBlockHashRI, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRData) GetItemsOk() ([]ListTransactionsByBlockHashRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListTransactionsByBlockHashRData) SetItems(v []ListTransactionsByBlockH func (o ListTransactionsByBlockHashRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_transactions_by_block_hash_ri.go b/model_list_transactions_by_block_hash_ri.go index ec2f461..50da478 100644 --- a/model_list_transactions_by_block_hash_ri.go +++ b/model_list_transactions_by_block_hash_ri.go @@ -77,7 +77,7 @@ func (o *ListTransactionsByBlockHashRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -101,7 +101,7 @@ func (o *ListTransactionsByBlockHashRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -125,7 +125,7 @@ func (o *ListTransactionsByBlockHashRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -148,11 +148,11 @@ func (o *ListTransactionsByBlockHashRI) GetRecipients() []ListTransactionsByBloc // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRI) GetRecipientsOk() (*[]ListTransactionsByBlockHashRIRecipients, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRI) GetRecipientsOk() ([]ListTransactionsByBlockHashRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -172,11 +172,11 @@ func (o *ListTransactionsByBlockHashRI) GetSenders() []ListTransactionsByBlockHa // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRI) GetSendersOk() (*[]ListTransactionsByBlockHashRISenders, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRI) GetSendersOk() ([]ListTransactionsByBlockHashRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -197,7 +197,7 @@ func (o *ListTransactionsByBlockHashRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -221,7 +221,7 @@ func (o *ListTransactionsByBlockHashRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -245,7 +245,7 @@ func (o *ListTransactionsByBlockHashRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -269,7 +269,7 @@ func (o *ListTransactionsByBlockHashRI) GetFee() ListTransactionsByBlockHashRIFe // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRI) GetFeeOk() (*ListTransactionsByBlockHashRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -293,7 +293,7 @@ func (o *ListTransactionsByBlockHashRI) GetBlockchainSpecific() ListTransactions // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRI) GetBlockchainSpecificOk() (*ListTransactionsByBlockHashRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_list_transactions_by_block_hash_ri_fee.go b/model_list_transactions_by_block_hash_ri_fee.go index 4ee114f..48d738a 100644 --- a/model_list_transactions_by_block_hash_ri_fee.go +++ b/model_list_transactions_by_block_hash_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListTransactionsByBlockHashRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListTransactionsByBlockHashRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_transactions_by_block_hash_ri_recipients.go b/model_list_transactions_by_block_hash_ri_recipients.go index f3edd60..ad5f4af 100644 --- a/model_list_transactions_by_block_hash_ri_recipients.go +++ b/model_list_transactions_by_block_hash_ri_recipients.go @@ -55,7 +55,7 @@ func (o *ListTransactionsByBlockHashRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListTransactionsByBlockHashRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_transactions_by_block_hash_ri_senders.go b/model_list_transactions_by_block_hash_ri_senders.go index a041037..9b9d5c2 100644 --- a/model_list_transactions_by_block_hash_ri_senders.go +++ b/model_list_transactions_by_block_hash_ri_senders.go @@ -55,7 +55,7 @@ func (o *ListTransactionsByBlockHashRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListTransactionsByBlockHashRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_transactions_by_block_hash_ribs.go b/model_list_transactions_by_block_hash_ribs.go index 20f6fdf..dc02d1c 100644 --- a/model_list_transactions_by_block_hash_ribs.go +++ b/model_list_transactions_by_block_hash_ribs.go @@ -31,47 +31,65 @@ type ListTransactionsByBlockHashRIBS struct { // ListTransactionsByBlockHashRIBSBAsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSB wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSBAsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSB) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSB: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSB: v, + } } // ListTransactionsByBlockHashRIBSBCAsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSBC wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSBCAsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSBC) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSBC: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSBC: v, + } } // ListTransactionsByBlockHashRIBSBSCAsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSBSC wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSBSCAsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSBSC) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSBSC: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSBSC: v, + } } // ListTransactionsByBlockHashRIBSDAsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSD wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSDAsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSD) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSD: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSD: v, + } } // ListTransactionsByBlockHashRIBSD2AsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSD2 wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSD2AsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSD2) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSD2: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSD2: v, + } } // ListTransactionsByBlockHashRIBSEAsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSE wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSEAsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSE) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSE: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSE: v, + } } // ListTransactionsByBlockHashRIBSECAsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSEC wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSECAsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSEC) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSEC: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSEC: v, + } } // ListTransactionsByBlockHashRIBSLAsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSL wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSLAsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSL) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSL: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSL: v, + } } // ListTransactionsByBlockHashRIBSZAsListTransactionsByBlockHashRIBS is a convenience function that returns ListTransactionsByBlockHashRIBSZ wrapped in ListTransactionsByBlockHashRIBS func ListTransactionsByBlockHashRIBSZAsListTransactionsByBlockHashRIBS(v *ListTransactionsByBlockHashRIBSZ) ListTransactionsByBlockHashRIBS { - return ListTransactionsByBlockHashRIBS{ ListTransactionsByBlockHashRIBSZ: v} + return ListTransactionsByBlockHashRIBS{ + ListTransactionsByBlockHashRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into ListTransactionsByBlockHashRIBSB - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSB) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSB) if err == nil { jsonListTransactionsByBlockHashRIBSB, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSB) if string(jsonListTransactionsByBlockHashRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHashRIBSBC - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSBC) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSBC) if err == nil { jsonListTransactionsByBlockHashRIBSBC, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSBC) if string(jsonListTransactionsByBlockHashRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHashRIBSBSC - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSBSC) if err == nil { jsonListTransactionsByBlockHashRIBSBSC, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSBSC) if string(jsonListTransactionsByBlockHashRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHashRIBSD - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSD) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSD) if err == nil { jsonListTransactionsByBlockHashRIBSD, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSD) if string(jsonListTransactionsByBlockHashRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHashRIBSD2 - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSD2) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSD2) if err == nil { jsonListTransactionsByBlockHashRIBSD2, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSD2) if string(jsonListTransactionsByBlockHashRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHashRIBSE - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSE) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSE) if err == nil { jsonListTransactionsByBlockHashRIBSE, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSE) if string(jsonListTransactionsByBlockHashRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHashRIBSEC - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSEC) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSEC) if err == nil { jsonListTransactionsByBlockHashRIBSEC, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSEC) if string(jsonListTransactionsByBlockHashRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHashRIBSL - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSL) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSL) if err == nil { jsonListTransactionsByBlockHashRIBSL, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSL) if string(jsonListTransactionsByBlockHashRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *ListTransactionsByBlockHashRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHashRIBSZ - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHashRIBSZ) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHashRIBSZ) if err == nil { jsonListTransactionsByBlockHashRIBSZ, _ := json.Marshal(dst.ListTransactionsByBlockHashRIBSZ) if string(jsonListTransactionsByBlockHashRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src ListTransactionsByBlockHashRIBS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTransactionsByBlockHashRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.ListTransactionsByBlockHashRIBSB != nil { return obj.ListTransactionsByBlockHashRIBSB } diff --git a/model_list_transactions_by_block_hash_ribsb.go b/model_list_transactions_by_block_hash_ribsb.go index bcfcb81..80da106 100644 --- a/model_list_transactions_by_block_hash_ribsb.go +++ b/model_list_transactions_by_block_hash_ribsb.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHashRIBSB Bitcoin type ListTransactionsByBlockHashRIBSB struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type ListTransactionsByBlockHashRIBSB struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHashRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSBVin, vout []ListTransactionsByBlockHashRIBSBVout) *ListTransactionsByBlockHashRIBSB { +func NewListTransactionsByBlockHashRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSBVin, vout []ListTransactionsByBlockHashRIBSBVout) *ListTransactionsByBlockHashRIBSB { this := ListTransactionsByBlockHashRIBSB{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListTransactionsByBlockHashRIBSBWithDefaults() *ListTransactionsByBlockH } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHashRIBSB) GetLocktime() int32 { +func (o *ListTransactionsByBlockHashRIBSB) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListTransactionsByBlockHashRIBSB) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSB) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHashRIBSB) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHashRIBSB) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListTransactionsByBlockHashRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListTransactionsByBlockHashRIBSB) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSB) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListTransactionsByBlockHashRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListTransactionsByBlockHashRIBSB) GetVin() []ListTransactionsByBlockHas // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSB) GetVinOk() (*[]ListTransactionsByBlockHashRIBSBVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSB) GetVinOk() ([]ListTransactionsByBlockHashRIBSBVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListTransactionsByBlockHashRIBSB) GetVout() []ListTransactionsByBlockHa // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSB) GetVoutOk() (*[]ListTransactionsByBlockHashRIBSBVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSB) GetVoutOk() ([]ListTransactionsByBlockHashRIBSBVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_hash_ribsb_script_pub_key.go b/model_list_transactions_by_block_hash_ribsb_script_pub_key.go index 23d1127..41adc81 100644 --- a/model_list_transactions_by_block_hash_ribsb_script_pub_key.go +++ b/model_list_transactions_by_block_hash_ribsb_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_hash_ribsb_vin.go b/model_list_transactions_by_block_hash_ribsb_vin.go index ea3a98e..b7220cf 100644 --- a/model_list_transactions_by_block_hash_ribsb_vin.go +++ b/model_list_transactions_by_block_hash_ribsb_vin.go @@ -69,11 +69,11 @@ func (o *ListTransactionsByBlockHashRIBSBVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -94,7 +94,7 @@ func (o *ListTransactionsByBlockHashRIBSBVin) GetCoinbase() string { // GetCoinbaseOk returns a tuple with the Coinbase field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVin) GetCoinbaseOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Coinbase, true @@ -118,7 +118,7 @@ func (o *ListTransactionsByBlockHashRIBSBVin) GetScriptSig() GetTransactionDetai // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -142,7 +142,7 @@ func (o *ListTransactionsByBlockHashRIBSBVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -166,7 +166,7 @@ func (o *ListTransactionsByBlockHashRIBSBVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -189,11 +189,11 @@ func (o *ListTransactionsByBlockHashRIBSBVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -214,7 +214,7 @@ func (o *ListTransactionsByBlockHashRIBSBVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -238,7 +238,7 @@ func (o *ListTransactionsByBlockHashRIBSBVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_hash_ribsb_vout.go b/model_list_transactions_by_block_hash_ribsb_vout.go index 58451d9..60ab87d 100644 --- a/model_list_transactions_by_block_hash_ribsb_vout.go +++ b/model_list_transactions_by_block_hash_ribsb_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHashRIBSBVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHashRIBSBVout) GetScriptPubKey() ListTransaction // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVout) GetScriptPubKeyOk() (*ListTransactionsByBlockHashRIBSBScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHashRIBSBVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_hash_ribsbc.go b/model_list_transactions_by_block_hash_ribsbc.go index 179fcd2..d943740 100644 --- a/model_list_transactions_by_block_hash_ribsbc.go +++ b/model_list_transactions_by_block_hash_ribsbc.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHashRIBSBC Bitcoin Cash type ListTransactionsByBlockHashRIBSBC struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type ListTransactionsByBlockHashRIBSBC struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHashRIBSBC(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHashRIBSBCVin, vout []ListTransactionsByBlockHashRIBSBCVout) *ListTransactionsByBlockHashRIBSBC { +func NewListTransactionsByBlockHashRIBSBC(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHashRIBSBCVin, vout []ListTransactionsByBlockHashRIBSBCVout) *ListTransactionsByBlockHashRIBSBC { this := ListTransactionsByBlockHashRIBSBC{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListTransactionsByBlockHashRIBSBCWithDefaults() *ListTransactionsByBlock } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHashRIBSBC) GetLocktime() int32 { +func (o *ListTransactionsByBlockHashRIBSBC) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListTransactionsByBlockHashRIBSBC) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBC) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHashRIBSBC) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHashRIBSBC) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListTransactionsByBlockHashRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListTransactionsByBlockHashRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListTransactionsByBlockHashRIBSBC) GetVin() []ListTransactionsByBlockHa // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBC) GetVinOk() (*[]ListTransactionsByBlockHashRIBSBCVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBC) GetVinOk() ([]ListTransactionsByBlockHashRIBSBCVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListTransactionsByBlockHashRIBSBC) GetVout() []ListTransactionsByBlockH // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBC) GetVoutOk() (*[]ListTransactionsByBlockHashRIBSBCVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBC) GetVoutOk() ([]ListTransactionsByBlockHashRIBSBCVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_hash_ribsbc_script_pub_key.go b/model_list_transactions_by_block_hash_ribsbc_script_pub_key.go index 24a655e..9f197d9 100644 --- a/model_list_transactions_by_block_hash_ribsbc_script_pub_key.go +++ b/model_list_transactions_by_block_hash_ribsbc_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_hash_ribsbc_vin.go b/model_list_transactions_by_block_hash_ribsbc_vin.go index 4431b7d..80ac804 100644 --- a/model_list_transactions_by_block_hash_ribsbc_vin.go +++ b/model_list_transactions_by_block_hash_ribsbc_vin.go @@ -69,11 +69,11 @@ func (o *ListTransactionsByBlockHashRIBSBCVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBCVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBCVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -94,7 +94,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVin) GetCoinbase() string { // GetCoinbaseOk returns a tuple with the Coinbase field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVin) GetCoinbaseOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Coinbase, true @@ -118,7 +118,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVin) GetScriptSig() GetTransactionDeta // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -142,7 +142,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -166,7 +166,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -189,11 +189,11 @@ func (o *ListTransactionsByBlockHashRIBSBCVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSBCVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSBCVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -214,7 +214,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -238,7 +238,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_hash_ribsbc_vout.go b/model_list_transactions_by_block_hash_ribsbc_vout.go index 32a6897..a5308ae 100644 --- a/model_list_transactions_by_block_hash_ribsbc_vout.go +++ b/model_list_transactions_by_block_hash_ribsbc_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVout) GetScriptPubKey() ListTransactio // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVout) GetScriptPubKeyOk() (*ListTransactionsByBlockHashRIBSBCScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHashRIBSBCVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBCVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_hash_ribsbsc.go b/model_list_transactions_by_block_hash_ribsbsc.go index aab54b7..f2051e6 100644 --- a/model_list_transactions_by_block_hash_ribsbsc.go +++ b/model_list_transactions_by_block_hash_ribsbsc.go @@ -100,7 +100,7 @@ func (o *ListTransactionsByBlockHashRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -124,7 +124,7 @@ func (o *ListTransactionsByBlockHashRIBSBSC) GetGasPrice() ListTransactionsByBlo // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBSC) GetGasPriceOk() (*ListTransactionsByBlockHashRIBSBSCGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -148,7 +148,7 @@ func (o *ListTransactionsByBlockHashRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -172,7 +172,7 @@ func (o *ListTransactionsByBlockHashRIBSBSC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBSC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -196,7 +196,7 @@ func (o *ListTransactionsByBlockHashRIBSBSC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBSC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -220,7 +220,7 @@ func (o *ListTransactionsByBlockHashRIBSBSC) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBSC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_transactions_by_block_hash_ribsbsc_gas_price.go b/model_list_transactions_by_block_hash_ribsbsc_gas_price.go index fb1dbc4..99bf290 100644 --- a/model_list_transactions_by_block_hash_ribsbsc_gas_price.go +++ b/model_list_transactions_by_block_hash_ribsbsc_gas_price.go @@ -55,7 +55,7 @@ func (o *ListTransactionsByBlockHashRIBSBSCGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBSCGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListTransactionsByBlockHashRIBSBSCGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSBSCGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_transactions_by_block_hash_ribsd.go b/model_list_transactions_by_block_hash_ribsd.go index c04fbf6..ccd3f23 100644 --- a/model_list_transactions_by_block_hash_ribsd.go +++ b/model_list_transactions_by_block_hash_ribsd.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHashRIBSD Dogecoin type ListTransactionsByBlockHashRIBSD struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type ListTransactionsByBlockHashRIBSD struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHashRIBSD(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHashRIBSDVin, vout []ListTransactionsByBlockHashRIBSDVout) *ListTransactionsByBlockHashRIBSD { +func NewListTransactionsByBlockHashRIBSD(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHashRIBSDVin, vout []ListTransactionsByBlockHashRIBSDVout) *ListTransactionsByBlockHashRIBSD { this := ListTransactionsByBlockHashRIBSD{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListTransactionsByBlockHashRIBSDWithDefaults() *ListTransactionsByBlockH } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHashRIBSD) GetLocktime() int32 { +func (o *ListTransactionsByBlockHashRIBSD) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListTransactionsByBlockHashRIBSD) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHashRIBSD) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHashRIBSD) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListTransactionsByBlockHashRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListTransactionsByBlockHashRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListTransactionsByBlockHashRIBSD) GetVin() []ListTransactionsByBlockHas // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD) GetVinOk() (*[]ListTransactionsByBlockHashRIBSDVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD) GetVinOk() ([]ListTransactionsByBlockHashRIBSDVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListTransactionsByBlockHashRIBSD) GetVout() []ListTransactionsByBlockHa // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD) GetVoutOk() (*[]ListTransactionsByBlockHashRIBSDVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD) GetVoutOk() ([]ListTransactionsByBlockHashRIBSDVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_hash_ribsd2.go b/model_list_transactions_by_block_hash_ribsd2.go index 661a2c3..4e5a857 100644 --- a/model_list_transactions_by_block_hash_ribsd2.go +++ b/model_list_transactions_by_block_hash_ribsd2.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHashRIBSD2 Dash type ListTransactionsByBlockHashRIBSD2 struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type ListTransactionsByBlockHashRIBSD2 struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHashRIBSD2(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHashRIBSD2Vin, vout []ListTransactionsByBlockHashRIBSD2Vout) *ListTransactionsByBlockHashRIBSD2 { +func NewListTransactionsByBlockHashRIBSD2(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHashRIBSD2Vin, vout []ListTransactionsByBlockHashRIBSD2Vout) *ListTransactionsByBlockHashRIBSD2 { this := ListTransactionsByBlockHashRIBSD2{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListTransactionsByBlockHashRIBSD2WithDefaults() *ListTransactionsByBlock } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHashRIBSD2) GetLocktime() int32 { +func (o *ListTransactionsByBlockHashRIBSD2) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListTransactionsByBlockHashRIBSD2) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD2) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHashRIBSD2) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHashRIBSD2) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListTransactionsByBlockHashRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListTransactionsByBlockHashRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListTransactionsByBlockHashRIBSD2) GetVin() []ListTransactionsByBlockHa // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD2) GetVinOk() (*[]ListTransactionsByBlockHashRIBSD2Vin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD2) GetVinOk() ([]ListTransactionsByBlockHashRIBSD2Vin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListTransactionsByBlockHashRIBSD2) GetVout() []ListTransactionsByBlockH // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD2) GetVoutOk() (*[]ListTransactionsByBlockHashRIBSD2Vout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD2) GetVoutOk() ([]ListTransactionsByBlockHashRIBSD2Vout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_hash_ribsd2_script_pub_key.go b/model_list_transactions_by_block_hash_ribsd2_script_pub_key.go index 99106a3..5327eb9 100644 --- a/model_list_transactions_by_block_hash_ribsd2_script_pub_key.go +++ b/model_list_transactions_by_block_hash_ribsd2_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2ScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_hash_ribsd2_script_sig.go b/model_list_transactions_by_block_hash_ribsd2_script_sig.go index b5ca95e..0a95a7b 100644 --- a/model_list_transactions_by_block_hash_ribsd2_script_sig.go +++ b/model_list_transactions_by_block_hash_ribsd2_script_sig.go @@ -58,7 +58,7 @@ func (o *ListTransactionsByBlockHashRIBSD2ScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2ScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListTransactionsByBlockHashRIBSD2ScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2ScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListTransactionsByBlockHashRIBSD2ScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2ScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_hash_ribsd2_vin.go b/model_list_transactions_by_block_hash_ribsd2_vin.go index 1cf8bbf..1ddf7fd 100644 --- a/model_list_transactions_by_block_hash_ribsd2_vin.go +++ b/model_list_transactions_by_block_hash_ribsd2_vin.go @@ -66,11 +66,11 @@ func (o *ListTransactionsByBlockHashRIBSD2Vin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD2Vin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD2Vin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -123,7 +123,7 @@ func (o *ListTransactionsByBlockHashRIBSD2Vin) GetScriptSig() ListTransactionsBy // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2Vin) GetScriptSigOk() (*ListTransactionsByBlockHashRIBSD2ScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -147,7 +147,7 @@ func (o *ListTransactionsByBlockHashRIBSD2Vin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2Vin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -202,11 +202,11 @@ func (o *ListTransactionsByBlockHashRIBSD2Vin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSD2Vin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSD2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -259,7 +259,7 @@ func (o *ListTransactionsByBlockHashRIBSD2Vin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2Vin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_hash_ribsd2_vout.go b/model_list_transactions_by_block_hash_ribsd2_vout.go index 41003e4..53541bc 100644 --- a/model_list_transactions_by_block_hash_ribsd2_vout.go +++ b/model_list_transactions_by_block_hash_ribsd2_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHashRIBSD2Vout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2Vout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHashRIBSD2Vout) GetScriptPubKey() ListTransactio // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2Vout) GetScriptPubKeyOk() (*ListTransactionsByBlockHashRIBSD2ScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHashRIBSD2Vout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSD2Vout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_hash_ribsd_script_pub_key.go b/model_list_transactions_by_block_hash_ribsd_script_pub_key.go index 17c6fb4..b5d0160 100644 --- a/model_list_transactions_by_block_hash_ribsd_script_pub_key.go +++ b/model_list_transactions_by_block_hash_ribsd_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_hash_ribsd_vin.go b/model_list_transactions_by_block_hash_ribsd_vin.go index fe47f42..5880b64 100644 --- a/model_list_transactions_by_block_hash_ribsd_vin.go +++ b/model_list_transactions_by_block_hash_ribsd_vin.go @@ -66,11 +66,11 @@ func (o *ListTransactionsByBlockHashRIBSDVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSDVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSDVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -123,7 +123,7 @@ func (o *ListTransactionsByBlockHashRIBSDVin) GetScriptSig() GetTransactionDetai // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -147,7 +147,7 @@ func (o *ListTransactionsByBlockHashRIBSDVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -202,11 +202,11 @@ func (o *ListTransactionsByBlockHashRIBSDVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSDVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSDVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -227,7 +227,7 @@ func (o *ListTransactionsByBlockHashRIBSDVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_hash_ribsd_vout.go b/model_list_transactions_by_block_hash_ribsd_vout.go index a14825a..1bf5dcc 100644 --- a/model_list_transactions_by_block_hash_ribsd_vout.go +++ b/model_list_transactions_by_block_hash_ribsd_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHashRIBSDVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHashRIBSDVout) GetScriptPubKey() ListTransaction // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDVout) GetScriptPubKeyOk() (*ListTransactionsByBlockHashRIBSDScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHashRIBSDVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSDVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_hash_ribse.go b/model_list_transactions_by_block_hash_ribse.go index e0ddb49..9abbcf4 100644 --- a/model_list_transactions_by_block_hash_ribse.go +++ b/model_list_transactions_by_block_hash_ribse.go @@ -69,7 +69,7 @@ func (o *ListTransactionsByBlockHashRIBSE) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSE) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -93,7 +93,7 @@ func (o *ListTransactionsByBlockHashRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -117,7 +117,7 @@ func (o *ListTransactionsByBlockHashRIBSE) GetGasPrice() ListTransactionsByBlock // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSE) GetGasPriceOk() (*ListTransactionsByBlockHashRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -141,7 +141,7 @@ func (o *ListTransactionsByBlockHashRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -165,7 +165,7 @@ func (o *ListTransactionsByBlockHashRIBSE) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSE) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -189,7 +189,7 @@ func (o *ListTransactionsByBlockHashRIBSE) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSE) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -213,7 +213,7 @@ func (o *ListTransactionsByBlockHashRIBSE) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSE) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_transactions_by_block_hash_ribse_gas_price.go b/model_list_transactions_by_block_hash_ribse_gas_price.go index 61619a2..39dd1a1 100644 --- a/model_list_transactions_by_block_hash_ribse_gas_price.go +++ b/model_list_transactions_by_block_hash_ribse_gas_price.go @@ -55,7 +55,7 @@ func (o *ListTransactionsByBlockHashRIBSEGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListTransactionsByBlockHashRIBSEGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_transactions_by_block_hash_ribsec.go b/model_list_transactions_by_block_hash_ribsec.go index 3ca59fd..be588f2 100644 --- a/model_list_transactions_by_block_hash_ribsec.go +++ b/model_list_transactions_by_block_hash_ribsec.go @@ -69,7 +69,7 @@ func (o *ListTransactionsByBlockHashRIBSEC) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -93,7 +93,7 @@ func (o *ListTransactionsByBlockHashRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -117,7 +117,7 @@ func (o *ListTransactionsByBlockHashRIBSEC) GetGasPrice() ListTransactionsByBloc // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEC) GetGasPriceOk() (*ListTransactionsByBlockHashRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -141,7 +141,7 @@ func (o *ListTransactionsByBlockHashRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -165,7 +165,7 @@ func (o *ListTransactionsByBlockHashRIBSEC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -189,7 +189,7 @@ func (o *ListTransactionsByBlockHashRIBSEC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -213,7 +213,7 @@ func (o *ListTransactionsByBlockHashRIBSEC) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSEC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_transactions_by_block_hash_ribsl.go b/model_list_transactions_by_block_hash_ribsl.go index 791b9bd..e78d2cb 100644 --- a/model_list_transactions_by_block_hash_ribsl.go +++ b/model_list_transactions_by_block_hash_ribsl.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHashRIBSL Litecoin type ListTransactionsByBlockHashRIBSL struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type ListTransactionsByBlockHashRIBSL struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHashRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSLVin, vout []ListTransactionsByBlockHashRIBSLVout) *ListTransactionsByBlockHashRIBSL { +func NewListTransactionsByBlockHashRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSLVin, vout []ListTransactionsByBlockHashRIBSLVout) *ListTransactionsByBlockHashRIBSL { this := ListTransactionsByBlockHashRIBSL{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListTransactionsByBlockHashRIBSLWithDefaults() *ListTransactionsByBlockH } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHashRIBSL) GetLocktime() int32 { +func (o *ListTransactionsByBlockHashRIBSL) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListTransactionsByBlockHashRIBSL) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSL) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHashRIBSL) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHashRIBSL) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListTransactionsByBlockHashRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListTransactionsByBlockHashRIBSL) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSL) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListTransactionsByBlockHashRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListTransactionsByBlockHashRIBSL) GetVin() []ListTransactionsByBlockHas // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSL) GetVinOk() (*[]ListTransactionsByBlockHashRIBSLVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSL) GetVinOk() ([]ListTransactionsByBlockHashRIBSLVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListTransactionsByBlockHashRIBSL) GetVout() []ListTransactionsByBlockHa // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSL) GetVoutOk() (*[]ListTransactionsByBlockHashRIBSLVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSL) GetVoutOk() ([]ListTransactionsByBlockHashRIBSLVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_hash_ribsl_script_pub_key.go b/model_list_transactions_by_block_hash_ribsl_script_pub_key.go index f8b2c6a..6116742 100644 --- a/model_list_transactions_by_block_hash_ribsl_script_pub_key.go +++ b/model_list_transactions_by_block_hash_ribsl_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_hash_ribsl_script_sig.go b/model_list_transactions_by_block_hash_ribsl_script_sig.go index bf83d45..4d762ef 100644 --- a/model_list_transactions_by_block_hash_ribsl_script_sig.go +++ b/model_list_transactions_by_block_hash_ribsl_script_sig.go @@ -58,7 +58,7 @@ func (o *ListTransactionsByBlockHashRIBSLScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListTransactionsByBlockHashRIBSLScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListTransactionsByBlockHashRIBSLScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_hash_ribsl_vin.go b/model_list_transactions_by_block_hash_ribsl_vin.go index 08db925..290b776 100644 --- a/model_list_transactions_by_block_hash_ribsl_vin.go +++ b/model_list_transactions_by_block_hash_ribsl_vin.go @@ -68,11 +68,11 @@ func (o *ListTransactionsByBlockHashRIBSLVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSLVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSLVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -125,7 +125,7 @@ func (o *ListTransactionsByBlockHashRIBSLVin) GetScriptSig() ListTransactionsByB // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLVin) GetScriptSigOk() (*ListTransactionsByBlockHashRIBSLScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -149,7 +149,7 @@ func (o *ListTransactionsByBlockHashRIBSLVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -173,7 +173,7 @@ func (o *ListTransactionsByBlockHashRIBSLVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -196,11 +196,11 @@ func (o *ListTransactionsByBlockHashRIBSLVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSLVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSLVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -221,7 +221,7 @@ func (o *ListTransactionsByBlockHashRIBSLVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -245,7 +245,7 @@ func (o *ListTransactionsByBlockHashRIBSLVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_hash_ribsl_vout.go b/model_list_transactions_by_block_hash_ribsl_vout.go index 9c1cd36..69284c9 100644 --- a/model_list_transactions_by_block_hash_ribsl_vout.go +++ b/model_list_transactions_by_block_hash_ribsl_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHashRIBSLVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHashRIBSLVout) GetScriptPubKey() ListTransaction // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLVout) GetScriptPubKeyOk() (*ListTransactionsByBlockHashRIBSLScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHashRIBSLVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSLVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_hash_ribsz.go b/model_list_transactions_by_block_hash_ribsz.go index 2a26d30..13463fb 100644 --- a/model_list_transactions_by_block_hash_ribsz.go +++ b/model_list_transactions_by_block_hash_ribsz.go @@ -26,7 +26,7 @@ type ListTransactionsByBlockHashRIBSZ struct { // Is used to sign transactions that contain at least one JoinSplit description. JoinSplitSig string `json:"joinSplitSig"` // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // \"Overwinter\" is the network upgrade for the Zcash blockchain. Overwintered bool `json:"overwintered"` // Represents the total size of this transaction. @@ -53,7 +53,7 @@ type ListTransactionsByBlockHashRIBSZ struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHashRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListTransactionsByBlockHashRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListTransactionsByBlockHashRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListTransactionsByBlockHashRIBSZ { +func NewListTransactionsByBlockHashRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListTransactionsByBlockHashRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListTransactionsByBlockHashRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListTransactionsByBlockHashRIBSZ { this := ListTransactionsByBlockHashRIBSZ{} this.BindingSig = bindingSig this.ExpiryHeight = expiryHeight @@ -94,7 +94,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetBindingSig() string { // GetBindingSigOk returns a tuple with the BindingSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetBindingSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BindingSig, true @@ -118,7 +118,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetExpiryHeight() int32 { // GetExpiryHeightOk returns a tuple with the ExpiryHeight field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetExpiryHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExpiryHeight, true @@ -142,7 +142,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetJoinSplitPubKey() string { // GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitPubKey, true @@ -166,7 +166,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetJoinSplitSig() string { // GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetJoinSplitSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitSig, true @@ -178,9 +178,9 @@ func (o *ListTransactionsByBlockHashRIBSZ) SetJoinSplitSig(v string) { } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHashRIBSZ) GetLocktime() int32 { +func (o *ListTransactionsByBlockHashRIBSZ) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -189,15 +189,15 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZ) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHashRIBSZ) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHashRIBSZ) SetLocktime(v int64) { o.Locktime = v } @@ -214,7 +214,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetOverwintered() bool { // GetOverwinteredOk returns a tuple with the Overwintered field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetOverwinteredOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Overwintered, true @@ -238,7 +238,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -261,11 +261,11 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetVJoinSplit() []ListTransactionsByB // GetVJoinSplitOk returns a tuple with the VJoinSplit field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZ) GetVJoinSplitOk() (*[]ListTransactionsByBlockHashRIBSZVJoinSplit, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZ) GetVJoinSplitOk() ([]ListTransactionsByBlockHashRIBSZVJoinSplit, bool) { + if o == nil { return nil, false } - return &o.VJoinSplit, true + return o.VJoinSplit, true } // SetVJoinSplit sets field value @@ -285,11 +285,11 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetVShieldedOutput() []GetTransaction // GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZ) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZ) GetVShieldedOutputOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { + if o == nil { return nil, false } - return &o.VShieldedOutput, true + return o.VShieldedOutput, true } // SetVShieldedOutput sets field value @@ -309,11 +309,11 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetVShieldedSpend() []GetTransactionD // GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { + if o == nil { return nil, false } - return &o.VShieldedSpend, true + return o.VShieldedSpend, true } // SetVShieldedSpend sets field value @@ -334,7 +334,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetValueBalance() string { // GetValueBalanceOk returns a tuple with the ValueBalance field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetValueBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ValueBalance, true @@ -358,7 +358,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -382,7 +382,7 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetVersionGroupId() string { // GetVersionGroupIdOk returns a tuple with the VersionGroupId field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZ) GetVersionGroupIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionGroupId, true @@ -405,11 +405,11 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetVin() []ListTransactionsByBlockHas // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZ) GetVinOk() (*[]ListTransactionsByBlockHashRIBSZVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZ) GetVinOk() ([]ListTransactionsByBlockHashRIBSZVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -429,11 +429,11 @@ func (o *ListTransactionsByBlockHashRIBSZ) GetVout() []GetTransactionDetailsByTr // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZ) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZ) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_hash_ribsz_script_sig.go b/model_list_transactions_by_block_hash_ribsz_script_sig.go index 2c00b2d..236c0e8 100644 --- a/model_list_transactions_by_block_hash_ribsz_script_sig.go +++ b/model_list_transactions_by_block_hash_ribsz_script_sig.go @@ -58,7 +58,7 @@ func (o *ListTransactionsByBlockHashRIBSZScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListTransactionsByBlockHashRIBSZScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListTransactionsByBlockHashRIBSZScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_hash_ribsz_v_join_split.go b/model_list_transactions_by_block_hash_ribsz_v_join_split.go index ffd7f0d..38eb1e3 100644 --- a/model_list_transactions_by_block_hash_ribsz_v_join_split.go +++ b/model_list_transactions_by_block_hash_ribsz_v_join_split.go @@ -75,7 +75,7 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetAnchor() string { // GetAnchorOk returns a tuple with the Anchor field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetAnchorOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Anchor, true @@ -98,11 +98,11 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetCipherTexts() []string { // GetCipherTextsOk returns a tuple with the CipherTexts field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetCipherTextsOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetCipherTextsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.CipherTexts, true + return o.CipherTexts, true } // SetCipherTexts sets field value @@ -122,11 +122,11 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetCommitments() []string { // GetCommitmentsOk returns a tuple with the Commitments field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetCommitmentsOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetCommitmentsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Commitments, true + return o.Commitments, true } // SetCommitments sets field value @@ -146,11 +146,11 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetMacs() []string { // GetMacsOk returns a tuple with the Macs field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetMacsOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetMacsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Macs, true + return o.Macs, true } // SetMacs sets field value @@ -170,11 +170,11 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetNullifiers() []string { // GetNullifiersOk returns a tuple with the Nullifiers field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetNullifiersOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetNullifiersOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Nullifiers, true + return o.Nullifiers, true } // SetNullifiers sets field value @@ -195,7 +195,7 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetOneTimePubKey() string { // GetOneTimePubKeyOk returns a tuple with the OneTimePubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetOneTimePubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OneTimePubKey, true @@ -219,7 +219,7 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetProof() string { // GetProofOk returns a tuple with the Proof field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetProofOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Proof, true @@ -243,7 +243,7 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetRandomSeed() string { // GetRandomSeedOk returns a tuple with the RandomSeed field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetRandomSeedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RandomSeed, true @@ -267,7 +267,7 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetVPubNew() string { // GetVPubNewOk returns a tuple with the VPubNew field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetVPubNewOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VPubNew, true @@ -291,7 +291,7 @@ func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetVPubOld() string { // GetVPubOldOk returns a tuple with the VPubOld field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVJoinSplit) GetVPubOldOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VPubOld, true diff --git a/model_list_transactions_by_block_hash_ribsz_vin.go b/model_list_transactions_by_block_hash_ribsz_vin.go index 9d2fe95..c661ec7 100644 --- a/model_list_transactions_by_block_hash_ribsz_vin.go +++ b/model_list_transactions_by_block_hash_ribsz_vin.go @@ -22,7 +22,7 @@ type ListTransactionsByBlockHashRIBSZVin struct { Coinbase string `json:"coinbase"` ScriptSig ListTransactionsByBlockHashRIBSZScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type ListTransactionsByBlockHashRIBSZVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHashRIBSZVin(addresses []string, coinbase string, scriptSig ListTransactionsByBlockHashRIBSZScriptSig, sequence int32, txid string, txinwitness []string, value string, vout int32) *ListTransactionsByBlockHashRIBSZVin { +func NewListTransactionsByBlockHashRIBSZVin(addresses []string, coinbase string, scriptSig ListTransactionsByBlockHashRIBSZScriptSig, sequence int64, txid string, txinwitness []string, value string, vout int32) *ListTransactionsByBlockHashRIBSZVin { this := ListTransactionsByBlockHashRIBSZVin{} this.Addresses = addresses this.Coinbase = coinbase @@ -69,11 +69,11 @@ func (o *ListTransactionsByBlockHashRIBSZVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -94,7 +94,7 @@ func (o *ListTransactionsByBlockHashRIBSZVin) GetCoinbase() string { // GetCoinbaseOk returns a tuple with the Coinbase field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVin) GetCoinbaseOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Coinbase, true @@ -118,7 +118,7 @@ func (o *ListTransactionsByBlockHashRIBSZVin) GetScriptSig() ListTransactionsByB // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVin) GetScriptSigOk() (*ListTransactionsByBlockHashRIBSZScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -130,9 +130,9 @@ func (o *ListTransactionsByBlockHashRIBSZVin) SetScriptSig(v ListTransactionsByB } // GetSequence returns the Sequence field value -func (o *ListTransactionsByBlockHashRIBSZVin) GetSequence() int32 { +func (o *ListTransactionsByBlockHashRIBSZVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -141,15 +141,15 @@ func (o *ListTransactionsByBlockHashRIBSZVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *ListTransactionsByBlockHashRIBSZVin) SetSequence(v int32) { +func (o *ListTransactionsByBlockHashRIBSZVin) SetSequence(v int64) { o.Sequence = v } @@ -166,7 +166,7 @@ func (o *ListTransactionsByBlockHashRIBSZVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -189,11 +189,11 @@ func (o *ListTransactionsByBlockHashRIBSZVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHashRIBSZVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHashRIBSZVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -214,7 +214,7 @@ func (o *ListTransactionsByBlockHashRIBSZVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -238,7 +238,7 @@ func (o *ListTransactionsByBlockHashRIBSZVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHashRIBSZVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_height_e400.go b/model_list_transactions_by_block_height_e400.go index 9545979..b24de80 100644 --- a/model_list_transactions_by_block_height_e400.go +++ b/model_list_transactions_by_block_height_e400.go @@ -25,17 +25,23 @@ type ListTransactionsByBlockHeightE400 struct { // InvalidPaginationAsListTransactionsByBlockHeightE400 is a convenience function that returns InvalidPagination wrapped in ListTransactionsByBlockHeightE400 func InvalidPaginationAsListTransactionsByBlockHeightE400(v *InvalidPagination) ListTransactionsByBlockHeightE400 { - return ListTransactionsByBlockHeightE400{ InvalidPagination: v} + return ListTransactionsByBlockHeightE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListTransactionsByBlockHeightE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListTransactionsByBlockHeightE400 func LimitGreaterThanAllowedAsListTransactionsByBlockHeightE400(v *LimitGreaterThanAllowed) ListTransactionsByBlockHeightE400 { - return ListTransactionsByBlockHeightE400{ LimitGreaterThanAllowed: v} + return ListTransactionsByBlockHeightE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListTransactionsByBlockHeightE400 is a convenience function that returns UriNotFound wrapped in ListTransactionsByBlockHeightE400 func UriNotFoundAsListTransactionsByBlockHeightE400(v *UriNotFound) ListTransactionsByBlockHeightE400 { - return ListTransactionsByBlockHeightE400{ UriNotFound: v} + return ListTransactionsByBlockHeightE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListTransactionsByBlockHeightE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTransactionsByBlockHeightE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_transactions_by_block_height_e401.go b/model_list_transactions_by_block_height_e401.go index 76cf4cc..0d27a5c 100644 --- a/model_list_transactions_by_block_height_e401.go +++ b/model_list_transactions_by_block_height_e401.go @@ -24,12 +24,16 @@ type ListTransactionsByBlockHeightE401 struct { // InvalidApiKeyAsListTransactionsByBlockHeightE401 is a convenience function that returns InvalidApiKey wrapped in ListTransactionsByBlockHeightE401 func InvalidApiKeyAsListTransactionsByBlockHeightE401(v *InvalidApiKey) ListTransactionsByBlockHeightE401 { - return ListTransactionsByBlockHeightE401{ InvalidApiKey: v} + return ListTransactionsByBlockHeightE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListTransactionsByBlockHeightE401 is a convenience function that returns MissingApiKey wrapped in ListTransactionsByBlockHeightE401 func MissingApiKeyAsListTransactionsByBlockHeightE401(v *MissingApiKey) ListTransactionsByBlockHeightE401 { - return ListTransactionsByBlockHeightE401{ MissingApiKey: v} + return ListTransactionsByBlockHeightE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListTransactionsByBlockHeightE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListTransactionsByBlockHeightE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListTransactionsByBlockHeightE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTransactionsByBlockHeightE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_transactions_by_block_height_e403.go b/model_list_transactions_by_block_height_e403.go index 39e2f1d..5910b49 100644 --- a/model_list_transactions_by_block_height_e403.go +++ b/model_list_transactions_by_block_height_e403.go @@ -26,22 +26,30 @@ type ListTransactionsByBlockHeightE403 struct { // BannedIpAddressAsListTransactionsByBlockHeightE403 is a convenience function that returns BannedIpAddress wrapped in ListTransactionsByBlockHeightE403 func BannedIpAddressAsListTransactionsByBlockHeightE403(v *BannedIpAddress) ListTransactionsByBlockHeightE403 { - return ListTransactionsByBlockHeightE403{ BannedIpAddress: v} + return ListTransactionsByBlockHeightE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListTransactionsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListTransactionsByBlockHeightE403 func EndpointNotAllowedForApiKeyAsListTransactionsByBlockHeightE403(v *EndpointNotAllowedForApiKey) ListTransactionsByBlockHeightE403 { - return ListTransactionsByBlockHeightE403{ EndpointNotAllowedForApiKey: v} + return ListTransactionsByBlockHeightE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListTransactionsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListTransactionsByBlockHeightE403 func EndpointNotAllowedForPlanAsListTransactionsByBlockHeightE403(v *EndpointNotAllowedForPlan) ListTransactionsByBlockHeightE403 { - return ListTransactionsByBlockHeightE403{ EndpointNotAllowedForPlan: v} + return ListTransactionsByBlockHeightE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListTransactionsByBlockHeightE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListTransactionsByBlockHeightE403 func FeatureMainnetsNotAllowedForPlanAsListTransactionsByBlockHeightE403(v *FeatureMainnetsNotAllowedForPlan) ListTransactionsByBlockHeightE403 { - return ListTransactionsByBlockHeightE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListTransactionsByBlockHeightE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListTransactionsByBlockHeightE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTransactionsByBlockHeightE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_transactions_by_block_height_r.go b/model_list_transactions_by_block_height_r.go index c961cae..1b58e42 100644 --- a/model_list_transactions_by_block_height_r.go +++ b/model_list_transactions_by_block_height_r.go @@ -59,7 +59,7 @@ func (o *ListTransactionsByBlockHeightR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListTransactionsByBlockHeightR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListTransactionsByBlockHeightR) GetData() ListTransactionsByBlockHeight // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightR) GetDataOk() (*ListTransactionsByBlockHeightRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_transactions_by_block_height_r_data.go b/model_list_transactions_by_block_height_r_data.go index 50a20cb..11b08dd 100644 --- a/model_list_transactions_by_block_height_r_data.go +++ b/model_list_transactions_by_block_height_r_data.go @@ -17,10 +17,10 @@ import ( // ListTransactionsByBlockHeightRData struct for ListTransactionsByBlockHeightRData type ListTransactionsByBlockHeightRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListTransactionsByBlockHeightRI `json:"items"` @@ -30,10 +30,10 @@ type ListTransactionsByBlockHeightRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHeightRData(offset int32, limit int32, total int32, items []ListTransactionsByBlockHeightRI) *ListTransactionsByBlockHeightRData { +func NewListTransactionsByBlockHeightRData(limit int32, offset int32, total int32, items []ListTransactionsByBlockHeightRI) *ListTransactionsByBlockHeightRData { this := ListTransactionsByBlockHeightRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListTransactionsByBlockHeightRDataWithDefaults() *ListTransactionsByBloc return &this } -// GetOffset returns the Offset field value -func (o *ListTransactionsByBlockHeightRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListTransactionsByBlockHeightRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListTransactionsByBlockHeightRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListTransactionsByBlockHeightRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListTransactionsByBlockHeightRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListTransactionsByBlockHeightRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListTransactionsByBlockHeightRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListTransactionsByBlockHeightRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListTransactionsByBlockHeightRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListTransactionsByBlockHeightRData) GetItems() []ListTransactionsByBloc // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRData) GetItemsOk() (*[]ListTransactionsByBlockHeightRI, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRData) GetItemsOk() ([]ListTransactionsByBlockHeightRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListTransactionsByBlockHeightRData) SetItems(v []ListTransactionsByBloc func (o ListTransactionsByBlockHeightRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_transactions_by_block_height_ri.go b/model_list_transactions_by_block_height_ri.go index 60c8ff1..16f71e4 100644 --- a/model_list_transactions_by_block_height_ri.go +++ b/model_list_transactions_by_block_height_ri.go @@ -77,7 +77,7 @@ func (o *ListTransactionsByBlockHeightRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -101,7 +101,7 @@ func (o *ListTransactionsByBlockHeightRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -125,7 +125,7 @@ func (o *ListTransactionsByBlockHeightRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -148,11 +148,11 @@ func (o *ListTransactionsByBlockHeightRI) GetRecipients() []GetTransactionDetail // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRI) GetRecipientsOk() (*[]GetTransactionDetailsByTransactionIDRIRecipients, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRI) GetRecipientsOk() ([]GetTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -172,11 +172,11 @@ func (o *ListTransactionsByBlockHeightRI) GetSenders() []GetTransactionDetailsBy // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRI) GetSendersOk() (*[]GetTransactionDetailsByTransactionIDRISenders, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRI) GetSendersOk() ([]GetTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -197,7 +197,7 @@ func (o *ListTransactionsByBlockHeightRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -221,7 +221,7 @@ func (o *ListTransactionsByBlockHeightRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -245,7 +245,7 @@ func (o *ListTransactionsByBlockHeightRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -269,7 +269,7 @@ func (o *ListTransactionsByBlockHeightRI) GetFee() ListTransactionsByBlockHeight // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRI) GetFeeOk() (*ListTransactionsByBlockHeightRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -293,7 +293,7 @@ func (o *ListTransactionsByBlockHeightRI) GetBlockchainSpecific() ListTransactio // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRI) GetBlockchainSpecificOk() (*ListTransactionsByBlockHeightRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_list_transactions_by_block_height_ri_fee.go b/model_list_transactions_by_block_height_ri_fee.go index ce8df41..e6d0e2a 100644 --- a/model_list_transactions_by_block_height_ri_fee.go +++ b/model_list_transactions_by_block_height_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListTransactionsByBlockHeightRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListTransactionsByBlockHeightRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_transactions_by_block_height_ribs.go b/model_list_transactions_by_block_height_ribs.go index 318ab91..7ca6c6c 100644 --- a/model_list_transactions_by_block_height_ribs.go +++ b/model_list_transactions_by_block_height_ribs.go @@ -31,47 +31,65 @@ type ListTransactionsByBlockHeightRIBS struct { // ListTransactionsByBlockHeightRIBSBAsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSB wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSBAsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSB) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSB: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSB: v, + } } // ListTransactionsByBlockHeightRIBSBCAsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSBC wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSBCAsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSBC) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSBC: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSBC: v, + } } // ListTransactionsByBlockHeightRIBSBSCAsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSBSC wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSBSCAsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSBSC) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSBSC: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSBSC: v, + } } // ListTransactionsByBlockHeightRIBSDAsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSD wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSDAsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSD) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSD: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSD: v, + } } // ListTransactionsByBlockHeightRIBSD2AsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSD2 wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSD2AsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSD2) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSD2: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSD2: v, + } } // ListTransactionsByBlockHeightRIBSEAsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSE wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSEAsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSE) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSE: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSE: v, + } } // ListTransactionsByBlockHeightRIBSECAsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSEC wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSECAsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSEC) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSEC: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSEC: v, + } } // ListTransactionsByBlockHeightRIBSLAsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSL wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSLAsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSL) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSL: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSL: v, + } } // ListTransactionsByBlockHeightRIBSZAsListTransactionsByBlockHeightRIBS is a convenience function that returns ListTransactionsByBlockHeightRIBSZ wrapped in ListTransactionsByBlockHeightRIBS func ListTransactionsByBlockHeightRIBSZAsListTransactionsByBlockHeightRIBS(v *ListTransactionsByBlockHeightRIBSZ) ListTransactionsByBlockHeightRIBS { - return ListTransactionsByBlockHeightRIBS{ ListTransactionsByBlockHeightRIBSZ: v} + return ListTransactionsByBlockHeightRIBS{ + ListTransactionsByBlockHeightRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into ListTransactionsByBlockHeightRIBSB - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSB) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSB) if err == nil { jsonListTransactionsByBlockHeightRIBSB, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSB) if string(jsonListTransactionsByBlockHeightRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHeightRIBSBC - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSBC) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSBC) if err == nil { jsonListTransactionsByBlockHeightRIBSBC, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSBC) if string(jsonListTransactionsByBlockHeightRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHeightRIBSBSC - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSBSC) if err == nil { jsonListTransactionsByBlockHeightRIBSBSC, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSBSC) if string(jsonListTransactionsByBlockHeightRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHeightRIBSD - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSD) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSD) if err == nil { jsonListTransactionsByBlockHeightRIBSD, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSD) if string(jsonListTransactionsByBlockHeightRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHeightRIBSD2 - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSD2) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSD2) if err == nil { jsonListTransactionsByBlockHeightRIBSD2, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSD2) if string(jsonListTransactionsByBlockHeightRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHeightRIBSE - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSE) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSE) if err == nil { jsonListTransactionsByBlockHeightRIBSE, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSE) if string(jsonListTransactionsByBlockHeightRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHeightRIBSEC - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSEC) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSEC) if err == nil { jsonListTransactionsByBlockHeightRIBSEC, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSEC) if string(jsonListTransactionsByBlockHeightRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHeightRIBSL - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSL) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSL) if err == nil { jsonListTransactionsByBlockHeightRIBSL, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSL) if string(jsonListTransactionsByBlockHeightRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *ListTransactionsByBlockHeightRIBS) UnmarshalJSON(data []byte) error { } // try to unmarshal data into ListTransactionsByBlockHeightRIBSZ - err = json.Unmarshal(data, &dst.ListTransactionsByBlockHeightRIBSZ) + err = newStrictDecoder(data).Decode(&dst.ListTransactionsByBlockHeightRIBSZ) if err == nil { jsonListTransactionsByBlockHeightRIBSZ, _ := json.Marshal(dst.ListTransactionsByBlockHeightRIBSZ) if string(jsonListTransactionsByBlockHeightRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src ListTransactionsByBlockHeightRIBS) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListTransactionsByBlockHeightRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.ListTransactionsByBlockHeightRIBSB != nil { return obj.ListTransactionsByBlockHeightRIBSB } diff --git a/model_list_transactions_by_block_height_ribsb.go b/model_list_transactions_by_block_height_ribsb.go index 8395dda..bba881a 100644 --- a/model_list_transactions_by_block_height_ribsb.go +++ b/model_list_transactions_by_block_height_ribsb.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHeightRIBSB Bitcoin type ListTransactionsByBlockHeightRIBSB struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type ListTransactionsByBlockHeightRIBSB struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHeightRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSBVin, vout []ListTransactionsByBlockHeightRIBSBVout) *ListTransactionsByBlockHeightRIBSB { +func NewListTransactionsByBlockHeightRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHashRIBSBVin, vout []ListTransactionsByBlockHeightRIBSBVout) *ListTransactionsByBlockHeightRIBSB { this := ListTransactionsByBlockHeightRIBSB{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListTransactionsByBlockHeightRIBSBWithDefaults() *ListTransactionsByBloc } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHeightRIBSB) GetLocktime() int32 { +func (o *ListTransactionsByBlockHeightRIBSB) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListTransactionsByBlockHeightRIBSB) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSB) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHeightRIBSB) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHeightRIBSB) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListTransactionsByBlockHeightRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListTransactionsByBlockHeightRIBSB) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSB) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListTransactionsByBlockHeightRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListTransactionsByBlockHeightRIBSB) GetVin() []ListTransactionsByBlockH // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSB) GetVinOk() (*[]ListTransactionsByBlockHashRIBSBVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSB) GetVinOk() ([]ListTransactionsByBlockHashRIBSBVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListTransactionsByBlockHeightRIBSB) GetVout() []ListTransactionsByBlock // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSB) GetVoutOk() (*[]ListTransactionsByBlockHeightRIBSBVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSB) GetVoutOk() ([]ListTransactionsByBlockHeightRIBSBVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_height_ribsb_script_pub_key.go b/model_list_transactions_by_block_height_ribsb_script_pub_key.go index 324a6b9..1d6d0b0 100644 --- a/model_list_transactions_by_block_height_ribsb_script_pub_key.go +++ b/model_list_transactions_by_block_height_ribsb_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_height_ribsb_vout.go b/model_list_transactions_by_block_height_ribsb_vout.go index 76df9ba..4747713 100644 --- a/model_list_transactions_by_block_height_ribsb_vout.go +++ b/model_list_transactions_by_block_height_ribsb_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHeightRIBSBVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHeightRIBSBVout) GetScriptPubKey() ListTransacti // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBVout) GetScriptPubKeyOk() (*ListTransactionsByBlockHeightRIBSBScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHeightRIBSBVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_height_ribsbc.go b/model_list_transactions_by_block_height_ribsbc.go index afb313c..0f51e51 100644 --- a/model_list_transactions_by_block_height_ribsbc.go +++ b/model_list_transactions_by_block_height_ribsbc.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHeightRIBSBC Bitcoin Cash type ListTransactionsByBlockHeightRIBSBC struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the total size of this transaction. @@ -33,7 +33,7 @@ type ListTransactionsByBlockHeightRIBSBC struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHeightRIBSBC(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHashRIBSBCVin, vout []ListTransactionsByBlockHashRIBSBCVout) *ListTransactionsByBlockHeightRIBSBC { +func NewListTransactionsByBlockHeightRIBSBC(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHashRIBSBCVin, vout []ListTransactionsByBlockHashRIBSBCVout) *ListTransactionsByBlockHeightRIBSBC { this := ListTransactionsByBlockHeightRIBSBC{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListTransactionsByBlockHeightRIBSBCWithDefaults() *ListTransactionsByBlo } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktime() int32 { +func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHeightRIBSBC) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHeightRIBSBC) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListTransactionsByBlockHeightRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListTransactionsByBlockHeightRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListTransactionsByBlockHeightRIBSBC) GetVin() []ListTransactionsByBlock // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSBC) GetVinOk() (*[]ListTransactionsByBlockHashRIBSBCVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSBC) GetVinOk() ([]ListTransactionsByBlockHashRIBSBCVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListTransactionsByBlockHeightRIBSBC) GetVout() []ListTransactionsByBloc // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSBC) GetVoutOk() (*[]ListTransactionsByBlockHashRIBSBCVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSBC) GetVoutOk() ([]ListTransactionsByBlockHashRIBSBCVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_height_ribsbsc.go b/model_list_transactions_by_block_height_ribsbsc.go index 7bb5903..01757fa 100644 --- a/model_list_transactions_by_block_height_ribsbsc.go +++ b/model_list_transactions_by_block_height_ribsbsc.go @@ -100,7 +100,7 @@ func (o *ListTransactionsByBlockHeightRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -124,7 +124,7 @@ func (o *ListTransactionsByBlockHeightRIBSBSC) GetGasPrice() ListTransactionsByB // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBSC) GetGasPriceOk() (*ListTransactionsByBlockHeightRIBSBSCGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -148,7 +148,7 @@ func (o *ListTransactionsByBlockHeightRIBSBSC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBSC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -172,7 +172,7 @@ func (o *ListTransactionsByBlockHeightRIBSBSC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBSC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -196,7 +196,7 @@ func (o *ListTransactionsByBlockHeightRIBSBSC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBSC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -220,7 +220,7 @@ func (o *ListTransactionsByBlockHeightRIBSBSC) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBSC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_transactions_by_block_height_ribsbsc_gas_price.go b/model_list_transactions_by_block_height_ribsbsc_gas_price.go index 97f4a93..1d4a623 100644 --- a/model_list_transactions_by_block_height_ribsbsc_gas_price.go +++ b/model_list_transactions_by_block_height_ribsbsc_gas_price.go @@ -55,7 +55,7 @@ func (o *ListTransactionsByBlockHeightRIBSBSCGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBSCGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListTransactionsByBlockHeightRIBSBSCGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSBSCGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_transactions_by_block_height_ribsd.go b/model_list_transactions_by_block_height_ribsd.go index 731bc22..97ca156 100644 --- a/model_list_transactions_by_block_height_ribsd.go +++ b/model_list_transactions_by_block_height_ribsd.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHeightRIBSD Dash type ListTransactionsByBlockHeightRIBSD struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type ListTransactionsByBlockHeightRIBSD struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHeightRIBSD(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHeightRIBSDVin, vout []ListTransactionsByBlockHeightRIBSDVout) *ListTransactionsByBlockHeightRIBSD { +func NewListTransactionsByBlockHeightRIBSD(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHeightRIBSDVin, vout []ListTransactionsByBlockHeightRIBSDVout) *ListTransactionsByBlockHeightRIBSD { this := ListTransactionsByBlockHeightRIBSD{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListTransactionsByBlockHeightRIBSDWithDefaults() *ListTransactionsByBloc } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHeightRIBSD) GetLocktime() int32 { +func (o *ListTransactionsByBlockHeightRIBSD) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListTransactionsByBlockHeightRIBSD) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSD) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHeightRIBSD) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHeightRIBSD) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListTransactionsByBlockHeightRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListTransactionsByBlockHeightRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListTransactionsByBlockHeightRIBSD) GetVin() []ListTransactionsByBlockH // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSD) GetVinOk() (*[]ListTransactionsByBlockHeightRIBSDVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSD) GetVinOk() ([]ListTransactionsByBlockHeightRIBSDVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListTransactionsByBlockHeightRIBSD) GetVout() []ListTransactionsByBlock // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSD) GetVoutOk() (*[]ListTransactionsByBlockHeightRIBSDVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSD) GetVoutOk() ([]ListTransactionsByBlockHeightRIBSDVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_height_ribsd2.go b/model_list_transactions_by_block_height_ribsd2.go index 32f2af2..4af00a4 100644 --- a/model_list_transactions_by_block_height_ribsd2.go +++ b/model_list_transactions_by_block_height_ribsd2.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHeightRIBSD2 Dogecoin type ListTransactionsByBlockHeightRIBSD2 struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents transaction version number. @@ -33,7 +33,7 @@ type ListTransactionsByBlockHeightRIBSD2 struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHeightRIBSD2(locktime int32, size int32, version int32, vin []ListTransactionsByBlockHeightRIBSD2Vin, vout []ListTransactionsByBlockHashRIBSDVout) *ListTransactionsByBlockHeightRIBSD2 { +func NewListTransactionsByBlockHeightRIBSD2(locktime int64, size int32, version int32, vin []ListTransactionsByBlockHeightRIBSD2Vin, vout []ListTransactionsByBlockHashRIBSDVout) *ListTransactionsByBlockHeightRIBSD2 { this := ListTransactionsByBlockHeightRIBSD2{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListTransactionsByBlockHeightRIBSD2WithDefaults() *ListTransactionsByBlo } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktime() int32 { +func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHeightRIBSD2) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHeightRIBSD2) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListTransactionsByBlockHeightRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListTransactionsByBlockHeightRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListTransactionsByBlockHeightRIBSD2) GetVin() []ListTransactionsByBlock // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSD2) GetVinOk() (*[]ListTransactionsByBlockHeightRIBSD2Vin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSD2) GetVinOk() ([]ListTransactionsByBlockHeightRIBSD2Vin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListTransactionsByBlockHeightRIBSD2) GetVout() []ListTransactionsByBloc // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSD2) GetVoutOk() (*[]ListTransactionsByBlockHashRIBSDVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSD2) GetVoutOk() ([]ListTransactionsByBlockHashRIBSDVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_height_ribsd2_vin.go b/model_list_transactions_by_block_height_ribsd2_vin.go index bf193a1..431c3b5 100644 --- a/model_list_transactions_by_block_height_ribsd2_vin.go +++ b/model_list_transactions_by_block_height_ribsd2_vin.go @@ -67,11 +67,11 @@ func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -124,7 +124,7 @@ func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetScriptSig() GetTransactionDe // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -148,7 +148,7 @@ func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -203,11 +203,11 @@ func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -228,7 +228,7 @@ func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -252,7 +252,7 @@ func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSD2Vin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_height_ribsd_script_pub_key.go b/model_list_transactions_by_block_height_ribsd_script_pub_key.go index 3e67901..46a91a0 100644 --- a/model_list_transactions_by_block_height_ribsd_script_pub_key.go +++ b/model_list_transactions_by_block_height_ribsd_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_height_ribsd_script_sig.go b/model_list_transactions_by_block_height_ribsd_script_sig.go index 4ad7f9b..3923160 100644 --- a/model_list_transactions_by_block_height_ribsd_script_sig.go +++ b/model_list_transactions_by_block_height_ribsd_script_sig.go @@ -58,7 +58,7 @@ func (o *ListTransactionsByBlockHeightRIBSDScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListTransactionsByBlockHeightRIBSDScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListTransactionsByBlockHeightRIBSDScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_height_ribsd_vin.go b/model_list_transactions_by_block_height_ribsd_vin.go index a9c4324..f09b489 100644 --- a/model_list_transactions_by_block_height_ribsd_vin.go +++ b/model_list_transactions_by_block_height_ribsd_vin.go @@ -67,11 +67,11 @@ func (o *ListTransactionsByBlockHeightRIBSDVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSDVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSDVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -92,7 +92,7 @@ func (o *ListTransactionsByBlockHeightRIBSDVin) GetCoinbase() string { // GetCoinbaseOk returns a tuple with the Coinbase field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDVin) GetCoinbaseOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Coinbase, true @@ -116,7 +116,7 @@ func (o *ListTransactionsByBlockHeightRIBSDVin) GetScriptSig() ListTransactionsB // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDVin) GetScriptSigOk() (*ListTransactionsByBlockHeightRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -140,7 +140,7 @@ func (o *ListTransactionsByBlockHeightRIBSDVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -195,11 +195,11 @@ func (o *ListTransactionsByBlockHeightRIBSDVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSDVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSDVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -252,7 +252,7 @@ func (o *ListTransactionsByBlockHeightRIBSDVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_height_ribsd_vout.go b/model_list_transactions_by_block_height_ribsd_vout.go index eac3249..5cc3362 100644 --- a/model_list_transactions_by_block_height_ribsd_vout.go +++ b/model_list_transactions_by_block_height_ribsd_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHeightRIBSDVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHeightRIBSDVout) GetScriptPubKey() ListTransacti // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDVout) GetScriptPubKeyOk() (*ListTransactionsByBlockHeightRIBSDScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHeightRIBSDVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSDVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_height_ribse.go b/model_list_transactions_by_block_height_ribse.go index 5a3c5ac..5bda908 100644 --- a/model_list_transactions_by_block_height_ribse.go +++ b/model_list_transactions_by_block_height_ribse.go @@ -69,7 +69,7 @@ func (o *ListTransactionsByBlockHeightRIBSE) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSE) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -93,7 +93,7 @@ func (o *ListTransactionsByBlockHeightRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -117,7 +117,7 @@ func (o *ListTransactionsByBlockHeightRIBSE) GetGasPrice() GetTransactionDetails // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSE) GetGasPriceOk() (*GetTransactionDetailsByTransactionIDRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -141,7 +141,7 @@ func (o *ListTransactionsByBlockHeightRIBSE) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSE) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -165,7 +165,7 @@ func (o *ListTransactionsByBlockHeightRIBSE) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSE) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -189,7 +189,7 @@ func (o *ListTransactionsByBlockHeightRIBSE) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSE) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -213,7 +213,7 @@ func (o *ListTransactionsByBlockHeightRIBSE) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSE) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_transactions_by_block_height_ribsec.go b/model_list_transactions_by_block_height_ribsec.go index ca56425..be5bfc2 100644 --- a/model_list_transactions_by_block_height_ribsec.go +++ b/model_list_transactions_by_block_height_ribsec.go @@ -66,7 +66,7 @@ func (o *ListTransactionsByBlockHeightRIBSEC) GetContract() string { // GetContractOk returns a tuple with the Contract field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSEC) GetContractOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Contract, true @@ -90,7 +90,7 @@ func (o *ListTransactionsByBlockHeightRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -114,7 +114,7 @@ func (o *ListTransactionsByBlockHeightRIBSEC) GetGasPrice() ListTransactionsByBl // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSEC) GetGasPriceOk() (*ListTransactionsByBlockHeightRIBSECGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -138,7 +138,7 @@ func (o *ListTransactionsByBlockHeightRIBSEC) GetGasUsed() string { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSEC) GetGasUsedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -162,7 +162,7 @@ func (o *ListTransactionsByBlockHeightRIBSEC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSEC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -186,7 +186,7 @@ func (o *ListTransactionsByBlockHeightRIBSEC) GetNonce() string { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSEC) GetNonceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true diff --git a/model_list_transactions_by_block_height_ribsec_gas_price.go b/model_list_transactions_by_block_height_ribsec_gas_price.go index f05277a..032d00c 100644 --- a/model_list_transactions_by_block_height_ribsec_gas_price.go +++ b/model_list_transactions_by_block_height_ribsec_gas_price.go @@ -55,7 +55,7 @@ func (o *ListTransactionsByBlockHeightRIBSECGasPrice) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSECGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListTransactionsByBlockHeightRIBSECGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSECGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_transactions_by_block_height_ribsl.go b/model_list_transactions_by_block_height_ribsl.go index e609626..300c0d9 100644 --- a/model_list_transactions_by_block_height_ribsl.go +++ b/model_list_transactions_by_block_height_ribsl.go @@ -18,7 +18,7 @@ import ( // ListTransactionsByBlockHeightRIBSL Litecoin type ListTransactionsByBlockHeightRIBSL struct { // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type ListTransactionsByBlockHeightRIBSL struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHeightRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHeightRIBSLVin, vout []ListTransactionsByBlockHeightRIBSLVout) *ListTransactionsByBlockHeightRIBSL { +func NewListTransactionsByBlockHeightRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListTransactionsByBlockHeightRIBSLVin, vout []ListTransactionsByBlockHeightRIBSLVout) *ListTransactionsByBlockHeightRIBSL { this := ListTransactionsByBlockHeightRIBSL{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListTransactionsByBlockHeightRIBSLWithDefaults() *ListTransactionsByBloc } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHeightRIBSL) GetLocktime() int32 { +func (o *ListTransactionsByBlockHeightRIBSL) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListTransactionsByBlockHeightRIBSL) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSL) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHeightRIBSL) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHeightRIBSL) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListTransactionsByBlockHeightRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListTransactionsByBlockHeightRIBSL) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSL) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListTransactionsByBlockHeightRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListTransactionsByBlockHeightRIBSL) GetVin() []ListTransactionsByBlockH // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSL) GetVinOk() (*[]ListTransactionsByBlockHeightRIBSLVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSL) GetVinOk() ([]ListTransactionsByBlockHeightRIBSLVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListTransactionsByBlockHeightRIBSL) GetVout() []ListTransactionsByBlock // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSL) GetVoutOk() (*[]ListTransactionsByBlockHeightRIBSLVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSL) GetVoutOk() ([]ListTransactionsByBlockHeightRIBSLVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_height_ribsl_script_pub_key.go b/model_list_transactions_by_block_height_ribsl_script_pub_key.go index 4806a10..c9edca0 100644 --- a/model_list_transactions_by_block_height_ribsl_script_pub_key.go +++ b/model_list_transactions_by_block_height_ribsl_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_height_ribsl_script_sig.go b/model_list_transactions_by_block_height_ribsl_script_sig.go index b5a97f7..68c560e 100644 --- a/model_list_transactions_by_block_height_ribsl_script_sig.go +++ b/model_list_transactions_by_block_height_ribsl_script_sig.go @@ -58,7 +58,7 @@ func (o *ListTransactionsByBlockHeightRIBSLScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListTransactionsByBlockHeightRIBSLScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListTransactionsByBlockHeightRIBSLScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_height_ribsl_vin.go b/model_list_transactions_by_block_height_ribsl_vin.go index 18d2d4f..be7be38 100644 --- a/model_list_transactions_by_block_height_ribsl_vin.go +++ b/model_list_transactions_by_block_height_ribsl_vin.go @@ -68,11 +68,11 @@ func (o *ListTransactionsByBlockHeightRIBSLVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSLVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSLVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -125,7 +125,7 @@ func (o *ListTransactionsByBlockHeightRIBSLVin) GetScriptSig() ListTransactionsB // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLVin) GetScriptSigOk() (*ListTransactionsByBlockHeightRIBSLScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -149,7 +149,7 @@ func (o *ListTransactionsByBlockHeightRIBSLVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -173,7 +173,7 @@ func (o *ListTransactionsByBlockHeightRIBSLVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -196,11 +196,11 @@ func (o *ListTransactionsByBlockHeightRIBSLVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSLVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSLVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -221,7 +221,7 @@ func (o *ListTransactionsByBlockHeightRIBSLVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -245,7 +245,7 @@ func (o *ListTransactionsByBlockHeightRIBSLVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_height_ribsl_vout.go b/model_list_transactions_by_block_height_ribsl_vout.go index fec6e19..d218a59 100644 --- a/model_list_transactions_by_block_height_ribsl_vout.go +++ b/model_list_transactions_by_block_height_ribsl_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHeightRIBSLVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHeightRIBSLVout) GetScriptPubKey() ListTransacti // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLVout) GetScriptPubKeyOk() (*ListTransactionsByBlockHeightRIBSLScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHeightRIBSLVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSLVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_transactions_by_block_height_ribsz.go b/model_list_transactions_by_block_height_ribsz.go index 77dfa7b..4716a04 100644 --- a/model_list_transactions_by_block_height_ribsz.go +++ b/model_list_transactions_by_block_height_ribsz.go @@ -26,7 +26,7 @@ type ListTransactionsByBlockHeightRIBSZ struct { // Is used to sign transactions that contain at least one JoinSplit description. JoinSplitSig string `json:"joinSplitSig"` // Represents the time at which a particular transaction can be added to the blockchain. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // \"Overwinter\" is the network upgrade for the Zcash blockchain. Overwintered bool `json:"overwintered"` // Represents the total size of this transaction. @@ -53,7 +53,7 @@ type ListTransactionsByBlockHeightRIBSZ struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHeightRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListTransactionsByBlockHeightRIBSZVJoinSplit, vShieldedOutput []ListTransactionsByBlockHeightRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListTransactionsByBlockHeightRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout) *ListTransactionsByBlockHeightRIBSZ { +func NewListTransactionsByBlockHeightRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListTransactionsByBlockHeightRIBSZVJoinSplit, vShieldedOutput []ListTransactionsByBlockHeightRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []ListTransactionsByBlockHeightRIBSZVin, vout []ListTransactionsByBlockHeightRIBSZVout) *ListTransactionsByBlockHeightRIBSZ { this := ListTransactionsByBlockHeightRIBSZ{} this.BindingSig = bindingSig this.ExpiryHeight = expiryHeight @@ -94,7 +94,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetBindingSig() string { // GetBindingSigOk returns a tuple with the BindingSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetBindingSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BindingSig, true @@ -118,7 +118,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetExpiryHeight() int32 { // GetExpiryHeightOk returns a tuple with the ExpiryHeight field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetExpiryHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExpiryHeight, true @@ -142,7 +142,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetJoinSplitPubKey() string { // GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitPubKey, true @@ -166,7 +166,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetJoinSplitSig() string { // GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetJoinSplitSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitSig, true @@ -178,9 +178,9 @@ func (o *ListTransactionsByBlockHeightRIBSZ) SetJoinSplitSig(v string) { } // GetLocktime returns the Locktime field value -func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktime() int32 { +func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -189,15 +189,15 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListTransactionsByBlockHeightRIBSZ) SetLocktime(v int32) { +func (o *ListTransactionsByBlockHeightRIBSZ) SetLocktime(v int64) { o.Locktime = v } @@ -214,7 +214,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetOverwintered() bool { // GetOverwinteredOk returns a tuple with the Overwintered field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetOverwinteredOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Overwintered, true @@ -238,7 +238,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -261,11 +261,11 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetVJoinSplit() []ListTransactionsB // GetVJoinSplitOk returns a tuple with the VJoinSplit field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZ) GetVJoinSplitOk() (*[]ListTransactionsByBlockHeightRIBSZVJoinSplit, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZ) GetVJoinSplitOk() ([]ListTransactionsByBlockHeightRIBSZVJoinSplit, bool) { + if o == nil { return nil, false } - return &o.VJoinSplit, true + return o.VJoinSplit, true } // SetVJoinSplit sets field value @@ -285,11 +285,11 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetVShieldedOutput() []ListTransact // GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZ) GetVShieldedOutputOk() (*[]ListTransactionsByBlockHeightRIBSZVShieldedOutput, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZ) GetVShieldedOutputOk() ([]ListTransactionsByBlockHeightRIBSZVShieldedOutput, bool) { + if o == nil { return nil, false } - return &o.VShieldedOutput, true + return o.VShieldedOutput, true } // SetVShieldedOutput sets field value @@ -309,11 +309,11 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetVShieldedSpend() []GetTransactio // GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { + if o == nil { return nil, false } - return &o.VShieldedSpend, true + return o.VShieldedSpend, true } // SetVShieldedSpend sets field value @@ -334,7 +334,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetValueBalance() string { // GetValueBalanceOk returns a tuple with the ValueBalance field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetValueBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ValueBalance, true @@ -358,7 +358,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -382,7 +382,7 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetVersionGroupId() string { // GetVersionGroupIdOk returns a tuple with the VersionGroupId field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZ) GetVersionGroupIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionGroupId, true @@ -405,11 +405,11 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetVin() []ListTransactionsByBlockH // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZ) GetVinOk() (*[]ListTransactionsByBlockHeightRIBSZVin, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZ) GetVinOk() ([]ListTransactionsByBlockHeightRIBSZVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -429,11 +429,11 @@ func (o *ListTransactionsByBlockHeightRIBSZ) GetVout() []ListTransactionsByBlock // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZ) GetVoutOk() (*[]ListTransactionsByBlockHeightRIBSZVout, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZ) GetVoutOk() ([]ListTransactionsByBlockHeightRIBSZVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_transactions_by_block_height_ribsz_script_pub_key.go b/model_list_transactions_by_block_height_ribsz_script_pub_key.go index f328d42..5bb7f30 100644 --- a/model_list_transactions_by_block_height_ribsz_script_pub_key.go +++ b/model_list_transactions_by_block_height_ribsz_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetReqSigs() int32 { // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_height_ribsz_script_sig.go b/model_list_transactions_by_block_height_ribsz_script_sig.go index 59065c8..a4b2261 100644 --- a/model_list_transactions_by_block_height_ribsz_script_sig.go +++ b/model_list_transactions_by_block_height_ribsz_script_sig.go @@ -58,7 +58,7 @@ func (o *ListTransactionsByBlockHeightRIBSZScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListTransactionsByBlockHeightRIBSZScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListTransactionsByBlockHeightRIBSZScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_transactions_by_block_height_ribsz_v_join_split.go b/model_list_transactions_by_block_height_ribsz_v_join_split.go index 08c43e7..a142a93 100644 --- a/model_list_transactions_by_block_height_ribsz_v_join_split.go +++ b/model_list_transactions_by_block_height_ribsz_v_join_split.go @@ -75,7 +75,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetAnchor() string { // GetAnchorOk returns a tuple with the Anchor field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetAnchorOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Anchor, true @@ -98,11 +98,11 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetCipherTexts() []string // GetCipherTextsOk returns a tuple with the CipherTexts field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetCipherTextsOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetCipherTextsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.CipherTexts, true + return o.CipherTexts, true } // SetCipherTexts sets field value @@ -122,11 +122,11 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetCommitments() []string // GetCommitmentsOk returns a tuple with the Commitments field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetCommitmentsOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetCommitmentsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Commitments, true + return o.Commitments, true } // SetCommitments sets field value @@ -146,11 +146,11 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetMacs() []string { // GetMacsOk returns a tuple with the Macs field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetMacsOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetMacsOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Macs, true + return o.Macs, true } // SetMacs sets field value @@ -170,11 +170,11 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetNullifiers() []string // GetNullifiersOk returns a tuple with the Nullifiers field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetNullifiersOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetNullifiersOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Nullifiers, true + return o.Nullifiers, true } // SetNullifiers sets field value @@ -195,7 +195,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetOneTimePubKey() string // GetOneTimePubKeyOk returns a tuple with the OneTimePubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetOneTimePubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OneTimePubKey, true @@ -219,7 +219,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetProof() string { // GetProofOk returns a tuple with the Proof field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetProofOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Proof, true @@ -243,7 +243,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetRandomSeed() string { // GetRandomSeedOk returns a tuple with the RandomSeed field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetRandomSeedOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RandomSeed, true @@ -267,7 +267,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetVPubNew() string { // GetVPubNewOk returns a tuple with the VPubNew field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetVPubNewOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VPubNew, true @@ -291,7 +291,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetVPubOld() string { // GetVPubOldOk returns a tuple with the VPubOld field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVJoinSplit) GetVPubOldOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VPubOld, true diff --git a/model_list_transactions_by_block_height_ribsz_v_shielded_output.go b/model_list_transactions_by_block_height_ribsz_v_shielded_output.go index c3710c4..e322661 100644 --- a/model_list_transactions_by_block_height_ribsz_v_shielded_output.go +++ b/model_list_transactions_by_block_height_ribsz_v_shielded_output.go @@ -67,7 +67,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetCmu() string { // GetCmuOk returns a tuple with the Cmu field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetCmuOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Cmu, true @@ -91,7 +91,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetCv() string { // GetCvOk returns a tuple with the Cv field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetCvOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Cv, true @@ -115,7 +115,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetEncCipherText() s // GetEncCipherTextOk returns a tuple with the EncCipherText field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetEncCipherTextOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EncCipherText, true @@ -139,7 +139,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetEphemeralKey() st // GetEphemeralKeyOk returns a tuple with the EphemeralKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetEphemeralKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EphemeralKey, true @@ -163,7 +163,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetOutCipherText() s // GetOutCipherTextOk returns a tuple with the OutCipherText field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetOutCipherTextOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OutCipherText, true @@ -187,7 +187,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetProof() string { // GetProofOk returns a tuple with the Proof field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVShieldedOutput) GetProofOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Proof, true diff --git a/model_list_transactions_by_block_height_ribsz_vin.go b/model_list_transactions_by_block_height_ribsz_vin.go index 735328b..37ea231 100644 --- a/model_list_transactions_by_block_height_ribsz_vin.go +++ b/model_list_transactions_by_block_height_ribsz_vin.go @@ -22,7 +22,7 @@ type ListTransactionsByBlockHeightRIBSZVin struct { Coinbase string `json:"coinbase"` ScriptSig ListTransactionsByBlockHeightRIBSZScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid string `json:"txid"` Txinwitness []string `json:"txinwitness"` @@ -36,7 +36,7 @@ type ListTransactionsByBlockHeightRIBSZVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListTransactionsByBlockHeightRIBSZVin(addresses []string, coinbase string, scriptSig ListTransactionsByBlockHeightRIBSZScriptSig, sequence int32, txid string, txinwitness []string, value string, vout int32) *ListTransactionsByBlockHeightRIBSZVin { +func NewListTransactionsByBlockHeightRIBSZVin(addresses []string, coinbase string, scriptSig ListTransactionsByBlockHeightRIBSZScriptSig, sequence int64, txid string, txinwitness []string, value string, vout int32) *ListTransactionsByBlockHeightRIBSZVin { this := ListTransactionsByBlockHeightRIBSZVin{} this.Addresses = addresses this.Coinbase = coinbase @@ -69,11 +69,11 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -94,7 +94,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) GetCoinbase() string { // GetCoinbaseOk returns a tuple with the Coinbase field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVin) GetCoinbaseOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Coinbase, true @@ -118,7 +118,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) GetScriptSig() ListTransactionsB // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVin) GetScriptSigOk() (*ListTransactionsByBlockHeightRIBSZScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -130,9 +130,9 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) SetScriptSig(v ListTransactionsB } // GetSequence returns the Sequence field value -func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequence() int32 { +func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -141,15 +141,15 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *ListTransactionsByBlockHeightRIBSZVin) SetSequence(v int32) { +func (o *ListTransactionsByBlockHeightRIBSZVin) SetSequence(v int64) { o.Sequence = v } @@ -166,7 +166,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -189,11 +189,11 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) GetTxinwitness() []string { // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListTransactionsByBlockHeightRIBSZVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListTransactionsByBlockHeightRIBSZVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -214,7 +214,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -238,7 +238,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_transactions_by_block_height_ribsz_vout.go b/model_list_transactions_by_block_height_ribsz_vout.go index d7f8bc0..efff184 100644 --- a/model_list_transactions_by_block_height_ribsz_vout.go +++ b/model_list_transactions_by_block_height_ribsz_vout.go @@ -57,7 +57,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVout) GetScriptPubKey() ListTransacti // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVout) GetScriptPubKeyOk() (*ListTransactionsByBlockHeightRIBSZScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListTransactionsByBlockHeightRIBSZVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListTransactionsByBlockHeightRIBSZVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_unconfirmed_omni_transactions_by_address_e400.go b/model_list_unconfirmed_omni_transactions_by_address_e400.go index 8248d13..4421362 100644 --- a/model_list_unconfirmed_omni_transactions_by_address_e400.go +++ b/model_list_unconfirmed_omni_transactions_by_address_e400.go @@ -25,17 +25,23 @@ type ListUnconfirmedOmniTransactionsByAddressE400 struct { // InvalidPaginationAsListUnconfirmedOmniTransactionsByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListUnconfirmedOmniTransactionsByAddressE400 func InvalidPaginationAsListUnconfirmedOmniTransactionsByAddressE400(v *InvalidPagination) ListUnconfirmedOmniTransactionsByAddressE400 { - return ListUnconfirmedOmniTransactionsByAddressE400{ InvalidPagination: v} + return ListUnconfirmedOmniTransactionsByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListUnconfirmedOmniTransactionsByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListUnconfirmedOmniTransactionsByAddressE400 func LimitGreaterThanAllowedAsListUnconfirmedOmniTransactionsByAddressE400(v *LimitGreaterThanAllowed) ListUnconfirmedOmniTransactionsByAddressE400 { - return ListUnconfirmedOmniTransactionsByAddressE400{ LimitGreaterThanAllowed: v} + return ListUnconfirmedOmniTransactionsByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListUnconfirmedOmniTransactionsByAddressE400 is a convenience function that returns UriNotFound wrapped in ListUnconfirmedOmniTransactionsByAddressE400 func UriNotFoundAsListUnconfirmedOmniTransactionsByAddressE400(v *UriNotFound) ListUnconfirmedOmniTransactionsByAddressE400 { - return ListUnconfirmedOmniTransactionsByAddressE400{ UriNotFound: v} + return ListUnconfirmedOmniTransactionsByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE400) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE400) UnmarshalJSON(data []by } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE400) UnmarshalJSON(data []by } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListUnconfirmedOmniTransactionsByAddressE400) MarshalJSON() ([]byte, e // Get the actual instance func (obj *ListUnconfirmedOmniTransactionsByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_unconfirmed_omni_transactions_by_address_e401.go b/model_list_unconfirmed_omni_transactions_by_address_e401.go index 04734ee..e320a2c 100644 --- a/model_list_unconfirmed_omni_transactions_by_address_e401.go +++ b/model_list_unconfirmed_omni_transactions_by_address_e401.go @@ -24,12 +24,16 @@ type ListUnconfirmedOmniTransactionsByAddressE401 struct { // InvalidApiKeyAsListUnconfirmedOmniTransactionsByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListUnconfirmedOmniTransactionsByAddressE401 func InvalidApiKeyAsListUnconfirmedOmniTransactionsByAddressE401(v *InvalidApiKey) ListUnconfirmedOmniTransactionsByAddressE401 { - return ListUnconfirmedOmniTransactionsByAddressE401{ InvalidApiKey: v} + return ListUnconfirmedOmniTransactionsByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListUnconfirmedOmniTransactionsByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListUnconfirmedOmniTransactionsByAddressE401 func MissingApiKeyAsListUnconfirmedOmniTransactionsByAddressE401(v *MissingApiKey) ListUnconfirmedOmniTransactionsByAddressE401 { - return ListUnconfirmedOmniTransactionsByAddressE401{ MissingApiKey: v} + return ListUnconfirmedOmniTransactionsByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE401) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE401) UnmarshalJSON(data []by } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListUnconfirmedOmniTransactionsByAddressE401) MarshalJSON() ([]byte, e // Get the actual instance func (obj *ListUnconfirmedOmniTransactionsByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_unconfirmed_omni_transactions_by_address_e403.go b/model_list_unconfirmed_omni_transactions_by_address_e403.go index f171d71..24dcff8 100644 --- a/model_list_unconfirmed_omni_transactions_by_address_e403.go +++ b/model_list_unconfirmed_omni_transactions_by_address_e403.go @@ -26,22 +26,30 @@ type ListUnconfirmedOmniTransactionsByAddressE403 struct { // BannedIpAddressAsListUnconfirmedOmniTransactionsByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListUnconfirmedOmniTransactionsByAddressE403 func BannedIpAddressAsListUnconfirmedOmniTransactionsByAddressE403(v *BannedIpAddress) ListUnconfirmedOmniTransactionsByAddressE403 { - return ListUnconfirmedOmniTransactionsByAddressE403{ BannedIpAddress: v} + return ListUnconfirmedOmniTransactionsByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListUnconfirmedOmniTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListUnconfirmedOmniTransactionsByAddressE403 func EndpointNotAllowedForApiKeyAsListUnconfirmedOmniTransactionsByAddressE403(v *EndpointNotAllowedForApiKey) ListUnconfirmedOmniTransactionsByAddressE403 { - return ListUnconfirmedOmniTransactionsByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListUnconfirmedOmniTransactionsByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListUnconfirmedOmniTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListUnconfirmedOmniTransactionsByAddressE403 func EndpointNotAllowedForPlanAsListUnconfirmedOmniTransactionsByAddressE403(v *EndpointNotAllowedForPlan) ListUnconfirmedOmniTransactionsByAddressE403 { - return ListUnconfirmedOmniTransactionsByAddressE403{ EndpointNotAllowedForPlan: v} + return ListUnconfirmedOmniTransactionsByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListUnconfirmedOmniTransactionsByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListUnconfirmedOmniTransactionsByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListUnconfirmedOmniTransactionsByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListUnconfirmedOmniTransactionsByAddressE403 { - return ListUnconfirmedOmniTransactionsByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListUnconfirmedOmniTransactionsByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE403) UnmarshalJSON(data []by var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE403) UnmarshalJSON(data []by } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE403) UnmarshalJSON(data []by } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListUnconfirmedOmniTransactionsByAddressE403) UnmarshalJSON(data []by } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListUnconfirmedOmniTransactionsByAddressE403) MarshalJSON() ([]byte, e // Get the actual instance func (obj *ListUnconfirmedOmniTransactionsByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_unconfirmed_omni_transactions_by_address_r.go b/model_list_unconfirmed_omni_transactions_by_address_r.go index 4d8da04..f455c87 100644 --- a/model_list_unconfirmed_omni_transactions_by_address_r.go +++ b/model_list_unconfirmed_omni_transactions_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressR) GetData() ListUnconfirmedOmn // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressR) GetDataOk() (*ListUnconfirmedOmniTransactionsByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_unconfirmed_omni_transactions_by_address_r_data.go b/model_list_unconfirmed_omni_transactions_by_address_r_data.go index 2828c7c..c3cb31f 100644 --- a/model_list_unconfirmed_omni_transactions_by_address_r_data.go +++ b/model_list_unconfirmed_omni_transactions_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListUnconfirmedOmniTransactionsByAddressRData struct for ListUnconfirmedOmniTransactionsByAddressRData type ListUnconfirmedOmniTransactionsByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListUnconfirmedOmniTransactionsByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListUnconfirmedOmniTransactionsByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedOmniTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListUnconfirmedOmniTransactionsByAddressRI) *ListUnconfirmedOmniTransactionsByAddressRData { +func NewListUnconfirmedOmniTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListUnconfirmedOmniTransactionsByAddressRI) *ListUnconfirmedOmniTransactionsByAddressRData { this := ListUnconfirmedOmniTransactionsByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListUnconfirmedOmniTransactionsByAddressRDataWithDefaults() *ListUnconfi return &this } -// GetOffset returns the Offset field value -func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetItems() []ListUnconfi // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetItemsOk() (*[]ListUnconfirmedOmniTransactionsByAddressRI, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByAddressRData) GetItemsOk() ([]ListUnconfirmedOmniTransactionsByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRData) SetItems(v []ListUnconfi func (o ListUnconfirmedOmniTransactionsByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_unconfirmed_omni_transactions_by_address_ri.go b/model_list_unconfirmed_omni_transactions_by_address_ri.go index 0df565c..a245ccb 100644 --- a/model_list_unconfirmed_omni_transactions_by_address_ri.go +++ b/model_list_unconfirmed_omni_transactions_by_address_ri.go @@ -87,7 +87,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -111,7 +111,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetDivisible() bool { // GetDivisibleOk returns a tuple with the Divisible field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetDivisibleOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Divisible, true @@ -135,7 +135,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetMined() bool { // GetMinedOk returns a tuple with the Mined field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetMinedOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Mined, true @@ -159,7 +159,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -182,11 +182,11 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetRecipients() []ListOmniT // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetRecipientsOk() (*[]ListOmniTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetRecipientsOk() ([]ListOmniTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -206,11 +206,11 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetSenders() []ListUnconfir // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetSendersOk() (*[]ListUnconfirmedOmniTransactionsByAddressRISenders, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetSendersOk() ([]ListUnconfirmedOmniTransactionsByAddressRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -231,7 +231,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetSent() bool { // GetSentOk returns a tuple with the Sent field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetSentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sent, true @@ -255,7 +255,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -279,7 +279,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -303,7 +303,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -327,7 +327,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetTypeInt() int32 { // GetTypeIntOk returns a tuple with the TypeInt field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetTypeIntOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TypeInt, true @@ -351,7 +351,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -375,7 +375,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetFee() ListUnconfirmedOmn // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRI) GetFeeOk() (*ListUnconfirmedOmniTransactionsByAddressRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true diff --git a/model_list_unconfirmed_omni_transactions_by_address_ri_fee.go b/model_list_unconfirmed_omni_transactions_by_address_ri_fee.go index 735d6ae..8bbe9d0 100644 --- a/model_list_unconfirmed_omni_transactions_by_address_ri_fee.go +++ b/model_list_unconfirmed_omni_transactions_by_address_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_unconfirmed_omni_transactions_by_address_ri_senders.go b/model_list_unconfirmed_omni_transactions_by_address_ri_senders.go index 0e29aa7..9da7c84 100644 --- a/model_list_unconfirmed_omni_transactions_by_address_ri_senders.go +++ b/model_list_unconfirmed_omni_transactions_by_address_ri_senders.go @@ -55,7 +55,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRISenders) GetAddress() string // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListUnconfirmedOmniTransactionsByAddressRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByAddressRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_unconfirmed_omni_transactions_by_property_ide400.go b/model_list_unconfirmed_omni_transactions_by_property_ide400.go index e005f9c..c3d50b1 100644 --- a/model_list_unconfirmed_omni_transactions_by_property_ide400.go +++ b/model_list_unconfirmed_omni_transactions_by_property_ide400.go @@ -25,17 +25,23 @@ type ListUnconfirmedOmniTransactionsByPropertyIDE400 struct { // InvalidPaginationAsListUnconfirmedOmniTransactionsByPropertyIDE400 is a convenience function that returns InvalidPagination wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE400 func InvalidPaginationAsListUnconfirmedOmniTransactionsByPropertyIDE400(v *InvalidPagination) ListUnconfirmedOmniTransactionsByPropertyIDE400 { - return ListUnconfirmedOmniTransactionsByPropertyIDE400{ InvalidPagination: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListUnconfirmedOmniTransactionsByPropertyIDE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE400 func LimitGreaterThanAllowedAsListUnconfirmedOmniTransactionsByPropertyIDE400(v *LimitGreaterThanAllowed) ListUnconfirmedOmniTransactionsByPropertyIDE400 { - return ListUnconfirmedOmniTransactionsByPropertyIDE400{ LimitGreaterThanAllowed: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListUnconfirmedOmniTransactionsByPropertyIDE400 is a convenience function that returns UriNotFound wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE400 func UriNotFoundAsListUnconfirmedOmniTransactionsByPropertyIDE400(v *UriNotFound) ListUnconfirmedOmniTransactionsByPropertyIDE400 { - return ListUnconfirmedOmniTransactionsByPropertyIDE400{ UriNotFound: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE400) UnmarshalJSON(data [ var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE400) UnmarshalJSON(data [ } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE400) UnmarshalJSON(data [ } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListUnconfirmedOmniTransactionsByPropertyIDE400) MarshalJSON() ([]byte // Get the actual instance func (obj *ListUnconfirmedOmniTransactionsByPropertyIDE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_unconfirmed_omni_transactions_by_property_ide401.go b/model_list_unconfirmed_omni_transactions_by_property_ide401.go index a4268cb..d466664 100644 --- a/model_list_unconfirmed_omni_transactions_by_property_ide401.go +++ b/model_list_unconfirmed_omni_transactions_by_property_ide401.go @@ -24,12 +24,16 @@ type ListUnconfirmedOmniTransactionsByPropertyIDE401 struct { // InvalidApiKeyAsListUnconfirmedOmniTransactionsByPropertyIDE401 is a convenience function that returns InvalidApiKey wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE401 func InvalidApiKeyAsListUnconfirmedOmniTransactionsByPropertyIDE401(v *InvalidApiKey) ListUnconfirmedOmniTransactionsByPropertyIDE401 { - return ListUnconfirmedOmniTransactionsByPropertyIDE401{ InvalidApiKey: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListUnconfirmedOmniTransactionsByPropertyIDE401 is a convenience function that returns MissingApiKey wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE401 func MissingApiKeyAsListUnconfirmedOmniTransactionsByPropertyIDE401(v *MissingApiKey) ListUnconfirmedOmniTransactionsByPropertyIDE401 { - return ListUnconfirmedOmniTransactionsByPropertyIDE401{ MissingApiKey: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE401) UnmarshalJSON(data [ var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE401) UnmarshalJSON(data [ } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListUnconfirmedOmniTransactionsByPropertyIDE401) MarshalJSON() ([]byte // Get the actual instance func (obj *ListUnconfirmedOmniTransactionsByPropertyIDE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_unconfirmed_omni_transactions_by_property_ide403.go b/model_list_unconfirmed_omni_transactions_by_property_ide403.go index 2ca0ab5..04ca44d 100644 --- a/model_list_unconfirmed_omni_transactions_by_property_ide403.go +++ b/model_list_unconfirmed_omni_transactions_by_property_ide403.go @@ -26,22 +26,30 @@ type ListUnconfirmedOmniTransactionsByPropertyIDE403 struct { // BannedIpAddressAsListUnconfirmedOmniTransactionsByPropertyIDE403 is a convenience function that returns BannedIpAddress wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE403 func BannedIpAddressAsListUnconfirmedOmniTransactionsByPropertyIDE403(v *BannedIpAddress) ListUnconfirmedOmniTransactionsByPropertyIDE403 { - return ListUnconfirmedOmniTransactionsByPropertyIDE403{ BannedIpAddress: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListUnconfirmedOmniTransactionsByPropertyIDE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE403 func EndpointNotAllowedForApiKeyAsListUnconfirmedOmniTransactionsByPropertyIDE403(v *EndpointNotAllowedForApiKey) ListUnconfirmedOmniTransactionsByPropertyIDE403 { - return ListUnconfirmedOmniTransactionsByPropertyIDE403{ EndpointNotAllowedForApiKey: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListUnconfirmedOmniTransactionsByPropertyIDE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE403 func EndpointNotAllowedForPlanAsListUnconfirmedOmniTransactionsByPropertyIDE403(v *EndpointNotAllowedForPlan) ListUnconfirmedOmniTransactionsByPropertyIDE403 { - return ListUnconfirmedOmniTransactionsByPropertyIDE403{ EndpointNotAllowedForPlan: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListUnconfirmedOmniTransactionsByPropertyIDE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListUnconfirmedOmniTransactionsByPropertyIDE403 func FeatureMainnetsNotAllowedForPlanAsListUnconfirmedOmniTransactionsByPropertyIDE403(v *FeatureMainnetsNotAllowedForPlan) ListUnconfirmedOmniTransactionsByPropertyIDE403 { - return ListUnconfirmedOmniTransactionsByPropertyIDE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListUnconfirmedOmniTransactionsByPropertyIDE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE403) UnmarshalJSON(data [ var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE403) UnmarshalJSON(data [ } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE403) UnmarshalJSON(data [ } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListUnconfirmedOmniTransactionsByPropertyIDE403) UnmarshalJSON(data [ } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListUnconfirmedOmniTransactionsByPropertyIDE403) MarshalJSON() ([]byte // Get the actual instance func (obj *ListUnconfirmedOmniTransactionsByPropertyIDE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_unconfirmed_omni_transactions_by_property_idr.go b/model_list_unconfirmed_omni_transactions_by_property_idr.go index 47f42fe..94f389c 100644 --- a/model_list_unconfirmed_omni_transactions_by_property_idr.go +++ b/model_list_unconfirmed_omni_transactions_by_property_idr.go @@ -59,7 +59,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDR) GetData() ListUnconfirmed // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDR) GetDataOk() (*ListUnconfirmedOmniTransactionsByPropertyIDRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_unconfirmed_omni_transactions_by_property_idr_data.go b/model_list_unconfirmed_omni_transactions_by_property_idr_data.go index d906c04..2a98333 100644 --- a/model_list_unconfirmed_omni_transactions_by_property_idr_data.go +++ b/model_list_unconfirmed_omni_transactions_by_property_idr_data.go @@ -17,10 +17,10 @@ import ( // ListUnconfirmedOmniTransactionsByPropertyIDRData struct for ListUnconfirmedOmniTransactionsByPropertyIDRData type ListUnconfirmedOmniTransactionsByPropertyIDRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListUnconfirmedOmniTransactionsByPropertyIDRI `json:"items"` @@ -30,10 +30,10 @@ type ListUnconfirmedOmniTransactionsByPropertyIDRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedOmniTransactionsByPropertyIDRData(offset int32, limit int32, total int32, items []ListUnconfirmedOmniTransactionsByPropertyIDRI) *ListUnconfirmedOmniTransactionsByPropertyIDRData { +func NewListUnconfirmedOmniTransactionsByPropertyIDRData(limit int32, offset int32, total int32, items []ListUnconfirmedOmniTransactionsByPropertyIDRI) *ListUnconfirmedOmniTransactionsByPropertyIDRData { this := ListUnconfirmedOmniTransactionsByPropertyIDRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListUnconfirmedOmniTransactionsByPropertyIDRDataWithDefaults() *ListUnco return &this } -// GetOffset returns the Offset field value -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetItems() []ListUnco // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetItemsOk() (*[]ListUnconfirmedOmniTransactionsByPropertyIDRI, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) GetItemsOk() ([]ListUnconfirmedOmniTransactionsByPropertyIDRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRData) SetItems(v []ListUnco func (o ListUnconfirmedOmniTransactionsByPropertyIDRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_unconfirmed_omni_transactions_by_property_idri.go b/model_list_unconfirmed_omni_transactions_by_property_idri.go index 7049a34..26035f9 100644 --- a/model_list_unconfirmed_omni_transactions_by_property_idri.go +++ b/model_list_unconfirmed_omni_transactions_by_property_idri.go @@ -87,7 +87,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -111,7 +111,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetDivisible() bool { // GetDivisibleOk returns a tuple with the Divisible field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetDivisibleOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Divisible, true @@ -135,7 +135,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetMined() bool { // GetMinedOk returns a tuple with the Mined field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetMinedOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Mined, true @@ -159,7 +159,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetPropertyId() int32 { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetPropertyIdOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -182,11 +182,11 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetRecipients() []ListOm // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetRecipientsOk() (*[]ListOmniTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetRecipientsOk() ([]ListOmniTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -206,11 +206,11 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetSenders() []GetUnconf // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetSendersOk() (*[]GetUnconfirmedOmniTransactionByTransactionIDTxidRISenders, bool) { - if o == nil { +func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetSendersOk() ([]GetUnconfirmedOmniTransactionByTransactionIDTxidRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -231,7 +231,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetSent() bool { // GetSentOk returns a tuple with the Sent field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetSentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sent, true @@ -255,7 +255,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -279,7 +279,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetTransactionId() strin // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -303,7 +303,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -327,7 +327,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetTypeIint() int32 { // GetTypeIintOk returns a tuple with the TypeIint field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetTypeIintOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TypeIint, true @@ -351,7 +351,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -375,7 +375,7 @@ func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetFee() ListUnconfirmed // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedOmniTransactionsByPropertyIDRI) GetFeeOk() (*ListUnconfirmedOmniTransactionsByAddressRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true diff --git a/model_list_unconfirmed_tokens_transfers_by_address_e400.go b/model_list_unconfirmed_tokens_transfers_by_address_e400.go new file mode 100644 index 0000000..342c0e9 --- /dev/null +++ b/model_list_unconfirmed_tokens_transfers_by_address_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListUnconfirmedTokensTransfersByAddressE400 - struct for ListUnconfirmedTokensTransfersByAddressE400 +type ListUnconfirmedTokensTransfersByAddressE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsListUnconfirmedTokensTransfersByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListUnconfirmedTokensTransfersByAddressE400 +func InvalidPaginationAsListUnconfirmedTokensTransfersByAddressE400(v *InvalidPagination) ListUnconfirmedTokensTransfersByAddressE400 { + return ListUnconfirmedTokensTransfersByAddressE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsListUnconfirmedTokensTransfersByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListUnconfirmedTokensTransfersByAddressE400 +func LimitGreaterThanAllowedAsListUnconfirmedTokensTransfersByAddressE400(v *LimitGreaterThanAllowed) ListUnconfirmedTokensTransfersByAddressE400 { + return ListUnconfirmedTokensTransfersByAddressE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsListUnconfirmedTokensTransfersByAddressE400 is a convenience function that returns UriNotFound wrapped in ListUnconfirmedTokensTransfersByAddressE400 +func UriNotFoundAsListUnconfirmedTokensTransfersByAddressE400(v *UriNotFound) ListUnconfirmedTokensTransfersByAddressE400 { + return ListUnconfirmedTokensTransfersByAddressE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListUnconfirmedTokensTransfersByAddressE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListUnconfirmedTokensTransfersByAddressE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListUnconfirmedTokensTransfersByAddressE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListUnconfirmedTokensTransfersByAddressE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListUnconfirmedTokensTransfersByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableListUnconfirmedTokensTransfersByAddressE400 struct { + value *ListUnconfirmedTokensTransfersByAddressE400 + isSet bool +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE400) Get() *ListUnconfirmedTokensTransfersByAddressE400 { + return v.value +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE400) Set(val *ListUnconfirmedTokensTransfersByAddressE400) { + v.value = val + v.isSet = true +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE400) IsSet() bool { + return v.isSet +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListUnconfirmedTokensTransfersByAddressE400(val *ListUnconfirmedTokensTransfersByAddressE400) *NullableListUnconfirmedTokensTransfersByAddressE400 { + return &NullableListUnconfirmedTokensTransfersByAddressE400{value: val, isSet: true} +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_unconfirmed_tokens_transfers_by_address_e401.go b/model_list_unconfirmed_tokens_transfers_by_address_e401.go new file mode 100644 index 0000000..094a0af --- /dev/null +++ b/model_list_unconfirmed_tokens_transfers_by_address_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListUnconfirmedTokensTransfersByAddressE401 - struct for ListUnconfirmedTokensTransfersByAddressE401 +type ListUnconfirmedTokensTransfersByAddressE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsListUnconfirmedTokensTransfersByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListUnconfirmedTokensTransfersByAddressE401 +func InvalidApiKeyAsListUnconfirmedTokensTransfersByAddressE401(v *InvalidApiKey) ListUnconfirmedTokensTransfersByAddressE401 { + return ListUnconfirmedTokensTransfersByAddressE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsListUnconfirmedTokensTransfersByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListUnconfirmedTokensTransfersByAddressE401 +func MissingApiKeyAsListUnconfirmedTokensTransfersByAddressE401(v *MissingApiKey) ListUnconfirmedTokensTransfersByAddressE401 { + return ListUnconfirmedTokensTransfersByAddressE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListUnconfirmedTokensTransfersByAddressE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListUnconfirmedTokensTransfersByAddressE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListUnconfirmedTokensTransfersByAddressE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListUnconfirmedTokensTransfersByAddressE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListUnconfirmedTokensTransfersByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableListUnconfirmedTokensTransfersByAddressE401 struct { + value *ListUnconfirmedTokensTransfersByAddressE401 + isSet bool +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE401) Get() *ListUnconfirmedTokensTransfersByAddressE401 { + return v.value +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE401) Set(val *ListUnconfirmedTokensTransfersByAddressE401) { + v.value = val + v.isSet = true +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE401) IsSet() bool { + return v.isSet +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListUnconfirmedTokensTransfersByAddressE401(val *ListUnconfirmedTokensTransfersByAddressE401) *NullableListUnconfirmedTokensTransfersByAddressE401 { + return &NullableListUnconfirmedTokensTransfersByAddressE401{value: val, isSet: true} +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_unconfirmed_tokens_transfers_by_address_e403.go b/model_list_unconfirmed_tokens_transfers_by_address_e403.go new file mode 100644 index 0000000..5c0bc81 --- /dev/null +++ b/model_list_unconfirmed_tokens_transfers_by_address_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListUnconfirmedTokensTransfersByAddressE403 - struct for ListUnconfirmedTokensTransfersByAddressE403 +type ListUnconfirmedTokensTransfersByAddressE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsListUnconfirmedTokensTransfersByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListUnconfirmedTokensTransfersByAddressE403 +func BannedIpAddressAsListUnconfirmedTokensTransfersByAddressE403(v *BannedIpAddress) ListUnconfirmedTokensTransfersByAddressE403 { + return ListUnconfirmedTokensTransfersByAddressE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsListUnconfirmedTokensTransfersByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListUnconfirmedTokensTransfersByAddressE403 +func EndpointNotAllowedForApiKeyAsListUnconfirmedTokensTransfersByAddressE403(v *EndpointNotAllowedForApiKey) ListUnconfirmedTokensTransfersByAddressE403 { + return ListUnconfirmedTokensTransfersByAddressE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsListUnconfirmedTokensTransfersByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListUnconfirmedTokensTransfersByAddressE403 +func EndpointNotAllowedForPlanAsListUnconfirmedTokensTransfersByAddressE403(v *EndpointNotAllowedForPlan) ListUnconfirmedTokensTransfersByAddressE403 { + return ListUnconfirmedTokensTransfersByAddressE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsListUnconfirmedTokensTransfersByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListUnconfirmedTokensTransfersByAddressE403 +func FeatureMainnetsNotAllowedForPlanAsListUnconfirmedTokensTransfersByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListUnconfirmedTokensTransfersByAddressE403 { + return ListUnconfirmedTokensTransfersByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListUnconfirmedTokensTransfersByAddressE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListUnconfirmedTokensTransfersByAddressE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListUnconfirmedTokensTransfersByAddressE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListUnconfirmedTokensTransfersByAddressE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListUnconfirmedTokensTransfersByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableListUnconfirmedTokensTransfersByAddressE403 struct { + value *ListUnconfirmedTokensTransfersByAddressE403 + isSet bool +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE403) Get() *ListUnconfirmedTokensTransfersByAddressE403 { + return v.value +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE403) Set(val *ListUnconfirmedTokensTransfersByAddressE403) { + v.value = val + v.isSet = true +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE403) IsSet() bool { + return v.isSet +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListUnconfirmedTokensTransfersByAddressE403(val *ListUnconfirmedTokensTransfersByAddressE403) *NullableListUnconfirmedTokensTransfersByAddressE403 { + return &NullableListUnconfirmedTokensTransfersByAddressE403{value: val, isSet: true} +} + +func (v NullableListUnconfirmedTokensTransfersByAddressE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_unconfirmed_tokens_transfers_by_address_r.go b/model_list_unconfirmed_tokens_transfers_by_address_r.go new file mode 100644 index 0000000..c97a064 --- /dev/null +++ b/model_list_unconfirmed_tokens_transfers_by_address_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListUnconfirmedTokensTransfersByAddressR struct for ListUnconfirmedTokensTransfersByAddressR +type ListUnconfirmedTokensTransfersByAddressR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data ListUnconfirmedTokensTransfersByAddressRData `json:"data"` +} + +// NewListUnconfirmedTokensTransfersByAddressR instantiates a new ListUnconfirmedTokensTransfersByAddressR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListUnconfirmedTokensTransfersByAddressR(apiVersion string, requestId string, data ListUnconfirmedTokensTransfersByAddressRData) *ListUnconfirmedTokensTransfersByAddressR { + this := ListUnconfirmedTokensTransfersByAddressR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewListUnconfirmedTokensTransfersByAddressRWithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListUnconfirmedTokensTransfersByAddressRWithDefaults() *ListUnconfirmedTokensTransfersByAddressR { + this := ListUnconfirmedTokensTransfersByAddressR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *ListUnconfirmedTokensTransfersByAddressR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *ListUnconfirmedTokensTransfersByAddressR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *ListUnconfirmedTokensTransfersByAddressR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ListUnconfirmedTokensTransfersByAddressR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *ListUnconfirmedTokensTransfersByAddressR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *ListUnconfirmedTokensTransfersByAddressR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *ListUnconfirmedTokensTransfersByAddressR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *ListUnconfirmedTokensTransfersByAddressR) GetData() ListUnconfirmedTokensTransfersByAddressRData { + if o == nil { + var ret ListUnconfirmedTokensTransfersByAddressRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressR) GetDataOk() (*ListUnconfirmedTokensTransfersByAddressRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ListUnconfirmedTokensTransfersByAddressR) SetData(v ListUnconfirmedTokensTransfersByAddressRData) { + o.Data = v +} + +func (o ListUnconfirmedTokensTransfersByAddressR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableListUnconfirmedTokensTransfersByAddressR struct { + value *ListUnconfirmedTokensTransfersByAddressR + isSet bool +} + +func (v NullableListUnconfirmedTokensTransfersByAddressR) Get() *ListUnconfirmedTokensTransfersByAddressR { + return v.value +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressR) Set(val *ListUnconfirmedTokensTransfersByAddressR) { + v.value = val + v.isSet = true +} + +func (v NullableListUnconfirmedTokensTransfersByAddressR) IsSet() bool { + return v.isSet +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListUnconfirmedTokensTransfersByAddressR(val *ListUnconfirmedTokensTransfersByAddressR) *NullableListUnconfirmedTokensTransfersByAddressR { + return &NullableListUnconfirmedTokensTransfersByAddressR{value: val, isSet: true} +} + +func (v NullableListUnconfirmedTokensTransfersByAddressR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_unconfirmed_tokens_transfers_by_address_r_data.go b/model_list_unconfirmed_tokens_transfers_by_address_r_data.go new file mode 100644 index 0000000..ec2931e --- /dev/null +++ b/model_list_unconfirmed_tokens_transfers_by_address_r_data.go @@ -0,0 +1,199 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListUnconfirmedTokensTransfersByAddressRData struct for ListUnconfirmedTokensTransfersByAddressRData +type ListUnconfirmedTokensTransfersByAddressRData struct { + // Defines how many items should be returned in the response per page basis. + Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` + // Defines the total number of items returned in the response. + Total int32 `json:"total"` + Items []ListUnconfirmedTokensTransfersByAddressRI `json:"items"` +} + +// NewListUnconfirmedTokensTransfersByAddressRData instantiates a new ListUnconfirmedTokensTransfersByAddressRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListUnconfirmedTokensTransfersByAddressRData(limit int32, offset int32, total int32, items []ListUnconfirmedTokensTransfersByAddressRI) *ListUnconfirmedTokensTransfersByAddressRData { + this := ListUnconfirmedTokensTransfersByAddressRData{} + this.Limit = limit + this.Offset = offset + this.Total = total + this.Items = items + return &this +} + +// NewListUnconfirmedTokensTransfersByAddressRDataWithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListUnconfirmedTokensTransfersByAddressRDataWithDefaults() *ListUnconfirmedTokensTransfersByAddressRData { + this := ListUnconfirmedTokensTransfersByAddressRData{} + return &this +} + +// GetLimit returns the Limit field value +func (o *ListUnconfirmedTokensTransfersByAddressRData) GetLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Limit, true +} + +// SetLimit sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRData) SetLimit(v int32) { + o.Limit = v +} + +// GetOffset returns the Offset field value +func (o *ListUnconfirmedTokensTransfersByAddressRData) GetOffset() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Offset +} + +// GetOffsetOk returns a tuple with the Offset field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Offset, true +} + +// SetOffset sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRData) SetOffset(v int32) { + o.Offset = v +} + +// GetTotal returns the Total field value +func (o *ListUnconfirmedTokensTransfersByAddressRData) GetTotal() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRData) GetTotalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRData) SetTotal(v int32) { + o.Total = v +} + +// GetItems returns the Items field value +func (o *ListUnconfirmedTokensTransfersByAddressRData) GetItems() []ListUnconfirmedTokensTransfersByAddressRI { + if o == nil { + var ret []ListUnconfirmedTokensTransfersByAddressRI + return ret + } + + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRData) GetItemsOk() ([]ListUnconfirmedTokensTransfersByAddressRI, bool) { + if o == nil { + return nil, false + } + return o.Items, true +} + +// SetItems sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRData) SetItems(v []ListUnconfirmedTokensTransfersByAddressRI) { + o.Items = v +} + +func (o ListUnconfirmedTokensTransfersByAddressRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["limit"] = o.Limit + } + if true { + toSerialize["offset"] = o.Offset + } + if true { + toSerialize["total"] = o.Total + } + if true { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableListUnconfirmedTokensTransfersByAddressRData struct { + value *ListUnconfirmedTokensTransfersByAddressRData + isSet bool +} + +func (v NullableListUnconfirmedTokensTransfersByAddressRData) Get() *ListUnconfirmedTokensTransfersByAddressRData { + return v.value +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressRData) Set(val *ListUnconfirmedTokensTransfersByAddressRData) { + v.value = val + v.isSet = true +} + +func (v NullableListUnconfirmedTokensTransfersByAddressRData) IsSet() bool { + return v.isSet +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListUnconfirmedTokensTransfersByAddressRData(val *ListUnconfirmedTokensTransfersByAddressRData) *NullableListUnconfirmedTokensTransfersByAddressRData { + return &NullableListUnconfirmedTokensTransfersByAddressRData{value: val, isSet: true} +} + +func (v NullableListUnconfirmedTokensTransfersByAddressRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_unconfirmed_tokens_transfers_by_address_ri.go b/model_list_unconfirmed_tokens_transfers_by_address_ri.go new file mode 100644 index 0000000..30f1da9 --- /dev/null +++ b/model_list_unconfirmed_tokens_transfers_by_address_ri.go @@ -0,0 +1,424 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListUnconfirmedTokensTransfersByAddressRI struct for ListUnconfirmedTokensTransfersByAddressRI +type ListUnconfirmedTokensTransfersByAddressRI struct { + // Represents the contract address of the token, which controls its logic. It is not the address that holds the tokens. + ContractAddress string `json:"contractAddress"` + // Defines the address to which the recipient receives the transferred tokens. + RecipientAddress string `json:"recipientAddress"` + // Defines the address from which the sender transfers tokens. + SenderAddress string `json:"senderAddress"` + // Defines the decimals of the token, i.e. the number of digits that come after the decimal coma of the token. + TokenDecimals int32 `json:"tokenDecimals"` + // Represents the unique token identifier. + TokenId *string `json:"tokenId,omitempty"` + // Defines the token's name as a string. + TokenName string `json:"tokenName"` + // Defines the token symbol by which the token contract is known. It is usually 3-4 characters in length. + TokenSymbol string `json:"tokenSymbol"` + // Defines the specific token type. + TokenType string `json:"tokenType"` + // Defines the token amount of the transfer. + TokensAmount *string `json:"tokensAmount,omitempty"` + // Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. + TransactionHash string `json:"transactionHash"` + // Defines the specific time/date when the transaction was created in Unix Timestamp. + TransactionTimestamp int32 `json:"transactionTimestamp"` +} + +// NewListUnconfirmedTokensTransfersByAddressRI instantiates a new ListUnconfirmedTokensTransfersByAddressRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListUnconfirmedTokensTransfersByAddressRI(contractAddress string, recipientAddress string, senderAddress string, tokenDecimals int32, tokenName string, tokenSymbol string, tokenType string, transactionHash string, transactionTimestamp int32) *ListUnconfirmedTokensTransfersByAddressRI { + this := ListUnconfirmedTokensTransfersByAddressRI{} + this.ContractAddress = contractAddress + this.RecipientAddress = recipientAddress + this.SenderAddress = senderAddress + this.TokenDecimals = tokenDecimals + this.TokenName = tokenName + this.TokenSymbol = tokenSymbol + this.TokenType = tokenType + this.TransactionHash = transactionHash + this.TransactionTimestamp = transactionTimestamp + return &this +} + +// NewListUnconfirmedTokensTransfersByAddressRIWithDefaults instantiates a new ListUnconfirmedTokensTransfersByAddressRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListUnconfirmedTokensTransfersByAddressRIWithDefaults() *ListUnconfirmedTokensTransfersByAddressRI { + this := ListUnconfirmedTokensTransfersByAddressRI{} + return &this +} + +// GetContractAddress returns the ContractAddress field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetContractAddress() string { + if o == nil { + var ret string + return ret + } + + return o.ContractAddress +} + +// GetContractAddressOk returns a tuple with the ContractAddress field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetContractAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ContractAddress, true +} + +// SetContractAddress sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetContractAddress(v string) { + o.ContractAddress = v +} + +// GetRecipientAddress returns the RecipientAddress field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetRecipientAddress() string { + if o == nil { + var ret string + return ret + } + + return o.RecipientAddress +} + +// GetRecipientAddressOk returns a tuple with the RecipientAddress field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetRecipientAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RecipientAddress, true +} + +// SetRecipientAddress sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetRecipientAddress(v string) { + o.RecipientAddress = v +} + +// GetSenderAddress returns the SenderAddress field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetSenderAddress() string { + if o == nil { + var ret string + return ret + } + + return o.SenderAddress +} + +// GetSenderAddressOk returns a tuple with the SenderAddress field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetSenderAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SenderAddress, true +} + +// SetSenderAddress sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetSenderAddress(v string) { + o.SenderAddress = v +} + +// GetTokenDecimals returns the TokenDecimals field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenDecimals() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.TokenDecimals +} + +// GetTokenDecimalsOk returns a tuple with the TokenDecimals field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenDecimalsOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.TokenDecimals, true +} + +// SetTokenDecimals sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenDecimals(v int32) { + o.TokenDecimals = v +} + +// GetTokenId returns the TokenId field value if set, zero value otherwise. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenId() string { + if o == nil || o.TokenId == nil { + var ret string + return ret + } + return *o.TokenId +} + +// GetTokenIdOk returns a tuple with the TokenId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenIdOk() (*string, bool) { + if o == nil || o.TokenId == nil { + return nil, false + } + return o.TokenId, true +} + +// HasTokenId returns a boolean if a field has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) HasTokenId() bool { + if o != nil && o.TokenId != nil { + return true + } + + return false +} + +// SetTokenId gets a reference to the given string and assigns it to the TokenId field. +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenId(v string) { + o.TokenId = &v +} + +// GetTokenName returns the TokenName field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenName() string { + if o == nil { + var ret string + return ret + } + + return o.TokenName +} + +// GetTokenNameOk returns a tuple with the TokenName field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenName, true +} + +// SetTokenName sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenName(v string) { + o.TokenName = v +} + +// GetTokenSymbol returns the TokenSymbol field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenSymbol() string { + if o == nil { + var ret string + return ret + } + + return o.TokenSymbol +} + +// GetTokenSymbolOk returns a tuple with the TokenSymbol field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenSymbolOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenSymbol, true +} + +// SetTokenSymbol sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenSymbol(v string) { + o.TokenSymbol = v +} + +// GetTokenType returns the TokenType field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenType() string { + if o == nil { + var ret string + return ret + } + + return o.TokenType +} + +// GetTokenTypeOk returns a tuple with the TokenType field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokenTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TokenType, true +} + +// SetTokenType sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokenType(v string) { + o.TokenType = v +} + +// GetTokensAmount returns the TokensAmount field value if set, zero value otherwise. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokensAmount() string { + if o == nil || o.TokensAmount == nil { + var ret string + return ret + } + return *o.TokensAmount +} + +// GetTokensAmountOk returns a tuple with the TokensAmount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTokensAmountOk() (*string, bool) { + if o == nil || o.TokensAmount == nil { + return nil, false + } + return o.TokensAmount, true +} + +// HasTokensAmount returns a boolean if a field has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) HasTokensAmount() bool { + if o != nil && o.TokensAmount != nil { + return true + } + + return false +} + +// SetTokensAmount gets a reference to the given string and assigns it to the TokensAmount field. +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTokensAmount(v string) { + o.TokensAmount = &v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetTransactionTimestamp returns the TransactionTimestamp field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTransactionTimestamp() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.TransactionTimestamp +} + +// GetTransactionTimestampOk returns a tuple with the TransactionTimestamp field value +// and a boolean to check if the value has been set. +func (o *ListUnconfirmedTokensTransfersByAddressRI) GetTransactionTimestampOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.TransactionTimestamp, true +} + +// SetTransactionTimestamp sets field value +func (o *ListUnconfirmedTokensTransfersByAddressRI) SetTransactionTimestamp(v int32) { + o.TransactionTimestamp = v +} + +func (o ListUnconfirmedTokensTransfersByAddressRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["contractAddress"] = o.ContractAddress + } + if true { + toSerialize["recipientAddress"] = o.RecipientAddress + } + if true { + toSerialize["senderAddress"] = o.SenderAddress + } + if true { + toSerialize["tokenDecimals"] = o.TokenDecimals + } + if o.TokenId != nil { + toSerialize["tokenId"] = o.TokenId + } + if true { + toSerialize["tokenName"] = o.TokenName + } + if true { + toSerialize["tokenSymbol"] = o.TokenSymbol + } + if true { + toSerialize["tokenType"] = o.TokenType + } + if o.TokensAmount != nil { + toSerialize["tokensAmount"] = o.TokensAmount + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["transactionTimestamp"] = o.TransactionTimestamp + } + return json.Marshal(toSerialize) +} + +type NullableListUnconfirmedTokensTransfersByAddressRI struct { + value *ListUnconfirmedTokensTransfersByAddressRI + isSet bool +} + +func (v NullableListUnconfirmedTokensTransfersByAddressRI) Get() *ListUnconfirmedTokensTransfersByAddressRI { + return v.value +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressRI) Set(val *ListUnconfirmedTokensTransfersByAddressRI) { + v.value = val + v.isSet = true +} + +func (v NullableListUnconfirmedTokensTransfersByAddressRI) IsSet() bool { + return v.isSet +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListUnconfirmedTokensTransfersByAddressRI(val *ListUnconfirmedTokensTransfersByAddressRI) *NullableListUnconfirmedTokensTransfersByAddressRI { + return &NullableListUnconfirmedTokensTransfersByAddressRI{value: val, isSet: true} +} + +func (v NullableListUnconfirmedTokensTransfersByAddressRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListUnconfirmedTokensTransfersByAddressRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_unconfirmed_transactions_by_address_e400.go b/model_list_unconfirmed_transactions_by_address_e400.go index 3aac661..5b2462d 100644 --- a/model_list_unconfirmed_transactions_by_address_e400.go +++ b/model_list_unconfirmed_transactions_by_address_e400.go @@ -25,17 +25,23 @@ type ListUnconfirmedTransactionsByAddressE400 struct { // InvalidPaginationAsListUnconfirmedTransactionsByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListUnconfirmedTransactionsByAddressE400 func InvalidPaginationAsListUnconfirmedTransactionsByAddressE400(v *InvalidPagination) ListUnconfirmedTransactionsByAddressE400 { - return ListUnconfirmedTransactionsByAddressE400{ InvalidPagination: v} + return ListUnconfirmedTransactionsByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListUnconfirmedTransactionsByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListUnconfirmedTransactionsByAddressE400 func LimitGreaterThanAllowedAsListUnconfirmedTransactionsByAddressE400(v *LimitGreaterThanAllowed) ListUnconfirmedTransactionsByAddressE400 { - return ListUnconfirmedTransactionsByAddressE400{ LimitGreaterThanAllowed: v} + return ListUnconfirmedTransactionsByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListUnconfirmedTransactionsByAddressE400 is a convenience function that returns UriNotFound wrapped in ListUnconfirmedTransactionsByAddressE400 func UriNotFoundAsListUnconfirmedTransactionsByAddressE400(v *UriNotFound) ListUnconfirmedTransactionsByAddressE400 { - return ListUnconfirmedTransactionsByAddressE400{ UriNotFound: v} + return ListUnconfirmedTransactionsByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE400) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE400) UnmarshalJSON(data []byte) } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE400) UnmarshalJSON(data []byte) } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListUnconfirmedTransactionsByAddressE400) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListUnconfirmedTransactionsByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_unconfirmed_transactions_by_address_e401.go b/model_list_unconfirmed_transactions_by_address_e401.go index e98d975..28e27df 100644 --- a/model_list_unconfirmed_transactions_by_address_e401.go +++ b/model_list_unconfirmed_transactions_by_address_e401.go @@ -24,12 +24,16 @@ type ListUnconfirmedTransactionsByAddressE401 struct { // InvalidApiKeyAsListUnconfirmedTransactionsByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListUnconfirmedTransactionsByAddressE401 func InvalidApiKeyAsListUnconfirmedTransactionsByAddressE401(v *InvalidApiKey) ListUnconfirmedTransactionsByAddressE401 { - return ListUnconfirmedTransactionsByAddressE401{ InvalidApiKey: v} + return ListUnconfirmedTransactionsByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListUnconfirmedTransactionsByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListUnconfirmedTransactionsByAddressE401 func MissingApiKeyAsListUnconfirmedTransactionsByAddressE401(v *MissingApiKey) ListUnconfirmedTransactionsByAddressE401 { - return ListUnconfirmedTransactionsByAddressE401{ MissingApiKey: v} + return ListUnconfirmedTransactionsByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE401) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE401) UnmarshalJSON(data []byte) } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListUnconfirmedTransactionsByAddressE401) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListUnconfirmedTransactionsByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_unconfirmed_transactions_by_address_e403.go b/model_list_unconfirmed_transactions_by_address_e403.go index fe59d37..68e01e5 100644 --- a/model_list_unconfirmed_transactions_by_address_e403.go +++ b/model_list_unconfirmed_transactions_by_address_e403.go @@ -26,22 +26,30 @@ type ListUnconfirmedTransactionsByAddressE403 struct { // BannedIpAddressAsListUnconfirmedTransactionsByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListUnconfirmedTransactionsByAddressE403 func BannedIpAddressAsListUnconfirmedTransactionsByAddressE403(v *BannedIpAddress) ListUnconfirmedTransactionsByAddressE403 { - return ListUnconfirmedTransactionsByAddressE403{ BannedIpAddress: v} + return ListUnconfirmedTransactionsByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListUnconfirmedTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListUnconfirmedTransactionsByAddressE403 func EndpointNotAllowedForApiKeyAsListUnconfirmedTransactionsByAddressE403(v *EndpointNotAllowedForApiKey) ListUnconfirmedTransactionsByAddressE403 { - return ListUnconfirmedTransactionsByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListUnconfirmedTransactionsByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListUnconfirmedTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListUnconfirmedTransactionsByAddressE403 func EndpointNotAllowedForPlanAsListUnconfirmedTransactionsByAddressE403(v *EndpointNotAllowedForPlan) ListUnconfirmedTransactionsByAddressE403 { - return ListUnconfirmedTransactionsByAddressE403{ EndpointNotAllowedForPlan: v} + return ListUnconfirmedTransactionsByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListUnconfirmedTransactionsByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListUnconfirmedTransactionsByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListUnconfirmedTransactionsByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListUnconfirmedTransactionsByAddressE403 { - return ListUnconfirmedTransactionsByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListUnconfirmedTransactionsByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE403) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListUnconfirmedTransactionsByAddressE403) UnmarshalJSON(data []byte) } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListUnconfirmedTransactionsByAddressE403) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListUnconfirmedTransactionsByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_unconfirmed_transactions_by_address_r.go b/model_list_unconfirmed_transactions_by_address_r.go index 03009c9..b0466f0 100644 --- a/model_list_unconfirmed_transactions_by_address_r.go +++ b/model_list_unconfirmed_transactions_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListUnconfirmedTransactionsByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListUnconfirmedTransactionsByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListUnconfirmedTransactionsByAddressR) GetData() ListUnconfirmedTransac // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressR) GetDataOk() (*ListUnconfirmedTransactionsByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_unconfirmed_transactions_by_address_r_data.go b/model_list_unconfirmed_transactions_by_address_r_data.go index a5c38a9..9ba7ff6 100644 --- a/model_list_unconfirmed_transactions_by_address_r_data.go +++ b/model_list_unconfirmed_transactions_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListUnconfirmedTransactionsByAddressRData struct for ListUnconfirmedTransactionsByAddressRData type ListUnconfirmedTransactionsByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListUnconfirmedTransactionsByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListUnconfirmedTransactionsByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListUnconfirmedTransactionsByAddressRI) *ListUnconfirmedTransactionsByAddressRData { +func NewListUnconfirmedTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListUnconfirmedTransactionsByAddressRI) *ListUnconfirmedTransactionsByAddressRData { this := ListUnconfirmedTransactionsByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListUnconfirmedTransactionsByAddressRDataWithDefaults() *ListUnconfirmed return &this } -// GetOffset returns the Offset field value -func (o *ListUnconfirmedTransactionsByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListUnconfirmedTransactionsByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListUnconfirmedTransactionsByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListUnconfirmedTransactionsByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListUnconfirmedTransactionsByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListUnconfirmedTransactionsByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListUnconfirmedTransactionsByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListUnconfirmedTransactionsByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListUnconfirmedTransactionsByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListUnconfirmedTransactionsByAddressRData) GetItems() []ListUnconfirmed // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRData) GetItemsOk() (*[]ListUnconfirmedTransactionsByAddressRI, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRData) GetItemsOk() ([]ListUnconfirmedTransactionsByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListUnconfirmedTransactionsByAddressRData) SetItems(v []ListUnconfirmed func (o ListUnconfirmedTransactionsByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_unconfirmed_transactions_by_address_ri.go b/model_list_unconfirmed_transactions_by_address_ri.go index 66a33da..4589507 100644 --- a/model_list_unconfirmed_transactions_by_address_ri.go +++ b/model_list_unconfirmed_transactions_by_address_ri.go @@ -65,11 +65,11 @@ func (o *ListUnconfirmedTransactionsByAddressRI) GetRecipients() []ListUnconfirm // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRI) GetRecipientsOk() (*[]ListUnconfirmedTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRI) GetRecipientsOk() ([]ListUnconfirmedTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -89,11 +89,11 @@ func (o *ListUnconfirmedTransactionsByAddressRI) GetSenders() []ListUnconfirmedT // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRI) GetSendersOk() (*[]ListUnconfirmedTransactionsByAddressRISenders, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRI) GetSendersOk() ([]ListUnconfirmedTransactionsByAddressRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -114,7 +114,7 @@ func (o *ListUnconfirmedTransactionsByAddressRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -138,7 +138,7 @@ func (o *ListUnconfirmedTransactionsByAddressRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -162,7 +162,7 @@ func (o *ListUnconfirmedTransactionsByAddressRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -186,7 +186,7 @@ func (o *ListUnconfirmedTransactionsByAddressRI) GetBlockchainSpecific() ListUnc // GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRI) GetBlockchainSpecificOk() (*ListUnconfirmedTransactionsByAddressRIBS, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BlockchainSpecific, true diff --git a/model_list_unconfirmed_transactions_by_address_ri_recipients.go b/model_list_unconfirmed_transactions_by_address_ri_recipients.go index 5e7afbf..e91a0ab 100644 --- a/model_list_unconfirmed_transactions_by_address_ri_recipients.go +++ b/model_list_unconfirmed_transactions_by_address_ri_recipients.go @@ -55,7 +55,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_unconfirmed_transactions_by_address_ri_senders.go b/model_list_unconfirmed_transactions_by_address_ri_senders.go index 0bef937..fff8c7e 100644 --- a/model_list_unconfirmed_transactions_by_address_ri_senders.go +++ b/model_list_unconfirmed_transactions_by_address_ri_senders.go @@ -55,7 +55,7 @@ func (o *ListUnconfirmedTransactionsByAddressRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListUnconfirmedTransactionsByAddressRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_unconfirmed_transactions_by_address_ribs.go b/model_list_unconfirmed_transactions_by_address_ribs.go index 62ee806..2637b02 100644 --- a/model_list_unconfirmed_transactions_by_address_ribs.go +++ b/model_list_unconfirmed_transactions_by_address_ribs.go @@ -31,47 +31,65 @@ type ListUnconfirmedTransactionsByAddressRIBS struct { // ListUnconfirmedTransactionsByAddressRIBSBAsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSB wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSBAsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSB) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSB: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSB: v, + } } // ListUnconfirmedTransactionsByAddressRIBSBCAsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSBC wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSBCAsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSBC) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSBC: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSBC: v, + } } // ListUnconfirmedTransactionsByAddressRIBSBSCAsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSBSC wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSBSCAsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSBSC) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSBSC: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSBSC: v, + } } // ListUnconfirmedTransactionsByAddressRIBSDAsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSD wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSDAsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSD) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSD: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSD: v, + } } // ListUnconfirmedTransactionsByAddressRIBSD2AsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSD2 wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSD2AsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSD2) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSD2: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSD2: v, + } } // ListUnconfirmedTransactionsByAddressRIBSEAsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSE wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSEAsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSE) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSE: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSE: v, + } } // ListUnconfirmedTransactionsByAddressRIBSECAsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSEC wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSECAsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSEC) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSEC: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSEC: v, + } } // ListUnconfirmedTransactionsByAddressRIBSLAsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSL wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSLAsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSL) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSL: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSL: v, + } } // ListUnconfirmedTransactionsByAddressRIBSZAsListUnconfirmedTransactionsByAddressRIBS is a convenience function that returns ListUnconfirmedTransactionsByAddressRIBSZ wrapped in ListUnconfirmedTransactionsByAddressRIBS func ListUnconfirmedTransactionsByAddressRIBSZAsListUnconfirmedTransactionsByAddressRIBS(v *ListUnconfirmedTransactionsByAddressRIBSZ) ListUnconfirmedTransactionsByAddressRIBS { - return ListUnconfirmedTransactionsByAddressRIBS{ ListUnconfirmedTransactionsByAddressRIBSZ: v} + return ListUnconfirmedTransactionsByAddressRIBS{ + ListUnconfirmedTransactionsByAddressRIBSZ: v, + } } @@ -80,7 +98,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSB - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSB) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSB) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSB, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSB) if string(jsonListUnconfirmedTransactionsByAddressRIBSB) == "{}" { // empty struct @@ -93,7 +111,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSBC - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSBC) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSBC) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSBC, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSBC) if string(jsonListUnconfirmedTransactionsByAddressRIBSBC) == "{}" { // empty struct @@ -106,7 +124,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSBSC - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSBSC) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSBSC) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSBSC, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSBSC) if string(jsonListUnconfirmedTransactionsByAddressRIBSBSC) == "{}" { // empty struct @@ -119,7 +137,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSD - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSD) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSD) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSD, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSD) if string(jsonListUnconfirmedTransactionsByAddressRIBSD) == "{}" { // empty struct @@ -132,7 +150,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSD2 - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSD2) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSD2) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSD2, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSD2) if string(jsonListUnconfirmedTransactionsByAddressRIBSD2) == "{}" { // empty struct @@ -145,7 +163,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSE - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSE) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSE) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSE, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSE) if string(jsonListUnconfirmedTransactionsByAddressRIBSE) == "{}" { // empty struct @@ -158,7 +176,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSEC - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSEC) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSEC) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSEC, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSEC) if string(jsonListUnconfirmedTransactionsByAddressRIBSEC) == "{}" { // empty struct @@ -171,7 +189,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSL - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSL) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSL) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSL, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSL) if string(jsonListUnconfirmedTransactionsByAddressRIBSL) == "{}" { // empty struct @@ -184,7 +202,7 @@ func (dst *ListUnconfirmedTransactionsByAddressRIBS) UnmarshalJSON(data []byte) } // try to unmarshal data into ListUnconfirmedTransactionsByAddressRIBSZ - err = json.Unmarshal(data, &dst.ListUnconfirmedTransactionsByAddressRIBSZ) + err = newStrictDecoder(data).Decode(&dst.ListUnconfirmedTransactionsByAddressRIBSZ) if err == nil { jsonListUnconfirmedTransactionsByAddressRIBSZ, _ := json.Marshal(dst.ListUnconfirmedTransactionsByAddressRIBSZ) if string(jsonListUnconfirmedTransactionsByAddressRIBSZ) == "{}" { // empty struct @@ -259,6 +277,9 @@ func (src ListUnconfirmedTransactionsByAddressRIBS) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListUnconfirmedTransactionsByAddressRIBS) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.ListUnconfirmedTransactionsByAddressRIBSB != nil { return obj.ListUnconfirmedTransactionsByAddressRIBSB } diff --git a/model_list_unconfirmed_transactions_by_address_ribsb.go b/model_list_unconfirmed_transactions_by_address_ribsb.go index 9c0c513..be2b3f1 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsb.go +++ b/model_list_unconfirmed_transactions_by_address_ribsb.go @@ -18,7 +18,7 @@ import ( // ListUnconfirmedTransactionsByAddressRIBSB Bitcoin type ListUnconfirmedTransactionsByAddressRIBSB struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Defines the transaction's virtual size. @@ -35,7 +35,7 @@ type ListUnconfirmedTransactionsByAddressRIBSB struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedTransactionsByAddressRIBSB(locktime int32, size int32, vSize int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSBVin, vout []ListUnconfirmedTransactionsByAddressRIBSBVout) *ListUnconfirmedTransactionsByAddressRIBSB { +func NewListUnconfirmedTransactionsByAddressRIBSB(locktime int64, size int32, vSize int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSBVin, vout []ListUnconfirmedTransactionsByAddressRIBSBVout) *ListUnconfirmedTransactionsByAddressRIBSB { this := ListUnconfirmedTransactionsByAddressRIBSB{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListUnconfirmedTransactionsByAddressRIBSBWithDefaults() *ListUnconfirmed } // GetLocktime returns the Locktime field value -func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktime() int32 { +func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListUnconfirmedTransactionsByAddressRIBSB) SetLocktime(v int32) { +func (o *ListUnconfirmedTransactionsByAddressRIBSB) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVin() []ListUnconfirmedTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVinOk() (*[]ListUnconfirmedTransactionsByAddressRIBSBVin, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVinOk() ([]ListUnconfirmedTransactionsByAddressRIBSBVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVout() []ListUnconfirmedT // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVoutOk() (*[]ListUnconfirmedTransactionsByAddressRIBSBVout, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSB) GetVoutOk() ([]ListUnconfirmedTransactionsByAddressRIBSBVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_unconfirmed_transactions_by_address_ribsb_script_pub_key.go b/model_list_unconfirmed_transactions_by_address_ribsb_script_pub_key.go index 3dbce6a..492f280 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsb_script_pub_key.go +++ b/model_list_unconfirmed_transactions_by_address_ribsb_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetAddresses() [ // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetAsm() string // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetHex() string // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetReqSigs() int // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetType() string // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsb_script_sig.go b/model_list_unconfirmed_transactions_by_address_ribsb_script_sig.go index 12b92d3..13c51b5 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsb_script_sig.go +++ b/model_list_unconfirmed_transactions_by_address_ribsb_script_sig.go @@ -57,7 +57,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -113,7 +113,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsb_vin.go b/model_list_unconfirmed_transactions_by_address_ribsb_vin.go index ae410d9..900a37b 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsb_vin.go +++ b/model_list_unconfirmed_transactions_by_address_ribsb_vin.go @@ -23,7 +23,7 @@ type ListUnconfirmedTransactionsByAddressRIBSBVin struct { Sequence string `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` - Txinwitness *[]string `json:"txinwitness,omitempty"` + Txinwitness []string `json:"txinwitness,omitempty"` // Represents the sent/received amount. Value *string `json:"value,omitempty"` // Defines the vout of the transaction output, i.e. which output to spend. @@ -62,11 +62,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetScriptSig() ListUnconf // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetScriptSigOk() (*ListUnconfirmedTransactionsByAddressRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -111,7 +111,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -160,12 +160,12 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetTxinwitness() []string var ret []string return ret } - return *o.Txinwitness + return o.Txinwitness } // GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetTxinwitnessOk() (*[]string, bool) { +func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) GetTxinwitnessOk() ([]string, bool) { if o == nil || o.Txinwitness == nil { return nil, false } @@ -183,7 +183,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) HasTxinwitness() bool { // SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. func (o *ListUnconfirmedTransactionsByAddressRIBSBVin) SetTxinwitness(v []string) { - o.Txinwitness = &v + o.Txinwitness = v } // GetValue returns the Value field value if set, zero value otherwise. diff --git a/model_list_unconfirmed_transactions_by_address_ribsb_vout.go b/model_list_unconfirmed_transactions_by_address_ribsb_vout.go index 86f1295..049b178 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsb_vout.go +++ b/model_list_unconfirmed_transactions_by_address_ribsb_vout.go @@ -57,7 +57,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBVout) GetScriptPubKey() ListUn // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBVout) GetScriptPubKeyOk() (*ListUnconfirmedTransactionsByAddressRIBSBScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsbc.go b/model_list_unconfirmed_transactions_by_address_ribsbc.go index 2e54720..093bd33 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsbc.go +++ b/model_list_unconfirmed_transactions_by_address_ribsbc.go @@ -18,7 +18,7 @@ import ( // ListUnconfirmedTransactionsByAddressRIBSBC Bitcoin Cash type ListUnconfirmedTransactionsByAddressRIBSBC struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction's version number. @@ -33,7 +33,7 @@ type ListUnconfirmedTransactionsByAddressRIBSBC struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedTransactionsByAddressRIBSBC(locktime int32, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSBCVin, vout []ListUnconfirmedTransactionsByAddressRIBSBCVout) *ListUnconfirmedTransactionsByAddressRIBSBC { +func NewListUnconfirmedTransactionsByAddressRIBSBC(locktime int64, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSBCVin, vout []ListUnconfirmedTransactionsByAddressRIBSBCVout) *ListUnconfirmedTransactionsByAddressRIBSBC { this := ListUnconfirmedTransactionsByAddressRIBSBC{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListUnconfirmedTransactionsByAddressRIBSBCWithDefaults() *ListUnconfirme } // GetLocktime returns the Locktime field value -func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktime() int32 { +func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListUnconfirmedTransactionsByAddressRIBSBC) SetLocktime(v int32) { +func (o *ListUnconfirmedTransactionsByAddressRIBSBC) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetVin() []ListUnconfirmedT // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetVinOk() (*[]ListUnconfirmedTransactionsByAddressRIBSBCVin, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetVinOk() ([]ListUnconfirmedTransactionsByAddressRIBSBCVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetVout() []ListUnconfirmed // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetVoutOk() (*[]ListUnconfirmedTransactionsByAddressRIBSBCVout, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSBC) GetVoutOk() ([]ListUnconfirmedTransactionsByAddressRIBSBCVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_unconfirmed_transactions_by_address_ribsbc_script_pub_key.go b/model_list_unconfirmed_transactions_by_address_ribsbc_script_pub_key.go index 0953ff6..9e9c9ec 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsbc_script_pub_key.go +++ b/model_list_unconfirmed_transactions_by_address_ribsbc_script_pub_key.go @@ -62,11 +62,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetAddresses() // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -87,7 +87,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetAsm() string // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -111,7 +111,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetHex() string // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -135,7 +135,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetReqSigs() in // GetReqSigsOk returns a tuple with the ReqSigs field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetReqSigsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReqSigs, true @@ -159,7 +159,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetType() strin // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsbc_vin.go b/model_list_unconfirmed_transactions_by_address_ribsbc_vin.go index 1ea73a7..9944143 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsbc_vin.go +++ b/model_list_unconfirmed_transactions_by_address_ribsbc_vin.go @@ -66,11 +66,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -91,7 +91,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetScriptSig() GetTransa // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -115,7 +115,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -139,7 +139,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -162,11 +162,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetTxinwitness() []strin // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -187,7 +187,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true @@ -211,7 +211,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCVin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsbc_vout.go b/model_list_unconfirmed_transactions_by_address_ribsbc_vout.go index ae89acc..b020ca7 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsbc_vout.go +++ b/model_list_unconfirmed_transactions_by_address_ribsbc_vout.go @@ -57,7 +57,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVout) GetScriptPubKey() ListU // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCVout) GetScriptPubKeyOk() (*ListUnconfirmedTransactionsByAddressRIBSBCScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBCVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBCVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsbsc.go b/model_list_unconfirmed_transactions_by_address_ribsbsc.go index d2797c6..3b8d9d2 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsbsc.go +++ b/model_list_unconfirmed_transactions_by_address_ribsbsc.go @@ -63,7 +63,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -87,7 +87,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetGasPrice() ListConfirme // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSBSCGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -111,7 +111,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -135,7 +135,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -159,7 +159,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetTransactionStatus() str // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSBSC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsd.go b/model_list_unconfirmed_transactions_by_address_ribsd.go index 61536de..fc6ca4f 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsd.go +++ b/model_list_unconfirmed_transactions_by_address_ribsd.go @@ -18,7 +18,7 @@ import ( // ListUnconfirmedTransactionsByAddressRIBSD Dogecoin type ListUnconfirmedTransactionsByAddressRIBSD struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Numeric representation of the transaction version @@ -33,7 +33,7 @@ type ListUnconfirmedTransactionsByAddressRIBSD struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedTransactionsByAddressRIBSD(locktime int32, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *ListUnconfirmedTransactionsByAddressRIBSD { +func NewListUnconfirmedTransactionsByAddressRIBSD(locktime int64, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSDVin, vout []GetTransactionDetailsByTransactionIDRIBSDVout) *ListUnconfirmedTransactionsByAddressRIBSD { this := ListUnconfirmedTransactionsByAddressRIBSD{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListUnconfirmedTransactionsByAddressRIBSDWithDefaults() *ListUnconfirmed } // GetLocktime returns the Locktime field value -func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktime() int32 { +func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListUnconfirmedTransactionsByAddressRIBSD) SetLocktime(v int32) { +func (o *ListUnconfirmedTransactionsByAddressRIBSD) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetVin() []ListUnconfirmedTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetVinOk() (*[]ListUnconfirmedTransactionsByAddressRIBSDVin, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetVinOk() ([]ListUnconfirmedTransactionsByAddressRIBSDVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetVout() []GetTransactionDe // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSD) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSDVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_unconfirmed_transactions_by_address_ribsd2.go b/model_list_unconfirmed_transactions_by_address_ribsd2.go index 51448db..1b9403c 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsd2.go +++ b/model_list_unconfirmed_transactions_by_address_ribsd2.go @@ -18,7 +18,7 @@ import ( // ListUnconfirmedTransactionsByAddressRIBSD2 Dash type ListUnconfirmedTransactionsByAddressRIBSD2 struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the transaction's version number. @@ -33,7 +33,7 @@ type ListUnconfirmedTransactionsByAddressRIBSD2 struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedTransactionsByAddressRIBSD2(locktime int32, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSD2Vin, vout []ListUnconfirmedTransactionsByAddressRIBSD2Vout) *ListUnconfirmedTransactionsByAddressRIBSD2 { +func NewListUnconfirmedTransactionsByAddressRIBSD2(locktime int64, size int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSD2Vin, vout []ListUnconfirmedTransactionsByAddressRIBSD2Vout) *ListUnconfirmedTransactionsByAddressRIBSD2 { this := ListUnconfirmedTransactionsByAddressRIBSD2{} this.Locktime = locktime this.Size = size @@ -52,9 +52,9 @@ func NewListUnconfirmedTransactionsByAddressRIBSD2WithDefaults() *ListUnconfirme } // GetLocktime returns the Locktime field value -func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktime() int32 { +func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -63,15 +63,15 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListUnconfirmedTransactionsByAddressRIBSD2) SetLocktime(v int32) { +func (o *ListUnconfirmedTransactionsByAddressRIBSD2) SetLocktime(v int64) { o.Locktime = v } @@ -88,7 +88,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -112,7 +112,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -135,11 +135,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetVin() []ListUnconfirmedT // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetVinOk() (*[]ListUnconfirmedTransactionsByAddressRIBSD2Vin, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetVinOk() ([]ListUnconfirmedTransactionsByAddressRIBSD2Vin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -159,11 +159,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetVout() []ListUnconfirmed // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetVoutOk() (*[]ListUnconfirmedTransactionsByAddressRIBSD2Vout, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSD2) GetVoutOk() ([]ListUnconfirmedTransactionsByAddressRIBSD2Vout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_unconfirmed_transactions_by_address_ribsd2_vin.go b/model_list_unconfirmed_transactions_by_address_ribsd2_vin.go index b6adb49..dab2386 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsd2_vin.go +++ b/model_list_unconfirmed_transactions_by_address_ribsd2_vin.go @@ -65,11 +65,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetAddresses() []string // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -90,7 +90,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetScriptSig() ListConfi // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetScriptSigOk() (*ListConfirmedTransactionsByAddressRIBSD2ScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -114,7 +114,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -138,7 +138,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -161,11 +161,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetTxinwitness() []strin // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -218,7 +218,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetVout() int32 { // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vin) GetVoutOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Vout, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsd2_vout.go b/model_list_unconfirmed_transactions_by_address_ribsd2_vout.go index d745e8f..95a48f0 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsd2_vout.go +++ b/model_list_unconfirmed_transactions_by_address_ribsd2_vout.go @@ -57,7 +57,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vout) GetScriptPubKey() ListC // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vout) GetScriptPubKeyOk() (*ListConfirmedTransactionsByAddressRIBSD2ScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSD2Vout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsd_vin.go b/model_list_unconfirmed_transactions_by_address_ribsd_vin.go index dfec47c..7089cbf 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsd_vin.go +++ b/model_list_unconfirmed_transactions_by_address_ribsd_vin.go @@ -20,7 +20,7 @@ type ListUnconfirmedTransactionsByAddressRIBSDVin struct { Addresses []string `json:"addresses"` ScriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig `json:"scriptSig"` // Represents the script sequence number. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Represents the reference transaction identifier. Txid *string `json:"txid,omitempty"` Txinwitness []string `json:"txinwitness"` @@ -34,7 +34,7 @@ type ListUnconfirmedTransactionsByAddressRIBSDVin struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedTransactionsByAddressRIBSDVin(addresses []string, scriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig, sequence int32, txinwitness []string, value string) *ListUnconfirmedTransactionsByAddressRIBSDVin { +func NewListUnconfirmedTransactionsByAddressRIBSDVin(addresses []string, scriptSig ListConfirmedTransactionsByAddressRIBSDScriptSig, sequence int64, txinwitness []string, value string) *ListUnconfirmedTransactionsByAddressRIBSDVin { this := ListUnconfirmedTransactionsByAddressRIBSDVin{} this.Addresses = addresses this.ScriptSig = scriptSig @@ -64,11 +64,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -89,7 +89,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetScriptSig() ListConfir // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetScriptSigOk() (*ListConfirmedTransactionsByAddressRIBSDScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -101,9 +101,9 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) SetScriptSig(v ListConfir } // GetSequence returns the Sequence field value -func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequence() int32 { +func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -112,15 +112,15 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) SetSequence(v int32) { +func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) SetSequence(v int64) { o.Sequence = v } @@ -168,11 +168,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetTxinwitness() []string // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -193,7 +193,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSDVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_unconfirmed_transactions_by_address_ribse.go b/model_list_unconfirmed_transactions_by_address_ribse.go index 9cb8d29..0cd56da 100644 --- a/model_list_unconfirmed_transactions_by_address_ribse.go +++ b/model_list_unconfirmed_transactions_by_address_ribse.go @@ -65,7 +65,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetFee() ListUnconfirmedTran // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetFeeOk() (*ListUnconfirmedTransactionsByAddressRIBSEFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -89,7 +89,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -113,7 +113,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetGasPrice() ListConfirmedT // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetGasPriceOk() (*ListConfirmedTransactionsByAddressRIBSEGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -137,7 +137,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetInputData() string { // GetInputDataOk returns a tuple with the InputData field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetInputDataOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.InputData, true @@ -161,7 +161,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -185,7 +185,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetTransactionStatus() strin // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSE) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_unconfirmed_transactions_by_address_ribse_fee.go b/model_list_unconfirmed_transactions_by_address_ribse_fee.go index fa45c95..642abc3 100644 --- a/model_list_unconfirmed_transactions_by_address_ribse_fee.go +++ b/model_list_unconfirmed_transactions_by_address_ribse_fee.go @@ -54,7 +54,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSEFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSEFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -78,7 +78,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSEFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSEFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsec.go b/model_list_unconfirmed_transactions_by_address_ribsec.go index ccb4908..8555dfc 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsec.go +++ b/model_list_unconfirmed_transactions_by_address_ribsec.go @@ -62,7 +62,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetFee() ListUnconfirmedTra // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetFeeOk() (*ListUnconfirmedTransactionsByAddressRIBSECFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -86,7 +86,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetGasLimit() string { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetGasLimitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -110,7 +110,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetGasPrice() ListUnconfirm // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetGasPriceOk() (*ListUnconfirmedTransactionsByAddressRIBSECGasPrice, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -134,7 +134,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -158,7 +158,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetTransactionStatus() stri // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSEC) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsec_fee.go b/model_list_unconfirmed_transactions_by_address_ribsec_fee.go index a6b509b..9a1ccee 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsec_fee.go +++ b/model_list_unconfirmed_transactions_by_address_ribsec_fee.go @@ -54,7 +54,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSECFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSECFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -78,7 +78,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSECFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSECFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsec_gas_price.go b/model_list_unconfirmed_transactions_by_address_ribsec_gas_price.go index 3ad2e48..9e2508e 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsec_gas_price.go +++ b/model_list_unconfirmed_transactions_by_address_ribsec_gas_price.go @@ -55,7 +55,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSECGasPrice) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSECGasPrice) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSECGasPrice) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSECGasPrice) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsl.go b/model_list_unconfirmed_transactions_by_address_ribsl.go index 4d33203..96cc802 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsl.go +++ b/model_list_unconfirmed_transactions_by_address_ribsl.go @@ -18,7 +18,7 @@ import ( // ListUnconfirmedTransactionsByAddressRIBSL Litecoin type ListUnconfirmedTransactionsByAddressRIBSL struct { // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // Represents the total size of this transaction. Size int32 `json:"size"` // Represents the virtual size of this transaction. @@ -35,7 +35,7 @@ type ListUnconfirmedTransactionsByAddressRIBSL struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedTransactionsByAddressRIBSL(locktime int32, size int32, vSize int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSLVin, vout []ListUnconfirmedTransactionsByAddressRIBSLVout) *ListUnconfirmedTransactionsByAddressRIBSL { +func NewListUnconfirmedTransactionsByAddressRIBSL(locktime int64, size int32, vSize int32, version int32, vin []ListUnconfirmedTransactionsByAddressRIBSLVin, vout []ListUnconfirmedTransactionsByAddressRIBSLVout) *ListUnconfirmedTransactionsByAddressRIBSL { this := ListUnconfirmedTransactionsByAddressRIBSL{} this.Locktime = locktime this.Size = size @@ -55,9 +55,9 @@ func NewListUnconfirmedTransactionsByAddressRIBSLWithDefaults() *ListUnconfirmed } // GetLocktime returns the Locktime field value -func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktime() int32 { +func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -66,15 +66,15 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListUnconfirmedTransactionsByAddressRIBSL) SetLocktime(v int32) { +func (o *ListUnconfirmedTransactionsByAddressRIBSL) SetLocktime(v int64) { o.Locktime = v } @@ -91,7 +91,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -115,7 +115,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVSize() int32 { // GetVSizeOk returns a tuple with the VSize field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VSize, true @@ -139,7 +139,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -162,11 +162,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVin() []ListUnconfirmedTr // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVinOk() (*[]ListUnconfirmedTransactionsByAddressRIBSLVin, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVinOk() ([]ListUnconfirmedTransactionsByAddressRIBSLVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -186,11 +186,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVout() []ListUnconfirmedT // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVoutOk() (*[]ListUnconfirmedTransactionsByAddressRIBSLVout, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSL) GetVoutOk() ([]ListUnconfirmedTransactionsByAddressRIBSLVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_unconfirmed_transactions_by_address_ribsl_script_sig.go b/model_list_unconfirmed_transactions_by_address_ribsl_script_sig.go index 7a8f5f6..92d0839 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsl_script_sig.go +++ b/model_list_unconfirmed_transactions_by_address_ribsl_script_sig.go @@ -58,7 +58,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLScriptSig) GetAsm() string { // GetAsmOk returns a tuple with the Asm field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLScriptSig) GetAsmOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Asm, true @@ -82,7 +82,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLScriptSig) GetHex() string { // GetHexOk returns a tuple with the Hex field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLScriptSig) GetHexOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hex, true @@ -106,7 +106,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLScriptSig) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLScriptSig) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsl_vin.go b/model_list_unconfirmed_transactions_by_address_ribsl_vin.go index 5e8861e..4af3778 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsl_vin.go +++ b/model_list_unconfirmed_transactions_by_address_ribsl_vin.go @@ -65,11 +65,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetAddresses() []string { // GetAddressesOk returns a tuple with the Addresses field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetAddressesOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetAddressesOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Addresses, true + return o.Addresses, true } // SetAddresses sets field value @@ -90,7 +90,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetScriptSig() ListUnconf // GetScriptSigOk returns a tuple with the ScriptSig field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetScriptSigOk() (*ListUnconfirmedTransactionsByAddressRIBSLScriptSig, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptSig, true @@ -114,7 +114,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetSequence() string { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetSequenceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sequence, true @@ -138,7 +138,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetTxid() string { // GetTxidOk returns a tuple with the Txid field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetTxidOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Txid, true @@ -161,11 +161,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetTxinwitness() []string // GetTxinwitnessOk returns a tuple with the Txinwitness field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetTxinwitnessOk() ([]string, bool) { + if o == nil { return nil, false } - return &o.Txinwitness, true + return o.Txinwitness, true } // SetTxinwitness sets field value @@ -186,7 +186,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLVin) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsl_vout.go b/model_list_unconfirmed_transactions_by_address_ribsl_vout.go index 086aed0..6a37ef4 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsl_vout.go +++ b/model_list_unconfirmed_transactions_by_address_ribsl_vout.go @@ -57,7 +57,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVout) GetIsSpent() bool { // GetIsSpentOk returns a tuple with the IsSpent field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLVout) GetIsSpentOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsSpent, true @@ -81,7 +81,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVout) GetScriptPubKey() GetTra // GetScriptPubKeyOk returns a tuple with the ScriptPubKey field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLVout) GetScriptPubKeyOk() (*GetTransactionDetailsByTransactionIDRIBSLScriptPubKey, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ScriptPubKey, true @@ -105,7 +105,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSLVout) GetValue() string { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSLVout) GetValueOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_unconfirmed_transactions_by_address_ribsz.go b/model_list_unconfirmed_transactions_by_address_ribsz.go index 100505e..db851ef 100644 --- a/model_list_unconfirmed_transactions_by_address_ribsz.go +++ b/model_list_unconfirmed_transactions_by_address_ribsz.go @@ -26,7 +26,7 @@ type ListUnconfirmedTransactionsByAddressRIBSZ struct { // Is used to sign transactions that contain at least one JoinSplit description. JoinSplitSig string `json:"joinSplitSig"` // Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid. - Locktime int32 `json:"locktime"` + Locktime int64 `json:"locktime"` // \"Overwinter\" is the network upgrade for the Zcash blockchain. Overwintered bool `json:"overwintered"` // Represents the total size of this transaction. @@ -53,7 +53,7 @@ type ListUnconfirmedTransactionsByAddressRIBSZ struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnconfirmedTransactionsByAddressRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int32, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListUnconfirmedTransactionsByAddressRIBSZ { +func NewListUnconfirmedTransactionsByAddressRIBSZ(bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, locktime int64, overwintered bool, size int32, vJoinSplit []ListConfirmedTransactionsByAddressRIBSZVJoinSplit, vShieldedOutput []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, vShieldedSpend []GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, valueBalance string, version int32, versionGroupId string, vin []GetTransactionDetailsByTransactionIDRIBSZVin, vout []GetTransactionDetailsByTransactionIDRIBSZVout) *ListUnconfirmedTransactionsByAddressRIBSZ { this := ListUnconfirmedTransactionsByAddressRIBSZ{} this.BindingSig = bindingSig this.ExpiryHeight = expiryHeight @@ -94,7 +94,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetBindingSig() string { // GetBindingSigOk returns a tuple with the BindingSig field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetBindingSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.BindingSig, true @@ -118,7 +118,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetExpiryHeight() int32 { // GetExpiryHeightOk returns a tuple with the ExpiryHeight field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetExpiryHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExpiryHeight, true @@ -142,7 +142,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetJoinSplitPubKey() string // GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitPubKey, true @@ -166,7 +166,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetJoinSplitSig() string { // GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetJoinSplitSigOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.JoinSplitSig, true @@ -178,9 +178,9 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) SetJoinSplitSig(v string) { } // GetLocktime returns the Locktime field value -func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktime() int32 { +func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktime() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -189,15 +189,15 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktime() int32 { // GetLocktimeOk returns a tuple with the Locktime field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktimeOk() (*int32, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetLocktimeOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Locktime, true } // SetLocktime sets field value -func (o *ListUnconfirmedTransactionsByAddressRIBSZ) SetLocktime(v int32) { +func (o *ListUnconfirmedTransactionsByAddressRIBSZ) SetLocktime(v int64) { o.Locktime = v } @@ -214,7 +214,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetOverwintered() bool { // GetOverwinteredOk returns a tuple with the Overwintered field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetOverwinteredOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Overwintered, true @@ -238,7 +238,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetSizeOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Size, true @@ -261,11 +261,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVJoinSplit() []ListConfir // GetVJoinSplitOk returns a tuple with the VJoinSplit field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVJoinSplitOk() (*[]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVJoinSplitOk() ([]ListConfirmedTransactionsByAddressRIBSZVJoinSplit, bool) { + if o == nil { return nil, false } - return &o.VJoinSplit, true + return o.VJoinSplit, true } // SetVJoinSplit sets field value @@ -285,11 +285,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVShieldedOutput() []GetTr // GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVShieldedOutputOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { + if o == nil { return nil, false } - return &o.VShieldedOutput, true + return o.VShieldedOutput, true } // SetVShieldedOutput sets field value @@ -309,11 +309,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVShieldedSpend() []GetTra // GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVShieldedSpendOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVShieldedSpendOk() ([]GetTransactionDetailsByTransactionIDRIBSZVShieldedSpend, bool) { + if o == nil { return nil, false } - return &o.VShieldedSpend, true + return o.VShieldedSpend, true } // SetVShieldedSpend sets field value @@ -334,7 +334,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetValueBalance() string { // GetValueBalanceOk returns a tuple with the ValueBalance field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetValueBalanceOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ValueBalance, true @@ -358,7 +358,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVersion() int32 { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVersionOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Version, true @@ -382,7 +382,7 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVersionGroupId() string { // GetVersionGroupIdOk returns a tuple with the VersionGroupId field value // and a boolean to check if the value has been set. func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVersionGroupIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.VersionGroupId, true @@ -405,11 +405,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVin() []GetTransactionDet // GetVinOk returns a tuple with the Vin field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVinOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVin, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVinOk() ([]GetTransactionDetailsByTransactionIDRIBSZVin, bool) { + if o == nil { return nil, false } - return &o.Vin, true + return o.Vin, true } // SetVin sets field value @@ -429,11 +429,11 @@ func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVout() []GetTransactionDe // GetVoutOk returns a tuple with the Vout field value // and a boolean to check if the value has been set. -func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVoutOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { - if o == nil { +func (o *ListUnconfirmedTransactionsByAddressRIBSZ) GetVoutOk() ([]GetTransactionDetailsByTransactionIDRIBSZVout, bool) { + if o == nil { return nil, false } - return &o.Vout, true + return o.Vout, true } // SetVout sets field value diff --git a/model_list_unspent_transaction_outputs_by_address_e400.go b/model_list_unspent_transaction_outputs_by_address_e400.go index 0ec6295..93c668d 100644 --- a/model_list_unspent_transaction_outputs_by_address_e400.go +++ b/model_list_unspent_transaction_outputs_by_address_e400.go @@ -25,17 +25,23 @@ type ListUnspentTransactionOutputsByAddressE400 struct { // InvalidPaginationAsListUnspentTransactionOutputsByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListUnspentTransactionOutputsByAddressE400 func InvalidPaginationAsListUnspentTransactionOutputsByAddressE400(v *InvalidPagination) ListUnspentTransactionOutputsByAddressE400 { - return ListUnspentTransactionOutputsByAddressE400{ InvalidPagination: v} + return ListUnspentTransactionOutputsByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListUnspentTransactionOutputsByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListUnspentTransactionOutputsByAddressE400 func LimitGreaterThanAllowedAsListUnspentTransactionOutputsByAddressE400(v *LimitGreaterThanAllowed) ListUnspentTransactionOutputsByAddressE400 { - return ListUnspentTransactionOutputsByAddressE400{ LimitGreaterThanAllowed: v} + return ListUnspentTransactionOutputsByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListUnspentTransactionOutputsByAddressE400 is a convenience function that returns UriNotFound wrapped in ListUnspentTransactionOutputsByAddressE400 func UriNotFoundAsListUnspentTransactionOutputsByAddressE400(v *UriNotFound) ListUnspentTransactionOutputsByAddressE400 { - return ListUnspentTransactionOutputsByAddressE400{ UriNotFound: v} + return ListUnspentTransactionOutputsByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE400) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE400) UnmarshalJSON(data []byte } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE400) UnmarshalJSON(data []byte } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListUnspentTransactionOutputsByAddressE400) MarshalJSON() ([]byte, err // Get the actual instance func (obj *ListUnspentTransactionOutputsByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_unspent_transaction_outputs_by_address_e401.go b/model_list_unspent_transaction_outputs_by_address_e401.go index 877277b..fcc472a 100644 --- a/model_list_unspent_transaction_outputs_by_address_e401.go +++ b/model_list_unspent_transaction_outputs_by_address_e401.go @@ -24,12 +24,16 @@ type ListUnspentTransactionOutputsByAddressE401 struct { // InvalidApiKeyAsListUnspentTransactionOutputsByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListUnspentTransactionOutputsByAddressE401 func InvalidApiKeyAsListUnspentTransactionOutputsByAddressE401(v *InvalidApiKey) ListUnspentTransactionOutputsByAddressE401 { - return ListUnspentTransactionOutputsByAddressE401{ InvalidApiKey: v} + return ListUnspentTransactionOutputsByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListUnspentTransactionOutputsByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListUnspentTransactionOutputsByAddressE401 func MissingApiKeyAsListUnspentTransactionOutputsByAddressE401(v *MissingApiKey) ListUnspentTransactionOutputsByAddressE401 { - return ListUnspentTransactionOutputsByAddressE401{ MissingApiKey: v} + return ListUnspentTransactionOutputsByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE401) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE401) UnmarshalJSON(data []byte } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListUnspentTransactionOutputsByAddressE401) MarshalJSON() ([]byte, err // Get the actual instance func (obj *ListUnspentTransactionOutputsByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_unspent_transaction_outputs_by_address_e403.go b/model_list_unspent_transaction_outputs_by_address_e403.go index 99be9d4..8aa777e 100644 --- a/model_list_unspent_transaction_outputs_by_address_e403.go +++ b/model_list_unspent_transaction_outputs_by_address_e403.go @@ -26,22 +26,30 @@ type ListUnspentTransactionOutputsByAddressE403 struct { // BannedIpAddressAsListUnspentTransactionOutputsByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListUnspentTransactionOutputsByAddressE403 func BannedIpAddressAsListUnspentTransactionOutputsByAddressE403(v *BannedIpAddress) ListUnspentTransactionOutputsByAddressE403 { - return ListUnspentTransactionOutputsByAddressE403{ BannedIpAddress: v} + return ListUnspentTransactionOutputsByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListUnspentTransactionOutputsByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListUnspentTransactionOutputsByAddressE403 func EndpointNotAllowedForApiKeyAsListUnspentTransactionOutputsByAddressE403(v *EndpointNotAllowedForApiKey) ListUnspentTransactionOutputsByAddressE403 { - return ListUnspentTransactionOutputsByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListUnspentTransactionOutputsByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListUnspentTransactionOutputsByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListUnspentTransactionOutputsByAddressE403 func EndpointNotAllowedForPlanAsListUnspentTransactionOutputsByAddressE403(v *EndpointNotAllowedForPlan) ListUnspentTransactionOutputsByAddressE403 { - return ListUnspentTransactionOutputsByAddressE403{ EndpointNotAllowedForPlan: v} + return ListUnspentTransactionOutputsByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListUnspentTransactionOutputsByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListUnspentTransactionOutputsByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListUnspentTransactionOutputsByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListUnspentTransactionOutputsByAddressE403 { - return ListUnspentTransactionOutputsByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListUnspentTransactionOutputsByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE403) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE403) UnmarshalJSON(data []byte } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE403) UnmarshalJSON(data []byte } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListUnspentTransactionOutputsByAddressE403) UnmarshalJSON(data []byte } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListUnspentTransactionOutputsByAddressE403) MarshalJSON() ([]byte, err // Get the actual instance func (obj *ListUnspentTransactionOutputsByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_unspent_transaction_outputs_by_address_r.go b/model_list_unspent_transaction_outputs_by_address_r.go index 2bd32cd..d822c74 100644 --- a/model_list_unspent_transaction_outputs_by_address_r.go +++ b/model_list_unspent_transaction_outputs_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListUnspentTransactionOutputsByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListUnspentTransactionOutputsByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListUnspentTransactionOutputsByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListUnspentTransactionOutputsByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListUnspentTransactionOutputsByAddressR) GetData() ListUnspentTransacti // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListUnspentTransactionOutputsByAddressR) GetDataOk() (*ListUnspentTransactionOutputsByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_unspent_transaction_outputs_by_address_r_data.go b/model_list_unspent_transaction_outputs_by_address_r_data.go index 64794ef..2b0a235 100644 --- a/model_list_unspent_transaction_outputs_by_address_r_data.go +++ b/model_list_unspent_transaction_outputs_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListUnspentTransactionOutputsByAddressRData struct for ListUnspentTransactionOutputsByAddressRData type ListUnspentTransactionOutputsByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListUnspentTransactionOutputsByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListUnspentTransactionOutputsByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnspentTransactionOutputsByAddressRData(offset int32, limit int32, total int32, items []ListUnspentTransactionOutputsByAddressRI) *ListUnspentTransactionOutputsByAddressRData { +func NewListUnspentTransactionOutputsByAddressRData(limit int32, offset int32, total int32, items []ListUnspentTransactionOutputsByAddressRI) *ListUnspentTransactionOutputsByAddressRData { this := ListUnspentTransactionOutputsByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListUnspentTransactionOutputsByAddressRDataWithDefaults() *ListUnspentTr return &this } -// GetOffset returns the Offset field value -func (o *ListUnspentTransactionOutputsByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListUnspentTransactionOutputsByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListUnspentTransactionOutputsByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListUnspentTransactionOutputsByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListUnspentTransactionOutputsByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListUnspentTransactionOutputsByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListUnspentTransactionOutputsByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListUnspentTransactionOutputsByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListUnspentTransactionOutputsByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListUnspentTransactionOutputsByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListUnspentTransactionOutputsByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListUnspentTransactionOutputsByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListUnspentTransactionOutputsByAddressRData) GetItems() []ListUnspentTr // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRData) GetItemsOk() (*[]ListUnspentTransactionOutputsByAddressRI, bool) { - if o == nil { +func (o *ListUnspentTransactionOutputsByAddressRData) GetItemsOk() ([]ListUnspentTransactionOutputsByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListUnspentTransactionOutputsByAddressRData) SetItems(v []ListUnspentTr func (o ListUnspentTransactionOutputsByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_unspent_transaction_outputs_by_address_ri.go b/model_list_unspent_transaction_outputs_by_address_ri.go index ac2f2cd..36b9f20 100644 --- a/model_list_unspent_transaction_outputs_by_address_ri.go +++ b/model_list_unspent_transaction_outputs_by_address_ri.go @@ -17,57 +17,32 @@ import ( // ListUnspentTransactionOutputsByAddressRI struct for ListUnspentTransactionOutputsByAddressRI type ListUnspentTransactionOutputsByAddressRI struct { + // Represents the address that has unspend funds per which the result is returned. + Address string `json:"address"` + // Represents the sent/received amount. + Amount string `json:"amount"` // Represents the index position of the transaction in the block. Index int32 `json:"index"` - // Represents the time at which a particular transaction can be added to the blockchain - Locktime int32 `json:"locktime"` - // Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. - MinedInBlockHash string `json:"minedInBlockHash"` - // Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. - MinedInBlockHeight int32 `json:"minedInBlockHeight"` - // Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. - Recipients []GetTransactionDetailsByTransactionIDRIRecipients `json:"recipients"` - // Object Array representation of transaction senders - Senders []ListUnspentTransactionOutputsByAddressRISenders `json:"senders"` - // Represents the total size of this transaction - Size int32 `json:"size"` + // Represents the state of the transaction whether it is confirmed or not confirmed. + IsConfirmed bool `json:"isConfirmed"` // Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. Timestamp int32 `json:"timestamp"` - // Represents the same as `transactionId` for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols `hash` is different from `transactionId` for SegWit transactions. - TransactionHash string `json:"transactionHash"` // Represents the unique identifier of a transaction, i.e. it could be `transactionId` in UTXO-based protocols like Bitcoin, and transaction `hash` in Ethereum blockchain. TransactionId string `json:"transactionId"` - // Represents the transaction version number. - Version int32 `json:"version"` - // Represents the transaction inputs. - Vin []ListUnspentTransactionOutputsByAddressRIVin `json:"vin"` - // Represents the transaction outputs. - Vout []ListConfirmedTransactionsByAddressRIBSBVout `json:"vout"` - Fee ListUnspentTransactionOutputsByAddressRIFee `json:"fee"` - BlockchainSpecific ListUnspentTransactionOutputsByAddressRIBlockchainSpecific `json:"blockchainSpecific"` } // NewListUnspentTransactionOutputsByAddressRI instantiates a new ListUnspentTransactionOutputsByAddressRI object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListUnspentTransactionOutputsByAddressRI(index int32, locktime int32, minedInBlockHash string, minedInBlockHeight int32, recipients []GetTransactionDetailsByTransactionIDRIRecipients, senders []ListUnspentTransactionOutputsByAddressRISenders, size int32, timestamp int32, transactionHash string, transactionId string, version int32, vin []ListUnspentTransactionOutputsByAddressRIVin, vout []ListConfirmedTransactionsByAddressRIBSBVout, fee ListUnspentTransactionOutputsByAddressRIFee, blockchainSpecific ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) *ListUnspentTransactionOutputsByAddressRI { +func NewListUnspentTransactionOutputsByAddressRI(address string, amount string, index int32, isConfirmed bool, timestamp int32, transactionId string) *ListUnspentTransactionOutputsByAddressRI { this := ListUnspentTransactionOutputsByAddressRI{} + this.Address = address + this.Amount = amount this.Index = index - this.Locktime = locktime - this.MinedInBlockHash = minedInBlockHash - this.MinedInBlockHeight = minedInBlockHeight - this.Recipients = recipients - this.Senders = senders - this.Size = size + this.IsConfirmed = isConfirmed this.Timestamp = timestamp - this.TransactionHash = transactionHash this.TransactionId = transactionId - this.Version = version - this.Vin = vin - this.Vout = vout - this.Fee = fee - this.BlockchainSpecific = blockchainSpecific return &this } @@ -79,172 +54,100 @@ func NewListUnspentTransactionOutputsByAddressRIWithDefaults() *ListUnspentTrans return &this } -// GetIndex returns the Index field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetIndex() int32 { +// GetAddress returns the Address field value +func (o *ListUnspentTransactionOutputsByAddressRI) GetAddress() string { if o == nil { - var ret int32 + var ret string return ret } - return o.Index + return o.Address } -// GetIndexOk returns a tuple with the Index field value +// GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetIndexOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.Index, true -} - -// SetIndex sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetIndex(v int32) { - o.Index = v -} - -// GetLocktime returns the Locktime field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetLocktime() int32 { +func (o *ListUnspentTransactionOutputsByAddressRI) GetAddressOk() (*string, bool) { if o == nil { - var ret int32 - return ret - } - - return o.Locktime -} - -// GetLocktimeOk returns a tuple with the Locktime field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetLocktimeOk() (*int32, bool) { - if o == nil { return nil, false } - return &o.Locktime, true + return &o.Address, true } -// SetLocktime sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetLocktime(v int32) { - o.Locktime = v +// SetAddress sets field value +func (o *ListUnspentTransactionOutputsByAddressRI) SetAddress(v string) { + o.Address = v } -// GetMinedInBlockHash returns the MinedInBlockHash field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetMinedInBlockHash() string { +// GetAmount returns the Amount field value +func (o *ListUnspentTransactionOutputsByAddressRI) GetAmount() string { if o == nil { var ret string return ret } - return o.MinedInBlockHash + return o.Amount } -// GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value +// GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { +func (o *ListUnspentTransactionOutputsByAddressRI) GetAmountOk() (*string, bool) { + if o == nil { return nil, false } - return &o.MinedInBlockHash, true + return &o.Amount, true } -// SetMinedInBlockHash sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetMinedInBlockHash(v string) { - o.MinedInBlockHash = v +// SetAmount sets field value +func (o *ListUnspentTransactionOutputsByAddressRI) SetAmount(v string) { + o.Amount = v } -// GetMinedInBlockHeight returns the MinedInBlockHeight field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetMinedInBlockHeight() int32 { +// GetIndex returns the Index field value +func (o *ListUnspentTransactionOutputsByAddressRI) GetIndex() int32 { if o == nil { var ret int32 return ret } - return o.MinedInBlockHeight + return o.Index } -// GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value +// GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.MinedInBlockHeight, true -} - -// SetMinedInBlockHeight sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetMinedInBlockHeight(v int32) { - o.MinedInBlockHeight = v -} - -// GetRecipients returns the Recipients field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetRecipients() []GetTransactionDetailsByTransactionIDRIRecipients { +func (o *ListUnspentTransactionOutputsByAddressRI) GetIndexOk() (*int32, bool) { if o == nil { - var ret []GetTransactionDetailsByTransactionIDRIRecipients - return ret - } - - return o.Recipients -} - -// GetRecipientsOk returns a tuple with the Recipients field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetRecipientsOk() (*[]GetTransactionDetailsByTransactionIDRIRecipients, bool) { - if o == nil { return nil, false } - return &o.Recipients, true + return &o.Index, true } -// SetRecipients sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetRecipients(v []GetTransactionDetailsByTransactionIDRIRecipients) { - o.Recipients = v +// SetIndex sets field value +func (o *ListUnspentTransactionOutputsByAddressRI) SetIndex(v int32) { + o.Index = v } -// GetSenders returns the Senders field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetSenders() []ListUnspentTransactionOutputsByAddressRISenders { +// GetIsConfirmed returns the IsConfirmed field value +func (o *ListUnspentTransactionOutputsByAddressRI) GetIsConfirmed() bool { if o == nil { - var ret []ListUnspentTransactionOutputsByAddressRISenders + var ret bool return ret } - return o.Senders + return o.IsConfirmed } -// GetSendersOk returns a tuple with the Senders field value +// GetIsConfirmedOk returns a tuple with the IsConfirmed field value // and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetSendersOk() (*[]ListUnspentTransactionOutputsByAddressRISenders, bool) { - if o == nil { - return nil, false - } - return &o.Senders, true -} - -// SetSenders sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetSenders(v []ListUnspentTransactionOutputsByAddressRISenders) { - o.Senders = v -} - -// GetSize returns the Size field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetSize() int32 { +func (o *ListUnspentTransactionOutputsByAddressRI) GetIsConfirmedOk() (*bool, bool) { if o == nil { - var ret int32 - return ret - } - - return o.Size -} - -// GetSizeOk returns a tuple with the Size field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetSizeOk() (*int32, bool) { - if o == nil { return nil, false } - return &o.Size, true + return &o.IsConfirmed, true } -// SetSize sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetSize(v int32) { - o.Size = v +// SetIsConfirmed sets field value +func (o *ListUnspentTransactionOutputsByAddressRI) SetIsConfirmed(v bool) { + o.IsConfirmed = v } // GetTimestamp returns the Timestamp field value @@ -260,7 +163,7 @@ func (o *ListUnspentTransactionOutputsByAddressRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListUnspentTransactionOutputsByAddressRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -271,30 +174,6 @@ func (o *ListUnspentTransactionOutputsByAddressRI) SetTimestamp(v int32) { o.Timestamp = v } -// GetTransactionHash returns the TransactionHash field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetTransactionHash() string { - if o == nil { - var ret string - return ret - } - - return o.TransactionHash -} - -// GetTransactionHashOk returns a tuple with the TransactionHash field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetTransactionHashOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.TransactionHash, true -} - -// SetTransactionHash sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetTransactionHash(v string) { - o.TransactionHash = v -} - // GetTransactionId returns the TransactionId field value func (o *ListUnspentTransactionOutputsByAddressRI) GetTransactionId() string { if o == nil { @@ -308,7 +187,7 @@ func (o *ListUnspentTransactionOutputsByAddressRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListUnspentTransactionOutputsByAddressRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -319,173 +198,26 @@ func (o *ListUnspentTransactionOutputsByAddressRI) SetTransactionId(v string) { o.TransactionId = v } -// GetVersion returns the Version field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetVersion() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.Version -} - -// GetVersionOk returns a tuple with the Version field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetVersionOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.Version, true -} - -// SetVersion sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetVersion(v int32) { - o.Version = v -} - -// GetVin returns the Vin field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetVin() []ListUnspentTransactionOutputsByAddressRIVin { - if o == nil { - var ret []ListUnspentTransactionOutputsByAddressRIVin - return ret - } - - return o.Vin -} - -// GetVinOk returns a tuple with the Vin field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetVinOk() (*[]ListUnspentTransactionOutputsByAddressRIVin, bool) { - if o == nil { - return nil, false - } - return &o.Vin, true -} - -// SetVin sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetVin(v []ListUnspentTransactionOutputsByAddressRIVin) { - o.Vin = v -} - -// GetVout returns the Vout field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetVout() []ListConfirmedTransactionsByAddressRIBSBVout { - if o == nil { - var ret []ListConfirmedTransactionsByAddressRIBSBVout - return ret - } - - return o.Vout -} - -// GetVoutOk returns a tuple with the Vout field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetVoutOk() (*[]ListConfirmedTransactionsByAddressRIBSBVout, bool) { - if o == nil { - return nil, false - } - return &o.Vout, true -} - -// SetVout sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetVout(v []ListConfirmedTransactionsByAddressRIBSBVout) { - o.Vout = v -} - -// GetFee returns the Fee field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetFee() ListUnspentTransactionOutputsByAddressRIFee { - if o == nil { - var ret ListUnspentTransactionOutputsByAddressRIFee - return ret - } - - return o.Fee -} - -// GetFeeOk returns a tuple with the Fee field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetFeeOk() (*ListUnspentTransactionOutputsByAddressRIFee, bool) { - if o == nil { - return nil, false - } - return &o.Fee, true -} - -// SetFee sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetFee(v ListUnspentTransactionOutputsByAddressRIFee) { - o.Fee = v -} - -// GetBlockchainSpecific returns the BlockchainSpecific field value -func (o *ListUnspentTransactionOutputsByAddressRI) GetBlockchainSpecific() ListUnspentTransactionOutputsByAddressRIBlockchainSpecific { - if o == nil { - var ret ListUnspentTransactionOutputsByAddressRIBlockchainSpecific - return ret - } - - return o.BlockchainSpecific -} - -// GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRI) GetBlockchainSpecificOk() (*ListUnspentTransactionOutputsByAddressRIBlockchainSpecific, bool) { - if o == nil { - return nil, false - } - return &o.BlockchainSpecific, true -} - -// SetBlockchainSpecific sets field value -func (o *ListUnspentTransactionOutputsByAddressRI) SetBlockchainSpecific(v ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) { - o.BlockchainSpecific = v -} - func (o ListUnspentTransactionOutputsByAddressRI) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["index"] = o.Index - } - if true { - toSerialize["locktime"] = o.Locktime - } - if true { - toSerialize["minedInBlockHash"] = o.MinedInBlockHash + toSerialize["address"] = o.Address } if true { - toSerialize["minedInBlockHeight"] = o.MinedInBlockHeight + toSerialize["amount"] = o.Amount } if true { - toSerialize["recipients"] = o.Recipients - } - if true { - toSerialize["senders"] = o.Senders + toSerialize["index"] = o.Index } if true { - toSerialize["size"] = o.Size + toSerialize["isConfirmed"] = o.IsConfirmed } if true { toSerialize["timestamp"] = o.Timestamp } - if true { - toSerialize["transactionHash"] = o.TransactionHash - } if true { toSerialize["transactionId"] = o.TransactionId } - if true { - toSerialize["version"] = o.Version - } - if true { - toSerialize["vin"] = o.Vin - } - if true { - toSerialize["vout"] = o.Vout - } - if true { - toSerialize["fee"] = o.Fee - } - if true { - toSerialize["blockchainSpecific"] = o.BlockchainSpecific - } return json.Marshal(toSerialize) } diff --git a/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific.go b/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific.go deleted file mode 100644 index 0498e99..0000000 --- a/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific.go +++ /dev/null @@ -1,424 +0,0 @@ -/* -CryptoAPIs - -Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. - -API version: 2.0.0 -Contact: developers@cryptoapis.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cryptoapis - -import ( - "encoding/json" -) - -// ListUnspentTransactionOutputsByAddressRIBlockchainSpecific struct for ListUnspentTransactionOutputsByAddressRIBlockchainSpecific -type ListUnspentTransactionOutputsByAddressRIBlockchainSpecific struct { - // Represents the virtual size of this transaction - VSize int32 `json:"vSize"` - // It is used to enforce balance of Spend and Output transfers, in order to prevent their replay across transactions. - BindingSig string `json:"bindingSig"` - // Represents a block height after which the transaction will expire. - ExpiryHeight int32 `json:"expiryHeight"` - // Represents an encoding of a JoinSplitSig public validating key. - JoinSplitPubKey string `json:"joinSplitPubKey"` - // Is used to sign transactions that contain at least one JoinSplit description. - JoinSplitSig string `json:"joinSplitSig"` - // \"Overwinter\" is the network upgrade for the Zcash blockchain. - Overwintered bool `json:"overwintered"` - // Represents a sequence of JoinSplit descriptions using BCTV14 proofs. - VJoinSplit *[]ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit `json:"vJoinSplit,omitempty"` - // Object Array representation of transaction output descriptions - VShieldedOutput *[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput `json:"vShieldedOutput,omitempty"` - // Object Array representation of transaction spend descriptions - VShieldedSpend []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend `json:"vShieldedSpend"` - // Defines the transaction value balance. - ValueBalance string `json:"valueBalance"` - // Represents the transaction version group ID. - VersionGroupId string `json:"versionGroupId"` -} - -// NewListUnspentTransactionOutputsByAddressRIBlockchainSpecific instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecific object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecific(vSize int32, bindingSig string, expiryHeight int32, joinSplitPubKey string, joinSplitSig string, overwintered bool, vShieldedSpend []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend, valueBalance string, versionGroupId string) *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific { - this := ListUnspentTransactionOutputsByAddressRIBlockchainSpecific{} - this.VSize = vSize - this.BindingSig = bindingSig - this.ExpiryHeight = expiryHeight - this.JoinSplitPubKey = joinSplitPubKey - this.JoinSplitSig = joinSplitSig - this.Overwintered = overwintered - this.VShieldedSpend = vShieldedSpend - this.ValueBalance = valueBalance - this.VersionGroupId = versionGroupId - return &this -} - -// NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecific object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificWithDefaults() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific { - this := ListUnspentTransactionOutputsByAddressRIBlockchainSpecific{} - return &this -} - -// GetVSize returns the VSize field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVSize() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.VSize -} - -// GetVSizeOk returns a tuple with the VSize field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVSizeOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.VSize, true -} - -// SetVSize sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVSize(v int32) { - o.VSize = v -} - -// GetBindingSig returns the BindingSig field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetBindingSig() string { - if o == nil { - var ret string - return ret - } - - return o.BindingSig -} - -// GetBindingSigOk returns a tuple with the BindingSig field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetBindingSigOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.BindingSig, true -} - -// SetBindingSig sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetBindingSig(v string) { - o.BindingSig = v -} - -// GetExpiryHeight returns the ExpiryHeight field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetExpiryHeight() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.ExpiryHeight -} - -// GetExpiryHeightOk returns a tuple with the ExpiryHeight field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetExpiryHeightOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.ExpiryHeight, true -} - -// SetExpiryHeight sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetExpiryHeight(v int32) { - o.ExpiryHeight = v -} - -// GetJoinSplitPubKey returns the JoinSplitPubKey field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetJoinSplitPubKey() string { - if o == nil { - var ret string - return ret - } - - return o.JoinSplitPubKey -} - -// GetJoinSplitPubKeyOk returns a tuple with the JoinSplitPubKey field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetJoinSplitPubKeyOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.JoinSplitPubKey, true -} - -// SetJoinSplitPubKey sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetJoinSplitPubKey(v string) { - o.JoinSplitPubKey = v -} - -// GetJoinSplitSig returns the JoinSplitSig field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetJoinSplitSig() string { - if o == nil { - var ret string - return ret - } - - return o.JoinSplitSig -} - -// GetJoinSplitSigOk returns a tuple with the JoinSplitSig field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetJoinSplitSigOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.JoinSplitSig, true -} - -// SetJoinSplitSig sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetJoinSplitSig(v string) { - o.JoinSplitSig = v -} - -// GetOverwintered returns the Overwintered field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetOverwintered() bool { - if o == nil { - var ret bool - return ret - } - - return o.Overwintered -} - -// GetOverwinteredOk returns a tuple with the Overwintered field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetOverwinteredOk() (*bool, bool) { - if o == nil { - return nil, false - } - return &o.Overwintered, true -} - -// SetOverwintered sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetOverwintered(v bool) { - o.Overwintered = v -} - -// GetVJoinSplit returns the VJoinSplit field value if set, zero value otherwise. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVJoinSplit() []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit { - if o == nil || o.VJoinSplit == nil { - var ret []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit - return ret - } - return *o.VJoinSplit -} - -// GetVJoinSplitOk returns a tuple with the VJoinSplit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVJoinSplitOk() (*[]ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit, bool) { - if o == nil || o.VJoinSplit == nil { - return nil, false - } - return o.VJoinSplit, true -} - -// HasVJoinSplit returns a boolean if a field has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) HasVJoinSplit() bool { - if o != nil && o.VJoinSplit != nil { - return true - } - - return false -} - -// SetVJoinSplit gets a reference to the given []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit and assigns it to the VJoinSplit field. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVJoinSplit(v []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) { - o.VJoinSplit = &v -} - -// GetVShieldedOutput returns the VShieldedOutput field value if set, zero value otherwise. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVShieldedOutput() []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput { - if o == nil || o.VShieldedOutput == nil { - var ret []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput - return ret - } - return *o.VShieldedOutput -} - -// GetVShieldedOutputOk returns a tuple with the VShieldedOutput field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVShieldedOutputOk() (*[]GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput, bool) { - if o == nil || o.VShieldedOutput == nil { - return nil, false - } - return o.VShieldedOutput, true -} - -// HasVShieldedOutput returns a boolean if a field has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) HasVShieldedOutput() bool { - if o != nil && o.VShieldedOutput != nil { - return true - } - - return false -} - -// SetVShieldedOutput gets a reference to the given []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput and assigns it to the VShieldedOutput field. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVShieldedOutput(v []GetTransactionDetailsByTransactionIDRIBSZVShieldedOutput) { - o.VShieldedOutput = &v -} - -// GetVShieldedSpend returns the VShieldedSpend field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVShieldedSpend() []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend { - if o == nil { - var ret []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend - return ret - } - - return o.VShieldedSpend -} - -// GetVShieldedSpendOk returns a tuple with the VShieldedSpend field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVShieldedSpendOk() (*[]ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend, bool) { - if o == nil { - return nil, false - } - return &o.VShieldedSpend, true -} - -// SetVShieldedSpend sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVShieldedSpend(v []ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) { - o.VShieldedSpend = v -} - -// GetValueBalance returns the ValueBalance field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetValueBalance() string { - if o == nil { - var ret string - return ret - } - - return o.ValueBalance -} - -// GetValueBalanceOk returns a tuple with the ValueBalance field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetValueBalanceOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ValueBalance, true -} - -// SetValueBalance sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetValueBalance(v string) { - o.ValueBalance = v -} - -// GetVersionGroupId returns the VersionGroupId field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVersionGroupId() string { - if o == nil { - var ret string - return ret - } - - return o.VersionGroupId -} - -// GetVersionGroupIdOk returns a tuple with the VersionGroupId field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) GetVersionGroupIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.VersionGroupId, true -} - -// SetVersionGroupId sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) SetVersionGroupId(v string) { - o.VersionGroupId = v -} - -func (o ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["vSize"] = o.VSize - } - if true { - toSerialize["bindingSig"] = o.BindingSig - } - if true { - toSerialize["expiryHeight"] = o.ExpiryHeight - } - if true { - toSerialize["joinSplitPubKey"] = o.JoinSplitPubKey - } - if true { - toSerialize["joinSplitSig"] = o.JoinSplitSig - } - if true { - toSerialize["overwintered"] = o.Overwintered - } - if o.VJoinSplit != nil { - toSerialize["vJoinSplit"] = o.VJoinSplit - } - if o.VShieldedOutput != nil { - toSerialize["vShieldedOutput"] = o.VShieldedOutput - } - if true { - toSerialize["vShieldedSpend"] = o.VShieldedSpend - } - if true { - toSerialize["valueBalance"] = o.ValueBalance - } - if true { - toSerialize["versionGroupId"] = o.VersionGroupId - } - return json.Marshal(toSerialize) -} - -type NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific struct { - value *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific - isSet bool -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific) Get() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific { - return v.value -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific) Set(val *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) { - v.value = val - v.isSet = true -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific) IsSet() bool { - return v.isSet -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific(val *ListUnspentTransactionOutputsByAddressRIBlockchainSpecific) *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific { - return &NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific{value: val, isSet: true} -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecific) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific_v_join_split.go b/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific_v_join_split.go deleted file mode 100644 index 000df43..0000000 --- a/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific_v_join_split.go +++ /dev/null @@ -1,376 +0,0 @@ -/* -CryptoAPIs - -Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. - -API version: 2.0.0 -Contact: developers@cryptoapis.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cryptoapis - -import ( - "encoding/json" -) - -// ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit struct for ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit -type ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit struct { - // Defines a Merkle tree root of a note commitment tree which uniquely identifies a note commitment tree state given the assumed security properties of the Merkle tree’s hash function. - Anchor string `json:"anchor"` - CipherTexts []string `json:"cipherTexts"` - Commitments []string `json:"commitments"` - Macs []string `json:"macs"` - Nullifiers []string `json:"nullifiers"` - // Defines the one time public key. - OneTimePubKey string `json:"oneTimePubKey"` - // Defines the proof. - Proof string `json:"proof"` - // Represents a 256-bit seed that must be chosen independently at random for each JoinSplit description. - RandomSeed string `json:"randomSeed"` - // Defines the value that the joinSplit transfer will insert into the transparent transaction value pool. - VPubNew string `json:"vPubNew"` - // Defines the value that the joinSplit transfer will remove from the transparent transaction value pool. - VPubOld string `json:"vPubOld"` -} - -// NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit(anchor string, cipherTexts []string, commitments []string, macs []string, nullifiers []string, oneTimePubKey string, proof string, randomSeed string, vPubNew string, vPubOld string) *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit { - this := ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit{} - this.Anchor = anchor - this.CipherTexts = cipherTexts - this.Commitments = commitments - this.Macs = macs - this.Nullifiers = nullifiers - this.OneTimePubKey = oneTimePubKey - this.Proof = proof - this.RandomSeed = randomSeed - this.VPubNew = vPubNew - this.VPubOld = vPubOld - return &this -} - -// NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplitWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplitWithDefaults() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit { - this := ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit{} - return &this -} - -// GetAnchor returns the Anchor field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetAnchor() string { - if o == nil { - var ret string - return ret - } - - return o.Anchor -} - -// GetAnchorOk returns a tuple with the Anchor field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetAnchorOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Anchor, true -} - -// SetAnchor sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetAnchor(v string) { - o.Anchor = v -} - -// GetCipherTexts returns the CipherTexts field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetCipherTexts() []string { - if o == nil { - var ret []string - return ret - } - - return o.CipherTexts -} - -// GetCipherTextsOk returns a tuple with the CipherTexts field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetCipherTextsOk() (*[]string, bool) { - if o == nil { - return nil, false - } - return &o.CipherTexts, true -} - -// SetCipherTexts sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetCipherTexts(v []string) { - o.CipherTexts = v -} - -// GetCommitments returns the Commitments field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetCommitments() []string { - if o == nil { - var ret []string - return ret - } - - return o.Commitments -} - -// GetCommitmentsOk returns a tuple with the Commitments field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetCommitmentsOk() (*[]string, bool) { - if o == nil { - return nil, false - } - return &o.Commitments, true -} - -// SetCommitments sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetCommitments(v []string) { - o.Commitments = v -} - -// GetMacs returns the Macs field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetMacs() []string { - if o == nil { - var ret []string - return ret - } - - return o.Macs -} - -// GetMacsOk returns a tuple with the Macs field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetMacsOk() (*[]string, bool) { - if o == nil { - return nil, false - } - return &o.Macs, true -} - -// SetMacs sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetMacs(v []string) { - o.Macs = v -} - -// GetNullifiers returns the Nullifiers field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetNullifiers() []string { - if o == nil { - var ret []string - return ret - } - - return o.Nullifiers -} - -// GetNullifiersOk returns a tuple with the Nullifiers field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetNullifiersOk() (*[]string, bool) { - if o == nil { - return nil, false - } - return &o.Nullifiers, true -} - -// SetNullifiers sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetNullifiers(v []string) { - o.Nullifiers = v -} - -// GetOneTimePubKey returns the OneTimePubKey field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetOneTimePubKey() string { - if o == nil { - var ret string - return ret - } - - return o.OneTimePubKey -} - -// GetOneTimePubKeyOk returns a tuple with the OneTimePubKey field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetOneTimePubKeyOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.OneTimePubKey, true -} - -// SetOneTimePubKey sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetOneTimePubKey(v string) { - o.OneTimePubKey = v -} - -// GetProof returns the Proof field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetProof() string { - if o == nil { - var ret string - return ret - } - - return o.Proof -} - -// GetProofOk returns a tuple with the Proof field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetProofOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Proof, true -} - -// SetProof sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetProof(v string) { - o.Proof = v -} - -// GetRandomSeed returns the RandomSeed field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetRandomSeed() string { - if o == nil { - var ret string - return ret - } - - return o.RandomSeed -} - -// GetRandomSeedOk returns a tuple with the RandomSeed field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetRandomSeedOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.RandomSeed, true -} - -// SetRandomSeed sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetRandomSeed(v string) { - o.RandomSeed = v -} - -// GetVPubNew returns the VPubNew field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetVPubNew() string { - if o == nil { - var ret string - return ret - } - - return o.VPubNew -} - -// GetVPubNewOk returns a tuple with the VPubNew field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetVPubNewOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.VPubNew, true -} - -// SetVPubNew sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetVPubNew(v string) { - o.VPubNew = v -} - -// GetVPubOld returns the VPubOld field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetVPubOld() string { - if o == nil { - var ret string - return ret - } - - return o.VPubOld -} - -// GetVPubOldOk returns a tuple with the VPubOld field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) GetVPubOldOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.VPubOld, true -} - -// SetVPubOld sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) SetVPubOld(v string) { - o.VPubOld = v -} - -func (o ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["anchor"] = o.Anchor - } - if true { - toSerialize["cipherTexts"] = o.CipherTexts - } - if true { - toSerialize["commitments"] = o.Commitments - } - if true { - toSerialize["macs"] = o.Macs - } - if true { - toSerialize["nullifiers"] = o.Nullifiers - } - if true { - toSerialize["oneTimePubKey"] = o.OneTimePubKey - } - if true { - toSerialize["proof"] = o.Proof - } - if true { - toSerialize["randomSeed"] = o.RandomSeed - } - if true { - toSerialize["vPubNew"] = o.VPubNew - } - if true { - toSerialize["vPubOld"] = o.VPubOld - } - return json.Marshal(toSerialize) -} - -type NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit struct { - value *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit - isSet bool -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) Get() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit { - return v.value -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) Set(val *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) { - v.value = val - v.isSet = true -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) IsSet() bool { - return v.isSet -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit(val *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit { - return &NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit{value: val, isSet: true} -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVJoinSplit) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific_v_shielded_spend.go b/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific_v_shielded_spend.go deleted file mode 100644 index 840f44a..0000000 --- a/model_list_unspent_transaction_outputs_by_address_ri_blockchain_specific_v_shielded_spend.go +++ /dev/null @@ -1,260 +0,0 @@ -/* -CryptoAPIs - -Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. - -API version: 2.0.0 -Contact: developers@cryptoapis.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cryptoapis - -import ( - "encoding/json" -) - -// ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend struct for ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend -type ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend struct { - // Defines a Merkle tree root of a note commitment tree which uniquely identifies a note commitment tree state given the assumed security properties of the Merkle tree’s hash function. - Anchor string `json:"anchor"` - // Defines a value commitment to the value of the input note. - Cv string `json:"cv"` - // Represents a sequence of nullifiers of the input notes. - Nullifier string `json:"nullifier"` - // Represents the proof. - Proof string `json:"proof"` - // Represents the randomized validating key for spendAuthSig. - Rk string `json:"rk"` - // Used to prove knowledge of the spending key authorizing spending of an input note. - SpendAuthSig string `json:"spendAuthSig"` -} - -// NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend(anchor string, cv string, nullifier string, proof string, rk string, spendAuthSig string) *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend { - this := ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend{} - this.Anchor = anchor - this.Cv = cv - this.Nullifier = nullifier - this.Proof = proof - this.Rk = rk - this.SpendAuthSig = spendAuthSig - return &this -} - -// NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpendWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpendWithDefaults() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend { - this := ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend{} - return &this -} - -// GetAnchor returns the Anchor field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetAnchor() string { - if o == nil { - var ret string - return ret - } - - return o.Anchor -} - -// GetAnchorOk returns a tuple with the Anchor field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetAnchorOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Anchor, true -} - -// SetAnchor sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetAnchor(v string) { - o.Anchor = v -} - -// GetCv returns the Cv field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetCv() string { - if o == nil { - var ret string - return ret - } - - return o.Cv -} - -// GetCvOk returns a tuple with the Cv field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetCvOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Cv, true -} - -// SetCv sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetCv(v string) { - o.Cv = v -} - -// GetNullifier returns the Nullifier field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetNullifier() string { - if o == nil { - var ret string - return ret - } - - return o.Nullifier -} - -// GetNullifierOk returns a tuple with the Nullifier field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetNullifierOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Nullifier, true -} - -// SetNullifier sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetNullifier(v string) { - o.Nullifier = v -} - -// GetProof returns the Proof field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetProof() string { - if o == nil { - var ret string - return ret - } - - return o.Proof -} - -// GetProofOk returns a tuple with the Proof field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetProofOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Proof, true -} - -// SetProof sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetProof(v string) { - o.Proof = v -} - -// GetRk returns the Rk field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetRk() string { - if o == nil { - var ret string - return ret - } - - return o.Rk -} - -// GetRkOk returns a tuple with the Rk field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetRkOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Rk, true -} - -// SetRk sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetRk(v string) { - o.Rk = v -} - -// GetSpendAuthSig returns the SpendAuthSig field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetSpendAuthSig() string { - if o == nil { - var ret string - return ret - } - - return o.SpendAuthSig -} - -// GetSpendAuthSigOk returns a tuple with the SpendAuthSig field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) GetSpendAuthSigOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.SpendAuthSig, true -} - -// SetSpendAuthSig sets field value -func (o *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) SetSpendAuthSig(v string) { - o.SpendAuthSig = v -} - -func (o ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["anchor"] = o.Anchor - } - if true { - toSerialize["cv"] = o.Cv - } - if true { - toSerialize["nullifier"] = o.Nullifier - } - if true { - toSerialize["proof"] = o.Proof - } - if true { - toSerialize["rk"] = o.Rk - } - if true { - toSerialize["spendAuthSig"] = o.SpendAuthSig - } - return json.Marshal(toSerialize) -} - -type NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend struct { - value *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend - isSet bool -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) Get() *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend { - return v.value -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) Set(val *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) { - v.value = val - v.isSet = true -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) IsSet() bool { - return v.isSet -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend(val *ListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend { - return &NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend{value: val, isSet: true} -} - -func (v NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIBlockchainSpecificVShieldedSpend) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_list_unspent_transaction_outputs_by_address_ri_fee.go b/model_list_unspent_transaction_outputs_by_address_ri_fee.go deleted file mode 100644 index 68950f2..0000000 --- a/model_list_unspent_transaction_outputs_by_address_ri_fee.go +++ /dev/null @@ -1,140 +0,0 @@ -/* -CryptoAPIs - -Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. - -API version: 2.0.0 -Contact: developers@cryptoapis.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cryptoapis - -import ( - "encoding/json" -) - -// ListUnspentTransactionOutputsByAddressRIFee struct for ListUnspentTransactionOutputsByAddressRIFee -type ListUnspentTransactionOutputsByAddressRIFee struct { - // String representation of the fee value - Amount string `json:"amount"` - // Defines the specific unit of the fee. - Unit string `json:"unit"` -} - -// NewListUnspentTransactionOutputsByAddressRIFee instantiates a new ListUnspentTransactionOutputsByAddressRIFee object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListUnspentTransactionOutputsByAddressRIFee(amount string, unit string) *ListUnspentTransactionOutputsByAddressRIFee { - this := ListUnspentTransactionOutputsByAddressRIFee{} - this.Amount = amount - this.Unit = unit - return &this -} - -// NewListUnspentTransactionOutputsByAddressRIFeeWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIFee object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListUnspentTransactionOutputsByAddressRIFeeWithDefaults() *ListUnspentTransactionOutputsByAddressRIFee { - this := ListUnspentTransactionOutputsByAddressRIFee{} - return &this -} - -// GetAmount returns the Amount field value -func (o *ListUnspentTransactionOutputsByAddressRIFee) GetAmount() string { - if o == nil { - var ret string - return ret - } - - return o.Amount -} - -// GetAmountOk returns a tuple with the Amount field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIFee) GetAmountOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Amount, true -} - -// SetAmount sets field value -func (o *ListUnspentTransactionOutputsByAddressRIFee) SetAmount(v string) { - o.Amount = v -} - -// GetUnit returns the Unit field value -func (o *ListUnspentTransactionOutputsByAddressRIFee) GetUnit() string { - if o == nil { - var ret string - return ret - } - - return o.Unit -} - -// GetUnitOk returns a tuple with the Unit field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIFee) GetUnitOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Unit, true -} - -// SetUnit sets field value -func (o *ListUnspentTransactionOutputsByAddressRIFee) SetUnit(v string) { - o.Unit = v -} - -func (o ListUnspentTransactionOutputsByAddressRIFee) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["amount"] = o.Amount - } - if true { - toSerialize["unit"] = o.Unit - } - return json.Marshal(toSerialize) -} - -type NullableListUnspentTransactionOutputsByAddressRIFee struct { - value *ListUnspentTransactionOutputsByAddressRIFee - isSet bool -} - -func (v NullableListUnspentTransactionOutputsByAddressRIFee) Get() *ListUnspentTransactionOutputsByAddressRIFee { - return v.value -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIFee) Set(val *ListUnspentTransactionOutputsByAddressRIFee) { - v.value = val - v.isSet = true -} - -func (v NullableListUnspentTransactionOutputsByAddressRIFee) IsSet() bool { - return v.isSet -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIFee) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListUnspentTransactionOutputsByAddressRIFee(val *ListUnspentTransactionOutputsByAddressRIFee) *NullableListUnspentTransactionOutputsByAddressRIFee { - return &NullableListUnspentTransactionOutputsByAddressRIFee{value: val, isSet: true} -} - -func (v NullableListUnspentTransactionOutputsByAddressRIFee) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIFee) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_list_unspent_transaction_outputs_by_address_ri_senders.go b/model_list_unspent_transaction_outputs_by_address_ri_senders.go deleted file mode 100644 index ec0d48f..0000000 --- a/model_list_unspent_transaction_outputs_by_address_ri_senders.go +++ /dev/null @@ -1,140 +0,0 @@ -/* -CryptoAPIs - -Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. - -API version: 2.0.0 -Contact: developers@cryptoapis.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cryptoapis - -import ( - "encoding/json" -) - -// ListUnspentTransactionOutputsByAddressRISenders struct for ListUnspentTransactionOutputsByAddressRISenders -type ListUnspentTransactionOutputsByAddressRISenders struct { - // Represents a list of sender addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. - Address string `json:"address"` - // Represents the total amount sent by this address including the fee. - Amount string `json:"amount"` -} - -// NewListUnspentTransactionOutputsByAddressRISenders instantiates a new ListUnspentTransactionOutputsByAddressRISenders object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListUnspentTransactionOutputsByAddressRISenders(address string, amount string) *ListUnspentTransactionOutputsByAddressRISenders { - this := ListUnspentTransactionOutputsByAddressRISenders{} - this.Address = address - this.Amount = amount - return &this -} - -// NewListUnspentTransactionOutputsByAddressRISendersWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRISenders object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListUnspentTransactionOutputsByAddressRISendersWithDefaults() *ListUnspentTransactionOutputsByAddressRISenders { - this := ListUnspentTransactionOutputsByAddressRISenders{} - return &this -} - -// GetAddress returns the Address field value -func (o *ListUnspentTransactionOutputsByAddressRISenders) GetAddress() string { - if o == nil { - var ret string - return ret - } - - return o.Address -} - -// GetAddressOk returns a tuple with the Address field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRISenders) GetAddressOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Address, true -} - -// SetAddress sets field value -func (o *ListUnspentTransactionOutputsByAddressRISenders) SetAddress(v string) { - o.Address = v -} - -// GetAmount returns the Amount field value -func (o *ListUnspentTransactionOutputsByAddressRISenders) GetAmount() string { - if o == nil { - var ret string - return ret - } - - return o.Amount -} - -// GetAmountOk returns a tuple with the Amount field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRISenders) GetAmountOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Amount, true -} - -// SetAmount sets field value -func (o *ListUnspentTransactionOutputsByAddressRISenders) SetAmount(v string) { - o.Amount = v -} - -func (o ListUnspentTransactionOutputsByAddressRISenders) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["address"] = o.Address - } - if true { - toSerialize["amount"] = o.Amount - } - return json.Marshal(toSerialize) -} - -type NullableListUnspentTransactionOutputsByAddressRISenders struct { - value *ListUnspentTransactionOutputsByAddressRISenders - isSet bool -} - -func (v NullableListUnspentTransactionOutputsByAddressRISenders) Get() *ListUnspentTransactionOutputsByAddressRISenders { - return v.value -} - -func (v *NullableListUnspentTransactionOutputsByAddressRISenders) Set(val *ListUnspentTransactionOutputsByAddressRISenders) { - v.value = val - v.isSet = true -} - -func (v NullableListUnspentTransactionOutputsByAddressRISenders) IsSet() bool { - return v.isSet -} - -func (v *NullableListUnspentTransactionOutputsByAddressRISenders) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListUnspentTransactionOutputsByAddressRISenders(val *ListUnspentTransactionOutputsByAddressRISenders) *NullableListUnspentTransactionOutputsByAddressRISenders { - return &NullableListUnspentTransactionOutputsByAddressRISenders{value: val, isSet: true} -} - -func (v NullableListUnspentTransactionOutputsByAddressRISenders) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListUnspentTransactionOutputsByAddressRISenders) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_list_unspent_transaction_outputs_by_address_ri_vin.go b/model_list_unspent_transaction_outputs_by_address_ri_vin.go deleted file mode 100644 index 79c2956..0000000 --- a/model_list_unspent_transaction_outputs_by_address_ri_vin.go +++ /dev/null @@ -1,338 +0,0 @@ -/* -CryptoAPIs - -Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. - -API version: 2.0.0 -Contact: developers@cryptoapis.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cryptoapis - -import ( - "encoding/json" -) - -// ListUnspentTransactionOutputsByAddressRIVin struct for ListUnspentTransactionOutputsByAddressRIVin -type ListUnspentTransactionOutputsByAddressRIVin struct { - Addresses []string `json:"addresses"` - // Represents the coinbase hex. - Coinbase *string `json:"coinbase,omitempty"` - ScriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig `json:"scriptSig"` - // Represents the script sequence number. - Sequence string `json:"sequence"` - // Represents the reference transaction identifier. - Txid string `json:"txid"` - Txinwitness *[]string `json:"txinwitness,omitempty"` - // Represents the sent/received amount. - Value string `json:"value"` - // Defines the vout of the transaction output, i.e. which output to spend. - Vout *int32 `json:"vout,omitempty"` -} - -// NewListUnspentTransactionOutputsByAddressRIVin instantiates a new ListUnspentTransactionOutputsByAddressRIVin object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewListUnspentTransactionOutputsByAddressRIVin(addresses []string, scriptSig GetTransactionDetailsByTransactionIDRIBSBScriptSig, sequence string, txid string, value string) *ListUnspentTransactionOutputsByAddressRIVin { - this := ListUnspentTransactionOutputsByAddressRIVin{} - this.Addresses = addresses - this.ScriptSig = scriptSig - this.Sequence = sequence - this.Txid = txid - this.Value = value - return &this -} - -// NewListUnspentTransactionOutputsByAddressRIVinWithDefaults instantiates a new ListUnspentTransactionOutputsByAddressRIVin object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewListUnspentTransactionOutputsByAddressRIVinWithDefaults() *ListUnspentTransactionOutputsByAddressRIVin { - this := ListUnspentTransactionOutputsByAddressRIVin{} - return &this -} - -// GetAddresses returns the Addresses field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetAddresses() []string { - if o == nil { - var ret []string - return ret - } - - return o.Addresses -} - -// GetAddressesOk returns a tuple with the Addresses field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetAddressesOk() (*[]string, bool) { - if o == nil { - return nil, false - } - return &o.Addresses, true -} - -// SetAddresses sets field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) SetAddresses(v []string) { - o.Addresses = v -} - -// GetCoinbase returns the Coinbase field value if set, zero value otherwise. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetCoinbase() string { - if o == nil || o.Coinbase == nil { - var ret string - return ret - } - return *o.Coinbase -} - -// GetCoinbaseOk returns a tuple with the Coinbase field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetCoinbaseOk() (*string, bool) { - if o == nil || o.Coinbase == nil { - return nil, false - } - return o.Coinbase, true -} - -// HasCoinbase returns a boolean if a field has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) HasCoinbase() bool { - if o != nil && o.Coinbase != nil { - return true - } - - return false -} - -// SetCoinbase gets a reference to the given string and assigns it to the Coinbase field. -func (o *ListUnspentTransactionOutputsByAddressRIVin) SetCoinbase(v string) { - o.Coinbase = &v -} - -// GetScriptSig returns the ScriptSig field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetScriptSig() GetTransactionDetailsByTransactionIDRIBSBScriptSig { - if o == nil { - var ret GetTransactionDetailsByTransactionIDRIBSBScriptSig - return ret - } - - return o.ScriptSig -} - -// GetScriptSigOk returns a tuple with the ScriptSig field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetScriptSigOk() (*GetTransactionDetailsByTransactionIDRIBSBScriptSig, bool) { - if o == nil { - return nil, false - } - return &o.ScriptSig, true -} - -// SetScriptSig sets field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) SetScriptSig(v GetTransactionDetailsByTransactionIDRIBSBScriptSig) { - o.ScriptSig = v -} - -// GetSequence returns the Sequence field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetSequence() string { - if o == nil { - var ret string - return ret - } - - return o.Sequence -} - -// GetSequenceOk returns a tuple with the Sequence field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetSequenceOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Sequence, true -} - -// SetSequence sets field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) SetSequence(v string) { - o.Sequence = v -} - -// GetTxid returns the Txid field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetTxid() string { - if o == nil { - var ret string - return ret - } - - return o.Txid -} - -// GetTxidOk returns a tuple with the Txid field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetTxidOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Txid, true -} - -// SetTxid sets field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) SetTxid(v string) { - o.Txid = v -} - -// GetTxinwitness returns the Txinwitness field value if set, zero value otherwise. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetTxinwitness() []string { - if o == nil || o.Txinwitness == nil { - var ret []string - return ret - } - return *o.Txinwitness -} - -// GetTxinwitnessOk returns a tuple with the Txinwitness field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetTxinwitnessOk() (*[]string, bool) { - if o == nil || o.Txinwitness == nil { - return nil, false - } - return o.Txinwitness, true -} - -// HasTxinwitness returns a boolean if a field has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) HasTxinwitness() bool { - if o != nil && o.Txinwitness != nil { - return true - } - - return false -} - -// SetTxinwitness gets a reference to the given []string and assigns it to the Txinwitness field. -func (o *ListUnspentTransactionOutputsByAddressRIVin) SetTxinwitness(v []string) { - o.Txinwitness = &v -} - -// GetValue returns the Value field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetValue() string { - if o == nil { - var ret string - return ret - } - - return o.Value -} - -// GetValueOk returns a tuple with the Value field value -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetValueOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Value, true -} - -// SetValue sets field value -func (o *ListUnspentTransactionOutputsByAddressRIVin) SetValue(v string) { - o.Value = v -} - -// GetVout returns the Vout field value if set, zero value otherwise. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetVout() int32 { - if o == nil || o.Vout == nil { - var ret int32 - return ret - } - return *o.Vout -} - -// GetVoutOk returns a tuple with the Vout field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) GetVoutOk() (*int32, bool) { - if o == nil || o.Vout == nil { - return nil, false - } - return o.Vout, true -} - -// HasVout returns a boolean if a field has been set. -func (o *ListUnspentTransactionOutputsByAddressRIVin) HasVout() bool { - if o != nil && o.Vout != nil { - return true - } - - return false -} - -// SetVout gets a reference to the given int32 and assigns it to the Vout field. -func (o *ListUnspentTransactionOutputsByAddressRIVin) SetVout(v int32) { - o.Vout = &v -} - -func (o ListUnspentTransactionOutputsByAddressRIVin) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["addresses"] = o.Addresses - } - if o.Coinbase != nil { - toSerialize["coinbase"] = o.Coinbase - } - if true { - toSerialize["scriptSig"] = o.ScriptSig - } - if true { - toSerialize["sequence"] = o.Sequence - } - if true { - toSerialize["txid"] = o.Txid - } - if o.Txinwitness != nil { - toSerialize["txinwitness"] = o.Txinwitness - } - if true { - toSerialize["value"] = o.Value - } - if o.Vout != nil { - toSerialize["vout"] = o.Vout - } - return json.Marshal(toSerialize) -} - -type NullableListUnspentTransactionOutputsByAddressRIVin struct { - value *ListUnspentTransactionOutputsByAddressRIVin - isSet bool -} - -func (v NullableListUnspentTransactionOutputsByAddressRIVin) Get() *ListUnspentTransactionOutputsByAddressRIVin { - return v.value -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIVin) Set(val *ListUnspentTransactionOutputsByAddressRIVin) { - v.value = val - v.isSet = true -} - -func (v NullableListUnspentTransactionOutputsByAddressRIVin) IsSet() bool { - return v.isSet -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIVin) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableListUnspentTransactionOutputsByAddressRIVin(val *ListUnspentTransactionOutputsByAddressRIVin) *NullableListUnspentTransactionOutputsByAddressRIVin { - return &NullableListUnspentTransactionOutputsByAddressRIVin{value: val, isSet: true} -} - -func (v NullableListUnspentTransactionOutputsByAddressRIVin) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableListUnspentTransactionOutputsByAddressRIVin) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_list_wallet_transactions_e400.go b/model_list_wallet_transactions_e400.go index ff1a0d4..bd95883 100644 --- a/model_list_wallet_transactions_e400.go +++ b/model_list_wallet_transactions_e400.go @@ -25,17 +25,23 @@ type ListWalletTransactionsE400 struct { // InvalidPaginationAsListWalletTransactionsE400 is a convenience function that returns InvalidPagination wrapped in ListWalletTransactionsE400 func InvalidPaginationAsListWalletTransactionsE400(v *InvalidPagination) ListWalletTransactionsE400 { - return ListWalletTransactionsE400{ InvalidPagination: v} + return ListWalletTransactionsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListWalletTransactionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListWalletTransactionsE400 func LimitGreaterThanAllowedAsListWalletTransactionsE400(v *LimitGreaterThanAllowed) ListWalletTransactionsE400 { - return ListWalletTransactionsE400{ LimitGreaterThanAllowed: v} + return ListWalletTransactionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListWalletTransactionsE400 is a convenience function that returns UriNotFound wrapped in ListWalletTransactionsE400 func UriNotFoundAsListWalletTransactionsE400(v *UriNotFound) ListWalletTransactionsE400 { - return ListWalletTransactionsE400{ UriNotFound: v} + return ListWalletTransactionsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListWalletTransactionsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListWalletTransactionsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListWalletTransactionsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListWalletTransactionsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListWalletTransactionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_wallet_transactions_e401.go b/model_list_wallet_transactions_e401.go index 6e75daa..d26d0a4 100644 --- a/model_list_wallet_transactions_e401.go +++ b/model_list_wallet_transactions_e401.go @@ -24,12 +24,16 @@ type ListWalletTransactionsE401 struct { // InvalidApiKeyAsListWalletTransactionsE401 is a convenience function that returns InvalidApiKey wrapped in ListWalletTransactionsE401 func InvalidApiKeyAsListWalletTransactionsE401(v *InvalidApiKey) ListWalletTransactionsE401 { - return ListWalletTransactionsE401{ InvalidApiKey: v} + return ListWalletTransactionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListWalletTransactionsE401 is a convenience function that returns MissingApiKey wrapped in ListWalletTransactionsE401 func MissingApiKeyAsListWalletTransactionsE401(v *MissingApiKey) ListWalletTransactionsE401 { - return ListWalletTransactionsE401{ MissingApiKey: v} + return ListWalletTransactionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListWalletTransactionsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListWalletTransactionsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListWalletTransactionsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListWalletTransactionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_wallet_transactions_e403.go b/model_list_wallet_transactions_e403.go index 4c18e04..f2d8e68 100644 --- a/model_list_wallet_transactions_e403.go +++ b/model_list_wallet_transactions_e403.go @@ -26,22 +26,30 @@ type ListWalletTransactionsE403 struct { // BannedIpAddressAsListWalletTransactionsE403 is a convenience function that returns BannedIpAddress wrapped in ListWalletTransactionsE403 func BannedIpAddressAsListWalletTransactionsE403(v *BannedIpAddress) ListWalletTransactionsE403 { - return ListWalletTransactionsE403{ BannedIpAddress: v} + return ListWalletTransactionsE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListWalletTransactionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListWalletTransactionsE403 func EndpointNotAllowedForApiKeyAsListWalletTransactionsE403(v *EndpointNotAllowedForApiKey) ListWalletTransactionsE403 { - return ListWalletTransactionsE403{ EndpointNotAllowedForApiKey: v} + return ListWalletTransactionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListWalletTransactionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListWalletTransactionsE403 func EndpointNotAllowedForPlanAsListWalletTransactionsE403(v *EndpointNotAllowedForPlan) ListWalletTransactionsE403 { - return ListWalletTransactionsE403{ EndpointNotAllowedForPlan: v} + return ListWalletTransactionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListWalletTransactionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListWalletTransactionsE403 func FeatureMainnetsNotAllowedForPlanAsListWalletTransactionsE403(v *FeatureMainnetsNotAllowedForPlan) ListWalletTransactionsE403 { - return ListWalletTransactionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListWalletTransactionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListWalletTransactionsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListWalletTransactionsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListWalletTransactionsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListWalletTransactionsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListWalletTransactionsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListWalletTransactionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_wallet_transactions_r.go b/model_list_wallet_transactions_r.go index bfe2ee4..adaecd5 100644 --- a/model_list_wallet_transactions_r.go +++ b/model_list_wallet_transactions_r.go @@ -59,7 +59,7 @@ func (o *ListWalletTransactionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListWalletTransactionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListWalletTransactionsR) GetData() ListWalletTransactionsRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsR) GetDataOk() (*ListWalletTransactionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_wallet_transactions_r_data.go b/model_list_wallet_transactions_r_data.go index c1846da..d501737 100644 --- a/model_list_wallet_transactions_r_data.go +++ b/model_list_wallet_transactions_r_data.go @@ -17,10 +17,10 @@ import ( // ListWalletTransactionsRData struct for ListWalletTransactionsRData type ListWalletTransactionsRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListWalletTransactionsRI `json:"items"` @@ -30,10 +30,10 @@ type ListWalletTransactionsRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListWalletTransactionsRData(offset int32, limit int32, total int32, items []ListWalletTransactionsRI) *ListWalletTransactionsRData { +func NewListWalletTransactionsRData(limit int32, offset int32, total int32, items []ListWalletTransactionsRI) *ListWalletTransactionsRData { this := ListWalletTransactionsRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListWalletTransactionsRDataWithDefaults() *ListWalletTransactionsRData { return &this } -// GetOffset returns the Offset field value -func (o *ListWalletTransactionsRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListWalletTransactionsRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListWalletTransactionsRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListWalletTransactionsRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListWalletTransactionsRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListWalletTransactionsRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListWalletTransactionsRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListWalletTransactionsRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListWalletTransactionsRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListWalletTransactionsRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListWalletTransactionsRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListWalletTransactionsRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListWalletTransactionsRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListWalletTransactionsRData) GetItems() []ListWalletTransactionsRI { // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListWalletTransactionsRData) GetItemsOk() (*[]ListWalletTransactionsRI, bool) { - if o == nil { +func (o *ListWalletTransactionsRData) GetItemsOk() ([]ListWalletTransactionsRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListWalletTransactionsRData) SetItems(v []ListWalletTransactionsRI) { func (o ListWalletTransactionsRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_wallet_transactions_ri.go b/model_list_wallet_transactions_ri.go index eb1c635..8733aba 100644 --- a/model_list_wallet_transactions_ri.go +++ b/model_list_wallet_transactions_ri.go @@ -21,10 +21,10 @@ type ListWalletTransactionsRI struct { Direction string `json:"direction"` Fee ListWalletTransactionsRIFee `json:"fee"` // Represents fungible tokens'es detailed information - FungibleTokens *[]ListWalletTransactionsRIFungibleTokens `json:"fungibleTokens,omitempty"` - InternalTransactions *[]ListWalletTransactionsRIInternalTransactions `json:"internalTransactions,omitempty"` + FungibleTokens []ListWalletTransactionsRIFungibleTokens `json:"fungibleTokens,omitempty"` + InternalTransactions []ListWalletTransactionsRIInternalTransactions `json:"internalTransactions,omitempty"` // Represents non-fungible tokens'es detailed information. - NonFungibleTokens *[]ListWalletTransactionsRINonFungibleTokens `json:"nonFungibleTokens,omitempty"` + NonFungibleTokens []ListWalletTransactionsRINonFungibleTokens `json:"nonFungibleTokens,omitempty"` // Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. Recipients []ListWalletTransactionsRIRecipients `json:"recipients"` // Represents a list of sender addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list. @@ -76,7 +76,7 @@ func (o *ListWalletTransactionsRI) GetDirection() string { // GetDirectionOk returns a tuple with the Direction field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRI) GetDirectionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Direction, true @@ -100,7 +100,7 @@ func (o *ListWalletTransactionsRI) GetFee() ListWalletTransactionsRIFee { // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRI) GetFeeOk() (*ListWalletTransactionsRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -117,12 +117,12 @@ func (o *ListWalletTransactionsRI) GetFungibleTokens() []ListWalletTransactionsR var ret []ListWalletTransactionsRIFungibleTokens return ret } - return *o.FungibleTokens + return o.FungibleTokens } // GetFungibleTokensOk returns a tuple with the FungibleTokens field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListWalletTransactionsRI) GetFungibleTokensOk() (*[]ListWalletTransactionsRIFungibleTokens, bool) { +func (o *ListWalletTransactionsRI) GetFungibleTokensOk() ([]ListWalletTransactionsRIFungibleTokens, bool) { if o == nil || o.FungibleTokens == nil { return nil, false } @@ -140,7 +140,7 @@ func (o *ListWalletTransactionsRI) HasFungibleTokens() bool { // SetFungibleTokens gets a reference to the given []ListWalletTransactionsRIFungibleTokens and assigns it to the FungibleTokens field. func (o *ListWalletTransactionsRI) SetFungibleTokens(v []ListWalletTransactionsRIFungibleTokens) { - o.FungibleTokens = &v + o.FungibleTokens = v } // GetInternalTransactions returns the InternalTransactions field value if set, zero value otherwise. @@ -149,12 +149,12 @@ func (o *ListWalletTransactionsRI) GetInternalTransactions() []ListWalletTransac var ret []ListWalletTransactionsRIInternalTransactions return ret } - return *o.InternalTransactions + return o.InternalTransactions } // GetInternalTransactionsOk returns a tuple with the InternalTransactions field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListWalletTransactionsRI) GetInternalTransactionsOk() (*[]ListWalletTransactionsRIInternalTransactions, bool) { +func (o *ListWalletTransactionsRI) GetInternalTransactionsOk() ([]ListWalletTransactionsRIInternalTransactions, bool) { if o == nil || o.InternalTransactions == nil { return nil, false } @@ -172,7 +172,7 @@ func (o *ListWalletTransactionsRI) HasInternalTransactions() bool { // SetInternalTransactions gets a reference to the given []ListWalletTransactionsRIInternalTransactions and assigns it to the InternalTransactions field. func (o *ListWalletTransactionsRI) SetInternalTransactions(v []ListWalletTransactionsRIInternalTransactions) { - o.InternalTransactions = &v + o.InternalTransactions = v } // GetNonFungibleTokens returns the NonFungibleTokens field value if set, zero value otherwise. @@ -181,12 +181,12 @@ func (o *ListWalletTransactionsRI) GetNonFungibleTokens() []ListWalletTransactio var ret []ListWalletTransactionsRINonFungibleTokens return ret } - return *o.NonFungibleTokens + return o.NonFungibleTokens } // GetNonFungibleTokensOk returns a tuple with the NonFungibleTokens field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListWalletTransactionsRI) GetNonFungibleTokensOk() (*[]ListWalletTransactionsRINonFungibleTokens, bool) { +func (o *ListWalletTransactionsRI) GetNonFungibleTokensOk() ([]ListWalletTransactionsRINonFungibleTokens, bool) { if o == nil || o.NonFungibleTokens == nil { return nil, false } @@ -204,7 +204,7 @@ func (o *ListWalletTransactionsRI) HasNonFungibleTokens() bool { // SetNonFungibleTokens gets a reference to the given []ListWalletTransactionsRINonFungibleTokens and assigns it to the NonFungibleTokens field. func (o *ListWalletTransactionsRI) SetNonFungibleTokens(v []ListWalletTransactionsRINonFungibleTokens) { - o.NonFungibleTokens = &v + o.NonFungibleTokens = v } // GetRecipients returns the Recipients field value @@ -219,11 +219,11 @@ func (o *ListWalletTransactionsRI) GetRecipients() []ListWalletTransactionsRIRec // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListWalletTransactionsRI) GetRecipientsOk() (*[]ListWalletTransactionsRIRecipients, bool) { - if o == nil { +func (o *ListWalletTransactionsRI) GetRecipientsOk() ([]ListWalletTransactionsRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -243,11 +243,11 @@ func (o *ListWalletTransactionsRI) GetSenders() []ListWalletTransactionsRISender // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListWalletTransactionsRI) GetSendersOk() (*[]ListWalletTransactionsRISenders, bool) { - if o == nil { +func (o *ListWalletTransactionsRI) GetSendersOk() ([]ListWalletTransactionsRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -268,7 +268,7 @@ func (o *ListWalletTransactionsRI) GetStatus() string { // GetStatusOk returns a tuple with the Status field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRI) GetStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Status, true @@ -292,7 +292,7 @@ func (o *ListWalletTransactionsRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -316,7 +316,7 @@ func (o *ListWalletTransactionsRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -340,7 +340,7 @@ func (o *ListWalletTransactionsRI) GetValue() ListWalletTransactionsRIValue { // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRI) GetValueOk() (*ListWalletTransactionsRIValue, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_wallet_transactions_ri_fee.go b/model_list_wallet_transactions_ri_fee.go index e036605..a1a14e8 100644 --- a/model_list_wallet_transactions_ri_fee.go +++ b/model_list_wallet_transactions_ri_fee.go @@ -61,7 +61,7 @@ func (o *ListWalletTransactionsRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -85,7 +85,7 @@ func (o *ListWalletTransactionsRIFee) GetConvertedAmount() string { // GetConvertedAmountOk returns a tuple with the ConvertedAmount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFee) GetConvertedAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConvertedAmount, true @@ -109,7 +109,7 @@ func (o *ListWalletTransactionsRIFee) GetExchangeRateUnit() string { // GetExchangeRateUnitOk returns a tuple with the ExchangeRateUnit field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFee) GetExchangeRateUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExchangeRateUnit, true @@ -133,7 +133,7 @@ func (o *ListWalletTransactionsRIFee) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFee) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true diff --git a/model_list_wallet_transactions_ri_fungible_tokens.go b/model_list_wallet_transactions_ri_fungible_tokens.go index ece287a..df4d6e3 100644 --- a/model_list_wallet_transactions_ri_fungible_tokens.go +++ b/model_list_wallet_transactions_ri_fungible_tokens.go @@ -76,7 +76,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -100,7 +100,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetConvertedAmount() string { // GetConvertedAmountOk returns a tuple with the ConvertedAmount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetConvertedAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConvertedAmount, true @@ -124,7 +124,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetExchangeRateUnit() string { // GetExchangeRateUnitOk returns a tuple with the ExchangeRateUnit field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetExchangeRateUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExchangeRateUnit, true @@ -148,7 +148,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -172,7 +172,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetRecipient() string { // GetRecipientOk returns a tuple with the Recipient field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetRecipientOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Recipient, true @@ -196,7 +196,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetSender() string { // GetSenderOk returns a tuple with the Sender field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetSenderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sender, true @@ -220,7 +220,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -244,7 +244,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetTokenDecimals() int32 { // GetTokenDecimalsOk returns a tuple with the TokenDecimals field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetTokenDecimalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenDecimals, true @@ -268,7 +268,7 @@ func (o *ListWalletTransactionsRIFungibleTokens) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIFungibleTokens) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_wallet_transactions_ri_internal_transactions.go b/model_list_wallet_transactions_ri_internal_transactions.go index 119f12c..5fb592d 100644 --- a/model_list_wallet_transactions_ri_internal_transactions.go +++ b/model_list_wallet_transactions_ri_internal_transactions.go @@ -70,7 +70,7 @@ func (o *ListWalletTransactionsRIInternalTransactions) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIInternalTransactions) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -94,7 +94,7 @@ func (o *ListWalletTransactionsRIInternalTransactions) GetConvertedAmount() stri // GetConvertedAmountOk returns a tuple with the ConvertedAmount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIInternalTransactions) GetConvertedAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConvertedAmount, true @@ -118,7 +118,7 @@ func (o *ListWalletTransactionsRIInternalTransactions) GetExchangeRateUnit() str // GetExchangeRateUnitOk returns a tuple with the ExchangeRateUnit field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIInternalTransactions) GetExchangeRateUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExchangeRateUnit, true @@ -142,7 +142,7 @@ func (o *ListWalletTransactionsRIInternalTransactions) GetOperationId() string { // GetOperationIdOk returns a tuple with the OperationId field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIInternalTransactions) GetOperationIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.OperationId, true @@ -166,7 +166,7 @@ func (o *ListWalletTransactionsRIInternalTransactions) GetRecipient() string { // GetRecipientOk returns a tuple with the Recipient field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIInternalTransactions) GetRecipientOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Recipient, true @@ -190,7 +190,7 @@ func (o *ListWalletTransactionsRIInternalTransactions) GetSender() string { // GetSenderOk returns a tuple with the Sender field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIInternalTransactions) GetSenderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sender, true @@ -214,7 +214,7 @@ func (o *ListWalletTransactionsRIInternalTransactions) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIInternalTransactions) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true diff --git a/model_list_wallet_transactions_ri_non_fungible_tokens.go b/model_list_wallet_transactions_ri_non_fungible_tokens.go index ce1e9de..a384e91 100644 --- a/model_list_wallet_transactions_ri_non_fungible_tokens.go +++ b/model_list_wallet_transactions_ri_non_fungible_tokens.go @@ -73,7 +73,7 @@ func (o *ListWalletTransactionsRINonFungibleTokens) GetConvertedAmount() string // GetConvertedAmountOk returns a tuple with the ConvertedAmount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRINonFungibleTokens) GetConvertedAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConvertedAmount, true @@ -97,7 +97,7 @@ func (o *ListWalletTransactionsRINonFungibleTokens) GetExchangeRateUnit() string // GetExchangeRateUnitOk returns a tuple with the ExchangeRateUnit field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRINonFungibleTokens) GetExchangeRateUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExchangeRateUnit, true @@ -121,7 +121,7 @@ func (o *ListWalletTransactionsRINonFungibleTokens) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRINonFungibleTokens) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -145,7 +145,7 @@ func (o *ListWalletTransactionsRINonFungibleTokens) GetRecipient() string { // GetRecipientOk returns a tuple with the Recipient field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRINonFungibleTokens) GetRecipientOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Recipient, true @@ -169,7 +169,7 @@ func (o *ListWalletTransactionsRINonFungibleTokens) GetSender() string { // GetSenderOk returns a tuple with the Sender field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRINonFungibleTokens) GetSenderOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Sender, true @@ -193,7 +193,7 @@ func (o *ListWalletTransactionsRINonFungibleTokens) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRINonFungibleTokens) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -217,7 +217,7 @@ func (o *ListWalletTransactionsRINonFungibleTokens) GetTokenId() string { // GetTokenIdOk returns a tuple with the TokenId field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRINonFungibleTokens) GetTokenIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenId, true @@ -241,7 +241,7 @@ func (o *ListWalletTransactionsRINonFungibleTokens) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRINonFungibleTokens) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true diff --git a/model_list_wallet_transactions_ri_recipients.go b/model_list_wallet_transactions_ri_recipients.go index de436ed..a84b049 100644 --- a/model_list_wallet_transactions_ri_recipients.go +++ b/model_list_wallet_transactions_ri_recipients.go @@ -57,7 +57,7 @@ func (o *ListWalletTransactionsRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -81,7 +81,7 @@ func (o *ListWalletTransactionsRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_wallet_transactions_ri_senders.go b/model_list_wallet_transactions_ri_senders.go index bff6a78..b84716c 100644 --- a/model_list_wallet_transactions_ri_senders.go +++ b/model_list_wallet_transactions_ri_senders.go @@ -57,7 +57,7 @@ func (o *ListWalletTransactionsRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -81,7 +81,7 @@ func (o *ListWalletTransactionsRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_wallet_transactions_ri_value.go b/model_list_wallet_transactions_ri_value.go index 9557be5..0e00928 100644 --- a/model_list_wallet_transactions_ri_value.go +++ b/model_list_wallet_transactions_ri_value.go @@ -61,7 +61,7 @@ func (o *ListWalletTransactionsRIValue) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIValue) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -85,7 +85,7 @@ func (o *ListWalletTransactionsRIValue) GetConvertedAmount() string { // GetConvertedAmountOk returns a tuple with the ConvertedAmount field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIValue) GetConvertedAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConvertedAmount, true @@ -109,7 +109,7 @@ func (o *ListWalletTransactionsRIValue) GetExchangeRateUnit() string { // GetExchangeRateUnitOk returns a tuple with the ExchangeRateUnit field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIValue) GetExchangeRateUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExchangeRateUnit, true @@ -133,7 +133,7 @@ func (o *ListWalletTransactionsRIValue) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *ListWalletTransactionsRIValue) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true diff --git a/model_list_xrp_ripple_transactions_by_address_and_time_range_e400.go b/model_list_xrp_ripple_transactions_by_address_and_time_range_e400.go new file mode 100644 index 0000000..e6caad7 --- /dev/null +++ b/model_list_xrp_ripple_transactions_by_address_and_time_range_e400.go @@ -0,0 +1,179 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListXRPRippleTransactionsByAddressAndTimeRangeE400 - struct for ListXRPRippleTransactionsByAddressAndTimeRangeE400 +type ListXRPRippleTransactionsByAddressAndTimeRangeE400 struct { + InvalidPagination *InvalidPagination + LimitGreaterThanAllowed *LimitGreaterThanAllowed + UriNotFound *UriNotFound +} + +// InvalidPaginationAsListXRPRippleTransactionsByAddressAndTimeRangeE400 is a convenience function that returns InvalidPagination wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE400 +func InvalidPaginationAsListXRPRippleTransactionsByAddressAndTimeRangeE400(v *InvalidPagination) ListXRPRippleTransactionsByAddressAndTimeRangeE400 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE400{ + InvalidPagination: v, + } +} + +// LimitGreaterThanAllowedAsListXRPRippleTransactionsByAddressAndTimeRangeE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE400 +func LimitGreaterThanAllowedAsListXRPRippleTransactionsByAddressAndTimeRangeE400(v *LimitGreaterThanAllowed) ListXRPRippleTransactionsByAddressAndTimeRangeE400 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE400{ + LimitGreaterThanAllowed: v, + } +} + +// UriNotFoundAsListXRPRippleTransactionsByAddressAndTimeRangeE400 is a convenience function that returns UriNotFound wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE400 +func UriNotFoundAsListXRPRippleTransactionsByAddressAndTimeRangeE400(v *UriNotFound) ListXRPRippleTransactionsByAddressAndTimeRangeE400 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE400{ + UriNotFound: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListXRPRippleTransactionsByAddressAndTimeRangeE400) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidPagination + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) + if err == nil { + jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) + if string(jsonInvalidPagination) == "{}" { // empty struct + dst.InvalidPagination = nil + } else { + match++ + } + } else { + dst.InvalidPagination = nil + } + + // try to unmarshal data into LimitGreaterThanAllowed + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) + if err == nil { + jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) + if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct + dst.LimitGreaterThanAllowed = nil + } else { + match++ + } + } else { + dst.LimitGreaterThanAllowed = nil + } + + // try to unmarshal data into UriNotFound + err = newStrictDecoder(data).Decode(&dst.UriNotFound) + if err == nil { + jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) + if string(jsonUriNotFound) == "{}" { // empty struct + dst.UriNotFound = nil + } else { + match++ + } + } else { + dst.UriNotFound = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidPagination = nil + dst.LimitGreaterThanAllowed = nil + dst.UriNotFound = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListXRPRippleTransactionsByAddressAndTimeRangeE400)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListXRPRippleTransactionsByAddressAndTimeRangeE400)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListXRPRippleTransactionsByAddressAndTimeRangeE400) MarshalJSON() ([]byte, error) { + if src.InvalidPagination != nil { + return json.Marshal(&src.InvalidPagination) + } + + if src.LimitGreaterThanAllowed != nil { + return json.Marshal(&src.LimitGreaterThanAllowed) + } + + if src.UriNotFound != nil { + return json.Marshal(&src.UriNotFound) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListXRPRippleTransactionsByAddressAndTimeRangeE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidPagination != nil { + return obj.InvalidPagination + } + + if obj.LimitGreaterThanAllowed != nil { + return obj.LimitGreaterThanAllowed + } + + if obj.UriNotFound != nil { + return obj.UriNotFound + } + + // all schemas are nil + return nil +} + +type NullableListXRPRippleTransactionsByAddressAndTimeRangeE400 struct { + value *ListXRPRippleTransactionsByAddressAndTimeRangeE400 + isSet bool +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE400) Get() *ListXRPRippleTransactionsByAddressAndTimeRangeE400 { + return v.value +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE400) Set(val *ListXRPRippleTransactionsByAddressAndTimeRangeE400) { + v.value = val + v.isSet = true +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE400) IsSet() bool { + return v.isSet +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE400) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListXRPRippleTransactionsByAddressAndTimeRangeE400(val *ListXRPRippleTransactionsByAddressAndTimeRangeE400) *NullableListXRPRippleTransactionsByAddressAndTimeRangeE400 { + return &NullableListXRPRippleTransactionsByAddressAndTimeRangeE400{value: val, isSet: true} +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE400) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE400) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_xrp_ripple_transactions_by_address_and_time_range_e401.go b/model_list_xrp_ripple_transactions_by_address_and_time_range_e401.go new file mode 100644 index 0000000..e813ac0 --- /dev/null +++ b/model_list_xrp_ripple_transactions_by_address_and_time_range_e401.go @@ -0,0 +1,149 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListXRPRippleTransactionsByAddressAndTimeRangeE401 - struct for ListXRPRippleTransactionsByAddressAndTimeRangeE401 +type ListXRPRippleTransactionsByAddressAndTimeRangeE401 struct { + InvalidApiKey *InvalidApiKey + MissingApiKey *MissingApiKey +} + +// InvalidApiKeyAsListXRPRippleTransactionsByAddressAndTimeRangeE401 is a convenience function that returns InvalidApiKey wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE401 +func InvalidApiKeyAsListXRPRippleTransactionsByAddressAndTimeRangeE401(v *InvalidApiKey) ListXRPRippleTransactionsByAddressAndTimeRangeE401 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE401{ + InvalidApiKey: v, + } +} + +// MissingApiKeyAsListXRPRippleTransactionsByAddressAndTimeRangeE401 is a convenience function that returns MissingApiKey wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE401 +func MissingApiKeyAsListXRPRippleTransactionsByAddressAndTimeRangeE401(v *MissingApiKey) ListXRPRippleTransactionsByAddressAndTimeRangeE401 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE401{ + MissingApiKey: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListXRPRippleTransactionsByAddressAndTimeRangeE401) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into InvalidApiKey + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) + if err == nil { + jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) + if string(jsonInvalidApiKey) == "{}" { // empty struct + dst.InvalidApiKey = nil + } else { + match++ + } + } else { + dst.InvalidApiKey = nil + } + + // try to unmarshal data into MissingApiKey + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) + if err == nil { + jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) + if string(jsonMissingApiKey) == "{}" { // empty struct + dst.MissingApiKey = nil + } else { + match++ + } + } else { + dst.MissingApiKey = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.InvalidApiKey = nil + dst.MissingApiKey = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListXRPRippleTransactionsByAddressAndTimeRangeE401)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListXRPRippleTransactionsByAddressAndTimeRangeE401)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListXRPRippleTransactionsByAddressAndTimeRangeE401) MarshalJSON() ([]byte, error) { + if src.InvalidApiKey != nil { + return json.Marshal(&src.InvalidApiKey) + } + + if src.MissingApiKey != nil { + return json.Marshal(&src.MissingApiKey) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListXRPRippleTransactionsByAddressAndTimeRangeE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.InvalidApiKey != nil { + return obj.InvalidApiKey + } + + if obj.MissingApiKey != nil { + return obj.MissingApiKey + } + + // all schemas are nil + return nil +} + +type NullableListXRPRippleTransactionsByAddressAndTimeRangeE401 struct { + value *ListXRPRippleTransactionsByAddressAndTimeRangeE401 + isSet bool +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE401) Get() *ListXRPRippleTransactionsByAddressAndTimeRangeE401 { + return v.value +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE401) Set(val *ListXRPRippleTransactionsByAddressAndTimeRangeE401) { + v.value = val + v.isSet = true +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE401) IsSet() bool { + return v.isSet +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE401) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListXRPRippleTransactionsByAddressAndTimeRangeE401(val *ListXRPRippleTransactionsByAddressAndTimeRangeE401) *NullableListXRPRippleTransactionsByAddressAndTimeRangeE401 { + return &NullableListXRPRippleTransactionsByAddressAndTimeRangeE401{value: val, isSet: true} +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE401) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE401) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_xrp_ripple_transactions_by_address_and_time_range_e403.go b/model_list_xrp_ripple_transactions_by_address_and_time_range_e403.go new file mode 100644 index 0000000..82649bb --- /dev/null +++ b/model_list_xrp_ripple_transactions_by_address_and_time_range_e403.go @@ -0,0 +1,209 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" + "fmt" +) + +// ListXRPRippleTransactionsByAddressAndTimeRangeE403 - struct for ListXRPRippleTransactionsByAddressAndTimeRangeE403 +type ListXRPRippleTransactionsByAddressAndTimeRangeE403 struct { + BannedIpAddress *BannedIpAddress + EndpointNotAllowedForApiKey *EndpointNotAllowedForApiKey + EndpointNotAllowedForPlan *EndpointNotAllowedForPlan + FeatureMainnetsNotAllowedForPlan *FeatureMainnetsNotAllowedForPlan +} + +// BannedIpAddressAsListXRPRippleTransactionsByAddressAndTimeRangeE403 is a convenience function that returns BannedIpAddress wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE403 +func BannedIpAddressAsListXRPRippleTransactionsByAddressAndTimeRangeE403(v *BannedIpAddress) ListXRPRippleTransactionsByAddressAndTimeRangeE403 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE403{ + BannedIpAddress: v, + } +} + +// EndpointNotAllowedForApiKeyAsListXRPRippleTransactionsByAddressAndTimeRangeE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE403 +func EndpointNotAllowedForApiKeyAsListXRPRippleTransactionsByAddressAndTimeRangeE403(v *EndpointNotAllowedForApiKey) ListXRPRippleTransactionsByAddressAndTimeRangeE403 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE403{ + EndpointNotAllowedForApiKey: v, + } +} + +// EndpointNotAllowedForPlanAsListXRPRippleTransactionsByAddressAndTimeRangeE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE403 +func EndpointNotAllowedForPlanAsListXRPRippleTransactionsByAddressAndTimeRangeE403(v *EndpointNotAllowedForPlan) ListXRPRippleTransactionsByAddressAndTimeRangeE403 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE403{ + EndpointNotAllowedForPlan: v, + } +} + +// FeatureMainnetsNotAllowedForPlanAsListXRPRippleTransactionsByAddressAndTimeRangeE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListXRPRippleTransactionsByAddressAndTimeRangeE403 +func FeatureMainnetsNotAllowedForPlanAsListXRPRippleTransactionsByAddressAndTimeRangeE403(v *FeatureMainnetsNotAllowedForPlan) ListXRPRippleTransactionsByAddressAndTimeRangeE403 { + return ListXRPRippleTransactionsByAddressAndTimeRangeE403{ + FeatureMainnetsNotAllowedForPlan: v, + } +} + + +// Unmarshal JSON data into one of the pointers in the struct +func (dst *ListXRPRippleTransactionsByAddressAndTimeRangeE403) UnmarshalJSON(data []byte) error { + var err error + match := 0 + // try to unmarshal data into BannedIpAddress + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) + if err == nil { + jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) + if string(jsonBannedIpAddress) == "{}" { // empty struct + dst.BannedIpAddress = nil + } else { + match++ + } + } else { + dst.BannedIpAddress = nil + } + + // try to unmarshal data into EndpointNotAllowedForApiKey + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) + if err == nil { + jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) + if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct + dst.EndpointNotAllowedForApiKey = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForApiKey = nil + } + + // try to unmarshal data into EndpointNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) + if err == nil { + jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) + if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct + dst.EndpointNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.EndpointNotAllowedForPlan = nil + } + + // try to unmarshal data into FeatureMainnetsNotAllowedForPlan + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) + if err == nil { + jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) + if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct + dst.FeatureMainnetsNotAllowedForPlan = nil + } else { + match++ + } + } else { + dst.FeatureMainnetsNotAllowedForPlan = nil + } + + if match > 1 { // more than 1 match + // reset to nil + dst.BannedIpAddress = nil + dst.EndpointNotAllowedForApiKey = nil + dst.EndpointNotAllowedForPlan = nil + dst.FeatureMainnetsNotAllowedForPlan = nil + + return fmt.Errorf("Data matches more than one schema in oneOf(ListXRPRippleTransactionsByAddressAndTimeRangeE403)") + } else if match == 1 { + return nil // exactly one match + } else { // no match + return fmt.Errorf("Data failed to match schemas in oneOf(ListXRPRippleTransactionsByAddressAndTimeRangeE403)") + } +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ListXRPRippleTransactionsByAddressAndTimeRangeE403) MarshalJSON() ([]byte, error) { + if src.BannedIpAddress != nil { + return json.Marshal(&src.BannedIpAddress) + } + + if src.EndpointNotAllowedForApiKey != nil { + return json.Marshal(&src.EndpointNotAllowedForApiKey) + } + + if src.EndpointNotAllowedForPlan != nil { + return json.Marshal(&src.EndpointNotAllowedForPlan) + } + + if src.FeatureMainnetsNotAllowedForPlan != nil { + return json.Marshal(&src.FeatureMainnetsNotAllowedForPlan) + } + + return nil, nil // no data in oneOf schemas +} + +// Get the actual instance +func (obj *ListXRPRippleTransactionsByAddressAndTimeRangeE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } + if obj.BannedIpAddress != nil { + return obj.BannedIpAddress + } + + if obj.EndpointNotAllowedForApiKey != nil { + return obj.EndpointNotAllowedForApiKey + } + + if obj.EndpointNotAllowedForPlan != nil { + return obj.EndpointNotAllowedForPlan + } + + if obj.FeatureMainnetsNotAllowedForPlan != nil { + return obj.FeatureMainnetsNotAllowedForPlan + } + + // all schemas are nil + return nil +} + +type NullableListXRPRippleTransactionsByAddressAndTimeRangeE403 struct { + value *ListXRPRippleTransactionsByAddressAndTimeRangeE403 + isSet bool +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE403) Get() *ListXRPRippleTransactionsByAddressAndTimeRangeE403 { + return v.value +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE403) Set(val *ListXRPRippleTransactionsByAddressAndTimeRangeE403) { + v.value = val + v.isSet = true +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE403) IsSet() bool { + return v.isSet +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE403) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListXRPRippleTransactionsByAddressAndTimeRangeE403(val *ListXRPRippleTransactionsByAddressAndTimeRangeE403) *NullableListXRPRippleTransactionsByAddressAndTimeRangeE403 { + return &NullableListXRPRippleTransactionsByAddressAndTimeRangeE403{value: val, isSet: true} +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeE403) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeE403) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_xrp_ripple_transactions_by_address_and_time_range_r.go b/model_list_xrp_ripple_transactions_by_address_and_time_range_r.go new file mode 100644 index 0000000..e7871c5 --- /dev/null +++ b/model_list_xrp_ripple_transactions_by_address_and_time_range_r.go @@ -0,0 +1,206 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListXRPRippleTransactionsByAddressAndTimeRangeR struct for ListXRPRippleTransactionsByAddressAndTimeRangeR +type ListXRPRippleTransactionsByAddressAndTimeRangeR struct { + // Specifies the version of the API that incorporates this endpoint. + ApiVersion string `json:"apiVersion"` + // Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. + RequestId string `json:"requestId"` + // In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. + Context *string `json:"context,omitempty"` + Data ListXRPRippleTransactionsByAddressAndTimeRangeRData `json:"data"` +} + +// NewListXRPRippleTransactionsByAddressAndTimeRangeR instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListXRPRippleTransactionsByAddressAndTimeRangeR(apiVersion string, requestId string, data ListXRPRippleTransactionsByAddressAndTimeRangeRData) *ListXRPRippleTransactionsByAddressAndTimeRangeR { + this := ListXRPRippleTransactionsByAddressAndTimeRangeR{} + this.ApiVersion = apiVersion + this.RequestId = requestId + this.Data = data + return &this +} + +// NewListXRPRippleTransactionsByAddressAndTimeRangeRWithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeR object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListXRPRippleTransactionsByAddressAndTimeRangeRWithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeR { + this := ListXRPRippleTransactionsByAddressAndTimeRangeR{} + return &this +} + +// GetApiVersion returns the ApiVersion field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetApiVersion() string { + if o == nil { + var ret string + return ret + } + + return o.ApiVersion +} + +// GetApiVersionOk returns a tuple with the ApiVersion field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetApiVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ApiVersion, true +} + +// SetApiVersion sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) SetApiVersion(v string) { + o.ApiVersion = v +} + +// GetRequestId returns the RequestId field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) SetRequestId(v string) { + o.RequestId = v +} + +// GetContext returns the Context field value if set, zero value otherwise. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetContext() string { + if o == nil || o.Context == nil { + var ret string + return ret + } + return *o.Context +} + +// GetContextOk returns a tuple with the Context field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetContextOk() (*string, bool) { + if o == nil || o.Context == nil { + return nil, false + } + return o.Context, true +} + +// HasContext returns a boolean if a field has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) HasContext() bool { + if o != nil && o.Context != nil { + return true + } + + return false +} + +// SetContext gets a reference to the given string and assigns it to the Context field. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) SetContext(v string) { + o.Context = &v +} + +// GetData returns the Data field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetData() ListXRPRippleTransactionsByAddressAndTimeRangeRData { + if o == nil { + var ret ListXRPRippleTransactionsByAddressAndTimeRangeRData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) GetDataOk() (*ListXRPRippleTransactionsByAddressAndTimeRangeRData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeR) SetData(v ListXRPRippleTransactionsByAddressAndTimeRangeRData) { + o.Data = v +} + +func (o ListXRPRippleTransactionsByAddressAndTimeRangeR) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["apiVersion"] = o.ApiVersion + } + if true { + toSerialize["requestId"] = o.RequestId + } + if o.Context != nil { + toSerialize["context"] = o.Context + } + if true { + toSerialize["data"] = o.Data + } + return json.Marshal(toSerialize) +} + +type NullableListXRPRippleTransactionsByAddressAndTimeRangeR struct { + value *ListXRPRippleTransactionsByAddressAndTimeRangeR + isSet bool +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeR) Get() *ListXRPRippleTransactionsByAddressAndTimeRangeR { + return v.value +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeR) Set(val *ListXRPRippleTransactionsByAddressAndTimeRangeR) { + v.value = val + v.isSet = true +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeR) IsSet() bool { + return v.isSet +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListXRPRippleTransactionsByAddressAndTimeRangeR(val *ListXRPRippleTransactionsByAddressAndTimeRangeR) *NullableListXRPRippleTransactionsByAddressAndTimeRangeR { + return &NullableListXRPRippleTransactionsByAddressAndTimeRangeR{value: val, isSet: true} +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_xrp_ripple_transactions_by_address_and_time_range_r_data.go b/model_list_xrp_ripple_transactions_by_address_and_time_range_r_data.go new file mode 100644 index 0000000..5cf6deb --- /dev/null +++ b/model_list_xrp_ripple_transactions_by_address_and_time_range_r_data.go @@ -0,0 +1,199 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListXRPRippleTransactionsByAddressAndTimeRangeRData struct for ListXRPRippleTransactionsByAddressAndTimeRangeRData +type ListXRPRippleTransactionsByAddressAndTimeRangeRData struct { + // Defines how many items should be returned in the response per page basis. + Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` + // Defines the total number of items returned in the response. + Total int32 `json:"total"` + Items []ListXRPRippleTransactionsByAddressAndTimeRangeRI `json:"items"` +} + +// NewListXRPRippleTransactionsByAddressAndTimeRangeRData instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeRData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListXRPRippleTransactionsByAddressAndTimeRangeRData(limit int32, offset int32, total int32, items []ListXRPRippleTransactionsByAddressAndTimeRangeRI) *ListXRPRippleTransactionsByAddressAndTimeRangeRData { + this := ListXRPRippleTransactionsByAddressAndTimeRangeRData{} + this.Limit = limit + this.Offset = offset + this.Total = total + this.Items = items + return &this +} + +// NewListXRPRippleTransactionsByAddressAndTimeRangeRDataWithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeRData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListXRPRippleTransactionsByAddressAndTimeRangeRDataWithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeRData { + this := ListXRPRippleTransactionsByAddressAndTimeRangeRData{} + return &this +} + +// GetLimit returns the Limit field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetLimit() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetLimitOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Limit, true +} + +// SetLimit sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) SetLimit(v int32) { + o.Limit = v +} + +// GetOffset returns the Offset field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetOffset() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Offset +} + +// GetOffsetOk returns a tuple with the Offset field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetOffsetOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Offset, true +} + +// SetOffset sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) SetOffset(v int32) { + o.Offset = v +} + +// GetTotal returns the Total field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetTotal() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetTotalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) SetTotal(v int32) { + o.Total = v +} + +// GetItems returns the Items field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetItems() []ListXRPRippleTransactionsByAddressAndTimeRangeRI { + if o == nil { + var ret []ListXRPRippleTransactionsByAddressAndTimeRangeRI + return ret + } + + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) GetItemsOk() ([]ListXRPRippleTransactionsByAddressAndTimeRangeRI, bool) { + if o == nil { + return nil, false + } + return o.Items, true +} + +// SetItems sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRData) SetItems(v []ListXRPRippleTransactionsByAddressAndTimeRangeRI) { + o.Items = v +} + +func (o ListXRPRippleTransactionsByAddressAndTimeRangeRData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["limit"] = o.Limit + } + if true { + toSerialize["offset"] = o.Offset + } + if true { + toSerialize["total"] = o.Total + } + if true { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableListXRPRippleTransactionsByAddressAndTimeRangeRData struct { + value *ListXRPRippleTransactionsByAddressAndTimeRangeRData + isSet bool +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeRData) Get() *ListXRPRippleTransactionsByAddressAndTimeRangeRData { + return v.value +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeRData) Set(val *ListXRPRippleTransactionsByAddressAndTimeRangeRData) { + v.value = val + v.isSet = true +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeRData) IsSet() bool { + return v.isSet +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeRData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListXRPRippleTransactionsByAddressAndTimeRangeRData(val *ListXRPRippleTransactionsByAddressAndTimeRangeRData) *NullableListXRPRippleTransactionsByAddressAndTimeRangeRData { + return &NullableListXRPRippleTransactionsByAddressAndTimeRangeRData{value: val, isSet: true} +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeRData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeRData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_xrp_ripple_transactions_by_address_and_time_range_ri.go b/model_list_xrp_ripple_transactions_by_address_and_time_range_ri.go new file mode 100644 index 0000000..32f21b3 --- /dev/null +++ b/model_list_xrp_ripple_transactions_by_address_and_time_range_ri.go @@ -0,0 +1,533 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// ListXRPRippleTransactionsByAddressAndTimeRangeRI struct for ListXRPRippleTransactionsByAddressAndTimeRangeRI +type ListXRPRippleTransactionsByAddressAndTimeRangeRI struct { + // A destination tag is a value used to discern the holder of the Ripple (XRP) being deposited or withdrawn. + DestinationTag *int64 `json:"destinationTag,omitempty"` + // Represents the index position of the transaction in the block. + Index int32 `json:"index"` + // Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. + MinedInBlockHash string `json:"minedInBlockHash"` + // Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. + MinedInBlockHeight int32 `json:"minedInBlockHeight"` + // Represents an object of addresses that receive the transactions. + Recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients `json:"recipients"` + // Represents an object of addresses that provide the funds. + Senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders `json:"senders"` + // Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. + Sequence int64 `json:"sequence"` + // Defines the status of the transaction. + Status string `json:"status"` + // Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. + Timestamp int32 `json:"timestamp"` + // Represents the hash of the XRP transaction. + TransactionHash string `json:"transactionHash"` + // Specifies the type of the transaction. + Type string `json:"type"` + Fee ListXRPRippleTransactionsByAddressRIFee `json:"fee"` + Offer ListXRPRippleTransactionsByAddressRIOffer `json:"offer"` + Receive ListXRPRippleTransactionsByAddressRIReceive `json:"receive"` + Value ListXRPRippleTransactionsByAddressRIValue `json:"value"` +} + +// NewListXRPRippleTransactionsByAddressAndTimeRangeRI instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeRI object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewListXRPRippleTransactionsByAddressAndTimeRangeRI(index int32, minedInBlockHash string, minedInBlockHeight int32, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int64, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByAddressRIFee, offer ListXRPRippleTransactionsByAddressRIOffer, receive ListXRPRippleTransactionsByAddressRIReceive, value ListXRPRippleTransactionsByAddressRIValue) *ListXRPRippleTransactionsByAddressAndTimeRangeRI { + this := ListXRPRippleTransactionsByAddressAndTimeRangeRI{} + this.Index = index + this.MinedInBlockHash = minedInBlockHash + this.MinedInBlockHeight = minedInBlockHeight + this.Recipients = recipients + this.Senders = senders + this.Sequence = sequence + this.Status = status + this.Timestamp = timestamp + this.TransactionHash = transactionHash + this.Type = type_ + this.Fee = fee + this.Offer = offer + this.Receive = receive + this.Value = value + return &this +} + +// NewListXRPRippleTransactionsByAddressAndTimeRangeRIWithDefaults instantiates a new ListXRPRippleTransactionsByAddressAndTimeRangeRI object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewListXRPRippleTransactionsByAddressAndTimeRangeRIWithDefaults() *ListXRPRippleTransactionsByAddressAndTimeRangeRI { + this := ListXRPRippleTransactionsByAddressAndTimeRangeRI{} + return &this +} + +// GetDestinationTag returns the DestinationTag field value if set, zero value otherwise. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetDestinationTag() int64 { + if o == nil || o.DestinationTag == nil { + var ret int64 + return ret + } + return *o.DestinationTag +} + +// GetDestinationTagOk returns a tuple with the DestinationTag field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetDestinationTagOk() (*int64, bool) { + if o == nil || o.DestinationTag == nil { + return nil, false + } + return o.DestinationTag, true +} + +// HasDestinationTag returns a boolean if a field has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) HasDestinationTag() bool { + if o != nil && o.DestinationTag != nil { + return true + } + + return false +} + +// SetDestinationTag gets a reference to the given int64 and assigns it to the DestinationTag field. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetDestinationTag(v int64) { + o.DestinationTag = &v +} + +// GetIndex returns the Index field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetIndex() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Index +} + +// GetIndexOk returns a tuple with the Index field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetIndexOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Index, true +} + +// SetIndex sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetIndex(v int32) { + o.Index = v +} + +// GetMinedInBlockHash returns the MinedInBlockHash field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHash() string { + if o == nil { + var ret string + return ret + } + + return o.MinedInBlockHash +} + +// GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MinedInBlockHash, true +} + +// SetMinedInBlockHash sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHash(v string) { + o.MinedInBlockHash = v +} + +// GetMinedInBlockHeight returns the MinedInBlockHeight field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeight() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.MinedInBlockHeight +} + +// GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetMinedInBlockHeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.MinedInBlockHeight, true +} + +// SetMinedInBlockHeight sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetMinedInBlockHeight(v int32) { + o.MinedInBlockHeight = v +} + +// GetRecipients returns the Recipients field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetRecipients() []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients { + if o == nil { + var ret []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients + return ret + } + + return o.Recipients +} + +// GetRecipientsOk returns a tuple with the Recipients field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetRecipientsOk() ([]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { + return nil, false + } + return o.Recipients, true +} + +// SetRecipients sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetRecipients(v []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients) { + o.Recipients = v +} + +// GetSenders returns the Senders field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetSenders() []GetXRPRippleTransactionDetailsByTransactionIDRISenders { + if o == nil { + var ret []GetXRPRippleTransactionDetailsByTransactionIDRISenders + return ret + } + + return o.Senders +} + +// GetSendersOk returns a tuple with the Senders field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetSendersOk() ([]GetXRPRippleTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { + return nil, false + } + return o.Senders, true +} + +// SetSenders sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetSenders(v []GetXRPRippleTransactionDetailsByTransactionIDRISenders) { + o.Senders = v +} + +// GetSequence returns the Sequence field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetSequence() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Sequence +} + +// GetSequenceOk returns a tuple with the Sequence field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetSequenceOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Sequence, true +} + +// SetSequence sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetSequence(v int64) { + o.Sequence = v +} + +// GetStatus returns the Status field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetStatus() string { + if o == nil { + var ret string + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetStatus(v string) { + o.Status = v +} + +// GetTimestamp returns the Timestamp field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTimestamp() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Timestamp +} + +// GetTimestampOk returns a tuple with the Timestamp field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTimestampOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Timestamp, true +} + +// SetTimestamp sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetTimestamp(v int32) { + o.Timestamp = v +} + +// GetTransactionHash returns the TransactionHash field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTransactionHash() string { + if o == nil { + var ret string + return ret + } + + return o.TransactionHash +} + +// GetTransactionHashOk returns a tuple with the TransactionHash field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTransactionHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TransactionHash, true +} + +// SetTransactionHash sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetTransactionHash(v string) { + o.TransactionHash = v +} + +// GetType returns the Type field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetType(v string) { + o.Type = v +} + +// GetFee returns the Fee field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetFee() ListXRPRippleTransactionsByAddressRIFee { + if o == nil { + var ret ListXRPRippleTransactionsByAddressRIFee + return ret + } + + return o.Fee +} + +// GetFeeOk returns a tuple with the Fee field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetFeeOk() (*ListXRPRippleTransactionsByAddressRIFee, bool) { + if o == nil { + return nil, false + } + return &o.Fee, true +} + +// SetFee sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetFee(v ListXRPRippleTransactionsByAddressRIFee) { + o.Fee = v +} + +// GetOffer returns the Offer field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetOffer() ListXRPRippleTransactionsByAddressRIOffer { + if o == nil { + var ret ListXRPRippleTransactionsByAddressRIOffer + return ret + } + + return o.Offer +} + +// GetOfferOk returns a tuple with the Offer field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetOfferOk() (*ListXRPRippleTransactionsByAddressRIOffer, bool) { + if o == nil { + return nil, false + } + return &o.Offer, true +} + +// SetOffer sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetOffer(v ListXRPRippleTransactionsByAddressRIOffer) { + o.Offer = v +} + +// GetReceive returns the Receive field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetReceive() ListXRPRippleTransactionsByAddressRIReceive { + if o == nil { + var ret ListXRPRippleTransactionsByAddressRIReceive + return ret + } + + return o.Receive +} + +// GetReceiveOk returns a tuple with the Receive field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetReceiveOk() (*ListXRPRippleTransactionsByAddressRIReceive, bool) { + if o == nil { + return nil, false + } + return &o.Receive, true +} + +// SetReceive sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetReceive(v ListXRPRippleTransactionsByAddressRIReceive) { + o.Receive = v +} + +// GetValue returns the Value field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetValue() ListXRPRippleTransactionsByAddressRIValue { + if o == nil { + var ret ListXRPRippleTransactionsByAddressRIValue + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) GetValueOk() (*ListXRPRippleTransactionsByAddressRIValue, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *ListXRPRippleTransactionsByAddressAndTimeRangeRI) SetValue(v ListXRPRippleTransactionsByAddressRIValue) { + o.Value = v +} + +func (o ListXRPRippleTransactionsByAddressAndTimeRangeRI) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.DestinationTag != nil { + toSerialize["destinationTag"] = o.DestinationTag + } + if true { + toSerialize["index"] = o.Index + } + if true { + toSerialize["minedInBlockHash"] = o.MinedInBlockHash + } + if true { + toSerialize["minedInBlockHeight"] = o.MinedInBlockHeight + } + if true { + toSerialize["recipients"] = o.Recipients + } + if true { + toSerialize["senders"] = o.Senders + } + if true { + toSerialize["sequence"] = o.Sequence + } + if true { + toSerialize["status"] = o.Status + } + if true { + toSerialize["timestamp"] = o.Timestamp + } + if true { + toSerialize["transactionHash"] = o.TransactionHash + } + if true { + toSerialize["type"] = o.Type + } + if true { + toSerialize["fee"] = o.Fee + } + if true { + toSerialize["offer"] = o.Offer + } + if true { + toSerialize["receive"] = o.Receive + } + if true { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableListXRPRippleTransactionsByAddressAndTimeRangeRI struct { + value *ListXRPRippleTransactionsByAddressAndTimeRangeRI + isSet bool +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeRI) Get() *ListXRPRippleTransactionsByAddressAndTimeRangeRI { + return v.value +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeRI) Set(val *ListXRPRippleTransactionsByAddressAndTimeRangeRI) { + v.value = val + v.isSet = true +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeRI) IsSet() bool { + return v.isSet +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeRI) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListXRPRippleTransactionsByAddressAndTimeRangeRI(val *ListXRPRippleTransactionsByAddressAndTimeRangeRI) *NullableListXRPRippleTransactionsByAddressAndTimeRangeRI { + return &NullableListXRPRippleTransactionsByAddressAndTimeRangeRI{value: val, isSet: true} +} + +func (v NullableListXRPRippleTransactionsByAddressAndTimeRangeRI) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListXRPRippleTransactionsByAddressAndTimeRangeRI) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_list_xrp_ripple_transactions_by_address_e400.go b/model_list_xrp_ripple_transactions_by_address_e400.go index e136c08..3f5bf38 100644 --- a/model_list_xrp_ripple_transactions_by_address_e400.go +++ b/model_list_xrp_ripple_transactions_by_address_e400.go @@ -25,17 +25,23 @@ type ListXRPRippleTransactionsByAddressE400 struct { // InvalidPaginationAsListXRPRippleTransactionsByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListXRPRippleTransactionsByAddressE400 func InvalidPaginationAsListXRPRippleTransactionsByAddressE400(v *InvalidPagination) ListXRPRippleTransactionsByAddressE400 { - return ListXRPRippleTransactionsByAddressE400{ InvalidPagination: v} + return ListXRPRippleTransactionsByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListXRPRippleTransactionsByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListXRPRippleTransactionsByAddressE400 func LimitGreaterThanAllowedAsListXRPRippleTransactionsByAddressE400(v *LimitGreaterThanAllowed) ListXRPRippleTransactionsByAddressE400 { - return ListXRPRippleTransactionsByAddressE400{ LimitGreaterThanAllowed: v} + return ListXRPRippleTransactionsByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListXRPRippleTransactionsByAddressE400 is a convenience function that returns UriNotFound wrapped in ListXRPRippleTransactionsByAddressE400 func UriNotFoundAsListXRPRippleTransactionsByAddressE400(v *UriNotFound) ListXRPRippleTransactionsByAddressE400 { - return ListXRPRippleTransactionsByAddressE400{ UriNotFound: v} + return ListXRPRippleTransactionsByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListXRPRippleTransactionsByAddressE400) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListXRPRippleTransactionsByAddressE400) UnmarshalJSON(data []byte) er } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListXRPRippleTransactionsByAddressE400) UnmarshalJSON(data []byte) er } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListXRPRippleTransactionsByAddressE400) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListXRPRippleTransactionsByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_xrp_ripple_transactions_by_address_e401.go b/model_list_xrp_ripple_transactions_by_address_e401.go index 2438b85..203644e 100644 --- a/model_list_xrp_ripple_transactions_by_address_e401.go +++ b/model_list_xrp_ripple_transactions_by_address_e401.go @@ -24,12 +24,16 @@ type ListXRPRippleTransactionsByAddressE401 struct { // InvalidApiKeyAsListXRPRippleTransactionsByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListXRPRippleTransactionsByAddressE401 func InvalidApiKeyAsListXRPRippleTransactionsByAddressE401(v *InvalidApiKey) ListXRPRippleTransactionsByAddressE401 { - return ListXRPRippleTransactionsByAddressE401{ InvalidApiKey: v} + return ListXRPRippleTransactionsByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListXRPRippleTransactionsByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListXRPRippleTransactionsByAddressE401 func MissingApiKeyAsListXRPRippleTransactionsByAddressE401(v *MissingApiKey) ListXRPRippleTransactionsByAddressE401 { - return ListXRPRippleTransactionsByAddressE401{ MissingApiKey: v} + return ListXRPRippleTransactionsByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListXRPRippleTransactionsByAddressE401) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListXRPRippleTransactionsByAddressE401) UnmarshalJSON(data []byte) er } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListXRPRippleTransactionsByAddressE401) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListXRPRippleTransactionsByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_xrp_ripple_transactions_by_address_e403.go b/model_list_xrp_ripple_transactions_by_address_e403.go index 6567694..541311f 100644 --- a/model_list_xrp_ripple_transactions_by_address_e403.go +++ b/model_list_xrp_ripple_transactions_by_address_e403.go @@ -26,22 +26,30 @@ type ListXRPRippleTransactionsByAddressE403 struct { // BannedIpAddressAsListXRPRippleTransactionsByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListXRPRippleTransactionsByAddressE403 func BannedIpAddressAsListXRPRippleTransactionsByAddressE403(v *BannedIpAddress) ListXRPRippleTransactionsByAddressE403 { - return ListXRPRippleTransactionsByAddressE403{ BannedIpAddress: v} + return ListXRPRippleTransactionsByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListXRPRippleTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListXRPRippleTransactionsByAddressE403 func EndpointNotAllowedForApiKeyAsListXRPRippleTransactionsByAddressE403(v *EndpointNotAllowedForApiKey) ListXRPRippleTransactionsByAddressE403 { - return ListXRPRippleTransactionsByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListXRPRippleTransactionsByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListXRPRippleTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListXRPRippleTransactionsByAddressE403 func EndpointNotAllowedForPlanAsListXRPRippleTransactionsByAddressE403(v *EndpointNotAllowedForPlan) ListXRPRippleTransactionsByAddressE403 { - return ListXRPRippleTransactionsByAddressE403{ EndpointNotAllowedForPlan: v} + return ListXRPRippleTransactionsByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListXRPRippleTransactionsByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListXRPRippleTransactionsByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListXRPRippleTransactionsByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListXRPRippleTransactionsByAddressE403 { - return ListXRPRippleTransactionsByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListXRPRippleTransactionsByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListXRPRippleTransactionsByAddressE403) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListXRPRippleTransactionsByAddressE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListXRPRippleTransactionsByAddressE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListXRPRippleTransactionsByAddressE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListXRPRippleTransactionsByAddressE403) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListXRPRippleTransactionsByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_xrp_ripple_transactions_by_address_r.go b/model_list_xrp_ripple_transactions_by_address_r.go index 012bdf5..1da91f8 100644 --- a/model_list_xrp_ripple_transactions_by_address_r.go +++ b/model_list_xrp_ripple_transactions_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListXRPRippleTransactionsByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListXRPRippleTransactionsByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListXRPRippleTransactionsByAddressR) GetData() ListXRPRippleTransaction // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressR) GetDataOk() (*ListXRPRippleTransactionsByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_xrp_ripple_transactions_by_address_r_data.go b/model_list_xrp_ripple_transactions_by_address_r_data.go index 47ec56f..cfd5fe3 100644 --- a/model_list_xrp_ripple_transactions_by_address_r_data.go +++ b/model_list_xrp_ripple_transactions_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListXRPRippleTransactionsByAddressRData struct for ListXRPRippleTransactionsByAddressRData type ListXRPRippleTransactionsByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListXRPRippleTransactionsByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListXRPRippleTransactionsByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListXRPRippleTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListXRPRippleTransactionsByAddressRI) *ListXRPRippleTransactionsByAddressRData { +func NewListXRPRippleTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListXRPRippleTransactionsByAddressRI) *ListXRPRippleTransactionsByAddressRData { this := ListXRPRippleTransactionsByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListXRPRippleTransactionsByAddressRDataWithDefaults() *ListXRPRippleTran return &this } -// GetOffset returns the Offset field value -func (o *ListXRPRippleTransactionsByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListXRPRippleTransactionsByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListXRPRippleTransactionsByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListXRPRippleTransactionsByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListXRPRippleTransactionsByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListXRPRippleTransactionsByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListXRPRippleTransactionsByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListXRPRippleTransactionsByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListXRPRippleTransactionsByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListXRPRippleTransactionsByAddressRData) GetItems() []ListXRPRippleTran // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByAddressRData) GetItemsOk() (*[]ListXRPRippleTransactionsByAddressRI, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByAddressRData) GetItemsOk() ([]ListXRPRippleTransactionsByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListXRPRippleTransactionsByAddressRData) SetItems(v []ListXRPRippleTran func (o ListXRPRippleTransactionsByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_xrp_ripple_transactions_by_address_ri.go b/model_list_xrp_ripple_transactions_by_address_ri.go index 9e5e322..339c389 100644 --- a/model_list_xrp_ripple_transactions_by_address_ri.go +++ b/model_list_xrp_ripple_transactions_by_address_ri.go @@ -17,7 +17,7 @@ import ( // ListXRPRippleTransactionsByAddressRI struct for ListXRPRippleTransactionsByAddressRI type ListXRPRippleTransactionsByAddressRI struct { - DestinationTag *int32 `json:"destinationTag,omitempty"` + DestinationTag *int64 `json:"destinationTag,omitempty"` // Represents the index position of the transaction in the block. Index int32 `json:"index"` // Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. @@ -29,7 +29,7 @@ type ListXRPRippleTransactionsByAddressRI struct { // Represents an object of addresses that provide the funds. Senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders `json:"senders"` // Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Defines the status of the transaction. Status string `json:"status"` // Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. @@ -48,7 +48,7 @@ type ListXRPRippleTransactionsByAddressRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListXRPRippleTransactionsByAddressRI(index int32, minedInBlockHash string, minedInBlockHeight int32, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int32, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByAddressRIFee, offer ListXRPRippleTransactionsByAddressRIOffer, receive ListXRPRippleTransactionsByAddressRIReceive, value ListXRPRippleTransactionsByAddressRIValue) *ListXRPRippleTransactionsByAddressRI { +func NewListXRPRippleTransactionsByAddressRI(index int32, minedInBlockHash string, minedInBlockHeight int32, recipients []GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, senders []GetXRPRippleTransactionDetailsByTransactionIDRISenders, sequence int64, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByAddressRIFee, offer ListXRPRippleTransactionsByAddressRIOffer, receive ListXRPRippleTransactionsByAddressRIReceive, value ListXRPRippleTransactionsByAddressRIValue) *ListXRPRippleTransactionsByAddressRI { this := ListXRPRippleTransactionsByAddressRI{} this.Index = index this.MinedInBlockHash = minedInBlockHash @@ -76,9 +76,9 @@ func NewListXRPRippleTransactionsByAddressRIWithDefaults() *ListXRPRippleTransac } // GetDestinationTag returns the DestinationTag field value if set, zero value otherwise. -func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTag() int32 { +func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTag() int64 { if o == nil || o.DestinationTag == nil { - var ret int32 + var ret int64 return ret } return *o.DestinationTag @@ -86,7 +86,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTag() int32 { // GetDestinationTagOk returns a tuple with the DestinationTag field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTagOk() (*int32, bool) { +func (o *ListXRPRippleTransactionsByAddressRI) GetDestinationTagOk() (*int64, bool) { if o == nil || o.DestinationTag == nil { return nil, false } @@ -102,8 +102,8 @@ func (o *ListXRPRippleTransactionsByAddressRI) HasDestinationTag() bool { return false } -// SetDestinationTag gets a reference to the given int32 and assigns it to the DestinationTag field. -func (o *ListXRPRippleTransactionsByAddressRI) SetDestinationTag(v int32) { +// SetDestinationTag gets a reference to the given int64 and assigns it to the DestinationTag field. +func (o *ListXRPRippleTransactionsByAddressRI) SetDestinationTag(v int64) { o.DestinationTag = &v } @@ -120,7 +120,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -144,7 +144,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -168,7 +168,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -191,11 +191,11 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetRecipients() []GetXRPRippleTra // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByAddressRI) GetRecipientsOk() (*[]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByAddressRI) GetRecipientsOk() ([]GetXRPRippleTransactionDetailsByTransactionIDRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -215,11 +215,11 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetSenders() []GetXRPRippleTransa // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByAddressRI) GetSendersOk() (*[]GetXRPRippleTransactionDetailsByTransactionIDRISenders, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByAddressRI) GetSendersOk() ([]GetXRPRippleTransactionDetailsByTransactionIDRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -228,9 +228,9 @@ func (o *ListXRPRippleTransactionsByAddressRI) SetSenders(v []GetXRPRippleTransa } // GetSequence returns the Sequence field value -func (o *ListXRPRippleTransactionsByAddressRI) GetSequence() int32 { +func (o *ListXRPRippleTransactionsByAddressRI) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -239,15 +239,15 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByAddressRI) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByAddressRI) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *ListXRPRippleTransactionsByAddressRI) SetSequence(v int32) { +func (o *ListXRPRippleTransactionsByAddressRI) SetSequence(v int64) { o.Sequence = v } @@ -264,7 +264,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetStatus() string { // GetStatusOk returns a tuple with the Status field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Status, true @@ -288,7 +288,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -312,7 +312,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -336,7 +336,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -360,7 +360,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetFee() ListXRPRippleTransaction // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetFeeOk() (*ListXRPRippleTransactionsByAddressRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -384,7 +384,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetOffer() ListXRPRippleTransacti // GetOfferOk returns a tuple with the Offer field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetOfferOk() (*ListXRPRippleTransactionsByAddressRIOffer, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Offer, true @@ -408,7 +408,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetReceive() ListXRPRippleTransac // GetReceiveOk returns a tuple with the Receive field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetReceiveOk() (*ListXRPRippleTransactionsByAddressRIReceive, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Receive, true @@ -432,7 +432,7 @@ func (o *ListXRPRippleTransactionsByAddressRI) GetValue() ListXRPRippleTransacti // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRI) GetValueOk() (*ListXRPRippleTransactionsByAddressRIValue, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_xrp_ripple_transactions_by_address_ri_fee.go b/model_list_xrp_ripple_transactions_by_address_ri_fee.go index a66230c..f5e491e 100644 --- a/model_list_xrp_ripple_transactions_by_address_ri_fee.go +++ b/model_list_xrp_ripple_transactions_by_address_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByAddressRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByAddressRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_address_ri_offer.go b/model_list_xrp_ripple_transactions_by_address_ri_offer.go index 6c6b7ab..a73e046 100644 --- a/model_list_xrp_ripple_transactions_by_address_ri_offer.go +++ b/model_list_xrp_ripple_transactions_by_address_ri_offer.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByAddressRIOffer) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRIOffer) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByAddressRIOffer) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRIOffer) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_address_ri_receive.go b/model_list_xrp_ripple_transactions_by_address_ri_receive.go index 28c2426..87555ac 100644 --- a/model_list_xrp_ripple_transactions_by_address_ri_receive.go +++ b/model_list_xrp_ripple_transactions_by_address_ri_receive.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByAddressRIReceive) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRIReceive) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByAddressRIReceive) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRIReceive) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_address_ri_value.go b/model_list_xrp_ripple_transactions_by_address_ri_value.go index 5cf7e53..773380f 100644 --- a/model_list_xrp_ripple_transactions_by_address_ri_value.go +++ b/model_list_xrp_ripple_transactions_by_address_ri_value.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByAddressRIValue) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRIValue) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByAddressRIValue) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByAddressRIValue) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_block_hash_e400.go b/model_list_xrp_ripple_transactions_by_block_hash_e400.go index 0138b8a..937004d 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_e400.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_e400.go @@ -25,17 +25,23 @@ type ListXRPRippleTransactionsByBlockHashE400 struct { // InvalidPaginationAsListXRPRippleTransactionsByBlockHashE400 is a convenience function that returns InvalidPagination wrapped in ListXRPRippleTransactionsByBlockHashE400 func InvalidPaginationAsListXRPRippleTransactionsByBlockHashE400(v *InvalidPagination) ListXRPRippleTransactionsByBlockHashE400 { - return ListXRPRippleTransactionsByBlockHashE400{ InvalidPagination: v} + return ListXRPRippleTransactionsByBlockHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListXRPRippleTransactionsByBlockHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListXRPRippleTransactionsByBlockHashE400 func LimitGreaterThanAllowedAsListXRPRippleTransactionsByBlockHashE400(v *LimitGreaterThanAllowed) ListXRPRippleTransactionsByBlockHashE400 { - return ListXRPRippleTransactionsByBlockHashE400{ LimitGreaterThanAllowed: v} + return ListXRPRippleTransactionsByBlockHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListXRPRippleTransactionsByBlockHashE400 is a convenience function that returns UriNotFound wrapped in ListXRPRippleTransactionsByBlockHashE400 func UriNotFoundAsListXRPRippleTransactionsByBlockHashE400(v *UriNotFound) ListXRPRippleTransactionsByBlockHashE400 { - return ListXRPRippleTransactionsByBlockHashE400{ UriNotFound: v} + return ListXRPRippleTransactionsByBlockHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE400) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE400) UnmarshalJSON(data []byte) } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE400) UnmarshalJSON(data []byte) } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListXRPRippleTransactionsByBlockHashE400) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListXRPRippleTransactionsByBlockHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_xrp_ripple_transactions_by_block_hash_e401.go b/model_list_xrp_ripple_transactions_by_block_hash_e401.go index 43997e6..e04929e 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_e401.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_e401.go @@ -24,12 +24,16 @@ type ListXRPRippleTransactionsByBlockHashE401 struct { // InvalidApiKeyAsListXRPRippleTransactionsByBlockHashE401 is a convenience function that returns InvalidApiKey wrapped in ListXRPRippleTransactionsByBlockHashE401 func InvalidApiKeyAsListXRPRippleTransactionsByBlockHashE401(v *InvalidApiKey) ListXRPRippleTransactionsByBlockHashE401 { - return ListXRPRippleTransactionsByBlockHashE401{ InvalidApiKey: v} + return ListXRPRippleTransactionsByBlockHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListXRPRippleTransactionsByBlockHashE401 is a convenience function that returns MissingApiKey wrapped in ListXRPRippleTransactionsByBlockHashE401 func MissingApiKeyAsListXRPRippleTransactionsByBlockHashE401(v *MissingApiKey) ListXRPRippleTransactionsByBlockHashE401 { - return ListXRPRippleTransactionsByBlockHashE401{ MissingApiKey: v} + return ListXRPRippleTransactionsByBlockHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE401) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE401) UnmarshalJSON(data []byte) } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListXRPRippleTransactionsByBlockHashE401) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListXRPRippleTransactionsByBlockHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_xrp_ripple_transactions_by_block_hash_e403.go b/model_list_xrp_ripple_transactions_by_block_hash_e403.go index efbc49a..688ddec 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_e403.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_e403.go @@ -26,22 +26,30 @@ type ListXRPRippleTransactionsByBlockHashE403 struct { // BannedIpAddressAsListXRPRippleTransactionsByBlockHashE403 is a convenience function that returns BannedIpAddress wrapped in ListXRPRippleTransactionsByBlockHashE403 func BannedIpAddressAsListXRPRippleTransactionsByBlockHashE403(v *BannedIpAddress) ListXRPRippleTransactionsByBlockHashE403 { - return ListXRPRippleTransactionsByBlockHashE403{ BannedIpAddress: v} + return ListXRPRippleTransactionsByBlockHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListXRPRippleTransactionsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListXRPRippleTransactionsByBlockHashE403 func EndpointNotAllowedForApiKeyAsListXRPRippleTransactionsByBlockHashE403(v *EndpointNotAllowedForApiKey) ListXRPRippleTransactionsByBlockHashE403 { - return ListXRPRippleTransactionsByBlockHashE403{ EndpointNotAllowedForApiKey: v} + return ListXRPRippleTransactionsByBlockHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListXRPRippleTransactionsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListXRPRippleTransactionsByBlockHashE403 func EndpointNotAllowedForPlanAsListXRPRippleTransactionsByBlockHashE403(v *EndpointNotAllowedForPlan) ListXRPRippleTransactionsByBlockHashE403 { - return ListXRPRippleTransactionsByBlockHashE403{ EndpointNotAllowedForPlan: v} + return ListXRPRippleTransactionsByBlockHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListXRPRippleTransactionsByBlockHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListXRPRippleTransactionsByBlockHashE403 func FeatureMainnetsNotAllowedForPlanAsListXRPRippleTransactionsByBlockHashE403(v *FeatureMainnetsNotAllowedForPlan) ListXRPRippleTransactionsByBlockHashE403 { - return ListXRPRippleTransactionsByBlockHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListXRPRippleTransactionsByBlockHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE403) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListXRPRippleTransactionsByBlockHashE403) UnmarshalJSON(data []byte) } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListXRPRippleTransactionsByBlockHashE403) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListXRPRippleTransactionsByBlockHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_xrp_ripple_transactions_by_block_hash_r.go b/model_list_xrp_ripple_transactions_by_block_hash_r.go index 8dca4e6..a2b1b4a 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_r.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_r.go @@ -59,7 +59,7 @@ func (o *ListXRPRippleTransactionsByBlockHashR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListXRPRippleTransactionsByBlockHashR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListXRPRippleTransactionsByBlockHashR) GetData() ListXRPRippleTransacti // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashR) GetDataOk() (*ListXRPRippleTransactionsByBlockHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_xrp_ripple_transactions_by_block_hash_r_data.go b/model_list_xrp_ripple_transactions_by_block_hash_r_data.go index 2438971..e370ca1 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_r_data.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_r_data.go @@ -17,10 +17,10 @@ import ( // ListXRPRippleTransactionsByBlockHashRData struct for ListXRPRippleTransactionsByBlockHashRData type ListXRPRippleTransactionsByBlockHashRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListXRPRippleTransactionsByBlockHashRI `json:"items"` @@ -30,10 +30,10 @@ type ListXRPRippleTransactionsByBlockHashRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListXRPRippleTransactionsByBlockHashRData(offset int32, limit int32, total int32, items []ListXRPRippleTransactionsByBlockHashRI) *ListXRPRippleTransactionsByBlockHashRData { +func NewListXRPRippleTransactionsByBlockHashRData(limit int32, offset int32, total int32, items []ListXRPRippleTransactionsByBlockHashRI) *ListXRPRippleTransactionsByBlockHashRData { this := ListXRPRippleTransactionsByBlockHashRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListXRPRippleTransactionsByBlockHashRDataWithDefaults() *ListXRPRippleTr return &this } -// GetOffset returns the Offset field value -func (o *ListXRPRippleTransactionsByBlockHashRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListXRPRippleTransactionsByBlockHashRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHashRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListXRPRippleTransactionsByBlockHashRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListXRPRippleTransactionsByBlockHashRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListXRPRippleTransactionsByBlockHashRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListXRPRippleTransactionsByBlockHashRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHashRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListXRPRippleTransactionsByBlockHashRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListXRPRippleTransactionsByBlockHashRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListXRPRippleTransactionsByBlockHashRData) GetItems() []ListXRPRippleTr // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHashRData) GetItemsOk() (*[]ListXRPRippleTransactionsByBlockHashRI, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHashRData) GetItemsOk() ([]ListXRPRippleTransactionsByBlockHashRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListXRPRippleTransactionsByBlockHashRData) SetItems(v []ListXRPRippleTr func (o ListXRPRippleTransactionsByBlockHashRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_xrp_ripple_transactions_by_block_hash_ri.go b/model_list_xrp_ripple_transactions_by_block_hash_ri.go index e142540..a612290 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_ri.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_ri.go @@ -19,7 +19,7 @@ import ( type ListXRPRippleTransactionsByBlockHashRI struct { // Represents any additional data that may be needed. AdditionalData *string `json:"additionalData,omitempty"` - DestinationTag *int32 `json:"destinationTag,omitempty"` + DestinationTag *int64 `json:"destinationTag,omitempty"` // Represents the index position of the transaction in the specific block. Index int32 `json:"index"` // Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. @@ -29,7 +29,7 @@ type ListXRPRippleTransactionsByBlockHashRI struct { // Represents an object of addresses that provide the funds. Senders []ListXRPRippleTransactionsByBlockHashRISenders `json:"senders"` // Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime. - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` // Defines the status of the transaction. Status string `json:"status"` // Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. @@ -48,7 +48,7 @@ type ListXRPRippleTransactionsByBlockHashRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListXRPRippleTransactionsByBlockHashRI(index int32, minedInBlockHeight int32, recipients []ListXRPRippleTransactionsByBlockHashRIRecipients, senders []ListXRPRippleTransactionsByBlockHashRISenders, sequence int32, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByBlockHashRIFee, offer ListXRPRippleTransactionsByBlockHashRIOffer, receive ListXRPRippleTransactionsByBlockHashRIReceive, value ListXRPRippleTransactionsByBlockHashRIValue) *ListXRPRippleTransactionsByBlockHashRI { +func NewListXRPRippleTransactionsByBlockHashRI(index int32, minedInBlockHeight int32, recipients []ListXRPRippleTransactionsByBlockHashRIRecipients, senders []ListXRPRippleTransactionsByBlockHashRISenders, sequence int64, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByBlockHashRIFee, offer ListXRPRippleTransactionsByBlockHashRIOffer, receive ListXRPRippleTransactionsByBlockHashRIReceive, value ListXRPRippleTransactionsByBlockHashRIValue) *ListXRPRippleTransactionsByBlockHashRI { this := ListXRPRippleTransactionsByBlockHashRI{} this.Index = index this.MinedInBlockHeight = minedInBlockHeight @@ -107,9 +107,9 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) SetAdditionalData(v string) { } // GetDestinationTag returns the DestinationTag field value if set, zero value otherwise. -func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTag() int32 { +func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTag() int64 { if o == nil || o.DestinationTag == nil { - var ret int32 + var ret int64 return ret } return *o.DestinationTag @@ -117,7 +117,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTag() int32 { // GetDestinationTagOk returns a tuple with the DestinationTag field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTagOk() (*int32, bool) { +func (o *ListXRPRippleTransactionsByBlockHashRI) GetDestinationTagOk() (*int64, bool) { if o == nil || o.DestinationTag == nil { return nil, false } @@ -133,8 +133,8 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) HasDestinationTag() bool { return false } -// SetDestinationTag gets a reference to the given int32 and assigns it to the DestinationTag field. -func (o *ListXRPRippleTransactionsByBlockHashRI) SetDestinationTag(v int32) { +// SetDestinationTag gets a reference to the given int64 and assigns it to the DestinationTag field. +func (o *ListXRPRippleTransactionsByBlockHashRI) SetDestinationTag(v int64) { o.DestinationTag = &v } @@ -151,7 +151,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -175,7 +175,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -198,11 +198,11 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetRecipients() []ListXRPRipple // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHashRI) GetRecipientsOk() (*[]ListXRPRippleTransactionsByBlockHashRIRecipients, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHashRI) GetRecipientsOk() ([]ListXRPRippleTransactionsByBlockHashRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -222,11 +222,11 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetSenders() []ListXRPRippleTra // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHashRI) GetSendersOk() (*[]ListXRPRippleTransactionsByBlockHashRISenders, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHashRI) GetSendersOk() ([]ListXRPRippleTransactionsByBlockHashRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -235,9 +235,9 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) SetSenders(v []ListXRPRippleTra } // GetSequence returns the Sequence field value -func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequence() int32 { +func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -246,15 +246,15 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHashRI) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *ListXRPRippleTransactionsByBlockHashRI) SetSequence(v int32) { +func (o *ListXRPRippleTransactionsByBlockHashRI) SetSequence(v int64) { o.Sequence = v } @@ -271,7 +271,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetStatus() string { // GetStatusOk returns a tuple with the Status field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Status, true @@ -295,7 +295,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -319,7 +319,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -343,7 +343,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -367,7 +367,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetFee() ListXRPRippleTransacti // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetFeeOk() (*ListXRPRippleTransactionsByBlockHashRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -391,7 +391,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetOffer() ListXRPRippleTransac // GetOfferOk returns a tuple with the Offer field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetOfferOk() (*ListXRPRippleTransactionsByBlockHashRIOffer, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Offer, true @@ -415,7 +415,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetReceive() ListXRPRippleTrans // GetReceiveOk returns a tuple with the Receive field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetReceiveOk() (*ListXRPRippleTransactionsByBlockHashRIReceive, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Receive, true @@ -439,7 +439,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRI) GetValue() ListXRPRippleTransac // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRI) GetValueOk() (*ListXRPRippleTransactionsByBlockHashRIValue, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_xrp_ripple_transactions_by_block_hash_ri_fee.go b/model_list_xrp_ripple_transactions_by_block_hash_ri_fee.go index c3a400c..ae87479 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_ri_fee.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_ri_fee.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_block_hash_ri_offer.go b/model_list_xrp_ripple_transactions_by_block_hash_ri_offer.go index ff53687..234c556 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_ri_offer.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_ri_offer.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIOffer) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIOffer) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIOffer) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIOffer) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_block_hash_ri_receive.go b/model_list_xrp_ripple_transactions_by_block_hash_ri_receive.go index fec3b42..70ec70d 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_ri_receive.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_ri_receive.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIReceive) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIReceive) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIReceive) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIReceive) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_block_hash_ri_recipients.go b/model_list_xrp_ripple_transactions_by_block_hash_ri_recipients.go index ed2dc74..ddf8244 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_ri_recipients.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_ri_recipients.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_xrp_ripple_transactions_by_block_hash_ri_senders.go b/model_list_xrp_ripple_transactions_by_block_hash_ri_senders.go index b0d4edf..b10421c 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_ri_senders.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_ri_senders.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_xrp_ripple_transactions_by_block_hash_ri_value.go b/model_list_xrp_ripple_transactions_by_block_hash_ri_value.go index 18e40c8..0ae8141 100644 --- a/model_list_xrp_ripple_transactions_by_block_hash_ri_value.go +++ b/model_list_xrp_ripple_transactions_by_block_hash_ri_value.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIValue) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIValue) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByBlockHashRIValue) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHashRIValue) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_block_height_e400.go b/model_list_xrp_ripple_transactions_by_block_height_e400.go index b46b432..420ba6a 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_e400.go +++ b/model_list_xrp_ripple_transactions_by_block_height_e400.go @@ -25,17 +25,23 @@ type ListXRPRippleTransactionsByBlockHeightE400 struct { // InvalidPaginationAsListXRPRippleTransactionsByBlockHeightE400 is a convenience function that returns InvalidPagination wrapped in ListXRPRippleTransactionsByBlockHeightE400 func InvalidPaginationAsListXRPRippleTransactionsByBlockHeightE400(v *InvalidPagination) ListXRPRippleTransactionsByBlockHeightE400 { - return ListXRPRippleTransactionsByBlockHeightE400{ InvalidPagination: v} + return ListXRPRippleTransactionsByBlockHeightE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListXRPRippleTransactionsByBlockHeightE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListXRPRippleTransactionsByBlockHeightE400 func LimitGreaterThanAllowedAsListXRPRippleTransactionsByBlockHeightE400(v *LimitGreaterThanAllowed) ListXRPRippleTransactionsByBlockHeightE400 { - return ListXRPRippleTransactionsByBlockHeightE400{ LimitGreaterThanAllowed: v} + return ListXRPRippleTransactionsByBlockHeightE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListXRPRippleTransactionsByBlockHeightE400 is a convenience function that returns UriNotFound wrapped in ListXRPRippleTransactionsByBlockHeightE400 func UriNotFoundAsListXRPRippleTransactionsByBlockHeightE400(v *UriNotFound) ListXRPRippleTransactionsByBlockHeightE400 { - return ListXRPRippleTransactionsByBlockHeightE400{ UriNotFound: v} + return ListXRPRippleTransactionsByBlockHeightE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE400) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE400) UnmarshalJSON(data []byte } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE400) UnmarshalJSON(data []byte } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListXRPRippleTransactionsByBlockHeightE400) MarshalJSON() ([]byte, err // Get the actual instance func (obj *ListXRPRippleTransactionsByBlockHeightE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_xrp_ripple_transactions_by_block_height_e401.go b/model_list_xrp_ripple_transactions_by_block_height_e401.go index 7240ab0..4157d45 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_e401.go +++ b/model_list_xrp_ripple_transactions_by_block_height_e401.go @@ -24,12 +24,16 @@ type ListXRPRippleTransactionsByBlockHeightE401 struct { // InvalidApiKeyAsListXRPRippleTransactionsByBlockHeightE401 is a convenience function that returns InvalidApiKey wrapped in ListXRPRippleTransactionsByBlockHeightE401 func InvalidApiKeyAsListXRPRippleTransactionsByBlockHeightE401(v *InvalidApiKey) ListXRPRippleTransactionsByBlockHeightE401 { - return ListXRPRippleTransactionsByBlockHeightE401{ InvalidApiKey: v} + return ListXRPRippleTransactionsByBlockHeightE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListXRPRippleTransactionsByBlockHeightE401 is a convenience function that returns MissingApiKey wrapped in ListXRPRippleTransactionsByBlockHeightE401 func MissingApiKeyAsListXRPRippleTransactionsByBlockHeightE401(v *MissingApiKey) ListXRPRippleTransactionsByBlockHeightE401 { - return ListXRPRippleTransactionsByBlockHeightE401{ MissingApiKey: v} + return ListXRPRippleTransactionsByBlockHeightE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE401) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE401) UnmarshalJSON(data []byte } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListXRPRippleTransactionsByBlockHeightE401) MarshalJSON() ([]byte, err // Get the actual instance func (obj *ListXRPRippleTransactionsByBlockHeightE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_xrp_ripple_transactions_by_block_height_e403.go b/model_list_xrp_ripple_transactions_by_block_height_e403.go index 41d9855..095a15c 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_e403.go +++ b/model_list_xrp_ripple_transactions_by_block_height_e403.go @@ -26,22 +26,30 @@ type ListXRPRippleTransactionsByBlockHeightE403 struct { // BannedIpAddressAsListXRPRippleTransactionsByBlockHeightE403 is a convenience function that returns BannedIpAddress wrapped in ListXRPRippleTransactionsByBlockHeightE403 func BannedIpAddressAsListXRPRippleTransactionsByBlockHeightE403(v *BannedIpAddress) ListXRPRippleTransactionsByBlockHeightE403 { - return ListXRPRippleTransactionsByBlockHeightE403{ BannedIpAddress: v} + return ListXRPRippleTransactionsByBlockHeightE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListXRPRippleTransactionsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListXRPRippleTransactionsByBlockHeightE403 func EndpointNotAllowedForApiKeyAsListXRPRippleTransactionsByBlockHeightE403(v *EndpointNotAllowedForApiKey) ListXRPRippleTransactionsByBlockHeightE403 { - return ListXRPRippleTransactionsByBlockHeightE403{ EndpointNotAllowedForApiKey: v} + return ListXRPRippleTransactionsByBlockHeightE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListXRPRippleTransactionsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListXRPRippleTransactionsByBlockHeightE403 func EndpointNotAllowedForPlanAsListXRPRippleTransactionsByBlockHeightE403(v *EndpointNotAllowedForPlan) ListXRPRippleTransactionsByBlockHeightE403 { - return ListXRPRippleTransactionsByBlockHeightE403{ EndpointNotAllowedForPlan: v} + return ListXRPRippleTransactionsByBlockHeightE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListXRPRippleTransactionsByBlockHeightE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListXRPRippleTransactionsByBlockHeightE403 func FeatureMainnetsNotAllowedForPlanAsListXRPRippleTransactionsByBlockHeightE403(v *FeatureMainnetsNotAllowedForPlan) ListXRPRippleTransactionsByBlockHeightE403 { - return ListXRPRippleTransactionsByBlockHeightE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListXRPRippleTransactionsByBlockHeightE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE403) UnmarshalJSON(data []byte var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE403) UnmarshalJSON(data []byte } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE403) UnmarshalJSON(data []byte } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListXRPRippleTransactionsByBlockHeightE403) UnmarshalJSON(data []byte } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListXRPRippleTransactionsByBlockHeightE403) MarshalJSON() ([]byte, err // Get the actual instance func (obj *ListXRPRippleTransactionsByBlockHeightE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_xrp_ripple_transactions_by_block_height_r.go b/model_list_xrp_ripple_transactions_by_block_height_r.go index 7604282..3ef016e 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_r.go +++ b/model_list_xrp_ripple_transactions_by_block_height_r.go @@ -59,7 +59,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightR) GetData() ListXRPRippleTransac // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightR) GetDataOk() (*ListXRPRippleTransactionsByBlockHeightRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_xrp_ripple_transactions_by_block_height_r_data.go b/model_list_xrp_ripple_transactions_by_block_height_r_data.go index dcb403d..ed6affe 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_r_data.go +++ b/model_list_xrp_ripple_transactions_by_block_height_r_data.go @@ -17,10 +17,10 @@ import ( // ListXRPRippleTransactionsByBlockHeightRData struct for ListXRPRippleTransactionsByBlockHeightRData type ListXRPRippleTransactionsByBlockHeightRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListXRPRippleTransactionsByBlockHeightRI `json:"items"` @@ -30,10 +30,10 @@ type ListXRPRippleTransactionsByBlockHeightRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListXRPRippleTransactionsByBlockHeightRData(offset int32, limit int32, total int32, items []ListXRPRippleTransactionsByBlockHeightRI) *ListXRPRippleTransactionsByBlockHeightRData { +func NewListXRPRippleTransactionsByBlockHeightRData(limit int32, offset int32, total int32, items []ListXRPRippleTransactionsByBlockHeightRI) *ListXRPRippleTransactionsByBlockHeightRData { this := ListXRPRippleTransactionsByBlockHeightRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListXRPRippleTransactionsByBlockHeightRDataWithDefaults() *ListXRPRipple return &this } -// GetOffset returns the Offset field value -func (o *ListXRPRippleTransactionsByBlockHeightRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListXRPRippleTransactionsByBlockHeightRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListXRPRippleTransactionsByBlockHeightRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListXRPRippleTransactionsByBlockHeightRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListXRPRippleTransactionsByBlockHeightRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListXRPRippleTransactionsByBlockHeightRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListXRPRippleTransactionsByBlockHeightRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListXRPRippleTransactionsByBlockHeightRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListXRPRippleTransactionsByBlockHeightRData) GetItems() []ListXRPRipple // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHeightRData) GetItemsOk() (*[]ListXRPRippleTransactionsByBlockHeightRI, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHeightRData) GetItemsOk() ([]ListXRPRippleTransactionsByBlockHeightRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListXRPRippleTransactionsByBlockHeightRData) SetItems(v []ListXRPRipple func (o ListXRPRippleTransactionsByBlockHeightRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_xrp_ripple_transactions_by_block_height_ri.go b/model_list_xrp_ripple_transactions_by_block_height_ri.go index 83afe30..2602492 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_ri.go +++ b/model_list_xrp_ripple_transactions_by_block_height_ri.go @@ -18,14 +18,14 @@ import ( // ListXRPRippleTransactionsByBlockHeightRI struct for ListXRPRippleTransactionsByBlockHeightRI type ListXRPRippleTransactionsByBlockHeightRI struct { AdditionalData *string `json:"additionalData,omitempty"` - DestinationTag *int32 `json:"destinationTag,omitempty"` + DestinationTag *int64 `json:"destinationTag,omitempty"` Index int32 `json:"index"` MinedInBlockHash string `json:"minedInBlockHash"` // Object Array representation of transaction receivers Recipients []ListXRPRippleTransactionsByBlockHeightRIRecipients `json:"recipients"` // Object Array representation of transaction senders Senders []ListXRPRippleTransactionsByBlockHeightRISenders `json:"senders"` - Sequence int32 `json:"sequence"` + Sequence int64 `json:"sequence"` Status string `json:"status"` // Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed. Timestamp int32 `json:"timestamp"` @@ -41,7 +41,7 @@ type ListXRPRippleTransactionsByBlockHeightRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListXRPRippleTransactionsByBlockHeightRI(index int32, minedInBlockHash string, recipients []ListXRPRippleTransactionsByBlockHeightRIRecipients, senders []ListXRPRippleTransactionsByBlockHeightRISenders, sequence int32, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByBlockHeightRIFee, offer ListXRPRippleTransactionsByBlockHeightRIOffer, receive ListXRPRippleTransactionsByBlockHeightRIReceive, value ListXRPRippleTransactionsByBlockHeightRIValue) *ListXRPRippleTransactionsByBlockHeightRI { +func NewListXRPRippleTransactionsByBlockHeightRI(index int32, minedInBlockHash string, recipients []ListXRPRippleTransactionsByBlockHeightRIRecipients, senders []ListXRPRippleTransactionsByBlockHeightRISenders, sequence int64, status string, timestamp int32, transactionHash string, type_ string, fee ListXRPRippleTransactionsByBlockHeightRIFee, offer ListXRPRippleTransactionsByBlockHeightRIOffer, receive ListXRPRippleTransactionsByBlockHeightRIReceive, value ListXRPRippleTransactionsByBlockHeightRIValue) *ListXRPRippleTransactionsByBlockHeightRI { this := ListXRPRippleTransactionsByBlockHeightRI{} this.Index = index this.MinedInBlockHash = minedInBlockHash @@ -100,9 +100,9 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) SetAdditionalData(v string) { } // GetDestinationTag returns the DestinationTag field value if set, zero value otherwise. -func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTag() int32 { +func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTag() int64 { if o == nil || o.DestinationTag == nil { - var ret int32 + var ret int64 return ret } return *o.DestinationTag @@ -110,7 +110,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTag() int32 { // GetDestinationTagOk returns a tuple with the DestinationTag field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTagOk() (*int32, bool) { +func (o *ListXRPRippleTransactionsByBlockHeightRI) GetDestinationTagOk() (*int64, bool) { if o == nil || o.DestinationTag == nil { return nil, false } @@ -126,8 +126,8 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) HasDestinationTag() bool { return false } -// SetDestinationTag gets a reference to the given int32 and assigns it to the DestinationTag field. -func (o *ListXRPRippleTransactionsByBlockHeightRI) SetDestinationTag(v int32) { +// SetDestinationTag gets a reference to the given int64 and assigns it to the DestinationTag field. +func (o *ListXRPRippleTransactionsByBlockHeightRI) SetDestinationTag(v int64) { o.DestinationTag = &v } @@ -144,7 +144,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetIndex() int32 { // GetIndexOk returns a tuple with the Index field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Index, true @@ -168,7 +168,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetMinedInBlockHash() string // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -191,11 +191,11 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetRecipients() []ListXRPRipp // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHeightRI) GetRecipientsOk() (*[]ListXRPRippleTransactionsByBlockHeightRIRecipients, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHeightRI) GetRecipientsOk() ([]ListXRPRippleTransactionsByBlockHeightRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -215,11 +215,11 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSenders() []ListXRPRippleT // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSendersOk() (*[]ListXRPRippleTransactionsByBlockHeightRISenders, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSendersOk() ([]ListXRPRippleTransactionsByBlockHeightRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -228,9 +228,9 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) SetSenders(v []ListXRPRippleT } // GetSequence returns the Sequence field value -func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequence() int32 { +func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequence() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -239,15 +239,15 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequence() int32 { // GetSequenceOk returns a tuple with the Sequence field value // and a boolean to check if the value has been set. -func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequenceOk() (*int32, bool) { - if o == nil { +func (o *ListXRPRippleTransactionsByBlockHeightRI) GetSequenceOk() (*int64, bool) { + if o == nil { return nil, false } return &o.Sequence, true } // SetSequence sets field value -func (o *ListXRPRippleTransactionsByBlockHeightRI) SetSequence(v int32) { +func (o *ListXRPRippleTransactionsByBlockHeightRI) SetSequence(v int64) { o.Sequence = v } @@ -264,7 +264,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetStatus() string { // GetStatusOk returns a tuple with the Status field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Status, true @@ -288,7 +288,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -312,7 +312,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -336,7 +336,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetType() string { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Type, true @@ -360,7 +360,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetFee() ListXRPRippleTransac // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetFeeOk() (*ListXRPRippleTransactionsByBlockHeightRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -384,7 +384,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetOffer() ListXRPRippleTrans // GetOfferOk returns a tuple with the Offer field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetOfferOk() (*ListXRPRippleTransactionsByBlockHeightRIOffer, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Offer, true @@ -408,7 +408,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetReceive() ListXRPRippleTra // GetReceiveOk returns a tuple with the Receive field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetReceiveOk() (*ListXRPRippleTransactionsByBlockHeightRIReceive, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Receive, true @@ -432,7 +432,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRI) GetValue() ListXRPRippleTrans // GetValueOk returns a tuple with the Value field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRI) GetValueOk() (*ListXRPRippleTransactionsByBlockHeightRIValue, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Value, true diff --git a/model_list_xrp_ripple_transactions_by_block_height_ri_fee.go b/model_list_xrp_ripple_transactions_by_block_height_ri_fee.go index 53df2ce..25644b5 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_ri_fee.go +++ b/model_list_xrp_ripple_transactions_by_block_height_ri_fee.go @@ -53,7 +53,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIFee) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIFee) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -77,7 +77,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIFee) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIFee) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_block_height_ri_offer.go b/model_list_xrp_ripple_transactions_by_block_height_ri_offer.go index e81455e..5aacc07 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_ri_offer.go +++ b/model_list_xrp_ripple_transactions_by_block_height_ri_offer.go @@ -53,7 +53,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIOffer) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIOffer) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -77,7 +77,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIOffer) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIOffer) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_block_height_ri_receive.go b/model_list_xrp_ripple_transactions_by_block_height_ri_receive.go index 404026a..0561965 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_ri_receive.go +++ b/model_list_xrp_ripple_transactions_by_block_height_ri_receive.go @@ -53,7 +53,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIReceive) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIReceive) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -77,7 +77,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIReceive) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIReceive) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_xrp_ripple_transactions_by_block_height_ri_recipients.go b/model_list_xrp_ripple_transactions_by_block_height_ri_recipients.go index 3c2cdaf..3f1b936 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_ri_recipients.go +++ b/model_list_xrp_ripple_transactions_by_block_height_ri_recipients.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIRecipients) GetAddress() string // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIRecipients) GetAmount() string // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_xrp_ripple_transactions_by_block_height_ri_senders.go b/model_list_xrp_ripple_transactions_by_block_height_ri_senders.go index c69d882..8940dfd 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_ri_senders.go +++ b/model_list_xrp_ripple_transactions_by_block_height_ri_senders.go @@ -55,7 +55,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_xrp_ripple_transactions_by_block_height_ri_value.go b/model_list_xrp_ripple_transactions_by_block_height_ri_value.go index 010c2db..f46ad49 100644 --- a/model_list_xrp_ripple_transactions_by_block_height_ri_value.go +++ b/model_list_xrp_ripple_transactions_by_block_height_ri_value.go @@ -53,7 +53,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIValue) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIValue) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -77,7 +77,7 @@ func (o *ListXRPRippleTransactionsByBlockHeightRIValue) GetUnit() string { // GetUnitOk returns a tuple with the Unit field value // and a boolean to check if the value has been set. func (o *ListXRPRippleTransactionsByBlockHeightRIValue) GetUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Unit, true diff --git a/model_list_zilliqa_transactions_by_address_e400.go b/model_list_zilliqa_transactions_by_address_e400.go index 97ed95a..120398c 100644 --- a/model_list_zilliqa_transactions_by_address_e400.go +++ b/model_list_zilliqa_transactions_by_address_e400.go @@ -25,17 +25,23 @@ type ListZilliqaTransactionsByAddressE400 struct { // InvalidPaginationAsListZilliqaTransactionsByAddressE400 is a convenience function that returns InvalidPagination wrapped in ListZilliqaTransactionsByAddressE400 func InvalidPaginationAsListZilliqaTransactionsByAddressE400(v *InvalidPagination) ListZilliqaTransactionsByAddressE400 { - return ListZilliqaTransactionsByAddressE400{ InvalidPagination: v} + return ListZilliqaTransactionsByAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListZilliqaTransactionsByAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListZilliqaTransactionsByAddressE400 func LimitGreaterThanAllowedAsListZilliqaTransactionsByAddressE400(v *LimitGreaterThanAllowed) ListZilliqaTransactionsByAddressE400 { - return ListZilliqaTransactionsByAddressE400{ LimitGreaterThanAllowed: v} + return ListZilliqaTransactionsByAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListZilliqaTransactionsByAddressE400 is a convenience function that returns UriNotFound wrapped in ListZilliqaTransactionsByAddressE400 func UriNotFoundAsListZilliqaTransactionsByAddressE400(v *UriNotFound) ListZilliqaTransactionsByAddressE400 { - return ListZilliqaTransactionsByAddressE400{ UriNotFound: v} + return ListZilliqaTransactionsByAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListZilliqaTransactionsByAddressE400) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListZilliqaTransactionsByAddressE400) UnmarshalJSON(data []byte) erro } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListZilliqaTransactionsByAddressE400) UnmarshalJSON(data []byte) erro } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListZilliqaTransactionsByAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListZilliqaTransactionsByAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_zilliqa_transactions_by_address_e401.go b/model_list_zilliqa_transactions_by_address_e401.go index 90fc054..c6a73cf 100644 --- a/model_list_zilliqa_transactions_by_address_e401.go +++ b/model_list_zilliqa_transactions_by_address_e401.go @@ -24,12 +24,16 @@ type ListZilliqaTransactionsByAddressE401 struct { // InvalidApiKeyAsListZilliqaTransactionsByAddressE401 is a convenience function that returns InvalidApiKey wrapped in ListZilliqaTransactionsByAddressE401 func InvalidApiKeyAsListZilliqaTransactionsByAddressE401(v *InvalidApiKey) ListZilliqaTransactionsByAddressE401 { - return ListZilliqaTransactionsByAddressE401{ InvalidApiKey: v} + return ListZilliqaTransactionsByAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListZilliqaTransactionsByAddressE401 is a convenience function that returns MissingApiKey wrapped in ListZilliqaTransactionsByAddressE401 func MissingApiKeyAsListZilliqaTransactionsByAddressE401(v *MissingApiKey) ListZilliqaTransactionsByAddressE401 { - return ListZilliqaTransactionsByAddressE401{ MissingApiKey: v} + return ListZilliqaTransactionsByAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListZilliqaTransactionsByAddressE401) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListZilliqaTransactionsByAddressE401) UnmarshalJSON(data []byte) erro } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListZilliqaTransactionsByAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListZilliqaTransactionsByAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_zilliqa_transactions_by_address_e403.go b/model_list_zilliqa_transactions_by_address_e403.go index c2352f4..f97ce15 100644 --- a/model_list_zilliqa_transactions_by_address_e403.go +++ b/model_list_zilliqa_transactions_by_address_e403.go @@ -26,22 +26,30 @@ type ListZilliqaTransactionsByAddressE403 struct { // BannedIpAddressAsListZilliqaTransactionsByAddressE403 is a convenience function that returns BannedIpAddress wrapped in ListZilliqaTransactionsByAddressE403 func BannedIpAddressAsListZilliqaTransactionsByAddressE403(v *BannedIpAddress) ListZilliqaTransactionsByAddressE403 { - return ListZilliqaTransactionsByAddressE403{ BannedIpAddress: v} + return ListZilliqaTransactionsByAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListZilliqaTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListZilliqaTransactionsByAddressE403 func EndpointNotAllowedForApiKeyAsListZilliqaTransactionsByAddressE403(v *EndpointNotAllowedForApiKey) ListZilliqaTransactionsByAddressE403 { - return ListZilliqaTransactionsByAddressE403{ EndpointNotAllowedForApiKey: v} + return ListZilliqaTransactionsByAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListZilliqaTransactionsByAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListZilliqaTransactionsByAddressE403 func EndpointNotAllowedForPlanAsListZilliqaTransactionsByAddressE403(v *EndpointNotAllowedForPlan) ListZilliqaTransactionsByAddressE403 { - return ListZilliqaTransactionsByAddressE403{ EndpointNotAllowedForPlan: v} + return ListZilliqaTransactionsByAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListZilliqaTransactionsByAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListZilliqaTransactionsByAddressE403 func FeatureMainnetsNotAllowedForPlanAsListZilliqaTransactionsByAddressE403(v *FeatureMainnetsNotAllowedForPlan) ListZilliqaTransactionsByAddressE403 { - return ListZilliqaTransactionsByAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListZilliqaTransactionsByAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListZilliqaTransactionsByAddressE403) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListZilliqaTransactionsByAddressE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListZilliqaTransactionsByAddressE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListZilliqaTransactionsByAddressE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListZilliqaTransactionsByAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ListZilliqaTransactionsByAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_zilliqa_transactions_by_address_r.go b/model_list_zilliqa_transactions_by_address_r.go index 5e3a0d9..c96130d 100644 --- a/model_list_zilliqa_transactions_by_address_r.go +++ b/model_list_zilliqa_transactions_by_address_r.go @@ -59,7 +59,7 @@ func (o *ListZilliqaTransactionsByAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListZilliqaTransactionsByAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListZilliqaTransactionsByAddressR) GetData() ListZilliqaTransactionsByA // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressR) GetDataOk() (*ListZilliqaTransactionsByAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_zilliqa_transactions_by_address_r_data.go b/model_list_zilliqa_transactions_by_address_r_data.go index 750ca62..b952a8e 100644 --- a/model_list_zilliqa_transactions_by_address_r_data.go +++ b/model_list_zilliqa_transactions_by_address_r_data.go @@ -17,10 +17,10 @@ import ( // ListZilliqaTransactionsByAddressRData struct for ListZilliqaTransactionsByAddressRData type ListZilliqaTransactionsByAddressRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListZilliqaTransactionsByAddressRI `json:"items"` @@ -30,10 +30,10 @@ type ListZilliqaTransactionsByAddressRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListZilliqaTransactionsByAddressRData(offset int32, limit int32, total int32, items []ListZilliqaTransactionsByAddressRI) *ListZilliqaTransactionsByAddressRData { +func NewListZilliqaTransactionsByAddressRData(limit int32, offset int32, total int32, items []ListZilliqaTransactionsByAddressRI) *ListZilliqaTransactionsByAddressRData { this := ListZilliqaTransactionsByAddressRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListZilliqaTransactionsByAddressRDataWithDefaults() *ListZilliqaTransact return &this } -// GetOffset returns the Offset field value -func (o *ListZilliqaTransactionsByAddressRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListZilliqaTransactionsByAddressRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByAddressRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListZilliqaTransactionsByAddressRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListZilliqaTransactionsByAddressRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListZilliqaTransactionsByAddressRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListZilliqaTransactionsByAddressRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByAddressRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByAddressRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListZilliqaTransactionsByAddressRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListZilliqaTransactionsByAddressRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListZilliqaTransactionsByAddressRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListZilliqaTransactionsByAddressRData) GetItems() []ListZilliqaTransact // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByAddressRData) GetItemsOk() (*[]ListZilliqaTransactionsByAddressRI, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByAddressRData) GetItemsOk() ([]ListZilliqaTransactionsByAddressRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListZilliqaTransactionsByAddressRData) SetItems(v []ListZilliqaTransact func (o ListZilliqaTransactionsByAddressRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_zilliqa_transactions_by_address_ri.go b/model_list_zilliqa_transactions_by_address_ri.go index 6a29f13..91d59f8 100644 --- a/model_list_zilliqa_transactions_by_address_ri.go +++ b/model_list_zilliqa_transactions_by_address_ri.go @@ -87,7 +87,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetFee() GetZilliqaTransactionDetai // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetFeeOk() (*GetZilliqaTransactionDetailsByTransactionIDRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -111,7 +111,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -135,7 +135,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetGasPrice() int32 { // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetGasPriceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -159,7 +159,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -183,7 +183,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -207,7 +207,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -231,7 +231,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -254,11 +254,11 @@ func (o *ListZilliqaTransactionsByAddressRI) GetRecipients() []ListZilliqaTransa // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByAddressRI) GetRecipientsOk() (*[]ListZilliqaTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByAddressRI) GetRecipientsOk() ([]ListZilliqaTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -278,11 +278,11 @@ func (o *ListZilliqaTransactionsByAddressRI) GetSenders() []ListZilliqaTransacti // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByAddressRI) GetSendersOk() (*[]ListZilliqaTransactionsByAddressRISenders, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByAddressRI) GetSendersOk() ([]ListZilliqaTransactionsByAddressRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -303,7 +303,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -327,7 +327,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -351,7 +351,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetTransactionIndex() int32 { // GetTransactionIndexOk returns a tuple with the TransactionIndex field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetTransactionIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionIndex, true @@ -375,7 +375,7 @@ func (o *ListZilliqaTransactionsByAddressRI) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRI) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_zilliqa_transactions_by_address_ri_recipients.go b/model_list_zilliqa_transactions_by_address_ri_recipients.go index 7b007cb..696b3ba 100644 --- a/model_list_zilliqa_transactions_by_address_ri_recipients.go +++ b/model_list_zilliqa_transactions_by_address_ri_recipients.go @@ -55,7 +55,7 @@ func (o *ListZilliqaTransactionsByAddressRIRecipients) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRIRecipients) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListZilliqaTransactionsByAddressRIRecipients) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRIRecipients) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_zilliqa_transactions_by_address_ri_senders.go b/model_list_zilliqa_transactions_by_address_ri_senders.go index 2e247cd..8f3f9b2 100644 --- a/model_list_zilliqa_transactions_by_address_ri_senders.go +++ b/model_list_zilliqa_transactions_by_address_ri_senders.go @@ -55,7 +55,7 @@ func (o *ListZilliqaTransactionsByAddressRISenders) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRISenders) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ListZilliqaTransactionsByAddressRISenders) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByAddressRISenders) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_list_zilliqa_transactions_by_block_hash_e400.go b/model_list_zilliqa_transactions_by_block_hash_e400.go index a4e752d..9970587 100644 --- a/model_list_zilliqa_transactions_by_block_hash_e400.go +++ b/model_list_zilliqa_transactions_by_block_hash_e400.go @@ -25,17 +25,23 @@ type ListZilliqaTransactionsByBlockHashE400 struct { // InvalidPaginationAsListZilliqaTransactionsByBlockHashE400 is a convenience function that returns InvalidPagination wrapped in ListZilliqaTransactionsByBlockHashE400 func InvalidPaginationAsListZilliqaTransactionsByBlockHashE400(v *InvalidPagination) ListZilliqaTransactionsByBlockHashE400 { - return ListZilliqaTransactionsByBlockHashE400{ InvalidPagination: v} + return ListZilliqaTransactionsByBlockHashE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListZilliqaTransactionsByBlockHashE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListZilliqaTransactionsByBlockHashE400 func LimitGreaterThanAllowedAsListZilliqaTransactionsByBlockHashE400(v *LimitGreaterThanAllowed) ListZilliqaTransactionsByBlockHashE400 { - return ListZilliqaTransactionsByBlockHashE400{ LimitGreaterThanAllowed: v} + return ListZilliqaTransactionsByBlockHashE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListZilliqaTransactionsByBlockHashE400 is a convenience function that returns UriNotFound wrapped in ListZilliqaTransactionsByBlockHashE400 func UriNotFoundAsListZilliqaTransactionsByBlockHashE400(v *UriNotFound) ListZilliqaTransactionsByBlockHashE400 { - return ListZilliqaTransactionsByBlockHashE400{ UriNotFound: v} + return ListZilliqaTransactionsByBlockHashE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE400) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE400) UnmarshalJSON(data []byte) er } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE400) UnmarshalJSON(data []byte) er } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListZilliqaTransactionsByBlockHashE400) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListZilliqaTransactionsByBlockHashE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_zilliqa_transactions_by_block_hash_e401.go b/model_list_zilliqa_transactions_by_block_hash_e401.go index 185e9a5..d361890 100644 --- a/model_list_zilliqa_transactions_by_block_hash_e401.go +++ b/model_list_zilliqa_transactions_by_block_hash_e401.go @@ -24,12 +24,16 @@ type ListZilliqaTransactionsByBlockHashE401 struct { // InvalidApiKeyAsListZilliqaTransactionsByBlockHashE401 is a convenience function that returns InvalidApiKey wrapped in ListZilliqaTransactionsByBlockHashE401 func InvalidApiKeyAsListZilliqaTransactionsByBlockHashE401(v *InvalidApiKey) ListZilliqaTransactionsByBlockHashE401 { - return ListZilliqaTransactionsByBlockHashE401{ InvalidApiKey: v} + return ListZilliqaTransactionsByBlockHashE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListZilliqaTransactionsByBlockHashE401 is a convenience function that returns MissingApiKey wrapped in ListZilliqaTransactionsByBlockHashE401 func MissingApiKeyAsListZilliqaTransactionsByBlockHashE401(v *MissingApiKey) ListZilliqaTransactionsByBlockHashE401 { - return ListZilliqaTransactionsByBlockHashE401{ MissingApiKey: v} + return ListZilliqaTransactionsByBlockHashE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE401) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE401) UnmarshalJSON(data []byte) er } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListZilliqaTransactionsByBlockHashE401) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListZilliqaTransactionsByBlockHashE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_zilliqa_transactions_by_block_hash_e403.go b/model_list_zilliqa_transactions_by_block_hash_e403.go index becfd4c..065a4d4 100644 --- a/model_list_zilliqa_transactions_by_block_hash_e403.go +++ b/model_list_zilliqa_transactions_by_block_hash_e403.go @@ -26,22 +26,30 @@ type ListZilliqaTransactionsByBlockHashE403 struct { // BannedIpAddressAsListZilliqaTransactionsByBlockHashE403 is a convenience function that returns BannedIpAddress wrapped in ListZilliqaTransactionsByBlockHashE403 func BannedIpAddressAsListZilliqaTransactionsByBlockHashE403(v *BannedIpAddress) ListZilliqaTransactionsByBlockHashE403 { - return ListZilliqaTransactionsByBlockHashE403{ BannedIpAddress: v} + return ListZilliqaTransactionsByBlockHashE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListZilliqaTransactionsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListZilliqaTransactionsByBlockHashE403 func EndpointNotAllowedForApiKeyAsListZilliqaTransactionsByBlockHashE403(v *EndpointNotAllowedForApiKey) ListZilliqaTransactionsByBlockHashE403 { - return ListZilliqaTransactionsByBlockHashE403{ EndpointNotAllowedForApiKey: v} + return ListZilliqaTransactionsByBlockHashE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListZilliqaTransactionsByBlockHashE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListZilliqaTransactionsByBlockHashE403 func EndpointNotAllowedForPlanAsListZilliqaTransactionsByBlockHashE403(v *EndpointNotAllowedForPlan) ListZilliqaTransactionsByBlockHashE403 { - return ListZilliqaTransactionsByBlockHashE403{ EndpointNotAllowedForPlan: v} + return ListZilliqaTransactionsByBlockHashE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListZilliqaTransactionsByBlockHashE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListZilliqaTransactionsByBlockHashE403 func FeatureMainnetsNotAllowedForPlanAsListZilliqaTransactionsByBlockHashE403(v *FeatureMainnetsNotAllowedForPlan) ListZilliqaTransactionsByBlockHashE403 { - return ListZilliqaTransactionsByBlockHashE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListZilliqaTransactionsByBlockHashE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE403) UnmarshalJSON(data []byte) er var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListZilliqaTransactionsByBlockHashE403) UnmarshalJSON(data []byte) er } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListZilliqaTransactionsByBlockHashE403) MarshalJSON() ([]byte, error) // Get the actual instance func (obj *ListZilliqaTransactionsByBlockHashE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_zilliqa_transactions_by_block_hash_r.go b/model_list_zilliqa_transactions_by_block_hash_r.go index b7c76a2..9b033e8 100644 --- a/model_list_zilliqa_transactions_by_block_hash_r.go +++ b/model_list_zilliqa_transactions_by_block_hash_r.go @@ -59,7 +59,7 @@ func (o *ListZilliqaTransactionsByBlockHashR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListZilliqaTransactionsByBlockHashR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListZilliqaTransactionsByBlockHashR) GetData() ListZilliqaTransactionsB // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashR) GetDataOk() (*ListZilliqaTransactionsByBlockHashRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_zilliqa_transactions_by_block_hash_r_data.go b/model_list_zilliqa_transactions_by_block_hash_r_data.go index 4309697..a81586f 100644 --- a/model_list_zilliqa_transactions_by_block_hash_r_data.go +++ b/model_list_zilliqa_transactions_by_block_hash_r_data.go @@ -17,10 +17,10 @@ import ( // ListZilliqaTransactionsByBlockHashRData struct for ListZilliqaTransactionsByBlockHashRData type ListZilliqaTransactionsByBlockHashRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListZilliqaTransactionsByBlockHashRI `json:"items"` @@ -30,10 +30,10 @@ type ListZilliqaTransactionsByBlockHashRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListZilliqaTransactionsByBlockHashRData(offset int32, limit int32, total int32, items []ListZilliqaTransactionsByBlockHashRI) *ListZilliqaTransactionsByBlockHashRData { +func NewListZilliqaTransactionsByBlockHashRData(limit int32, offset int32, total int32, items []ListZilliqaTransactionsByBlockHashRI) *ListZilliqaTransactionsByBlockHashRData { this := ListZilliqaTransactionsByBlockHashRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListZilliqaTransactionsByBlockHashRDataWithDefaults() *ListZilliqaTransa return &this } -// GetOffset returns the Offset field value -func (o *ListZilliqaTransactionsByBlockHashRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListZilliqaTransactionsByBlockHashRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHashRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListZilliqaTransactionsByBlockHashRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListZilliqaTransactionsByBlockHashRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListZilliqaTransactionsByBlockHashRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListZilliqaTransactionsByBlockHashRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHashRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHashRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListZilliqaTransactionsByBlockHashRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListZilliqaTransactionsByBlockHashRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListZilliqaTransactionsByBlockHashRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListZilliqaTransactionsByBlockHashRData) GetItems() []ListZilliqaTransa // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHashRData) GetItemsOk() (*[]ListZilliqaTransactionsByBlockHashRI, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHashRData) GetItemsOk() ([]ListZilliqaTransactionsByBlockHashRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListZilliqaTransactionsByBlockHashRData) SetItems(v []ListZilliqaTransa func (o ListZilliqaTransactionsByBlockHashRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_zilliqa_transactions_by_block_hash_ri.go b/model_list_zilliqa_transactions_by_block_hash_ri.go index 9c2b316..4c0599b 100644 --- a/model_list_zilliqa_transactions_by_block_hash_ri.go +++ b/model_list_zilliqa_transactions_by_block_hash_ri.go @@ -84,7 +84,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetFee() GetZilliqaTransactionDet // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetFeeOk() (*GetZilliqaTransactionDetailsByTransactionIDRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -108,7 +108,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -132,7 +132,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetGasPrice() int32 { // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetGasPriceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -156,7 +156,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -180,7 +180,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetMinedInBlockHeight() int32 { // GetMinedInBlockHeightOk returns a tuple with the MinedInBlockHeight field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetMinedInBlockHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHeight, true @@ -204,7 +204,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -227,11 +227,11 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetRecipients() []ListZilliqaTran // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHashRI) GetRecipientsOk() (*[]ListZilliqaTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHashRI) GetRecipientsOk() ([]ListZilliqaTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -251,11 +251,11 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetSenders() []ListZilliqaTransac // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHashRI) GetSendersOk() (*[]ListZilliqaTransactionsByAddressRISenders, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHashRI) GetSendersOk() ([]ListZilliqaTransactionsByAddressRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -276,7 +276,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -300,7 +300,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -324,7 +324,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetTransactionIndex() int32 { // GetTransactionIndexOk returns a tuple with the TransactionIndex field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetTransactionIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionIndex, true @@ -348,7 +348,7 @@ func (o *ListZilliqaTransactionsByBlockHashRI) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHashRI) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_list_zilliqa_transactions_by_block_height_e400.go b/model_list_zilliqa_transactions_by_block_height_e400.go index 430ddb3..4ac3cd3 100644 --- a/model_list_zilliqa_transactions_by_block_height_e400.go +++ b/model_list_zilliqa_transactions_by_block_height_e400.go @@ -25,17 +25,23 @@ type ListZilliqaTransactionsByBlockHeightE400 struct { // InvalidPaginationAsListZilliqaTransactionsByBlockHeightE400 is a convenience function that returns InvalidPagination wrapped in ListZilliqaTransactionsByBlockHeightE400 func InvalidPaginationAsListZilliqaTransactionsByBlockHeightE400(v *InvalidPagination) ListZilliqaTransactionsByBlockHeightE400 { - return ListZilliqaTransactionsByBlockHeightE400{ InvalidPagination: v} + return ListZilliqaTransactionsByBlockHeightE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsListZilliqaTransactionsByBlockHeightE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ListZilliqaTransactionsByBlockHeightE400 func LimitGreaterThanAllowedAsListZilliqaTransactionsByBlockHeightE400(v *LimitGreaterThanAllowed) ListZilliqaTransactionsByBlockHeightE400 { - return ListZilliqaTransactionsByBlockHeightE400{ LimitGreaterThanAllowed: v} + return ListZilliqaTransactionsByBlockHeightE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsListZilliqaTransactionsByBlockHeightE400 is a convenience function that returns UriNotFound wrapped in ListZilliqaTransactionsByBlockHeightE400 func UriNotFoundAsListZilliqaTransactionsByBlockHeightE400(v *UriNotFound) ListZilliqaTransactionsByBlockHeightE400 { - return ListZilliqaTransactionsByBlockHeightE400{ UriNotFound: v} + return ListZilliqaTransactionsByBlockHeightE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE400) UnmarshalJSON(data []byte) } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ListZilliqaTransactionsByBlockHeightE400) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListZilliqaTransactionsByBlockHeightE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_list_zilliqa_transactions_by_block_height_e401.go b/model_list_zilliqa_transactions_by_block_height_e401.go index 7c758a7..08ba038 100644 --- a/model_list_zilliqa_transactions_by_block_height_e401.go +++ b/model_list_zilliqa_transactions_by_block_height_e401.go @@ -24,12 +24,16 @@ type ListZilliqaTransactionsByBlockHeightE401 struct { // InvalidApiKeyAsListZilliqaTransactionsByBlockHeightE401 is a convenience function that returns InvalidApiKey wrapped in ListZilliqaTransactionsByBlockHeightE401 func InvalidApiKeyAsListZilliqaTransactionsByBlockHeightE401(v *InvalidApiKey) ListZilliqaTransactionsByBlockHeightE401 { - return ListZilliqaTransactionsByBlockHeightE401{ InvalidApiKey: v} + return ListZilliqaTransactionsByBlockHeightE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsListZilliqaTransactionsByBlockHeightE401 is a convenience function that returns MissingApiKey wrapped in ListZilliqaTransactionsByBlockHeightE401 func MissingApiKeyAsListZilliqaTransactionsByBlockHeightE401(v *MissingApiKey) ListZilliqaTransactionsByBlockHeightE401 { - return ListZilliqaTransactionsByBlockHeightE401{ MissingApiKey: v} + return ListZilliqaTransactionsByBlockHeightE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE401) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE401) UnmarshalJSON(data []byte) } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ListZilliqaTransactionsByBlockHeightE401) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListZilliqaTransactionsByBlockHeightE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_list_zilliqa_transactions_by_block_height_e403.go b/model_list_zilliqa_transactions_by_block_height_e403.go index 3334473..13e9d08 100644 --- a/model_list_zilliqa_transactions_by_block_height_e403.go +++ b/model_list_zilliqa_transactions_by_block_height_e403.go @@ -26,22 +26,30 @@ type ListZilliqaTransactionsByBlockHeightE403 struct { // BannedIpAddressAsListZilliqaTransactionsByBlockHeightE403 is a convenience function that returns BannedIpAddress wrapped in ListZilliqaTransactionsByBlockHeightE403 func BannedIpAddressAsListZilliqaTransactionsByBlockHeightE403(v *BannedIpAddress) ListZilliqaTransactionsByBlockHeightE403 { - return ListZilliqaTransactionsByBlockHeightE403{ BannedIpAddress: v} + return ListZilliqaTransactionsByBlockHeightE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsListZilliqaTransactionsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ListZilliqaTransactionsByBlockHeightE403 func EndpointNotAllowedForApiKeyAsListZilliqaTransactionsByBlockHeightE403(v *EndpointNotAllowedForApiKey) ListZilliqaTransactionsByBlockHeightE403 { - return ListZilliqaTransactionsByBlockHeightE403{ EndpointNotAllowedForApiKey: v} + return ListZilliqaTransactionsByBlockHeightE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsListZilliqaTransactionsByBlockHeightE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ListZilliqaTransactionsByBlockHeightE403 func EndpointNotAllowedForPlanAsListZilliqaTransactionsByBlockHeightE403(v *EndpointNotAllowedForPlan) ListZilliqaTransactionsByBlockHeightE403 { - return ListZilliqaTransactionsByBlockHeightE403{ EndpointNotAllowedForPlan: v} + return ListZilliqaTransactionsByBlockHeightE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsListZilliqaTransactionsByBlockHeightE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ListZilliqaTransactionsByBlockHeightE403 func FeatureMainnetsNotAllowedForPlanAsListZilliqaTransactionsByBlockHeightE403(v *FeatureMainnetsNotAllowedForPlan) ListZilliqaTransactionsByBlockHeightE403 { - return ListZilliqaTransactionsByBlockHeightE403{ FeatureMainnetsNotAllowedForPlan: v} + return ListZilliqaTransactionsByBlockHeightE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ListZilliqaTransactionsByBlockHeightE403) UnmarshalJSON(data []byte) } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ListZilliqaTransactionsByBlockHeightE403) MarshalJSON() ([]byte, error // Get the actual instance func (obj *ListZilliqaTransactionsByBlockHeightE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_list_zilliqa_transactions_by_block_height_r.go b/model_list_zilliqa_transactions_by_block_height_r.go index fa100aa..8bd6bd0 100644 --- a/model_list_zilliqa_transactions_by_block_height_r.go +++ b/model_list_zilliqa_transactions_by_block_height_r.go @@ -59,7 +59,7 @@ func (o *ListZilliqaTransactionsByBlockHeightR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ListZilliqaTransactionsByBlockHeightR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ListZilliqaTransactionsByBlockHeightR) GetData() ListZilliqaTransaction // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightR) GetDataOk() (*ListZilliqaTransactionsByBlockHeightRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_list_zilliqa_transactions_by_block_height_r_data.go b/model_list_zilliqa_transactions_by_block_height_r_data.go index 149368d..66fe57a 100644 --- a/model_list_zilliqa_transactions_by_block_height_r_data.go +++ b/model_list_zilliqa_transactions_by_block_height_r_data.go @@ -17,10 +17,10 @@ import ( // ListZilliqaTransactionsByBlockHeightRData struct for ListZilliqaTransactionsByBlockHeightRData type ListZilliqaTransactionsByBlockHeightRData struct { - // The starting index of the response items, i.e. where the response should start listing the returned items. - Offset int32 `json:"offset"` // Defines how many items should be returned in the response per page basis. Limit int32 `json:"limit"` + // The starting index of the response items, i.e. where the response should start listing the returned items. + Offset int32 `json:"offset"` // Defines the total number of items returned in the response. Total int32 `json:"total"` Items []ListZilliqaTransactionsByBlockHeightRI `json:"items"` @@ -30,10 +30,10 @@ type ListZilliqaTransactionsByBlockHeightRData struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewListZilliqaTransactionsByBlockHeightRData(offset int32, limit int32, total int32, items []ListZilliqaTransactionsByBlockHeightRI) *ListZilliqaTransactionsByBlockHeightRData { +func NewListZilliqaTransactionsByBlockHeightRData(limit int32, offset int32, total int32, items []ListZilliqaTransactionsByBlockHeightRI) *ListZilliqaTransactionsByBlockHeightRData { this := ListZilliqaTransactionsByBlockHeightRData{} - this.Offset = offset this.Limit = limit + this.Offset = offset this.Total = total this.Items = items return &this @@ -47,52 +47,52 @@ func NewListZilliqaTransactionsByBlockHeightRDataWithDefaults() *ListZilliqaTran return &this } -// GetOffset returns the Offset field value -func (o *ListZilliqaTransactionsByBlockHeightRData) GetOffset() int32 { +// GetLimit returns the Limit field value +func (o *ListZilliqaTransactionsByBlockHeightRData) GetLimit() int32 { if o == nil { var ret int32 return ret } - return o.Offset + return o.Limit } -// GetOffsetOk returns a tuple with the Offset field value +// GetLimitOk returns a tuple with the Limit field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Offset, true + return &o.Limit, true } -// SetOffset sets field value -func (o *ListZilliqaTransactionsByBlockHeightRData) SetOffset(v int32) { - o.Offset = v +// SetLimit sets field value +func (o *ListZilliqaTransactionsByBlockHeightRData) SetLimit(v int32) { + o.Limit = v } -// GetLimit returns the Limit field value -func (o *ListZilliqaTransactionsByBlockHeightRData) GetLimit() int32 { +// GetOffset returns the Offset field value +func (o *ListZilliqaTransactionsByBlockHeightRData) GetOffset() int32 { if o == nil { var ret int32 return ret } - return o.Limit + return o.Offset } -// GetLimitOk returns a tuple with the Limit field value +// GetOffsetOk returns a tuple with the Offset field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHeightRData) GetLimitOk() (*int32, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHeightRData) GetOffsetOk() (*int32, bool) { + if o == nil { return nil, false } - return &o.Limit, true + return &o.Offset, true } -// SetLimit sets field value -func (o *ListZilliqaTransactionsByBlockHeightRData) SetLimit(v int32) { - o.Limit = v +// SetOffset sets field value +func (o *ListZilliqaTransactionsByBlockHeightRData) SetOffset(v int32) { + o.Offset = v } // GetTotal returns the Total field value @@ -108,7 +108,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRData) GetTotal() int32 { // GetTotalOk returns a tuple with the Total field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRData) GetTotalOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Total, true @@ -131,11 +131,11 @@ func (o *ListZilliqaTransactionsByBlockHeightRData) GetItems() []ListZilliqaTran // GetItemsOk returns a tuple with the Items field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHeightRData) GetItemsOk() (*[]ListZilliqaTransactionsByBlockHeightRI, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHeightRData) GetItemsOk() ([]ListZilliqaTransactionsByBlockHeightRI, bool) { + if o == nil { return nil, false } - return &o.Items, true + return o.Items, true } // SetItems sets field value @@ -146,10 +146,10 @@ func (o *ListZilliqaTransactionsByBlockHeightRData) SetItems(v []ListZilliqaTran func (o ListZilliqaTransactionsByBlockHeightRData) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { - toSerialize["offset"] = o.Offset + toSerialize["limit"] = o.Limit } if true { - toSerialize["limit"] = o.Limit + toSerialize["offset"] = o.Offset } if true { toSerialize["total"] = o.Total diff --git a/model_list_zilliqa_transactions_by_block_height_ri.go b/model_list_zilliqa_transactions_by_block_height_ri.go index 212f717..b89fc53 100644 --- a/model_list_zilliqa_transactions_by_block_height_ri.go +++ b/model_list_zilliqa_transactions_by_block_height_ri.go @@ -84,7 +84,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetFee() GetZilliqaTransactionD // GetFeeOk returns a tuple with the Fee field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetFeeOk() (*GetZilliqaTransactionDetailsByTransactionIDRIFee, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Fee, true @@ -108,7 +108,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetGasLimit() int32 { // GetGasLimitOk returns a tuple with the GasLimit field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetGasLimitOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasLimit, true @@ -132,7 +132,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetGasPrice() int32 { // GetGasPriceOk returns a tuple with the GasPrice field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetGasPriceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasPrice, true @@ -156,7 +156,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetGasUsed() int32 { // GetGasUsedOk returns a tuple with the GasUsed field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetGasUsedOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.GasUsed, true @@ -180,7 +180,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetMinedInBlockHash() string { // GetMinedInBlockHashOk returns a tuple with the MinedInBlockHash field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetMinedInBlockHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlockHash, true @@ -204,7 +204,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetNonce() int32 { // GetNonceOk returns a tuple with the Nonce field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetNonceOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Nonce, true @@ -227,11 +227,11 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetRecipients() []ListZilliqaTr // GetRecipientsOk returns a tuple with the Recipients field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHeightRI) GetRecipientsOk() (*[]ListZilliqaTransactionsByAddressRIRecipients, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHeightRI) GetRecipientsOk() ([]ListZilliqaTransactionsByAddressRIRecipients, bool) { + if o == nil { return nil, false } - return &o.Recipients, true + return o.Recipients, true } // SetRecipients sets field value @@ -251,11 +251,11 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetSenders() []ListZilliqaTrans // GetSendersOk returns a tuple with the Senders field value // and a boolean to check if the value has been set. -func (o *ListZilliqaTransactionsByBlockHeightRI) GetSendersOk() (*[]ListZilliqaTransactionsByAddressRISenders, bool) { - if o == nil { +func (o *ListZilliqaTransactionsByBlockHeightRI) GetSendersOk() ([]ListZilliqaTransactionsByAddressRISenders, bool) { + if o == nil { return nil, false } - return &o.Senders, true + return o.Senders, true } // SetSenders sets field value @@ -276,7 +276,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true @@ -300,7 +300,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetTransactionHash() string { // GetTransactionHashOk returns a tuple with the TransactionHash field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetTransactionHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionHash, true @@ -324,7 +324,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetTransactionIndex() int32 { // GetTransactionIndexOk returns a tuple with the TransactionIndex field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetTransactionIndexOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionIndex, true @@ -348,7 +348,7 @@ func (o *ListZilliqaTransactionsByBlockHeightRI) GetTransactionStatus() string { // GetTransactionStatusOk returns a tuple with the TransactionStatus field value // and a boolean to check if the value has been set. func (o *ListZilliqaTransactionsByBlockHeightRI) GetTransactionStatusOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionStatus, true diff --git a/model_mined_transaction_e400.go b/model_mined_transaction_e400.go index 38aaaf1..f8a1a73 100644 --- a/model_mined_transaction_e400.go +++ b/model_mined_transaction_e400.go @@ -25,17 +25,23 @@ type MinedTransactionE400 struct { // InvalidPaginationAsMinedTransactionE400 is a convenience function that returns InvalidPagination wrapped in MinedTransactionE400 func InvalidPaginationAsMinedTransactionE400(v *InvalidPagination) MinedTransactionE400 { - return MinedTransactionE400{ InvalidPagination: v} + return MinedTransactionE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsMinedTransactionE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in MinedTransactionE400 func LimitGreaterThanAllowedAsMinedTransactionE400(v *LimitGreaterThanAllowed) MinedTransactionE400 { - return MinedTransactionE400{ LimitGreaterThanAllowed: v} + return MinedTransactionE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsMinedTransactionE400 is a convenience function that returns UriNotFound wrapped in MinedTransactionE400 func UriNotFoundAsMinedTransactionE400(v *UriNotFound) MinedTransactionE400 { - return MinedTransactionE400{ UriNotFound: v} + return MinedTransactionE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *MinedTransactionE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *MinedTransactionE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *MinedTransactionE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src MinedTransactionE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *MinedTransactionE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_mined_transaction_e401.go b/model_mined_transaction_e401.go index 275ad87..28e391a 100644 --- a/model_mined_transaction_e401.go +++ b/model_mined_transaction_e401.go @@ -24,12 +24,16 @@ type MinedTransactionE401 struct { // InvalidApiKeyAsMinedTransactionE401 is a convenience function that returns InvalidApiKey wrapped in MinedTransactionE401 func InvalidApiKeyAsMinedTransactionE401(v *InvalidApiKey) MinedTransactionE401 { - return MinedTransactionE401{ InvalidApiKey: v} + return MinedTransactionE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsMinedTransactionE401 is a convenience function that returns MissingApiKey wrapped in MinedTransactionE401 func MissingApiKeyAsMinedTransactionE401(v *MissingApiKey) MinedTransactionE401 { - return MinedTransactionE401{ MissingApiKey: v} + return MinedTransactionE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *MinedTransactionE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *MinedTransactionE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src MinedTransactionE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *MinedTransactionE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_mined_transaction_e403.go b/model_mined_transaction_e403.go index a738bd6..2e1a517 100644 --- a/model_mined_transaction_e403.go +++ b/model_mined_transaction_e403.go @@ -27,27 +27,37 @@ type MinedTransactionE403 struct { // BannedIpAddressAsMinedTransactionE403 is a convenience function that returns BannedIpAddress wrapped in MinedTransactionE403 func BannedIpAddressAsMinedTransactionE403(v *BannedIpAddress) MinedTransactionE403 { - return MinedTransactionE403{ BannedIpAddress: v} + return MinedTransactionE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsMinedTransactionE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in MinedTransactionE403 func BlockchainEventsCallbacksLimitReachedAsMinedTransactionE403(v *BlockchainEventsCallbacksLimitReached) MinedTransactionE403 { - return MinedTransactionE403{ BlockchainEventsCallbacksLimitReached: v} + return MinedTransactionE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsMinedTransactionE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in MinedTransactionE403 func EndpointNotAllowedForApiKeyAsMinedTransactionE403(v *EndpointNotAllowedForApiKey) MinedTransactionE403 { - return MinedTransactionE403{ EndpointNotAllowedForApiKey: v} + return MinedTransactionE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsMinedTransactionE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in MinedTransactionE403 func EndpointNotAllowedForPlanAsMinedTransactionE403(v *EndpointNotAllowedForPlan) MinedTransactionE403 { - return MinedTransactionE403{ EndpointNotAllowedForPlan: v} + return MinedTransactionE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsMinedTransactionE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in MinedTransactionE403 func FeatureMainnetsNotAllowedForPlanAsMinedTransactionE403(v *FeatureMainnetsNotAllowedForPlan) MinedTransactionE403 { - return MinedTransactionE403{ FeatureMainnetsNotAllowedForPlan: v} + return MinedTransactionE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *MinedTransactionE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *MinedTransactionE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *MinedTransactionE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *MinedTransactionE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *MinedTransactionE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src MinedTransactionE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *MinedTransactionE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_mined_transaction_e409.go b/model_mined_transaction_e409.go index a0d94a0..eb9df3d 100644 --- a/model_mined_transaction_e409.go +++ b/model_mined_transaction_e409.go @@ -24,12 +24,16 @@ type MinedTransactionE409 struct { // AlreadyExistsAsMinedTransactionE409 is a convenience function that returns AlreadyExists wrapped in MinedTransactionE409 func AlreadyExistsAsMinedTransactionE409(v *AlreadyExists) MinedTransactionE409 { - return MinedTransactionE409{ AlreadyExists: v} + return MinedTransactionE409{ + AlreadyExists: v, + } } // InvalidDataAsMinedTransactionE409 is a convenience function that returns InvalidData wrapped in MinedTransactionE409 func InvalidDataAsMinedTransactionE409(v *InvalidData) MinedTransactionE409 { - return MinedTransactionE409{ InvalidData: v} + return MinedTransactionE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *MinedTransactionE409) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *MinedTransactionE409) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src MinedTransactionE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *MinedTransactionE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_mined_transaction_r.go b/model_mined_transaction_r.go index 6bb0616..69c8f8a 100644 --- a/model_mined_transaction_r.go +++ b/model_mined_transaction_r.go @@ -59,7 +59,7 @@ func (o *MinedTransactionR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *MinedTransactionR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *MinedTransactionR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *MinedTransactionR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *MinedTransactionR) GetData() MinedTransactionRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *MinedTransactionR) GetDataOk() (*MinedTransactionRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_mined_transaction_r_data.go b/model_mined_transaction_r_data.go index 106f5c8..3fc0426 100644 --- a/model_mined_transaction_r_data.go +++ b/model_mined_transaction_r_data.go @@ -51,7 +51,7 @@ func (o *MinedTransactionRData) GetItem() MinedTransactionRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *MinedTransactionRData) GetItemOk() (*MinedTransactionRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_mined_transaction_rb.go b/model_mined_transaction_rb.go index 8a95e08..ffd401f 100644 --- a/model_mined_transaction_rb.go +++ b/model_mined_transaction_rb.go @@ -85,7 +85,7 @@ func (o *MinedTransactionRB) GetData() MinedTransactionRBData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *MinedTransactionRB) GetDataOk() (*MinedTransactionRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_mined_transaction_rb_data.go b/model_mined_transaction_rb_data.go index 4762cd1..87b655a 100644 --- a/model_mined_transaction_rb_data.go +++ b/model_mined_transaction_rb_data.go @@ -51,7 +51,7 @@ func (o *MinedTransactionRBData) GetItem() MinedTransactionRBDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *MinedTransactionRBData) GetItemOk() (*MinedTransactionRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_mined_transaction_rb_data_item.go b/model_mined_transaction_rb_data_item.go index 527c1f5..f54c26e 100644 --- a/model_mined_transaction_rb_data_item.go +++ b/model_mined_transaction_rb_data_item.go @@ -21,7 +21,7 @@ type MinedTransactionRBDataItem struct { AllowDuplicates *bool `json:"allowDuplicates,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the unique identification string that defines the transaction. TransactionId string `json:"transactionId"` @@ -123,7 +123,7 @@ func (o *MinedTransactionRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *MinedTransactionRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -147,7 +147,7 @@ func (o *MinedTransactionRBDataItem) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *MinedTransactionRBDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true diff --git a/model_mined_transaction_ri.go b/model_mined_transaction_ri.go index 040f8ba..19d9dac 100644 --- a/model_mined_transaction_ri.go +++ b/model_mined_transaction_ri.go @@ -17,14 +17,10 @@ import ( // MinedTransactionRI struct for MinedTransactionRI type MinedTransactionRI struct { - // Represents the address of the transaction. - Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` - // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. - ConfirmationsCount int32 `json:"confirmationsCount"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` // Defines the type of the specific event available for the customer to subscribe to for callback notification. @@ -41,12 +37,10 @@ type MinedTransactionRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewMinedTransactionRI(address string, callbackSecretKey string, callbackUrl string, confirmationsCount int32, createdTimestamp int32, eventType string, isActive bool, referenceId string, transactionId string) *MinedTransactionRI { +func NewMinedTransactionRI(callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string, transactionId string) *MinedTransactionRI { this := MinedTransactionRI{} - this.Address = address this.CallbackSecretKey = callbackSecretKey this.CallbackUrl = callbackUrl - this.ConfirmationsCount = confirmationsCount this.CreatedTimestamp = createdTimestamp this.EventType = eventType this.IsActive = isActive @@ -63,30 +57,6 @@ func NewMinedTransactionRIWithDefaults() *MinedTransactionRI { return &this } -// GetAddress returns the Address field value -func (o *MinedTransactionRI) GetAddress() string { - if o == nil { - var ret string - return ret - } - - return o.Address -} - -// GetAddressOk returns a tuple with the Address field value -// and a boolean to check if the value has been set. -func (o *MinedTransactionRI) GetAddressOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Address, true -} - -// SetAddress sets field value -func (o *MinedTransactionRI) SetAddress(v string) { - o.Address = v -} - // GetCallbackSecretKey returns the CallbackSecretKey field value func (o *MinedTransactionRI) GetCallbackSecretKey() string { if o == nil { @@ -100,7 +70,7 @@ func (o *MinedTransactionRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *MinedTransactionRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -124,7 +94,7 @@ func (o *MinedTransactionRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *MinedTransactionRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -135,30 +105,6 @@ func (o *MinedTransactionRI) SetCallbackUrl(v string) { o.CallbackUrl = v } -// GetConfirmationsCount returns the ConfirmationsCount field value -func (o *MinedTransactionRI) GetConfirmationsCount() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.ConfirmationsCount -} - -// GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value -// and a boolean to check if the value has been set. -func (o *MinedTransactionRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.ConfirmationsCount, true -} - -// SetConfirmationsCount sets field value -func (o *MinedTransactionRI) SetConfirmationsCount(v int32) { - o.ConfirmationsCount = v -} - // GetCreatedTimestamp returns the CreatedTimestamp field value func (o *MinedTransactionRI) GetCreatedTimestamp() int32 { if o == nil { @@ -172,7 +118,7 @@ func (o *MinedTransactionRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *MinedTransactionRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -196,7 +142,7 @@ func (o *MinedTransactionRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *MinedTransactionRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -220,7 +166,7 @@ func (o *MinedTransactionRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *MinedTransactionRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -244,7 +190,7 @@ func (o *MinedTransactionRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *MinedTransactionRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -268,7 +214,7 @@ func (o *MinedTransactionRI) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *MinedTransactionRI) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -281,18 +227,12 @@ func (o *MinedTransactionRI) SetTransactionId(v string) { func (o MinedTransactionRI) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["address"] = o.Address - } if true { toSerialize["callbackSecretKey"] = o.CallbackSecretKey } if true { toSerialize["callbackUrl"] = o.CallbackUrl } - if true { - toSerialize["confirmationsCount"] = o.ConfirmationsCount - } if true { toSerialize["createdTimestamp"] = o.CreatedTimestamp } diff --git a/model_missing_api_key.go b/model_missing_api_key.go index 622ba52..60e7ddc 100644 --- a/model_missing_api_key.go +++ b/model_missing_api_key.go @@ -21,7 +21,7 @@ type MissingApiKey struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewMissingApiKey instantiates a new MissingApiKey object @@ -56,7 +56,7 @@ func (o *MissingApiKey) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *MissingApiKey) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *MissingApiKey) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *MissingApiKey) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *MissingApiKey) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MissingApiKey) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *MissingApiKey) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *MissingApiKey) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *MissingApiKey) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o MissingApiKey) MarshalJSON() ([]byte, error) { diff --git a/model_new_block_e400.go b/model_new_block_e400.go index 94dc3b9..3222ef8 100644 --- a/model_new_block_e400.go +++ b/model_new_block_e400.go @@ -25,17 +25,23 @@ type NewBlockE400 struct { // InvalidPaginationAsNewBlockE400 is a convenience function that returns InvalidPagination wrapped in NewBlockE400 func InvalidPaginationAsNewBlockE400(v *InvalidPagination) NewBlockE400 { - return NewBlockE400{ InvalidPagination: v} + return NewBlockE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewBlockE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewBlockE400 func LimitGreaterThanAllowedAsNewBlockE400(v *LimitGreaterThanAllowed) NewBlockE400 { - return NewBlockE400{ LimitGreaterThanAllowed: v} + return NewBlockE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewBlockE400 is a convenience function that returns UriNotFound wrapped in NewBlockE400 func UriNotFoundAsNewBlockE400(v *UriNotFound) NewBlockE400 { - return NewBlockE400{ UriNotFound: v} + return NewBlockE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewBlockE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewBlockE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewBlockE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewBlockE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewBlockE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_block_e401.go b/model_new_block_e401.go index aa11bfa..c91b1ce 100644 --- a/model_new_block_e401.go +++ b/model_new_block_e401.go @@ -24,12 +24,16 @@ type NewBlockE401 struct { // InvalidApiKeyAsNewBlockE401 is a convenience function that returns InvalidApiKey wrapped in NewBlockE401 func InvalidApiKeyAsNewBlockE401(v *InvalidApiKey) NewBlockE401 { - return NewBlockE401{ InvalidApiKey: v} + return NewBlockE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewBlockE401 is a convenience function that returns MissingApiKey wrapped in NewBlockE401 func MissingApiKeyAsNewBlockE401(v *MissingApiKey) NewBlockE401 { - return NewBlockE401{ MissingApiKey: v} + return NewBlockE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewBlockE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewBlockE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewBlockE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewBlockE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_block_e403.go b/model_new_block_e403.go index 5771a27..de5ff12 100644 --- a/model_new_block_e403.go +++ b/model_new_block_e403.go @@ -27,27 +27,37 @@ type NewBlockE403 struct { // BannedIpAddressAsNewBlockE403 is a convenience function that returns BannedIpAddress wrapped in NewBlockE403 func BannedIpAddressAsNewBlockE403(v *BannedIpAddress) NewBlockE403 { - return NewBlockE403{ BannedIpAddress: v} + return NewBlockE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewBlockE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewBlockE403 func BlockchainEventsCallbacksLimitReachedAsNewBlockE403(v *BlockchainEventsCallbacksLimitReached) NewBlockE403 { - return NewBlockE403{ BlockchainEventsCallbacksLimitReached: v} + return NewBlockE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewBlockE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewBlockE403 func EndpointNotAllowedForApiKeyAsNewBlockE403(v *EndpointNotAllowedForApiKey) NewBlockE403 { - return NewBlockE403{ EndpointNotAllowedForApiKey: v} + return NewBlockE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewBlockE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewBlockE403 func EndpointNotAllowedForPlanAsNewBlockE403(v *EndpointNotAllowedForPlan) NewBlockE403 { - return NewBlockE403{ EndpointNotAllowedForPlan: v} + return NewBlockE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewBlockE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewBlockE403 func FeatureMainnetsNotAllowedForPlanAsNewBlockE403(v *FeatureMainnetsNotAllowedForPlan) NewBlockE403 { - return NewBlockE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewBlockE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewBlockE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewBlockE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewBlockE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewBlockE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_block_e409.go b/model_new_block_e409.go index 5eeabbb..4d9f9b1 100644 --- a/model_new_block_e409.go +++ b/model_new_block_e409.go @@ -24,12 +24,16 @@ type NewBlockE409 struct { // AlreadyExistsAsNewBlockE409 is a convenience function that returns AlreadyExists wrapped in NewBlockE409 func AlreadyExistsAsNewBlockE409(v *AlreadyExists) NewBlockE409 { - return NewBlockE409{ AlreadyExists: v} + return NewBlockE409{ + AlreadyExists: v, + } } // InvalidDataAsNewBlockE409 is a convenience function that returns InvalidData wrapped in NewBlockE409 func InvalidDataAsNewBlockE409(v *InvalidData) NewBlockE409 { - return NewBlockE409{ InvalidData: v} + return NewBlockE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewBlockE409) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewBlockE409) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewBlockE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewBlockE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_block_r.go b/model_new_block_r.go index 06fc7b4..5992b6e 100644 --- a/model_new_block_r.go +++ b/model_new_block_r.go @@ -59,7 +59,7 @@ func (o *NewBlockR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewBlockR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewBlockR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewBlockR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewBlockR) GetData() NewBlockRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewBlockR) GetDataOk() (*NewBlockRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_block_r_data.go b/model_new_block_r_data.go index d23e6c4..be11c0f 100644 --- a/model_new_block_r_data.go +++ b/model_new_block_r_data.go @@ -51,7 +51,7 @@ func (o *NewBlockRData) GetItem() NewBlockRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewBlockRData) GetItemOk() (*NewBlockRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_block_rb.go b/model_new_block_rb.go index cb1c932..a70c7f4 100644 --- a/model_new_block_rb.go +++ b/model_new_block_rb.go @@ -85,7 +85,7 @@ func (o *NewBlockRB) GetData() NewBlockRBData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewBlockRB) GetDataOk() (*NewBlockRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_block_rb_data.go b/model_new_block_rb_data.go index 6cb75c1..2fea761 100644 --- a/model_new_block_rb_data.go +++ b/model_new_block_rb_data.go @@ -51,7 +51,7 @@ func (o *NewBlockRBData) GetItem() NewBlockRBDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewBlockRBData) GetItemOk() (*NewBlockRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_block_rb_data_item.go b/model_new_block_rb_data_item.go index 67edf4b..efbd394 100644 --- a/model_new_block_rb_data_item.go +++ b/model_new_block_rb_data_item.go @@ -21,7 +21,7 @@ type NewBlockRBDataItem struct { AllowDuplicates *bool `json:"allowDuplicates,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` } @@ -124,7 +124,7 @@ func (o *NewBlockRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewBlockRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true diff --git a/model_new_block_ri.go b/model_new_block_ri.go index fd50dc9..f2f65d8 100644 --- a/model_new_block_ri.go +++ b/model_new_block_ri.go @@ -19,7 +19,7 @@ import ( type NewBlockRI struct { // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` @@ -64,7 +64,7 @@ func (o *NewBlockRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewBlockRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -88,7 +88,7 @@ func (o *NewBlockRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewBlockRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -112,7 +112,7 @@ func (o *NewBlockRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewBlockRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -136,7 +136,7 @@ func (o *NewBlockRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *NewBlockRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -160,7 +160,7 @@ func (o *NewBlockRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewBlockRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_e400.go b/model_new_confirmed_coins_transactions_and_each_confirmation_e400.go index 5bea225..32b1309 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_e400.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_e400.go @@ -25,17 +25,23 @@ type NewConfirmedCoinsTransactionsAndEachConfirmationE400 struct { // InvalidPaginationAsNewConfirmedCoinsTransactionsAndEachConfirmationE400 is a convenience function that returns InvalidPagination wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE400 func InvalidPaginationAsNewConfirmedCoinsTransactionsAndEachConfirmationE400(v *InvalidPagination) NewConfirmedCoinsTransactionsAndEachConfirmationE400 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE400{ InvalidPagination: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewConfirmedCoinsTransactionsAndEachConfirmationE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE400 func LimitGreaterThanAllowedAsNewConfirmedCoinsTransactionsAndEachConfirmationE400(v *LimitGreaterThanAllowed) NewConfirmedCoinsTransactionsAndEachConfirmationE400 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE400{ LimitGreaterThanAllowed: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewConfirmedCoinsTransactionsAndEachConfirmationE400 is a convenience function that returns UriNotFound wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE400 func UriNotFoundAsNewConfirmedCoinsTransactionsAndEachConfirmationE400(v *UriNotFound) NewConfirmedCoinsTransactionsAndEachConfirmationE400 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE400{ UriNotFound: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE400) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE400) UnmarshalJSON(d } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE400) UnmarshalJSON(d } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewConfirmedCoinsTransactionsAndEachConfirmationE400) MarshalJSON() ([ // Get the actual instance func (obj *NewConfirmedCoinsTransactionsAndEachConfirmationE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_e401.go b/model_new_confirmed_coins_transactions_and_each_confirmation_e401.go index 2af48b0..7373784 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_e401.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_e401.go @@ -24,12 +24,16 @@ type NewConfirmedCoinsTransactionsAndEachConfirmationE401 struct { // InvalidApiKeyAsNewConfirmedCoinsTransactionsAndEachConfirmationE401 is a convenience function that returns InvalidApiKey wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE401 func InvalidApiKeyAsNewConfirmedCoinsTransactionsAndEachConfirmationE401(v *InvalidApiKey) NewConfirmedCoinsTransactionsAndEachConfirmationE401 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE401{ InvalidApiKey: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewConfirmedCoinsTransactionsAndEachConfirmationE401 is a convenience function that returns MissingApiKey wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE401 func MissingApiKeyAsNewConfirmedCoinsTransactionsAndEachConfirmationE401(v *MissingApiKey) NewConfirmedCoinsTransactionsAndEachConfirmationE401 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE401{ MissingApiKey: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE401) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE401) UnmarshalJSON(d } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedCoinsTransactionsAndEachConfirmationE401) MarshalJSON() ([ // Get the actual instance func (obj *NewConfirmedCoinsTransactionsAndEachConfirmationE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_e403.go b/model_new_confirmed_coins_transactions_and_each_confirmation_e403.go index 9208e58..d5f09b8 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_e403.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_e403.go @@ -27,27 +27,37 @@ type NewConfirmedCoinsTransactionsAndEachConfirmationE403 struct { // BannedIpAddressAsNewConfirmedCoinsTransactionsAndEachConfirmationE403 is a convenience function that returns BannedIpAddress wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE403 func BannedIpAddressAsNewConfirmedCoinsTransactionsAndEachConfirmationE403(v *BannedIpAddress) NewConfirmedCoinsTransactionsAndEachConfirmationE403 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ BannedIpAddress: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewConfirmedCoinsTransactionsAndEachConfirmationE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE403 func BlockchainEventsCallbacksLimitReachedAsNewConfirmedCoinsTransactionsAndEachConfirmationE403(v *BlockchainEventsCallbacksLimitReached) NewConfirmedCoinsTransactionsAndEachConfirmationE403 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ BlockchainEventsCallbacksLimitReached: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewConfirmedCoinsTransactionsAndEachConfirmationE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE403 func EndpointNotAllowedForApiKeyAsNewConfirmedCoinsTransactionsAndEachConfirmationE403(v *EndpointNotAllowedForApiKey) NewConfirmedCoinsTransactionsAndEachConfirmationE403 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ EndpointNotAllowedForApiKey: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewConfirmedCoinsTransactionsAndEachConfirmationE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE403 func EndpointNotAllowedForPlanAsNewConfirmedCoinsTransactionsAndEachConfirmationE403(v *EndpointNotAllowedForPlan) NewConfirmedCoinsTransactionsAndEachConfirmationE403 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ EndpointNotAllowedForPlan: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewConfirmedCoinsTransactionsAndEachConfirmationE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE403 func FeatureMainnetsNotAllowedForPlanAsNewConfirmedCoinsTransactionsAndEachConfirmationE403(v *FeatureMainnetsNotAllowedForPlan) NewConfirmedCoinsTransactionsAndEachConfirmationE403 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE403) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE403) UnmarshalJSON(d } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE403) UnmarshalJSON(d } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE403) UnmarshalJSON(d } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE403) UnmarshalJSON(d } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewConfirmedCoinsTransactionsAndEachConfirmationE403) MarshalJSON() ([ // Get the actual instance func (obj *NewConfirmedCoinsTransactionsAndEachConfirmationE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_e409.go b/model_new_confirmed_coins_transactions_and_each_confirmation_e409.go index 30bd480..f8386ae 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_e409.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_e409.go @@ -24,12 +24,16 @@ type NewConfirmedCoinsTransactionsAndEachConfirmationE409 struct { // AlreadyExistsAsNewConfirmedCoinsTransactionsAndEachConfirmationE409 is a convenience function that returns AlreadyExists wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE409 func AlreadyExistsAsNewConfirmedCoinsTransactionsAndEachConfirmationE409(v *AlreadyExists) NewConfirmedCoinsTransactionsAndEachConfirmationE409 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE409{ AlreadyExists: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE409{ + AlreadyExists: v, + } } // InvalidDataAsNewConfirmedCoinsTransactionsAndEachConfirmationE409 is a convenience function that returns InvalidData wrapped in NewConfirmedCoinsTransactionsAndEachConfirmationE409 func InvalidDataAsNewConfirmedCoinsTransactionsAndEachConfirmationE409(v *InvalidData) NewConfirmedCoinsTransactionsAndEachConfirmationE409 { - return NewConfirmedCoinsTransactionsAndEachConfirmationE409{ InvalidData: v} + return NewConfirmedCoinsTransactionsAndEachConfirmationE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE409) UnmarshalJSON(d var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedCoinsTransactionsAndEachConfirmationE409) UnmarshalJSON(d } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedCoinsTransactionsAndEachConfirmationE409) MarshalJSON() ([ // Get the actual instance func (obj *NewConfirmedCoinsTransactionsAndEachConfirmationE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_r.go b/model_new_confirmed_coins_transactions_and_each_confirmation_r.go index 2a83ddb..e461585 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_r.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_r.go @@ -59,7 +59,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationR) GetApiVersion() stri // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationR) GetRequestId() strin // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationR) GetData() NewConfirm // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationR) GetDataOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_r_data.go b/model_new_confirmed_coins_transactions_and_each_confirmation_r_data.go index c19074c..72a6702 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_r_data.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_r_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRData) GetItem() NewCon // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRData) GetItemOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_rb.go b/model_new_confirmed_coins_transactions_and_each_confirmation_rb.go index 35d4c90..18e6822 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_rb.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_rb.go @@ -85,7 +85,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRB) GetData() NewConfir // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRB) GetDataOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_rb_data.go b/model_new_confirmed_coins_transactions_and_each_confirmation_rb_data.go index 2c301f2..672bb68 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_rb_data.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_rb_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRBData) GetItem() NewCo // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRBData) GetItemOk() (*NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_rb_data_item.go b/model_new_confirmed_coins_transactions_and_each_confirmation_rb_data_item.go index d1b4ec1..4deb4c0 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_rb_data_item.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_rb_data_item.go @@ -23,7 +23,7 @@ type NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem struct { AllowDuplicates *bool `json:"allowDuplicates,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -66,7 +66,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem) GetAddress( // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -154,7 +154,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem) GetCallback // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -178,7 +178,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem) GetConfirma // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRBDataItem) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true diff --git a/model_new_confirmed_coins_transactions_and_each_confirmation_ri.go b/model_new_confirmed_coins_transactions_and_each_confirmation_ri.go index 1d1c07e..7abec2e 100644 --- a/model_new_confirmed_coins_transactions_and_each_confirmation_ri.go +++ b/model_new_confirmed_coins_transactions_and_each_confirmation_ri.go @@ -21,7 +21,7 @@ type NewConfirmedCoinsTransactionsAndEachConfirmationRI struct { Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -73,7 +73,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetAddress() string // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -97,7 +97,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetCallbackSecretKe // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -121,7 +121,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetCallbackUrl() st // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -145,7 +145,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetConfirmationsCou // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -169,7 +169,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetCreatedTimestamp // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -193,7 +193,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetEventType() stri // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -217,7 +217,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetIsActive() bool // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -241,7 +241,7 @@ func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetReferenceId() st // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsAndEachConfirmationRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true diff --git a/model_new_confirmed_coins_transactions_e400.go b/model_new_confirmed_coins_transactions_e400.go index 2d496cd..2bc6b88 100644 --- a/model_new_confirmed_coins_transactions_e400.go +++ b/model_new_confirmed_coins_transactions_e400.go @@ -25,17 +25,23 @@ type NewConfirmedCoinsTransactionsE400 struct { // InvalidPaginationAsNewConfirmedCoinsTransactionsE400 is a convenience function that returns InvalidPagination wrapped in NewConfirmedCoinsTransactionsE400 func InvalidPaginationAsNewConfirmedCoinsTransactionsE400(v *InvalidPagination) NewConfirmedCoinsTransactionsE400 { - return NewConfirmedCoinsTransactionsE400{ InvalidPagination: v} + return NewConfirmedCoinsTransactionsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewConfirmedCoinsTransactionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewConfirmedCoinsTransactionsE400 func LimitGreaterThanAllowedAsNewConfirmedCoinsTransactionsE400(v *LimitGreaterThanAllowed) NewConfirmedCoinsTransactionsE400 { - return NewConfirmedCoinsTransactionsE400{ LimitGreaterThanAllowed: v} + return NewConfirmedCoinsTransactionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewConfirmedCoinsTransactionsE400 is a convenience function that returns UriNotFound wrapped in NewConfirmedCoinsTransactionsE400 func UriNotFoundAsNewConfirmedCoinsTransactionsE400(v *UriNotFound) NewConfirmedCoinsTransactionsE400 { - return NewConfirmedCoinsTransactionsE400{ UriNotFound: v} + return NewConfirmedCoinsTransactionsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewConfirmedCoinsTransactionsE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewConfirmedCoinsTransactionsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewConfirmedCoinsTransactionsE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewConfirmedCoinsTransactionsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedCoinsTransactionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_confirmed_coins_transactions_e401.go b/model_new_confirmed_coins_transactions_e401.go index 88c9bf0..7335242 100644 --- a/model_new_confirmed_coins_transactions_e401.go +++ b/model_new_confirmed_coins_transactions_e401.go @@ -24,12 +24,16 @@ type NewConfirmedCoinsTransactionsE401 struct { // InvalidApiKeyAsNewConfirmedCoinsTransactionsE401 is a convenience function that returns InvalidApiKey wrapped in NewConfirmedCoinsTransactionsE401 func InvalidApiKeyAsNewConfirmedCoinsTransactionsE401(v *InvalidApiKey) NewConfirmedCoinsTransactionsE401 { - return NewConfirmedCoinsTransactionsE401{ InvalidApiKey: v} + return NewConfirmedCoinsTransactionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewConfirmedCoinsTransactionsE401 is a convenience function that returns MissingApiKey wrapped in NewConfirmedCoinsTransactionsE401 func MissingApiKeyAsNewConfirmedCoinsTransactionsE401(v *MissingApiKey) NewConfirmedCoinsTransactionsE401 { - return NewConfirmedCoinsTransactionsE401{ MissingApiKey: v} + return NewConfirmedCoinsTransactionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedCoinsTransactionsE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedCoinsTransactionsE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedCoinsTransactionsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedCoinsTransactionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_confirmed_coins_transactions_e403.go b/model_new_confirmed_coins_transactions_e403.go index 59c2870..a1d08ef 100644 --- a/model_new_confirmed_coins_transactions_e403.go +++ b/model_new_confirmed_coins_transactions_e403.go @@ -27,27 +27,37 @@ type NewConfirmedCoinsTransactionsE403 struct { // BannedIpAddressAsNewConfirmedCoinsTransactionsE403 is a convenience function that returns BannedIpAddress wrapped in NewConfirmedCoinsTransactionsE403 func BannedIpAddressAsNewConfirmedCoinsTransactionsE403(v *BannedIpAddress) NewConfirmedCoinsTransactionsE403 { - return NewConfirmedCoinsTransactionsE403{ BannedIpAddress: v} + return NewConfirmedCoinsTransactionsE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewConfirmedCoinsTransactionsE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewConfirmedCoinsTransactionsE403 func BlockchainEventsCallbacksLimitReachedAsNewConfirmedCoinsTransactionsE403(v *BlockchainEventsCallbacksLimitReached) NewConfirmedCoinsTransactionsE403 { - return NewConfirmedCoinsTransactionsE403{ BlockchainEventsCallbacksLimitReached: v} + return NewConfirmedCoinsTransactionsE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewConfirmedCoinsTransactionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewConfirmedCoinsTransactionsE403 func EndpointNotAllowedForApiKeyAsNewConfirmedCoinsTransactionsE403(v *EndpointNotAllowedForApiKey) NewConfirmedCoinsTransactionsE403 { - return NewConfirmedCoinsTransactionsE403{ EndpointNotAllowedForApiKey: v} + return NewConfirmedCoinsTransactionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewConfirmedCoinsTransactionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewConfirmedCoinsTransactionsE403 func EndpointNotAllowedForPlanAsNewConfirmedCoinsTransactionsE403(v *EndpointNotAllowedForPlan) NewConfirmedCoinsTransactionsE403 { - return NewConfirmedCoinsTransactionsE403{ EndpointNotAllowedForPlan: v} + return NewConfirmedCoinsTransactionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewConfirmedCoinsTransactionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewConfirmedCoinsTransactionsE403 func FeatureMainnetsNotAllowedForPlanAsNewConfirmedCoinsTransactionsE403(v *FeatureMainnetsNotAllowedForPlan) NewConfirmedCoinsTransactionsE403 { - return NewConfirmedCoinsTransactionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewConfirmedCoinsTransactionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewConfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewConfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewConfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewConfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewConfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewConfirmedCoinsTransactionsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedCoinsTransactionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_confirmed_coins_transactions_e409.go b/model_new_confirmed_coins_transactions_e409.go index c6d3cf7..1f614ab 100644 --- a/model_new_confirmed_coins_transactions_e409.go +++ b/model_new_confirmed_coins_transactions_e409.go @@ -24,12 +24,16 @@ type NewConfirmedCoinsTransactionsE409 struct { // AlreadyExistsAsNewConfirmedCoinsTransactionsE409 is a convenience function that returns AlreadyExists wrapped in NewConfirmedCoinsTransactionsE409 func AlreadyExistsAsNewConfirmedCoinsTransactionsE409(v *AlreadyExists) NewConfirmedCoinsTransactionsE409 { - return NewConfirmedCoinsTransactionsE409{ AlreadyExists: v} + return NewConfirmedCoinsTransactionsE409{ + AlreadyExists: v, + } } // InvalidDataAsNewConfirmedCoinsTransactionsE409 is a convenience function that returns InvalidData wrapped in NewConfirmedCoinsTransactionsE409 func InvalidDataAsNewConfirmedCoinsTransactionsE409(v *InvalidData) NewConfirmedCoinsTransactionsE409 { - return NewConfirmedCoinsTransactionsE409{ InvalidData: v} + return NewConfirmedCoinsTransactionsE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedCoinsTransactionsE409) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedCoinsTransactionsE409) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedCoinsTransactionsE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedCoinsTransactionsE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_confirmed_coins_transactions_r.go b/model_new_confirmed_coins_transactions_r.go index 39439ed..cdd1e89 100644 --- a/model_new_confirmed_coins_transactions_r.go +++ b/model_new_confirmed_coins_transactions_r.go @@ -59,7 +59,7 @@ func (o *NewConfirmedCoinsTransactionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewConfirmedCoinsTransactionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewConfirmedCoinsTransactionsR) GetData() NewConfirmedCoinsTransactions // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsR) GetDataOk() (*NewConfirmedCoinsTransactionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_coins_transactions_r_data.go b/model_new_confirmed_coins_transactions_r_data.go index bcbb4a4..29607a6 100644 --- a/model_new_confirmed_coins_transactions_r_data.go +++ b/model_new_confirmed_coins_transactions_r_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedCoinsTransactionsRData) GetItem() NewConfirmedCoinsTransact // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRData) GetItemOk() (*NewConfirmedCoinsTransactionsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_coins_transactions_rb.go b/model_new_confirmed_coins_transactions_rb.go index 56f9c98..6753279 100644 --- a/model_new_confirmed_coins_transactions_rb.go +++ b/model_new_confirmed_coins_transactions_rb.go @@ -85,7 +85,7 @@ func (o *NewConfirmedCoinsTransactionsRB) GetData() NewConfirmedCoinsTransaction // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRB) GetDataOk() (*NewConfirmedCoinsTransactionsRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_coins_transactions_rb_data.go b/model_new_confirmed_coins_transactions_rb_data.go index c27955b..50f7190 100644 --- a/model_new_confirmed_coins_transactions_rb_data.go +++ b/model_new_confirmed_coins_transactions_rb_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedCoinsTransactionsRBData) GetItem() NewConfirmedCoinsTransac // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRBData) GetItemOk() (*NewConfirmedCoinsTransactionsRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_coins_transactions_rb_data_item.go b/model_new_confirmed_coins_transactions_rb_data_item.go index b0db2bd..6874679 100644 --- a/model_new_confirmed_coins_transactions_rb_data_item.go +++ b/model_new_confirmed_coins_transactions_rb_data_item.go @@ -23,8 +23,10 @@ type NewConfirmedCoinsTransactionsRBDataItem struct { AllowDuplicates *bool `json:"allowDuplicates,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackURL string `json:"callbackURL"` + // Represents the exact confirmation, on which the user wants to receive callback. + ReceiveCallbackOn *int32 `json:"receiveCallbackOn,omitempty"` } // NewNewConfirmedCoinsTransactionsRBDataItem instantiates a new NewConfirmedCoinsTransactionsRBDataItem object @@ -63,7 +65,7 @@ func (o *NewConfirmedCoinsTransactionsRBDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -151,7 +153,7 @@ func (o *NewConfirmedCoinsTransactionsRBDataItem) GetCallbackURL() string { // GetCallbackURLOk returns a tuple with the CallbackURL field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRBDataItem) GetCallbackURLOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackURL, true @@ -162,6 +164,38 @@ func (o *NewConfirmedCoinsTransactionsRBDataItem) SetCallbackURL(v string) { o.CallbackURL = v } +// GetReceiveCallbackOn returns the ReceiveCallbackOn field value if set, zero value otherwise. +func (o *NewConfirmedCoinsTransactionsRBDataItem) GetReceiveCallbackOn() int32 { + if o == nil || o.ReceiveCallbackOn == nil { + var ret int32 + return ret + } + return *o.ReceiveCallbackOn +} + +// GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NewConfirmedCoinsTransactionsRBDataItem) GetReceiveCallbackOnOk() (*int32, bool) { + if o == nil || o.ReceiveCallbackOn == nil { + return nil, false + } + return o.ReceiveCallbackOn, true +} + +// HasReceiveCallbackOn returns a boolean if a field has been set. +func (o *NewConfirmedCoinsTransactionsRBDataItem) HasReceiveCallbackOn() bool { + if o != nil && o.ReceiveCallbackOn != nil { + return true + } + + return false +} + +// SetReceiveCallbackOn gets a reference to the given int32 and assigns it to the ReceiveCallbackOn field. +func (o *NewConfirmedCoinsTransactionsRBDataItem) SetReceiveCallbackOn(v int32) { + o.ReceiveCallbackOn = &v +} + func (o NewConfirmedCoinsTransactionsRBDataItem) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { @@ -176,6 +210,9 @@ func (o NewConfirmedCoinsTransactionsRBDataItem) MarshalJSON() ([]byte, error) { if true { toSerialize["callbackURL"] = o.CallbackURL } + if o.ReceiveCallbackOn != nil { + toSerialize["receiveCallbackOn"] = o.ReceiveCallbackOn + } return json.Marshal(toSerialize) } diff --git a/model_new_confirmed_coins_transactions_ri.go b/model_new_confirmed_coins_transactions_ri.go index 54d48cc..7ce6e9e 100644 --- a/model_new_confirmed_coins_transactions_ri.go +++ b/model_new_confirmed_coins_transactions_ri.go @@ -21,7 +21,7 @@ type NewConfirmedCoinsTransactionsRI struct { Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs 2.0. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` @@ -29,6 +29,8 @@ type NewConfirmedCoinsTransactionsRI struct { EventType string `json:"eventType"` // Defines whether the subscription is active or not. Set as boolean. IsActive bool `json:"isActive"` + // Represents the exact confirmation, on which the user wants to receive callback. + ReceiveCallbackOn int32 `json:"receiveCallbackOn"` // Represents a unique ID used to reference the specific callback subscription. ReferenceId string `json:"referenceId"` } @@ -37,7 +39,7 @@ type NewConfirmedCoinsTransactionsRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewNewConfirmedCoinsTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string) *NewConfirmedCoinsTransactionsRI { +func NewNewConfirmedCoinsTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, receiveCallbackOn int32, referenceId string) *NewConfirmedCoinsTransactionsRI { this := NewConfirmedCoinsTransactionsRI{} this.Address = address this.CallbackSecretKey = callbackSecretKey @@ -45,6 +47,7 @@ func NewNewConfirmedCoinsTransactionsRI(address string, callbackSecretKey string this.CreatedTimestamp = createdTimestamp this.EventType = eventType this.IsActive = isActive + this.ReceiveCallbackOn = receiveCallbackOn this.ReferenceId = referenceId return &this } @@ -70,7 +73,7 @@ func (o *NewConfirmedCoinsTransactionsRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -94,7 +97,7 @@ func (o *NewConfirmedCoinsTransactionsRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -118,7 +121,7 @@ func (o *NewConfirmedCoinsTransactionsRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -142,7 +145,7 @@ func (o *NewConfirmedCoinsTransactionsRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -166,7 +169,7 @@ func (o *NewConfirmedCoinsTransactionsRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -190,7 +193,7 @@ func (o *NewConfirmedCoinsTransactionsRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -201,6 +204,30 @@ func (o *NewConfirmedCoinsTransactionsRI) SetIsActive(v bool) { o.IsActive = v } +// GetReceiveCallbackOn returns the ReceiveCallbackOn field value +func (o *NewConfirmedCoinsTransactionsRI) GetReceiveCallbackOn() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ReceiveCallbackOn +} + +// GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field value +// and a boolean to check if the value has been set. +func (o *NewConfirmedCoinsTransactionsRI) GetReceiveCallbackOnOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ReceiveCallbackOn, true +} + +// SetReceiveCallbackOn sets field value +func (o *NewConfirmedCoinsTransactionsRI) SetReceiveCallbackOn(v int32) { + o.ReceiveCallbackOn = v +} + // GetReferenceId returns the ReferenceId field value func (o *NewConfirmedCoinsTransactionsRI) GetReferenceId() string { if o == nil { @@ -214,7 +241,7 @@ func (o *NewConfirmedCoinsTransactionsRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewConfirmedCoinsTransactionsRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -245,6 +272,9 @@ func (o NewConfirmedCoinsTransactionsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["isActive"] = o.IsActive } + if true { + toSerialize["receiveCallbackOn"] = o.ReceiveCallbackOn + } if true { toSerialize["referenceId"] = o.ReferenceId } diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_e400.go b/model_new_confirmed_internal_transactions_and_each_confirmation_e400.go index ffdd80b..a0df012 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_e400.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_e400.go @@ -25,17 +25,23 @@ type NewConfirmedInternalTransactionsAndEachConfirmationE400 struct { // InvalidPaginationAsNewConfirmedInternalTransactionsAndEachConfirmationE400 is a convenience function that returns InvalidPagination wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE400 func InvalidPaginationAsNewConfirmedInternalTransactionsAndEachConfirmationE400(v *InvalidPagination) NewConfirmedInternalTransactionsAndEachConfirmationE400 { - return NewConfirmedInternalTransactionsAndEachConfirmationE400{ InvalidPagination: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewConfirmedInternalTransactionsAndEachConfirmationE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE400 func LimitGreaterThanAllowedAsNewConfirmedInternalTransactionsAndEachConfirmationE400(v *LimitGreaterThanAllowed) NewConfirmedInternalTransactionsAndEachConfirmationE400 { - return NewConfirmedInternalTransactionsAndEachConfirmationE400{ LimitGreaterThanAllowed: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewConfirmedInternalTransactionsAndEachConfirmationE400 is a convenience function that returns UriNotFound wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE400 func UriNotFoundAsNewConfirmedInternalTransactionsAndEachConfirmationE400(v *UriNotFound) NewConfirmedInternalTransactionsAndEachConfirmationE400 { - return NewConfirmedInternalTransactionsAndEachConfirmationE400{ UriNotFound: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE400) UnmarshalJSO var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE400) UnmarshalJSO } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE400) UnmarshalJSO } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewConfirmedInternalTransactionsAndEachConfirmationE400) MarshalJSON() // Get the actual instance func (obj *NewConfirmedInternalTransactionsAndEachConfirmationE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_e401.go b/model_new_confirmed_internal_transactions_and_each_confirmation_e401.go index d6db5e9..425b68c 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_e401.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_e401.go @@ -24,12 +24,16 @@ type NewConfirmedInternalTransactionsAndEachConfirmationE401 struct { // InvalidApiKeyAsNewConfirmedInternalTransactionsAndEachConfirmationE401 is a convenience function that returns InvalidApiKey wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE401 func InvalidApiKeyAsNewConfirmedInternalTransactionsAndEachConfirmationE401(v *InvalidApiKey) NewConfirmedInternalTransactionsAndEachConfirmationE401 { - return NewConfirmedInternalTransactionsAndEachConfirmationE401{ InvalidApiKey: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewConfirmedInternalTransactionsAndEachConfirmationE401 is a convenience function that returns MissingApiKey wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE401 func MissingApiKeyAsNewConfirmedInternalTransactionsAndEachConfirmationE401(v *MissingApiKey) NewConfirmedInternalTransactionsAndEachConfirmationE401 { - return NewConfirmedInternalTransactionsAndEachConfirmationE401{ MissingApiKey: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE401) UnmarshalJSO var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE401) UnmarshalJSO } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedInternalTransactionsAndEachConfirmationE401) MarshalJSON() // Get the actual instance func (obj *NewConfirmedInternalTransactionsAndEachConfirmationE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_e403.go b/model_new_confirmed_internal_transactions_and_each_confirmation_e403.go index 09e5608..b8b399d 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_e403.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_e403.go @@ -27,27 +27,37 @@ type NewConfirmedInternalTransactionsAndEachConfirmationE403 struct { // BannedIpAddressAsNewConfirmedInternalTransactionsAndEachConfirmationE403 is a convenience function that returns BannedIpAddress wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE403 func BannedIpAddressAsNewConfirmedInternalTransactionsAndEachConfirmationE403(v *BannedIpAddress) NewConfirmedInternalTransactionsAndEachConfirmationE403 { - return NewConfirmedInternalTransactionsAndEachConfirmationE403{ BannedIpAddress: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewConfirmedInternalTransactionsAndEachConfirmationE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE403 func BlockchainEventsCallbacksLimitReachedAsNewConfirmedInternalTransactionsAndEachConfirmationE403(v *BlockchainEventsCallbacksLimitReached) NewConfirmedInternalTransactionsAndEachConfirmationE403 { - return NewConfirmedInternalTransactionsAndEachConfirmationE403{ BlockchainEventsCallbacksLimitReached: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewConfirmedInternalTransactionsAndEachConfirmationE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE403 func EndpointNotAllowedForApiKeyAsNewConfirmedInternalTransactionsAndEachConfirmationE403(v *EndpointNotAllowedForApiKey) NewConfirmedInternalTransactionsAndEachConfirmationE403 { - return NewConfirmedInternalTransactionsAndEachConfirmationE403{ EndpointNotAllowedForApiKey: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewConfirmedInternalTransactionsAndEachConfirmationE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE403 func EndpointNotAllowedForPlanAsNewConfirmedInternalTransactionsAndEachConfirmationE403(v *EndpointNotAllowedForPlan) NewConfirmedInternalTransactionsAndEachConfirmationE403 { - return NewConfirmedInternalTransactionsAndEachConfirmationE403{ EndpointNotAllowedForPlan: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewConfirmedInternalTransactionsAndEachConfirmationE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE403 func FeatureMainnetsNotAllowedForPlanAsNewConfirmedInternalTransactionsAndEachConfirmationE403(v *FeatureMainnetsNotAllowedForPlan) NewConfirmedInternalTransactionsAndEachConfirmationE403 { - return NewConfirmedInternalTransactionsAndEachConfirmationE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE403) UnmarshalJSO var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE403) UnmarshalJSO } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE403) UnmarshalJSO } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE403) UnmarshalJSO } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE403) UnmarshalJSO } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewConfirmedInternalTransactionsAndEachConfirmationE403) MarshalJSON() // Get the actual instance func (obj *NewConfirmedInternalTransactionsAndEachConfirmationE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_e409.go b/model_new_confirmed_internal_transactions_and_each_confirmation_e409.go index 0d6dd6f..bdfdd77 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_e409.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_e409.go @@ -24,12 +24,16 @@ type NewConfirmedInternalTransactionsAndEachConfirmationE409 struct { // AlreadyExistsAsNewConfirmedInternalTransactionsAndEachConfirmationE409 is a convenience function that returns AlreadyExists wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE409 func AlreadyExistsAsNewConfirmedInternalTransactionsAndEachConfirmationE409(v *AlreadyExists) NewConfirmedInternalTransactionsAndEachConfirmationE409 { - return NewConfirmedInternalTransactionsAndEachConfirmationE409{ AlreadyExists: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE409{ + AlreadyExists: v, + } } // InvalidDataAsNewConfirmedInternalTransactionsAndEachConfirmationE409 is a convenience function that returns InvalidData wrapped in NewConfirmedInternalTransactionsAndEachConfirmationE409 func InvalidDataAsNewConfirmedInternalTransactionsAndEachConfirmationE409(v *InvalidData) NewConfirmedInternalTransactionsAndEachConfirmationE409 { - return NewConfirmedInternalTransactionsAndEachConfirmationE409{ InvalidData: v} + return NewConfirmedInternalTransactionsAndEachConfirmationE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE409) UnmarshalJSO var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedInternalTransactionsAndEachConfirmationE409) UnmarshalJSO } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedInternalTransactionsAndEachConfirmationE409) MarshalJSON() // Get the actual instance func (obj *NewConfirmedInternalTransactionsAndEachConfirmationE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_r.go b/model_new_confirmed_internal_transactions_and_each_confirmation_r.go index c941484..eb09f44 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_r.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_r.go @@ -59,7 +59,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationR) GetApiVersion() s // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationR) GetRequestId() st // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationR) GetData() NewConf // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationR) GetDataOk() (*NewConfirmedInternalTransactionsAndEachConfirmationRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_r_data.go b/model_new_confirmed_internal_transactions_and_each_confirmation_r_data.go index c85ee18..7e3b314 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_r_data.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_r_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRData) GetItem() New // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRData) GetItemOk() (*NewConfirmedInternalTransactionsAndEachConfirmationRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_rb.go b/model_new_confirmed_internal_transactions_and_each_confirmation_rb.go index 9a8278c..381f07b 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_rb.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_rb.go @@ -85,7 +85,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRB) GetData() NewCon // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRB) GetDataOk() (*NewConfirmedInternalTransactionsAndEachConfirmationRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_rb_data.go b/model_new_confirmed_internal_transactions_and_each_confirmation_rb_data.go index b3dab5c..0ea8171 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_rb_data.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_rb_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBData) GetItem() Ne // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBData) GetItemOk() (*NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_rb_data_item.go b/model_new_confirmed_internal_transactions_and_each_confirmation_rb_data_item.go index 475f77e..2f7ecea 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_rb_data_item.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_rb_data_item.go @@ -23,7 +23,7 @@ type NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem struct { AllowDuplicates bool `json:"allowDuplicates"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -66,7 +66,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetAddre // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -90,7 +90,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetAllow // GetAllowDuplicatesOk returns a tuple with the AllowDuplicates field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetAllowDuplicatesOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AllowDuplicates, true @@ -114,7 +114,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetCallb // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -138,7 +138,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetCallb // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -162,7 +162,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetConfi // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRBDataItem) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true diff --git a/model_new_confirmed_internal_transactions_and_each_confirmation_ri.go b/model_new_confirmed_internal_transactions_and_each_confirmation_ri.go index 2318bca..e5151be 100644 --- a/model_new_confirmed_internal_transactions_and_each_confirmation_ri.go +++ b/model_new_confirmed_internal_transactions_and_each_confirmation_ri.go @@ -21,7 +21,7 @@ type NewConfirmedInternalTransactionsAndEachConfirmationRI struct { Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount int32 `json:"confirmationsCount"` @@ -73,7 +73,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetAddress() str // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -97,7 +97,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetCallbackSecre // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -121,7 +121,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetCallbackUrl() // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -145,7 +145,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetConfirmations // GetConfirmationsCountOk returns a tuple with the ConfirmationsCount field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetConfirmationsCountOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ConfirmationsCount, true @@ -169,7 +169,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetCreatedTimest // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -193,7 +193,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetEventType() s // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -217,7 +217,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetIsActive() bo // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -241,7 +241,7 @@ func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetReferenceId() // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsAndEachConfirmationRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true diff --git a/model_new_confirmed_internal_transactions_e400.go b/model_new_confirmed_internal_transactions_e400.go index 962cc91..f437f30 100644 --- a/model_new_confirmed_internal_transactions_e400.go +++ b/model_new_confirmed_internal_transactions_e400.go @@ -25,17 +25,23 @@ type NewConfirmedInternalTransactionsE400 struct { // InvalidPaginationAsNewConfirmedInternalTransactionsE400 is a convenience function that returns InvalidPagination wrapped in NewConfirmedInternalTransactionsE400 func InvalidPaginationAsNewConfirmedInternalTransactionsE400(v *InvalidPagination) NewConfirmedInternalTransactionsE400 { - return NewConfirmedInternalTransactionsE400{ InvalidPagination: v} + return NewConfirmedInternalTransactionsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewConfirmedInternalTransactionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewConfirmedInternalTransactionsE400 func LimitGreaterThanAllowedAsNewConfirmedInternalTransactionsE400(v *LimitGreaterThanAllowed) NewConfirmedInternalTransactionsE400 { - return NewConfirmedInternalTransactionsE400{ LimitGreaterThanAllowed: v} + return NewConfirmedInternalTransactionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewConfirmedInternalTransactionsE400 is a convenience function that returns UriNotFound wrapped in NewConfirmedInternalTransactionsE400 func UriNotFoundAsNewConfirmedInternalTransactionsE400(v *UriNotFound) NewConfirmedInternalTransactionsE400 { - return NewConfirmedInternalTransactionsE400{ UriNotFound: v} + return NewConfirmedInternalTransactionsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewConfirmedInternalTransactionsE400) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewConfirmedInternalTransactionsE400) UnmarshalJSON(data []byte) erro } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewConfirmedInternalTransactionsE400) UnmarshalJSON(data []byte) erro } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewConfirmedInternalTransactionsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedInternalTransactionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_confirmed_internal_transactions_e401.go b/model_new_confirmed_internal_transactions_e401.go index 69f98e2..850c93a 100644 --- a/model_new_confirmed_internal_transactions_e401.go +++ b/model_new_confirmed_internal_transactions_e401.go @@ -24,12 +24,16 @@ type NewConfirmedInternalTransactionsE401 struct { // InvalidApiKeyAsNewConfirmedInternalTransactionsE401 is a convenience function that returns InvalidApiKey wrapped in NewConfirmedInternalTransactionsE401 func InvalidApiKeyAsNewConfirmedInternalTransactionsE401(v *InvalidApiKey) NewConfirmedInternalTransactionsE401 { - return NewConfirmedInternalTransactionsE401{ InvalidApiKey: v} + return NewConfirmedInternalTransactionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewConfirmedInternalTransactionsE401 is a convenience function that returns MissingApiKey wrapped in NewConfirmedInternalTransactionsE401 func MissingApiKeyAsNewConfirmedInternalTransactionsE401(v *MissingApiKey) NewConfirmedInternalTransactionsE401 { - return NewConfirmedInternalTransactionsE401{ MissingApiKey: v} + return NewConfirmedInternalTransactionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedInternalTransactionsE401) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedInternalTransactionsE401) UnmarshalJSON(data []byte) erro } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedInternalTransactionsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedInternalTransactionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_confirmed_internal_transactions_e403.go b/model_new_confirmed_internal_transactions_e403.go index de4631e..a6d3c5c 100644 --- a/model_new_confirmed_internal_transactions_e403.go +++ b/model_new_confirmed_internal_transactions_e403.go @@ -27,27 +27,37 @@ type NewConfirmedInternalTransactionsE403 struct { // BannedIpAddressAsNewConfirmedInternalTransactionsE403 is a convenience function that returns BannedIpAddress wrapped in NewConfirmedInternalTransactionsE403 func BannedIpAddressAsNewConfirmedInternalTransactionsE403(v *BannedIpAddress) NewConfirmedInternalTransactionsE403 { - return NewConfirmedInternalTransactionsE403{ BannedIpAddress: v} + return NewConfirmedInternalTransactionsE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewConfirmedInternalTransactionsE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewConfirmedInternalTransactionsE403 func BlockchainEventsCallbacksLimitReachedAsNewConfirmedInternalTransactionsE403(v *BlockchainEventsCallbacksLimitReached) NewConfirmedInternalTransactionsE403 { - return NewConfirmedInternalTransactionsE403{ BlockchainEventsCallbacksLimitReached: v} + return NewConfirmedInternalTransactionsE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewConfirmedInternalTransactionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewConfirmedInternalTransactionsE403 func EndpointNotAllowedForApiKeyAsNewConfirmedInternalTransactionsE403(v *EndpointNotAllowedForApiKey) NewConfirmedInternalTransactionsE403 { - return NewConfirmedInternalTransactionsE403{ EndpointNotAllowedForApiKey: v} + return NewConfirmedInternalTransactionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewConfirmedInternalTransactionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewConfirmedInternalTransactionsE403 func EndpointNotAllowedForPlanAsNewConfirmedInternalTransactionsE403(v *EndpointNotAllowedForPlan) NewConfirmedInternalTransactionsE403 { - return NewConfirmedInternalTransactionsE403{ EndpointNotAllowedForPlan: v} + return NewConfirmedInternalTransactionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewConfirmedInternalTransactionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewConfirmedInternalTransactionsE403 func FeatureMainnetsNotAllowedForPlanAsNewConfirmedInternalTransactionsE403(v *FeatureMainnetsNotAllowedForPlan) NewConfirmedInternalTransactionsE403 { - return NewConfirmedInternalTransactionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewConfirmedInternalTransactionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewConfirmedInternalTransactionsE403) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewConfirmedInternalTransactionsE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewConfirmedInternalTransactionsE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewConfirmedInternalTransactionsE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewConfirmedInternalTransactionsE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewConfirmedInternalTransactionsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedInternalTransactionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_confirmed_internal_transactions_e409.go b/model_new_confirmed_internal_transactions_e409.go index bceba8d..55a0b6f 100644 --- a/model_new_confirmed_internal_transactions_e409.go +++ b/model_new_confirmed_internal_transactions_e409.go @@ -24,12 +24,16 @@ type NewConfirmedInternalTransactionsE409 struct { // AlreadyExistsAsNewConfirmedInternalTransactionsE409 is a convenience function that returns AlreadyExists wrapped in NewConfirmedInternalTransactionsE409 func AlreadyExistsAsNewConfirmedInternalTransactionsE409(v *AlreadyExists) NewConfirmedInternalTransactionsE409 { - return NewConfirmedInternalTransactionsE409{ AlreadyExists: v} + return NewConfirmedInternalTransactionsE409{ + AlreadyExists: v, + } } // InvalidDataAsNewConfirmedInternalTransactionsE409 is a convenience function that returns InvalidData wrapped in NewConfirmedInternalTransactionsE409 func InvalidDataAsNewConfirmedInternalTransactionsE409(v *InvalidData) NewConfirmedInternalTransactionsE409 { - return NewConfirmedInternalTransactionsE409{ InvalidData: v} + return NewConfirmedInternalTransactionsE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedInternalTransactionsE409) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedInternalTransactionsE409) UnmarshalJSON(data []byte) erro } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedInternalTransactionsE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedInternalTransactionsE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_confirmed_internal_transactions_r.go b/model_new_confirmed_internal_transactions_r.go index 810df7f..424b031 100644 --- a/model_new_confirmed_internal_transactions_r.go +++ b/model_new_confirmed_internal_transactions_r.go @@ -59,7 +59,7 @@ func (o *NewConfirmedInternalTransactionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewConfirmedInternalTransactionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewConfirmedInternalTransactionsR) GetData() NewConfirmedInternalTransa // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsR) GetDataOk() (*NewConfirmedInternalTransactionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_internal_transactions_r_data.go b/model_new_confirmed_internal_transactions_r_data.go index 54c9c79..3ae1438 100644 --- a/model_new_confirmed_internal_transactions_r_data.go +++ b/model_new_confirmed_internal_transactions_r_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedInternalTransactionsRData) GetItem() NewConfirmedInternalTr // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRData) GetItemOk() (*NewConfirmedInternalTransactionsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_internal_transactions_rb.go b/model_new_confirmed_internal_transactions_rb.go index 7f5d3b2..90c9a92 100644 --- a/model_new_confirmed_internal_transactions_rb.go +++ b/model_new_confirmed_internal_transactions_rb.go @@ -85,7 +85,7 @@ func (o *NewConfirmedInternalTransactionsRB) GetData() NewConfirmedInternalTrans // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRB) GetDataOk() (*NewConfirmedInternalTransactionsRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_internal_transactions_rb_data.go b/model_new_confirmed_internal_transactions_rb_data.go index 684808e..4647723 100644 --- a/model_new_confirmed_internal_transactions_rb_data.go +++ b/model_new_confirmed_internal_transactions_rb_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedInternalTransactionsRBData) GetItem() NewConfirmedInternalT // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRBData) GetItemOk() (*NewConfirmedInternalTransactionsRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_internal_transactions_rb_data_item.go b/model_new_confirmed_internal_transactions_rb_data_item.go index 5284246..02e9c51 100644 --- a/model_new_confirmed_internal_transactions_rb_data_item.go +++ b/model_new_confirmed_internal_transactions_rb_data_item.go @@ -23,8 +23,10 @@ type NewConfirmedInternalTransactionsRBDataItem struct { AllowDuplicates bool `json:"allowDuplicates"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` + // Represents the exact confirmation, on which the user wants to receive callback. + ReceiveCallbackOn *int32 `json:"receiveCallbackOn,omitempty"` } // NewNewConfirmedInternalTransactionsRBDataItem instantiates a new NewConfirmedInternalTransactionsRBDataItem object @@ -63,7 +65,7 @@ func (o *NewConfirmedInternalTransactionsRBDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -87,7 +89,7 @@ func (o *NewConfirmedInternalTransactionsRBDataItem) GetAllowDuplicates() bool { // GetAllowDuplicatesOk returns a tuple with the AllowDuplicates field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRBDataItem) GetAllowDuplicatesOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.AllowDuplicates, true @@ -111,7 +113,7 @@ func (o *NewConfirmedInternalTransactionsRBDataItem) GetCallbackSecretKey() stri // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRBDataItem) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -135,7 +137,7 @@ func (o *NewConfirmedInternalTransactionsRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -146,6 +148,38 @@ func (o *NewConfirmedInternalTransactionsRBDataItem) SetCallbackUrl(v string) { o.CallbackUrl = v } +// GetReceiveCallbackOn returns the ReceiveCallbackOn field value if set, zero value otherwise. +func (o *NewConfirmedInternalTransactionsRBDataItem) GetReceiveCallbackOn() int32 { + if o == nil || o.ReceiveCallbackOn == nil { + var ret int32 + return ret + } + return *o.ReceiveCallbackOn +} + +// GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NewConfirmedInternalTransactionsRBDataItem) GetReceiveCallbackOnOk() (*int32, bool) { + if o == nil || o.ReceiveCallbackOn == nil { + return nil, false + } + return o.ReceiveCallbackOn, true +} + +// HasReceiveCallbackOn returns a boolean if a field has been set. +func (o *NewConfirmedInternalTransactionsRBDataItem) HasReceiveCallbackOn() bool { + if o != nil && o.ReceiveCallbackOn != nil { + return true + } + + return false +} + +// SetReceiveCallbackOn gets a reference to the given int32 and assigns it to the ReceiveCallbackOn field. +func (o *NewConfirmedInternalTransactionsRBDataItem) SetReceiveCallbackOn(v int32) { + o.ReceiveCallbackOn = &v +} + func (o NewConfirmedInternalTransactionsRBDataItem) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { @@ -160,6 +194,9 @@ func (o NewConfirmedInternalTransactionsRBDataItem) MarshalJSON() ([]byte, error if true { toSerialize["callbackUrl"] = o.CallbackUrl } + if o.ReceiveCallbackOn != nil { + toSerialize["receiveCallbackOn"] = o.ReceiveCallbackOn + } return json.Marshal(toSerialize) } diff --git a/model_new_confirmed_internal_transactions_ri.go b/model_new_confirmed_internal_transactions_ri.go index e51f53c..5b75e5e 100644 --- a/model_new_confirmed_internal_transactions_ri.go +++ b/model_new_confirmed_internal_transactions_ri.go @@ -21,7 +21,7 @@ type NewConfirmedInternalTransactionsRI struct { Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs 2.0. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` @@ -29,6 +29,8 @@ type NewConfirmedInternalTransactionsRI struct { EventType string `json:"eventType"` // Defines whether the subscription is active or not. Set as boolean. IsActive bool `json:"isActive"` + // Represents the exact confirmation, on which the user wants to receive callback. + ReceiveCallbackOn int32 `json:"receiveCallbackOn"` // Represents a unique ID used to reference the specific callback subscription. ReferenceId string `json:"referenceId"` } @@ -37,7 +39,7 @@ type NewConfirmedInternalTransactionsRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewNewConfirmedInternalTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string) *NewConfirmedInternalTransactionsRI { +func NewNewConfirmedInternalTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, receiveCallbackOn int32, referenceId string) *NewConfirmedInternalTransactionsRI { this := NewConfirmedInternalTransactionsRI{} this.Address = address this.CallbackSecretKey = callbackSecretKey @@ -45,6 +47,7 @@ func NewNewConfirmedInternalTransactionsRI(address string, callbackSecretKey str this.CreatedTimestamp = createdTimestamp this.EventType = eventType this.IsActive = isActive + this.ReceiveCallbackOn = receiveCallbackOn this.ReferenceId = referenceId return &this } @@ -70,7 +73,7 @@ func (o *NewConfirmedInternalTransactionsRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -94,7 +97,7 @@ func (o *NewConfirmedInternalTransactionsRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -118,7 +121,7 @@ func (o *NewConfirmedInternalTransactionsRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -142,7 +145,7 @@ func (o *NewConfirmedInternalTransactionsRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -166,7 +169,7 @@ func (o *NewConfirmedInternalTransactionsRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -190,7 +193,7 @@ func (o *NewConfirmedInternalTransactionsRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -201,6 +204,30 @@ func (o *NewConfirmedInternalTransactionsRI) SetIsActive(v bool) { o.IsActive = v } +// GetReceiveCallbackOn returns the ReceiveCallbackOn field value +func (o *NewConfirmedInternalTransactionsRI) GetReceiveCallbackOn() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ReceiveCallbackOn +} + +// GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field value +// and a boolean to check if the value has been set. +func (o *NewConfirmedInternalTransactionsRI) GetReceiveCallbackOnOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ReceiveCallbackOn, true +} + +// SetReceiveCallbackOn sets field value +func (o *NewConfirmedInternalTransactionsRI) SetReceiveCallbackOn(v int32) { + o.ReceiveCallbackOn = v +} + // GetReferenceId returns the ReferenceId field value func (o *NewConfirmedInternalTransactionsRI) GetReferenceId() string { if o == nil { @@ -214,7 +241,7 @@ func (o *NewConfirmedInternalTransactionsRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewConfirmedInternalTransactionsRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -245,6 +272,9 @@ func (o NewConfirmedInternalTransactionsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["isActive"] = o.IsActive } + if true { + toSerialize["receiveCallbackOn"] = o.ReceiveCallbackOn + } if true { toSerialize["referenceId"] = o.ReferenceId } diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_e400.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_e400.go index b7596cb..bf92287 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_e400.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_e400.go @@ -25,17 +25,23 @@ type NewConfirmedTokensTransactionsAndEachConfirmationE400 struct { // InvalidPaginationAsNewConfirmedTokensTransactionsAndEachConfirmationE400 is a convenience function that returns InvalidPagination wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE400 func InvalidPaginationAsNewConfirmedTokensTransactionsAndEachConfirmationE400(v *InvalidPagination) NewConfirmedTokensTransactionsAndEachConfirmationE400 { - return NewConfirmedTokensTransactionsAndEachConfirmationE400{ InvalidPagination: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewConfirmedTokensTransactionsAndEachConfirmationE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE400 func LimitGreaterThanAllowedAsNewConfirmedTokensTransactionsAndEachConfirmationE400(v *LimitGreaterThanAllowed) NewConfirmedTokensTransactionsAndEachConfirmationE400 { - return NewConfirmedTokensTransactionsAndEachConfirmationE400{ LimitGreaterThanAllowed: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewConfirmedTokensTransactionsAndEachConfirmationE400 is a convenience function that returns UriNotFound wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE400 func UriNotFoundAsNewConfirmedTokensTransactionsAndEachConfirmationE400(v *UriNotFound) NewConfirmedTokensTransactionsAndEachConfirmationE400 { - return NewConfirmedTokensTransactionsAndEachConfirmationE400{ UriNotFound: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE400) UnmarshalJSON( var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE400) UnmarshalJSON( } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE400) UnmarshalJSON( } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewConfirmedTokensTransactionsAndEachConfirmationE400) MarshalJSON() ( // Get the actual instance func (obj *NewConfirmedTokensTransactionsAndEachConfirmationE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_e401.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_e401.go index aa02636..4cb41a1 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_e401.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_e401.go @@ -24,12 +24,16 @@ type NewConfirmedTokensTransactionsAndEachConfirmationE401 struct { // InvalidApiKeyAsNewConfirmedTokensTransactionsAndEachConfirmationE401 is a convenience function that returns InvalidApiKey wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE401 func InvalidApiKeyAsNewConfirmedTokensTransactionsAndEachConfirmationE401(v *InvalidApiKey) NewConfirmedTokensTransactionsAndEachConfirmationE401 { - return NewConfirmedTokensTransactionsAndEachConfirmationE401{ InvalidApiKey: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewConfirmedTokensTransactionsAndEachConfirmationE401 is a convenience function that returns MissingApiKey wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE401 func MissingApiKeyAsNewConfirmedTokensTransactionsAndEachConfirmationE401(v *MissingApiKey) NewConfirmedTokensTransactionsAndEachConfirmationE401 { - return NewConfirmedTokensTransactionsAndEachConfirmationE401{ MissingApiKey: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE401) UnmarshalJSON( var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE401) UnmarshalJSON( } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedTokensTransactionsAndEachConfirmationE401) MarshalJSON() ( // Get the actual instance func (obj *NewConfirmedTokensTransactionsAndEachConfirmationE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_e403.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_e403.go index 46c597c..2b2b372 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_e403.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_e403.go @@ -27,27 +27,37 @@ type NewConfirmedTokensTransactionsAndEachConfirmationE403 struct { // BannedIpAddressAsNewConfirmedTokensTransactionsAndEachConfirmationE403 is a convenience function that returns BannedIpAddress wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE403 func BannedIpAddressAsNewConfirmedTokensTransactionsAndEachConfirmationE403(v *BannedIpAddress) NewConfirmedTokensTransactionsAndEachConfirmationE403 { - return NewConfirmedTokensTransactionsAndEachConfirmationE403{ BannedIpAddress: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewConfirmedTokensTransactionsAndEachConfirmationE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE403 func BlockchainEventsCallbacksLimitReachedAsNewConfirmedTokensTransactionsAndEachConfirmationE403(v *BlockchainEventsCallbacksLimitReached) NewConfirmedTokensTransactionsAndEachConfirmationE403 { - return NewConfirmedTokensTransactionsAndEachConfirmationE403{ BlockchainEventsCallbacksLimitReached: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewConfirmedTokensTransactionsAndEachConfirmationE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE403 func EndpointNotAllowedForApiKeyAsNewConfirmedTokensTransactionsAndEachConfirmationE403(v *EndpointNotAllowedForApiKey) NewConfirmedTokensTransactionsAndEachConfirmationE403 { - return NewConfirmedTokensTransactionsAndEachConfirmationE403{ EndpointNotAllowedForApiKey: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewConfirmedTokensTransactionsAndEachConfirmationE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE403 func EndpointNotAllowedForPlanAsNewConfirmedTokensTransactionsAndEachConfirmationE403(v *EndpointNotAllowedForPlan) NewConfirmedTokensTransactionsAndEachConfirmationE403 { - return NewConfirmedTokensTransactionsAndEachConfirmationE403{ EndpointNotAllowedForPlan: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewConfirmedTokensTransactionsAndEachConfirmationE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE403 func FeatureMainnetsNotAllowedForPlanAsNewConfirmedTokensTransactionsAndEachConfirmationE403(v *FeatureMainnetsNotAllowedForPlan) NewConfirmedTokensTransactionsAndEachConfirmationE403 { - return NewConfirmedTokensTransactionsAndEachConfirmationE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE403) UnmarshalJSON( var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE403) UnmarshalJSON( } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE403) UnmarshalJSON( } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE403) UnmarshalJSON( } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE403) UnmarshalJSON( } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewConfirmedTokensTransactionsAndEachConfirmationE403) MarshalJSON() ( // Get the actual instance func (obj *NewConfirmedTokensTransactionsAndEachConfirmationE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_e409.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_e409.go index 19b61d3..0171655 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_e409.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_e409.go @@ -24,12 +24,16 @@ type NewConfirmedTokensTransactionsAndEachConfirmationE409 struct { // AlreadyExistsAsNewConfirmedTokensTransactionsAndEachConfirmationE409 is a convenience function that returns AlreadyExists wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE409 func AlreadyExistsAsNewConfirmedTokensTransactionsAndEachConfirmationE409(v *AlreadyExists) NewConfirmedTokensTransactionsAndEachConfirmationE409 { - return NewConfirmedTokensTransactionsAndEachConfirmationE409{ AlreadyExists: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE409{ + AlreadyExists: v, + } } // InvalidDataAsNewConfirmedTokensTransactionsAndEachConfirmationE409 is a convenience function that returns InvalidData wrapped in NewConfirmedTokensTransactionsAndEachConfirmationE409 func InvalidDataAsNewConfirmedTokensTransactionsAndEachConfirmationE409(v *InvalidData) NewConfirmedTokensTransactionsAndEachConfirmationE409 { - return NewConfirmedTokensTransactionsAndEachConfirmationE409{ InvalidData: v} + return NewConfirmedTokensTransactionsAndEachConfirmationE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE409) UnmarshalJSON( var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedTokensTransactionsAndEachConfirmationE409) UnmarshalJSON( } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedTokensTransactionsAndEachConfirmationE409) MarshalJSON() ( // Get the actual instance func (obj *NewConfirmedTokensTransactionsAndEachConfirmationE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_r.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_r.go index 5aa4704..c6bb330 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_r.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_r.go @@ -59,7 +59,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationR) GetApiVersion() str // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationR) GetRequestId() stri // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationR) GetData() NewConfir // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationR) GetDataOk() (*NewConfirmedTokensTransactionsAndEachConfirmationRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_r_data.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_r_data.go index 53598ba..42af7a3 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_r_data.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_r_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRData) GetItem() NewCo // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRData) GetItemOk() (*NewConfirmedTokensTransactionsAndEachConfirmationRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_rb.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_rb.go index 41725ee..71e1929 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_rb.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_rb.go @@ -85,7 +85,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRB) GetData() NewConfi // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRB) GetDataOk() (*NewConfirmedTokensTransactionsAndEachConfirmationRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_rb_data.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_rb_data.go index 566941a..10f2f38 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_rb_data.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_rb_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRBData) GetItem() NewC // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRBData) GetItemOk() (*NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_rb_data_item.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_rb_data_item.go index 2966d9e..919de3d 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_rb_data_item.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_rb_data_item.go @@ -23,7 +23,7 @@ type NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem struct { AllowDuplicates *bool `json:"allowDuplicates,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount *int32 `json:"confirmationsCount,omitempty"` @@ -65,7 +65,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem) GetAddress // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -153,7 +153,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem) GetCallbac // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true diff --git a/model_new_confirmed_tokens_transactions_and_each_confirmation_ri.go b/model_new_confirmed_tokens_transactions_and_each_confirmation_ri.go index daba388..f3e0c80 100644 --- a/model_new_confirmed_tokens_transactions_and_each_confirmation_ri.go +++ b/model_new_confirmed_tokens_transactions_and_each_confirmation_ri.go @@ -19,7 +19,9 @@ import ( type NewConfirmedTokensTransactionsAndEachConfirmationRI struct { // Represents the address of the transaction, per which the result is returned. Address string `json:"address"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). + CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Represents the number of confirmations, i.e. the amount of blocks that have been built on top of this block. ConfirmationsCount *int32 `json:"confirmationsCount,omitempty"` @@ -27,6 +29,8 @@ type NewConfirmedTokensTransactionsAndEachConfirmationRI struct { CreatedTimestamp int32 `json:"createdTimestamp"` // Defines the type of the specific event available for the customer to subscribe to for callback notification. EventType string `json:"eventType"` + // Defines whether the subscription is active or not. Set as boolean. + IsActive bool `json:"isActive"` // Represents a unique ID used to reference the specific callback subscription. ReferenceId string `json:"referenceId"` } @@ -35,12 +39,13 @@ type NewConfirmedTokensTransactionsAndEachConfirmationRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewNewConfirmedTokensTransactionsAndEachConfirmationRI(address string, callbackUrl string, createdTimestamp int32, eventType string, referenceId string) *NewConfirmedTokensTransactionsAndEachConfirmationRI { +func NewNewConfirmedTokensTransactionsAndEachConfirmationRI(address string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string) *NewConfirmedTokensTransactionsAndEachConfirmationRI { this := NewConfirmedTokensTransactionsAndEachConfirmationRI{} this.Address = address this.CallbackUrl = callbackUrl this.CreatedTimestamp = createdTimestamp this.EventType = eventType + this.IsActive = isActive this.ReferenceId = referenceId return &this } @@ -66,7 +71,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetAddress() strin // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -77,6 +82,38 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) SetAddress(v strin o.Address = v } +// GetCallbackSecretKey returns the CallbackSecretKey field value if set, zero value otherwise. +func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCallbackSecretKey() string { + if o == nil || o.CallbackSecretKey == nil { + var ret string + return ret + } + return *o.CallbackSecretKey +} + +// GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCallbackSecretKeyOk() (*string, bool) { + if o == nil || o.CallbackSecretKey == nil { + return nil, false + } + return o.CallbackSecretKey, true +} + +// HasCallbackSecretKey returns a boolean if a field has been set. +func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) HasCallbackSecretKey() bool { + if o != nil && o.CallbackSecretKey != nil { + return true + } + + return false +} + +// SetCallbackSecretKey gets a reference to the given string and assigns it to the CallbackSecretKey field. +func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) SetCallbackSecretKey(v string) { + o.CallbackSecretKey = &v +} + // GetCallbackUrl returns the CallbackUrl field value func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCallbackUrl() string { if o == nil { @@ -90,7 +127,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCallbackUrl() s // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -146,7 +183,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCreatedTimestam // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -170,7 +207,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetEventType() str // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -181,6 +218,30 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) SetEventType(v str o.EventType = v } +// GetIsActive returns the IsActive field value +func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetIsActive() bool { + if o == nil { + var ret bool + return ret + } + + return o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value +// and a boolean to check if the value has been set. +func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetIsActiveOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.IsActive, true +} + +// SetIsActive sets field value +func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) SetIsActive(v bool) { + o.IsActive = v +} + // GetReferenceId returns the ReferenceId field value func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetReferenceId() string { if o == nil { @@ -194,7 +255,7 @@ func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetReferenceId() s // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsAndEachConfirmationRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -210,6 +271,9 @@ func (o NewConfirmedTokensTransactionsAndEachConfirmationRI) MarshalJSON() ([]by if true { toSerialize["address"] = o.Address } + if o.CallbackSecretKey != nil { + toSerialize["callbackSecretKey"] = o.CallbackSecretKey + } if true { toSerialize["callbackUrl"] = o.CallbackUrl } @@ -222,6 +286,9 @@ func (o NewConfirmedTokensTransactionsAndEachConfirmationRI) MarshalJSON() ([]by if true { toSerialize["eventType"] = o.EventType } + if true { + toSerialize["isActive"] = o.IsActive + } if true { toSerialize["referenceId"] = o.ReferenceId } diff --git a/model_new_confirmed_tokens_transactions_e400.go b/model_new_confirmed_tokens_transactions_e400.go index 57d304d..deba7f3 100644 --- a/model_new_confirmed_tokens_transactions_e400.go +++ b/model_new_confirmed_tokens_transactions_e400.go @@ -25,17 +25,23 @@ type NewConfirmedTokensTransactionsE400 struct { // InvalidPaginationAsNewConfirmedTokensTransactionsE400 is a convenience function that returns InvalidPagination wrapped in NewConfirmedTokensTransactionsE400 func InvalidPaginationAsNewConfirmedTokensTransactionsE400(v *InvalidPagination) NewConfirmedTokensTransactionsE400 { - return NewConfirmedTokensTransactionsE400{ InvalidPagination: v} + return NewConfirmedTokensTransactionsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewConfirmedTokensTransactionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewConfirmedTokensTransactionsE400 func LimitGreaterThanAllowedAsNewConfirmedTokensTransactionsE400(v *LimitGreaterThanAllowed) NewConfirmedTokensTransactionsE400 { - return NewConfirmedTokensTransactionsE400{ LimitGreaterThanAllowed: v} + return NewConfirmedTokensTransactionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewConfirmedTokensTransactionsE400 is a convenience function that returns UriNotFound wrapped in NewConfirmedTokensTransactionsE400 func UriNotFoundAsNewConfirmedTokensTransactionsE400(v *UriNotFound) NewConfirmedTokensTransactionsE400 { - return NewConfirmedTokensTransactionsE400{ UriNotFound: v} + return NewConfirmedTokensTransactionsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewConfirmedTokensTransactionsE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewConfirmedTokensTransactionsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewConfirmedTokensTransactionsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewConfirmedTokensTransactionsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedTokensTransactionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_confirmed_tokens_transactions_e401.go b/model_new_confirmed_tokens_transactions_e401.go index f1716a1..34ba3eb 100644 --- a/model_new_confirmed_tokens_transactions_e401.go +++ b/model_new_confirmed_tokens_transactions_e401.go @@ -24,12 +24,16 @@ type NewConfirmedTokensTransactionsE401 struct { // InvalidApiKeyAsNewConfirmedTokensTransactionsE401 is a convenience function that returns InvalidApiKey wrapped in NewConfirmedTokensTransactionsE401 func InvalidApiKeyAsNewConfirmedTokensTransactionsE401(v *InvalidApiKey) NewConfirmedTokensTransactionsE401 { - return NewConfirmedTokensTransactionsE401{ InvalidApiKey: v} + return NewConfirmedTokensTransactionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewConfirmedTokensTransactionsE401 is a convenience function that returns MissingApiKey wrapped in NewConfirmedTokensTransactionsE401 func MissingApiKeyAsNewConfirmedTokensTransactionsE401(v *MissingApiKey) NewConfirmedTokensTransactionsE401 { - return NewConfirmedTokensTransactionsE401{ MissingApiKey: v} + return NewConfirmedTokensTransactionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedTokensTransactionsE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedTokensTransactionsE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedTokensTransactionsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedTokensTransactionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_confirmed_tokens_transactions_e403.go b/model_new_confirmed_tokens_transactions_e403.go index 3caa629..c094933 100644 --- a/model_new_confirmed_tokens_transactions_e403.go +++ b/model_new_confirmed_tokens_transactions_e403.go @@ -27,27 +27,37 @@ type NewConfirmedTokensTransactionsE403 struct { // BannedIpAddressAsNewConfirmedTokensTransactionsE403 is a convenience function that returns BannedIpAddress wrapped in NewConfirmedTokensTransactionsE403 func BannedIpAddressAsNewConfirmedTokensTransactionsE403(v *BannedIpAddress) NewConfirmedTokensTransactionsE403 { - return NewConfirmedTokensTransactionsE403{ BannedIpAddress: v} + return NewConfirmedTokensTransactionsE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewConfirmedTokensTransactionsE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewConfirmedTokensTransactionsE403 func BlockchainEventsCallbacksLimitReachedAsNewConfirmedTokensTransactionsE403(v *BlockchainEventsCallbacksLimitReached) NewConfirmedTokensTransactionsE403 { - return NewConfirmedTokensTransactionsE403{ BlockchainEventsCallbacksLimitReached: v} + return NewConfirmedTokensTransactionsE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewConfirmedTokensTransactionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewConfirmedTokensTransactionsE403 func EndpointNotAllowedForApiKeyAsNewConfirmedTokensTransactionsE403(v *EndpointNotAllowedForApiKey) NewConfirmedTokensTransactionsE403 { - return NewConfirmedTokensTransactionsE403{ EndpointNotAllowedForApiKey: v} + return NewConfirmedTokensTransactionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewConfirmedTokensTransactionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewConfirmedTokensTransactionsE403 func EndpointNotAllowedForPlanAsNewConfirmedTokensTransactionsE403(v *EndpointNotAllowedForPlan) NewConfirmedTokensTransactionsE403 { - return NewConfirmedTokensTransactionsE403{ EndpointNotAllowedForPlan: v} + return NewConfirmedTokensTransactionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewConfirmedTokensTransactionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewConfirmedTokensTransactionsE403 func FeatureMainnetsNotAllowedForPlanAsNewConfirmedTokensTransactionsE403(v *FeatureMainnetsNotAllowedForPlan) NewConfirmedTokensTransactionsE403 { - return NewConfirmedTokensTransactionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewConfirmedTokensTransactionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewConfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewConfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewConfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewConfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewConfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewConfirmedTokensTransactionsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedTokensTransactionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_confirmed_tokens_transactions_e409.go b/model_new_confirmed_tokens_transactions_e409.go index 13af89b..1e52894 100644 --- a/model_new_confirmed_tokens_transactions_e409.go +++ b/model_new_confirmed_tokens_transactions_e409.go @@ -24,12 +24,16 @@ type NewConfirmedTokensTransactionsE409 struct { // AlreadyExistsAsNewConfirmedTokensTransactionsE409 is a convenience function that returns AlreadyExists wrapped in NewConfirmedTokensTransactionsE409 func AlreadyExistsAsNewConfirmedTokensTransactionsE409(v *AlreadyExists) NewConfirmedTokensTransactionsE409 { - return NewConfirmedTokensTransactionsE409{ AlreadyExists: v} + return NewConfirmedTokensTransactionsE409{ + AlreadyExists: v, + } } // InvalidDataAsNewConfirmedTokensTransactionsE409 is a convenience function that returns InvalidData wrapped in NewConfirmedTokensTransactionsE409 func InvalidDataAsNewConfirmedTokensTransactionsE409(v *InvalidData) NewConfirmedTokensTransactionsE409 { - return NewConfirmedTokensTransactionsE409{ InvalidData: v} + return NewConfirmedTokensTransactionsE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewConfirmedTokensTransactionsE409) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewConfirmedTokensTransactionsE409) UnmarshalJSON(data []byte) error } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewConfirmedTokensTransactionsE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewConfirmedTokensTransactionsE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_confirmed_tokens_transactions_r.go b/model_new_confirmed_tokens_transactions_r.go index 99e0f84..0c25e8d 100644 --- a/model_new_confirmed_tokens_transactions_r.go +++ b/model_new_confirmed_tokens_transactions_r.go @@ -59,7 +59,7 @@ func (o *NewConfirmedTokensTransactionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewConfirmedTokensTransactionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewConfirmedTokensTransactionsR) GetData() NewConfirmedTokensTransactio // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsR) GetDataOk() (*NewConfirmedTokensTransactionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_tokens_transactions_r_data.go b/model_new_confirmed_tokens_transactions_r_data.go index b1057fe..779fbc4 100644 --- a/model_new_confirmed_tokens_transactions_r_data.go +++ b/model_new_confirmed_tokens_transactions_r_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedTokensTransactionsRData) GetItem() NewConfirmedTokensTransa // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRData) GetItemOk() (*NewConfirmedTokensTransactionsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_tokens_transactions_rb.go b/model_new_confirmed_tokens_transactions_rb.go index 3d0a6fc..a5189a0 100644 --- a/model_new_confirmed_tokens_transactions_rb.go +++ b/model_new_confirmed_tokens_transactions_rb.go @@ -85,7 +85,7 @@ func (o *NewConfirmedTokensTransactionsRB) GetData() NewConfirmedTokensTransacti // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRB) GetDataOk() (*NewConfirmedTokensTransactionsRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_confirmed_tokens_transactions_rb_data.go b/model_new_confirmed_tokens_transactions_rb_data.go index fc31e28..935d054 100644 --- a/model_new_confirmed_tokens_transactions_rb_data.go +++ b/model_new_confirmed_tokens_transactions_rb_data.go @@ -51,7 +51,7 @@ func (o *NewConfirmedTokensTransactionsRBData) GetItem() NewConfirmedTokensTrans // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRBData) GetItemOk() (*NewConfirmedTokensTransactionsRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_confirmed_tokens_transactions_rb_data_item.go b/model_new_confirmed_tokens_transactions_rb_data_item.go index 33a0fca..b6bac9d 100644 --- a/model_new_confirmed_tokens_transactions_rb_data_item.go +++ b/model_new_confirmed_tokens_transactions_rb_data_item.go @@ -23,8 +23,10 @@ type NewConfirmedTokensTransactionsRBDataItem struct { AllowDuplicates *bool `json:"allowDuplicates,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` + // Represents the exact confirmation, on which the user wants to receive callback. + ReceiveCallbackOn *int32 `json:"receiveCallbackOn,omitempty"` } // NewNewConfirmedTokensTransactionsRBDataItem instantiates a new NewConfirmedTokensTransactionsRBDataItem object @@ -63,7 +65,7 @@ func (o *NewConfirmedTokensTransactionsRBDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -151,7 +153,7 @@ func (o *NewConfirmedTokensTransactionsRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -162,6 +164,38 @@ func (o *NewConfirmedTokensTransactionsRBDataItem) SetCallbackUrl(v string) { o.CallbackUrl = v } +// GetReceiveCallbackOn returns the ReceiveCallbackOn field value if set, zero value otherwise. +func (o *NewConfirmedTokensTransactionsRBDataItem) GetReceiveCallbackOn() int32 { + if o == nil || o.ReceiveCallbackOn == nil { + var ret int32 + return ret + } + return *o.ReceiveCallbackOn +} + +// GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NewConfirmedTokensTransactionsRBDataItem) GetReceiveCallbackOnOk() (*int32, bool) { + if o == nil || o.ReceiveCallbackOn == nil { + return nil, false + } + return o.ReceiveCallbackOn, true +} + +// HasReceiveCallbackOn returns a boolean if a field has been set. +func (o *NewConfirmedTokensTransactionsRBDataItem) HasReceiveCallbackOn() bool { + if o != nil && o.ReceiveCallbackOn != nil { + return true + } + + return false +} + +// SetReceiveCallbackOn gets a reference to the given int32 and assigns it to the ReceiveCallbackOn field. +func (o *NewConfirmedTokensTransactionsRBDataItem) SetReceiveCallbackOn(v int32) { + o.ReceiveCallbackOn = &v +} + func (o NewConfirmedTokensTransactionsRBDataItem) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { @@ -176,6 +210,9 @@ func (o NewConfirmedTokensTransactionsRBDataItem) MarshalJSON() ([]byte, error) if true { toSerialize["callbackUrl"] = o.CallbackUrl } + if o.ReceiveCallbackOn != nil { + toSerialize["receiveCallbackOn"] = o.ReceiveCallbackOn + } return json.Marshal(toSerialize) } diff --git a/model_new_confirmed_tokens_transactions_ri.go b/model_new_confirmed_tokens_transactions_ri.go index f7341ab..b0749e4 100644 --- a/model_new_confirmed_tokens_transactions_ri.go +++ b/model_new_confirmed_tokens_transactions_ri.go @@ -21,7 +21,7 @@ type NewConfirmedTokensTransactionsRI struct { Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` @@ -29,6 +29,8 @@ type NewConfirmedTokensTransactionsRI struct { EventType string `json:"eventType"` // Defines whether the subscription is active or not. Set as boolean. IsActive bool `json:"isActive"` + // Represents the exact confirmation, on which the user wants to receive callback. + ReceiveCallbackOn int32 `json:"receiveCallbackOn"` // Represents a unique ID used to reference the specific callback subscription. ReferenceId string `json:"referenceId"` } @@ -37,7 +39,7 @@ type NewConfirmedTokensTransactionsRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewNewConfirmedTokensTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string) *NewConfirmedTokensTransactionsRI { +func NewNewConfirmedTokensTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, receiveCallbackOn int32, referenceId string) *NewConfirmedTokensTransactionsRI { this := NewConfirmedTokensTransactionsRI{} this.Address = address this.CallbackSecretKey = callbackSecretKey @@ -45,6 +47,7 @@ func NewNewConfirmedTokensTransactionsRI(address string, callbackSecretKey strin this.CreatedTimestamp = createdTimestamp this.EventType = eventType this.IsActive = isActive + this.ReceiveCallbackOn = receiveCallbackOn this.ReferenceId = referenceId return &this } @@ -70,7 +73,7 @@ func (o *NewConfirmedTokensTransactionsRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -94,7 +97,7 @@ func (o *NewConfirmedTokensTransactionsRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -118,7 +121,7 @@ func (o *NewConfirmedTokensTransactionsRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -142,7 +145,7 @@ func (o *NewConfirmedTokensTransactionsRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -166,7 +169,7 @@ func (o *NewConfirmedTokensTransactionsRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -190,7 +193,7 @@ func (o *NewConfirmedTokensTransactionsRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -201,6 +204,30 @@ func (o *NewConfirmedTokensTransactionsRI) SetIsActive(v bool) { o.IsActive = v } +// GetReceiveCallbackOn returns the ReceiveCallbackOn field value +func (o *NewConfirmedTokensTransactionsRI) GetReceiveCallbackOn() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ReceiveCallbackOn +} + +// GetReceiveCallbackOnOk returns a tuple with the ReceiveCallbackOn field value +// and a boolean to check if the value has been set. +func (o *NewConfirmedTokensTransactionsRI) GetReceiveCallbackOnOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ReceiveCallbackOn, true +} + +// SetReceiveCallbackOn sets field value +func (o *NewConfirmedTokensTransactionsRI) SetReceiveCallbackOn(v int32) { + o.ReceiveCallbackOn = v +} + // GetReferenceId returns the ReferenceId field value func (o *NewConfirmedTokensTransactionsRI) GetReferenceId() string { if o == nil { @@ -214,7 +241,7 @@ func (o *NewConfirmedTokensTransactionsRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewConfirmedTokensTransactionsRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -245,6 +272,9 @@ func (o NewConfirmedTokensTransactionsRI) MarshalJSON() ([]byte, error) { if true { toSerialize["isActive"] = o.IsActive } + if true { + toSerialize["receiveCallbackOn"] = o.ReceiveCallbackOn + } if true { toSerialize["referenceId"] = o.ReferenceId } diff --git a/model_new_unconfirmed_coins_transactions_e400.go b/model_new_unconfirmed_coins_transactions_e400.go index b1e8eb2..65975b2 100644 --- a/model_new_unconfirmed_coins_transactions_e400.go +++ b/model_new_unconfirmed_coins_transactions_e400.go @@ -25,17 +25,23 @@ type NewUnconfirmedCoinsTransactionsE400 struct { // InvalidPaginationAsNewUnconfirmedCoinsTransactionsE400 is a convenience function that returns InvalidPagination wrapped in NewUnconfirmedCoinsTransactionsE400 func InvalidPaginationAsNewUnconfirmedCoinsTransactionsE400(v *InvalidPagination) NewUnconfirmedCoinsTransactionsE400 { - return NewUnconfirmedCoinsTransactionsE400{ InvalidPagination: v} + return NewUnconfirmedCoinsTransactionsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewUnconfirmedCoinsTransactionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewUnconfirmedCoinsTransactionsE400 func LimitGreaterThanAllowedAsNewUnconfirmedCoinsTransactionsE400(v *LimitGreaterThanAllowed) NewUnconfirmedCoinsTransactionsE400 { - return NewUnconfirmedCoinsTransactionsE400{ LimitGreaterThanAllowed: v} + return NewUnconfirmedCoinsTransactionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewUnconfirmedCoinsTransactionsE400 is a convenience function that returns UriNotFound wrapped in NewUnconfirmedCoinsTransactionsE400 func UriNotFoundAsNewUnconfirmedCoinsTransactionsE400(v *UriNotFound) NewUnconfirmedCoinsTransactionsE400 { - return NewUnconfirmedCoinsTransactionsE400{ UriNotFound: v} + return NewUnconfirmedCoinsTransactionsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE400) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE400) UnmarshalJSON(data []byte) error } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewUnconfirmedCoinsTransactionsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewUnconfirmedCoinsTransactionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_unconfirmed_coins_transactions_e401.go b/model_new_unconfirmed_coins_transactions_e401.go index 11c8139..d012269 100644 --- a/model_new_unconfirmed_coins_transactions_e401.go +++ b/model_new_unconfirmed_coins_transactions_e401.go @@ -24,12 +24,16 @@ type NewUnconfirmedCoinsTransactionsE401 struct { // InvalidApiKeyAsNewUnconfirmedCoinsTransactionsE401 is a convenience function that returns InvalidApiKey wrapped in NewUnconfirmedCoinsTransactionsE401 func InvalidApiKeyAsNewUnconfirmedCoinsTransactionsE401(v *InvalidApiKey) NewUnconfirmedCoinsTransactionsE401 { - return NewUnconfirmedCoinsTransactionsE401{ InvalidApiKey: v} + return NewUnconfirmedCoinsTransactionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewUnconfirmedCoinsTransactionsE401 is a convenience function that returns MissingApiKey wrapped in NewUnconfirmedCoinsTransactionsE401 func MissingApiKeyAsNewUnconfirmedCoinsTransactionsE401(v *MissingApiKey) NewUnconfirmedCoinsTransactionsE401 { - return NewUnconfirmedCoinsTransactionsE401{ MissingApiKey: v} + return NewUnconfirmedCoinsTransactionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE401) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE401) UnmarshalJSON(data []byte) error } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewUnconfirmedCoinsTransactionsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewUnconfirmedCoinsTransactionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_unconfirmed_coins_transactions_e403.go b/model_new_unconfirmed_coins_transactions_e403.go index 2e7fbd5..445f722 100644 --- a/model_new_unconfirmed_coins_transactions_e403.go +++ b/model_new_unconfirmed_coins_transactions_e403.go @@ -27,27 +27,37 @@ type NewUnconfirmedCoinsTransactionsE403 struct { // BannedIpAddressAsNewUnconfirmedCoinsTransactionsE403 is a convenience function that returns BannedIpAddress wrapped in NewUnconfirmedCoinsTransactionsE403 func BannedIpAddressAsNewUnconfirmedCoinsTransactionsE403(v *BannedIpAddress) NewUnconfirmedCoinsTransactionsE403 { - return NewUnconfirmedCoinsTransactionsE403{ BannedIpAddress: v} + return NewUnconfirmedCoinsTransactionsE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewUnconfirmedCoinsTransactionsE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewUnconfirmedCoinsTransactionsE403 func BlockchainEventsCallbacksLimitReachedAsNewUnconfirmedCoinsTransactionsE403(v *BlockchainEventsCallbacksLimitReached) NewUnconfirmedCoinsTransactionsE403 { - return NewUnconfirmedCoinsTransactionsE403{ BlockchainEventsCallbacksLimitReached: v} + return NewUnconfirmedCoinsTransactionsE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewUnconfirmedCoinsTransactionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewUnconfirmedCoinsTransactionsE403 func EndpointNotAllowedForApiKeyAsNewUnconfirmedCoinsTransactionsE403(v *EndpointNotAllowedForApiKey) NewUnconfirmedCoinsTransactionsE403 { - return NewUnconfirmedCoinsTransactionsE403{ EndpointNotAllowedForApiKey: v} + return NewUnconfirmedCoinsTransactionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewUnconfirmedCoinsTransactionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewUnconfirmedCoinsTransactionsE403 func EndpointNotAllowedForPlanAsNewUnconfirmedCoinsTransactionsE403(v *EndpointNotAllowedForPlan) NewUnconfirmedCoinsTransactionsE403 { - return NewUnconfirmedCoinsTransactionsE403{ EndpointNotAllowedForPlan: v} + return NewUnconfirmedCoinsTransactionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewUnconfirmedCoinsTransactionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewUnconfirmedCoinsTransactionsE403 func FeatureMainnetsNotAllowedForPlanAsNewUnconfirmedCoinsTransactionsE403(v *FeatureMainnetsNotAllowedForPlan) NewUnconfirmedCoinsTransactionsE403 { - return NewUnconfirmedCoinsTransactionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewUnconfirmedCoinsTransactionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE403) UnmarshalJSON(data []byte) error } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewUnconfirmedCoinsTransactionsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewUnconfirmedCoinsTransactionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_unconfirmed_coins_transactions_e409.go b/model_new_unconfirmed_coins_transactions_e409.go index 80024a3..564b9ac 100644 --- a/model_new_unconfirmed_coins_transactions_e409.go +++ b/model_new_unconfirmed_coins_transactions_e409.go @@ -24,12 +24,16 @@ type NewUnconfirmedCoinsTransactionsE409 struct { // AlreadyExistsAsNewUnconfirmedCoinsTransactionsE409 is a convenience function that returns AlreadyExists wrapped in NewUnconfirmedCoinsTransactionsE409 func AlreadyExistsAsNewUnconfirmedCoinsTransactionsE409(v *AlreadyExists) NewUnconfirmedCoinsTransactionsE409 { - return NewUnconfirmedCoinsTransactionsE409{ AlreadyExists: v} + return NewUnconfirmedCoinsTransactionsE409{ + AlreadyExists: v, + } } // InvalidDataAsNewUnconfirmedCoinsTransactionsE409 is a convenience function that returns InvalidData wrapped in NewUnconfirmedCoinsTransactionsE409 func InvalidDataAsNewUnconfirmedCoinsTransactionsE409(v *InvalidData) NewUnconfirmedCoinsTransactionsE409 { - return NewUnconfirmedCoinsTransactionsE409{ InvalidData: v} + return NewUnconfirmedCoinsTransactionsE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE409) UnmarshalJSON(data []byte) error var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewUnconfirmedCoinsTransactionsE409) UnmarshalJSON(data []byte) error } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewUnconfirmedCoinsTransactionsE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewUnconfirmedCoinsTransactionsE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_unconfirmed_coins_transactions_r.go b/model_new_unconfirmed_coins_transactions_r.go index 61a1a14..7c70a05 100644 --- a/model_new_unconfirmed_coins_transactions_r.go +++ b/model_new_unconfirmed_coins_transactions_r.go @@ -59,7 +59,7 @@ func (o *NewUnconfirmedCoinsTransactionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewUnconfirmedCoinsTransactionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewUnconfirmedCoinsTransactionsR) GetData() NewUnconfirmedCoinsTransact // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsR) GetDataOk() (*NewUnconfirmedCoinsTransactionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_unconfirmed_coins_transactions_r_data.go b/model_new_unconfirmed_coins_transactions_r_data.go index ddaab70..59771c4 100644 --- a/model_new_unconfirmed_coins_transactions_r_data.go +++ b/model_new_unconfirmed_coins_transactions_r_data.go @@ -51,7 +51,7 @@ func (o *NewUnconfirmedCoinsTransactionsRData) GetItem() NewUnconfirmedCoinsTran // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRData) GetItemOk() (*NewUnconfirmedCoinsTransactionsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_unconfirmed_coins_transactions_rb.go b/model_new_unconfirmed_coins_transactions_rb.go index d057bae..105c027 100644 --- a/model_new_unconfirmed_coins_transactions_rb.go +++ b/model_new_unconfirmed_coins_transactions_rb.go @@ -85,7 +85,7 @@ func (o *NewUnconfirmedCoinsTransactionsRB) GetData() NewUnconfirmedCoinsTransac // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRB) GetDataOk() (*NewUnconfirmedCoinsTransactionsRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_unconfirmed_coins_transactions_rb_data.go b/model_new_unconfirmed_coins_transactions_rb_data.go index 2496080..4521843 100644 --- a/model_new_unconfirmed_coins_transactions_rb_data.go +++ b/model_new_unconfirmed_coins_transactions_rb_data.go @@ -51,7 +51,7 @@ func (o *NewUnconfirmedCoinsTransactionsRBData) GetItem() NewUnconfirmedCoinsTra // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRBData) GetItemOk() (*NewUnconfirmedCoinsTransactionsRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_unconfirmed_coins_transactions_rb_data_item.go b/model_new_unconfirmed_coins_transactions_rb_data_item.go index ddbb457..7db3725 100644 --- a/model_new_unconfirmed_coins_transactions_rb_data_item.go +++ b/model_new_unconfirmed_coins_transactions_rb_data_item.go @@ -23,7 +23,7 @@ type NewUnconfirmedCoinsTransactionsRBDataItem struct { AllowDuplicates *bool `json:"allowDuplicates,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs 2.0. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` } @@ -63,7 +63,7 @@ func (o *NewUnconfirmedCoinsTransactionsRBDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -151,7 +151,7 @@ func (o *NewUnconfirmedCoinsTransactionsRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true diff --git a/model_new_unconfirmed_coins_transactions_ri.go b/model_new_unconfirmed_coins_transactions_ri.go index 1cd5f3f..966c8b4 100644 --- a/model_new_unconfirmed_coins_transactions_ri.go +++ b/model_new_unconfirmed_coins_transactions_ri.go @@ -17,9 +17,11 @@ import ( // NewUnconfirmedCoinsTransactionsRI struct for NewUnconfirmedCoinsTransactionsRI type NewUnconfirmedCoinsTransactionsRI struct { + // Represents the address of the transaction, per which the result is returned. + Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` @@ -35,8 +37,9 @@ type NewUnconfirmedCoinsTransactionsRI struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewNewUnconfirmedCoinsTransactionsRI(callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string) *NewUnconfirmedCoinsTransactionsRI { +func NewNewUnconfirmedCoinsTransactionsRI(address string, callbackSecretKey string, callbackUrl string, createdTimestamp int32, eventType string, isActive bool, referenceId string) *NewUnconfirmedCoinsTransactionsRI { this := NewUnconfirmedCoinsTransactionsRI{} + this.Address = address this.CallbackSecretKey = callbackSecretKey this.CallbackUrl = callbackUrl this.CreatedTimestamp = createdTimestamp @@ -54,6 +57,30 @@ func NewNewUnconfirmedCoinsTransactionsRIWithDefaults() *NewUnconfirmedCoinsTran return &this } +// GetAddress returns the Address field value +func (o *NewUnconfirmedCoinsTransactionsRI) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *NewUnconfirmedCoinsTransactionsRI) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *NewUnconfirmedCoinsTransactionsRI) SetAddress(v string) { + o.Address = v +} + // GetCallbackSecretKey returns the CallbackSecretKey field value func (o *NewUnconfirmedCoinsTransactionsRI) GetCallbackSecretKey() string { if o == nil { @@ -67,7 +94,7 @@ func (o *NewUnconfirmedCoinsTransactionsRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -91,7 +118,7 @@ func (o *NewUnconfirmedCoinsTransactionsRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -115,7 +142,7 @@ func (o *NewUnconfirmedCoinsTransactionsRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -139,7 +166,7 @@ func (o *NewUnconfirmedCoinsTransactionsRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -163,7 +190,7 @@ func (o *NewUnconfirmedCoinsTransactionsRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -187,7 +214,7 @@ func (o *NewUnconfirmedCoinsTransactionsRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedCoinsTransactionsRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -200,6 +227,9 @@ func (o *NewUnconfirmedCoinsTransactionsRI) SetReferenceId(v string) { func (o NewUnconfirmedCoinsTransactionsRI) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} + if true { + toSerialize["address"] = o.Address + } if true { toSerialize["callbackSecretKey"] = o.CallbackSecretKey } diff --git a/model_new_unconfirmed_tokens_transactions_e400.go b/model_new_unconfirmed_tokens_transactions_e400.go index b985ee7..e8c28ef 100644 --- a/model_new_unconfirmed_tokens_transactions_e400.go +++ b/model_new_unconfirmed_tokens_transactions_e400.go @@ -25,17 +25,23 @@ type NewUnconfirmedTokensTransactionsE400 struct { // InvalidPaginationAsNewUnconfirmedTokensTransactionsE400 is a convenience function that returns InvalidPagination wrapped in NewUnconfirmedTokensTransactionsE400 func InvalidPaginationAsNewUnconfirmedTokensTransactionsE400(v *InvalidPagination) NewUnconfirmedTokensTransactionsE400 { - return NewUnconfirmedTokensTransactionsE400{ InvalidPagination: v} + return NewUnconfirmedTokensTransactionsE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsNewUnconfirmedTokensTransactionsE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in NewUnconfirmedTokensTransactionsE400 func LimitGreaterThanAllowedAsNewUnconfirmedTokensTransactionsE400(v *LimitGreaterThanAllowed) NewUnconfirmedTokensTransactionsE400 { - return NewUnconfirmedTokensTransactionsE400{ LimitGreaterThanAllowed: v} + return NewUnconfirmedTokensTransactionsE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsNewUnconfirmedTokensTransactionsE400 is a convenience function that returns UriNotFound wrapped in NewUnconfirmedTokensTransactionsE400 func UriNotFoundAsNewUnconfirmedTokensTransactionsE400(v *UriNotFound) NewUnconfirmedTokensTransactionsE400 { - return NewUnconfirmedTokensTransactionsE400{ UriNotFound: v} + return NewUnconfirmedTokensTransactionsE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *NewUnconfirmedTokensTransactionsE400) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *NewUnconfirmedTokensTransactionsE400) UnmarshalJSON(data []byte) erro } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *NewUnconfirmedTokensTransactionsE400) UnmarshalJSON(data []byte) erro } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src NewUnconfirmedTokensTransactionsE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewUnconfirmedTokensTransactionsE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_new_unconfirmed_tokens_transactions_e401.go b/model_new_unconfirmed_tokens_transactions_e401.go index 74aee3d..19bec9b 100644 --- a/model_new_unconfirmed_tokens_transactions_e401.go +++ b/model_new_unconfirmed_tokens_transactions_e401.go @@ -24,12 +24,16 @@ type NewUnconfirmedTokensTransactionsE401 struct { // InvalidApiKeyAsNewUnconfirmedTokensTransactionsE401 is a convenience function that returns InvalidApiKey wrapped in NewUnconfirmedTokensTransactionsE401 func InvalidApiKeyAsNewUnconfirmedTokensTransactionsE401(v *InvalidApiKey) NewUnconfirmedTokensTransactionsE401 { - return NewUnconfirmedTokensTransactionsE401{ InvalidApiKey: v} + return NewUnconfirmedTokensTransactionsE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsNewUnconfirmedTokensTransactionsE401 is a convenience function that returns MissingApiKey wrapped in NewUnconfirmedTokensTransactionsE401 func MissingApiKeyAsNewUnconfirmedTokensTransactionsE401(v *MissingApiKey) NewUnconfirmedTokensTransactionsE401 { - return NewUnconfirmedTokensTransactionsE401{ MissingApiKey: v} + return NewUnconfirmedTokensTransactionsE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *NewUnconfirmedTokensTransactionsE401) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewUnconfirmedTokensTransactionsE401) UnmarshalJSON(data []byte) erro } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewUnconfirmedTokensTransactionsE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewUnconfirmedTokensTransactionsE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_new_unconfirmed_tokens_transactions_e403.go b/model_new_unconfirmed_tokens_transactions_e403.go index 31189d6..3ba9aec 100644 --- a/model_new_unconfirmed_tokens_transactions_e403.go +++ b/model_new_unconfirmed_tokens_transactions_e403.go @@ -27,27 +27,37 @@ type NewUnconfirmedTokensTransactionsE403 struct { // BannedIpAddressAsNewUnconfirmedTokensTransactionsE403 is a convenience function that returns BannedIpAddress wrapped in NewUnconfirmedTokensTransactionsE403 func BannedIpAddressAsNewUnconfirmedTokensTransactionsE403(v *BannedIpAddress) NewUnconfirmedTokensTransactionsE403 { - return NewUnconfirmedTokensTransactionsE403{ BannedIpAddress: v} + return NewUnconfirmedTokensTransactionsE403{ + BannedIpAddress: v, + } } // BlockchainEventsCallbacksLimitReachedAsNewUnconfirmedTokensTransactionsE403 is a convenience function that returns BlockchainEventsCallbacksLimitReached wrapped in NewUnconfirmedTokensTransactionsE403 func BlockchainEventsCallbacksLimitReachedAsNewUnconfirmedTokensTransactionsE403(v *BlockchainEventsCallbacksLimitReached) NewUnconfirmedTokensTransactionsE403 { - return NewUnconfirmedTokensTransactionsE403{ BlockchainEventsCallbacksLimitReached: v} + return NewUnconfirmedTokensTransactionsE403{ + BlockchainEventsCallbacksLimitReached: v, + } } // EndpointNotAllowedForApiKeyAsNewUnconfirmedTokensTransactionsE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in NewUnconfirmedTokensTransactionsE403 func EndpointNotAllowedForApiKeyAsNewUnconfirmedTokensTransactionsE403(v *EndpointNotAllowedForApiKey) NewUnconfirmedTokensTransactionsE403 { - return NewUnconfirmedTokensTransactionsE403{ EndpointNotAllowedForApiKey: v} + return NewUnconfirmedTokensTransactionsE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsNewUnconfirmedTokensTransactionsE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in NewUnconfirmedTokensTransactionsE403 func EndpointNotAllowedForPlanAsNewUnconfirmedTokensTransactionsE403(v *EndpointNotAllowedForPlan) NewUnconfirmedTokensTransactionsE403 { - return NewUnconfirmedTokensTransactionsE403{ EndpointNotAllowedForPlan: v} + return NewUnconfirmedTokensTransactionsE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsNewUnconfirmedTokensTransactionsE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in NewUnconfirmedTokensTransactionsE403 func FeatureMainnetsNotAllowedForPlanAsNewUnconfirmedTokensTransactionsE403(v *FeatureMainnetsNotAllowedForPlan) NewUnconfirmedTokensTransactionsE403 { - return NewUnconfirmedTokensTransactionsE403{ FeatureMainnetsNotAllowedForPlan: v} + return NewUnconfirmedTokensTransactionsE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -56,7 +66,7 @@ func (dst *NewUnconfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -69,7 +79,7 @@ func (dst *NewUnconfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into BlockchainEventsCallbacksLimitReached - err = json.Unmarshal(data, &dst.BlockchainEventsCallbacksLimitReached) + err = newStrictDecoder(data).Decode(&dst.BlockchainEventsCallbacksLimitReached) if err == nil { jsonBlockchainEventsCallbacksLimitReached, _ := json.Marshal(dst.BlockchainEventsCallbacksLimitReached) if string(jsonBlockchainEventsCallbacksLimitReached) == "{}" { // empty struct @@ -82,7 +92,7 @@ func (dst *NewUnconfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -95,7 +105,7 @@ func (dst *NewUnconfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -108,7 +118,7 @@ func (dst *NewUnconfirmedTokensTransactionsE403) UnmarshalJSON(data []byte) erro } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -163,6 +173,9 @@ func (src NewUnconfirmedTokensTransactionsE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewUnconfirmedTokensTransactionsE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_new_unconfirmed_tokens_transactions_e409.go b/model_new_unconfirmed_tokens_transactions_e409.go index 53d20ac..3d8c22f 100644 --- a/model_new_unconfirmed_tokens_transactions_e409.go +++ b/model_new_unconfirmed_tokens_transactions_e409.go @@ -24,12 +24,16 @@ type NewUnconfirmedTokensTransactionsE409 struct { // AlreadyExistsAsNewUnconfirmedTokensTransactionsE409 is a convenience function that returns AlreadyExists wrapped in NewUnconfirmedTokensTransactionsE409 func AlreadyExistsAsNewUnconfirmedTokensTransactionsE409(v *AlreadyExists) NewUnconfirmedTokensTransactionsE409 { - return NewUnconfirmedTokensTransactionsE409{ AlreadyExists: v} + return NewUnconfirmedTokensTransactionsE409{ + AlreadyExists: v, + } } // InvalidDataAsNewUnconfirmedTokensTransactionsE409 is a convenience function that returns InvalidData wrapped in NewUnconfirmedTokensTransactionsE409 func InvalidDataAsNewUnconfirmedTokensTransactionsE409(v *InvalidData) NewUnconfirmedTokensTransactionsE409 { - return NewUnconfirmedTokensTransactionsE409{ InvalidData: v} + return NewUnconfirmedTokensTransactionsE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *NewUnconfirmedTokensTransactionsE409) UnmarshalJSON(data []byte) erro var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *NewUnconfirmedTokensTransactionsE409) UnmarshalJSON(data []byte) erro } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src NewUnconfirmedTokensTransactionsE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *NewUnconfirmedTokensTransactionsE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_new_unconfirmed_tokens_transactions_r.go b/model_new_unconfirmed_tokens_transactions_r.go index 50ea2a6..5ac55e3 100644 --- a/model_new_unconfirmed_tokens_transactions_r.go +++ b/model_new_unconfirmed_tokens_transactions_r.go @@ -59,7 +59,7 @@ func (o *NewUnconfirmedTokensTransactionsR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *NewUnconfirmedTokensTransactionsR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *NewUnconfirmedTokensTransactionsR) GetData() NewUnconfirmedTokensTransa // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsR) GetDataOk() (*NewUnconfirmedTokensTransactionsRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_unconfirmed_tokens_transactions_r_data.go b/model_new_unconfirmed_tokens_transactions_r_data.go index 7d6ecb2..a94c911 100644 --- a/model_new_unconfirmed_tokens_transactions_r_data.go +++ b/model_new_unconfirmed_tokens_transactions_r_data.go @@ -51,7 +51,7 @@ func (o *NewUnconfirmedTokensTransactionsRData) GetItem() NewUnconfirmedTokensTr // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRData) GetItemOk() (*NewUnconfirmedTokensTransactionsRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_unconfirmed_tokens_transactions_rb.go b/model_new_unconfirmed_tokens_transactions_rb.go index d062544..05ac02f 100644 --- a/model_new_unconfirmed_tokens_transactions_rb.go +++ b/model_new_unconfirmed_tokens_transactions_rb.go @@ -85,7 +85,7 @@ func (o *NewUnconfirmedTokensTransactionsRB) GetData() NewUnconfirmedTokensTrans // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRB) GetDataOk() (*NewUnconfirmedTokensTransactionsRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_new_unconfirmed_tokens_transactions_rb_data.go b/model_new_unconfirmed_tokens_transactions_rb_data.go index 48ac385..1a68309 100644 --- a/model_new_unconfirmed_tokens_transactions_rb_data.go +++ b/model_new_unconfirmed_tokens_transactions_rb_data.go @@ -51,7 +51,7 @@ func (o *NewUnconfirmedTokensTransactionsRBData) GetItem() NewUnconfirmedTokensT // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRBData) GetItemOk() (*NewUnconfirmedTokensTransactionsRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_new_unconfirmed_tokens_transactions_rb_data_item.go b/model_new_unconfirmed_tokens_transactions_rb_data_item.go index 03f561e..a006abb 100644 --- a/model_new_unconfirmed_tokens_transactions_rb_data_item.go +++ b/model_new_unconfirmed_tokens_transactions_rb_data_item.go @@ -23,7 +23,7 @@ type NewUnconfirmedTokensTransactionsRBDataItem struct { AllowDuplicates *bool `json:"allowDuplicates,omitempty"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey *string `json:"callbackSecretKey,omitempty"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` } @@ -63,7 +63,7 @@ func (o *NewUnconfirmedTokensTransactionsRBDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -151,7 +151,7 @@ func (o *NewUnconfirmedTokensTransactionsRBDataItem) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRBDataItem) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true diff --git a/model_new_unconfirmed_tokens_transactions_ri.go b/model_new_unconfirmed_tokens_transactions_ri.go index 20dccb7..1fa2cb2 100644 --- a/model_new_unconfirmed_tokens_transactions_ri.go +++ b/model_new_unconfirmed_tokens_transactions_ri.go @@ -21,7 +21,7 @@ type NewUnconfirmedTokensTransactionsRI struct { Address string `json:"address"` // Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs. For more information please see our [Documentation](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-security). CallbackSecretKey string `json:"callbackSecretKey"` - // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. + // Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs. `We support ONLY httpS type of protocol`. CallbackUrl string `json:"callbackUrl"` // Defines the specific time/date when the subscription was created in Unix Timestamp. CreatedTimestamp int32 `json:"createdTimestamp"` @@ -70,7 +70,7 @@ func (o *NewUnconfirmedTokensTransactionsRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -94,7 +94,7 @@ func (o *NewUnconfirmedTokensTransactionsRI) GetCallbackSecretKey() string { // GetCallbackSecretKeyOk returns a tuple with the CallbackSecretKey field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRI) GetCallbackSecretKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackSecretKey, true @@ -118,7 +118,7 @@ func (o *NewUnconfirmedTokensTransactionsRI) GetCallbackUrl() string { // GetCallbackUrlOk returns a tuple with the CallbackUrl field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRI) GetCallbackUrlOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CallbackUrl, true @@ -142,7 +142,7 @@ func (o *NewUnconfirmedTokensTransactionsRI) GetCreatedTimestamp() int32 { // GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRI) GetCreatedTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedTimestamp, true @@ -166,7 +166,7 @@ func (o *NewUnconfirmedTokensTransactionsRI) GetEventType() string { // GetEventTypeOk returns a tuple with the EventType field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRI) GetEventTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.EventType, true @@ -190,7 +190,7 @@ func (o *NewUnconfirmedTokensTransactionsRI) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRI) GetIsActiveOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsActive, true @@ -214,7 +214,7 @@ func (o *NewUnconfirmedTokensTransactionsRI) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *NewUnconfirmedTokensTransactionsRI) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true diff --git a/model_request_limit_reached.go b/model_request_limit_reached.go index c65ffb9..6bb6d6e 100644 --- a/model_request_limit_reached.go +++ b/model_request_limit_reached.go @@ -21,7 +21,7 @@ type RequestLimitReached struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewRequestLimitReached instantiates a new RequestLimitReached object @@ -56,7 +56,7 @@ func (o *RequestLimitReached) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *RequestLimitReached) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *RequestLimitReached) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *RequestLimitReached) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *RequestLimitReached) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RequestLimitReached) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *RequestLimitReached) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *RequestLimitReached) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *RequestLimitReached) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o RequestLimitReached) MarshalJSON() ([]byte, error) { diff --git a/model_resource_not_found.go b/model_resource_not_found.go index 377cd11..76e402b 100644 --- a/model_resource_not_found.go +++ b/model_resource_not_found.go @@ -21,7 +21,7 @@ type ResourceNotFound struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewResourceNotFound instantiates a new ResourceNotFound object @@ -56,7 +56,7 @@ func (o *ResourceNotFound) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *ResourceNotFound) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *ResourceNotFound) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *ResourceNotFound) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *ResourceNotFound) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ResourceNotFound) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *ResourceNotFound) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *ResourceNotFound) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *ResourceNotFound) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o ResourceNotFound) MarshalJSON() ([]byte, error) { diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e400.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e400.go index b3a5293..4f6bb3a 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e400.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e400.go @@ -29,37 +29,51 @@ type SyncHDWalletXPubYPubZPubE400 struct { // InvalidBlockchainAsSyncHDWalletXPubYPubZPubE400 is a convenience function that returns InvalidBlockchain wrapped in SyncHDWalletXPubYPubZPubE400 func InvalidBlockchainAsSyncHDWalletXPubYPubZPubE400(v *InvalidBlockchain) SyncHDWalletXPubYPubZPubE400 { - return SyncHDWalletXPubYPubZPubE400{ InvalidBlockchain: v} + return SyncHDWalletXPubYPubZPubE400{ + InvalidBlockchain: v, + } } // InvalidNetworkAsSyncHDWalletXPubYPubZPubE400 is a convenience function that returns InvalidNetwork wrapped in SyncHDWalletXPubYPubZPubE400 func InvalidNetworkAsSyncHDWalletXPubYPubZPubE400(v *InvalidNetwork) SyncHDWalletXPubYPubZPubE400 { - return SyncHDWalletXPubYPubZPubE400{ InvalidNetwork: v} + return SyncHDWalletXPubYPubZPubE400{ + InvalidNetwork: v, + } } // InvalidPaginationAsSyncHDWalletXPubYPubZPubE400 is a convenience function that returns InvalidPagination wrapped in SyncHDWalletXPubYPubZPubE400 func InvalidPaginationAsSyncHDWalletXPubYPubZPubE400(v *InvalidPagination) SyncHDWalletXPubYPubZPubE400 { - return SyncHDWalletXPubYPubZPubE400{ InvalidPagination: v} + return SyncHDWalletXPubYPubZPubE400{ + InvalidPagination: v, + } } // InvalidXpubAsSyncHDWalletXPubYPubZPubE400 is a convenience function that returns InvalidXpub wrapped in SyncHDWalletXPubYPubZPubE400 func InvalidXpubAsSyncHDWalletXPubYPubZPubE400(v *InvalidXpub) SyncHDWalletXPubYPubZPubE400 { - return SyncHDWalletXPubYPubZPubE400{ InvalidXpub: v} + return SyncHDWalletXPubYPubZPubE400{ + InvalidXpub: v, + } } // LimitGreaterThanAllowedAsSyncHDWalletXPubYPubZPubE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in SyncHDWalletXPubYPubZPubE400 func LimitGreaterThanAllowedAsSyncHDWalletXPubYPubZPubE400(v *LimitGreaterThanAllowed) SyncHDWalletXPubYPubZPubE400 { - return SyncHDWalletXPubYPubZPubE400{ LimitGreaterThanAllowed: v} + return SyncHDWalletXPubYPubZPubE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsSyncHDWalletXPubYPubZPubE400 is a convenience function that returns UriNotFound wrapped in SyncHDWalletXPubYPubZPubE400 func UriNotFoundAsSyncHDWalletXPubYPubZPubE400(v *UriNotFound) SyncHDWalletXPubYPubZPubE400 { - return SyncHDWalletXPubYPubZPubE400{ UriNotFound: v} + return SyncHDWalletXPubYPubZPubE400{ + UriNotFound: v, + } } // XpubNotSyncedAsSyncHDWalletXPubYPubZPubE400 is a convenience function that returns XpubNotSynced wrapped in SyncHDWalletXPubYPubZPubE400 func XpubNotSyncedAsSyncHDWalletXPubYPubZPubE400(v *XpubNotSynced) SyncHDWalletXPubYPubZPubE400 { - return SyncHDWalletXPubYPubZPubE400{ XpubNotSynced: v} + return SyncHDWalletXPubYPubZPubE400{ + XpubNotSynced: v, + } } @@ -68,7 +82,7 @@ func (dst *SyncHDWalletXPubYPubZPubE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidBlockchain - err = json.Unmarshal(data, &dst.InvalidBlockchain) + err = newStrictDecoder(data).Decode(&dst.InvalidBlockchain) if err == nil { jsonInvalidBlockchain, _ := json.Marshal(dst.InvalidBlockchain) if string(jsonInvalidBlockchain) == "{}" { // empty struct @@ -81,7 +95,7 @@ func (dst *SyncHDWalletXPubYPubZPubE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidNetwork - err = json.Unmarshal(data, &dst.InvalidNetwork) + err = newStrictDecoder(data).Decode(&dst.InvalidNetwork) if err == nil { jsonInvalidNetwork, _ := json.Marshal(dst.InvalidNetwork) if string(jsonInvalidNetwork) == "{}" { // empty struct @@ -94,7 +108,7 @@ func (dst *SyncHDWalletXPubYPubZPubE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -107,7 +121,7 @@ func (dst *SyncHDWalletXPubYPubZPubE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidXpub - err = json.Unmarshal(data, &dst.InvalidXpub) + err = newStrictDecoder(data).Decode(&dst.InvalidXpub) if err == nil { jsonInvalidXpub, _ := json.Marshal(dst.InvalidXpub) if string(jsonInvalidXpub) == "{}" { // empty struct @@ -120,7 +134,7 @@ func (dst *SyncHDWalletXPubYPubZPubE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -133,7 +147,7 @@ func (dst *SyncHDWalletXPubYPubZPubE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -146,7 +160,7 @@ func (dst *SyncHDWalletXPubYPubZPubE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into XpubNotSynced - err = json.Unmarshal(data, &dst.XpubNotSynced) + err = newStrictDecoder(data).Decode(&dst.XpubNotSynced) if err == nil { jsonXpubNotSynced, _ := json.Marshal(dst.XpubNotSynced) if string(jsonXpubNotSynced) == "{}" { // empty struct @@ -211,6 +225,9 @@ func (src SyncHDWalletXPubYPubZPubE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *SyncHDWalletXPubYPubZPubE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidBlockchain != nil { return obj.InvalidBlockchain } diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e401.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e401.go index 776e2cf..59ed6d9 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e401.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e401.go @@ -24,12 +24,16 @@ type SyncHDWalletXPubYPubZPubE401 struct { // InvalidApiKeyAsSyncHDWalletXPubYPubZPubE401 is a convenience function that returns InvalidApiKey wrapped in SyncHDWalletXPubYPubZPubE401 func InvalidApiKeyAsSyncHDWalletXPubYPubZPubE401(v *InvalidApiKey) SyncHDWalletXPubYPubZPubE401 { - return SyncHDWalletXPubYPubZPubE401{ InvalidApiKey: v} + return SyncHDWalletXPubYPubZPubE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsSyncHDWalletXPubYPubZPubE401 is a convenience function that returns MissingApiKey wrapped in SyncHDWalletXPubYPubZPubE401 func MissingApiKeyAsSyncHDWalletXPubYPubZPubE401(v *MissingApiKey) SyncHDWalletXPubYPubZPubE401 { - return SyncHDWalletXPubYPubZPubE401{ MissingApiKey: v} + return SyncHDWalletXPubYPubZPubE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *SyncHDWalletXPubYPubZPubE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *SyncHDWalletXPubYPubZPubE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src SyncHDWalletXPubYPubZPubE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *SyncHDWalletXPubYPubZPubE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e403.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e403.go index 4b75ce6..d8cb582 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e403.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e403.go @@ -26,22 +26,30 @@ type SyncHDWalletXPubYPubZPubE403 struct { // BannedIpAddressAsSyncHDWalletXPubYPubZPubE403 is a convenience function that returns BannedIpAddress wrapped in SyncHDWalletXPubYPubZPubE403 func BannedIpAddressAsSyncHDWalletXPubYPubZPubE403(v *BannedIpAddress) SyncHDWalletXPubYPubZPubE403 { - return SyncHDWalletXPubYPubZPubE403{ BannedIpAddress: v} + return SyncHDWalletXPubYPubZPubE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsSyncHDWalletXPubYPubZPubE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in SyncHDWalletXPubYPubZPubE403 func EndpointNotAllowedForApiKeyAsSyncHDWalletXPubYPubZPubE403(v *EndpointNotAllowedForApiKey) SyncHDWalletXPubYPubZPubE403 { - return SyncHDWalletXPubYPubZPubE403{ EndpointNotAllowedForApiKey: v} + return SyncHDWalletXPubYPubZPubE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsSyncHDWalletXPubYPubZPubE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in SyncHDWalletXPubYPubZPubE403 func EndpointNotAllowedForPlanAsSyncHDWalletXPubYPubZPubE403(v *EndpointNotAllowedForPlan) SyncHDWalletXPubYPubZPubE403 { - return SyncHDWalletXPubYPubZPubE403{ EndpointNotAllowedForPlan: v} + return SyncHDWalletXPubYPubZPubE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsSyncHDWalletXPubYPubZPubE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in SyncHDWalletXPubYPubZPubE403 func FeatureMainnetsNotAllowedForPlanAsSyncHDWalletXPubYPubZPubE403(v *FeatureMainnetsNotAllowedForPlan) SyncHDWalletXPubYPubZPubE403 { - return SyncHDWalletXPubYPubZPubE403{ FeatureMainnetsNotAllowedForPlan: v} + return SyncHDWalletXPubYPubZPubE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *SyncHDWalletXPubYPubZPubE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *SyncHDWalletXPubYPubZPubE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *SyncHDWalletXPubYPubZPubE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *SyncHDWalletXPubYPubZPubE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src SyncHDWalletXPubYPubZPubE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *SyncHDWalletXPubYPubZPubE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e409.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e409.go index bd11bc1..044ce37 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e409.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e409.go @@ -24,12 +24,16 @@ type SyncHDWalletXPubYPubZPubE409 struct { // AlreadyExistsAsSyncHDWalletXPubYPubZPubE409 is a convenience function that returns AlreadyExists wrapped in SyncHDWalletXPubYPubZPubE409 func AlreadyExistsAsSyncHDWalletXPubYPubZPubE409(v *AlreadyExists) SyncHDWalletXPubYPubZPubE409 { - return SyncHDWalletXPubYPubZPubE409{ AlreadyExists: v} + return SyncHDWalletXPubYPubZPubE409{ + AlreadyExists: v, + } } // InvalidDataAsSyncHDWalletXPubYPubZPubE409 is a convenience function that returns InvalidData wrapped in SyncHDWalletXPubYPubZPubE409 func InvalidDataAsSyncHDWalletXPubYPubZPubE409(v *InvalidData) SyncHDWalletXPubYPubZPubE409 { - return SyncHDWalletXPubYPubZPubE409{ InvalidData: v} + return SyncHDWalletXPubYPubZPubE409{ + InvalidData: v, + } } @@ -38,7 +42,7 @@ func (dst *SyncHDWalletXPubYPubZPubE409) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into AlreadyExists - err = json.Unmarshal(data, &dst.AlreadyExists) + err = newStrictDecoder(data).Decode(&dst.AlreadyExists) if err == nil { jsonAlreadyExists, _ := json.Marshal(dst.AlreadyExists) if string(jsonAlreadyExists) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *SyncHDWalletXPubYPubZPubE409) UnmarshalJSON(data []byte) error { } // try to unmarshal data into InvalidData - err = json.Unmarshal(data, &dst.InvalidData) + err = newStrictDecoder(data).Decode(&dst.InvalidData) if err == nil { jsonInvalidData, _ := json.Marshal(dst.InvalidData) if string(jsonInvalidData) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src SyncHDWalletXPubYPubZPubE409) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *SyncHDWalletXPubYPubZPubE409) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.AlreadyExists != nil { return obj.AlreadyExists } diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e422.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e422.go index 47ea643..82ddf3a 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_e422.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_e422.go @@ -24,12 +24,16 @@ type SyncHDWalletXPubYPubZPubE422 struct { // InvalidRequestBodyStructureAsSyncHDWalletXPubYPubZPubE422 is a convenience function that returns InvalidRequestBodyStructure wrapped in SyncHDWalletXPubYPubZPubE422 func InvalidRequestBodyStructureAsSyncHDWalletXPubYPubZPubE422(v *InvalidRequestBodyStructure) SyncHDWalletXPubYPubZPubE422 { - return SyncHDWalletXPubYPubZPubE422{ InvalidRequestBodyStructure: v} + return SyncHDWalletXPubYPubZPubE422{ + InvalidRequestBodyStructure: v, + } } // XpubSyncInProgressAsSyncHDWalletXPubYPubZPubE422 is a convenience function that returns XpubSyncInProgress wrapped in SyncHDWalletXPubYPubZPubE422 func XpubSyncInProgressAsSyncHDWalletXPubYPubZPubE422(v *XpubSyncInProgress) SyncHDWalletXPubYPubZPubE422 { - return SyncHDWalletXPubYPubZPubE422{ XpubSyncInProgress: v} + return SyncHDWalletXPubYPubZPubE422{ + XpubSyncInProgress: v, + } } @@ -38,7 +42,7 @@ func (dst *SyncHDWalletXPubYPubZPubE422) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidRequestBodyStructure - err = json.Unmarshal(data, &dst.InvalidRequestBodyStructure) + err = newStrictDecoder(data).Decode(&dst.InvalidRequestBodyStructure) if err == nil { jsonInvalidRequestBodyStructure, _ := json.Marshal(dst.InvalidRequestBodyStructure) if string(jsonInvalidRequestBodyStructure) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *SyncHDWalletXPubYPubZPubE422) UnmarshalJSON(data []byte) error { } // try to unmarshal data into XpubSyncInProgress - err = json.Unmarshal(data, &dst.XpubSyncInProgress) + err = newStrictDecoder(data).Decode(&dst.XpubSyncInProgress) if err == nil { jsonXpubSyncInProgress, _ := json.Marshal(dst.XpubSyncInProgress) if string(jsonXpubSyncInProgress) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src SyncHDWalletXPubYPubZPubE422) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *SyncHDWalletXPubYPubZPubE422) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidRequestBodyStructure != nil { return obj.InvalidRequestBodyStructure } diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_r.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_r.go index ebbb2e2..918b546 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_r.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_r.go @@ -59,7 +59,7 @@ func (o *SyncHDWalletXPubYPubZPubR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *SyncHDWalletXPubYPubZPubR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *SyncHDWalletXPubYPubZPubR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *SyncHDWalletXPubYPubZPubR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *SyncHDWalletXPubYPubZPubR) GetData() SyncHDWalletXPubYPubZPubRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *SyncHDWalletXPubYPubZPubR) GetDataOk() (*SyncHDWalletXPubYPubZPubRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_r_data.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_r_data.go index a720643..3ea2439 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_r_data.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_r_data.go @@ -51,7 +51,7 @@ func (o *SyncHDWalletXPubYPubZPubRData) GetItem() SyncHDWalletXPubYPubZPubRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *SyncHDWalletXPubYPubZPubRData) GetItemOk() (*SyncHDWalletXPubYPubZPubRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb.go index 0a94854..cc91418 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb.go @@ -85,7 +85,7 @@ func (o *SyncHDWalletXPubYPubZPubRB) GetData() SyncHDWalletXPubYPubZPubRBData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *SyncHDWalletXPubYPubZPubRB) GetDataOk() (*SyncHDWalletXPubYPubZPubRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb_data.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb_data.go index d657da3..e452d40 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb_data.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb_data.go @@ -51,7 +51,7 @@ func (o *SyncHDWalletXPubYPubZPubRBData) GetItem() SyncHDWalletXPubYPubZPubRBDat // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *SyncHDWalletXPubYPubZPubRBData) GetItemOk() (*SyncHDWalletXPubYPubZPubRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb_data_item.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb_data_item.go index 281e73b..447df16 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb_data_item.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_rb_data_item.go @@ -52,7 +52,7 @@ func (o *SyncHDWalletXPubYPubZPubRBDataItem) GetExtendedPublicKey() string { // GetExtendedPublicKeyOk returns a tuple with the ExtendedPublicKey field value // and a boolean to check if the value has been set. func (o *SyncHDWalletXPubYPubZPubRBDataItem) GetExtendedPublicKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtendedPublicKey, true diff --git a/model_sync_hd_wallet_x_pub_y_pub_z_pub_ri.go b/model_sync_hd_wallet_x_pub_y_pub_z_pub_ri.go index 5cd01a1..f47c41c 100644 --- a/model_sync_hd_wallet_x_pub_y_pub_z_pub_ri.go +++ b/model_sync_hd_wallet_x_pub_y_pub_z_pub_ri.go @@ -52,7 +52,7 @@ func (o *SyncHDWalletXPubYPubZPubRI) GetExtendedPublicKey() string { // GetExtendedPublicKeyOk returns a tuple with the ExtendedPublicKey field value // and a boolean to check if the value has been set. func (o *SyncHDWalletXPubYPubZPubRI) GetExtendedPublicKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ExtendedPublicKey, true diff --git a/model_tokens_forwarding_automations_limit_reached.go b/model_tokens_forwarding_automations_limit_reached.go index 16af3a8..4b00c99 100644 --- a/model_tokens_forwarding_automations_limit_reached.go +++ b/model_tokens_forwarding_automations_limit_reached.go @@ -21,7 +21,7 @@ type TokensForwardingAutomationsLimitReached struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewTokensForwardingAutomationsLimitReached instantiates a new TokensForwardingAutomationsLimitReached object @@ -56,7 +56,7 @@ func (o *TokensForwardingAutomationsLimitReached) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *TokensForwardingAutomationsLimitReached) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *TokensForwardingAutomationsLimitReached) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *TokensForwardingAutomationsLimitReached) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *TokensForwardingAutomationsLimitReached) GetDetails() []BannedIpAddress var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TokensForwardingAutomationsLimitReached) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *TokensForwardingAutomationsLimitReached) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *TokensForwardingAutomationsLimitReached) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *TokensForwardingAutomationsLimitReached) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o TokensForwardingAutomationsLimitReached) MarshalJSON() ([]byte, error) { diff --git a/model_tokens_forwarding_fail.go b/model_tokens_forwarding_fail.go index e5259e3..670aa46 100644 --- a/model_tokens_forwarding_fail.go +++ b/model_tokens_forwarding_fail.go @@ -60,7 +60,7 @@ func (o *TokensForwardingFail) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *TokensForwardingFail) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *TokensForwardingFail) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *TokensForwardingFail) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *TokensForwardingFail) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *TokensForwardingFail) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *TokensForwardingFail) GetData() TokensForwardingFailData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *TokensForwardingFail) GetDataOk() (*TokensForwardingFailData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_tokens_forwarding_fail_data.go b/model_tokens_forwarding_fail_data.go index 5aeea42..641a5bd 100644 --- a/model_tokens_forwarding_fail_data.go +++ b/model_tokens_forwarding_fail_data.go @@ -57,7 +57,7 @@ func (o *TokensForwardingFailData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *TokensForwardingFailData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *TokensForwardingFailData) GetItem() TokensForwardingFailDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailData) GetItemOk() (*TokensForwardingFailDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_tokens_forwarding_fail_data_item.go b/model_tokens_forwarding_fail_data_item.go index 3de5d3d..9a876e3 100644 --- a/model_tokens_forwarding_fail_data_item.go +++ b/model_tokens_forwarding_fail_data_item.go @@ -70,7 +70,7 @@ func (o *TokensForwardingFailDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -94,7 +94,7 @@ func (o *TokensForwardingFailDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -118,7 +118,7 @@ func (o *TokensForwardingFailDataItem) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailDataItem) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -142,7 +142,7 @@ func (o *TokensForwardingFailDataItem) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailDataItem) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -166,7 +166,7 @@ func (o *TokensForwardingFailDataItem) GetTriggerTransactionId() string { // GetTriggerTransactionIdOk returns a tuple with the TriggerTransactionId field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailDataItem) GetTriggerTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TriggerTransactionId, true @@ -190,7 +190,7 @@ func (o *TokensForwardingFailDataItem) GetErrorCode() string { // GetErrorCodeOk returns a tuple with the ErrorCode field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailDataItem) GetErrorCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ErrorCode, true @@ -214,7 +214,7 @@ func (o *TokensForwardingFailDataItem) GetErrorMessage() string { // GetErrorMessageOk returns a tuple with the ErrorMessage field value // and a boolean to check if the value has been set. func (o *TokensForwardingFailDataItem) GetErrorMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ErrorMessage, true diff --git a/model_tokens_forwarding_success.go b/model_tokens_forwarding_success.go index 078ecb4..976efe7 100644 --- a/model_tokens_forwarding_success.go +++ b/model_tokens_forwarding_success.go @@ -60,7 +60,7 @@ func (o *TokensForwardingSuccess) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccess) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *TokensForwardingSuccess) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccess) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *TokensForwardingSuccess) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccess) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *TokensForwardingSuccess) GetData() TokensForwardingSuccessData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccess) GetDataOk() (*TokensForwardingSuccessData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_tokens_forwarding_success_data.go b/model_tokens_forwarding_success_data.go index 9b2e52c..2c264e8 100644 --- a/model_tokens_forwarding_success_data.go +++ b/model_tokens_forwarding_success_data.go @@ -57,7 +57,7 @@ func (o *TokensForwardingSuccessData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *TokensForwardingSuccessData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *TokensForwardingSuccessData) GetItem() TokensForwardingSuccessDataItem // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessData) GetItemOk() (*TokensForwardingSuccessDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_tokens_forwarding_success_data_item.go b/model_tokens_forwarding_success_data_item.go index af927e8..c069f78 100644 --- a/model_tokens_forwarding_success_data_item.go +++ b/model_tokens_forwarding_success_data_item.go @@ -78,7 +78,7 @@ func (o *TokensForwardingSuccessDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -102,7 +102,7 @@ func (o *TokensForwardingSuccessDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -126,7 +126,7 @@ func (o *TokensForwardingSuccessDataItem) GetFromAddress() string { // GetFromAddressOk returns a tuple with the FromAddress field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetFromAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.FromAddress, true @@ -150,7 +150,7 @@ func (o *TokensForwardingSuccessDataItem) GetToAddress() string { // GetToAddressOk returns a tuple with the ToAddress field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetToAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ToAddress, true @@ -174,7 +174,7 @@ func (o *TokensForwardingSuccessDataItem) GetSpentFeesAmount() string { // GetSpentFeesAmountOk returns a tuple with the SpentFeesAmount field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetSpentFeesAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SpentFeesAmount, true @@ -198,7 +198,7 @@ func (o *TokensForwardingSuccessDataItem) GetSpentFeesUnit() string { // GetSpentFeesUnitOk returns a tuple with the SpentFeesUnit field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetSpentFeesUnitOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.SpentFeesUnit, true @@ -222,7 +222,7 @@ func (o *TokensForwardingSuccessDataItem) GetTriggerTransactionId() string { // GetTriggerTransactionIdOk returns a tuple with the TriggerTransactionId field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetTriggerTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TriggerTransactionId, true @@ -246,7 +246,7 @@ func (o *TokensForwardingSuccessDataItem) GetForwardingTransactionId() string { // GetForwardingTransactionIdOk returns a tuple with the ForwardingTransactionId field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetForwardingTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ForwardingTransactionId, true @@ -270,7 +270,7 @@ func (o *TokensForwardingSuccessDataItem) GetTokenType() string { // GetTokenTypeOk returns a tuple with the TokenType field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetTokenTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenType, true @@ -294,7 +294,7 @@ func (o *TokensForwardingSuccessDataItem) GetToken() TokensForwardingSuccessToke // GetTokenOk returns a tuple with the Token field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessDataItem) GetTokenOk() (*TokensForwardingSuccessToken, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Token, true diff --git a/model_tokens_forwarding_success_erc_20.go b/model_tokens_forwarding_success_erc_20.go index d744464..cb5f49a 100644 --- a/model_tokens_forwarding_success_erc_20.go +++ b/model_tokens_forwarding_success_erc_20.go @@ -63,7 +63,7 @@ func (o *TokensForwardingSuccessErc20) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessErc20) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -87,7 +87,7 @@ func (o *TokensForwardingSuccessErc20) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessErc20) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -143,7 +143,7 @@ func (o *TokensForwardingSuccessErc20) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessErc20) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true @@ -167,7 +167,7 @@ func (o *TokensForwardingSuccessErc20) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessErc20) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_tokens_forwarding_success_erc_721.go b/model_tokens_forwarding_success_erc_721.go index 45c16e5..dc4fddb 100644 --- a/model_tokens_forwarding_success_erc_721.go +++ b/model_tokens_forwarding_success_erc_721.go @@ -61,7 +61,7 @@ func (o *TokensForwardingSuccessErc721) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessErc721) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -85,7 +85,7 @@ func (o *TokensForwardingSuccessErc721) GetSymbol() string { // GetSymbolOk returns a tuple with the Symbol field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessErc721) GetSymbolOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Symbol, true @@ -109,7 +109,7 @@ func (o *TokensForwardingSuccessErc721) GetTokenId() string { // GetTokenIdOk returns a tuple with the TokenId field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessErc721) GetTokenIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TokenId, true @@ -133,7 +133,7 @@ func (o *TokensForwardingSuccessErc721) GetContractAddress() string { // GetContractAddressOk returns a tuple with the ContractAddress field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessErc721) GetContractAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ContractAddress, true diff --git a/model_tokens_forwarding_success_omni.go b/model_tokens_forwarding_success_omni.go index 50d5272..71d8bb2 100644 --- a/model_tokens_forwarding_success_omni.go +++ b/model_tokens_forwarding_success_omni.go @@ -64,7 +64,7 @@ func (o *TokensForwardingSuccessOmni) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessOmni) GetNameOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Name, true @@ -88,7 +88,7 @@ func (o *TokensForwardingSuccessOmni) GetPropertyId() string { // GetPropertyIdOk returns a tuple with the PropertyId field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessOmni) GetPropertyIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.PropertyId, true @@ -112,7 +112,7 @@ func (o *TokensForwardingSuccessOmni) GetTransactionType() string { // GetTransactionTypeOk returns a tuple with the TransactionType field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessOmni) GetTransactionTypeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionType, true @@ -136,7 +136,7 @@ func (o *TokensForwardingSuccessOmni) GetCreatedByTransactionId() string { // GetCreatedByTransactionIdOk returns a tuple with the CreatedByTransactionId field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessOmni) GetCreatedByTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CreatedByTransactionId, true @@ -160,7 +160,7 @@ func (o *TokensForwardingSuccessOmni) GetAmount() string { // GetAmountOk returns a tuple with the Amount field value // and a boolean to check if the value has been set. func (o *TokensForwardingSuccessOmni) GetAmountOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Amount, true diff --git a/model_tokens_forwarding_success_token.go b/model_tokens_forwarding_success_token.go index ec9ce43..df2f521 100644 --- a/model_tokens_forwarding_success_token.go +++ b/model_tokens_forwarding_success_token.go @@ -25,17 +25,23 @@ type TokensForwardingSuccessToken struct { // TokensForwardingSuccessErc20AsTokensForwardingSuccessToken is a convenience function that returns TokensForwardingSuccessErc20 wrapped in TokensForwardingSuccessToken func TokensForwardingSuccessErc20AsTokensForwardingSuccessToken(v *TokensForwardingSuccessErc20) TokensForwardingSuccessToken { - return TokensForwardingSuccessToken{ TokensForwardingSuccessErc20: v} + return TokensForwardingSuccessToken{ + TokensForwardingSuccessErc20: v, + } } // TokensForwardingSuccessErc721AsTokensForwardingSuccessToken is a convenience function that returns TokensForwardingSuccessErc721 wrapped in TokensForwardingSuccessToken func TokensForwardingSuccessErc721AsTokensForwardingSuccessToken(v *TokensForwardingSuccessErc721) TokensForwardingSuccessToken { - return TokensForwardingSuccessToken{ TokensForwardingSuccessErc721: v} + return TokensForwardingSuccessToken{ + TokensForwardingSuccessErc721: v, + } } // TokensForwardingSuccessOmniAsTokensForwardingSuccessToken is a convenience function that returns TokensForwardingSuccessOmni wrapped in TokensForwardingSuccessToken func TokensForwardingSuccessOmniAsTokensForwardingSuccessToken(v *TokensForwardingSuccessOmni) TokensForwardingSuccessToken { - return TokensForwardingSuccessToken{ TokensForwardingSuccessOmni: v} + return TokensForwardingSuccessToken{ + TokensForwardingSuccessOmni: v, + } } @@ -44,7 +50,7 @@ func (dst *TokensForwardingSuccessToken) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into TokensForwardingSuccessErc20 - err = json.Unmarshal(data, &dst.TokensForwardingSuccessErc20) + err = newStrictDecoder(data).Decode(&dst.TokensForwardingSuccessErc20) if err == nil { jsonTokensForwardingSuccessErc20, _ := json.Marshal(dst.TokensForwardingSuccessErc20) if string(jsonTokensForwardingSuccessErc20) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *TokensForwardingSuccessToken) UnmarshalJSON(data []byte) error { } // try to unmarshal data into TokensForwardingSuccessErc721 - err = json.Unmarshal(data, &dst.TokensForwardingSuccessErc721) + err = newStrictDecoder(data).Decode(&dst.TokensForwardingSuccessErc721) if err == nil { jsonTokensForwardingSuccessErc721, _ := json.Marshal(dst.TokensForwardingSuccessErc721) if string(jsonTokensForwardingSuccessErc721) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *TokensForwardingSuccessToken) UnmarshalJSON(data []byte) error { } // try to unmarshal data into TokensForwardingSuccessOmni - err = json.Unmarshal(data, &dst.TokensForwardingSuccessOmni) + err = newStrictDecoder(data).Decode(&dst.TokensForwardingSuccessOmni) if err == nil { jsonTokensForwardingSuccessOmni, _ := json.Marshal(dst.TokensForwardingSuccessOmni) if string(jsonTokensForwardingSuccessOmni) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src TokensForwardingSuccessToken) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *TokensForwardingSuccessToken) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.TokensForwardingSuccessErc20 != nil { return obj.TokensForwardingSuccessErc20 } diff --git a/model_transaction_mined.go b/model_transaction_mined.go index e4b2f44..2c48b8b 100644 --- a/model_transaction_mined.go +++ b/model_transaction_mined.go @@ -60,7 +60,7 @@ func (o *TransactionMined) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *TransactionMined) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *TransactionMined) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *TransactionMined) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *TransactionMined) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *TransactionMined) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *TransactionMined) GetData() TransactionMinedData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *TransactionMined) GetDataOk() (*TransactionMinedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_transaction_mined_data.go b/model_transaction_mined_data.go index b43b36e..a808030 100644 --- a/model_transaction_mined_data.go +++ b/model_transaction_mined_data.go @@ -57,7 +57,7 @@ func (o *TransactionMinedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *TransactionMinedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *TransactionMinedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *TransactionMinedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *TransactionMinedData) GetItem() TransactionMinedDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *TransactionMinedData) GetItemOk() (*TransactionMinedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_transaction_mined_data_item.go b/model_transaction_mined_data_item.go index dfbc105..455526c 100644 --- a/model_transaction_mined_data_item.go +++ b/model_transaction_mined_data_item.go @@ -60,7 +60,7 @@ func (o *TransactionMinedDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *TransactionMinedDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -84,7 +84,7 @@ func (o *TransactionMinedDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *TransactionMinedDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -108,7 +108,7 @@ func (o *TransactionMinedDataItem) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *TransactionMinedDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true @@ -132,7 +132,7 @@ func (o *TransactionMinedDataItem) GetMinedInBlock() TransactionMinedDataItemMin // GetMinedInBlockOk returns a tuple with the MinedInBlock field value // and a boolean to check if the value has been set. func (o *TransactionMinedDataItem) GetMinedInBlockOk() (*TransactionMinedDataItemMinedInBlock, bool) { - if o == nil { + if o == nil { return nil, false } return &o.MinedInBlock, true diff --git a/model_transaction_mined_data_item_mined_in_block.go b/model_transaction_mined_data_item_mined_in_block.go index 0922dd5..30feeb9 100644 --- a/model_transaction_mined_data_item_mined_in_block.go +++ b/model_transaction_mined_data_item_mined_in_block.go @@ -58,7 +58,7 @@ func (o *TransactionMinedDataItemMinedInBlock) GetHeight() int32 { // GetHeightOk returns a tuple with the Height field value // and a boolean to check if the value has been set. func (o *TransactionMinedDataItemMinedInBlock) GetHeightOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Height, true @@ -82,7 +82,7 @@ func (o *TransactionMinedDataItemMinedInBlock) GetHash() string { // GetHashOk returns a tuple with the Hash field value // and a boolean to check if the value has been set. func (o *TransactionMinedDataItemMinedInBlock) GetHashOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Hash, true @@ -106,7 +106,7 @@ func (o *TransactionMinedDataItemMinedInBlock) GetTimestamp() int32 { // GetTimestampOk returns a tuple with the Timestamp field value // and a boolean to check if the value has been set. func (o *TransactionMinedDataItemMinedInBlock) GetTimestampOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Timestamp, true diff --git a/model_transaction_request_approval.go b/model_transaction_request_approval.go index 8725f22..0d07689 100644 --- a/model_transaction_request_approval.go +++ b/model_transaction_request_approval.go @@ -60,7 +60,7 @@ func (o *TransactionRequestApproval) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *TransactionRequestApproval) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *TransactionRequestApproval) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *TransactionRequestApproval) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *TransactionRequestApproval) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *TransactionRequestApproval) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *TransactionRequestApproval) GetData() TransactionRequestApprovalData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *TransactionRequestApproval) GetDataOk() (*TransactionRequestApprovalData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_transaction_request_approval_data.go b/model_transaction_request_approval_data.go index 3c6710c..4ed6e64 100644 --- a/model_transaction_request_approval_data.go +++ b/model_transaction_request_approval_data.go @@ -57,7 +57,7 @@ func (o *TransactionRequestApprovalData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *TransactionRequestApprovalData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *TransactionRequestApprovalData) GetItem() TransactionRequestApprovalDat // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalData) GetItemOk() (*TransactionRequestApprovalDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_transaction_request_approval_data_item.go b/model_transaction_request_approval_data_item.go index 733230f..9a8af6b 100644 --- a/model_transaction_request_approval_data_item.go +++ b/model_transaction_request_approval_data_item.go @@ -67,7 +67,7 @@ func (o *TransactionRequestApprovalDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -91,7 +91,7 @@ func (o *TransactionRequestApprovalDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -115,7 +115,7 @@ func (o *TransactionRequestApprovalDataItem) GetRequiredApprovals() int32 { // GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalDataItem) GetRequiredApprovalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequiredApprovals, true @@ -139,7 +139,7 @@ func (o *TransactionRequestApprovalDataItem) GetRequiredRejections() int32 { // GetRequiredRejectionsOk returns a tuple with the RequiredRejections field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalDataItem) GetRequiredRejectionsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequiredRejections, true @@ -163,7 +163,7 @@ func (o *TransactionRequestApprovalDataItem) GetCurrentApprovals() int32 { // GetCurrentApprovalsOk returns a tuple with the CurrentApprovals field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalDataItem) GetCurrentApprovalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentApprovals, true @@ -187,7 +187,7 @@ func (o *TransactionRequestApprovalDataItem) GetCurrentRejections() int32 { // GetCurrentRejectionsOk returns a tuple with the CurrentRejections field value // and a boolean to check if the value has been set. func (o *TransactionRequestApprovalDataItem) GetCurrentRejectionsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentRejections, true diff --git a/model_transaction_request_broadcasted.go b/model_transaction_request_broadcasted.go index ff160d6..00db82f 100644 --- a/model_transaction_request_broadcasted.go +++ b/model_transaction_request_broadcasted.go @@ -60,7 +60,7 @@ func (o *TransactionRequestBroadcasted) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcasted) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *TransactionRequestBroadcasted) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcasted) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *TransactionRequestBroadcasted) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcasted) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *TransactionRequestBroadcasted) GetData() TransactionRequestBroadcastedD // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcasted) GetDataOk() (*TransactionRequestBroadcastedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_transaction_request_broadcasted_data.go b/model_transaction_request_broadcasted_data.go index 42c0465..aa0ad92 100644 --- a/model_transaction_request_broadcasted_data.go +++ b/model_transaction_request_broadcasted_data.go @@ -57,7 +57,7 @@ func (o *TransactionRequestBroadcastedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *TransactionRequestBroadcastedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *TransactionRequestBroadcastedData) GetItem() TransactionRequestBroadcas // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedData) GetItemOk() (*TransactionRequestBroadcastedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_transaction_request_broadcasted_data_item.go b/model_transaction_request_broadcasted_data_item.go index ccb2b2c..7b76d3f 100644 --- a/model_transaction_request_broadcasted_data_item.go +++ b/model_transaction_request_broadcasted_data_item.go @@ -70,7 +70,7 @@ func (o *TransactionRequestBroadcastedDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -94,7 +94,7 @@ func (o *TransactionRequestBroadcastedDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -118,7 +118,7 @@ func (o *TransactionRequestBroadcastedDataItem) GetRequiredApprovals() int32 { // GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedDataItem) GetRequiredApprovalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequiredApprovals, true @@ -142,7 +142,7 @@ func (o *TransactionRequestBroadcastedDataItem) GetRequiredRejections() int32 { // GetRequiredRejectionsOk returns a tuple with the RequiredRejections field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedDataItem) GetRequiredRejectionsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequiredRejections, true @@ -166,7 +166,7 @@ func (o *TransactionRequestBroadcastedDataItem) GetCurrentApprovals() int32 { // GetCurrentApprovalsOk returns a tuple with the CurrentApprovals field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedDataItem) GetCurrentApprovalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentApprovals, true @@ -190,7 +190,7 @@ func (o *TransactionRequestBroadcastedDataItem) GetCurrentRejections() int32 { // GetCurrentRejectionsOk returns a tuple with the CurrentRejections field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedDataItem) GetCurrentRejectionsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentRejections, true @@ -214,7 +214,7 @@ func (o *TransactionRequestBroadcastedDataItem) GetTransactionId() string { // GetTransactionIdOk returns a tuple with the TransactionId field value // and a boolean to check if the value has been set. func (o *TransactionRequestBroadcastedDataItem) GetTransactionIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.TransactionId, true diff --git a/model_transaction_request_fail.go b/model_transaction_request_fail.go index 7896905..526687e 100644 --- a/model_transaction_request_fail.go +++ b/model_transaction_request_fail.go @@ -60,7 +60,7 @@ func (o *TransactionRequestFail) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *TransactionRequestFail) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *TransactionRequestFail) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *TransactionRequestFail) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *TransactionRequestFail) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *TransactionRequestFail) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *TransactionRequestFail) GetData() TransactionRequestFailData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *TransactionRequestFail) GetDataOk() (*TransactionRequestFailData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_transaction_request_fail_data.go b/model_transaction_request_fail_data.go index b825314..d20b212 100644 --- a/model_transaction_request_fail_data.go +++ b/model_transaction_request_fail_data.go @@ -57,7 +57,7 @@ func (o *TransactionRequestFailData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *TransactionRequestFailData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *TransactionRequestFailData) GetItem() TransactionRequestFailDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailData) GetItemOk() (*TransactionRequestFailDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_transaction_request_fail_data_item.go b/model_transaction_request_fail_data_item.go index 6ff9878..a906c4f 100644 --- a/model_transaction_request_fail_data_item.go +++ b/model_transaction_request_fail_data_item.go @@ -70,7 +70,7 @@ func (o *TransactionRequestFailDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -94,7 +94,7 @@ func (o *TransactionRequestFailDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -118,7 +118,7 @@ func (o *TransactionRequestFailDataItem) GetRequiredApprovals() int32 { // GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailDataItem) GetRequiredApprovalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequiredApprovals, true @@ -142,7 +142,7 @@ func (o *TransactionRequestFailDataItem) GetRequiredRejections() int32 { // GetRequiredRejectionsOk returns a tuple with the RequiredRejections field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailDataItem) GetRequiredRejectionsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequiredRejections, true @@ -166,7 +166,7 @@ func (o *TransactionRequestFailDataItem) GetCurrentApprovals() int32 { // GetCurrentApprovalsOk returns a tuple with the CurrentApprovals field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailDataItem) GetCurrentApprovalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentApprovals, true @@ -190,7 +190,7 @@ func (o *TransactionRequestFailDataItem) GetCurrentRejections() int32 { // GetCurrentRejectionsOk returns a tuple with the CurrentRejections field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailDataItem) GetCurrentRejectionsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentRejections, true @@ -214,7 +214,7 @@ func (o *TransactionRequestFailDataItem) GetErrorMessage() string { // GetErrorMessageOk returns a tuple with the ErrorMessage field value // and a boolean to check if the value has been set. func (o *TransactionRequestFailDataItem) GetErrorMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ErrorMessage, true diff --git a/model_transaction_request_mined.go b/model_transaction_request_mined.go index 4758798..1f76896 100644 --- a/model_transaction_request_mined.go +++ b/model_transaction_request_mined.go @@ -60,7 +60,7 @@ func (o *TransactionRequestMined) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *TransactionRequestMined) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *TransactionRequestMined) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *TransactionRequestMined) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *TransactionRequestMined) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *TransactionRequestMined) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *TransactionRequestMined) GetData() TransactionRequestMinedData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *TransactionRequestMined) GetDataOk() (*TransactionRequestMinedData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_transaction_request_mined_data.go b/model_transaction_request_mined_data.go index 72d6880..b3397b7 100644 --- a/model_transaction_request_mined_data.go +++ b/model_transaction_request_mined_data.go @@ -57,7 +57,7 @@ func (o *TransactionRequestMinedData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *TransactionRequestMinedData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *TransactionRequestMinedData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *TransactionRequestMinedData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *TransactionRequestMinedData) GetItem() TransactionRequestBroadcastedDat // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *TransactionRequestMinedData) GetItemOk() (*TransactionRequestBroadcastedDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_transaction_request_rejection.go b/model_transaction_request_rejection.go index 4f38883..e4d2475 100644 --- a/model_transaction_request_rejection.go +++ b/model_transaction_request_rejection.go @@ -60,7 +60,7 @@ func (o *TransactionRequestRejection) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejection) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -84,7 +84,7 @@ func (o *TransactionRequestRejection) GetReferenceId() string { // GetReferenceIdOk returns a tuple with the ReferenceId field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejection) GetReferenceIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ReferenceId, true @@ -108,7 +108,7 @@ func (o *TransactionRequestRejection) GetIdempotencyKey() string { // GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejection) GetIdempotencyKeyOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IdempotencyKey, true @@ -132,7 +132,7 @@ func (o *TransactionRequestRejection) GetData() TransactionRequestRejectionData // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejection) GetDataOk() (*TransactionRequestRejectionData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_transaction_request_rejection_data.go b/model_transaction_request_rejection_data.go index a314527..28eba43 100644 --- a/model_transaction_request_rejection_data.go +++ b/model_transaction_request_rejection_data.go @@ -57,7 +57,7 @@ func (o *TransactionRequestRejectionData) GetProduct() string { // GetProductOk returns a tuple with the Product field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionData) GetProductOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Product, true @@ -81,7 +81,7 @@ func (o *TransactionRequestRejectionData) GetEvent() string { // GetEventOk returns a tuple with the Event field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionData) GetEventOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Event, true @@ -105,7 +105,7 @@ func (o *TransactionRequestRejectionData) GetItem() TransactionRequestRejectionD // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionData) GetItemOk() (*TransactionRequestRejectionDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_transaction_request_rejection_data_item.go b/model_transaction_request_rejection_data_item.go index da57f9d..01d55e0 100644 --- a/model_transaction_request_rejection_data_item.go +++ b/model_transaction_request_rejection_data_item.go @@ -67,7 +67,7 @@ func (o *TransactionRequestRejectionDataItem) GetBlockchain() string { // GetBlockchainOk returns a tuple with the Blockchain field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionDataItem) GetBlockchainOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Blockchain, true @@ -91,7 +91,7 @@ func (o *TransactionRequestRejectionDataItem) GetNetwork() string { // GetNetworkOk returns a tuple with the Network field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionDataItem) GetNetworkOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Network, true @@ -115,7 +115,7 @@ func (o *TransactionRequestRejectionDataItem) GetRequiredApprovals() int32 { // GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionDataItem) GetRequiredApprovalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequiredApprovals, true @@ -139,7 +139,7 @@ func (o *TransactionRequestRejectionDataItem) GetRequiredRejections() int32 { // GetRequiredRejectionsOk returns a tuple with the RequiredRejections field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionDataItem) GetRequiredRejectionsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequiredRejections, true @@ -163,7 +163,7 @@ func (o *TransactionRequestRejectionDataItem) GetCurrentApprovals() int32 { // GetCurrentApprovalsOk returns a tuple with the CurrentApprovals field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionDataItem) GetCurrentApprovalsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentApprovals, true @@ -187,7 +187,7 @@ func (o *TransactionRequestRejectionDataItem) GetCurrentRejections() int32 { // GetCurrentRejectionsOk returns a tuple with the CurrentRejections field value // and a boolean to check if the value has been set. func (o *TransactionRequestRejectionDataItem) GetCurrentRejectionsOk() (*int32, bool) { - if o == nil { + if o == nil { return nil, false } return &o.CurrentRejections, true diff --git a/model_unexpected_server_error.go b/model_unexpected_server_error.go index 4adb00f..b1cbf1f 100644 --- a/model_unexpected_server_error.go +++ b/model_unexpected_server_error.go @@ -21,7 +21,7 @@ type UnexpectedServerError struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewUnexpectedServerError instantiates a new UnexpectedServerError object @@ -56,7 +56,7 @@ func (o *UnexpectedServerError) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *UnexpectedServerError) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *UnexpectedServerError) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *UnexpectedServerError) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *UnexpectedServerError) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *UnexpectedServerError) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *UnexpectedServerError) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *UnexpectedServerError) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *UnexpectedServerError) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o UnexpectedServerError) MarshalJSON() ([]byte, error) { diff --git a/model_unimplemented.go b/model_unimplemented.go new file mode 100644 index 0000000..59474cd --- /dev/null +++ b/model_unimplemented.go @@ -0,0 +1,176 @@ +/* +CryptoAPIs + +Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more. + +API version: 2.0.0 +Contact: developers@cryptoapis.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cryptoapis + +import ( + "encoding/json" +) + +// Unimplemented unimplemented +type Unimplemented struct { + // Specifies an error code, e.g. error 404. + Code string `json:"code"` + // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. + Message string `json:"message"` + Details []BannedIpAddressDetails `json:"details,omitempty"` +} + +// NewUnimplemented instantiates a new Unimplemented object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewUnimplemented(code string, message string) *Unimplemented { + this := Unimplemented{} + this.Code = code + this.Message = message + return &this +} + +// NewUnimplementedWithDefaults instantiates a new Unimplemented object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUnimplementedWithDefaults() *Unimplemented { + this := Unimplemented{} + return &this +} + +// GetCode returns the Code field value +func (o *Unimplemented) GetCode() string { + if o == nil { + var ret string + return ret + } + + return o.Code +} + +// GetCodeOk returns a tuple with the Code field value +// and a boolean to check if the value has been set. +func (o *Unimplemented) GetCodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Code, true +} + +// SetCode sets field value +func (o *Unimplemented) SetCode(v string) { + o.Code = v +} + +// GetMessage returns the Message field value +func (o *Unimplemented) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *Unimplemented) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *Unimplemented) SetMessage(v string) { + o.Message = v +} + +// GetDetails returns the Details field value if set, zero value otherwise. +func (o *Unimplemented) GetDetails() []BannedIpAddressDetails { + if o == nil || o.Details == nil { + var ret []BannedIpAddressDetails + return ret + } + return o.Details +} + +// GetDetailsOk returns a tuple with the Details field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Unimplemented) GetDetailsOk() ([]BannedIpAddressDetails, bool) { + if o == nil || o.Details == nil { + return nil, false + } + return o.Details, true +} + +// HasDetails returns a boolean if a field has been set. +func (o *Unimplemented) HasDetails() bool { + if o != nil && o.Details != nil { + return true + } + + return false +} + +// SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. +func (o *Unimplemented) SetDetails(v []BannedIpAddressDetails) { + o.Details = v +} + +func (o Unimplemented) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["code"] = o.Code + } + if true { + toSerialize["message"] = o.Message + } + if o.Details != nil { + toSerialize["details"] = o.Details + } + return json.Marshal(toSerialize) +} + +type NullableUnimplemented struct { + value *Unimplemented + isSet bool +} + +func (v NullableUnimplemented) Get() *Unimplemented { + return v.value +} + +func (v *NullableUnimplemented) Set(val *Unimplemented) { + v.value = val + v.isSet = true +} + +func (v NullableUnimplemented) IsSet() bool { + return v.isSet +} + +func (v *NullableUnimplemented) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUnimplemented(val *Unimplemented) *NullableUnimplemented { + return &NullableUnimplemented{value: val, isSet: true} +} + +func (v NullableUnimplemented) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUnimplemented) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_unsupported_media_type.go b/model_unsupported_media_type.go index 6dc3df6..614580b 100644 --- a/model_unsupported_media_type.go +++ b/model_unsupported_media_type.go @@ -21,7 +21,7 @@ type UnsupportedMediaType struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewUnsupportedMediaType instantiates a new UnsupportedMediaType object @@ -56,7 +56,7 @@ func (o *UnsupportedMediaType) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *UnsupportedMediaType) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *UnsupportedMediaType) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *UnsupportedMediaType) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *UnsupportedMediaType) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *UnsupportedMediaType) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *UnsupportedMediaType) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *UnsupportedMediaType) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *UnsupportedMediaType) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o UnsupportedMediaType) MarshalJSON() ([]byte, error) { diff --git a/model_uri_not_found.go b/model_uri_not_found.go index 72199bc..bbc77f4 100644 --- a/model_uri_not_found.go +++ b/model_uri_not_found.go @@ -21,7 +21,7 @@ type UriNotFound struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewUriNotFound instantiates a new UriNotFound object @@ -56,7 +56,7 @@ func (o *UriNotFound) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *UriNotFound) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *UriNotFound) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *UriNotFound) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *UriNotFound) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *UriNotFound) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *UriNotFound) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *UriNotFound) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *UriNotFound) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o UriNotFound) MarshalJSON() ([]byte, error) { diff --git a/model_validate_address_e400.go b/model_validate_address_e400.go index e1a6b35..1088415 100644 --- a/model_validate_address_e400.go +++ b/model_validate_address_e400.go @@ -25,17 +25,23 @@ type ValidateAddressE400 struct { // InvalidPaginationAsValidateAddressE400 is a convenience function that returns InvalidPagination wrapped in ValidateAddressE400 func InvalidPaginationAsValidateAddressE400(v *InvalidPagination) ValidateAddressE400 { - return ValidateAddressE400{ InvalidPagination: v} + return ValidateAddressE400{ + InvalidPagination: v, + } } // LimitGreaterThanAllowedAsValidateAddressE400 is a convenience function that returns LimitGreaterThanAllowed wrapped in ValidateAddressE400 func LimitGreaterThanAllowedAsValidateAddressE400(v *LimitGreaterThanAllowed) ValidateAddressE400 { - return ValidateAddressE400{ LimitGreaterThanAllowed: v} + return ValidateAddressE400{ + LimitGreaterThanAllowed: v, + } } // UriNotFoundAsValidateAddressE400 is a convenience function that returns UriNotFound wrapped in ValidateAddressE400 func UriNotFoundAsValidateAddressE400(v *UriNotFound) ValidateAddressE400 { - return ValidateAddressE400{ UriNotFound: v} + return ValidateAddressE400{ + UriNotFound: v, + } } @@ -44,7 +50,7 @@ func (dst *ValidateAddressE400) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidPagination - err = json.Unmarshal(data, &dst.InvalidPagination) + err = newStrictDecoder(data).Decode(&dst.InvalidPagination) if err == nil { jsonInvalidPagination, _ := json.Marshal(dst.InvalidPagination) if string(jsonInvalidPagination) == "{}" { // empty struct @@ -57,7 +63,7 @@ func (dst *ValidateAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into LimitGreaterThanAllowed - err = json.Unmarshal(data, &dst.LimitGreaterThanAllowed) + err = newStrictDecoder(data).Decode(&dst.LimitGreaterThanAllowed) if err == nil { jsonLimitGreaterThanAllowed, _ := json.Marshal(dst.LimitGreaterThanAllowed) if string(jsonLimitGreaterThanAllowed) == "{}" { // empty struct @@ -70,7 +76,7 @@ func (dst *ValidateAddressE400) UnmarshalJSON(data []byte) error { } // try to unmarshal data into UriNotFound - err = json.Unmarshal(data, &dst.UriNotFound) + err = newStrictDecoder(data).Decode(&dst.UriNotFound) if err == nil { jsonUriNotFound, _ := json.Marshal(dst.UriNotFound) if string(jsonUriNotFound) == "{}" { // empty struct @@ -115,6 +121,9 @@ func (src ValidateAddressE400) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ValidateAddressE400) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidPagination != nil { return obj.InvalidPagination } diff --git a/model_validate_address_e401.go b/model_validate_address_e401.go index 754fe11..89a816c 100644 --- a/model_validate_address_e401.go +++ b/model_validate_address_e401.go @@ -24,12 +24,16 @@ type ValidateAddressE401 struct { // InvalidApiKeyAsValidateAddressE401 is a convenience function that returns InvalidApiKey wrapped in ValidateAddressE401 func InvalidApiKeyAsValidateAddressE401(v *InvalidApiKey) ValidateAddressE401 { - return ValidateAddressE401{ InvalidApiKey: v} + return ValidateAddressE401{ + InvalidApiKey: v, + } } // MissingApiKeyAsValidateAddressE401 is a convenience function that returns MissingApiKey wrapped in ValidateAddressE401 func MissingApiKeyAsValidateAddressE401(v *MissingApiKey) ValidateAddressE401 { - return ValidateAddressE401{ MissingApiKey: v} + return ValidateAddressE401{ + MissingApiKey: v, + } } @@ -38,7 +42,7 @@ func (dst *ValidateAddressE401) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into InvalidApiKey - err = json.Unmarshal(data, &dst.InvalidApiKey) + err = newStrictDecoder(data).Decode(&dst.InvalidApiKey) if err == nil { jsonInvalidApiKey, _ := json.Marshal(dst.InvalidApiKey) if string(jsonInvalidApiKey) == "{}" { // empty struct @@ -51,7 +55,7 @@ func (dst *ValidateAddressE401) UnmarshalJSON(data []byte) error { } // try to unmarshal data into MissingApiKey - err = json.Unmarshal(data, &dst.MissingApiKey) + err = newStrictDecoder(data).Decode(&dst.MissingApiKey) if err == nil { jsonMissingApiKey, _ := json.Marshal(dst.MissingApiKey) if string(jsonMissingApiKey) == "{}" { // empty struct @@ -91,6 +95,9 @@ func (src ValidateAddressE401) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ValidateAddressE401) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.InvalidApiKey != nil { return obj.InvalidApiKey } diff --git a/model_validate_address_e403.go b/model_validate_address_e403.go index 84d747c..868cdcb 100644 --- a/model_validate_address_e403.go +++ b/model_validate_address_e403.go @@ -26,22 +26,30 @@ type ValidateAddressE403 struct { // BannedIpAddressAsValidateAddressE403 is a convenience function that returns BannedIpAddress wrapped in ValidateAddressE403 func BannedIpAddressAsValidateAddressE403(v *BannedIpAddress) ValidateAddressE403 { - return ValidateAddressE403{ BannedIpAddress: v} + return ValidateAddressE403{ + BannedIpAddress: v, + } } // EndpointNotAllowedForApiKeyAsValidateAddressE403 is a convenience function that returns EndpointNotAllowedForApiKey wrapped in ValidateAddressE403 func EndpointNotAllowedForApiKeyAsValidateAddressE403(v *EndpointNotAllowedForApiKey) ValidateAddressE403 { - return ValidateAddressE403{ EndpointNotAllowedForApiKey: v} + return ValidateAddressE403{ + EndpointNotAllowedForApiKey: v, + } } // EndpointNotAllowedForPlanAsValidateAddressE403 is a convenience function that returns EndpointNotAllowedForPlan wrapped in ValidateAddressE403 func EndpointNotAllowedForPlanAsValidateAddressE403(v *EndpointNotAllowedForPlan) ValidateAddressE403 { - return ValidateAddressE403{ EndpointNotAllowedForPlan: v} + return ValidateAddressE403{ + EndpointNotAllowedForPlan: v, + } } // FeatureMainnetsNotAllowedForPlanAsValidateAddressE403 is a convenience function that returns FeatureMainnetsNotAllowedForPlan wrapped in ValidateAddressE403 func FeatureMainnetsNotAllowedForPlanAsValidateAddressE403(v *FeatureMainnetsNotAllowedForPlan) ValidateAddressE403 { - return ValidateAddressE403{ FeatureMainnetsNotAllowedForPlan: v} + return ValidateAddressE403{ + FeatureMainnetsNotAllowedForPlan: v, + } } @@ -50,7 +58,7 @@ func (dst *ValidateAddressE403) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into BannedIpAddress - err = json.Unmarshal(data, &dst.BannedIpAddress) + err = newStrictDecoder(data).Decode(&dst.BannedIpAddress) if err == nil { jsonBannedIpAddress, _ := json.Marshal(dst.BannedIpAddress) if string(jsonBannedIpAddress) == "{}" { // empty struct @@ -63,7 +71,7 @@ func (dst *ValidateAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForApiKey - err = json.Unmarshal(data, &dst.EndpointNotAllowedForApiKey) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForApiKey) if err == nil { jsonEndpointNotAllowedForApiKey, _ := json.Marshal(dst.EndpointNotAllowedForApiKey) if string(jsonEndpointNotAllowedForApiKey) == "{}" { // empty struct @@ -76,7 +84,7 @@ func (dst *ValidateAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into EndpointNotAllowedForPlan - err = json.Unmarshal(data, &dst.EndpointNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.EndpointNotAllowedForPlan) if err == nil { jsonEndpointNotAllowedForPlan, _ := json.Marshal(dst.EndpointNotAllowedForPlan) if string(jsonEndpointNotAllowedForPlan) == "{}" { // empty struct @@ -89,7 +97,7 @@ func (dst *ValidateAddressE403) UnmarshalJSON(data []byte) error { } // try to unmarshal data into FeatureMainnetsNotAllowedForPlan - err = json.Unmarshal(data, &dst.FeatureMainnetsNotAllowedForPlan) + err = newStrictDecoder(data).Decode(&dst.FeatureMainnetsNotAllowedForPlan) if err == nil { jsonFeatureMainnetsNotAllowedForPlan, _ := json.Marshal(dst.FeatureMainnetsNotAllowedForPlan) if string(jsonFeatureMainnetsNotAllowedForPlan) == "{}" { // empty struct @@ -139,6 +147,9 @@ func (src ValidateAddressE403) MarshalJSON() ([]byte, error) { // Get the actual instance func (obj *ValidateAddressE403) GetActualInstance() (interface{}) { + if obj == nil { + return nil + } if obj.BannedIpAddress != nil { return obj.BannedIpAddress } diff --git a/model_validate_address_r.go b/model_validate_address_r.go index 0e6508d..04d203a 100644 --- a/model_validate_address_r.go +++ b/model_validate_address_r.go @@ -59,7 +59,7 @@ func (o *ValidateAddressR) GetApiVersion() string { // GetApiVersionOk returns a tuple with the ApiVersion field value // and a boolean to check if the value has been set. func (o *ValidateAddressR) GetApiVersionOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.ApiVersion, true @@ -83,7 +83,7 @@ func (o *ValidateAddressR) GetRequestId() string { // GetRequestIdOk returns a tuple with the RequestId field value // and a boolean to check if the value has been set. func (o *ValidateAddressR) GetRequestIdOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.RequestId, true @@ -139,7 +139,7 @@ func (o *ValidateAddressR) GetData() ValidateAddressRData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ValidateAddressR) GetDataOk() (*ValidateAddressRData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_validate_address_r_data.go b/model_validate_address_r_data.go index 7152422..d8d332f 100644 --- a/model_validate_address_r_data.go +++ b/model_validate_address_r_data.go @@ -51,7 +51,7 @@ func (o *ValidateAddressRData) GetItem() ValidateAddressRI { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *ValidateAddressRData) GetItemOk() (*ValidateAddressRI, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_validate_address_rb.go b/model_validate_address_rb.go index 6366855..2f5c162 100644 --- a/model_validate_address_rb.go +++ b/model_validate_address_rb.go @@ -85,7 +85,7 @@ func (o *ValidateAddressRB) GetData() ValidateAddressRBData { // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. func (o *ValidateAddressRB) GetDataOk() (*ValidateAddressRBData, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Data, true diff --git a/model_validate_address_rb_data.go b/model_validate_address_rb_data.go index 521ebad..227f7f8 100644 --- a/model_validate_address_rb_data.go +++ b/model_validate_address_rb_data.go @@ -51,7 +51,7 @@ func (o *ValidateAddressRBData) GetItem() ValidateAddressRBDataItem { // GetItemOk returns a tuple with the Item field value // and a boolean to check if the value has been set. func (o *ValidateAddressRBData) GetItemOk() (*ValidateAddressRBDataItem, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Item, true diff --git a/model_validate_address_rb_data_item.go b/model_validate_address_rb_data_item.go index 7fdc623..3807915 100644 --- a/model_validate_address_rb_data_item.go +++ b/model_validate_address_rb_data_item.go @@ -52,7 +52,7 @@ func (o *ValidateAddressRBDataItem) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ValidateAddressRBDataItem) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true diff --git a/model_validate_address_ri.go b/model_validate_address_ri.go index c116084..9147076 100644 --- a/model_validate_address_ri.go +++ b/model_validate_address_ri.go @@ -55,7 +55,7 @@ func (o *ValidateAddressRI) GetAddress() string { // GetAddressOk returns a tuple with the Address field value // and a boolean to check if the value has been set. func (o *ValidateAddressRI) GetAddressOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Address, true @@ -79,7 +79,7 @@ func (o *ValidateAddressRI) GetIsValid() bool { // GetIsValidOk returns a tuple with the IsValid field value // and a boolean to check if the value has been set. func (o *ValidateAddressRI) GetIsValidOk() (*bool, bool) { - if o == nil { + if o == nil { return nil, false } return &o.IsValid, true diff --git a/model_wallet_as_a_service_address_balance_not_enough.go b/model_wallet_as_a_service_address_balance_not_enough.go index a7215c2..6575c13 100644 --- a/model_wallet_as_a_service_address_balance_not_enough.go +++ b/model_wallet_as_a_service_address_balance_not_enough.go @@ -21,7 +21,7 @@ type WalletAsAServiceAddressBalanceNotEnough struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewWalletAsAServiceAddressBalanceNotEnough instantiates a new WalletAsAServiceAddressBalanceNotEnough object @@ -56,7 +56,7 @@ func (o *WalletAsAServiceAddressBalanceNotEnough) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceAddressBalanceNotEnough) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *WalletAsAServiceAddressBalanceNotEnough) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceAddressBalanceNotEnough) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *WalletAsAServiceAddressBalanceNotEnough) GetDetails() []BannedIpAddress var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WalletAsAServiceAddressBalanceNotEnough) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *WalletAsAServiceAddressBalanceNotEnough) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *WalletAsAServiceAddressBalanceNotEnough) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *WalletAsAServiceAddressBalanceNotEnough) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o WalletAsAServiceAddressBalanceNotEnough) MarshalJSON() ([]byte, error) { diff --git a/model_wallet_as_a_service_deposit_addresses_limit_reached.go b/model_wallet_as_a_service_deposit_addresses_limit_reached.go index b171fc2..7162800 100644 --- a/model_wallet_as_a_service_deposit_addresses_limit_reached.go +++ b/model_wallet_as_a_service_deposit_addresses_limit_reached.go @@ -21,7 +21,7 @@ type WalletAsAServiceDepositAddressesLimitReached struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewWalletAsAServiceDepositAddressesLimitReached instantiates a new WalletAsAServiceDepositAddressesLimitReached object @@ -56,7 +56,7 @@ func (o *WalletAsAServiceDepositAddressesLimitReached) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceDepositAddressesLimitReached) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *WalletAsAServiceDepositAddressesLimitReached) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceDepositAddressesLimitReached) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *WalletAsAServiceDepositAddressesLimitReached) GetDetails() []BannedIpAd var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WalletAsAServiceDepositAddressesLimitReached) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *WalletAsAServiceDepositAddressesLimitReached) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *WalletAsAServiceDepositAddressesLimitReached) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *WalletAsAServiceDepositAddressesLimitReached) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o WalletAsAServiceDepositAddressesLimitReached) MarshalJSON() ([]byte, error) { diff --git a/model_wallet_as_a_service_no_deposit_addresses_found.go b/model_wallet_as_a_service_no_deposit_addresses_found.go index cf54aeb..82f5537 100644 --- a/model_wallet_as_a_service_no_deposit_addresses_found.go +++ b/model_wallet_as_a_service_no_deposit_addresses_found.go @@ -21,7 +21,7 @@ type WalletAsAServiceNoDepositAddressesFound struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewWalletAsAServiceNoDepositAddressesFound instantiates a new WalletAsAServiceNoDepositAddressesFound object @@ -56,7 +56,7 @@ func (o *WalletAsAServiceNoDepositAddressesFound) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceNoDepositAddressesFound) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *WalletAsAServiceNoDepositAddressesFound) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceNoDepositAddressesFound) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *WalletAsAServiceNoDepositAddressesFound) GetDetails() []BannedIpAddress var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WalletAsAServiceNoDepositAddressesFound) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *WalletAsAServiceNoDepositAddressesFound) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *WalletAsAServiceNoDepositAddressesFound) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *WalletAsAServiceNoDepositAddressesFound) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o WalletAsAServiceNoDepositAddressesFound) MarshalJSON() ([]byte, error) { diff --git a/model_wallet_as_a_service_token_not_supported.go b/model_wallet_as_a_service_token_not_supported.go index 3b386be..41686be 100644 --- a/model_wallet_as_a_service_token_not_supported.go +++ b/model_wallet_as_a_service_token_not_supported.go @@ -21,7 +21,7 @@ type WalletAsAServiceTokenNotSupported struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewWalletAsAServiceTokenNotSupported instantiates a new WalletAsAServiceTokenNotSupported object @@ -56,7 +56,7 @@ func (o *WalletAsAServiceTokenNotSupported) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceTokenNotSupported) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *WalletAsAServiceTokenNotSupported) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceTokenNotSupported) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *WalletAsAServiceTokenNotSupported) GetDetails() []BannedIpAddressDetail var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WalletAsAServiceTokenNotSupported) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *WalletAsAServiceTokenNotSupported) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *WalletAsAServiceTokenNotSupported) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *WalletAsAServiceTokenNotSupported) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o WalletAsAServiceTokenNotSupported) MarshalJSON() ([]byte, error) { diff --git a/model_wallet_as_a_service_wallet_balance_not_enough.go b/model_wallet_as_a_service_wallet_balance_not_enough.go index cfce61e..62677a4 100644 --- a/model_wallet_as_a_service_wallet_balance_not_enough.go +++ b/model_wallet_as_a_service_wallet_balance_not_enough.go @@ -21,7 +21,7 @@ type WalletAsAServiceWalletBalanceNotEnough struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewWalletAsAServiceWalletBalanceNotEnough instantiates a new WalletAsAServiceWalletBalanceNotEnough object @@ -56,7 +56,7 @@ func (o *WalletAsAServiceWalletBalanceNotEnough) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceWalletBalanceNotEnough) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *WalletAsAServiceWalletBalanceNotEnough) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *WalletAsAServiceWalletBalanceNotEnough) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *WalletAsAServiceWalletBalanceNotEnough) GetDetails() []BannedIpAddressD var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WalletAsAServiceWalletBalanceNotEnough) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *WalletAsAServiceWalletBalanceNotEnough) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *WalletAsAServiceWalletBalanceNotEnough) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *WalletAsAServiceWalletBalanceNotEnough) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o WalletAsAServiceWalletBalanceNotEnough) MarshalJSON() ([]byte, error) { diff --git a/model_xpub_not_synced.go b/model_xpub_not_synced.go index 9cac2c6..db7075b 100644 --- a/model_xpub_not_synced.go +++ b/model_xpub_not_synced.go @@ -21,7 +21,7 @@ type XpubNotSynced struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewXpubNotSynced instantiates a new XpubNotSynced object @@ -56,7 +56,7 @@ func (o *XpubNotSynced) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *XpubNotSynced) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *XpubNotSynced) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *XpubNotSynced) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *XpubNotSynced) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *XpubNotSynced) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *XpubNotSynced) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *XpubNotSynced) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *XpubNotSynced) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o XpubNotSynced) MarshalJSON() ([]byte, error) { diff --git a/model_xpub_sync_in_progress.go b/model_xpub_sync_in_progress.go index 50a6261..1227f57 100644 --- a/model_xpub_sync_in_progress.go +++ b/model_xpub_sync_in_progress.go @@ -21,7 +21,7 @@ type XpubSyncInProgress struct { Code string `json:"code"` // Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”. Message string `json:"message"` - Details *[]BannedIpAddressDetails `json:"details,omitempty"` + Details []BannedIpAddressDetails `json:"details,omitempty"` } // NewXpubSyncInProgress instantiates a new XpubSyncInProgress object @@ -56,7 +56,7 @@ func (o *XpubSyncInProgress) GetCode() string { // GetCodeOk returns a tuple with the Code field value // and a boolean to check if the value has been set. func (o *XpubSyncInProgress) GetCodeOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Code, true @@ -80,7 +80,7 @@ func (o *XpubSyncInProgress) GetMessage() string { // GetMessageOk returns a tuple with the Message field value // and a boolean to check if the value has been set. func (o *XpubSyncInProgress) GetMessageOk() (*string, bool) { - if o == nil { + if o == nil { return nil, false } return &o.Message, true @@ -97,12 +97,12 @@ func (o *XpubSyncInProgress) GetDetails() []BannedIpAddressDetails { var ret []BannedIpAddressDetails return ret } - return *o.Details + return o.Details } // GetDetailsOk returns a tuple with the Details field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *XpubSyncInProgress) GetDetailsOk() (*[]BannedIpAddressDetails, bool) { +func (o *XpubSyncInProgress) GetDetailsOk() ([]BannedIpAddressDetails, bool) { if o == nil || o.Details == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *XpubSyncInProgress) HasDetails() bool { // SetDetails gets a reference to the given []BannedIpAddressDetails and assigns it to the Details field. func (o *XpubSyncInProgress) SetDetails(v []BannedIpAddressDetails) { - o.Details = &v + o.Details = v } func (o XpubSyncInProgress) MarshalJSON() ([]byte, error) {